
Originally Posted by
Adrax 13
If you have any ideas what could be wrong or of a new script that would be lovely

@
Luls
Try this one. I think this is the one I meant to post the first time.
Code:
-- //////////////////////////////////
-- // ___ _ //
-- // / _ \ (_) //
-- // / /_\ \_ ____ _ _ __ _ //
-- // | _ \ \ / / _` | '_ \| | //
-- // | | | |\ V / (_| | | | | | //
-- // \_| |_/ \_/ \__,_|_| |_|_| //
-- // //
-- //////////////////////////////////
---------------------------------------------------------------
------------------------ SETTINGS ---------------------------
---------------------------------------------------------------
LevelUp = true -- Will take a screenshot when leveling up
Death = true -- Will take a screenshot upon death
Stamina = true -- Will take a screenshot if below 14:00 stamina
Skull = true -- Will take a screenshot when you get a skull
---------------------------------------------------------------
------------- DO NOT CHANGE ANYTHING BELOW ------------------
---------------------------------------------------------------
Level = Self.Level()
Name = Self.Name()
function takeScreenshot()
if Name ~= Self.Name() then
Level = Self.Level()
Name = Self.Name()
end
if (LevelUp == true) then
if Self.Level() > Level then
wait(200)
screenshot(Self.Name() .. "_level_" .. Self.Level())
wait(1000)
Level = Self.Level()
end
end
if (Death == true) then
if Self.Health() == 0 then
screenshot(Self.Name() .. "_death_" .. os.date("%H.%M"))
wait(1000)
Death = false
end
end
if (Stamina == true) then
if Self.Stamina() < 840 then
screenshot(Self.Name() .. "_LowStamina_" .. os.date("%H.%M"))
wait(1000)
Stamina = false
end
end
if (Skull == true) then
if (Self.Skull() ~= 0) and (activeSkull == false) then
screenshot(Self.Name() .. "_Skull_" .. os.date("%H.%M"))
wait(1000)
activeSkull = true
elseif (Self.Skull() == 0) and (activeSkull == true) then
activeSkull = false
end
end
end
while true do
takeScreenshot()
end