i use this, dont remember the owner but thx to him...
Code:
---------------------------------------------------------------
------------------------ SETTINGS ---------------------------
---------------------------------------------------------------
LevelUp = true -- Will take a screenshot when leveling up
Death = true -- Will take a screenshot upon death
Stamina = false -- Will take a screenshot if below 14:00 stamina
---------------------------------------------------------------
------------- DO NOT CHANGE ANYTHING BELOW ------------------
---------------------------------------------------------------
Level = Self.Level()
Name = Self.Name()
while true do
if Name ~= Self.Name() then
Level = Self.Level()
Name = Self.Name()
end
if (LevelUp) then
if Self.Level() > Level then
wait(200)
screenshot(Self.Name() .. "_level_" .. Self.Level())
wait(1000)
Level = Self.Level()
end
end
if (Death) then
if Self.Health() == 0 then
screenshot(Self.Name() .. "_death_" .. os.date("%H.%M"))
wait(1000)
Death = false
end
end
if (Death) then
if Self.Health() == 0 then
screenshot(Self.Name() .. "_magic_" .. os.date("%H.%M"))
wait(1000)
Death = false
end
end
if (Stamina) then
if Self.Stamina() < 840 then
screenshot(Self.Name() .. "_LowStamina_" .. os.date("%H.%M"))
wait(1000)
Stamina = false
end
end
wait(5000)
end