Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Co = workspace.Coins:GetChildren()
- plr = game:GetService("Players").LocalPlayer.Character
- p = Instance.new("Part")
- p.CFrame = plr.HumanoidRootPart.CFrame
- _G.k = true --To stop change to false
- while _G.k do
- for index, child in pairs(Co) do
- if child:IsA("MeshPart") and child.Name ~= "Coin" or child.Name ~= "Rupee" then
- plr:MoveTo(child.Position)
- wait(0.1)
- end
- end
- end
- plr:MoveTo(p.Position)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement