Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you properly Make Teleporter pads?

Please someone help me out here.

1 answer

✓ Accepted answer

If you want to make one part teleport you somewhere, you could use this method:

function teleport(hit)
	local torso = hit.Parent:FindFirstChild("Torso") --finds torso
		if torso then --continue script if torso exists
			torso.CFrame = CFrame.new(Vector3.new(0, 10, 0)) --change this to the correct co-ords
		else
			print("No Torso")
	end
end 

script.Parent.Touched:connect(teleport) --connect event to function teleport

but if you wanted to make the brick teleport you to another brick you could do this:

function teleport(hit)
	local torso = hit.Parent:FindFirstChild("Torso") --finds torso
		if torso then --continue script if torso exists
			torso.CFrame = --change this to the part--.CFrame
		else
			print("No Torso")
	end
end 

script.Parent.Touched:connect(teleport) --connect event to function teleport

This discussion is preserved as it was. New answers, comments, and votes are closed.