How can i make players teleport to another place when they click on something?
In my left 4 dead, for the finale I have players surviving on a rooftop and they need to survive for 2 minutes before the helicopter arrives, when the helicopter arrives I want them to be teleported when they click the helicopter but its not working, can someone help?
What else would I have to put on here to make it work?
function(Onclick)
if game.Workspace.Helicopter.ClickDetector.MouseClick=true
game:GetService('TeleportService')