|
| 08 Aug 2015 10:08 PM |
Okay so I was trying to make a script that makes a player get a link shirt when they respawn and it was not working too well. I looks in the explorer to see if it actually gave me a shirt and stuff and it does. It puts the right template and everything but not showing it.
Script:
game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) wait(3) local FindShirt = Character:FindFirstChild("Shirt") if FindShirt then FindShirt.ShirtTemplate = "http://www.roblox.com/asset/?id=102271272" else local GiveShirt = Instance.new("Shirt") GiveShirt.Parent = Character GiveShirt.Name = "Shirt" GiveShirt.ShirtTemplate = "http://www.roblox.com/asset/?id=102271272" end end) end) |
|
|
| Report Abuse |
|
|
Darkggod0
|
  |
| Joined: 08 Jan 2013 |
| Total Posts: 2946 |
|
|
| 08 Aug 2015 10:10 PM |
I fine that glitch a lot too, I just check if the shirt is there and then remove it and create a new one your better off doing that.
~Darkggod~ - Glory To Vaktovia - |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2015 10:10 PM |
| I don't know what you mean. |
|
|
| Report Abuse |
|
|
Darkggod0
|
  |
| Joined: 08 Jan 2013 |
| Total Posts: 2946 |
|
|
| 08 Aug 2015 10:12 PM |
game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) wait(3) local FindShirt = Character:FindFirstChild("Shirt") if FindShirt then FindShirt:Destroy() x=Instance.new("Shirt",Character) x.ShirtTemplate = "http://www.roblox.com/asset/?id=102271272" end else local GiveShirt = Instance.new("Shirt") GiveShirt.Parent = Character GiveShirt.Name = "Shirt" GiveShirt.ShirtTemplate = "http://www.roblox.com/asset/?id=102271272" end end) end)
~Darkggod~ - Glory To Vaktovia - |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2015 10:17 PM |
| Either way would do the same and yours doesn't work either. I think it's a glitch or something because in the workspace it shows my player with the shirt and the shirt template id thing. |
|
|
| Report Abuse |
|
|