Log in

View Full Version : Alarm if white skull simple script - help



Akayev
03-04-2017, 12:34 PM
Just need a simple script. Alarm if my char will get white skull. Hope, you can paste it here or some1 would help.

Akayev
03-04-2017, 12:45 PM
ok, nvm. Already got it.


local alarm = true
local exit = true
local skulls = {SKULL_WHITE, SKULL_RED, SKULL_BLACK}
Module.New("skull", function(module)
if table.find(skulls, Self.Skull()) then
if alarm then
alert()
module:Delay(1400)
end
if exit then
os.exit()
end
end
end)