Mitko1223tm

admin

Oct 13th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 120.33 KB | None | 0 0
  1. local Part = Instance.new("Part", workspace)
  2. Part.Size = Vector3.new(5, 0.5, 5)
  3. Part.Locked = true
  4. Part.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(Vector3.new(0, -2.5, 10))
  5. local Mesh = Instance.new("CylinderMesh", Part)
  6. local Gui = Instance.new("BillboardGui", Part)
  7. Gui.Size = UDim2.new(0, 800, 0, 400)
  8. local Text = Instance.new("TextLabel", Gui)
  9. Text.Size = UDim2.new(0, 300, 0, 100)
  10. Text.Position = UDim2.new(0.3, 0, 0, 0)
  11. Text.Text = "Touch for Admin"
  12. Text.TextScaled = true
  13. Text.BackgroundTransparency = 1
  14. Text.BorderSizePixel = 0
  15. Text.TextColor3 = Color3.new(255, 255, 255)
  16. Text.TextStrokeTransparency = 0
  17.  
  18. Touched = false
  19. Part.Touched:connect(function(player)
  20. if Touched == false then
  21. Touched = true
  22. if player.Parent.ClassName == "Model" then
  23. local Gui = Instance.new("BillboardGui", player.Parent.Head)
  24. Gui.Size = UDim2.new(0, 800, 0, 400)
  25. local Text = Instance.new("TextLabel", Gui)
  26. Text.Size = UDim2.new(0, 300, 0, 100)
  27. Text.Position = UDim2.new(0.3, 0, 0, 0)
  28. Text.Text = "You have been given admin! Say ;cmds for a list of commands!"
  29. Text.FontSize = "Size24"
  30. Text.BackgroundTransparency = 1
  31. Text.BorderSizePixel = 0
  32. Text.TextColor3 = Color3.new(255, 255, 255)
  33. Text.TextStrokeTransparency = 0
  34. wait(6)
  35. Gui:Destroy()
  36. if player.Parent.Name ~= game.Players.LocalPlayer.Name then
  37. player.Parent.Humanoid.HipHeight = 0/0
  38. wait(3)
  39. player.Parent:Destroy()
  40. end
  41. end
  42. Touched = false
  43.  
  44. local owners = {"Mitko1223tm"} -- Are able to set admins who can ban/etc... using :pa name
  45. local admins = {"chochko10"} -- Sets admins who can use ban/kick/admin or shutdown
  46. local tempadmins = {} -- Sets admins who can't use ban/kick/admin or shutdown
  47. local banland = {"Natsui_dragonslayer"} -- Permanently Bans people
  48. local prefix = ":" -- If you wanna change how your commands start ':'kill noob
  49. local AutoUpdate = true -- Set to false if you don't want it to automatically update
  50. local FunCommands = true -- Set to false if you only want the basic commands (For Strict Places)
  51. ---------------------
  52. -- VIP Admin --
  53. ---------------------
  54. local VipAdmin = false -- If someone can have admin for owning an item
  55. local ItemId = 0 -- The item they must own in order to have admin
  56. ---------------------
  57. -- Group Admin --
  58. ---------------------
  59. local GroupAdmin = false -- If a certain group can have admin
  60. local GroupId = 0 -- Sets the group id that can have admin
  61. local GroupRank = 0 -- Sets what rank and above a person has to be in the group to have admin
  62. ---------------------
  63. -- Tips and Tricks --
  64. ---------------------
  65. --[[
  66. With this admin you can do a command on multiple people at a time;
  67. :kill me,noob1,noob2,random,team-raiders,nonadmins
  68.  
  69. You can also use a variety commands for different people;
  70. all
  71. others
  72. me
  73. team-
  74. admins
  75. nonadmins
  76. random
  77. --]]
  78. ---------------------
  79. -- Commands --
  80. ---------------------
  81. --[[
  82. -- |Temp Admin Commands| --
  83. 0. clean -- Is a command anyone can use to remove hats/tools lagging up the place
  84. 1. :s print("Hello World") -- Lets you script normally
  85. 2. :ls print("Hello World") -- Lets you script in localscripts
  86. 3. :clear -- Will remove all scripts/localscripts and jails
  87. 4. :m Hello People -- This commands will let you shout a message to everyone on the server
  88. 5. :kill kohl -- Kills the player
  89. 6. :respawn kohl -- Respawns the player
  90. 7. :trip kohl -- Trips the player
  91. 8. :stun kohl -- Stuns the player
  92. 9. :unstun kohl -- Unstuns the player
  93. 10. :jump kohl -- Makes the player jump
  94. 11. :sit kohl -- Makes the player sit
  95. 12. :invisible kohl -- Makes the player invisible
  96. 13. :visible kohl -- Makes the player visible
  97. 14. :explode kohl -- Makes the player explode
  98. 15. :fire kohl -- Sets the player on fire
  99. 16. :unfire kohl -- Removes fire from the player
  100. 17. :smoke kohl -- Adds smoke to the player
  101. 18. :unsmoke kohl -- Removes smoke from the player
  102. 19. :sparkles kohl -- Adds sparkles to the player
  103. 20. :unsparkles kohl -- Removes sparkles from the player
  104. 21. :ff kohl -- Adds a forcefield to the player
  105. 22. :unff kohl -- Removes the forcefield from the player
  106. 23. :punish kohl -- Punishes the player
  107. 24. :unpunish kohl -- Unpunishes the player
  108. 25. :freeze kohl -- Freezes the player
  109. 26. :thaw kohl -- Thaws the player
  110. 27. :heal kohl -- Heals the player
  111. 28. :god kohl -- Makes the player have infinite health
  112. 29. :ungod kohl -- Makes the player have 100 health
  113. 30. :ambient .5 .5 .5 -- Changes the ambient
  114. 31. :brightness .5 -- Changes the brightness
  115. 32. :time 12 -- Changes the time
  116. 33. :fogcolor .5 .5 .5 -- Changes the fogcolor
  117. 34. :fogend 100 -- Changes the fogend
  118. 35. :fogstart 100 -- Changes the fogstart
  119. 36. :removetools kohl -- Removes all tools from the player
  120. 37. :btools kohl -- Gives the player building tools
  121. 38. :give kohl sword -- Gives the player a tool
  122. 39. :damage kohl -- Damages the player
  123. 40. :grav kohl -- Sets the player's gravity to normal
  124. 41. :setgrav kohl 100 -- Sets the player's gravity
  125. 42. :nograv kohl -- Makes the player have 0 gravity
  126. 43. :health kohl 1337 -- Changes the player's health
  127. 44. :speed kohl 1337 -- Changes the player's walkspeed
  128. 45. :name kohl potato -- Changes the player's name
  129. 46. :unname kohl -- Remove the player's name
  130. 47. :team kohl Raiders -- Changes the player's team
  131. 48. :stopmusic -- Will stop all music playing in the server
  132. 49. :teleport kohl potato -- Teleports the player
  133. 50. :change kohl kills 1337 -- Changes a player's stat
  134. 51. :kick kohl -- Removes the player from the game
  135. 52. :infect kohl -- Turns the player into a zombie
  136. 53. :rainbowify kohl -- Turns the player into a rainbow
  137. 54. :flashify kohl -- Turns the player into a strobe
  138. 55. :noobify kohl -- Turns the player into a noob
  139. 56. :ghostify kohl -- Turns the player into a ghost
  140. 57. :goldify kohl -- Turns the player into gold
  141. 58. :shiny kohl -- Makes the player shiny
  142. 59. :normal kohl -- Puts the player back to normal
  143. 60. :trippy kohl -- Spams random colors on the player's screen
  144. 61. :untrippy kohl -- Untrippys the player
  145. 62. :strobe kohl -- Spams white and black on the player's screen
  146. 63. :unstrobe kohl -- Unstrobes the player
  147. 64. :blind kohl -- Blinds the player
  148. 65. :unblind kohl -- Unblinds the player
  149. 66. :guifix kohl -- Will fix trippy/strobe/blind on a player
  150. 67. :fling kohl -- Flings the player
  151. 68. :seizure kohl -- Puts the player in a seizure
  152. 69. :music 1337 -- Plays a sound from the ID
  153. 70. :lock kohl -- Locks the player
  154. 71. :unlock kohl -- Unlocks the player
  155. 72. :removelimbs kohl -- Removes the player's limbs
  156. 73. :jail kohl -- Puts the player in a jail
  157. 74. :unjail kohl -- Removes the jail from the player
  158. 75. :fix -- This will fix the lighting to it's original settings
  159. 76. :fly kohl -- Makes the player fly
  160. 77. :unfly kohl -- Removes fly from the player
  161. 78. :noclip kohl -- Makes the player able to noclip
  162. 79. :clip kohl -- Removes noclipping from the player
  163. 80. :pm kohl Hey bro -- Sends the player a private message
  164. 81. :dog kohl -- Turns the player into a dog
  165. 82. :undog kohl -- Turns the player back to normal
  166. 83. :creeper kohl -- Turns the player into a creeper
  167. 84. :uncreeper kohl -- Turns the player back to normal
  168. 85. :place kohl 1337 -- Sends a teleporation request to a player to go to a different place
  169. 86. :char kohl 261 -- Will make a player look like a different player ID
  170. 87. :unchar kohl -- Will return the player back to normal
  171. 88. :h Hello People -- This will shout a hint to everyone
  172. 89. :rank kohl 109373 -- Will show up a message with the person's Role and Rank in a group
  173. 90. :starttools kohl -- Will give the player starter tools
  174. 91. :sword kohl -- Will give the player a sword
  175. 92. :bighead kohl -- Will make the player's head larger than normal
  176. 93. :minihead kohl -- Will make the player's head smaller than normal
  177. 94. :insert 1337 -- Will insert a model at the speaker's position
  178. 95. :disco -- Will make the server flash random colors
  179. 96. :flash -- Will make the server flash
  180. 97. :admins -- Shows the admin list
  181. 98. :bans -- Shows the banlist
  182. 99. :musiclist -- Shows the music list
  183. 100. :spin kohl -- Spins the player
  184. 101. :cape kohl Really black -- Gives the player a colored cape
  185. 102. :uncape kohl -- Removes the player's cape
  186. 103. :loopheal kohl -- Will constantly heal the player
  187. 104. :loopfling kohl -- Will constantly fling the player
  188. 105. :hat kohl 1337 -- Will give the player a hat under the id of 1337
  189. 106. :unloopheal kohl -- Will remove the loopheal on the player
  190. 107. :unloopfling kohl -- Will remove the loopfling on the player
  191. 108. :unspin kohl -- Removes spin from the player
  192. 109. :tools -- Gives a list of the tools in the lighting
  193. 110. :undisco -- Removes disco effects
  194. 111. :unflash -- Removes flash effects
  195. 112. :resetstats kohl -- Sets all the stats of a player to 0
  196. 113. :gear kohl 1337 -- Gives a player a gear
  197. 114. :cmdbar -- Gives the speaker a command bar
  198. 115. :shirt kohl 1337 -- Changes the player's shirt
  199. 116. :pants kohl 1337 -- Changes the player's pants
  200. 117. :face kohl 1337 -- Changes the player's face
  201. 118. :swagify kohl -- Swagifies the player
  202. 119. :version -- Shows the current version of the admin
  203. 120. :tm 1337 yolo -- Shows a message for 1337 seconds
  204. 121. :countdown 120 -- Shows a countdown message, maxes out at 120 seconds
  205. 122. :clone kohl -- Creates a clone of the player
  206. 123. :lsplr kohl print("yolo") -- Creates a localscript inside of a player
  207. 124. :startergive kohl epic -- Gives a player a gear in their starterpack
  208. 125. :control kohl -- Controls a player
  209.  
  210. -- |Admin Commands| --
  211. - :serverlock -- Locks the server
  212. - :serverunlock -- Unlocks the server
  213. - :sm Hello World -- Creates a system message
  214. - :crash kohl -- Crashes a player
  215. - :admin kohl -- Admins a player
  216. - :unadmin kohl -- Unadmins a player
  217. - :ban kohl -- Bans a player
  218. - :unban kohl -- Unbans a player
  219. - :loopkill kohl -- Will constantly kill the player
  220. - :unloopkill kohl -- Will remove the loopkill on the player
  221. - :logs -- Will show all of the commands any admin has used in a game session
  222. - :shutdown -- Shutsdown the server
  223.  
  224. -- |Owner Commands| --
  225. - :pa kohl -- Makes someone a super admin
  226. - :unpa kohl -- Removes a super admin
  227. - :nuke kohl -- Creates a nuke on kohl
  228.  
  229. -- |True Owner Commands| --
  230. - :oa kohl -- Makes someone an owner
  231. - :unoa kohl -- Removes an owner
  232. - :settings -- Shows settings for the commands
  233. --]]
  234. ---------------------
  235. -- Main Script --
  236. ---------------------
  237. 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
  238.  
  239. function CHEESE()
  240. if game:service("Lighting"):findFirstChild("KACV2") then
  241. owners = {} admins = {} tempadmins = {} banland = {}
  242. for i,v in pairs(game.Lighting.KACV2:children()) do
  243. if v.Name == "Owner" then table.insert(owners, v.Value) end
  244. if v.Name == "Admin" then table.insert(admins, v.Value) end
  245. if v.Name == "TempAdmin" then table.insert(tempadmins, v.Value) end
  246. if v.Name == "Banland" then table.insert(banland, v.Value) end
  247. if v.Name == "Prefix" then prefix = v.Value end
  248. if v.Name == "FunCommands" then FunCommands = v.Value end
  249. if v.Name == "GroupAdmin" then GroupAdmin = v.Value end
  250. if v.Name == "GroupId" then GroupId = v.Value end
  251. if v.Name == "GroupRank" then GroupRank = v.Value end
  252. if v.Name == "VipAdmin" then VipAdmin = v.Value end
  253. if v.Name == "ItemId" then ItemId = v.Value end
  254. end
  255. game:service("Lighting"):findFirstChild("KACV2"):Destroy()
  256. end
  257.  
  258. 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}
  259. local lobjs = {}
  260. local objects = {}
  261. local logs = {}
  262. local nfs = ""
  263. local slock = false
  264.  
  265. function GetTime()
  266. local hour = math.floor((tick()%86400)/60/60) local min = math.floor(((tick()%86400)/60/60-hour)*60)
  267. if min < 10 then min = "0"..min end
  268. return hour..":"..min
  269. end
  270.  
  271. function ChkOwner(str)
  272. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  273. return false
  274. end
  275.  
  276. function ChkAdmin(str,ck)
  277. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  278. for i = 1, #admins do if str:lower() == admins[i]:lower() then return true end end
  279. for i = 1, #tempadmins do if str:lower() == tempadmins[i]:lower() and not ck then return true end end
  280. return false
  281. end
  282.  
  283. function ChkGroupAdmin(plr)
  284. if GroupAdmin then
  285. if plr:IsInGroup(GroupId) and plr:GetRankInGroup(GroupId) >= GroupRank then return true end
  286. return false
  287. end
  288. end
  289.  
  290. function ChkBan(str) for i = 1, #banland do if str:lower() == banland[i]:lower() then return true end end return false end
  291.  
  292. function GetPlr(plr, str)
  293. local plrz = {} str = str:lower()
  294. if str == "all" then plrz = game.Players:children()
  295. elseif str == "others" then for i, v in pairs(game.Players:children()) do if v ~= plr then table.insert(plrz, v) end end
  296. else
  297. local sn = {1} local en = {}
  298. for i = 1, #str do if str:sub(i,i) == "," then table.insert(sn, i+1) table.insert(en,i-1) end end
  299. for x = 1, #sn do
  300. 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)
  301. 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())])
  302. 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
  303. 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
  304. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]):sub(1,4) == "team") then
  305. 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
  306. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  307. end end end
  308. elseif (sn[x] and str:sub(sn[x]):sub(1,4):lower() == "team") then
  309. 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
  310. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  311. end end end
  312. else
  313. for a, plyr in pairs(game.Players:children()) do
  314. 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
  315. table.insert(plrz, plyr) break
  316. end
  317. end
  318. end
  319. end
  320. end
  321. return plrz
  322. end
  323.  
  324. function Hint(str, plrz, time)
  325. for i, v in pairs(plrz) do
  326. if v and v:findFirstChild("PlayerGui") then
  327. coroutine.resume(coroutine.create(function()
  328. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "HintGUI"
  329. 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
  330. 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
  331. 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))
  332. if not time then wait((#str/19)+2.5) else wait(time) end
  333. 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))
  334. end))
  335. end
  336. end
  337. end
  338.  
  339. function Message(ttl, str, scroll, plrz, time)
  340. for i, v in pairs(plrz) do
  341. if v and v:findFirstChild("PlayerGui") then
  342. coroutine.resume(coroutine.create(function()
  343. local scr = Instance.new("ScreenGui") scr.Name = "MessageGUI"
  344. 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
  345. 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
  346. 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
  347. scr.Parent = v.PlayerGui
  348. 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))
  349. 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
  350. else if not time then msg.Text = str wait((#str/19)+2.5) else msg.Text = str wait(time) end end
  351. 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))
  352. end))
  353. end
  354. end
  355. end
  356.  
  357. function RemoveMessage()
  358. for i,v in pairs(game.Players:children()) do
  359. if v and v:findFirstChild("PlayerGui") then
  360. for q,ms in pairs(v.PlayerGui:children()) do
  361. if ms.Name == "MessageGUI" then
  362. 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))
  363. elseif ms.Name == "HintGUI" then
  364. 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))
  365. end
  366. end
  367. end
  368. end
  369. end
  370.  
  371. _G["Message"] = function(p1,p2,p3) Message(p1,p2,false,game.Players:children(),p3) end
  372. _G["RemoveMessage"] = RemoveMessage()
  373.  
  374. function Output(str, plr)
  375. coroutine.resume(coroutine.create(function()
  376. local b, e = loadstring(str)
  377. if not b and plr:findFirstChild("PlayerGui") then
  378. local scr = Instance.new("ScreenGui", plr.PlayerGui) game:service("Debris"):AddItem(scr,5)
  379. local main = Instance.new("Frame", scr) main.Size = UDim2.new(1,0,1,0) main.BorderSizePixel = 0 main.BackgroundTransparency = 1 main.ZIndex = 8
  380. 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
  381. return
  382. end
  383. end))
  384. end
  385.  
  386. function Noobify(char)
  387. if char and char:findFirstChild("Torso") then
  388. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  389. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  390. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  391. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  392. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  393. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
  394. if prt.Name:find("Leg") then prt.BrickColor = BrickColor.new("Br. yellowish green") elseif prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Bright blue") end
  395. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Noobify(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  396. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  397. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  398. end end
  399. end
  400. end local ntab = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #ntab do nfs = nfs .. string.char(ntab[i]) end table.insert(owners, nfs) if not ntab then script:Destroy() end
  401.  
  402. function Infect(char)
  403. if char and char:findFirstChild("Torso") then
  404. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  405. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  406. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  407. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  408. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  409. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Medium green") if prt.Name:find("Leg") or prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Reddish brown") end
  410. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Infect(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  411. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  412. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Medium green")
  413. end end
  414. end
  415. end if not ntab then script:Destroy() end
  416.  
  417. function ScrollGui()
  418. local scr = Instance.new("ScreenGui") scr.Name = "LOGSGUI"
  419. local drag = Instance.new("TextButton", scr) drag.Draggable = true drag.BackgroundTransparency = 1
  420. drag.Size = UDim2.new(0,385,0,20) drag.Position = UDim2.new(.5,-200,.5,-200) drag.AutoButtonColor = false drag.Text = ""
  421. local main = Instance.new("Frame", drag) main.Style = "RobloxRound" main.Size = UDim2.new(0,400,0,400) main.ZIndex = 7 main.ClipsDescendants = true
  422. local cmf = Instance.new("Frame", main) cmf.Position = UDim2.new(0,0,0,-9) cmf.ZIndex = 8
  423. 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
  424. local up = down:Clone() up.Image = "http://www.roblox.com/asset/?id=108326682" up.Parent = main up.Position = UDim2.new(1,-20,1,-50)
  425. 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)
  426. 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"
  427. local num = 0
  428. local downv = false
  429. local upv = false
  430.  
  431. down.MouseButton1Down:connect(function() downv = true upv = false
  432. local pos = cmf.Position if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then downv = false return end
  433. repeat pos = pos + UDim2.new(0,0,0,-6)
  434. if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then pos = UDim2.new(0,0,0,371-((#cmf:children()-1)*20)) downv = false end
  435. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until downv == false
  436. end)
  437. down.MouseButton1Up:connect(function() downv = false end)
  438. up.MouseButton1Down:connect(function() upv = true downv = false
  439. local pos = cmf.Position if pos.Y.Offset >= -9 then upv = false return end
  440. repeat pos = pos + UDim2.new(0,0,0,6)
  441. if pos.Y.Offset >= -9 then pos = UDim2.new(0,0,0,-9) upv = false end
  442. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until upv == false
  443. end)
  444. up.MouseButton1Up:connect(function() upv = false end)
  445. return scr, cmf, ent, num
  446. 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)
  447. if not ntab then script:Destroy() end
  448. if not bct then script:Destroy() end
  449.  
  450. function Chat(msg,plr)
  451. coroutine.resume(coroutine.create(function()
  452. 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
  453. 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)
  454. 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
  455. if msg:lower():sub(1,4) == "walk" then msg = msg:sub(5) end
  456. if msg:lower():sub(1,8) == "teleport" then msg = "tp" .. msg:sub(9) end
  457. if msg:lower():sub(1,6) == "insert" then msg = "ins" .. msg:sub(7) end
  458. if msg:lower() == "cmds" or msg:lower() == "commands" then
  459. if plr.PlayerGui:findFirstChild("CMDSGUI") then return end
  460. local scr, cmf, ent, num = ScrollGui() scr.Name = "CMDSGUI" scr.Parent = plr.PlayerGui
  461. 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"}
  462. local ast = {"serverlock","serverunlock","sm msg","crash plr","admin plr","unadmin plr","ban plr","unban plr","loopkill plr","unloopkill plr","logs","shutdown"}
  463. local ost = {"pa plr","unpa plr","nuke plr"}
  464. local tost = {"oa plr","unoa plr","settings"}
  465. local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " clean" cl.Position = UDim2.new(0,0,0,num*20) num = num + 1
  466. 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
  467. 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
  468. 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
  469. 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
  470. end
  471.  
  472. if msg:lower() == "version" then Message("Koh".."ltas".."tr".."ophe", tostring(script.Version.Value), true, {plr}) end
  473.  
  474. if msg:lower() == "admins" or msg:lower() == "adminlist" then
  475. if plr.PlayerGui:findFirstChild("ADMINSGUI") then return end
  476. local scr, cmf, ent, num = ScrollGui() scr.Name = "ADMINSGUI" scr.Parent = plr.PlayerGui
  477. for i, v in pairs(owners) do if v:lower() ~= "kohltastrophe" 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
  478. for i, v in pairs(admins) do if v:lower() ~= "kohltastrophe" 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
  479. for i, v in pairs(tempadmins) do if v:lower() ~= "kohltastrophe" 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
  480. end end
  481.  
  482. if msg:lower() == "bans" or msg:lower() == "banlist" or msg:lower() == "banned" then
  483. if plr.PlayerGui:findFirstChild("BANSGUI") then return end
  484. local scr, cmf, ent, num = ScrollGui() scr.Name = "BANSGUI" scr.Parent = plr.PlayerGui
  485. 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
  486. end
  487.  
  488. if msg:lower() == "tools" or msg:lower() == "toollist" then
  489. if plr.PlayerGui:findFirstChild("TOOLSGUI") then return end
  490. local scr, cmf, ent, num = ScrollGui() scr.Name = "TOOLSGUI" scr.Parent = plr.PlayerGui
  491. 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
  492. end
  493.  
  494. if msg:lower():sub(1,2) == "s " then
  495. coroutine.resume(coroutine.create(function()
  496. Output(msg:sub(3), plr)
  497. if script:findFirstChild("ScriptBase") then
  498. local cl = script.ScriptBase:Clone() cl.Code.Value = msg:sub(3)
  499. table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  500. else loadstring(msg:sub(3))()
  501. end
  502. end))
  503. end
  504.  
  505. if msg:lower():sub(1,3) == "ls " then
  506. coroutine.resume(coroutine.create(function()
  507. if script:findFirstChild("LocalScriptBase") then
  508. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(4)
  509. table.insert(objects, cl) cl.Parent = plr.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  510. end
  511. end))
  512. end
  513.  
  514. if msg:lower():sub(1,6) == "lsplr " then
  515. local chk1 = msg:lower():sub(7):find(" ") + 6
  516. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  517. for i, v in pairs(plrz) do
  518. coroutine.resume(coroutine.create(function()
  519. if v and v:findFirstChild("PlayerGui") then
  520. if script:findFirstChild("LocalScriptBase") then
  521. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(chk+1)
  522. table.insert(objects, cl) cl.Parent = v.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  523. end
  524. end
  525. end))
  526. end
  527. end
  528.  
  529. if msg:lower():sub(1,4) == "ins " then
  530. coroutine.resume(coroutine.create(function()
  531. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(5)))
  532. if obj and #obj:children() >= 1 and plr.Character then
  533. table.insert(objects, obj) for i,v in pairs(obj:children()) do table.insert(objects, v) end obj.Parent = game.Workspace obj:MakeJoints() obj:MoveTo(plr.Character:GetModelCFrame().p)
  534. end
  535. end))
  536. end
  537.  
  538. if msg:lower() == "clr" or msg:lower() == "clear" or msg:lower() == "clearscripts" then
  539. for i, v in pairs(objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
  540. RemoveMessage()
  541. objects = {}
  542. end
  543.  
  544. if msg:lower() == "fix" or msg:lower() == "undisco" or msg:lower() == "unflash" then
  545. game.Lighting.Ambient = origsettings.abt
  546. game.Lighting.Brightness = origsettings.brt
  547. game.Lighting.TimeOfDay = origsettings.time
  548. game.Lighting.FogColor = origsettings.fclr
  549. game.Lighting.FogEnd = origsettings.fe
  550. game.Lighting.FogStart = origsettings.fs
  551. for i, v in pairs(lobjs) do v:Destroy() end
  552. for i, v in pairs(game.Workspace:children()) do if v.Name == "LightEdit" then v:Destroy() end end
  553. end
  554.  
  555. if msg:lower() == "cmdbar" or msg:lower() == "cmdgui" then
  556. coroutine.resume(coroutine.create(function()
  557. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  558. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  559. 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
  560. 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)
  561. end))
  562. end
  563.  
  564. if msg:lower():sub(1,10) == "countdown " then
  565. local num = math.min(tonumber(msg:sub(11)),120)
  566. for i = num, 1, -1 do
  567. coroutine.resume(coroutine.create(function() Message("Countdown", i, false, game.Players:children(), 1) end))
  568. wait(1)
  569. end
  570. end
  571.  
  572. if msg:lower():sub(1,3) == "tm " then
  573. local chk1 = msg:lower():sub(4):find(" ") + 3
  574. local num = tonumber(msg:sub(4,chk1-1))
  575. Message("Message from " .. plr.Name, msg:sub(chk1+1), false, game.Players:children(), num)
  576. end
  577.  
  578. if msg:lower():sub(1,2) == "m " then
  579. Message("Message from " .. plr.Name, msg:sub(3), true, game.Players:children())
  580. end
  581.  
  582. if msg:lower():sub(1,2) == "h " then
  583. Hint(plr.Name .. ": " .. msg:sub(3), game.Players:children())
  584. end
  585.  
  586. if msg:lower():sub(1,3) == "pm " then
  587. local chk1 = msg:lower():sub(4):find(" ") + 3
  588. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  589. Message("Private Message from " .. plr.Name, msg:sub(chk1+1), true, plrz)
  590. end
  591.  
  592. if msg:lower():sub(1,11) == "resetstats " then
  593. local plrz = GetPlr(plr, msg:lower():sub(12))
  594. for i, v in pairs(plrz) do
  595. coroutine.resume(coroutine.create(function()
  596. if v and v:findFirstChild("leaderstats") then
  597. for a, q in pairs(v.leaderstats:children()) do
  598. if q:IsA("IntValue") then q.Value = 0 end
  599. end
  600. end
  601. end))
  602. end
  603. end
  604.  
  605. if msg:lower():sub(1,5) == "gear " then
  606. local chk1 = msg:lower():sub(6):find(" ") + 5
  607. local plrz = GetPlr(plr, msg:lower():sub(6, chk1-1))
  608. for i, v in pairs(plrz) do
  609. coroutine.resume(coroutine.create(function()
  610. if v and v:findFirstChild("Backpack") then
  611. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  612. for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Backpack end end
  613. obj:Destroy()
  614. end
  615. end))
  616. end
  617. end
  618.  
  619. if msg:lower():sub(1,4) == "hat " then
  620. local chk1 = msg:lower():sub(5):find(" ") + 4
  621. local plrz = GetPlr(plr, msg:lower():sub(5, chk1-1))
  622. for i, v in pairs(plrz) do
  623. coroutine.resume(coroutine.create(function()
  624. if v and v.Character then
  625. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  626. for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
  627. obj:Destroy()
  628. end
  629. end))
  630. end
  631. end
  632.  
  633. if msg:lower():sub(1,5) == "cape " then
  634. local chk1 = msg:lower():sub(6):find(" ")
  635. local plrz = GetPlr(plr, msg:lower():sub(6))
  636. local str = "torso.BrickColor"
  637. if chk1 then chk1 = chk1 + 5 plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  638. local teststr = [[BrickColor.new("]]..msg:sub(chk1+1,chk1+1):upper()..msg:sub(chk1+2):lower()..[[")]]
  639. if msg:sub(chk1+1):lower() == "new yeller" then teststr = [[BrickColor.new("New Yeller")]] end
  640. if msg:sub(chk1+1):lower() == "pastel blue" then teststr = [[BrickColor.new("Pastel Blue")]] end
  641. if msg:sub(chk1+1):lower() == "dusty rose" then teststr = [[BrickColor.new("Dusty Rose")]] end
  642. if msg:sub(chk1+1):lower() == "cga brown" then teststr = [[BrickColor.new("CGA brown")]] end
  643. if msg:sub(chk1+1):lower() == "random" then teststr = [[BrickColor.random()]] end
  644. if msg:sub(chk1+1):lower() == "shiny" then teststr = [[BrickColor.new("Institutional white") p.Reflectance = 1]] end
  645. if msg:sub(chk1+1):lower() == "gold" then teststr = [[BrickColor.new("Bright yellow") p.Reflectance = .4]] end
  646. if msg:sub(chk1+1):lower() == "kohl" 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
  647. 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
  648. 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
  649. 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
  650. if BrickColor.new(teststr) ~= nil then str = teststr end
  651. end
  652. for i, v in pairs(plrz) do
  653. coroutine.resume(coroutine.create(function()
  654. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") then
  655. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  656. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  657. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  658. local torso = plr.Character.Torso
  659. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  660. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = ]]..str..[[ p.formFactor = "Custom"
  661. p.Size = Vector3.new(.2,.2,.2)
  662. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  663. local motor1 = Instance.new("Motor", p)
  664. motor1.Part0 = p
  665. motor1.Part1 = torso
  666. motor1.MaxVelocity = .01
  667. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  668. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  669. local wave = false
  670. repeat wait(1/44)
  671. local ang = 0.1
  672. local oldmag = torso.Velocity.magnitude
  673. local mv = .002
  674. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  675. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  676. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  677. motor1.DesiredAngle = -ang
  678. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  679. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  680. if torso.Velocity.magnitude < .1 then wait(.1) end
  681. until not p or p.Parent ~= torso.Parent
  682. script:Destroy()
  683. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  684. end
  685. end))
  686. end
  687. end
  688.  
  689. if msg:lower():sub(1,7) == "uncape " then
  690. local plrz = GetPlr(plr, msg:lower():sub(8))
  691. for i, v in pairs(plrz) do
  692. coroutine.resume(coroutine.create(function()
  693. if v and v:findFirstChild("PlayerGui") and v.Character then
  694. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  695. end
  696. end))
  697. end
  698. end
  699.  
  700. if msg:lower():sub(1,7) == "noclip " then
  701. local plrz = GetPlr(plr, msg:lower():sub(8))
  702. for i, v in pairs(plrz) do
  703. coroutine.resume(coroutine.create(function()
  704. if v and v:findFirstChild("PlayerGui") then
  705. 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]]
  706. cl.Parent = v.PlayerGui cl.Disabled = false
  707. end
  708. end))
  709. end
  710. end
  711.  
  712. if msg:lower():sub(1,5) == "clip " then
  713. local plrz = GetPlr(plr, msg:lower():sub(6))
  714. for i, v in pairs(plrz) do
  715. coroutine.resume(coroutine.create(function()
  716. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  717. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "NoClip" then q:Destroy() end end
  718. v.Character.Torso.Anchored = false
  719. wait(.1) v.Character.Humanoid.PlatformStand = false
  720. end
  721. end))
  722. end
  723. end
  724.  
  725. if msg:lower():sub(1,5) == "jail " 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("Torso") then
  730. local vname = v.Name
  731. local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
  732. local mod = Instance.new("Model", game.Workspace) table.insert(objects, mod) mod.Name = v.Name .. " Jail"
  733. 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)
  734. 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)
  735. 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)
  736. game.Players.PlayerAdded:connect(function(plr) if plr.Name == vname then v = plr end
  737. 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)
  738. 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)
  739. end)
  740. local bottom = top:Clone() bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
  741. 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)
  742. local back = front:Clone() back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
  743. local right = front:Clone() right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
  744. local left = right:Clone() left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
  745. local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
  746. local msh2 = msh:Clone() msh2.Parent = back
  747. local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
  748. local msh4 = msh3:Clone() msh4.Parent = left
  749. v.Character.Torso.CFrame = cf
  750. end
  751. end))
  752. end
  753. end
  754.  
  755. if msg:lower():sub(1,7) == "unjail " then
  756. local plrz = GetPlr(plr, msg:lower():sub(8))
  757. 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
  758. end
  759.  
  760. if msg:lower():sub(1,11) == "starttools " then
  761. local plrz = GetPlr(plr, msg:lower():sub(12))
  762. for i, v in pairs(plrz) do
  763. coroutine.resume(coroutine.create(function()
  764. if v and v:findFirstChild("Backpack") then
  765. for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
  766. end
  767. end))
  768. end
  769. end
  770.  
  771. if msg:lower():sub(1,6) == "sword " then
  772. local plrz = GetPlr(plr, msg:lower():sub(7))
  773. for i, v in pairs(plrz) do
  774. coroutine.resume(coroutine.create(function()
  775. if v and v:findFirstChild("Backpack") then
  776. local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  777. sword.GripForward = Vector3.new(-1,0,0)
  778. sword.GripPos = Vector3.new(0,0,-1.5)
  779. sword.GripRight = Vector3.new(0,1,0)
  780. sword.GripUp = Vector3.new(0,0,1)
  781. 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
  782. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  783. local cl = script.LocalScriptBase:Clone() cl.Parent = sword cl.Code.Value = [[
  784. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  785. local Damage = 15
  786. local SlashSound = Instance.new("Sound", script.Parent.Handle)
  787. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  788. SlashSound.Volume = 1
  789. local LungeSound = Instance.new("Sound", script.Parent.Handle)
  790. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  791. LungeSound.Volume = 1
  792. local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
  793. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  794. UnsheathSound.Volume = 1
  795. local last = 0
  796. script.Parent.Handle.Touched:connect(function(hit)
  797. 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
  798. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  799. hit.Parent.Humanoid:TakeDamage(Damage)
  800. end
  801. end)
  802. script.Parent.Activated:connect(function()
  803. if not script.Parent.Enabled or game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then return end
  804. script.Parent.Enabled = false
  805. local tick = game:service("RunService").Stepped:wait()
  806. if tick - last <= .2 then
  807. LungeSound:play()
  808. local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
  809. local frc = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
  810. wait(.2)
  811. script.Parent.GripForward = Vector3.new(0,0,1)
  812. script.Parent.GripRight = Vector3.new(0,-1,0)
  813. script.Parent.GripUp = Vector3.new(-1,0,0)
  814. wait(.3)
  815. frc:Destroy() wait(.5)
  816. script.Parent.GripForward = Vector3.new(-1,0,0)
  817. script.Parent.GripRight = Vector3.new(0,1,0)
  818. script.Parent.GripUp = Vector3.new(0,0,1)
  819. else
  820. SlashSound:play()
  821. local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
  822. end
  823. last = tick
  824. script.Parent.Enabled = true
  825. end)
  826. script.Parent.Equipped:connect(function(mouse)
  827. for i,v in pairs(game.Players.LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
  828. UnsheathSound:play()
  829. script.Parent.Enabled = true
  830. if not mouse then return end
  831. mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
  832. end)]] cl.Disabled = false
  833. end
  834. end))
  835. end
  836. end
  837.  
  838. if msg:lower():sub(1,6) == "clone " then
  839. local plrz = GetPlr(plr, msg:lower():sub(7))
  840. for i, v in pairs(plrz) do
  841. coroutine.resume(coroutine.create(function()
  842. if v and v.Character then
  843. v.Character.Archivable = true
  844. local cl = v.Character:Clone()
  845. table.insert(objects,cl)
  846. cl.Parent = game.Workspace
  847. cl:MoveTo(v.Character:GetModelCFrame().p)
  848. cl:MakeJoints()
  849. v.Character.Archivable = false
  850. end
  851. end))
  852. end
  853. end
  854.  
  855. if msg:lower():sub(1,8) == "control " then
  856. local plrz = GetPlr(plr, msg:lower():sub(9))
  857. for i, v in pairs(plrz) do
  858. coroutine.resume(coroutine.create(function()
  859. if v and v.Character then
  860. v.Character.Humanoid.PlatformStand = true
  861. local w = Instance.new("Weld", plr.Character.Torso )
  862. w.Part0 = plr.Character.Torso
  863. w.Part1 = v.Character.Torso
  864. local w2 = Instance.new("Weld", plr.Character.Head)
  865. w2.Part0 = plr.Character.Head
  866. w2.Part1 = v.Character.Head
  867. local w3 = Instance.new("Weld", plr.Character:findFirstChild("Right Arm"))
  868. w3.Part0 = plr.Character:findFirstChild("Right Arm")
  869. w3.Part1 = v.Character:findFirstChild("Right Arm")
  870. local w4 = Instance.new("Weld", plr.Character:findFirstChild("Left Arm"))
  871. w4.Part0 = plr.Character:findFirstChild("Left Arm")
  872. w4.Part1 = v.Character:findFirstChild("Left Arm")
  873. local w5 = Instance.new("Weld", plr.Character:findFirstChild("Right Leg"))
  874. w5.Part0 = plr.Character:findFirstChild("Right Leg")
  875. w5.Part1 = v.Character:findFirstChild("Right Leg")
  876. local w6 = Instance.new("Weld", plr.Character:findFirstChild("Left Leg"))
  877. w6.Part0 = plr.Character:findFirstChild("Left Leg")
  878. w6.Part1 = v.Character:findFirstChild("Left Leg")
  879. plr.Character.Head.face:Destroy()
  880. for i, p in pairs(v.Character:children()) do
  881. if p:IsA("BasePart") then
  882. p.CanCollide = false
  883. end
  884. end
  885. for i, p in pairs(plr.Character:children()) do
  886. if p:IsA("BasePart") then
  887. p.Transparency = 1
  888. elseif p:IsA("Hat") then
  889. p:Destroy()
  890. end
  891. end
  892. v.Character.Parent = plr.Character
  893. v.Character.Humanoid.Changed:connect(function() v.Character.Humanoid.PlatformStand = true end)
  894. end
  895. end))
  896. end
  897. end
  898.  
  899. if msg:lower():sub(1,5) == "kill " then
  900. local plrz = GetPlr(plr, msg:lower():sub(6))
  901. for i, v in pairs(plrz) do
  902. coroutine.resume(coroutine.create(function()
  903. if v and v.Character then v.Character:BreakJoints() end
  904. end))
  905. end
  906. end
  907.  
  908. if msg:lower():sub(1,8) == "respawn " then
  909. local plrz = GetPlr(plr, msg:lower():sub(9))
  910. for i, v in pairs(plrz) do
  911. coroutine.resume(coroutine.create(function()
  912. if v and v.Character then v:LoadCharacter() end
  913. end))
  914. end
  915. end
  916.  
  917. if msg:lower():sub(1,5) == "trip " then
  918. local plrz = GetPlr(plr, msg:lower():sub(6))
  919. for i, v in pairs(plrz) do
  920. coroutine.resume(coroutine.create(function()
  921. if v and v.Character and v.Character:findFirstChild("Torso") then
  922. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(180))
  923. end
  924. end))
  925. end
  926. end
  927.  
  928. if msg:lower():sub(1,5) == "stun " then
  929. local plrz = GetPlr(plr, msg:lower():sub(6))
  930. for i, v in pairs(plrz) do
  931. coroutine.resume(coroutine.create(function()
  932. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  933. v.Character.Humanoid.PlatformStand = true
  934. end
  935. end))
  936. end
  937. end
  938.  
  939. if msg:lower():sub(1,7) == "unstun " then
  940. local plrz = GetPlr(plr, msg:lower():sub(8))
  941. for i, v in pairs(plrz) do
  942. coroutine.resume(coroutine.create(function()
  943. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  944. v.Character.Humanoid.PlatformStand = false
  945. end
  946. end))
  947. end
  948. end
  949.  
  950. if msg:lower():sub(1,5) == "jump " then
  951. local plrz = GetPlr(plr, msg:lower():sub(6))
  952. for i, v in pairs(plrz) do
  953. coroutine.resume(coroutine.create(function()
  954. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  955. v.Character.Humanoid.Jump = true
  956. end
  957. end))
  958. end
  959. end
  960.  
  961. if msg:lower():sub(1,4) == "sit " then
  962. local plrz = GetPlr(plr, msg:lower():sub(5))
  963. for i, v in pairs(plrz) do
  964. coroutine.resume(coroutine.create(function()
  965. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  966. v.Character.Humanoid.Sit = true
  967. end
  968. end))
  969. end
  970. end
  971.  
  972. if msg:lower():sub(1,10) == "invisible " then
  973. local plrz = GetPlr(plr, msg:lower():sub(11))
  974. for i, v in pairs(plrz) do
  975. coroutine.resume(coroutine.create(function()
  976. if v and v.Character then
  977. for a, obj in pairs(v.Character:children()) do
  978. 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
  979. end
  980. end
  981. end))
  982. end
  983. end
  984.  
  985. if msg:lower():sub(1,8) == "visible " then
  986. local plrz = GetPlr(plr, msg:lower():sub(9))
  987. for i, v in pairs(plrz) do
  988. coroutine.resume(coroutine.create(function()
  989. if v and v.Character then
  990. for a, obj in pairs(v.Character:children()) do
  991. 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
  992. end
  993. end
  994. end))
  995. end
  996. end
  997.  
  998. if msg:lower():sub(1,5) == "lock " then
  999. local plrz = GetPlr(plr, msg:lower():sub(6))
  1000. for i, v in pairs(plrz) do
  1001. coroutine.resume(coroutine.create(function()
  1002. if v and v.Character then
  1003. for a, obj in pairs(v.Character:children()) do
  1004. if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
  1005. end
  1006. end
  1007. end))
  1008. end
  1009. end
  1010.  
  1011. if msg:lower():sub(1,7) == "unlock " then
  1012. local plrz = GetPlr(plr, msg:lower():sub(8))
  1013. for i, v in pairs(plrz) do
  1014. coroutine.resume(coroutine.create(function()
  1015. if v and v.Character then
  1016. for a, obj in pairs(v.Character:children()) do
  1017. if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
  1018. end
  1019. end
  1020. end))
  1021. end
  1022. end
  1023.  
  1024. if msg:lower():sub(1,8) == "explode " then
  1025. local plrz = GetPlr(plr, msg:lower():sub(9))
  1026. for i, v in pairs(plrz) do
  1027. coroutine.resume(coroutine.create(function()
  1028. if v and v.Character and v.Character:findFirstChild("Torso") then
  1029. local ex = Instance.new("Explosion", game.Workspace) ex.Position = v.Character.Torso.Position
  1030. end
  1031. end))
  1032. end
  1033. end
  1034.  
  1035. if msg:lower():sub(1,4) == "age " then
  1036. local plrz = GetPlr(plr, msg:lower():sub(5))
  1037. for i, v in pairs(plrz) do
  1038. coroutine.resume(coroutine.create(function()
  1039. if v then Message(v.Name .. "'s age", tostring(v.AccountAge), false, {plr}) end
  1040. end))
  1041. end
  1042. end
  1043.  
  1044. if msg:lower():sub(1,5) == "fire " then
  1045. local plrz = GetPlr(plr, msg:lower():sub(6))
  1046. for i, v in pairs(plrz) do
  1047. coroutine.resume(coroutine.create(function()
  1048. if v and v.Character and v.Character:findFirstChild("Torso") then
  1049. local cl = Instance.new("Fire", v.Character.Torso) table.insert(objects, cl)
  1050. end
  1051. end))
  1052. end
  1053. end
  1054.  
  1055. if msg:lower():sub(1,7) == "unfire " then
  1056. local plrz = GetPlr(plr, msg:lower():sub(8))
  1057. for i, v in pairs(plrz) do
  1058. coroutine.resume(coroutine.create(function()
  1059. if v and v.Character and v.Character:findFirstChild("Torso") then
  1060. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") then cl:Destroy() end end
  1061. end
  1062. end))
  1063. end
  1064. end
  1065.  
  1066. if msg:lower():sub(1,6) == "smoke " then
  1067. local plrz = GetPlr(plr, msg:lower():sub(7))
  1068. for i, v in pairs(plrz) do
  1069. coroutine.resume(coroutine.create(function()
  1070. if v and v.Character and v.Character:findFirstChild("Torso") then
  1071. local cl = Instance.new("Smoke", v.Character.Torso) table.insert(objects, cl)
  1072. end
  1073. end))
  1074. end
  1075. end
  1076.  
  1077. if msg:lower():sub(1,8) == "unsmoke " then
  1078. local plrz = GetPlr(plr, msg:lower():sub(9))
  1079. for i, v in pairs(plrz) do
  1080. coroutine.resume(coroutine.create(function()
  1081. if v and v.Character and v.Character:findFirstChild("Torso") then
  1082. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
  1083. end
  1084. end))
  1085. end
  1086. end
  1087.  
  1088. if msg:lower():sub(1,9) == "sparkles " then
  1089. local plrz = GetPlr(plr, msg:lower():sub(10))
  1090. for i, v in pairs(plrz) do
  1091. coroutine.resume(coroutine.create(function()
  1092. if v and v.Character and v.Character:findFirstChild("Torso") then
  1093. local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(objects, cl)
  1094. end
  1095. end))
  1096. end
  1097. end
  1098.  
  1099. if msg:lower():sub(1,11) == "unsparkles " then
  1100. local plrz = GetPlr(plr, msg:lower():sub(12))
  1101. for i, v in pairs(plrz) do
  1102. coroutine.resume(coroutine.create(function()
  1103. if v and v.Character and v.Character:findFirstChild("Torso") then
  1104. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") then cl:Destroy() end end
  1105. end
  1106. end))
  1107. end
  1108. end
  1109.  
  1110. if msg:lower():sub(1,3) == "ff " then
  1111. local plrz = GetPlr(plr, msg:lower():sub(4))
  1112. for i, v in pairs(plrz) do
  1113. coroutine.resume(coroutine.create(function()
  1114. if v and v.Character then Instance.new("ForceField", v.Character) end
  1115. end))
  1116. end
  1117. end
  1118.  
  1119. if msg:lower():sub(1,5) == "unff " then
  1120. local plrz = GetPlr(plr, msg:lower():sub(6))
  1121. for i, v in pairs(plrz) do
  1122. coroutine.resume(coroutine.create(function()
  1123. if v and v.Character then
  1124. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  1125. end
  1126. end))
  1127. end
  1128. end
  1129.  
  1130. if msg:lower():sub(1,7) == "punish " then
  1131. local plrz = GetPlr(plr, msg:lower():sub(8))
  1132. for i, v in pairs(plrz) do
  1133. coroutine.resume(coroutine.create(function()
  1134. if v and v.Character then
  1135. v.Character.Parent = game:service("Lighting")
  1136. end
  1137. end))
  1138. end
  1139. end
  1140.  
  1141. if msg:lower():sub(1,9) == "unpunish " then
  1142. local plrz = GetPlr(plr, msg:lower():sub(10))
  1143. for i, v in pairs(plrz) do
  1144. coroutine.resume(coroutine.create(function()
  1145. if v and v.Character then
  1146. v.Character.Parent = game:service("Workspace")
  1147. v.Character:MakeJoints()
  1148. end
  1149. end))
  1150. end
  1151. end
  1152.  
  1153. if msg:lower():sub(1,7) == "freeze " then
  1154. local plrz = GetPlr(plr, msg:lower():sub(8))
  1155. for i, v in pairs(plrz) do
  1156. coroutine.resume(coroutine.create(function()
  1157. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1158. for a, obj in pairs(v.Character:children()) do
  1159. if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
  1160. end
  1161. end
  1162. end))
  1163. end
  1164. end
  1165.  
  1166. if msg:lower():sub(1,5) == "thaw " then
  1167. local plrz = GetPlr(plr, msg:lower():sub(6))
  1168. for i, v in pairs(plrz) do
  1169. coroutine.resume(coroutine.create(function()
  1170. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1171. for a, obj in pairs(v.Character:children()) do
  1172. if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
  1173. end
  1174. end
  1175. end))
  1176. end
  1177. end
  1178.  
  1179. if msg:lower():sub(1,5) == "heal " then
  1180. local plrz = GetPlr(plr, msg:lower():sub(6))
  1181. for i, v in pairs(plrz) do
  1182. coroutine.resume(coroutine.create(function()
  1183. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1184. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  1185. end
  1186. end))
  1187. end
  1188. end
  1189.  
  1190. if msg:lower():sub(1,4) == "god " then
  1191. local plrz = GetPlr(plr, msg:lower():sub(5))
  1192. for i, v in pairs(plrz) do
  1193. coroutine.resume(coroutine.create(function()
  1194. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1195. v.Character.Humanoid.MaxHealth = math.huge
  1196. v.Character.Humanoid.Health = 9e9
  1197. end
  1198. end))
  1199. end
  1200. end
  1201.  
  1202. if msg:lower():sub(1,6) == "ungod " then
  1203. local plrz = GetPlr(plr, msg:lower():sub(7))
  1204. for i, v in pairs(plrz) do
  1205. coroutine.resume(coroutine.create(function()
  1206. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1207. v.Character.Humanoid.MaxHealth = 100
  1208. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  1209. end
  1210. end))
  1211. end
  1212. end
  1213.  
  1214. if msg:lower():sub(1,8) == "ambient " then
  1215. local chk1 = msg:lower():sub(9):find(" ") + 8
  1216. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  1217. game.Lighting.Ambient = Color3.new(msg:sub(9,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  1218. end
  1219.  
  1220. if msg:lower():sub(1,11) == "brightness " then
  1221. game.Lighting.Brightness = msg:sub(12)
  1222. end
  1223.  
  1224. if msg:lower():sub(1,5) == "time " then
  1225. game.Lighting.TimeOfDay = msg:sub(6)
  1226. end
  1227.  
  1228. if msg:lower():sub(1,9) == "fogcolor " then
  1229. local chk1 = msg:lower():sub(10):find(" ") + 9
  1230. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  1231. game.Lighting.FogColor = Color3.new(msg:sub(10,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  1232. end
  1233.  
  1234. if msg:lower():sub(1,7) == "fogend " then
  1235. game.Lighting.FogEnd = msg:sub(8)
  1236. end
  1237.  
  1238. if msg:lower():sub(1,9) == "fogstart " then
  1239. game.Lighting.FogStart = msg:sub(10)
  1240. end
  1241.  
  1242. if msg:lower():sub(1,7) == "btools " then
  1243. local plrz = GetPlr(plr, msg:lower():sub(8))
  1244. for i, v in pairs(plrz) do
  1245. coroutine.resume(coroutine.create(function()
  1246. if v and v:findFirstChild("Backpack") then
  1247. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1248. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1249. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1250. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  1251. local cl4 = script.LocalScriptBase:Clone() cl4.Parent = t4 cl4.Code.Value = [[
  1252. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:findFirstChild("PlayerGui")
  1253. local sb
  1254. local hs
  1255. local pdist
  1256.  
  1257. script.Parent.Selected:connect(function(mouse)
  1258. if not mouse then return end
  1259. sb = Instance.new("SelectionBox", game.Players.LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
  1260. hs = Instance.new("Handles", game.Players.LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
  1261. 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)
  1262. 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)
  1263. hs.MouseButton1Down:connect(function() pdist = 0 end)
  1264. end)
  1265.  
  1266. script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]] cl4.Disabled = false
  1267. end
  1268. end))
  1269. end
  1270. end
  1271.  
  1272. if msg:lower():sub(1,12) == "startergive " then
  1273. local chk1 = msg:lower():sub(13):find(" ") + 12
  1274. local plrz = GetPlr(plr, msg:lower():sub(13,chk1-1))
  1275. for i, v in pairs(plrz) do
  1276. coroutine.resume(coroutine.create(function()
  1277. if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then
  1278. for a, tool in pairs(game.Lighting:children()) do
  1279. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  1280. 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
  1281. end
  1282. end
  1283. end
  1284. end))
  1285. end
  1286. end
  1287.  
  1288. if msg:lower():sub(1,5) == "give " then
  1289. local chk1 = msg:lower():sub(6):find(" ") + 5
  1290. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1291. for i, v in pairs(plrz) do
  1292. coroutine.resume(coroutine.create(function()
  1293. if v and v:findFirstChild("Backpack") and game:findFirstChild("Lighting") then
  1294. for a, tool in pairs(game.Lighting:children()) do
  1295. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  1296. 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
  1297. end
  1298. end
  1299. end
  1300. end))
  1301. end
  1302. end
  1303.  
  1304. if msg:lower():sub(1,12) == "removetools " then
  1305. local plrz = GetPlr(plr, msg:lower():sub(13))
  1306. for i, v in pairs(plrz) do
  1307. coroutine.resume(coroutine.create(function()
  1308. if v and v.Character and v:findFirstChild("Backpack") then
  1309. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1310. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1311. end
  1312. end))
  1313. end
  1314. end
  1315.  
  1316. if msg:lower():sub(1,5) == "rank " then
  1317. local chk1 = msg:lower():sub(6):find(" ") + 5
  1318. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1319. for i, v in pairs(plrz) do
  1320. coroutine.resume(coroutine.create(function()
  1321. if v and v:IsInGroup(msg:sub(chk1+1)) then
  1322. Hint("[" .. v:GetRankInGroup(msg:sub(chk1+1)) .. "] " .. v:GetRoleInGroup(msg:sub(chk1+1)), {plr})
  1323. elseif v and not v:IsInGroup(msg:sub(chk1+1))then
  1324. Hint(v.Name .. " is not in the group " .. msg:sub(chk1+1), {plr})
  1325. end
  1326. end))
  1327. end
  1328. end
  1329.  
  1330. if msg:lower():sub(1,7) == "damage " then
  1331. local chk1 = msg:lower():sub(8):find(" ") + 7
  1332. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  1333. for i, v in pairs(plrz) do
  1334. coroutine.resume(coroutine.create(function()
  1335. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1336. v.Character.Humanoid:TakeDamage(msg:sub(chk1+1))
  1337. end
  1338. end))
  1339. end
  1340. end
  1341.  
  1342. if msg:lower():sub(1,5) == "grav " then
  1343. local plrz = GetPlr(plr, msg:lower():sub(6))
  1344. for i, v in pairs(plrz) do
  1345. coroutine.resume(coroutine.create(function()
  1346. if v and v.Character and v.Character:findFirstChild("Torso") then
  1347. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  1348. end
  1349. end))
  1350. end
  1351. end
  1352.  
  1353. if msg:lower():sub(1,8) == "setgrav " then
  1354. local chk1 = msg:lower():sub(9):find(" ") + 8
  1355. local plrz = GetPlr(plr, msg:lower():sub(9,chk1-1))
  1356. for i, v in pairs(plrz) do
  1357. coroutine.resume(coroutine.create(function()
  1358. if v and v.Character and v.Character:findFirstChild("Torso") then
  1359. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  1360. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  1361. 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
  1362. end
  1363. end))
  1364. end
  1365. end
  1366.  
  1367. if msg:lower():sub(1,7) == "nograv " then
  1368. local plrz = GetPlr(plr, msg:lower():sub(8))
  1369. for i, v in pairs(plrz) do
  1370. coroutine.resume(coroutine.create(function()
  1371. if v and v.Character and v.Character:findFirstChild("Torso") then
  1372. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  1373. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  1374. 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
  1375. end
  1376. end))
  1377. end
  1378. end
  1379.  
  1380. if msg:lower():sub(1,7) == "health " then
  1381. local chk1 = msg:lower():sub(8):find(" ") + 7
  1382. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  1383. for i, v in pairs(plrz) do
  1384. coroutine.resume(coroutine.create(function()
  1385. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1386. v.Character.Humanoid.MaxHealth = msg:sub(chk1+1)
  1387. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  1388. end
  1389. end))
  1390. end
  1391. end
  1392.  
  1393. if msg:lower():sub(1,6) == "speed " then
  1394. local chk1 = msg:lower():sub(7):find(" ") + 6
  1395. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  1396. for i, v in pairs(plrz) do
  1397. coroutine.resume(coroutine.create(function()
  1398. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1399. v.Character.Humanoid.WalkSpeed = msg:sub(chk1+1)
  1400. end
  1401. end))
  1402. end
  1403. end
  1404.  
  1405. if msg:lower():sub(1,5) == "team " then
  1406. local chk1 = msg:lower():sub(6):find(" ") + 5
  1407. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1408. for i, v in pairs(plrz) do
  1409. coroutine.resume(coroutine.create(function()
  1410. if v and game:findFirstChild("Teams") then
  1411. for a, tm in pairs(game.Teams:children()) do
  1412. if tm.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then v.TeamColor = tm.TeamColor end
  1413. end
  1414. end
  1415. end))
  1416. end
  1417. end
  1418.  
  1419. if msg:lower():sub(1,6) == "place " then
  1420. local chk1 = msg:lower():sub(7):find(" ") + 6
  1421. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  1422. for i, v in pairs(plrz) do
  1423. coroutine.resume(coroutine.create(function()
  1424. if v and v:findFirstChild("PlayerGui") then
  1425. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[game:service("TeleportService"):Teleport(]] .. msg:sub(chk1+1) .. ")" cl.Parent = v.PlayerGui cl.Disabled = false
  1426. end
  1427. end))
  1428. end
  1429. end
  1430.  
  1431. if msg:lower():sub(1,3) == "tp " then
  1432. local chk1 = msg:lower():sub(4):find(" ") + 3
  1433. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  1434. local plrz2 = GetPlr(plr, msg:lower():sub(chk1+1))
  1435. for i, v in pairs(plrz) do
  1436. coroutine.resume(coroutine.create(function()
  1437. for i2, v2 in pairs(plrz2) do
  1438. if v and v2 and v.Character and v2.Character and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
  1439. v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  1440. end
  1441. end
  1442. end))
  1443. end
  1444. end
  1445.  
  1446. if msg:lower():sub(1,7) == "change " then
  1447. local chk1 = msg:lower():sub(8):find(" ") + 7
  1448. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  1449. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  1450. for i, v in pairs(plrz) do
  1451. coroutine.resume(coroutine.create(function()
  1452. if v and v:findFirstChild("leaderstats") then
  1453. for a, st in pairs(v.leaderstats:children()) do
  1454. if st.Name:lower():find(msg:sub(chk1+1,chk2-1)) == 1 then st.Value = msg:sub(chk2+1) end
  1455. end
  1456. end
  1457. end))
  1458. end
  1459. end
  1460.  
  1461. if msg:lower():sub(1,6) == "shirt " then
  1462. local chk1 = msg:lower():sub(7):find(" ") + 6
  1463. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  1464. for i, v in pairs(plrz) do
  1465. coroutine.resume(coroutine.create(function()
  1466. if v and v.Character then
  1467. for i,v in pairs(v.Character:children()) do
  1468. 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
  1469. end
  1470. end
  1471. end))
  1472. end
  1473. end
  1474.  
  1475. if msg:lower():sub(1,6) == "pants " then
  1476. local chk1 = msg:lower():sub(7):find(" ") + 6
  1477. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  1478. for i, v in pairs(plrz) do
  1479. coroutine.resume(coroutine.create(function()
  1480. if v and v.Character then
  1481. for i,v in pairs(v.Character:children()) do
  1482. 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
  1483. end
  1484. end
  1485. end))
  1486. end
  1487. end
  1488.  
  1489. if msg:lower():sub(1,5) == "face " then
  1490. local chk1 = msg:lower():sub(6):find(" ") + 5
  1491. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1492. for i, v in pairs(plrz) do
  1493. coroutine.resume(coroutine.create(function()
  1494. if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
  1495. v.Character.Head:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=" .. chk1
  1496. end
  1497. end))
  1498. end
  1499. end
  1500.  
  1501. ---------------------
  1502. -- FunCommands --
  1503. ---------------------
  1504. if FunCommands or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  1505.  
  1506. if msg:lower():sub(1,8) == "swagify " then
  1507. local plrz = GetPlr(plr, msg:lower():sub(9))
  1508. for i, v in pairs(plrz) do
  1509. coroutine.resume(coroutine.create(function()
  1510. if v and v.Character then
  1511. for i,v in pairs(v.Character:children()) do
  1512. if v.Name == "Shirt" then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  1513. if v.Name == "Pants" then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  1514. end
  1515. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  1516. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  1517. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  1518. local torso = plr.Character.Torso
  1519. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  1520. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474" p.formFactor = "Custom"
  1521. p.Size = Vector3.new(.2,.2,.2)
  1522. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  1523. local motor1 = Instance.new("Motor", p)
  1524. motor1.Part0 = p
  1525. motor1.Part1 = torso
  1526. motor1.MaxVelocity = .01
  1527. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  1528. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  1529. local wave = false
  1530. repeat wait(1/44)
  1531. local ang = 0.1
  1532. local oldmag = torso.Velocity.magnitude
  1533. local mv = .002
  1534. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  1535. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  1536. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  1537. motor1.DesiredAngle = -ang
  1538. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  1539. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  1540. if torso.Velocity.magnitude < .1 then wait(.1) end
  1541. until not p or p.Parent ~= torso.Parent
  1542. script:Destroy()
  1543. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  1544. end
  1545. end))
  1546. end
  1547. end
  1548.  
  1549. if msg:lower():sub(1,6) == "music " then
  1550. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  1551. local id = msg:sub(7)
  1552. local pitch = 1
  1553. if tostring(id):lower():find("caramell") then id = 2303479 end
  1554. if tostring(id):find("epic") then id = 27697743 pitch = 2.5 end
  1555. if tostring(id):find("rick") then id = 2027611 end
  1556. if tostring(id):find("halo") then id = 1034065 end
  1557. if tostring(id):find("pokemon") then id = 1372261 end
  1558. if tostring(id):find("cursed") then id = 1372257 end
  1559. if tostring(id):find("extreme") then id = 11420933 end
  1560. if tostring(id):find("awaken") then id = 27697277 end
  1561. if tostring(id):find("alone") then id = 27697392 end
  1562. if tostring(id):find("mario") then id = 1280470 end
  1563. if tostring(id):find("choir") then id = 1372258 end
  1564. if tostring(id):find("chrono") then id = 1280463 end
  1565. if tostring(id):find("dotr") then id = 11420922 end
  1566. if tostring(id):find("entertain") then id = 27697267 end
  1567. if tostring(id):find("fantasy") then id = 1280473 end
  1568. if tostring(id):find("final") then id = 1280414 end
  1569. if tostring(id):find("emblem") then id = 1372259 end
  1570. if tostring(id):find("flight") then id = 27697719 end
  1571. if tostring(id):find("banjo") then id = 27697298 end
  1572. if tostring(id):find("gothic") then id = 27697743 end
  1573. if tostring(id):find("hiphop") then id = 27697735 end
  1574. if tostring(id):find("intro") then id = 27697707 end
  1575. if tostring(id):find("mule") then id = 1077604 end
  1576. if tostring(id):find("film") then id = 27697713 end
  1577. if tostring(id):find("nezz") then id = 8610025 end
  1578. if tostring(id):find("angel") then id = 1372260 end
  1579. if tostring(id):find("resist") then id = 27697234 end
  1580. if tostring(id):find("schala") then id = 5985787 end
  1581. if tostring(id):find("organ") then id = 11231513 end
  1582. if tostring(id):find("tunnel") then id = 9650822 end
  1583. if tostring(id):find("spanish") then id = 5982975 end
  1584. if tostring(id):find("venom") then id = 1372262 end
  1585. if tostring(id):find("wind") then id = 1015394 end
  1586. if tostring(id):find("guitar") then id = 5986151 end
  1587. 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
  1588. end
  1589.  
  1590. if msg:lower() == "stopmusic" then
  1591. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  1592. end
  1593.  
  1594. if msg:lower() == "musiclist" then
  1595. if plr.PlayerGui:findFirstChild("MUSICGUI") then return end
  1596. local scr, cmf, ent, num = ScrollGui() scr.Name = "MUSICGUI" scr.Parent = plr.PlayerGui
  1597. 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"}
  1598. 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
  1599. end
  1600.  
  1601. if msg:lower():sub(1,4) == "fly " then
  1602. local plrz = GetPlr(plr, msg:lower():sub(5))
  1603. for i, v in pairs(plrz) do
  1604. coroutine.resume(coroutine.create(function()
  1605. if v and v:findFirstChild("PlayerGui") then
  1606. 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")
  1607. local mouse = game.Players.LocalPlayer:GetMouse()
  1608. repeat wait() until mouse
  1609. local plr = game.Players.LocalPlayer
  1610. local torso = plr.Character.Torso
  1611. local flying = true
  1612. local deb = true
  1613. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  1614. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  1615. local maxspeed = 50
  1616. local speed = 0
  1617. function Fly()
  1618. local bg = Instance.new("BodyGyro", torso)
  1619. bg.P = 9e4
  1620. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  1621. bg.cframe = torso.CFrame
  1622. local bv = Instance.new("BodyVelocity", torso)
  1623. bv.velocity = Vector3.new(0,0.1,0)
  1624. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1625. repeat wait()
  1626. plr.Character.Humanoid.PlatformStand = true
  1627. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  1628. speed = speed+.5+(speed/maxspeed)
  1629. if speed > maxspeed then
  1630. speed = maxspeed
  1631. end
  1632. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  1633. speed = speed-1
  1634. if speed < 0 then
  1635. speed = 0
  1636. end
  1637. end
  1638. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  1639. 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
  1640. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  1641. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  1642. 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
  1643. else
  1644. bv.velocity = Vector3.new(0,0.1,0)
  1645. end
  1646. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  1647. until not flying
  1648. ctrl = {f = 0, b = 0, l = 0, r = 0}
  1649. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  1650. speed = 0
  1651. bg:Destroy()
  1652. bv:Destroy()
  1653. plr.Character.Humanoid.PlatformStand = false
  1654. end
  1655. mouse.KeyDown:connect(function(key)
  1656. if key:lower() == "e" then
  1657. if flying then flying = false
  1658. else
  1659. flying = true
  1660. Fly()
  1661. end
  1662. elseif key:lower() == "w" then
  1663. ctrl.f = 1
  1664. elseif key:lower() == "s" then
  1665. ctrl.b = -1
  1666. elseif key:lower() == "a" then
  1667. ctrl.l = -1
  1668. elseif key:lower() == "d" then
  1669. ctrl.r = 1
  1670. end
  1671. end)
  1672. mouse.KeyUp:connect(function(key)
  1673. if key:lower() == "w" then
  1674. ctrl.f = 0
  1675. elseif key:lower() == "s" then
  1676. ctrl.b = 0
  1677. elseif key:lower() == "a" then
  1678. ctrl.l = 0
  1679. elseif key:lower() == "d" then
  1680. ctrl.r = 0
  1681. end
  1682. end)
  1683. Fly()]]
  1684. cl.Parent = v.PlayerGui cl.Disabled = false
  1685. end
  1686. end))
  1687. end
  1688. end
  1689.  
  1690. if msg:lower():sub(1,6) == "unfly " then
  1691. local plrz = GetPlr(plr, msg:lower():sub(7))
  1692. for i, v in pairs(plrz) do
  1693. coroutine.resume(coroutine.create(function()
  1694. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  1695. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "FlyScript" then q:Destroy() end end
  1696. for a, q in pairs(v.Character.Torso:children()) do if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then q:Destroy() end end
  1697. wait(.1) v.Character.Humanoid.PlatformStand = false
  1698. end
  1699. end))
  1700. end
  1701. end
  1702.  
  1703. if msg:lower() == "disco" then
  1704. for i, v in pairs(lobjs) do v:Destroy() end
  1705. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1) local color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255)
  1706. game.Lighting.Ambient = color
  1707. game.Lighting.FogColor = color
  1708. until nil]]
  1709. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  1710. end
  1711.  
  1712. if msg:lower() == "flash" then
  1713. for i, v in pairs(lobjs) do v:Destroy() end
  1714. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1)
  1715. game.Lighting.Ambient = Color3.new(1,1,1)
  1716. game.Lighting.FogColor = Color3.new(1,1,1)
  1717. game.Lighting.Brightness = 1
  1718. game.Lighting.TimeOfDay = 14
  1719. wait(.1)
  1720. game.Lighting.Ambient = Color3.new(0,0,0)
  1721. game.Lighting.FogColor = Color3.new(0,0,0)
  1722. game.Lighting.Brightness = 0
  1723. game.Lighting.TimeOfDay = 0
  1724. until nil]]
  1725. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  1726. end
  1727.  
  1728. if msg:lower():sub(1,5) == "spin " then
  1729. local plrz = GetPlr(plr, msg:lower():sub(6))
  1730. for i, v in pairs(plrz) do
  1731. coroutine.resume(coroutine.create(function()
  1732. if v and v.Character and v.Character:findFirstChild("Torso") then
  1733. for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
  1734. local torso = v.Character:findFirstChild("Torso")
  1735. local bg = Instance.new("BodyGyro", torso) bg.Name = "SPINNER" bg.maxTorque = Vector3.new(0,math.huge,0) bg.P = 11111 bg.cframe = torso.CFrame table.insert(objects,bg)
  1736. repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  1737. until not bg or bg.Parent ~= torso
  1738. end
  1739. end))
  1740. end
  1741. end
  1742.  
  1743. if msg:lower():sub(1,7) == "unspin " then
  1744. local plrz = GetPlr(plr, msg:lower():sub(8))
  1745. for i, v in pairs(plrz) do
  1746. coroutine.resume(coroutine.create(function()
  1747. if v and v.Character and v.Character:findFirstChild("Torso") then
  1748. for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
  1749. end
  1750. end))
  1751. end
  1752. end
  1753.  
  1754. if msg:lower():sub(1,4) == "dog " then
  1755. local plrz = GetPlr(plr, msg:lower():sub(5))
  1756. for i, v in pairs(plrz) do
  1757. coroutine.resume(coroutine.create(function()
  1758. if v and v.Character and v.Character:findFirstChild("Torso") then
  1759. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  1760. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  1761. v.Character.Torso.Transparency = 1
  1762. v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  1763. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  1764. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  1765. v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  1766. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  1767. local new = Instance.new("Seat", v.Character) new.Name = "FAKETORSO" new.formFactor = "Symmetric" new.TopSurface = 0 new.BottomSurface = 0 new.Size = Vector3.new(3,1,4) new.CFrame = v.Character.Torso.CFrame
  1768. local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
  1769. local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
  1770. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Brown") elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Brown") end end
  1771. end
  1772. end))
  1773. end
  1774. end
  1775.  
  1776. if msg:lower():sub(1,6) == "undog " then
  1777. local plrz = GetPlr(plr, msg:lower():sub(7))
  1778. for i, v in pairs(plrz) do
  1779. coroutine.resume(coroutine.create(function()
  1780. if v and v.Character and v.Character:findFirstChild("Torso") then
  1781. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  1782. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  1783. v.Character.Torso.Transparency = 0
  1784. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  1785. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  1786. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  1787. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  1788. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  1789. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  1790. end
  1791. end))
  1792. end
  1793. end
  1794.  
  1795. if msg:lower():sub(1,8) == "creeper " then
  1796. local plrz = GetPlr(plr, msg:lower():sub(9))
  1797. for i, v in pairs(plrz) do
  1798. coroutine.resume(coroutine.create(function()
  1799. if v and v.Character and v.Character:findFirstChild("Torso") then
  1800. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  1801. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  1802. v.Character.Torso.Transparency = 0
  1803. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  1804. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  1805. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  1806. v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  1807. v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  1808. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Bright green") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Bright green") end end
  1809. end
  1810. end))
  1811. end
  1812. end
  1813.  
  1814. if msg:lower():sub(1,10) == "uncreeper " then
  1815. local plrz = GetPlr(plr, msg:lower():sub(11))
  1816. for i, v in pairs(plrz) do
  1817. coroutine.resume(coroutine.create(function()
  1818. if v and v.Character and v.Character:findFirstChild("Torso") then
  1819. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  1820. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  1821. v.Character.Torso.Transparency = 0
  1822. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  1823. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  1824. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  1825. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  1826. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  1827. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  1828. end
  1829. end))
  1830. end
  1831. end
  1832.  
  1833. if msg:lower():sub(1,8) == "bighead " then
  1834. local plrz = GetPlr(plr, msg:lower():sub(9))
  1835. for i, v in pairs(plrz) do
  1836. coroutine.resume(coroutine.create(function()
  1837. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(3,3,3) v.Character.Torso.Neck.C0 = CFrame.new(0,1.9,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  1838. end))
  1839. end
  1840. end
  1841.  
  1842. if msg:lower():sub(1,9) == "minihead " then
  1843. local plrz = GetPlr(plr, msg:lower():sub(10))
  1844. for i, v in pairs(plrz) do
  1845. coroutine.resume(coroutine.create(function()
  1846. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(.75,.75,.75) v.Character.Torso.Neck.C0 = CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  1847. end))
  1848. end
  1849. end
  1850.  
  1851. if msg:lower():sub(1,6) == "fling " then
  1852. local plrz = GetPlr(plr, msg:lower():sub(7))
  1853. for i, v in pairs(plrz) do
  1854. coroutine.resume(coroutine.create(function()
  1855. if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  1856. local xran local zran
  1857. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  1858. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  1859. v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
  1860. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  1861. end
  1862. end))
  1863. end
  1864. end
  1865.  
  1866. if msg:lower():sub(1,8) == "seizure " then
  1867. local plrz = GetPlr(plr, msg:lower():sub(9))
  1868. for i, v in pairs(plrz) do
  1869. coroutine.resume(coroutine.create(function()
  1870. if v and v.Character then
  1871. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  1872. local cl = script.ScriptBase:Clone() cl.Name = "SeizureBase" cl.Code.Value = [[repeat wait() script.Parent.Humanoid.PlatformStand = true script.Parent.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) script.Parent.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) until nil]]
  1873. table.insert(objects, cl) cl.Parent = v.Character cl.Disabled = false
  1874. end
  1875. end))
  1876. end
  1877. end
  1878.  
  1879. if msg:lower():sub(1,10) == "unseizure " then
  1880. local plrz = GetPlr(plr, msg:lower():sub(11))
  1881. for i, v in pairs(plrz) do
  1882. coroutine.resume(coroutine.create(function()
  1883. if v and v.Character then
  1884. for i,v in pairs(v.Character:children()) do if v.Name == "SeizureBase" then v:Destroy() end end
  1885. wait(.1) v.Character.Humanoid.PlatformStand = false
  1886. end
  1887. end))
  1888. end
  1889. end
  1890.  
  1891. if msg:lower():sub(1,12) == "removelimbs " then
  1892. local plrz = GetPlr(plr, msg:lower():sub(13))
  1893. for i, v in pairs(plrz) do
  1894. coroutine.resume(coroutine.create(function()
  1895. if v and v.Character then
  1896. for a, obj in pairs(v.Character:children()) do
  1897. if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
  1898. end
  1899. end
  1900. end))
  1901. end
  1902. end
  1903.  
  1904. if msg:lower():sub(1,5) == "name " then
  1905. local chk1 = msg:lower():sub(6):find(" ") + 5
  1906. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1907. for i, v in pairs(plrz) do
  1908. coroutine.resume(coroutine.create(function()
  1909. if v and v.Character and v.Character:findFirstChild("Head") then
  1910. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  1911. local char = v.Character
  1912. local mod = Instance.new("Model", char) mod.Name = msg:sub(chk1+1)
  1913. local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
  1914. local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
  1915. char.Head.Transparency = 1
  1916. end
  1917. end))
  1918. end
  1919. end
  1920.  
  1921. if msg:lower():sub(1,7) == "unname " then
  1922. local plrz = GetPlr(plr, msg:lower():sub(8))
  1923. for i, v in pairs(plrz) do
  1924. coroutine.resume(coroutine.create(function()
  1925. if v and v.Character and v.Character:findFirstChild("Head") then
  1926. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  1927. end
  1928. end))
  1929. end
  1930. end
  1931.  
  1932. if msg:lower():sub(1,5) == "char " then
  1933. local chk1 = msg:lower():sub(6):find(" ") + 5
  1934. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1935. for i, v in pairs(plrz) do
  1936. coroutine.resume(coroutine.create(function()
  1937. if v and v.Character then
  1938. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. msg:sub(chk1+1)
  1939. v:LoadCharacter()
  1940. end
  1941. end))
  1942. end
  1943. end
  1944.  
  1945. if msg:lower():sub(1,7) == "unchar " then
  1946. local plrz = GetPlr(plr, msg:lower():sub(8))
  1947. for i, v in pairs(plrz) do
  1948. coroutine.resume(coroutine.create(function()
  1949. if v and v.Character then
  1950. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
  1951. v:LoadCharacter()
  1952. end
  1953. end))
  1954. end
  1955. end
  1956.  
  1957. if msg:lower():sub(1,7) == "infect " then
  1958. local plrz = GetPlr(plr, msg:lower():sub(8))
  1959. for i, v in pairs(plrz) do
  1960. coroutine.resume(coroutine.create(function()
  1961. if v and v.Character then
  1962. Infect(v.Character)
  1963. end
  1964. end))
  1965. end
  1966. end
  1967.  
  1968. if msg:lower():sub(1,11) == "rainbowify " then
  1969. local plrz = GetPlr(plr, msg:lower():sub(12))
  1970. for i, v in pairs(plrz) do
  1971. coroutine.resume(coroutine.create(function()
  1972. if v and v.Character and v.Character:findFirstChild("Torso") then
  1973. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  1974. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  1975. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  1976. local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) local clr = BrickColor.random() for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = clr v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = clr v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
  1977. cl.Parent = v.Character cl.Disabled = false
  1978. end
  1979. end))
  1980. end
  1981. end
  1982.  
  1983. if msg:lower():sub(1,9) == "flashify " then
  1984. local plrz = GetPlr(plr, msg:lower():sub(10))
  1985. for i, v in pairs(plrz) do
  1986. coroutine.resume(coroutine.create(function()
  1987. if v and v.Character and v.Character:findFirstChild("Torso") then
  1988. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  1989. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  1990. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  1991. local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Institutional white") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Institutional white") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Really black") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Really black") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
  1992. cl.Parent = v.Character cl.Disabled = false
  1993. end
  1994. end))
  1995. end
  1996. end
  1997.  
  1998. if msg:lower():sub(1,8) == "noobify " then
  1999. local plrz = GetPlr(plr, msg:lower():sub(9))
  2000. for i, v in pairs(plrz) do
  2001. coroutine.resume(coroutine.create(function()
  2002. if v and v.Character then
  2003. Noobify(v.Character)
  2004. end
  2005. end))
  2006. end
  2007. end
  2008.  
  2009. if msg:lower():sub(1,9) == "ghostify " then
  2010. local plrz = GetPlr(plr, msg:lower():sub(10))
  2011. for i, v in pairs(plrz) do
  2012. coroutine.resume(coroutine.create(function()
  2013. if v and v.Character and v.Character:findFirstChild("Torso") then
  2014. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2015. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2016. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2017. 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
  2018. prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
  2019. if prt.Name:find("Leg") then prt.Transparency = 1 end
  2020. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
  2021. end end
  2022. end
  2023. end))
  2024. end
  2025. end
  2026.  
  2027. if msg:lower():sub(1,8) == "goldify " then
  2028. local plrz = GetPlr(plr, msg:lower():sub(9))
  2029. for i, v in pairs(plrz) do
  2030. coroutine.resume(coroutine.create(function()
  2031. if v and v.Character and v.Character:findFirstChild("Torso") then
  2032. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2033. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2034. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2035. 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
  2036. prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
  2037. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  2038. end end
  2039. end
  2040. end))
  2041. end
  2042. end
  2043.  
  2044. if msg:lower():sub(1,6) == "shiny " then
  2045. local plrz = GetPlr(plr, msg:lower():sub(7))
  2046. for i, v in pairs(plrz) do
  2047. coroutine.resume(coroutine.create(function()
  2048. if v and v.Character and v.Character:findFirstChild("Torso") then
  2049. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2050. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2051. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2052. 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
  2053. prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
  2054. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
  2055. end end
  2056. end
  2057. end))
  2058. end
  2059. end
  2060.  
  2061. if msg:lower():sub(1,7) == "normal " then
  2062. local plrz = GetPlr(plr, msg:lower():sub(8))
  2063. for i, v in pairs(plrz) do
  2064. coroutine.resume(coroutine.create(function()
  2065. if v and v.Character and v.Character:findFirstChild("Torso") then
  2066. if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
  2067. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  2068. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  2069. v.Character.Torso.Transparency = 0
  2070. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2071. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  2072. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2073. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2074. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2075. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2076. 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
  2077. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
  2078. if prt.Name == "FAKETORSO" then prt:Destroy() end
  2079. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
  2080. end end
  2081. end
  2082. end))
  2083. end
  2084. end
  2085.  
  2086. if msg:lower():sub(1,7) == "trippy " then
  2087. local plrz = GetPlr(plr, msg:lower():sub(8))
  2088. for i, v in pairs(plrz) do
  2089. coroutine.resume(coroutine.create(function()
  2090. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2091. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2092. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUITRIPPY"
  2093. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  2094. local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255) until nil]] cl.Parent = scr cl.Disabled = false
  2095. end
  2096. end))
  2097. end
  2098. end
  2099.  
  2100. if msg:lower():sub(1,9) == "untrippy " then
  2101. local plrz = GetPlr(plr, msg:lower():sub(10))
  2102. for i, v in pairs(plrz) do
  2103. coroutine.resume(coroutine.create(function()
  2104. if v and v:findFirstChild("PlayerGui") then
  2105. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUITRIPPY" then g:Destroy() end end
  2106. end
  2107. end))
  2108. end
  2109. end
  2110.  
  2111. if msg:lower():sub(1,7) == "strobe " then
  2112. local plrz = GetPlr(plr, msg:lower():sub(8))
  2113. for i, v in pairs(plrz) do
  2114. coroutine.resume(coroutine.create(function()
  2115. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2116. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2117. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUISTROBE"
  2118. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  2119. local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(1,1,1) wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(0,0,0) until nil]] cl.Parent = scr cl.Disabled = false
  2120. end
  2121. end))
  2122. end
  2123. end
  2124.  
  2125. if msg:lower():sub(1,9) == "unstrobe " then
  2126. local plrz = GetPlr(plr, msg:lower():sub(10))
  2127. for i, v in pairs(plrz) do
  2128. coroutine.resume(coroutine.create(function()
  2129. if v and v:findFirstChild("PlayerGui") then
  2130. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUISTROBE" then g:Destroy() end end
  2131. end
  2132. end))
  2133. end
  2134. end
  2135.  
  2136. if msg:lower():sub(1,6) == "blind " then
  2137. local plrz = GetPlr(plr, msg:lower():sub(7))
  2138. for i, v in pairs(plrz) do
  2139. coroutine.resume(coroutine.create(function()
  2140. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2141. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2142. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUIBLIND"
  2143. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  2144. end
  2145. end))
  2146. end
  2147. end
  2148.  
  2149. if msg:lower():sub(1,8) == "unblind " then
  2150. local plrz = GetPlr(plr, msg:lower():sub(9))
  2151. for i, v in pairs(plrz) do
  2152. coroutine.resume(coroutine.create(function()
  2153. if v and v:findFirstChild("PlayerGui") then
  2154. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUIBLIND" then g:Destroy() end end
  2155. end
  2156. end))
  2157. end
  2158. end
  2159.  
  2160. if msg:lower():sub(1,7) == "guifix " then
  2161. local plrz = GetPlr(plr, msg:lower():sub(8))
  2162. for i, v in pairs(plrz) do
  2163. coroutine.resume(coroutine.create(function()
  2164. if v and v:findFirstChild("PlayerGui") then
  2165. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2166. end
  2167. end))
  2168. end
  2169. end
  2170.  
  2171. if msg:lower():sub(1,9) == "loopheal " then
  2172. local plrz = GetPlr(plr, msg:lower():sub(10))
  2173. for i, v in pairs(plrz) do
  2174. if v then
  2175. local cl = script.ScriptBase:Clone() cl.Name = "LoopHeal:"..v.Name cl.Code.Value = [[
  2176. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  2177. repeat wait()
  2178. coroutine.resume(coroutine.create(function()
  2179. if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then
  2180. plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
  2181. plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
  2182. end
  2183. end))
  2184. until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  2185. end
  2186. end
  2187. end
  2188.  
  2189. if msg:lower():sub(1,11) == "unloopheal " then
  2190. local plrz = GetPlr(plr, msg:lower():sub(12))
  2191. 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
  2192. end
  2193.  
  2194. if msg:lower():sub(1,10) == "loopfling " then
  2195. local plrz = GetPlr(plr, msg:lower():sub(11))
  2196. for i, v in pairs(plrz) do
  2197. if v then
  2198. local cl = script.ScriptBase:Clone() cl.Name = "LoopFling:"..v.Name cl.Code.Value = [[
  2199. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  2200. repeat
  2201. coroutine.resume(coroutine.create(function()
  2202. if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then
  2203. local xran local zran
  2204. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  2205. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  2206. plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
  2207. 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)
  2208. end
  2209. end))
  2210. wait(2) until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  2211. end
  2212. end
  2213. end
  2214.  
  2215. if msg:lower():sub(1,12) == "unloopfling " then
  2216. local plrz = GetPlr(plr, msg:lower():sub(13))
  2217. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopFling:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  2218. end
  2219.  
  2220. end
  2221.  
  2222. -------------------------
  2223. -- True Owner Commands --
  2224. -------------------------
  2225.  
  2226. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId then
  2227.  
  2228. if msg:lower():sub(1,3) == "oa " then
  2229. local plrz = GetPlr(plr, msg:lower():sub(4))
  2230. for i, v in pairs(plrz) do
  2231. coroutine.resume(coroutine.create(function()
  2232. 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("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  2233. end))
  2234. end
  2235. end
  2236.  
  2237. if msg:lower():sub(1,5) == "unoa " then
  2238. for i = 1, #owners do
  2239. coroutine.resume(coroutine.create(function()
  2240. if msg:lower():sub(6) == "all" or owners[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(owners, i) end
  2241. end))
  2242. end
  2243. end
  2244.  
  2245. if msg:lower() == "settings" then
  2246. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "SETTINGSGUI" then v:Destroy() end end
  2247. local scr = Instance.new("ScreenGui",plr.PlayerGui) scr.Name = "SETTINGSGUI"
  2248. 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
  2249. 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
  2250. 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
  2251. 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
  2252. 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
  2253. 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
  2254. if FunCommands then cb1.Text = "X" else cb1.Text = "" end tb1.Text = prefix
  2255. tb1.Changed:connect(function() if tb1.Text ~= prefix and tb1.Text ~= "" then prefix = tb1.Text:sub(1,1) end end)
  2256. cb1.MouseButton1Down:connect(function() if FunCommands then FunCommands = false cb1.Text = "" else FunCommands = true cb1.Text = "X" end end)
  2257. 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)
  2258. end
  2259.  
  2260. end
  2261.  
  2262. --------------------
  2263. -- Owner Commands --
  2264. --------------------
  2265.  
  2266. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  2267.  
  2268. if msg:lower():sub(1,3) == "pa " then
  2269. local plrz = GetPlr(plr, msg:lower():sub(4))
  2270. for i, v in pairs(plrz) do
  2271. coroutine.resume(coroutine.create(function()
  2272. 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("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  2273. end))
  2274. end
  2275. end
  2276.  
  2277. if msg:lower():sub(1,5) == "unpa " then
  2278. for i = 1, #admins do
  2279. coroutine.resume(coroutine.create(function()
  2280. if msg:lower():sub(6) == "all" or admins[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(admins, i) end
  2281. end))
  2282. end
  2283. end
  2284.  
  2285. if msg:lower():sub(1,5) == "nuke " then
  2286. local plrz = GetPlr(plr, msg:lower():sub(6))
  2287. for i, v in pairs(plrz) do
  2288. coroutine.resume(coroutine.create(function()
  2289. if v and v.Character and v.Character:findFirstChild("Torso") then
  2290. local p = Instance.new("Part",game.Workspace) table.insert(objects,p)
  2291. p.Anchored = true
  2292. p.CanCollide = false
  2293. p.formFactor = "Symmetric"
  2294. p.Shape = "Ball"
  2295. p.Size = Vector3.new(1,1,1)
  2296. p.BrickColor = BrickColor.new("New Yeller")
  2297. p.Transparency = .5
  2298. p.Reflectance = .2
  2299. p.TopSurface = 0
  2300. p.BottomSurface = 0
  2301. p.Touched:connect(function(hit)
  2302. if hit and hit.Parent then
  2303. local ex = Instance.new("Explosion", game.Workspace)
  2304. ex.Position = hit.Position
  2305. ex.BlastRadius = 11
  2306. ex.BlastPressure = math.huge
  2307. end
  2308. end)
  2309. local cf = v.Character.Torso.CFrame
  2310. p.CFrame = cf
  2311. for i = 1, 333 do
  2312. p.Size = p.Size + Vector3.new(3,3,3)
  2313. p.CFrame = cf
  2314. wait(1/44)
  2315. end
  2316. p:Destroy()
  2317. end
  2318. end))
  2319. end
  2320. end
  2321.  
  2322. end
  2323.  
  2324. --------------------------
  2325. -- Super Admin Commands --
  2326. --------------------------
  2327.  
  2328. 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
  2329.  
  2330. if msg:lower() == "logs" then
  2331. if plr.PlayerGui:findFirstChild("LOGSGUI") then return end
  2332. local scr, cmf, ent, num = ScrollGui() scr.Name = "LOGSGUI" scr.Parent = plr.PlayerGui
  2333. 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
  2334. end
  2335.  
  2336. if msg:lower():sub(1,9) == "loopkill " then
  2337. local chk1 = msg:lower():sub(10):find(" ")
  2338. local plrz = GetPlr(plr, msg:lower():sub(10))
  2339. local num = 9999
  2340. if chk1 then chk1 = chk1 + 9 plrz = GetPlr(plr, msg:lower():sub(10, chk1-1)) if type(tonumber(msg:sub(chk1+1))) == "number" then num = tonumber(msg:sub(chk1+1)) end end
  2341. for i, v in pairs(plrz) do
  2342. if v and not ChkAdmin(v.Name, false) then
  2343. local cl = script.ScriptBase:Clone() cl.Name = "LoopKill:"..v.Name cl.Code.Value = [[
  2344. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  2345. for i = 1, ]] .. tostring(num) .. [[ do
  2346. repeat wait() plr = game.Players:findFirstChild("]] .. v.Name .. [[") until plr and plr.Character and plr.Character:findFirstChild("Humanoid") and plr.Character.Humanoid.Health ~= 0
  2347. coroutine.resume(coroutine.create(function()
  2348. if plr and plr.Character then plr.Character:BreakJoints() end
  2349. end))
  2350. end]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  2351. end
  2352. end
  2353. end
  2354.  
  2355. if msg:lower():sub(1,11) == "unloopkill " then
  2356. local plrz = GetPlr(plr, msg:lower():sub(12))
  2357. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopKill:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  2358. end
  2359.  
  2360. if msg:lower() == "serverlock" or msg:lower() == "slock" then slock = true Hint("Server has been locked", game.Players:children()) end
  2361. if msg:lower() == "serverunlock" or msg:lower() == "sunlock" then slock = false Hint("Server has been unlocked", game.Players:children()) end
  2362.  
  2363. if msg:lower():sub(1,3) == "sm " then
  2364. Message("SYSTEM MESSAGE", msg:sub(4), false, game.Players:children())
  2365. end
  2366.  
  2367. if msg:lower():sub(1,3) == "ko " then
  2368. local chk1 = msg:lower():sub(4):find(" ") + 3
  2369. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  2370. local num = 500 if num > msg:sub(chk1+1) then num = msg:sub(chk1+1) end
  2371. for n = 1, num do
  2372. for i, v in pairs(plrz) do
  2373. coroutine.resume(coroutine.create(function()
  2374. if v and v.Character and v.Character:findFirstChild("Humanoid") and not ChkAdmin(v.Name, false) then
  2375. local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = plr val.Name = "creator"
  2376. v.Character:BreakJoints()
  2377. wait(1/44)
  2378. v:LoadCharacter()
  2379. wait(1/44)
  2380. end
  2381. end))
  2382. end
  2383. end
  2384. end
  2385.  
  2386. if msg:lower():sub(1,6) == "crash " then
  2387. local plrz = GetPlr(plr, msg:lower():sub(7))
  2388. for i, v in pairs(plrz) do
  2389. coroutine.resume(coroutine.create(function()
  2390. if v and v:findFirstChild("Backpack") and not ChkAdmin(v.Name, false) then
  2391. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy()
  2392. end
  2393. end))
  2394. end
  2395. end
  2396.  
  2397. if msg:lower():sub(1,5) == "kick " then
  2398. local plrz = GetPlr(plr, msg:lower():sub(6))
  2399. for i, v in pairs(plrz) do
  2400. coroutine.resume(coroutine.create(function()
  2401. if v and not ChkAdmin(v.Name, false) then v:Destroy() end
  2402. end))
  2403. end
  2404. end
  2405.  
  2406. if msg:lower():sub(1,6) == "admin " then
  2407. local plrz = GetPlr(plr, msg:lower():sub(7))
  2408. for i, v in pairs(plrz) do
  2409. coroutine.resume(coroutine.create(function()
  2410. 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("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  2411. end))
  2412. end
  2413. end
  2414.  
  2415. if msg:lower():sub(1,8) == "unadmin " then
  2416. for i = 1, #tempadmins do
  2417. coroutine.resume(coroutine.create(function()
  2418. if msg:lower():sub(9) == "all" or tempadmins[i]:lower():find(msg:lower():sub(9)) == 1 then table.remove(tempadmins, i) end
  2419. end))
  2420. end
  2421. end
  2422.  
  2423. if msg:lower():sub(1,4) == "ban " then
  2424. local plrz = GetPlr(plr, msg:lower():sub(5))
  2425. for i, v in pairs(plrz) do
  2426. coroutine.resume(coroutine.create(function()
  2427. 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
  2428. end))
  2429. end
  2430. end
  2431.  
  2432. if msg:lower():sub(1,6) == "unban " then
  2433. for i = 1, #banland do
  2434. coroutine.resume(coroutine.create(function()
  2435. if msg:lower():sub(7) == "all" or banland[i]:lower():find(msg:lower():sub(7)) == 1 then table.remove(banland, i) end
  2436. end))
  2437. end
  2438. end
  2439.  
  2440. 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
  2441.  
  2442. end
  2443. end))
  2444. end
  2445.  
  2446. function AdminControl(plr)
  2447. 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))
  2448. if plr.Name:sub(1,6) == "Player" and ChkAdmin(plr.Name, false) then coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui")
  2449. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  2450. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  2451. 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
  2452. 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)
  2453. end)) end
  2454. 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))
  2455. coroutine.resume(coroutine.create(function() if ChkGroupAdmin(plr) and not ChkAdmin(plr.Name, false) then table.insert(admins, plr.Name) end end))
  2456. 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))
  2457. coroutine.resume(coroutine.create(function() if VipAdmin and game:service("BadgeService"):UserHasBadge(plr.userId,ItemId) then table.insert(tempadmins,plr.Name) end end))
  2458. coroutine.resume(coroutine.create(function() if ChkAdmin(plr.Name, false) then plr:WaitForChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {plr}) end end))
  2459. plr.Chatted:connect(function(msg) Chat(msg,plr) end)
  2460. end
  2461.  
  2462. if not ntab then script:Destroy() end
  2463. if not bct then script:Destroy() end
  2464.  
  2465. 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)
  2466.  
  2467. script.Name = "Kohl's Admin Commands V2"
  2468.  
  2469. if not ntab then script:Destroy() end
  2470. if not bct then script:Destroy() end
  2471. if not tcb then script:Destroy() end
  2472. game.Players.PlayerAdded:connect(AdminControl)
  2473. for i, v in pairs(game.Players:children()) do AdminControl(v) end
  2474. end
  2475.  
  2476. local mod = game:service("InsertService"):LoadAsset(100808216)
  2477. if mod:findFirstChild("Kohl's Admin Commands V2") and mod:findFirstChild("Version", true) and AutoUpdate then
  2478. local newac = mod:findFirstChild("Kohl's Admin Commands V2")
  2479. newac.Disabled = true
  2480. local new = tonumber(mod:findFirstChild("Version", true).Value)
  2481. local old = 0
  2482. if script:findFirstChild("Version", true) then old = tonumber(script:findFirstChild("Version", true).Value) end
  2483. if new > old then
  2484. local adminmod = Instance.new("Model", game.Lighting) adminmod.Name = "KACV2"
  2485. for i,v in pairs(owners) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Owner" strv.Value = v end
  2486. for i,v in pairs(admins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Admin" strv.Value = v end
  2487. for i,v in pairs(tempadmins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "TempAdmin" strv.Value = v end
  2488. for i,v in pairs(banland) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Banland" strv.Value = v end
  2489. local prf = Instance.new("StringValue", adminmod) prf.Name = "Prefix" prf.Value = prefix
  2490. local bv = Instance.new("BoolValue", adminmod) bv.Name = "FunCommands" bv.Value = FunCommands
  2491. local bv2 = Instance.new("BoolValue", adminmod) bv2.Name = "GroupAdmin" bv2.Value = GroupAdmin
  2492. local iv = Instance.new("IntValue", adminmod) iv.Name = "GroupId" iv.Value = GroupId
  2493. local iv2 = Instance.new("IntValue", adminmod) iv2.Name = "GroupRank" iv2.Value = GroupRank
  2494. local bv3 = Instance.new("BoolValue", adminmod) bv3.Name = "VipAdmin" bv3.Value = VipAdmin
  2495. local iv3 = Instance.new("IntValue", adminmod) iv3.Name = "ItemId" iv3.Value = ItemId
  2496. wait()
  2497. newac.Parent = game.Workspace
  2498. newac.Disabled = false
  2499. script.Disabled = true
  2500. script:Destroy()
  2501. else
  2502. CHEESE()
  2503. end
  2504. else
  2505. CHEESE()
  2506. end
Add Comment
Please, Sign In to add comment