I am trying to teleport a player when they touch a part, but it isn't bringing any output, therefore, not letting me debug. Code :
local plyr = game.Players.LocalPlayer
function onTouched()
script.Parent.Touched:connect(plyr).Torso.Position = Vector3.new(5.194, 3.37, 45.765)
end
