I want the players in my game to be godded & non-explodable.
Here are some examples.
Forcefield:
plr = game.Players.LocalPlayer local ff = Instance.new("ForceField") ff.Parent = plr.Character
Renaming humanoid:
plrname = game.Players.LocalPlayer.Name game.Players:WaitForChild(plrname) game.Workspace:WaitForChild(plrname) game.Workspace[plrname].Humanoid.Name = "GodMode"
Changing the health:
plrname = game.Players.LocalPlayer.Name game.Players:WaitForChild(plrname) game.Workspace:WaitForChild(plrname) game.Workspace[plrname].Humanoid.MaxHealth = 999999999 --or math.huge(makes it inf) game.Workspace[plrname].Humanoid.Health = 999999999 --or math.huge(makes it inf)
a few ways to do this are:
rename the humanoid
set maxhealth to math.huge
add a forcefield