Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GUI = loadstring(game:HttpGet("https://raw.githubusercontent.com/derekcool38/UI-Librarys/main/cool.lua"))()
- local UI = GUI:CreateWindow("the um","lop")
- local Home = UI:addPage("Home",1,true,6)
- Home:addLabel("This is a Label","Lol this funny")
- Home:addButton("This is a button",function()
- game.StarterGui:SetCore("SendNotification",{
- Title = "Clicked";
- Text = "Lo";
- })
- end)
- Home:addToggle("This is a Toggle",function(value)
- print(value)
- if value == false then
- game.StarterGui:SetCore("SendNotification",{
- Title = "Toggle";
- Text = "false";
- })
- else
- game.StarterGui:SetCore("SendNotification",{
- Title = "Toggle";
- Text = "true";
- })
- end
- end)
- Home:addSlider("This is a Slider",16,100,function(value)
- print(value)
- end)
- Home:addTextBox("This is a TextBox","Um",function(value)
- game.StarterGui:SetCore("SendNotification",{
- Title = "Wrote";
- Text = value;
- })
- end)
- Home:addDropdown("This is a Dropdown",{"Um","Yep","Lop","GG"},1,function(value)
- game.StarterGui:SetCore("SendNotification",{
- Title = "Selected :";
- Text = value;
- })
- end)
- -- Just an example of how you would actually use it i guess
- local LP = UI:addPage("Local",2,false,6)
- -- Label
- LP:addLabel("Local","Don't use in games with anti cheats")
- --- Button
- LP:addButton("DIE",function()
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- end)
- -- Toggle
- LP:addToggle("Sprint",function(value)
- if value == false then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- else
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 24
- end
- end)
- -- Slider
- LP:addSlider("WalkSpeed",16,150,function(value)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
- end)
- -- Textbox
- LP:addTextBox("Jump Power / 50 is default","Number here",function(value)
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = value
- end)
- -- Dropdown
- local PLIST = {}
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- table.insert(PLIST,v.DisplayName)
- end
- LP:addDropdown("Teleport to Player",PLIST,4,function(value)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[value].Character.HumanoidRootPart.CFrame * CFrame.new(0,2,1)
- end)
- -- Spam
- LP:addLabel("Spam","This is just to show how it looks with more ui elements")
- LP:addDropdown("Teleport to Player",PLIST,4,function(value)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[value].Character.HumanoidRootPart.CFrame * CFrame.new(0,2,1)
- end)
- LP:addDropdown("Teleport to Player",PLIST,4,function(value)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[value].Character.HumanoidRootPart.CFrame * CFrame.new(0,2,1)
- end)
- LP:addDropdown("Teleport to Player",PLIST,4,function(value)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[value].Character.HumanoidRootPart.CFrame * CFrame.new(0,2,1)
- end)
- LP:addDropdown("Teleport to Player",PLIST,4,function(value)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[value].Character.HumanoidRootPart.CFrame * CFrame.new(0,2,1)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement