This script below is a normal script that basically teleports you once you clicked the block, and the output says it works hence the print. But it doesn't work! any help?
function Clicked()
0
GameID = 185655149
print("Worked!")
game.Players.PlayerAdded:connect(function(player)
game:GetService("TeleportService"):Teleport(GameID, player)
end)
end
script.Parent.ClickDetector.MouseClick:Connect(Clicked)

4 comments
try putting the print after the line 9 and 11 so we can know where the script stops.
f r e e m o d e l s k i d d o
It prints "Worked!" (Line 05) before actually teleporting the player (Line 11)
Does this call up an error?