It works fine in studio, but not in-game. The script is a LocalScript.
In the console output it says "Torso is not a valid member of Model" on line 8
local b = script.Parent
local ply = game.Players.LocalPlayer.Character
local tpos = game.Workspace:WaitForChild(tostring(script.Parent.Name)):WaitForChild("TeleportBrick").CFrame
repeat wait() until tpos
repeat wait() until ply
b.MouseButton1Down:connect(function()
ply.Torso.CFrame = tpos
end)

3 comments
This did not work. And now it's saying "Infinite yield possible on 'Jephi:WaitForChild("Torso")'"
The game is R6? Or R15?
R6