function teleportPlayer(pos, torso) local char = torso char.CFrame = CFrame.new(Vector3.new(pos.x, pos.y + 7, pos.z)) end function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then teleportPlayer(Vector3.new(-3087.8, 35.23, -7248.44) , part.Parent.UpperTorso) -- Change this to make it R6. --Change the numbers above to the place you want to --teleport people to. end end end script.Parent.Touched:connect(onTouched)
It is not teleporting the players when they touch this brick.