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

How to edit a part with a space in the name?

Asked by 9 years ago

Before you tell me that I shouldn't put spaces in the name, I can't change it. I want to be able to edit the CFrame of a player character's arms and legs. To my knowledge it's located under Players->LocalPlayer->Character->Right Leg. Right Leg has a space in it, how am I supposed to edit it if there is a space there .-. Thanks for any help you can give!

1 answer

Log in to vote
2
Answered by
User#3 0
9 years ago

You would use:

game.Players.LocalPlayer.Character["Right Leg"]
0
It works, thanks. Ghost4Man 25 — 9y
Ad

Answer this question