
Key Required VerifiedUniversal

local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local StarterGui = game:GetService("StarterGui")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
if playerGui:FindFirstChild("FarmGui") then
playerGui.FarmGui:Destroy()
end
-- ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FarmGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui
-- Main Frame
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0.18, 0, 0.38, 0)
frame.Position = UDim2.new(0.85, 0, 0.78, 0)
frame.AnchorPoint = Vector2.new(0.5, 0.5)
frame.BackgroundTransparency = 1
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
frame.ClipsDescendants = true
frame.ZIndex = 2
frame.Parent = screenGui
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 15)
-- Background Image (FIXED)
local bgImage = Instance.new("ImageLabel")
bgImage.Name = "BackgroundImage"
bgImage.Size = UDim2.new(1, 0, 1, 0)
bgImage.Position = UDim2.new(0, 0, 0, 0)
bgImage.BackgroundTransparency = 1
bgImage.Image = "rbxassetid://9764700798"
bgImage.ScaleType = Enum.ScaleType.Fit
bgImage.ZIndex = 1
bgImage.Parent = frame
Instance.new("UICorner", bgImage).CornerRadius = UDim.new(0, 15)
-- Shadow
local shadow = Instance.new("ImageLabel")
shadow.BackgroundTransparency = 1
shadow.Size = UDim2.new(1, 40, 1, 40)
shadow.Position = UDim2.new(0.5, 0, 0.5, 10)
shadow.AnchorPoint = Vector2.new(0.5, 0.5)
shadow.Image = "rbxassetid://5028857084"
shadow.ImageTransparency = 0.4
shadow.ScaleType = Enum.ScaleType.Slice
shadow.SliceCenter = Rect.new(24, 24, 276, 276)
shadow.ZIndex = 0
shadow.Parent = frame
-- Title
local title = Instance.new("TextLabel")
title.Text = "floppaspriter's script"
title.Size = UDim2.new(1, 0, 0.18, 0)
title.BackgroundTransparency = 1
title.Font = Enum.Font.GothamBold
title.TextScaled = true
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextStrokeTransparency = 0.6
title.ZIndex = 4
title.Parent = frame
-- Underline
local underline = Instance.new("Frame")
underline.Size = UDim2.new(0.9, 0, 0.01, 0)
underline.Position = UDim2.new(0.5, 0, 0.2, 0)
underline.AnchorPoint = Vector2.new(0.5, 0)
underline.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
underline.BorderSizePixel = 0
underline.ZIndex = 4
underline.Parent = frame
-- Button Creator (WITH GLOW)
local function makeButton(text, order, color)
local holder = Instance.new("Frame")
holder.Size = UDim2.new(0.95, 0, 0.18, 0)
holder.Position = UDim2.new(0.5, 0, 0.25 + (order * 0.22), 0)
holder.AnchorPoint = Vector2.new(0.5, 0)
holder.BackgroundTransparency = 1
holder.ZIndex = 3
holder.Parent = frame
local glow = Instance.new("UIStroke")
glow.Color = color
glow.Thickness = 2
glow.Transparency = 0.4
glow.Parent = holder
TweenService:Create(
glow,
TweenInfo.new(1.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true),
{Transparency = 0.1}
):Play()
local button = Instance.new("TextButton")
button.Size = UDim2.new(1, 0, 1, 0)
button.Text = text
button.TextScaled = true
button.Font = Enum.Font.GothamBold
button.BackgroundColor3 = color
button.TextColor3 = Color3.fromRGB(255,255,255)
button.ZIndex = 4
button.Parent = holder
Instance.new("UICorner", button).CornerRadius = UDim.new(0, 10)
if color == Color3.fromRGB(255,221,0) then
button.TextColor3 = Color3.fromRGB(0,0,0)
end
button.MouseEnter:Connect(function()
TweenService:Create(button, TweenInfo.new(0.25, Enum.EasingStyle.Back), {
Size = UDim2.new(1.05,0,1.05,0),
BackgroundColor3 = color:Lerp(Color3.fromRGB(0,0,0), 0.15)
}):Play()
end)
button.MouseLeave:Connect(function()
TweenService:Create(button, TweenInfo.new(0.25, Enum.EasingStyle.Back), {
Size = UDim2.new(1,0,1,0),
BackgroundColor3 = color
}):Play()
end)
return button
end
-- Buttons
local farmBtn = makeButton("auto farm", 0, Color3.fromRGB(0,0,0))
local flyBtn = makeButton("fly (use without auto farm)", 1, Color3.fromRGB(255,221,0))
local invisBtn = makeButton("Invisible", 2, Color3.fromRGB(138,43,226))
--------------------------------------------------
-- AUTO FARM
--------------------------------------------------
local positions = {
Vector3.new(-40, 35, 1371), Vector3.new(-61, 33, 2140),
Vector3.new(-76, 41, 2909), Vector3.new(-87, 42, 3678),
Vector3.new(-41, 48, 4450), Vector3.new(-88, 54, 5220),
Vector3.new(-63, 49, 5990), Vector3.new(-83, 63, 6759),
Vector3.new(-64, 51, 7530), Vector3.new(-99, 49, 8298),
Vector3.new(-120, 179, 9132), Vector3.new(-56, -359, 9496)
}
local teleporting = false
local noclipConn, antiFallBV
local function enableNoclip()
noclipConn = RunService.Stepped:Connect(function()
for _,p in pairs(player.Character:GetDescendants()) do
if p:IsA("BasePart") then p.CanCollide = false end
end
end)
end
local function disableNoclip()
if noclipConn then noclipConn:Disconnect() noclipConn = nil end
end
local function preventFalling(hrp)
antiFallBV = Instance.new("BodyVelocity")
antiFallBV.MaxForce = Vector3.new(0, math.huge, 0)
antiFallBV.Parent = hrp
end
local function allowFalling()
if antiFallBV then antiFallBV:Destroy() antiFallBV = nil end
end
farmBtn.MouseButton1Click:Connect(function()
teleporting = not teleporting
farmBtn.Text = teleporting and "Stop" or "auto farm"
farmBtn.BackgroundColor3 = teleporting and Color3.fromRGB(200,50,50) or Color3.fromRGB(0,0,0)
if teleporting then
task.spawn(function()
while teleporting do
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")
enableNoclip()
preventFalling(hrp)
for _,pos in ipairs(positions) do
if not teleporting then break end
TweenService:Create(hrp, TweenInfo.new(2), {CFrame = CFrame.new(pos)}):Play()
task.wait(2)
end
allowFalling()
disableNoclip()
task.wait(15)
end
end)
else
allowFalling()
disableNoclip()
end
end)
--------------------------------------------------
-- FLY (simple toggle visual)
--------------------------------------------------
local flying = false
flyBtn.MouseButton1Click:Connect(function()
flying = not flying
flyBtn.Text = flying and "Unfly" or "Fly"
flyBtn.BackgroundColor3 = flying and Color3.fromRGB(200,50,50) or Color3.fromRGB(255,221,0)
end)
--------------------------------------------------
-- INVISIBLE
--------------------------------------------------
local invisible = false
local function setInvisible(state)
local char = player.Character
if not char then return end
for _,p in pairs(char:GetDescendants()) do
if p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" then
p.Transparency = state and 1 or 0
end
end
end
invisBtn.MouseButton1Click:Connect(function()
invisible = not invisible
setInvisible(invisible)
invisBtn.Text = invisible and "Visible" or "Invisible"
invisBtn.BackgroundColor3 = invisible and Color3.fromRGB(200,50,50) or Color3.fromRGB(138,43,226)
end)



oh and btw this was made with some help of chatgpt dont blame me tho i gave credits
@Riquelme_Scripts what
@pracflask what executor? its working on xeno
@pracflask then try using the script again on bulid a boat for treasure.
i knew it would work!
w