
KeylessUniversal

local ScreenGui = Instance.new("ScreenGui")
local ToggleButton = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
ScreenGui.Name = "FruitESPGui"
ScreenGui.Parent = game:GetService("CoreGui")
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ToggleButton.Name = "ToggleButton"
ToggleButton.Parent = ScreenGui
ToggleButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
ToggleButton.Position = UDim2.new(0.05, 0, 0.4, 0)
ToggleButton.Size = UDim2.new(0, 100, 0, 50)
ToggleButton.Font = Enum.Font.SourceSansBold
ToggleButton.Text = "Fruit ESP: OFF"
ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleButton.TextSize = 14.0
ToggleButton.Active = true
ToggleButton.Draggable = true
UICorner.Parent = ToggleButton
local espEnabled = false
local espObjects = {}
local function createEsp(fruit)
if not fruit:FindFirstChild("FruitESP") then
local billboard = Instance.new("BillboardGui")
billboard.Name = "FruitESP"
billboard.AlwaysOnTop = true
billboard.Size = UDim2.new(0, 100, 0, 50)
billboard.Adornee = fruit
billboard.Parent = fruit
local textLabel = Instance.new("TextLabel")
textLabel.Parent = billboard
textLabel.BackgroundTransparency = 1
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.Text = fruit.Name
textLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
textLabel.TextStrokeTransparency = 0
textLabel.Font = Enum.Font.SourceSansBold
textLabel.TextSize = 16
table.insert(espObjects, billboard)
end
end
local function removeEsp()
for _, obj in pairs(espObjects) do
if obj then obj:Destroy() end
end
espObjects = {}
end
local function updateEsp()
removeEsp()
if espEnabled then
for _, v in pairs(game.Workspace:GetChildren()) do
if v.Name:find("Fruit") or v:IsA("Tool") and v.Name:find("Fruit") then
createEsp(v)
end
end
end
end
ToggleButton.MouseButton1Click:Connect(function()
espEnabled = not espEnabled
if espEnabled then
ToggleButton.Text = "Fruit ESP: ON"
ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
else
ToggleButton.Text = "Fruit ESP: OFF"
ToggleButton.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
removeEsp()
end
end)
game.Workspace.ChildAdded:Connect(function(child)
if espEnabled and (child.Name:find("Fruit") or child:IsA("Tool") and child.Name:find("Fruit")) then
task.wait(0.5)
createEsp(child)
end
end)
task.spawn(function()
while task.wait(5) do
if espEnabled then
updateEsp()
end
end
end)No comments yet for this script.



