Fr00bl0rd
|
  |
| Joined: 16 Aug 2014 |
| Total Posts: 138 |
|
| |
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 04 May 2015 07:05 PM |
| character.Health:Destroy() |
|
|
| Report Abuse |
|
|
Fr00bl0rd
|
  |
| Joined: 16 Aug 2014 |
| Total Posts: 138 |
|
|
| 04 May 2015 07:06 PM |
| Make this into a script is that all? |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 07:09 PM |
Put this in a script, then put the script in the ServerScriptService.
local function characterAdded(character) character:WaitForChild("Health"):Destroy() end
local function playerAdded(player) player.CharacterAdded:connect(characterAdded) end
game.Players.PlayerAdded:connect(playerAdded) |
|
|
| Report Abuse |
|
|
Fr00bl0rd
|
  |
| Joined: 16 Aug 2014 |
| Total Posts: 138 |
|
|
| 04 May 2015 07:22 PM |
| Did not quite work, Was it too slow it down? |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 May 2015 07:24 PM |
| you can remove the player's character health script, then create your own and insert it into the players. You could even just copy the code and remove the +0.2 health thing and insert it into the players |
|
|
| Report Abuse |
|
|
Fr00bl0rd
|
  |
| Joined: 16 Aug 2014 |
| Total Posts: 138 |
|
| |
|
|
| 04 May 2015 07:29 PM |
| I already gave you the script. |
|
|
| Report Abuse |
|
|
Fr00bl0rd
|
  |
| Joined: 16 Aug 2014 |
| Total Posts: 138 |
|
|
| 04 May 2015 07:37 PM |
| Your still reagan's health. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 May 2015 07:37 PM |
@OP if you play solo, click on your character model and look inside, you will see a script called Health or HeallScript3.0 or something like that. Open that up and you will find somewhere in there that it says +0.2 or something witch regens your health. Remove that when a player joins and insert your custom one. You could even forget about that just make a script that subtracts the health if the player's health is not 100 so like:
while wait() do for i,v in pairs(game.Players:GetChildren()) do for i,x in pairs(v.Character:GetChildren()) do if x:IsA("Humanoid") then if x.Health ~= 100 then x.Health = x.Health - 0.2 end end end end end |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 07:40 PM |
Guys stop making it hard on him
Ok so in every character in roblox by default there is a script put in the character named "Health" it controls the health regeneration all you need to do is remove it and the health will stop regenerating |
|
|
| Report Abuse |
|
|
Fr00bl0rd
|
  |
| Joined: 16 Aug 2014 |
| Total Posts: 138 |
|
|
| 04 May 2015 07:45 PM |
| Thanks ^ sorry im not big on scripting i used to build alot on my nbc account :P |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 07:45 PM |
lastval = 100;
spawn( function() while wait() do character.Humanoid.Health = lastval end end )
character.Humanoid.Changed:connect(function(prop) if prop == "Health" and character.Humanoid.Health < lastval then lastval = character.Humanoid.Health end end)
This is the only thing I could think of that would work sometimes and not others. I really dont want to do more since im working on a research project.
~Random SIGGY |
|
|
| Report Abuse |
|
|