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
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
Admin = {142925} Mod = {} VIP = {} ------------------FOR MOD------------------------- addhook("say","kick") function kick(id,txt) if player(id,"usgn") == Mod[i] then if string.sub(txt, 1, 5) == "!kick" then local adam = string.sub(txt 7, 8) parse("kick "..adam.." Kicked") msg("©255000255"..(player(kid,"name")).."©255255255 "Kicked, By "©255000255"..(player(id,"name")).." ") return 1 if string.sub(txt, 1, 5) == "!ban" then local adam = string.sub(txt, 6, 7) parse("banname "..adam.." Banned") msg("©255000255"..(player(bid,"name")).."©255255255 "Banned, By "©255000255"..(player(id,"name")).." ") return 1 if string.sub(txt, 1, 5) == "!map" then local adam = string.sub(txt, 5, 6) parse("map "..map) msg("©255000255"..(player(map,"name")).."©255255255 "Change Map, By "©255000255"..(player(id,"name")).." ") return 1 if string.sub(txt, 1, 5) == "!slap" then local adam = string.sub(txt, 4, 5) parse("slap "..adam) msg("©255000255"..(player(sid,"name")).."©255255255 "Slapped, By "©255000255"..(player(id,"name")).." ") return 1 if string.sub(txt, 1, 5) == "!restart" then local adam = string.sub(txt, 3, 4) parse("restart") return 1 end end end end end end -------------------FOR VIP----------------------- addhook("say","kick") function kick(id,txt) if player(id,"usgn") == VIP[i] then if string.sub(txt, 1 ,5) == "!kick" then local adam = string.sub(txt, 7, 8) parse("kick "..adam.." Kicked") msg("©255000255"..(player(kid,"name")).."©255255255 "Kicked, By "©255000255"..(player(id,"name")).." ") return 1 if string.sub(txt, 1 ,5) == "!slap" then local adam = string.sub(txt, 6, 7) parse("slap "..adam) msg("©255000255"..(player(sid,"name")).."©255255255 "Slapped, By "©255000255"..(player(id,"name")).." ") return 1 if string.sub(txt, 1 ,5) == "!restart" then local adam = string.sub(txt, 4 ,5) parse("restart") end end end end end ----------------FOR Admin----------------------- addhook("say","kick") function kick(id,txt) if player(id,"usgn") == Admin[i] then if string.sub(txt, 1 ,5) == "!kick" then local adam = string.sub(txt, 7, 8) parse("kick "..adam.." Kicked") msg("©255000255"..(player(kid,"name")).."©255255255 "Kicked, By "©255000255"..(player(id,"name")).." ") return 1 if string.sub(txt, 1, 5) == "!ban" then local adam = string.sub(txt, 6, 7) parse("banname "..adam.." Banned") msg("©255000255"..(player(bid,"name")).."©255255255 "Banned, By "©255000255"..(player(id,"name")).." ") return 1 if string.sub(txt, 1, 5) == "!map" then local adam = string.sub(txt, 5, 6) parse("map "..map) msg("©255255255" Change Map, By "©255000255 "..(player(id,"name")).." ") return 1 if string.sub(txt, 1, 5) == "!restart" then local adam = string.sub(txt, 4 , 5) parse("restart") return 1 if string.sub(txt, 1, 5) == "!kill" then local adam = string.sub(txt, 3, 4) parse("killplayer "..adam) msg("©255000255"..(player(kid,"name")).."©255255255 "Killed, By "©255000255"..(player(id,"name")).." ") return 1 if string.sub(txt, 1, 5) == "!slap" then local adam = string.sub(txt, 2, 3) parse("slap "..adam) msg("©255000255"..(player(sid,"name")).."©255255255 "Slapped,By "©255000255"..(player(id,"name")).." ") return 1 end end end end end end end end end addhook("say", "rankSay") function rankSay(id, text) if player(id,"usgn") == Admin[i] then msg("©255255255"..(player(id,"name")).." ©250000250»Admin«©255255255 : "..txt) return 1 end end if player(id,"usgn") == Mod[i] then msg("©255255255"..(player(id,"name")).."©250000000»Moderator«©255255255 : "..txt) return 1 end if player(id,"usgn") == VIP[i] then msg("©255255255"..(player(id,"name")).."©000250000»VIP«©255255255 : "..txt) return 1 end