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

local Window = Rayfield:CreateWindow({
   Name = "🔥Villainhub🔫",
   LoadingTitle = "🔫villainhub script 💥",
   LoadingSubtitle = "by villain",
   ConfigurationSaving = { Enabled = false },
   Discord = { Enabled = false },
   KeySystem = false
})

local MainTab = Window:CreateTab("🏠 Home", nil)
local MainSection = MainTab:CreateSection("Main")

Rayfield:Notify({
   Title = "You executed the script",
   Content = "Very cool gui",
   Duration = 5
})

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local localPlayer = Players.LocalPlayer

-- Example box and delivery CFrames (replace with your actual ones)
local boxCFrame = CFrame.new(550.825745, 3.53714609, -85.6601715)
local deliveryCFrame = CFrame.new(401.845215, 3.36213279, -71.123764)

-- Autofarm toggle
local autofarmEnabled = false
TPTab = Window:CreateTab("🎲 Misc", nil)
TPTab:CreateToggle({
    Name = "Autofarm",
    CurrentValue = false,
    Flag = "AutofarmToggle",
    Callback = function(Value)
        autofarmEnabled = Value
        if autofarmEnabled then
            spawn(function()
                while autofarmEnabled do
                    local char = localPlayer.Character
                    if char and char:FindFirstChild("HumanoidRootPart") then
                        -- Tween to box
                        local tweenInfo = TweenInfo.new(1) -- 1 second
                        local goal = {CFrame = boxCFrame + Vector3.new(0,3,0)}
                        local tween = TweenService:Create(char.HumanoidRootPart, tweenInfo, goal)
                        tween:Play()
                        tween.Completed:Wait()

                        -- Simulate E press
                        local fireFunc = char:FindFirstChildOfClass("Humanoid") or char
                        -- (Add your actual interaction code if needed)

                        wait(0.5) -- wait a bit after picking up

                        -- Tween to delivery
                        goal = {CFrame = deliveryCFrame + Vector3.new(0,3,0)}
                        tween = TweenService:Create(char.HumanoidRootPart, tweenInfo, goal)
                        tween:Play()
                        tween.Completed:Wait()

                        wait(0.5)
                    end
                    wait(0.5)
                end
            end)
        end
    end
})

-- Example Infinite Jump
MainTab:CreateButton({
   Name = "Infinite Jump Toggle",
   Callback = function()
       _G.infinjump = not _G.infinjump
       if _G.infinJumpStarted == nil then
           _G.infinJumpStarted = true
           local plr = Players.LocalPlayer
           local m = plr:GetMouse()
           m.KeyDown:Connect(function(k)
               if _G.infinjump and k:byte() == 32 then
                   local humanoid = plr.Character:FindFirstChildOfClass('Humanoid')
                   if humanoid then
                       humanoid:ChangeState('Jumping')
                       wait()
                       humanoid:ChangeState('Seated')
                   end
               end
           end)
       end
   end
})

Embed on website

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