|
| 28 Apr 2010 11:31 AM |
function onChatted(msg, speaker)
msg = string.lower(msg)
if msg == "suit" then speaker.CharacterAppearance = = "http://www.roblox.com/asset/?ID= 13026272" -- It says it all; Suit on. end end
function onPlayerEntered(newPlayer) newPlayer.Chatted:connect(function(msg) onChatted(msg, newPlayer) end) end
game.Players.ChildAdded:connect(onPlayerEntered) -- Brought to you by SilverGecko |
|
|
| Report Abuse |
|
|
Spaniel77
|
  |
| Joined: 18 Apr 2009 |
| Total Posts: 3596 |
|
|
| 28 Apr 2010 11:36 AM |
function onChatted(msg, speaker)
msg = string.lower(msg)
if msg == "suit" then speaker.CharacterAppearance = "http://www.roblox.com/asset/?ID= 13026272" -- It says it all; Suit on. end end
function onPlayerEntered(newPlayer) newPlayer.Chatted:connect(function(msg) onChatted(msg, newPlayer) end) end
game.Players.ChildAdded:connect(onPlayerEntered)
You basically had it right, you just had an extra = at the CharacterAppearance bit. |
|
|
| Report Abuse |
|
|
Clone512
|
  |
| Joined: 02 Mar 2008 |
| Total Posts: 7810 |
|
|
| 28 Apr 2010 11:39 AM |
| Isn't the CharacterAppearance property locked? |
|
|
| Report Abuse |
|
|
Spaniel77
|
  |
| Joined: 18 Apr 2009 |
| Total Posts: 3596 |
|
|
| 28 Apr 2010 11:41 AM |
| Nope, I don't think it is. I use it all the time in SB. |
|
|
| Report Abuse |
|
|
aase69
|
  |
| Joined: 04 Apr 2008 |
| Total Posts: 3794 |
|
|
| 28 Apr 2010 11:55 AM |
| i think it was locked, but they enabled it again :D |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 28 Apr 2010 11:58 AM |
I don't know if this matters in a URL in roblox, but you have a space beside the "=":
http://www.roblox.com/asset/?ID=13026272 |
|
|
| Report Abuse |
|
|