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

How do I make a Humanoid change positions?

Asked by
bailley5 114
4 years ago

Humanoid.CFrame = CFrame.new(Vector3.new(-726.48, 1.487, 648.42))

I tried this

0
Are you trying to make the humanoid teleport? If so, I believe you would need to make the UpperTorso teleport. Dockboy20006 10 — 4y
0
You need to make the HumanoidRootPart teleport. appxritixn 2235 — 4y

1 answer

Log in to vote
2
Answered by
appxritixn 2235 Moderation Voter Community Moderator
4 years ago

This is an easy mistake for a beginner to make.

The answer which will satisfy all Rig Types is:

local HRP = game.Workspace[player.Name].HumanoidRootPart

HRP.CFrame = CFrame.new(Vector3.new(-726.48, 1.487, 648.42))
0
plz do not do game.Workspace[player.Name] instead do player.Character HappyTimIsHim 652 — 4y
1
It works equally as well. appxritixn 2235 — 4y
Ad

Answer this question