ADVERTISEMENTREMOVE ADS
Game icon

auto collect orb (UPDATED)

Legends Of Speed ⚡
3 months ago
Script preview thumbnail
Script Preview

Description

collects every orb and hoop around map

Tested with

ADVERTISEMENTREMOVE ADS
30 Lines • 767 Bytes
Raw
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local function teleportTo(part)
if part and part:IsA("BasePart") then
humanoidRootPart.CFrame = part.CFrame + Vector3.new(0, 5, 0)
wait(0.1)
end
end
while true do
for _, orb in pairs(workspace:GetDescendants()) do
if orb:IsA("BasePart") and orb.Name:lower():find("orb") then
teleportTo(orb)
end
end
for _, hoop in pairs(workspace:GetDescendants()) do
if hoop:IsA("BasePart") and hoop.Name:lower():find("hoop") then
teleportTo(hoop)
end
end
wait(1)
end
ADVERTISEMENTREMOVE ADS

Comments

1 comment
to add a comment
zx

chategspts

0
0
ADVERTISEMENTREMOVE ADS