reborn
|
  |
| Joined: 09 May 2008 |
| Total Posts: 32 |
|
|
| 15 Dec 2011 05:34 PM |
Trying to make it so that when a player spawns on the monsters team they morph into a model of a monster that I made.
function Enter(newPlayer) if newPlayer:IsInTeam(Monsters) then change.newPlayer.gear.Monsters
After talking to some people, I found out "change.newPlayer.gear.Monsters" isn't a valid syntax(Doesnt exist, does nothing in Lua)
So what do I type instead? |
|
|
| Report Abuse |
|
|
xvgigakid
|
  |
| Joined: 22 Jun 2008 |
| Total Posts: 4407 |
|
|
| 15 Dec 2011 05:39 PM |
Who ever taught you to script is a terrible teacher... And first of all use a connection and an end for your function.
~Dark Sky Gift of Hoarders Lover |
|
|
| Report Abuse |
|
|
|
| 15 Dec 2011 05:41 PM |
| You can't change someone's form with 'Gear' |
|
|
| Report Abuse |
|
|
|
| 15 Dec 2011 05:41 PM |
| Scripts don't work that way... You can't just make up things that sound like code and expect them to work. |
|
|
| Report Abuse |
|
|
CrasyTrex
|
  |
| Joined: 13 Mar 2011 |
| Total Posts: 761 |
|
|
| 15 Dec 2011 05:43 PM |
| @ thread creator go to the wiki and actually learn some lua because we can only help you so much -_- |
|
|
| Report Abuse |
|
|