It's public but it still does not work! TP Part code

local teleport = game:GetService("TeleportService")
local function onPartTouch(otherPart)
	local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
	if player then
		teleport:Teleport(5033893288, player)
	end
end
script.Parent.Touched:Connect(onPartTouch)

1 comment

0

It's Valid tho!