Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local stuff = workspace.spawnedCoins.Valley:getChildren()
- for i=1,#stuff do
- if stuff[i].Name == "Blue Chi Crate" or stuff[i].Name == "Pink Chi Crate" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = stuff[i].CFrame
- wait(.3)
- end
- end
- workspace.spawnedCoins.Valley.ChildAdded:connect(function(stuff)
- if stuff.Name == "Blue Chi Crate" or stuff.Name == "Pink Chi Crate" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = stuff.CFrame
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement