Advertisement
Guest User

Untitled

a guest
Sep 1st, 2019
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 == "Coin" then
  10.            child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  11.        end
  12.    end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement