Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local work = workspace:GetChildren()
- for i = 1, #work do local v = work[i]
- if v.Name == "diamond" and v:FindFirstChild("TouchInterest") then
- pcall(function()
- v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- end)
- end
- end
- workspace.ChildAdded:Connect(function(v)
- if v.Name == "diamond" then
- pcall(function()
- v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement