I probably screwed it up when trying to make an anonymous function but its crucial that it have a click detector in it as well.
here is the code..
local mult_ID = 34534
script.Parent.Clicked:connect(function(OnClick)
local player = game.Players:GetPlayerFromCharacter(OnClick.Parent)
if player then
game:GetService("TeleportService"):Teleport(mult_ID, player)
end
end)

2 comments
I still get an error saying that MouseClick is not a valid member of part.
Insert a ClickDetector inside the part and put the script in the part.