-- Functions local function getHumanoid() return character:FindFirstChild("Humanoid") end
Share your experiences and thoughts in the comments below!
-- Variables local player = Players.LocalPlayer local character = player.Character
RunService.RenderStepped:Connect(function() local humanoid = getHumanoid() if humanoid then humanoid.MaxHealth = math.huge humanoid.Health = math.huge end end)
-- Script if character then local humanoid = getHumanoid() if humanoid then humanoid.MaxHealth = math.huge humanoid.Health = math.huge end end
-- Services local Players = game:GetService("Players") local RunService = game:GetService("RunService")
I'm not responsible for any consequences that may arise from using this script. Use at your own risk!