This script seems easier than it is to generate. Sadly I have yet to find the full problem.
function OnClick(mouse) game:GetService("TeleportService"):Teleport(259945232) end script.Parent.ClickDetector.MouseClick:connect(OnClick)
It is in a normal script, I've tried it in a Local and it failed as well. Any suggestions?
We can do this easily, because ClickDetectors give us the player who clicked. In Local Scripts we don't need to do this, but in regular scripts we do.
-- Regular Script function OnClick(plr) game:GetService("TeleportService"):Teleport(259945232,plr) end script.Parent.ClickDetector.MouseClick:connect(OnClick)
Good Luck!