Advertisement
Me_INgyenTri

Untitled

Feb 22nd, 2020
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. -- collect all coins
  2.  
  3. plr = game:GetService("Players").LocalPlayer;
  4. coins = game:GetService("Workspace").CurrentMap.Coins;
  5.  
  6. for i,v in pairs(coins:GetDescendants()) do
  7. if v.Name == "Coin" then
  8. v.CFrame = plr.Character.HumanoidRootPart.CFrame;
  9. end;
  10. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement