Appreciate it, however
lua code:local f = null
local w = null
if f ~= null and w ~= null then
should be
lua code:local f = nil
local w = nil
if f ~= nil and w ~= nil then
Also, why this? What if user is carrying a bag?
lua code:for i=0,20 do
Afaik, no functions in this script are deprecated, what functions were you thinking of?