generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: This is correct right?

Previous Thread :: Next Thread 
l0lzz is not online. 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
Admiral1160 is not online. Admiral1160
Joined: 11 Jun 2010
Total Posts: 364
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
sk8ercool456 is not online. sk8ercool456
Joined: 24 Jan 2008
Total Posts: 1846
22 Nov 2011 07:57 PM
dun u dare halp dat narb D:<
Report Abuse
drmiewlo is not online. 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 is not online. l0lzz
Joined: 05 Dec 2009
Total Posts: 1529
22 Nov 2011 08:01 PM
Ok.
Report Abuse
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
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 is not online. 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
sk8ercool456 is not online. sk8ercool456
Joined: 24 Jan 2008
Total Posts: 1846
22 Nov 2011 08:10 PM
i dun see anything metallic here, crazy
Report Abuse
drmiewlo is not online. drmiewlo
Joined: 14 Mar 2012
Total Posts: 1782
22 Nov 2011 08:11 PM
What?
Report Abuse
sk8ercool456 is not online. sk8ercool456
Joined: 24 Jan 2008
Total Posts: 1846
22 Nov 2011 08:12 PM
"irony" > "iron"

Metallic? Get it? ololol
Report Abuse
drmiewlo is not online. 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
sk8ercool456 is not online. sk8ercool456
Joined: 24 Jan 2008
Total Posts: 1846
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 is not online. drmiewlo
Joined: 14 Mar 2012
Total Posts: 1782
22 Nov 2011 08:19 PM
Oh wow, +1 to fire the mods!
Report Abuse
l0lzz is not online. l0lzz
Joined: 05 Dec 2009
Total Posts: 1529
22 Nov 2011 08:28 PM
Crazy, this isn't the whole script.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image