Error in my code

I’ve changed it to a NumberValue, yet it still comes up with the error on line 5 (stack end). I’m not sure what the issue is.

Would you mind… posting the error?

I posted it earlier in the thread - heres a screenshot of the error:

Try that, it might work.

local cl = Instance.new('ClickDetector', script.Parent)

local tp = game:GetService('TeleportService')

cl.MouseClick:Connect(function(Player)
	tp:Teleport(script.GameIDValue.Value, Player)
end)

Unfortunately, that script did nothing. I’m going to test out a few things but thanks for all the help!