Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
- local w = library:CreateWindow("ShoppingSim") -- Creates the window
- local b = w:CreateFolder("Functions") -- Creates the folder(U will put here your buttons,etc)
- b:Toggle("Swipe",function(bool)
- shared.toggle = bool
- end)
- spawn(function()
- while wait() do
- if shared.toggle then
- game:GetService("ReplicatedStorage").Events.Swipe:FireServer()
- end
- end
- end)
- b:Toggle("Egg1",function(bool1)
- shared.toggle1 = bool1
- end)
- spawn(function()
- while wait() do
- if shared.toggle1 then
- local oh1 = game:GetService("ReplicatedStorage").IngameItems.Crates["1"]
- game:GetService("ReplicatedStorage").Events.PurchaseCrate:FireServer(oh1)
- end
- end
- end)
- b:Toggle("Egg2",function(bool2)
- shared.toggle2 = bool2
- end)
- spawn(function()
- while wait() do
- if shared.toggle2 then
- local oh1 = game:GetService("ReplicatedStorage").IngameItems.Crates["2"]
- game:GetService("ReplicatedStorage").Events.PurchaseCrate:FireServer(oh1)
- end
- end
- end)
- b:Toggle("Egg3",function(bool3)
- shared.toggle3 = bool3
- end)
- spawn(function()
- while wait() do
- if shared.toggle3 then
- local oh1 = game:GetService("ReplicatedStorage").IngameItems.Crates["4"]
- game:GetService("ReplicatedStorage").Events.PurchaseCrate:FireServer(oh1)
- end
- end
- end)
- b:Toggle("Egg4",function(bool4)
- shared.toggle4 = bool4
- end)
- spawn(function()
- while wait() do
- if shared.toggle4 then
- local oh1 = game:GetService("ReplicatedStorage").IngameItems.Crates["3"]
- game:GetService("ReplicatedStorage").Events.PurchaseCrate:FireServer(oh1)
- end
- end
- end)
- b:Toggle("DominusEgg",function(bool5)
- shared.toggle5 = bool5
- end)
- spawn(function()
- while wait() do
- if shared.toggle5 then
- local oh1 = game:GetService("ReplicatedStorage").IngameItems.Crates["8"]
- game:GetService("ReplicatedStorage").Events.PurchaseCrate:FireServer(oh1)
- end
- end
- end)
- b:Toggle("TechEgg",function(bool51)
- shared.toggle51 = bool51
- end)
- spawn(function()
- while wait() do
- if shared.toggle51 then
- local oh1 = game:GetService("ReplicatedStorage").IngameItems.Crates["7"]
- game:GetService("ReplicatedStorage").Events.PurchaseCrate:FireServer(oh1)
- end
- end
- end)
- local b = w:CreateFolder("Credits") -- Creates the folder(U will put here your buttons,etc)
- b:Toggle("Scripts: Total",function(bool19)
- shared.toggle19 = bool19
- end)
- spawn(function()
- while wait() do
- if shared.toggle18 then
- print("Nub")
- end
- end
- end)
Add Comment
Please, Sign In to add comment