function ActivateTeleport(touchedObject) if touchedObject and touchedObject.Parent:FindFirstChild("Humanoid") then touchedObject.Parent.HumanoidRootPart.CFrame = game.Workspace.Teleport2.CFrame end end game.Workspace.Teleport1.Touched:Connect(ActivateTeleport)
function ActivateTeleport(touchedObject)
if touchedObject and touchedObject.Parent:FindFirstChild("Humanoid") then
touchedObject.Parent.HumanoidRootPart.CFrame =
game.Workspace.Teleport2.CFrame
end
end
game.Workspace.Teleport1.Touched:Connect(ActivateTeleport)