thi2004

Untitled

Oct 16th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. while true do
  2. wait()
  3. local children = game.Workspace:GetChildren()
  4. for _, child in pairs(children) do
  5. for _, child in pairs(child:GetChildren()) do
  6. table.insert(children, child)
  7. end
  8.  
  9. if child:IsA("BasePart") and child.Name == "RedCoin" then
  10. child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  11. end
Advertisement
Add Comment
Please, Sign In to add comment