I just made a successful teleporter script!
#code
local Start = script.Parent
local function steppedOn(part)
local parent = part.Parent
if game.Players:GetPlayerFromCharacter(parent) then
parent.Humanoid.Torso.CFrame = CFrame.new(Vector3.new(-13, 1010, 24))
end
end
Start.Touched:connect(steppedOn)
I tested it and it worked! :D
|