I'm trying to make an easter egg with a button, that when clicked, it teleports you to somewhere in the game. However, it's not working. Can someone help me fix it?
To start off, it's a LocalScript, within a ClickDetector, within the part that's the button.
Script itself:
local players = game:GetService("Players")
local localPlayer = players.LocalPlayer
local tpposition1 = script.Parent.Parent.Parent.Parent.TPpart.Position
script.Parent.MouseClick:Connect(function() localPlayer:MoveTo(tpposition1) end)
