I have a simple question. Where exactly would I be able to find the character's position and change it with a script?
COMMUNITY QUESTION
How to change character's position?
1 answer
This is not a request site, but here's an example:
local plr = game.Players.LocalPlayer
local char
plr.CharacterAdded:Connect(function(c)
char = c
end)
repeat wait() until char
char:SetPrimaryPartCFrame(CFrame.new(15,15,15)) --You can change the X,Y, and Z
3 comments
0
What exactly does char do?
0
its what you see in game, what you move.
0
"char" as he defined it is a reference to the player's model in the workspace. He's using the function SetPrimaryPartCFrame to set the position of the entire model based off of the model's PrimaryPart position.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You would actually manipulate their HumanoidRootPart's CFrame and set it to the location's CFrame. If the location is a Vector3, you would set their CFrame to CFrame.new(Vector3). Alternatively, you could teleport them to a Vector3 using the MoveTo() method.