[Scripting Question] Getting player's character

Back
freeb
Join Date:
Posts:
Oct 2024
4
1 month ago | 14 • By freeb

Hi I'm new to Polytoria and used to code on Roblox, I spent a bit looking at the documentation and didn't see much relating to the user's character model when they spawn which I expected it to be in the "Environment" but doesn't seem to be, I ran a test in the editor where I made a brick print the parent instance of whatever it touches and when it touched the player it said it was located in "Players" which confuses me because Players can contain both the User and it's character model? What am I missing and how can I modify the character model to do things such as cloning or delete body parts or is it not possible in the current state of Polytoria? I appreciate any help that is given.


Zylith
Join Date:
Posts:
Streak:
Aug 2023
58
10 days
1 month ago • By Zylith 10d

theres no character property or instance in environment the player is the character itself, if that didn't make sense then heres an example


Roblox:
Player.Character:PivotTo(CFrame.new(0, 0, 0))


Polytoria:


Player.Position = Vector3.New(0, 0, 0)



halloween is the best holiday fight me

freeb OP
Join Date:
Posts:
Oct 2024
4
1 month ago • By freeb OP

Thank you for this explanation! So as I understand it the "Player" is also the character and is it also made with different parts or the same instance? For example could I get the instance that belongs to the user's shirt or torso or arm?