|
| 21 Oct 2016 10:45 PM |
local plr = game.Players.LocalPlayer local char = game.Workspace:FindFirstChild(plr.Name) local shirt = char.Shirt
?
|
|
|
| Report Abuse |
|
|
|
| 21 Oct 2016 10:49 PM |
Your method isn't efficient. Try this instead:
local plr = game.Players.LocalPlayer local char = plr.Chracter local shirt = char:FindFirstChild("Shirt") --Returns nil if the player has no shirt.
That's not even the 100% best way but it should work. |
|
|
| Report Abuse |
|
|
| |
|
llaserx
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 53069 |
|
|
| 21 Oct 2016 10:59 PM |
local plr = game.Players.LocalPlayer repeat wait() until plr.Character local char = plr.Character local shirt = char:FindFirstChild("Shirt") --Returns nil if the player has no shirt.
|
|
|
| Report Abuse |
|
|
Lordux
|
  |
| Joined: 10 Jun 2010 |
| Total Posts: 610 |
|
|
| 22 Oct 2016 12:51 AM |
local plr = game.Players.LocalPlayer game.Workspace:WaitForChild(plr.Name) local char = plr.Character local shirt = char.Shirt |
|
|
| Report Abuse |
|
|