
Key Required
Auto Collect Candy
Lua Script•37 lines (1368 chars)
_G.AutoCandy = true
local thankyou = game:GetService("Players")
local forusing = thankyou.LocalPlayer
local myscript = forusing.Character or forusing.CharacterAdded:Wait()
local muchlove = myscript:WaitForChild("HumanoidRootPart")
local validNames = {YellowCandy=true,OrangeCandy=true,PinkCandy=true,PurpleCandy=true,BlueCandy=true,GreenCandy=true,RedCandy=true,LightBlueCandy=true}
local candies = {}
for _, d in ipairs(workspace:GetChildren()) do
if d:IsA("MeshPart") and validNames[d.Name] then
table.insert(candies, d)
end
end
workspace.ChildAdded:Connect(function(d)
if d:IsA("MeshPart") and validNames[d.Name] then
table.insert(candies, d)
end
end)
task.spawn(function()
while _G.AutoCandy do
for i = #candies, 1, -1 do
local c = candies[i]
if not c or not c.Parent then
table.remove(candies, i)
else
local touch = c:FindFirstChildOfClass("TouchTransmitter") or c:FindFirstChild("TouchInterest")
if touch then
muchlove.CFrame = c.CFrame + Vector3.new(0,3,0)
firetouchinterest(muchlove, c, 0)
task.wait()
firetouchinterest(muchlove, c, 1)
task.wait(0.1)
end
end
end
task.wait(1)
end
end)Features & Information
# Open Source
() Small Script
Features:
> Auto Teleport to candy
Community Comments (0)
No comments yet for this script.
