I made a text button and I put a script in it, I want it so that when I click the button, it puts a selection box in the local player. I tried using Instance.new("SelectionBox",game.Players.LocalPlayer.Character["UpperTorso"] but it didn't work, can somebody help me?
✓ ANSWER ACCEPTED
How to use instance.new to put something inside my character?
2 answers
✓ Accepted answer
local kepex = Instance.new("SelectionBox",game.Players.LocalPlayer.Character.UpperTorso)
kepex.Adornee = game.Players.LocalPlayer.Character.UpperTorso
3 comments
0
Thanks I will try it
0
This worked! Thanks for the help :D
0
where is the adornee come from
local slb = Instance.new("SelectionBox") slb.Parent = game.Players.LocalPlayer.Character.UpperTorso
3 comments
1
Thanks I will try it
0
mine didnt work!? :(
0
No sorry! Thanks for the help though!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thanks I will try it