Advertisement
2AreYouMental110

gui template

Nov 22nd, 2021
925
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. getgenv().placeholder = false
  2.  
  3.  
  4. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
  5.  
  6. local window = library:CreateWindow("placeholder")
  7. local a1 = window:CreateFolder("placeholder")
  8.  
  9.  
  10.  
  11. a1:Button("placeholder",function()
  12.     print ("placeholder")
  13. end)
  14.  
  15. a1:Toggle("placeholder",function(bool)
  16.     getgenv().placeholder = bool
  17.     print(on)
  18.     if bool then
  19.         placeholder()
  20.     end
  21. end)
  22.  
  23.  
  24. function placeholder()
  25.     spawn(function()
  26.         while getgenv().placeholder == true do
  27.             print "0"
  28.         end
  29.     end)
  30. end
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement