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

Why won't this tele work?

Asked by 9 years ago
if string.byte(key) == 8 then
    if (Humanoid ~= nil) then
Humanoid:MoveTo(Torso.Position.x,Torso.Position.y, Torso.Position.z-10)
end

That is just the part that isn't working.

if string.byte(key) == 8 then

If the player presses "Backspace",

if (Humanoid ~= nil) then

Check if realplayer

Humanoid:MoveTo(Torso.Position.x,Torso.Position.y, Torso.Position.z-10)

Pushes them back(get it? Backspace?)

end

end.

Why won't this work?

1
I would assume it is because you are moving the Humanoid. You have to actually move the Player's torso to the position, in this case you are moving the Humanoid to the Torso, or at least attempting to, when Humanoids do not have actual mass, or representation in the 3-D world. SlickPwner 534 — 9y

1 answer

Log in to vote
0
Answered by
war8989 35
9 years ago

Sorry, I cannot help you without having the complete script. Please post the entire script for me to look at.

0
that is the entire script EzraNehemiah_TF2 3552 — 9y
Ad

Answer this question