Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Rayfield = loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Rayfield/main/source'))()
- local Window = Rayfield:CreateWindow({
- Name = "CB | RoCraft",
- LoadingTitle = "CB Hub - For any game",
- LoadingSubtitle = "by RoCraft",
- ConfigurationSaving = {
- Enabled = true,
- FolderName = nil, -- Create a custom folder for your hub/game
- FileName = "Big Hub"
- },
- Discord = {
- Enabled = false,
- Invite = "sirius", -- The Discord invite code, do not include discord.gg/
- RememberJoins = true -- Set this to false to make them join the discord every time they load it up
- },
- KeySystem = false, -- Set this to true to use our key system
- KeySettings = {
- Title = "Sirius Hub",
- Subtitle = "Key System",
- Note = "Join the discord (discord.gg/sirius)",
- FileName = "SiriusKey",
- SaveKey = true,
- GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
- Key = "Hello"
- }
- })
- local Tab = Window:CreateTab("Main", 4483362458) -- Title, Image
- local Slider = Tab:CreateSlider({
- Name = "WalkSpeed",
- Range = {16, 500},
- Increment = 10,
- Suffix = "WalkSpeed",
- CurrentValue = 16,
- 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
- Callback = function(s)
- game.Players.LocalPlayer.character.Humanoid.WalkSpeed = s
- end,
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement