Advertisement
rrixh

how to use RRixh ui library (example)

Sep 9th, 2024 (edited)
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.32 KB | None | 0 0
  1. TabsList = {"Home", "Skripts", "Player", "More", "Settings"}
  2. -- dont edit this 👆🏽 it does nothing its jus a list of names for the tabs you kan assign skripts to Using the HowTo/examples below if u dont understand how to use ui's
  3. --[[
  4. Above is the TabsList 👆🏽kan change to any of these depending what tab u want the skript in —
  5. -Use:      👇🏽                       👇🏽                         👇🏽
  6.     ( lula.Button ) & ( lula.Toggle ) & ( lula.Textbox )
  7. for Toggles,Buttons, and Textboxes or whatever u set the loadstring name to. default is "lula" —
  8.  
  9. - added a auto-scrolling feature depending on how many items are added to a tab (9/6/24)
  10. ]]
  11.  
  12.  
  13. -- // EXAMPLES  👇🏽  HOW TO USE THE UI \\ --
  14.  
  15. --[[
  16.  U need the loadstring below, "lula" kan be anything but make sure if u change it...Also change it on the  buttons instead of lula.Button it should be name.Button, name.Toggle etc. —  kopy & paste the skript below to see how the gui looks at first.
  17. - (Optional) to change the GUI Name or Open GUI Name, add this at the beginning or end of the skript:
  18.  
  19. lula.SetTitle("YOUR KUSTOM HUB NAME🍭")
  20. lula.ToggleText("OPEN GUI")
  21.  
  22. or you dont need it, it will just stay as default hub/gui name
  23. ]]--
  24. --=================================--
  25.  
  26. -- SKRIPT BELOW:
  27.  
  28. local lula = loadstring(game:HttpGet("https://github.com/rrixh/uwuware/raw/main/lib/RRixh-ui.mobile",true))();
  29.  
  30. lula.SetTitle("MY KUSTOM HUB TITLE")
  31. lula.SetToggleText("TOGGLE GUI")
  32.  
  33. lula.Button("Skripts", "Button example 1", function()
  34. print"buttonklicked"
  35. end)
  36.  
  37. lula.Button("Skripts", "Button example 2", function()
  38. print"buttonklicked"
  39. end)
  40.  
  41. lula.Toggle("Skripts", "ToggleButton example 1", function(toggleOn)
  42. if toggleOn then
  43. print"enabled"
  44.         else
  45. print"disabled"
  46.   end
  47. end)
  48.  
  49. lula.Toggle("Home", "ToggleButton example 1", function(toggleOn)
  50. if toggleOn then
  51. print"enabled"
  52.         else
  53. print"disabled"
  54.   end
  55. end)
  56.  
  57. lula.Toggle("Home", "ToggleButton example 2", function(toggleOn)
  58. if toggleOn then
  59. print"enabled"
  60.         else
  61. print"disabled"
  62.   end
  63. end)
  64.  
  65.  
  66. lula.Textbox("Player", "walkspeed example", function(Value)
  67.  
  68. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Value
  69. end)
  70.  
  71. lula.Textbox("Player", "jumppower example", function(Value)
  72. game.Players.LocalPlayer.Character.Humanoid.JumpPower = Value
  73. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement