PDA

View Full Version : NEW ~ Stealth ring and SSA refill script



twogirlsonecup
02-15-2016, 12:08 AM
can someone please link me to a stealth ring and ssa refil script please?
sorry im a little new at this and thanks for the help :)

Oscagi
02-15-2016, 01:02 AM
-- Config
local MainBp = 'Dragon Backpack'
local RingID = 3051 -- Id of your energy ring
local Health = 20 -- x% to equip your ering
local HealthUNQ = 80 -- x% to UNequip your ering

-- Don't touch this if you don't know what are you doing
Self.HealthPercent = function()
return math.abs(Self.Health()/(Self.MaxHealth()*0.01))
end

Module.New('eringequip', function(mod)
if Self.HealthPercent() <= Health and Self.Ring().id == 0 then
Self.Equip(RingID, "ring")
end

if Self.HealthPercent() >= HealthUNQ then
Self.Dequip('ring', MainBP)
end
end)


Change the ID of ering for Stealth ring ID

Oscagi
02-15-2016, 01:07 AM
-- Config
local SSABP = 'Dragon Backpack'
local AmuletID = 3081 -- Id of your SSA
local Health = 70 -- x% to equip your SSA
local HealthUNQ = 95 -- x% to UNequip your SSA

-- Don't touch this if you don't know what are you doing
Self.HealthPercent = function()
return math.abs(Self.Health()/(Self.MaxHealth()*0.01))
end

Module.New('SSAequip', function(mod)
if Self.HealthPercent() <= Health and Self.Amulet().id == 0 then
Self.Equip(AmuletID, "amulet")
end

if Self.HealthPercent() >= HealthUNQ then
Self.Dequip('amulet', SSABP)
end
end)


Its the same as the ring script but with SSA.

twogirlsonecup
02-15-2016, 02:34 AM
thanks heaps man :)