• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

RevScripts Buy levels RevScript

alexv45

Well-Known Member
Joined
Sep 16, 2021
Messages
49
Reaction score
75
GitHub
Alexv45
I'm looking for a revscript buy level script
Hello,

You can maybe create an action, in order to get exp, from an item, exemple:
Lua:
local potionExp = Action()

function potionExp.onUse(player, item)
  if player then
  player:addExp(1000000)
  item:remove(1)
  end
end

potionExp:id(ITEM_ID)
potionExp:register()

I dont remember if is addExp or addExperience
 
Top