Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Teleport not working when r15 enabled?

Asked by 4 years ago
target = Vector3.new(-825, 4, 848)
for i, v in pairs(game.Players:GetChildren()) do 
v.Character.Torso.CFrame = CFrame.new(target + Vector3.new(0, i * 5, 0))
end
0
so this script works perfectly fine when my game has r6 enabled but when my character is r15 it just doesnt teleport my character EpikLevel 0 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago
Edited 4 years ago

The issue is that R15 uses UpperTorso and LowerTorso. Instead of using torso at all, just use v.Character.HumanoidRootPart.CFrame and it'll work for both R6 and R15.

Ad

Answer this question