Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- collect all coins
- plr = game:GetService("Players").LocalPlayer;
- coins = game:GetService("Workspace").CurrentMap.Coins;
- for i,v in pairs(coins:GetDescendants()) do
- if v.Name == "Coin" then
- v.CFrame = plr.Character.HumanoidRootPart.CFrame;
- end;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement