what i need do to in StarterPlayerScripts for to do inf health or something
Your question is very non-descriptive, so I assuming you want to change people's health. Best way to do this is a ServerScript in ServerScriptService, in which waits for a Character to be added to modify the Humanoid.
-- [[ SERVICES ]] -- Players = game:GetService('Players') -- [[ VARIABLES ]] -- local healthValue = 9999 -- how much you want the health to be modified to, if you want them **godded**, change to **math.huge** -- [[ MAIN SCRIPT ]] -- Players.PlayerAdded:Connect(function(Player) -- Fire function when player joins. Player.CharacterAdded:Connect(function(Character) -- Fire function when character is added to workspace local Humanoid = Character:WaitForChild('Humanoid') -- wait for the humanoid to load in if Player.Name == 'Noob123' then Humanoid.MaxHealth = healthValue -- change maxhealth first, always Humanoid.Health = healthValue -- now change the health end end) end)
Hey hello there!
There a script to make it changes everyone's health become infinite.
This is the script, place it anywhere you like!
script.Parent = workspace game.Players.PlayerAdded:Connect(function(plr) plr:FindFirstChild("Humanoid").MaxHealth = 99999999999999 plr:FindFirstChild("Humanoid").Health = 99999999999999 end)
Hope I helped, bye!
If my code was incorrect, comment below! Bye:)