Sp1ff
|
  |
| Joined: 04 Nov 2011 |
| Total Posts: 2731 |
|
|
| 19 Jul 2016 09:58 AM |
| Can you make it so that when a player joins a game they have a certain outfit on? |
|
|
| Report Abuse |
|
|
| |
|
Sp1ff
|
  |
| Joined: 04 Nov 2011 |
| Total Posts: 2731 |
|
| |
|
brack4712
|
  |
| Joined: 07 Mar 2009 |
| Total Posts: 243 |
|
|
| 19 Jul 2016 11:37 AM |
easy.
function onAdded(player) wait(2) player.Character.Shirt.ShirtTemplate = ASSETIDHERE player.Character.Pants.PantsTemplate = ASSETIDHERE print("Changed the outfit") end
game.Players.PlayerAdded:connect(onAdded) |
|
|
| Report Abuse |
|
|
lululukas
|
  |
| Joined: 23 Aug 2010 |
| Total Posts: 1043 |
|
|
| 19 Jul 2016 11:41 AM |
shirtid=YOURASSETIDHERE pantsid=YOURASSETIDHERE
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(char) sh=char:WaitForChild("Shirt") pa=char:WaitForChild("Pants") sh.ShirtTemplate=shirtid pa.PantsTemplate=pantsid end) end)
|
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 19 Jul 2016 11:42 AM |
and if the player isnt wearing a shirt? ^^^^^
you have to make one if there isn't already one there. |
|
|
| Report Abuse |
|
|