I made a script and asked script helping about it which I got that one answered about using clickdetector to teleport. But it didn't work since there was a error. This is the script and error:
Script:
s = game:service("TeleportService")
id = 74232401
function onClicked(player)
s:Teleport(id,player)
end
script.Parent.ClickDetector:connect(onClicked)
Error:
01:22:20.692 - connect is not a valid member of ClickDetector
Please help. Thank you, benthekarateboy :D

2 comments
Thanks bro :D
You're welcome. :)