here it is
`local plr = game.Players.LocalPlayer local tor = plr.Character:WaitForChild('Torso')
script.Parent.MouseButton1Click:connect(function() tor.CFrame = CFrame.new(391.562, -84.842, 341.319) end)`
Because it's a local script, it won't work inside of a part, the only places a local script will work is in ReplicatedFirst, A players backpack, gui, playerscripts or inside their character.
This type of script would have to be done with a server script (aka, a regular script)