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: VIP stats

Previous Thread :: Next Thread 
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
20 Jun 2014 11:35 PM
wait(1)
local Player = game.Players.LocalPlayer
local Vip = "http://www.roblox.com/"
local TP = "http://www.roblox.com/"
while not Player.Character do wait() end

if Player.Character.Torso.roblox.Texture == Vip then
Player.Character.Humanoid.WalkSpeed = 25
Player.Character.Humanoid.MaxHealth = 175
Player.Character.Humanoid.Health = 175
elseif Player.Character.Torso.roblox.Texture == TP then
Player.Character.Humanoid.WalkSpeed = 35
Player.Character.Humanoid.MaxHealth = 250
Player.Character.Humanoid.Health = 250
end

script:Remove()

This works, don't get me wrong, what I need is I don't need it to be setting the hp/walkspeed, I need it to be ADDING it.
Can someone just copy one line from this, making it add instead of place the MaxHealth and post it below. I will do the rest.

~Scripting Noob
Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
20 Jun 2014 11:35 PM
bump
Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
20 Jun 2014 11:36 PM
I may have just figured it out, but post your example as well just incase!


~Scripting Noob
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
20 Jun 2014 11:38 PM
Ok! :D



if Player.Character.Torso.roblox.Texture == Vip then
Player.Character.Humanoid.WalkSpeed = Player.Character.Humanoid.WalkSpeed + 25
Player.Character.Humanoid.MaxHealth = Player.Character.Humanoid.MaxHealth + 175
Player.Character.Humanoid.Health = Player.Character.Humanoid.Health + 175
elseif Player.Character.Torso.roblox.Texture == TP then
Player.Character.Humanoid.WalkSpeed = Player.Character.Humanoid.WalkSpeed + 35
Player.Character.Humanoid.MaxHealth = Player.Character.Humanoid.MaxHealth + 250
Player.Character.Humanoid.Health = Player.Character.Humanoid.Health + 250
end
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
20 Jun 2014 11:39 PM
Didnt see this; Can someone just copy one line from this, making it add instead of place the MaxHealth and post it below. I will do the rest.


Sry.
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