local debounce = true
local player = script.Parent.Parent.Parent.Parent
local target = game.Workspace:WaitForChild("TeleportTarget")
script.Parent.MouseButton1Click:connect(function()
if debounce == true then
debounce = false
player.Character.HumaniodRootPart.CFrame = target.CFrame *
CFrame.new(0,3,0)
I wanted it to when you click you would teleport to a brick.

1 comment
I messed up at one point. Lin 5 should read: char.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(target.position)*(0,3,0))