I want to change the name of the part the player specifies in a textbox.
Say the user input tells me the part is at:
game.Workspace.Part
What I want to do is add .Name at the end.
I've tried:
script.Parent.Text.Name --didn't work, like I thought.
ab = script.Parent.Text.. '.Name' --didn't work, however printing it resulted in the right path.
I'm not sure exactly what to do or how to do this.

1 comment
Are you new to scripting?