local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()

local Window = Rayfield:CreateWindow({
    Name = "World Of Trolls best script",
    LoadingTitle = "SonDz Hub",
    LoadingSubtitle = "Made by SonDz",
    ConfigurationSaving = {
       Enabled = False,
       FolderName = nil, -- Create a custom folder for your hub/game
       FileName = "Son Hub"
    },
    Discord = {
       Enabled = false,
       Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
       RememberJoins = true -- Set this to false to make them join the discord every time they load it up
    },
    KeySystem = true, -- Set this to true to use our key system
    KeySettings = {
       Title = "Enter Key",
       Subtitle = "Key System",
       Note = "No method of obtaining the key is provided",
       FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
       SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
       GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
       Key = {"s"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
    }
 })

 local MainTab = Window:CreateTab("☕Main", 4483362458)
 local TeleportTab = Window:CreateTab("⚒️Teleport", nil)
 local MiscTab = Window:CreateTab("🎈Misc", nil)
 local MainSection = MainTab:CreateSection("Pick Up Cups")
 local TeleportSection = TeleportTab:CreateSection("Idk if teleport is safe or not :v")

 Rayfield:Notify({
    Title = "Note:",
    Content = "Some cups are underground so they will disappear. If you're quick, you can still store them",
    Duration = 6.5,
    Image = nil,
    Actions = { -- Notification Buttons
       Ignore = {
          Name = "Got it!",
          Callback = function()
          print("The user tapped Got it!")
       end
    },
 },
 })

 local Button = MainTab:CreateButton({
    Name = "Pick Up all Cups",
    Callback = function()
        local Players = game:GetService("Players")

        local function equipTools(bool)
            local player = Players.LocalPlayer
            local character = player and player.Character
            local humanoid = character and character:FindFirstChildWhichIsA("Humanoid")
        
            if bool then
                -- Equip existing tools
                for _, v in pairs(workspace:GetChildren()) do
                    if humanoid and v:IsA("BackpackItem") and v:FindFirstChild("Handle") then
                        humanoid:EquipTool(v)
                    end
                end
                
                -- Disconnect any existing connection
                if getgenv().connected then
                    getgenv().connected:Disconnect()
                end
                
                -- Connect to new tools being added
                getgenv().connected = workspace.ChildAdded:Connect(function(child)
                    if humanoid and child:IsA("BackpackItem") and child:FindFirstChild("Handle") then
                        humanoid:EquipTool(child)
                    end
                end)
            else
                -- Disconnect if not bool
                if getgenv().connected then
                    getgenv().connected:Disconnect()
                end
            end
        end
        
    
        equipTools(true) 
    end,
 })

local Section = MainTab:CreateSection("Infinity Yeild For Freeze")
local Button = MainTab:CreateButton({
   Name = "Infinity Yeild",
   Callback = function()
   loadstring(game:HttpGet('https://[Log in to view URL]'))()
   end,
})

local Slider = MiscTab:CreateSlider({
   Name = "WalkSpeed (risky)",
   Range = {16, 300},
   Increment = 1,
   Suffix = "Speed",
   CurrentValue = 16,
   Flag = "SpeedSlider", -- 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(Value)
            game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (Value)
   end,
})



local Button = TeleportTab:CreateButton({
   Name = "Teleport",
   Callback = function()
            print("Teleport!!!")
   end,
})

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: