Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Cost = 100000 --- How much buff command cost to use. 10gold atm
- local buff = {
- 48074,
- 48170,
- 43223,
- 36880,
- 467,
- 48469,
- 48162,
- 32728,
- 21564,
- 26035,
- 48469,
- 48073,
- 16609,
- 36880,
- 15366,
- 43223,
- 65077,
- 65075,
- 38734,
- 35912,
- 48074
- } -- add/remove spell IDs for buffs (used in the buff command).
- function Buff(event, player, message, type, language)
- if (message:lower() == "buff") then
- if (player:GetCoinage() >= Cost) then
- player:ModifyMoney(-Cost) ---Remove gold from player
- for k, v in pairs(buff) do
- player:AddAura(v, player)
- end
- end
- player:SendBroadcastMessage("|cFFFF0000You have been buffed, enjoy!|r")
- return false
- end
- end
- RegisterPlayerEvent(42, Buff)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement