Hello, I would like to ask how I can make a script that if a part touches another part the part will be sent to a specific position This is my script but it's not working local Ball = game.Workspace.Ball
script.Parent.Touched:Connect(function(hit)
if hit.Parent:
Ball.Position = (3.121, 1.264, 9.106)
end
end)
local Ball = game.Workspace.Ball script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Ball") then--if ball touches this part then Ball.CFrame = CFrame.new (3.121, 1.264, 9.106)--ball will get this position end end)