I am making a tycoon right, and this is supposed to teleport a drop once it hits the pad ( which is what the script is under ) and teleport it to the area listed in the script? Can someone help me?
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("part") then
hit.Parent.part.CFrame = CFrame.new(-189.706, 2.003, -183.431)
else print("You're not a drop silly!")
end)
edit: its also giving me this error unexpected symbol near ')'

2 comments
Use vector3.New
it's still giving me this error unexpected symbol near ')'