Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ CONFIG ]]--
- local t1 = os.time() -- Dont change.
- local healthToCast = 500
- local spellInfo = {
- ["words"] = "utura",
- ["mana"] = 75,
- ["cooldown"] = 60
- }
- --[[ CODE ]]--
- while(true) do
- if(os.difftime(os.time(), t1) > spellInfo.cooldown) then
- if(Self.Health() < healthToCast and Self.Mana() > spellInfo.mana) then
- Self.Say(spellInfo.words)
- t1 = os.time()
- end
- end
- wait(100, 300)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement