Professional Documents
Culture Documents
RCX Coconut Farm
RCX Coconut Farm
RCX Coconut Farm
new("ScreenGui")
local main = Instance.new("Frame")
local turnon = Instance.new("TextButton")
local turnoff = Instance.new("TextButton")
local title = Instance.new("TextLabel")
--Properties:
ScreenGui.Parent = game.CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
main.Name = "main"
main.Parent = ScreenGui
main.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
main.BorderColor3 = Color3.fromRGB(53, 53, 53)
main.Position = UDim2.new(0.74303031, 0, 0.125154898, 0)
main.Size = UDim2.new(0, 330, 0, 163)
main.Active = true
main.Draggable = true
turnon.Name = "turnon"
turnon.Parent = main
turnon.BackgroundColor3 = Color3.fromRGB(98, 98, 98)
turnon.BorderColor3 = Color3.fromRGB(98, 98, 98)
turnon.Position = UDim2.new(0, 0, 0.261986256, 0)
turnon.Size = UDim2.new(0, 329, 0, 50)
turnon.Font = Enum.Font.SourceSans
turnon.Text = "Turn on"
turnon.TextColor3 = Color3.fromRGB(0, 0, 0)
turnon.TextScaled = true
turnon.TextSize = 14.000
turnon.TextWrapped = true
turnon.MouseButton1Down:connect(function()
_G.Toggle = true -- true it collects false it doesnt, re-execute every time
you change
function dothis()
while wait(0.1) and _G.Toggle do
for _,v in
pairs(game:GetService("Workspace").Scripts.CoconutsFolder.Storage:GetDescendants())
do
if v.Name == "TouchInterest" then
firetouchinterest(playerr, v.Parent, 0)
firetouchinterest(playerr, v.Parent, 1)
end
end
end
end
dothis()
end)
turnoff.Name = "turnoff"
turnoff.Parent = main
turnoff.BackgroundColor3 = Color3.fromRGB(98, 98, 98)
turnoff.BorderColor3 = Color3.fromRGB(98, 98, 98)
turnoff.Position = UDim2.new(0, 0, 0.631807923, 0)
turnoff.Size = UDim2.new(0, 329, 0, 50)
turnoff.Font = Enum.Font.SourceSans
turnoff.Text = "Turn off"
turnoff.TextColor3 = Color3.fromRGB(0, 0, 0)
turnoff.TextScaled = true
turnoff.TextSize = 14.000
turnoff.TextWrapped = true
turnoff.MouseButton1Down:connect(function()
_G.Toggle = false -- true it collects false it doesnt, re-execute every time
you change
function dothis()
while wait(0.1) and _G.Toggle do
for _,v in
pairs(game:GetService("Workspace").Scripts.CoconutsFolder.Storage:GetDescendants())
do
if v.Name == "TouchInterest" then
firetouchinterest(playerr, v.Parent, 0)
firetouchinterest(playerr, v.Parent, 1)
end
end
end
end
dothis()
end)
title.Name = "title"
title.Parent = main
title.BackgroundColor3 = Color3.fromRGB(98, 98, 98)
title.BorderColor3 = Color3.fromRGB(98, 98, 98)
title.Size = UDim2.new(0, 329, 0, 32)
title.Font = Enum.Font.SourceSans
title.Text = "Rebirth Champions X Coconut Farm | made by mxllard"
title.TextColor3 = Color3.fromRGB(0, 0, 0)
title.TextScaled = true
title.TextSize = 14.000
title.TextWrapped = true