1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
math.randomseed(os.time()) math.random()
wal = {}
timer(1000, "hi")
addhook("attack", "hello")
msg = {}
function hi()
for din = 1, 32 do
wal[din] = 5
end
local xD = math.random(1, 5)
local weaps
if xD == 1 then
msg = {32, 3}
weaps = "wow standard mode"
elseif xD == 3 then
msg = {75}
weaps = "waldin rules"
elseif xD == 4 then
msg = {78}
weaps = "wow such doge"
elseif xD == 2 then
msg = {69, 85}
weaps = "jason is here!"
elseif xD == 5 then
msg = {51}
weaps = "bomberman"
end
for pointless_value, theonewewant in ipairs(player(0, "table")) do
for this in ipairs(msg) do
parse(string.format("equip %d %s", theonewewant, this))
end
end
msg(string.format("\169255255255%s@C", weaps))
end
addhook("startround", "hi")
function hello(world)
if msg[1] == 51 and player(world, "weapontype") == 51 then
wal[world] = wal[world] - 1
if wal[world] > 0 then
equip(string.format("equip %d 51", world))
end
end
end