Advertisement
CraftyGaming244

Main

Nov 23rd, 2022
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1.  
  2. local Rayfield = loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Rayfield/main/source'))()
  3.  
  4. local Window = Rayfield:CreateWindow({
  5. Name = "CB | RoCraft",
  6. LoadingTitle = "CB Hub - For any game",
  7. LoadingSubtitle = "by RoCraft",
  8. ConfigurationSaving = {
  9. Enabled = true,
  10. FolderName = nil, -- Create a custom folder for your hub/game
  11. FileName = "Big Hub"
  12. },
  13. Discord = {
  14. Enabled = false,
  15. Invite = "sirius", -- The Discord invite code, do not include discord.gg/
  16. RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  17. },
  18. KeySystem = false, -- Set this to true to use our key system
  19. KeySettings = {
  20. Title = "Sirius Hub",
  21. Subtitle = "Key System",
  22. Note = "Join the discord (discord.gg/sirius)",
  23. FileName = "SiriusKey",
  24. SaveKey = true,
  25. GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  26. Key = "Hello"
  27. }
  28. })
  29.  
  30. local Tab = Window:CreateTab("Main", 4483362458) -- Title, Image
  31.  
  32. local Slider = Tab:CreateSlider({
  33. Name = "WalkSpeed",
  34. Range = {16, 500},
  35. Increment = 10,
  36. Suffix = "WalkSpeed",
  37. CurrentValue = 16,
  38. Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  39. Callback = function(s)
  40. game.Players.LocalPlayer.character.Humanoid.WalkSpeed = s
  41. end,
  42. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement