I have recently been making this script. It needs to teleport the player to a certain position however it doesn´t work.
script.Parent.MouseClick:Connect(function()
local Pos = script.Parent.Parent.Parent.TeleportingBlock2
game.StarterPlayer.StarterCharacter:MoveTo(Pos.Position)
end)

1 comment
Thanks, it solved the problem.