Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I improve my admin commands?

Asked by
phriol 25
9 years ago

How do I improve this??

speaker = game.Players.LocalPlayer
key = ";"

speaker.Chatted:connect(function(m)
    if m == "god me"..key then
        speaker.Character.Humanoid.MaxHealth = math.huge
        speaker.Character.Humanoid.Health = 10000
    end
end)

Answer this question