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

Why won't this tele work?

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 comment

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.

1 answer

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

1 comment

0

that is the entire script

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