l0lzz
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1529 |
|
|
| 22 Nov 2011 07:53 PM |
This is the correct way to access the health and max health right?
function onPlayerRespawned(newPlayer) wait(1) if newPlayer.userId == 1134994 then newPlayer.Character.Humanoid.MaxHealth = 500 newPlayer.Character.Humanoid.Health = 500
And yes I know whose id number that is, I'm making something for him. |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2011 07:57 PM |
Admin h4x health, wewt :3
I think its right. I can't be sure (I am amateur, still learning but I CAN script), but there isn't anything visibly wrong with the script.
Although if your admin person goes around with 500 health, that WOULD be visibly wrong :P |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2011 07:57 PM |
| dun u dare halp dat narb D:< |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 07:59 PM |
| You can't just go into studio mode and test it? |
|
|
| Report Abuse |
|
|
l0lzz
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1529 |
|
| |
|
|
| 22 Nov 2011 08:05 PM |
@blockoo: Oh the irony.
@l0lzz: I have a quick question, how do you call the function onRespawned? What event is it connected to? Because I am pretty sure that there is at least one problem with it, but I need to know which problem it is before I can help. |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 08:09 PM |
| If he didn't post the whole script, it's probably character added. |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2011 08:10 PM |
| i dun see anything metallic here, crazy |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
| |
|
|
| 22 Nov 2011 08:12 PM |
"irony" > "iron"
Metallic? Get it? ololol |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 08:17 PM |
| ... By the way, how many more days until your account is not banned, also, what stupid mod rule did you get banned for? |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2011 08:18 PM |
| I get unbanned on Saturday. I got a 14-day ban because I called a guy a beggar when he was asking for scripts. |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 08:19 PM |
| Oh wow, +1 to fire the mods! |
|
|
| Report Abuse |
|
|
l0lzz
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1529 |
|
|
| 22 Nov 2011 08:28 PM |
| Crazy, this isn't the whole script. |
|
|
| Report Abuse |
|
|