|
| 25 Aug 2016 10:22 AM |
I am trying to make it so a selectionbox would adornee to a player and the color of the selectionbox would be the players teamcolor, but it does not seem to work.
My script: game.Players.ChildAdded:connect(function(p) local head = p.Head local torso = p.Torso
local Larm = p["Left Arm"] local Rarm = p["Right Arm"] local Lleg = p["Left Leg"] local Rleg = p["Right Leg"]
local SelectionBox = Instance.new("SelectionBox") SelectionBox.Adornee = Larm SelectionBox.Adornee = Rarm SelectionBox.Adornee = torso SelectionBox.Adornee = head SelectionBox.Adornee = Lleg SelectionBox.Adornee = Rleg
SelectionBox.SurfaceColor3 = Color3.new(p.TeamColor) end) game.Players.ChildRemoved:connect(function() print(":(") end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Aug 2016 10:29 AM |
| Anyone????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2016 10:30 AM |
| Me and head and torso are for character and the selesctionbox color could be done better plus You need to do team.TeamColor |
|
|
| Report Abuse |
|
|