forked from bloodball/UI-Librarys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pop UI
82 lines (60 loc) · 2.04 KB
/
Pop UI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
--Made by : https://v3rmillion.net/member.php?action=profile&uid=539510
local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/lolpoppyus/Roblox-Lua/master/Pop%20UI%20Lib", true))()
local Players = game:GetService("Players")
local Tab = library:Tab("Tab 1")
Tab:Label("UI Library")
Tab:Button("Yeet", function()
print("Yeet")
end)
Tab:Toggle("Yeet", function(arg)
print(arg)
end)
Tab:Slider("Speed", 0, 100, function(arg)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = arg
end)
local update = Tab:Dropdown("Players", {},function(arg)
local plr = Players.LocalPlayer.Character.HumanoidRootPart
local target = Players[arg].Character.HumanoidRootPart
plr.CFrame = target.CFrame
print("Teleported to: "..tostring(arg))
end)
Tab:Textbox("Teleport", function(arg)
print(arg)
end)
Tab:Textbox2("Teleport", "Player", function(arg)
pcall(function()
local plr = Players.LocalPlayer.Character.HumanoidRootPart
local target = Players[arg].Character.HumanoidRootPart
plr.CFrame = target.CFrame
end)
print("Teleported to: "..tostring(arg))
end)
Tab:Colorpicker("Baseplate", function(arg)
workspace.Baseplate.Color = arg
end)
Tab:Keybind("UI", function(enabled)
game:GetService("CoreGui").OfficialUILib.Enabled = not game:GetService("CoreGui").OfficialUILib.Enabled;
end,Enum.KeyCode.P);
local Tab2 = library:Tab("Tab 2")
local Folder = Tab2:Folder("Folder")
local update2 = Folder:Dropdown("Players", {},function(arg)
local plr = Players.LocalPlayer.Character.HumanoidRootPart
local target = Players[arg].Character.HumanoidRootPart
plr.CFrame = target.CFrame
print("Teleported to: "..tostring(arg))
end)
Folder:Colorpicker("Color", function(arg)
print(arg)
end)
local Tab3 = library:Tab("Credits")
Tab3:Textstring2("Created by - Poppyus")
Tab3:Textstring("Discord", "wcyT7Ms")
while wait(1) do
local players = game.Players:GetChildren()
local array = {}
for i,v in pairs(players) do
table.insert(array,v.Name)
end
update(array)
update2(array)
end;