|
| 10 Jul 2016 06:37 PM |
Hey guys, I'm looking for a infinity health script for my game. I need a script for all/any players that join my game! Thanks!
O==][=====> DragonFire232 Likes To Build <=====][==O |
|
|
| Report Abuse |
|
|
llaserx
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 53069 |
|
|
| 10 Jul 2016 06:38 PM |
math.huge
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$292 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|
| |
|
peIicans
|
  |
| Joined: 02 Nov 2013 |
| Total Posts: 1148 |
|
|
| 10 Jul 2016 06:39 PM |
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char)
char.Humanoid.Health = math.huge
end) end)
|
|
|
| Report Abuse |
|
|
peIicans
|
  |
| Joined: 02 Nov 2013 |
| Total Posts: 1148 |
|
|
| 10 Jul 2016 06:40 PM |
char.Humanoid.MaxHealth = math.huge ****
|
|
|
| Report Abuse |
|
|
|
| 10 Jul 2016 06:40 PM |
Where would I place that?
O==][=====> DragonFire232 Likes To Build <=====][==O |
|
|
| Report Abuse |
|
|
llaserx
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 53069 |
|
|
| 10 Jul 2016 06:41 PM |
learn to script first
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$292 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|
peIicans
|
  |
| Joined: 02 Nov 2013 |
| Total Posts: 1148 |
|
| |
|
|
| 10 Jul 2016 06:43 PM |
game.Players.PlayerAdded:connect(function(p) while wait() do p.Character.MaxHealth = 0 end end)
--Workspace script --if dont work delete a (end) and the (while wait() do)
Code is ummmm? Classified. |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2016 06:47 PM |
Depends on what you need really. Two examples.
-- Stops players from dying game:GetService("Players").PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) end) end)
-- Changes their health. game:GetService("Players").PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) Character.Humanoid.MaxHealth = math.huge Character.Humanoid.Health = math.huge end) end)
-=[ RAP: 352,220 || DurstAuric; the narb of ROBLOX ]=- |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2016 06:48 PM |
Local script? And where do I put this?
O==][=====> DragonFire232 Likes To Build <=====][==O |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2016 06:49 PM |
Don't use LocalScript, use Script. Store in ServerScriptService.
-=[ RAP: 352,230 || DurstAuric; the narb of ROBLOX ]=- |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2016 07:02 PM |
The script doesn't work against ClassicTimebomb?
O==][=====> DragonFire232 Likes To Build <=====][==O |
|
|
| Report Abuse |
|
|
calvin56
|
  |
| Joined: 18 May 2007 |
| Total Posts: 784 |
|
|
| 10 Jul 2016 07:04 PM |
| it wont work against timebombs because they use explosive which kills you regardless if you are godded or not. |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2016 07:05 PM |
Is there anyway to nerf it??
O==][=====> DragonFire232 Likes To Build <=====][==O |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2016 07:37 PM |
| Change the explosion to destroy joints is your best bet, once the head is detached I'm pretty sure the player will die regardless. I could be wrong though. |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2016 07:38 PM |
Oh snap I didn't even read it! Sorry, Try changing it to where the explosions DON'T break the joints. This can be done easily by doing this; explosion.DestroyJointRadiusPercent = 0 |
|
|
| Report Abuse |
|
|