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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
addhook("serveraction","joke") function joke(id,a) if a==1 then menu(id,"Drop Money,100$,500$,1000$,2000$,5000$,10000$, Buy Powers!, Buy Miscs!") end end addhook("menu","mymenu") function mymenu (id,t,b) if t=="Drop Money" then if b==1 and player(id,"money") >=100 then parse("spawnitem 66 "..player(id,"tilex").." "..player(id,"tiley").."") parse("setmoney "..id.." "..player(id, "money")-100) elseif b==2 and player(id,"money") >=500 then parse("spawnitem 67 "..player(id,"tilex").." "..player(id,"tiley").."") parse("setmoney "..id.." "..player(id, "money")-500) elseif b==3 and player(id,"money") >=1000 then parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("setmoney "..id.." "..player(id, "money")-1000) elseif b==4 and player(id,"money") >=2000 then parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("setmoney "..id.." "..player(id, "money")-2000) elseif b==5 and player(id,"money") >=5000 then parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("setmoney "..id.." "..player(id, "money")-5000) elseif b==6 and player(id,"money") >=10000 then parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("spawnitem 68 "..player(id,"tilex").." "..player(id,"tiley").."") parse("setmoney "..id.." "..player(id, "money")-10000) elseif b==7 then menu(id,"Buy Powers!,MaxArmor Cost:8000$,SetMaxHealth Cost:10000,Speedmod + 20 Cost:12000,Speedmod + 50 Cost:15000") elseif b==8 then menu(id,"Buy Miscs!,Stunning Grenade Cost:7000$,Exploding Machete Cost:9000$,Make SlowBalls, Resetscore!") end end if t=="Buy Powers!" then if b==1 and player(id,"money") >=8000 then parse("setarmor "..id.." 250") parse("setmoney "..id.." "..player(id, "money")-8000) elseif b==2 and player(id,"money") >=10000 then parse("setmaxhealth "..id.." 250") parse("sethealth "..id.." 250") parse("setmoney "..id.." "..player(id, "money")-10000) elseif b==3 and player(id,"money") >=12000 then parse("speedmod "..id.." 20") parse("setmoney "..id.." "..player(id, "money")-12000) elseif b==4 and player(id,"money") >=15000 then parse("speedmod "..id.." 50") parse("setmoney "..id.." "..player(id, "money")-15000) end end if t=="Buy Miscs!" then if b==1 and player(id,"money") >=12000 then parse("equip "..id.." 51") parse("setmoney "..id.." "..player(id, "money")-12000) elseif b==2 and player(id,"money") >=15000 then parse("equip "..id.." 69") parse("setmoney "..id.." "..player(id, "money")-15000) elseif b==3 then msg("Just Say = !resetscore") elseif b==4 and player(id"money") >=16000 then parse("equip "..id.." 72") parse("setmoney "..id.." "..player(id, "money")-16000) end end end addhook("say", "sayfunction") function sayfunction(id, txt) if(txt=="!resetscore") then parse("setscore "..id.." 0") parse("setdeaths "..id.." 0") msg("©000255000You have sucessfully Reseted,Your Score!") return 1 end end addhook("hit","hit2") function hit2(id,source,weapon,hpdmg,apdmg) if (weapon==51) then parse("speedmod "..id.." -20") msg2(id,"©255000000You Got Stunned!!@C") function speedx () parse("speedmod "..id.." 0") end timer(3000,"speedx") end end addhook([[attack]],[[attacker]]) function attacker(id) local wpn = player(id,"weapontype") if wpn == 69 then local x,y,rot = player(id,"x"),player(id,"y"),player(id,"rot") x = x + math.sin(math.rad(rot)) * 100 y = y - math.cos(math.rad(rot)) * 100 parse([[explosion ]]..x..[[ ]]..y..[[ 10 100000 ]]..id) end -------------------------------------- -- WELCOME MESSAGE ON JOIN -- -------------------------------------- addhook("join","sample.ads.join") function sample.ads.join(p) msg2(p,"Welcome To Thp Server!!@C, "..player(p,"name").."!") end -------------------------------------- -- ADVERTISING EVERY MINUTE -- -------------------------------------- addhook("minute","sample.ads.minute") function sample.ads.minute() msg("©255000255Made From: Firetounge41") msg("©000255000Or:Fuke!") msg("©000255000Rs!") msg("©000255000TrYers:Nobody :(") msg("©000255000XD") end
hope you like it:)