local tecks = script.Parent
tecks.FocusLost:Connect(function(sub)
if tecks.Text == "god" then
game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
wait(0.3)
tecks.Text = ""
end
end)
How do you use string.lower in this script? for example if you do gOD it reads as god

2 comments
do string.lower(tecks.Text)
tecks.Text:lower() also switch the health and maxhealth positions, first set MaxHealth to change health (Just another method)