Advertisement
Totalxterror

Elemental Simulator

Mar 15th, 2021
2,131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.67 KB | None | 0 0
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
  2.  
  3. local w = library:CreateWindow("Elemental Simulator") -- Creates the window
  4. local b = w:CreateFolder("Clicking") -- Creates the folder(U will put here your buttons,etc)
  5. b:Toggle("Auto Click",function(bool)
  6.     shared.toggle = bool
  7. end)
  8.  
  9. spawn(function()
  10.     while wait() do
  11.         if shared.toggle then
  12.             local oh1 = "klikniecie"
  13.             game:GetService("ReplicatedStorage").Main.Remotes.ClientRequest:FireServer(oh1)
  14.     end
  15.   end
  16. end)
  17.  
  18. local b = w:CreateFolder("Rebirth") -- Creates the folder(U will put here your buttons,etc)
  19.  
  20. b:Toggle("All",function(boolR1)
  21.     shared.toggleR1 = boolR1
  22. end)
  23.  
  24. spawn(function()
  25.     while wait() do
  26.         if shared.toggleR1 then
  27.             local oh1 = "Rebirth Water"
  28.             game:GetService("ReplicatedStorage").Main.Remotes.ClientRequest:FireServer(oh1)
  29.     end
  30.   end
  31. end)
  32.  
  33. spawn(function()
  34.     while wait() do
  35.         if shared.toggleR1 then
  36.             local oh1 = "Rebirth Fire"
  37.             game:GetService("ReplicatedStorage").Main.Remotes.ClientRequest:FireServer(oh1)
  38.     end
  39.   end
  40. end)
  41.  
  42. spawn(function()
  43.     while wait() do
  44.         if shared.toggleR1 then
  45.             local oh1 = "Rebirth Earth"
  46.             game:GetService("ReplicatedStorage").Main.Remotes.ClientRequest:FireServer(oh1)
  47.     end
  48.   end
  49. end)
  50.  
  51. local b = w:CreateFolder("Credits") -- Creates the folder(U will put here your buttons,etc)
  52. b:Toggle("Scripts: T",function(boolCred1)
  53.     shared.toggleCred1 = boolCred1
  54. end)
  55.  
  56. spawn(function()
  57.     while wait() do
  58.         if shared.toggleCred1 then
  59.             print("Nub")
  60.         end
  61.     end
  62. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement