|
| 09 Oct 2016 09:58 PM |
while true do wait(1) if game.Players.LocalPlayer.Character.Shirt.ShirtTemplate == 'rbxassetid://473495589' then else game.Players.LocalPlayer.Character.Shirt.ShirtTemplate = 'rbxassetid://473495589' end end
Its not working for some reason? Can anyone help?
|
|
|
| Report Abuse |
|
|
|
| 09 Oct 2016 10:10 PM |
i believe you are supposed to have something after then so basically you are saying if the player's t-shirt is equal to the asset id then (do nothing) there is supposed to be something after the 'then' statement
|
|
|
| Report Abuse |
|
|
|
| 09 Oct 2016 10:14 PM |
I put a wait there but still didn't work
|
|
|
| Report Abuse |
|
|
|
| 09 Oct 2016 10:15 PM |
what exactly do you want the script to do?
|
|
|
| Report Abuse |
|
|
|
| 09 Oct 2016 10:18 PM |
so if they are wearing the shirt don't change but if the are not change it to what I need them to wear for example in work at a pizza place where it changes you into the unifrom
|
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 09 Oct 2016 10:33 PM |
Local Script:
local player = game.Players.LocalPlayer local char = player.Character or player.CharacterAdded:wait() while wait() do local shirt = char:FindFirstChild('Shirt') if shirt then shirt.ShirtTemplate = 'rbxassetid://473495589' end end |
|
|
| Report Abuse |
|
|
|
| 09 Oct 2016 10:42 PM |
Thanks for your hep everyone but got it working
|
|
|
| Report Abuse |
|
|