getgenv().GoldLoop = false local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local HRP = Character:WaitForChild("HumanoidRootPart") task.spawn(function() while getgenv().GoldLoop do for _, v in ipairs(workspace.GoldBars:GetDescendants()) do if not getgenv().GoldLoop then break end if v:IsA("TouchTransmitter") then HRP.CFrame = v.Parent.CFrame task.wait(0.5) -- Adjust the speed here. end end task.wait(1) end end)