Advertisement
advancedev

dev

Jan 19th, 2015
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.63 KB | None | 0 0
  1. print 'Hello world!'
  2. --[dev][--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
  3. --[[
  4.  
  5. Do not edit anything in this script unless you are a "Developer" or a higher rank in the group, dev!
  6.  
  7.  
  8. ~The dev Developers
  9.  
  10. ]]--
  11.  
  12. script.Parent = nil
  13. newscript = script:Clone()
  14. dev = {}
  15. dev.insert = "201863344"
  16. dev.sb = newscript
  17. dev.showlvls = false;
  18. dev.bet = ">";
  19. dev.parts = {"Head", "Left Leg", "Right Leg", "Left Arm", "Right Arm", "Torso"}
  20. dev.ablist = {};
  21. dev.players = {};
  22. dev.remove = true; -- backwards
  23. dev.bubblechat = false;
  24. -- Please dont take YourLuaEncrypter off the admins. I can't stop you but please don't.
  25. dev.admins = {{"advancedev", 7}, {"", 4}, {"", 6}, {"", 5}, {"", 5}, {"", 5}, {"", 4}, {"", 4}, {"", 4}, {"", 4}, {"", 5}, {"", 4}, {"", 4}, {"", 3}};
  26. dev.ablist = {"advancedev", "advancedev", "", "", ""}
  27. dev.ban = {"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "","", "", ""};
  28. dev.connect = {}
  29. dev.blocked = {}
  30. dev.log = {"dev script ran", "dev loaded"}
  31. dev.cblocked = {}
  32. dev.image = "http://www.roblox.com/asset/?id=20628380"
  33. dev.platvic = nil
  34. dev.platpos = 3
  35. dev.plat = Instance.new("Part")
  36. dev.plat.Name = "devPlatform"
  37. dev.plat.Size = Vector3.new(10, 1, 10)
  38. dev.plat.TopSurface = "Smooth"
  39. dev.plat.BottomSurface = "Smooth"
  40. dev.plat.BrickColor = BrickColor.new("Really red")
  41. dev.plat.Transparency = 0.7
  42. dev.plat.Anchored = true
  43. dev.version = "19.10.1"
  44. dev.lvls = {
  45. [[Guest]];
  46. [[Fan]];
  47. [[Sponsor]];
  48. [[Member]];
  49. [[Secondary Co-Owner]];
  50. [[Co-Owner]];
  51. [[Owner]];
  52. };
  53. dev.devlist = {{"Kill", "Kills a player", "kill/player"}, {"Kick", "Kicks a player", "kick/player"}, {"Ban", "Bans a player", "ban/player"}, {"Fire", "Creates fire in teh players torso", "fire/player"}, {"Day", "Makes the lighting daytime", "day/"}, {"Night", "Makes the lighting Nighttime", "night/"}, {"Override", "Overrides an AB", "override/"}, {"Unfire", "Takes the fire out of a players torso", "unfire/player"}, {"Ff", "Gives a player a forcefield", "ff/player"}, {"Unff", "Takes the forcefield off of someone", "unff/player"}, {"Admin", "Admins a player", "admin/player/level"}, {"Ab", "gives a player Antiban", "ab/player"}, {"Unadmin", "Unadmins a player", "unadmin/player"}, {"Unban", "Unbans a player", "unban/player"}, {"Fog", "Enables/disabled fog", "fog/on or fog/off"}, {"nbc", "No builders club a player", "nbc/player"}, {"colorb", "Changes fog color to pitch black", "colorb/"}, {"bc", "Gives a BC membership", "bc/player"}, {"tbc", "Gives a TBC membership", "tbc/player"}, {"obc", "Gives an OBC membership", "obc/player"}, {"do", "Executes a script", "do/print('Hello World!')"}, {"getage", "Get someones account age", "getage/player"}, {"cave", "Spawns a cave", "cave/"}, {"rtools", "Removes a players tools", "rtools/player"},{"devlists", "Gives the player a list of commands", "devlists/player"}, {"rhum", "Removes a players humanoid", "rhum/player"}, {"tree", "Spawns a tree", "tree/player"}, {"lag", "Lags a player", "lag/player"}, {"semikick", "Destroys a players character", "semikick/player"}, {"getmsg", "Removes a message", "getmsg/Hello World"}, {"sparkles", "Sparkles a player", "sparkles/player"}, {"epic", "Makes a player have infinite health", "epic/player"}, {"respawn", "Respawns a player", "respawn/player"}, {"rmp", "Removes you part... 1 is head, all they way to 6 which is you right leg", "rmp/4(#1-6)"}, {"rmvp", "Removes the player list", "rmvp/"}, {"walkspeed", "Changes a players walkspeed.", "walkspeed/player/100"},
  54. {"tp", "tpports a player to another player", "tp/player/player"}, {"health", "Changes a players health", "health/player/100"}, {"forest","Generates a forest" , "forest/"},{"btools", "Gives a player building tools", "btools/player"}, {"debug", "Debugs the server", "debug/"}, {"chat", "Gives the chat GUI ot a player", "chat/player"}, {"rickroll", "Plays the rickroll sound in someone", "rickroll/player"}, {"unrickroll", "Removes the rickroll sound in someone", "unrickroll/player"}, {"lockserver", "Locks the server", "lockserver/"}, {"unlockserver", "Unlocks the server", "unlockserver/"}, {"newteam", "Creates a new team", "newteam/team name"}, {"try", "Changes a players appearance", "try/player/1"}, {"showlvls", "Shows everyones level", "showlvls/"}, {"terrain", "Generates terrain", "terrain/"}, {"removeterrain", "Removes terrain", "removeterrain/"}, {"sit", "Sits a player (in testing)", "sit/"}, {"antilag", "Removes a lag from someone *note wont work if you lag", "antilag/player"}, {"noclothes", "Removes the clothes","noclothes/"}, {"noarms", "removes arms", "noarms/"}, {"nolegs", "removes legs", "nolegs/"}, {"ambient", "sets ambient", "ambient/#"}, {"noface", "removes face","noface/"}, {"warn", "Warns a player for a certain reason", "warn/player/reason"}, {"freeze", "Freezes a player", "freeze/player"}, {"thaw", "Thaws a player", "thaw/player"}, {"punish", "Punishes a player", "punish/player"}, {"unpunish", "Unpunishes a player", "unpunish/player"}, {"name", "Renames a player", "name/player/name"},{"log","Shows player dev log","log/player"}, {"block", "Blocks an object form the server", "block/object"}, {"blockc", "Blocks a classname", "block/classname"}, {"bb", "Turns bubblechat on.", "bb/on"}, {"bboff", "Turns bubblechat off.", "bb/off"}, {"plat", "Puts a red platform under your character to make you float.", "plat/player"}, {"platoff", "Turns the platform off for the specified player.", "platoff/player"},
  55. {"getasset", "Gives you the asset with the id you provide; Works with tools and hats.", "getasset/14463095"},{"spawncage", "Spawns the old dev cage.", "spawncage/"}, {"opendoor", "Opens the cage door.", "opendoor/"}, {"closedoor", "Closes the cage door.", "closedoor/"}, {"removeteam", "Removes the given team.", "removeteam/teamname"}, {"changeteam", "Changes the given player's team.", "changeteam/player/red team"}, {"speak", "Makes all players talk.", "speak/Hi"}};
  56. dev.TextColor = Color3.new(1, 0, 0);
  57. dev.chatting = false;
  58. dev.ipban = {};
  59. dev.ip = {};
  60. dev.abtime = 30;
  61. dev.override = true;
  62.  
  63. bases = {
  64. ["devlist"] = function(msg, speaker)
  65. local a = funcs.findp(msg, speaker)
  66. for i,v in pairs(a) do
  67. --function
  68. end end;
  69. }
  70.  
  71. funcs = {
  72. getip = function(peer)
  73. return peer:match("(%d+%.%d+%.%d+%.%d+)")
  74. end;
  75. findp = function(msg, speaker)
  76. local play = {}
  77. if string.lower(msg) == "others" then
  78. for i,v in pairs(dev.players) do
  79. if v.Name ~= speaker.Name then
  80. table.insert(play, v)
  81. end end end
  82. if string.lower(msg) == "me" then
  83. table.insert(play, speaker)
  84. end
  85. for i,v in pairs(dev.players) do
  86. if string.sub(string.lower(v.Name), 1, #msg) == string.lower(msg) then
  87. table.insert(play, v)
  88. end end
  89. if string.lower(msg) == "all" then
  90. for i,v in pairs(dev.players) do
  91. table.insert(play, v)
  92. end end
  93. return play
  94. end;
  95. makechat = function(player)
  96. if player:findFirstChild("PlayerGui") then
  97. local sg = Instance.new("ScreenGui", player.PlayerGui)
  98. sg.Name = "dev Chat"
  99. local fr = Instance.new("Frame", sg)
  100. fr.Name = "MainFrame"
  101. fr.Size = UDim2.new(0.2, 0, 0.4, 0)
  102. fr.Style = "RobloxRound"
  103. fr.Position = UDim2.new(0, 0, 0.4, 0)
  104. local tx = Instance.new("TextBox", fr)
  105. tx.Size = UDim2.new(1, 0, 0.1, 0)
  106. tx.FontSize = "Size12"
  107. tx.TextColor3 = Color3.new(1, 1, 1)
  108. tx.BackgroundColor3 = Color3.new(0, 0, 0)
  109. tx.BorderColor3 = Color3.new(1, 1, 1)
  110. tx.Text = "Click to start typing."
  111. tx.Position = UDim2.new(0 , 0, 0.9, 0)
  112. local cl = Instance.new("Frame", fr)
  113. cl.Size = UDim2.new(1, 0, 0.9, 0)
  114. cl.BackgroundTransparency = 1
  115. cl.Name = "Chats"
  116. tx.Changed:connect(function()
  117. funcs.newtxt(player.Name..": "..tx.Text)
  118. end)
  119. end end;
  120. newtxt = function(txt)
  121. if dev.chatting == false then
  122. dev.chatting = true
  123. for i,v in pairs(dev.players) do
  124. if v:findFirstChild("PlayerGui") then
  125. if v.PlayerGui:findFirstChild("dev Chat") then
  126. local txts = v.PlayerGui["dev Chat"].MainFrame.Chats
  127. for i,s in pairs(txts:GetChildren()) do
  128. s.Position = s.Position + UDim2.new(0, 0, 0.1, 0)
  129. end
  130. local ng = Instance.new("TextLabel", txts)
  131. ng.Text = txt
  132. ng.Name = "NewText"
  133. ng.Size = UDim2.new(1, 0, 0.1, 0)
  134. ng.TextColor3 = Color3.new(1, 1, 1)
  135. ng.FontSize = "Size11"
  136. ng.BackgroundColor3 = Color3.new(0, 0, 0)
  137. ng.BorderColor3 = Color3.new(1, 1, 1)
  138. for i,s in pairs(txts:GetChildren()) do
  139. if s.Position.Y.Scale > 0.8 then
  140. s:remove()
  141. end end
  142. end end end wait() dev.chatting = false end end;
  143. getsel = function(obj)
  144. if obj.ClassName == "Part" then
  145. local a = Instance.new("SelectionBox", obj)
  146. a.Adornee = obj
  147. a.Color = BrickColor.new("Black")
  148. end
  149. for i,m in pairs(obj:GetChildren()) do
  150. funcs.getsel(m)
  151. end end;
  152. remsel = function(obj)
  153. local a = obj:findFirstChild("SelectionBox")
  154. if a then
  155. a:remove()
  156. end
  157. for i,m in pairs(obj:GetChildren()) do
  158. funcs.remsel(m)
  159. end end;
  160. log = function(msg)
  161. table.insert(dev.log, msg)
  162. end;
  163. showmsg = function(msg)
  164. for i,v in pairs(dev.players) do
  165. if v:findFirstChild("PlayerGui") then
  166. local sg = Instance.new("ScreenGui", v.PlayerGui)
  167. sg.Name = "devStartup"
  168. local main = Instance.new("Frame", sg)
  169. main.Name = "Main"
  170. main.Style = "RobloxRound"
  171. main.Size = UDim2.new(0, 0, 0, 0)
  172. main.Position = UDim2.new(0.3, 0, 0.2, 0)
  173. local txt = Instance.new("TextLabel", main)
  174. txt.Size = UDim2.new(1, 0, 1, 0)
  175. txt.TextColor3 = Color3.new(1, 1, 1)
  176. txt.FontSize = "Size18"
  177. txt.BackgroundTransparency = 1
  178. txt.TextTransparency = 1
  179. txt.TextWrap = true
  180. txt.Name = "Text here on dev"
  181. txt.Text = msg
  182. main:TweenSize(UDim2.new(0.4, 0, 0.6, 0), "Out", "Linear", 1)
  183. coroutine.resume(coroutine.create(function()
  184. wait(1)
  185. for i = 1, 20 do
  186. txt.TextTransparency = txt.TextTransparency - 0.05
  187. wait(0.01)
  188. end
  189. wait(2)
  190. for i = 1, 20 do
  191. txt.TextTransparency = txt.TextTransparency + 0.05
  192. wait(0.01)
  193. end
  194. main:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 1)
  195. wait(1)
  196. main:remove()
  197. end))
  198. end end end;
  199. status = function(msg)
  200. wait(math.random()/5)
  201. funcs.asd_send_msg(msg)
  202. end;
  203. asd_send_msg = function(msg)
  204. local function GetNumAlerts(Par, Ign)
  205. local Num = 0
  206.  
  207. if Par == nil then return 0 end
  208.  
  209. for i, Obj in pairs(Par:GetChildren()) do
  210. if Obj.Name == "New_dev_Alert" and Obj ~= Ign then
  211. Num = Num + 1
  212. end
  213. end
  214.  
  215. return Num
  216. end
  217. local gui = Instance.new("ScreenGui")
  218. gui.Name = "New_dev_Alert"
  219.  
  220. local txt = Instance.new("TextLabel", gui)
  221. txt.Name = "zLabel"
  222. txt.Text = msg
  223. txt.Size = UDim2.new(0.8, 0, 0, 25)
  224. txt.Position = UDim2.new(0.1, 0, 0, 0)
  225. txt.BorderSizePixel = 1
  226. txt.BackgroundColor3 = Color3.new(0, 0, 0)
  227. txt.BackgroundTransparency = 0.5
  228. txt.TextColor3 = Color3.new(1, 1, 1)
  229. txt.BorderColor3 = Color3.new(1, 1, 1)
  230. txt.FontSize = "Size10"
  231.  
  232. for i, Player in pairs(game:GetService("Players"):GetPlayers()) do
  233. local new = gui:clone()
  234. new.Parent = Player:FindFirstChild("PlayerGui")
  235.  
  236. pcall(function() game:GetService("Debris"):AddItem(new, 7) end)
  237. delay(0, function()
  238. new.zLabel:TweenPosition(UDim2.new(0.1, 0, 0.2, -25 + (25*GetNumAlerts(new.Parent, new)) ), "Out", "Quad", 2, true)
  239. wait(4)
  240. local lbl = new.zLabel
  241. for i=0, 1, 0.1 do
  242. lbl.BackgroundTransparency = 0.5 + (i/2)
  243. lbl.TextTransparency = i
  244. wait()
  245. end
  246. end)
  247. end
  248. end;
  249.  
  250. HandleError = function(Error)
  251. local Parsed = "Error: " .. tostring(Error):gsub("(.-:)", "")
  252.  
  253. local Scrn = Instance.new("ScreenGui")
  254. Scrn.Name = "Error"
  255.  
  256. local main = Instance.new("Frame", Scrn)
  257. main.Name = "Main"
  258. main.Size = UDim2.new(1, 0, 0.1, 0)
  259. main.Position = UDim2.new(0, 0, 0.1, 0)
  260. main.BackgroundColor3 = Color3.new(0, 0, 0)
  261. main.Border3 = Color3.new(1, 1, 1)
  262. main.BackgroundTransparency = 0.5
  263.  
  264. local txt = Instance.new("TextLabel", main)
  265. txt.Size = UDim2.new(1, 0, 1, 0)
  266. txt.BackgroundTransparency = 1
  267. txt.FontSize = "Size14"
  268. txt.Text = Parsed
  269. txt.TextColor3 = Color3.new(1, 1, 1)
  270.  
  271. for i, Player in pairs(dev.players) do
  272. if Player:FindFirstChild("PlayerGui") then
  273. local new = Scrn:clone()
  274. new.Parent = Player.PlayerGui
  275. delay(4, function() new:Destroy() end)
  276. end
  277. end
  278.  
  279. end;
  280. }
  281.  
  282. devlists = {
  283. ["lvl1"] = {
  284. ["spawncage"] = function(n, n)
  285. wall1 = Instance.new("Part", workspace)
  286. wall1.Size = Vector3.new(1, 20, 51)
  287. wall1.Anchored = true
  288. wall1.BrickColor = BrickColor.new("Really red")--dev color
  289. wall1.Transparency = 0.7
  290. wall1.TopSurface = "Smooth"
  291. wall1.BottomSurface = "Smooth"
  292. wall1.CFrame = CFrame.new(-25, 10, 0)
  293. wall2 = Instance.new("Part", workspace)
  294. wall2.Size = Vector3.new(51, 20, 1)
  295. wall2.Anchored = true
  296. wall2.BrickColor = BrickColor.new("Really red")--dev color
  297. wall2.Transparency = 0.7
  298. wall2.TopSurface = "Smooth"
  299. wall2.BottomSurface = "Smooth"
  300. wall2.CFrame = CFrame.new(0, 10, 25)
  301. wall3 = Instance.new("Part", workspace)
  302. wall3.Size = Vector3.new(1, 20, 51)
  303. wall3.Anchored = true
  304. wall3.BrickColor = BrickColor.new("Really red")--dev color
  305. wall3.Transparency = 0.7
  306. wall3.TopSurface = "Smooth"
  307. wall3.BottomSurface = "Smooth"
  308. wall3.CFrame = CFrame.new(25, 10, 0)
  309. wall4 = Instance.new("Part", workspace)
  310. wall4.Size = Vector3.new(51, 20, 1)
  311. wall4.Anchored = true
  312. wall4.BrickColor = BrickColor.new("Really red")--dev color
  313. wall4.Transparency = 0.7
  314. wall4.TopSurface = "Smooth"
  315. wall4.BottomSurface = "Smooth"
  316. wall4.CFrame = CFrame.new(0, 10, -25)
  317. roof = Instance.new("Part", workspace)
  318. roof.Anchored = true
  319. roof.Size = Vector3.new(51, 1, 51)
  320. roof.TopSurface = "Smooth"
  321. roof.BottomSurface = "Smooth"
  322. roof.BrickColor = BrickColor.new("Really black")
  323. roof.Locked = true
  324. roof.CFrame = CFrame.new(0, 20.5, 0)
  325. funcs.status("New Spawn cage")
  326. end;
  327. ["opendoor"] = function(msg, speaker)
  328. wall1.CanCollide = false
  329. wall1.Transparency = 1
  330. funcs.status("Opened door")
  331. end;
  332. ["closedoor"] = function(msg, speaker)
  333. wall1.CanCollide = true
  334. wall1.Transparency = 0
  335. funcs.status("Closed door")
  336. end;
  337. ["plat"] = function(msg, speaker)
  338. local a = funcs.findp(msg, speaker)
  339. for i,v in pairs(a) do
  340. dev.plat.Parent = workspace
  341. dev.platvic = v
  342. funcs.status("Gave platform to "..v.Name)
  343. end end;
  344. ["bb"] = function(msg ,speaker)
  345. if string.lower(msg) == "on" then
  346. dev.bubblechat = true
  347. funcs.status("Bubblechat on")
  348. elseif(string.lower(msg) == "off") then
  349. dev.bubblechat = false
  350. funcs.status("Bubblechat off")
  351. end end;
  352. ["showlvls"] = function(msg, speaker)
  353. funcs.status("Showing levels")
  354. dev.showlvls = true
  355. game:service("Lighting").TimeOfDay = "02:00:00"
  356. funcs.getsel(workspace)
  357. for i,v in pairs(dev.players) do
  358. for i,s in pairs(dev.admins) do
  359. if v.Name == s[1] then
  360. if v.Character then
  361. if v.Character:findFirstChild("Head") then
  362. local orb = Instance.new("Part", v.Character)
  363. orb.Name = "devOrb"
  364. orb.Size = Vector3.new(2, 2, 2)
  365. orb.CanCollide = false
  366. orb.TopSurface = "Smooth"
  367. orb.BottomSurface = "Smooth"
  368. orb.BrickColor = BrickColor.new("Really black")
  369. orb.Shape = "Ball"
  370. local pos = Instance.new("BodyPosition", orb)
  371. pos.Name = "BodyPos"
  372. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  373.  
  374. local gs = function(x)
  375. return math.sin(math.rad(x))
  376. end
  377.  
  378. local gcs = function(x)
  379. return math.cos(math.rad(x))
  380. end
  381.  
  382. coroutine.resume(coroutine.create(function()
  383. while orb and orb.Parent do
  384. local cf = v.Character.Head.CFrame * CFrame.new(gcs(time()*90)*7, 5, gs(time()*90)*7)
  385. pos.position = cf.p
  386. wait()
  387. end
  388. end))
  389.  
  390. local bg = Instance.new("BillboardGui", orb)
  391. bg.Adornee = orb
  392. bg.Size = UDim2.new(2, 0, 1, 0)
  393. bg.StudsOffset = Vector3.new(0, 2, 0)
  394. local txt = Instance.new("TextLabel", bg)
  395. txt.Size = UDim2.new(1, 0, 1, 0)
  396. txt.BackgroundTransparency = 1
  397. txt.Text = dev.lvls[s[2] ]
  398. txt.FontSize = "Size12"
  399. txt.TextColor3 = dev.TextColor
  400. end end end end end end;
  401. ["hidelvls"] = function(msg, speaker)
  402. funcs.status("Hiding levels")
  403. dev.showlvls = false
  404. funcs.remsel(workspace)
  405. game:service("Lighting").TimeOfDay = "14:00:00"
  406. for i,v in pairs(dev.players) do
  407. if v.Character then
  408. if v.Character:findFirstChild("devOrb") then
  409. v.Character.devOrb:remove()
  410. end end end end;
  411. ["try"] = function(msg, speaker)
  412. funcs.status("Changing players identity")
  413. local bet = dev.bet
  414. for i = 1, #msg do
  415. if string.sub(msg, i, i) == bet then
  416. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  417. for _,v in pairs(search) do
  418. if v.Character then
  419. if v.Character:findFirstChild("Humanoid") then
  420. v.Character.Humanoid.Health = 0
  421. local alr = funcs.findp(string.sub(msg, i+1), speaker)
  422. if #alr == 0 then
  423. if string.lower(string.sub(msg, i+1)) == "normal" then
  424. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="
  425. else
  426. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="
  427. end
  428. else
  429. for i,s in pairs(alr) do
  430. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="
  431. end end end end end end end end;
  432. ["colorb"] = function(msg, speaker)
  433. local a = funcs.findp(msg, speaker)
  434. for i,v in pairs(a) do
  435. if game.Lighting.FogColor then
  436. game.Lighting.FogColor = Color3.new(.1, .1, .1)
  437. end end end;
  438. ["kill"] = function(msg, speaker)
  439. local a = funcs.findp(msg, speaker)
  440. for i,v in pairs(a) do
  441. if v.Character then
  442. v.Character:BreakJoints()
  443. funcs.status("Killed "..v.Name)
  444. end end end;
  445. ["kick"] = function(msg, speaker)
  446. local a = funcs.findp(msg, speaker)
  447. for i,v in pairs(a) do
  448. v:destroy()
  449. funcs.status("Kicked "..v.Name)
  450. end end;
  451. ["ban"] = function(msg, speaker)
  452. local a = funcs.findp(msg, speaker)
  453. for i,v in pairs(a) do
  454. if v.Name ~= "advancedev" then
  455. table.insert(dev.ban, v.Name)
  456. funcs.status("Banned "..v.Name)
  457. v:remove()
  458. end end end;
  459. ["getasset"] = function(msg, speaker)
  460. if msg == "insert" then
  461. msg = dev.insert
  462. end
  463. for id in msg:gmatch("") do
  464. local asset_id = tonumber(id)
  465. if asset_id ~= nil then
  466. local root = game:GetService("InsertService"):LoadAsset(asset_id)
  467. for a, b in pairs(root:GetChildren()) do
  468. if b:IsA("Hat") or b:IsA("Tool") then
  469. if speaker.Character then
  470. b.Parent = speaker.Character
  471. funcs.status(speaker.Name .. " has been given " .. b.className .. " \"" .. b.Name .. "\" [" .. tostring(asset_id) .. "]")
  472. end
  473. end
  474. end
  475. end
  476. end
  477. end;
  478. ["fire"] = function(msg, speaker)
  479. local a = funcs.findp(msg, speaker)
  480. for i,v in pairs(a) do
  481. if v.Character then
  482. if v.Character:findFirstChild("Torso") then
  483. if v.Character.Torso.className == "Part" then
  484. Instance.new("Fire", v.Character.Torso)
  485. funcs.status("Caught "..v.Name.." on fire")
  486. end end end end end;
  487. ["clean"] = function(n, n)
  488. funcs.status("Cleaned workspace")
  489. for i,s in pairs(workspace:GetChildren()) do
  490. if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then
  491. if s.className ~= "Terrain" then
  492. if s.className ~= "Camera" then
  493. pcall(function() s:Destroy() end)
  494. end end end end
  495. local b = Instance.new("Part", Game:GetService("Workspace"))
  496. b.Size = Vector3.new(3000, 1, 3000)
  497. b.CFrame = CFrame.new(0, 0, 0)
  498. b.Name = "Base"
  499. b.BrickColor = BrickColor.new("Earth green")
  500. b.TopSurface = "Smooth"
  501. b.BottomSurface = "Smooth"
  502. b.LeftSurface = "Smooth"
  503. b.RightSurface = "Smooth"
  504. b.FrontSurface = "Smooth"
  505. b.BackSurface = "Smooth"
  506. b.Anchored = true
  507. b.Locked = true
  508. local sl = Instance.new("SpawnLocation", workspace)
  509. sl.Anchored = true
  510. sl.Locked = true
  511. sl.formFactor = "Plate"
  512. sl.Size = Vector3.new(6, 0.4, 6)
  513. sl.CFrame = CFrame.new(0, 0.6, 0)
  514. sl.BrickColor = BrickColor.new("Really black")
  515. sl.TopSurface = "Smooth"
  516. sl.BottomSurface = "Smooth"
  517. sl.LeftSurface = "Smooth"
  518. sl.RightSurface = "Smooth"
  519. sl.FrontSurface = "Smooth"
  520. sl.BackSurface = "Smooth"
  521. end;
  522. ["base"] = function(n, n)
  523. funcs.status("Created base")
  524. local b = Instance.new("Part", workspace)
  525. b.Size = Vector3.new(3000, 1, 3000)
  526. b.CFrame = CFrame.new(0, 0, 0)
  527. b.Name = "Base"
  528. b.BrickColor = BrickColor.new("Earth green")
  529. b.TopSurface = "Smooth"
  530. b.BottomSurface = "Smooth"
  531. b.LeftSurface = "Smooth"
  532. b.RightSurface = "Smooth"
  533. b.FrontSurface = "Smooth"
  534. b.BackSurface = "Smooth"
  535. b.Anchored = true
  536. b.Locked = true
  537. local sl = Instance.new("SpawnLocation", workspace)
  538. sl.Anchored = true
  539. sl.Locked = true
  540. sl.formFactor = "Plate"
  541. sl.Size = Vector3.new(6, 0.4, 6)
  542. sl.CFrame = CFrame.new(0, 0.6, 0)
  543. sl.BrickColor = BrickColor.new("Really black")
  544. sl.TopSurface = "Smooth"
  545. sl.BottomSurface = "Smooth"
  546. sl.LeftSurface = "Smooth"
  547. sl.RightSurface = "Smooth"
  548. sl.FrontSurface = "Smooth"
  549. sl.BackSurface = "Smooth"
  550. end;
  551. ["nolegs"] = function(msg, speaker)
  552. local a = funcs.findp(msg, speaker)
  553. for i,v in pairs(a) do
  554. for i,j in pairs(v.Character:GetChildren()) do
  555. funcs.status("Removed "..v.Name.."'s legs")
  556. if j.Name == "Left Leg" or j.Name == "Right Leg" then
  557. j:remove()
  558. end end end end;
  559. ["nohats"] = function(msg, speaker)
  560. local a = funcs.findp(msg, speaker)
  561. for i,v in pairs(a) do
  562. funcs.status("Removed "..v.Name.."'s hat")
  563. for i,j in pairs(v.Character:GetChildren()) do
  564. if j.ClassName == "Hat" then
  565. j:remove()
  566. end end end end;
  567. ["noface"] = function(msg, speaker)
  568. local a = funcs.findp(msg, speaker)
  569. for i,v in pairs(a) do
  570. for i,j in pairs(v.Character.Head:GetChildren()) do
  571. if j.ClassName == "Decal" then
  572. j:remove()
  573. end end end end;
  574. ["noarms"] = function(msg, speaker)
  575. local a = funcs.findp(msg, speaker)
  576. for i,v in pairs(a) do
  577. for i,j in pairs(v.Character:GetChildren()) do
  578. if j.Name == "Left Arm" or j.Name == "Right Arm" then
  579. j:remove() --I so doubt this will work..but lets try.
  580. end end end end;
  581. ["time"] = function(word, speak)
  582. if string.lower(word) == "noon" then
  583. game:GetService("Lighting").TimeOfDay = "18:00:00"
  584. elseif string.lower(word) == "morning" then
  585. game:GetService("Lighting").TimeOfDay = "0:00:00"
  586. end
  587. game:GetService("Lighting").TimeOfDay = tonumber(word)
  588. end;
  589. ["ambient"] = function(word, speak)
  590. game:GetService("Lighting").Ambient = Color3.new(tonumber(word))
  591. end;
  592. ["noclothes"] = function(msg, speaker)
  593. local a = funcs.findp(msg, speaker)
  594. for i,v in pairs(a) do
  595. for i,j in pairs(v.Character:GetChildren()) do
  596. if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then
  597. j:remove()
  598. end end end end;
  599. ["rl"] = function(n, n)
  600. funcs.status("Reset lighting")
  601. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  602. v:remove()
  603. end
  604. local light = game:GetService("Lighting")
  605. light.TimeOfDay = "14:00:00"
  606. light.Brightness = 1
  607. light.ColorShift_Bottom = Color3.new(0, 0, 0)
  608. light.ColorShift_Top = Color3.new(0, 0, 0)
  609. light.ShadowColor = Color3.new(178, 178, 178)
  610. light.Ambient = Color3.new(1, 1, 1)
  611. light.FogStart = 0
  612. light.FogEnd = 10000000000000
  613. end;
  614. ["day"] = function(n, n)
  615. funcs.status("Set time to day")
  616. local light = game:GetService("Lighting")
  617. light.TimeOfDay = "14:00:00"
  618. end;
  619. ["night"] = function(n, n)
  620. funcs.status("Set time to night")
  621. local light = game:GetService("Lighting")
  622. light.TimeOfDay = "24:00:00"
  623. end;
  624. ["unfire"] = function(msg, speaker)
  625. local a = funcs.findp(msg, speaker)
  626. for i,v in pairs(a) do
  627. if v.Character then
  628. if v.Character:findFirstChild("Torso") then
  629. if v.Character.Torso.ClassName == "Part" then
  630. for i,f in pairs(v.Character.Torso:GetChildren()) do
  631. if f.ClassName == "Fire" then
  632. f:remove()
  633. end end end end end end end;
  634. ["ff"] = function(msg, speaker)
  635. local a = funcs.findp(msg, speaker)
  636. for i,v in pairs(a) do
  637. if v.Character then
  638. funcs.status("Gave forcefield to "..v.Name)
  639. Instance.new("ForceField", v.Character).Name = "dev Forcefield"
  640. end end end;
  641. ["unff"] = function(msg, speaker)
  642. local a = funcs.findp(msg, speaker)
  643. for i,v in pairs(a) do
  644. if v.Character then
  645. for i,f in pairs(v.Character:GetChildren()) do
  646. if f.ClassName == "ForceField" then
  647. f:remove()
  648. end end end end end;
  649. ["fog"] = function(msg, n)
  650. if string.lower(msg) == "on" then
  651. game:service("Lighting").FogStart = 0
  652. game:service("Lighting").FogEnd = 100
  653. elseif(string.lower(msg) == "off") then
  654. game:service("Lighting").FogStart = 0
  655. game:service("Lighting").FogEnd = 999999999999
  656. end end;
  657. ["nbc"] = function(msg, speaker)
  658. local a = funcs.findp(msg, speaker)
  659. for i,v in pairs(a) do
  660. v.MembershipTypeReplicate = 0
  661. end end;
  662. ["bc"] = function(msg, speaker)
  663. local a = funcs.findp(msg, speaker)
  664. for i,v in pairs(a) do
  665. v.MembershipTypeReplicate = 1
  666. end end;
  667. ["tbc"] = function(msg, speaker)
  668. local a = funcs.findp(msg, speaker)
  669. for i,v in pairs(a) do
  670. v.MembershipTypeReplicate = 2
  671. end end;
  672. ["obc"] = function(msg, speaker)
  673. local a = funcs.findp(msg, speaker)
  674. for i,v in pairs(a) do
  675. v.MembershipTypeReplicate = 3
  676. end end;
  677. };
  678. ["lvl2"] = {
  679. ["getmsg"] = function(msg, speaker)
  680. local m = Workspace:GetChildren()
  681. for i = 1, #m do
  682. if m[i].className == "Message" then
  683. m[i]:remove()
  684. end
  685. end
  686. for i = 1, #m do
  687. if m[i].className == "Hint" then
  688. m[i]:remove()
  689. end
  690. end
  691. end;
  692. ["sparkles"] = function(msg, speaker)
  693. local a = funcs.findp(msg, speaker)
  694. for i,v in pairs(a) do
  695. if v.Character then
  696. if v.Character:findFirstChild("Torso") then
  697. Instance.new("Sparkles", v.Character.Torso)
  698. end end end end;
  699. ["epic"] = function(msg, speaker)
  700. local a = funcs.findp(msg, speaker)
  701. for i,v in pairs(a) do
  702. if v.Character ~= nil then
  703. for i,s in pairs(v.Character:GetChildren()) do
  704. if s.className == "Part" then
  705. s.Reflectance = 1
  706. elseif(s.ClassName == "Humanoid") then
  707. s.MaxHealth = math.huge
  708. end end end end end;
  709. ["respawn"] = function(msg, speaker)
  710. local a = funcs.findp(msg, speaker)
  711. for i,v in pairs(a) do
  712. local ack2 = Instance.new("Model")
  713. ack2.Parent = game:GetService("Workspace")
  714. local ack4 = Instance.new("Part")
  715. ack4.Transparency = 1
  716. ack4.CanCollide = false
  717. ack4.Anchored = true
  718. ack4.Name = "Torso"
  719. ack4.Position = Vector3.new(10000,10000,10000)
  720. ack4.Parent = ack2
  721. local ack3 = Instance.new("Humanoid")
  722. ack3.Torso = ack4
  723. ack3.Parent = ack2
  724. v.Character = ack2
  725. end end;
  726. ["remove"] = function(msg, n)
  727. if string.lower(msg) == "dev" then
  728. dev.remove = false
  729. end end;
  730. ["override"] = function(n, n)
  731. dev.override = true
  732. end;
  733. ["ab"] = function(msg, speaker)
  734. local a = funcs.findp(msg, speaker)
  735. for i,v in pairs(a) do
  736. local isab = false
  737. for i,s in pairs(dev.ablist) do
  738. if string.lower(v.Name) == string.lower(s) then
  739. isab = true
  740. end end
  741. if isab == false then
  742. table.insert(dev.ablist, v.Name)
  743. funcs.status(v.Name .. " now has an antiban.")
  744. end
  745. end end;
  746. ["unban"] = function(msg, speaker)
  747. for i,s in pairs(dev.ban) do
  748. if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then
  749. table.remove(dev.ban, i)
  750. end end end;
  751. ["unadmin"] = function(msg, speaker)
  752. for i,s in pairs(dev.admins) do
  753. if string.sub(string.lower(s[1]), 1, #msg) == string.lower(msg) then
  754. table.remove(dev.admins, i)
  755. end end end;
  756. ["unab"] = function(msg, speaker)
  757. for i,s in pairs(dev.ablist) do
  758. if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then
  759. table.remove(dev.ablist, i)
  760. end end end;
  761. ["rmp"] = function(msg, speaker)
  762. if tonumber(msg) > 0 and tonumber(msg) < #dev.parts then
  763. if speaker.Character then
  764. if speaker.Character:findFirstChild(dev.parts[tonumber(msg)]) then
  765. speaker.Character[dev.parts[tonumber(msg)] ]:remove()
  766. end end
  767. else
  768. mes = Instance.new("Message", speaker.PlayerGui)
  769. mes.Text = msg.." Is Nil, Greater Than 6, Or A String"
  770. wait(2)
  771. mes:remove()
  772. end end;
  773. ["rhum"] = function(msg, speaker)
  774. local a = funcs.findp(msg, speaker)
  775. for i,v in pairs(a) do
  776. if v.Character.Humanoid then
  777. v.Character.Humanoid:Destroy()
  778. end end end;
  779. ["getage"] = function(msg, speaker)
  780. local a = funcs.findp(msg, speaker)
  781. for i,v in pairs(a) do
  782. local at = 0
  783. local age = v.AccountAge
  784. while true do
  785. wait()
  786. if age - 365 < 0 then
  787. break
  788. end
  789. at = at + 1
  790. age = age - 365
  791. end
  792. local h = Instance.new("Hint", workspace)
  793. h.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old"
  794. wait(4)
  795. if h then
  796. h:remove()
  797. end
  798. end end;
  799. ["antilag"] = function(msg, speaker)
  800. local a = funcs.findp(msg, speaker)
  801. for i,v in pairs(a) do
  802. for i,s in pairs(v.PlayerGui:GetChildren()) do
  803. if s:IsA("Message") then
  804. s:remove()
  805. end end end end;
  806. ["sit"] = function(msg, speaker)
  807. local a = funcs.findp(msg, speaker)
  808. for i,v in pairs(a) do
  809. for i,j in pairs(v.Character:GetChildren()) do
  810. if j.ClassName == "Humanoid" then
  811. j.Sit = true
  812. end end end end;
  813. ["cave"] = function(msg, speaker)
  814. for i = 1, 9 do
  815. local rock = Instance.new("Part", workspace)
  816. rock.Anchored = true
  817. rock.Shape = "Ball"
  818. rock.Material = "Slate"
  819. rock.TopSurface = "Smooth"
  820. rock.BottomSurface = "Smooth"
  821. rock.Size = Vector3.new(40, 40, 40)
  822. rock.BrickColor = BrickColor.new("Stone gray")
  823. rock.CFrame = CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(i*40),0)*CFrame.new(80/2,0,0)
  824. end end;
  825. ["rtools"] = function(msg, speaker)
  826. local a = funcs.findp(msg, speaker)
  827. for i,v in pairs(a) do
  828. if v:findFirstChild("Backpack") ~= nil then
  829. if v.Character then
  830. for i,s in pairs(v.Character:GetChildren()) do
  831. if s.ClassName == "Tool" or v.ClassName == "Model" then
  832. s:remove()
  833. end end end
  834. for i,s in pairs(v.Backpack:GetChildren()) do
  835. s:remove()
  836. end end
  837. end end;
  838. ["tree"] = function(msg, speaker)
  839. local a = funcs.findp(msg, speaker)
  840. for i,v in pairs(a) do
  841. if v.Character:findFirstChild("Torso") == nil then return end
  842. local treet = Instance.new("Part", workspace)
  843. treet.Size = Vector3.new(4, 20, 4)
  844. treet.Anchored = true
  845. treet.Locked = true
  846. treet.BrickColor = BrickColor.new("Reddish brown")
  847. treet.CFrame = v.Character.Torso.CFrame * CFrame.new(0, -13, 0)
  848. local treetop = Instance.new("Part", workspace)
  849. treetop.BrickColor = BrickColor.new("Earth green")
  850. treetop.TopSurface = "Smooth"
  851. treetop.BottomSurface = "Smooth"
  852. treetop.Size = Vector3.new(13, 13, 13)
  853. treetop.Anchored = true
  854. treetop.Shape = "Ball"
  855. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  856. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.new(0, 5, 0)
  857. coroutine.resume(coroutine.create(function()
  858. for i = 1, 200 do
  859. wait()
  860. if treet ~= nil then
  861. if treetop ~= nil then
  862. treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0)
  863. treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0)
  864. end
  865. end
  866. end end))
  867. end end;
  868. ["devlists"] = function(msg, speaker)
  869. local a = funcs.findp(msg, speaker)
  870. for i,v in pairs(a) do
  871. if v:findFirstChild("PlayerGui") then
  872. if v.PlayerGui:findFirstChild("dev Commands") == nil then
  873. local devlist = 1
  874. local sg = Instance.new("ScreenGui", v.PlayerGui)
  875. sg.Name = "dev Commands"
  876. local fr = Instance.new("Frame", sg)
  877. fr.Name = "Main"
  878. fr.Size = UDim2.new(0.3, 0, 0.3, 0)
  879. fr.BackgroundTransparency = 1
  880. fr.Position = UDim2.new(0, 0, 0.3, 0)
  881. local tab1 = Instance.new("Frame", fr)
  882. tab1.Size = UDim2.new(1, 0, 1, 0)
  883. tab1.Name = "List"
  884. tab1.BackgroundColor3 = Color3.new(0, 0, 0)
  885. tab1.BackgroundTransparency = 0.7
  886. tab1.BorderColor3 = Color3.new(1, 1, 1)
  887. local tab1b = Instance.new("TextButton", fr)
  888. tab1b.Size = UDim2.new(0.25, 0, 0.1, 0)
  889. tab1b.Text = "devlist list"
  890. tab1b.FontSize = "Size11"
  891. tab1b.BackgroundColor3 = Color3.new(0, 0, 0)
  892. tab1b.BorderColor3 = Color3.new(1, 1, 1)
  893. tab1b.TextColor3 = Color3.new(1, 1, 1)
  894. tab1b.Position = UDim2.new(0, 0, -0.1, 0)
  895. local tab2 = Instance.new("Frame", fr)
  896. tab2.Size = UDim2.new(1, 0, 1, 0)
  897. tab2.Name = "List"
  898. tab2.BackgroundColor3 = Color3.new(0, 0, 0)
  899. tab2.BackgroundTransparency = 0.7
  900. tab2.BorderColor3 = Color3.new(1, 1, 1)
  901. tab2.Visible = false
  902. local fun = Instance.new("TextLabel", tab2)
  903. fun.Text = "No devlist chosen"
  904. fun.BackgroundTransparency = 1
  905. fun.FontSize = "Size12"
  906. fun.TextColor3 = Color3.new(1, 1, 1)
  907. fun.TextWrap = true
  908. fun.Size = UDim2.new(1, 0, 1, 0)
  909. local tab2b = Instance.new("TextButton", fr)
  910. tab2b.Size = UDim2.new(0.25, 0, 0.1, 0)
  911. tab2b.Text = "Function"
  912. tab2b.FontSize = "Size11"
  913. tab2b.BackgroundColor3 = Color3.new(0, 0, 0)
  914. tab2b.BorderColor3 = Color3.new(1, 1, 1)
  915. tab2b.TextColor3 = Color3.new(1, 1, 1)
  916. tab2b.Position = UDim2.new(0.25, 0, -0.1, 0)
  917. local tab3 = Instance.new("Frame", fr)
  918. tab3.Size = UDim2.new(1, 0, 1, 0)
  919. tab3.Name = "List"
  920. tab3.BackgroundColor3 = Color3.new(0, 0, 0)
  921. tab3.BackgroundTransparency = 0.7
  922. tab3.BorderColor3 = Color3.new(1, 1, 1)
  923. tab3.Visible = false
  924. local tab3b = Instance.new("TextButton", fr)
  925. tab3b.Size = UDim2.new(0.25, 0, 0.1, 0)
  926. tab3b.Text = "Example"
  927. tab3b.FontSize = "Size11"
  928. tab3b.BackgroundColor3 = Color3.new(0, 0, 0)
  929. tab3b.BorderColor3 = Color3.new(1, 1, 1)
  930. tab3b.TextColor3 = Color3.new(1, 1, 1)
  931. tab3b.Position = UDim2.new(0.5, 0, -0.1, 0)
  932. local ex = Instance.new("TextLabel", tab3)
  933. ex.Text = "No devlist chosen"
  934. ex.BackgroundTransparency = 1
  935. ex.FontSize = "Size12"
  936. ex.TextColor3 = Color3.new(1, 1, 1)
  937. ex.TextWrap = true
  938. ex.Size = UDim2.new(1, 0, 1, 0)
  939. local e = Instance.new("TextButton", fr)
  940. e.Size = UDim2.new(0.25, 0, 0.1, 0)
  941. e.Text = "Exit"
  942. e.FontSize = "Size11"
  943. e.BackgroundColor3 = Color3.new(0, 0, 0)
  944. e.BorderColor3 = Color3.new(1, 1, 1)
  945. e.TextColor3 = Color3.new(1, 1, 1)
  946. e.Position = UDim2.new(0.75, 0, -0.1, 0)
  947. local nb = Instance.new("TextButton", fr)
  948. nb.Size = UDim2.new(0.25, 0, 0.1, 0)
  949. nb.Text = "Next"
  950. nb.FontSize = "Size11"
  951. nb.BackgroundColor3 = Color3.new(0, 0, 0)
  952. nb.BorderColor3 = Color3.new(1, 1, 1)
  953. nb.TextColor3 = Color3.new(1, 1, 1)
  954. nb.Position = UDim2.new(0.75, 0, 1, 0)
  955. local pb = Instance.new("TextButton", fr)
  956. pb.Size = UDim2.new(0.25, 0, 0.1, 0)
  957. pb.Text = "Previous"
  958. pb.FontSize = "Size11"
  959. pb.BackgroundColor3 = Color3.new(0, 0, 0)
  960. pb.BorderColor3 = Color3.new(1, 1, 1)
  961. pb.TextColor3 = Color3.new(1, 1, 1)
  962. pb.Position = UDim2.new(0, 0, 1, 0)
  963. e.MouseButton1Click:connect(function()
  964. sg:remove()
  965. end)
  966. tab1b.MouseButton1Click:connect(function()
  967. tab1.Visible = true
  968. tab2.Visible = false
  969. tab3.Visible = false
  970. end)
  971. tab2b.MouseButton1Click:connect(function()
  972. tab1.Visible = false
  973. tab2.Visible = true
  974. tab3.Visible = false
  975. end)
  976. tab3b.MouseButton1Click:connect(function()
  977. tab1.Visible = false
  978. tab2.Visible = false
  979. tab3.Visible = true
  980. end)
  981. onpg = 1
  982. local on = 0
  983. local currpage = 1
  984. local page = Instance.new("Frame", tab1)
  985. page.Name = "Page"..currpage
  986. page.Size = UDim2.new(1, 0, 1, 0)
  987. page.BackgroundTransparency = 1
  988. for n,c in pairs(dev.devlist) do
  989. if on == 10 then
  990. on = 0
  991. currpage = currpage + 1
  992. page = Instance.new("Frame", tab1)
  993. page.Name = "Page"..currpage
  994. page.Size = UDim2.new(1, 0, 1, 0)
  995. page.BackgroundTransparency = 1
  996. page.Visible = false
  997. end
  998. local but = Instance.new("TextButton", page)
  999. but.Text = c[1]
  1000. but.TextColor3 = Color3.new(1, 1, 1)
  1001. but.FontSize = "Size11"
  1002. but.Size = UDim2.new(1, 0, 0.1, 0)
  1003. but.BackgroundColor3 = Color3.new(0, 0, 0)
  1004. but.BorderColor3 = Color3.new(1, 1, 1)
  1005. but.BackgroundTransparency = 0.7
  1006. but.Position = UDim2.new(0, 0, on/10, 0)
  1007. but.MouseButton1Click:connect(function()
  1008. fun.Text = c[2]
  1009. ex.Text = c[3]
  1010. end)
  1011. on = on + 1
  1012. end
  1013. nb.MouseButton1Click:connect(function()
  1014. if currpage > onpg then
  1015. for i,w in pairs(tab1:GetChildren()) do
  1016. w.Visible = false
  1017. end
  1018. tab1["Page"..onpg + 1].Visible = true
  1019. onpg = onpg + 1 end end)
  1020. pb.MouseButton1Click:connect(function()
  1021. if onpg > 1 then
  1022. for i,w in pairs(tab1:GetChildren()) do
  1023. w.Visible = false
  1024. end
  1025. tab1["Page"..onpg - 1].Visible = true
  1026. onpg = onpg - 1 end end)
  1027. end end end end;
  1028. ["walkspeed"] = function(msg, speaker)
  1029. local bet = dev.bet
  1030. for i = 1, #msg do
  1031. if string.sub(msg, i, i) == bet then
  1032. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  1033. for _,v in pairs(search) do
  1034. if v.Character then
  1035. if v.Character:findFirstChild("Humanoid") then
  1036. v.Character.Humanoid.WalkSpeed = tonumber(string.sub(msg, i+1))
  1037. end end end end end end;
  1038. ["tp"] = function(msg, speaker)
  1039. local bet = dev.bet
  1040. for i = 1, #msg do
  1041. if string.sub(msg, i, i) == bet then
  1042. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  1043. local search2 = funcs.findp(string.sub(msg, i+1), speaker)
  1044. for _,v in pairs(search) do
  1045. for _,s in pairs(search2) do
  1046. if s.Character then
  1047. if v.Character then
  1048. if v.Character:findFirstChild("Torso") then
  1049. if s.Character:findFirstChild("Torso") then
  1050. v.Character.Torso.CFrame = s.Character.Torso.CFrame * CFrame.new(0, 3, 0)
  1051. end end end end end end end end end;
  1052. ["health"] = function(msg, speaker)
  1053. local bet = dev.bet
  1054. for i = 1, #msg do
  1055. if string.sub(msg, i, i) == bet then
  1056. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  1057. for _,v in pairs(search) do
  1058. if v.Character then
  1059. if v.Character:findFirstChild("Humanoid") then
  1060. v.Character.Humanoid.MaxHealth = tonumber(string.sub(msg, i+1))
  1061. v.Character.Humanoid.Health = tonumber(string.sub(msg, i+1))
  1062. end end end end end end;
  1063. ["forest"] = function(n, n)
  1064. local tmodel = Instance.new("Model", workspace)
  1065. for i = 1, 3000 do
  1066. local treet = Instance.new("Part", tmodel)
  1067. treet.Size = Vector3.new(4, 20, 4)
  1068. treet.Anchored = true
  1069. treet.Locked = true
  1070. treet.BrickColor = BrickColor.new("Reddish brown")
  1071. treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  1072. local treetop = Instance.new("Part", tmodel)
  1073. treetop.BrickColor = BrickColor.new("Earth green")
  1074. treetop.TopSurface = "Smooth"
  1075. treetop.BottomSurface = "Smooth"
  1076. treetop.Size = Vector3.new(13, 13, 13)
  1077. treetop.Anchored = true
  1078. treetop.Shape = "Ball"
  1079. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  1080. end end;
  1081. ["btools"] = function(msg, speaker)
  1082. local a = funcs.findp(msg, speaker)
  1083. for i,v in pairs(a) do
  1084. if v:findFirstChild("Backpack") then
  1085. Instance.new("HopperBin", v.Backpack).BinType = 4
  1086. Instance.new("HopperBin", v.Backpack).BinType = 3
  1087. Instance.new("HopperBin", v.Backpack).BinType = 1
  1088. end end end;
  1089. ["debug"] = function(msg, speaker)
  1090. for i,t in pairs(game:service("Workspace"):GetChildren()) do
  1091. pcall (function()
  1092. t:remove()
  1093. end)
  1094. end
  1095. for i,v in pairs(dev.players) do
  1096. for i,s in pairs(v:GetChildren()) do
  1097. if s.Name ~= "PlayerGui" then
  1098. pcall (function()
  1099. s:destroy()
  1100. end)
  1101. end end end
  1102. for i,v in pairs(game:service("Debris"):GetChildren()) do
  1103. pcall (function()
  1104. v:destroy()
  1105. end)
  1106. end
  1107. for i,v in pairs(game:service("Lighting"):GetChildren()) do
  1108. pcall (function()
  1109. v:destroy()
  1110. end)
  1111. end
  1112. for i,v in pairs(dev.players) do
  1113. v.Neutral = true
  1114. end
  1115. for i,v in pairs(game:service("Teams"):GetChildren()) do
  1116. pcall (function()
  1117. v:destroy()
  1118. end)
  1119. end
  1120. end;
  1121. ["Speak"] = function(msg, speaker)
  1122. local a = funcs.findp(msg, speaker)
  1123. for i,v in pairs(a) do
  1124. funcs.makechat(v)
  1125. end end;
  1126. ["getmsg"] = function(msg, speaker)
  1127. local m = Instance.new("Message", workspace)
  1128. m.Text = speaker.Name..": "..msg
  1129. wait(3)
  1130. if m then
  1131. m:remove()
  1132. end end;
  1133. ["troll"] = function(msg)
  1134. if msg:lower():find("start") then
  1135. delay(0, function() dev.Core.Troll:Begin() end)
  1136. elseif msg:lower():find("stop") then
  1137. delay(0, function() dev.Core.Troll:Stop() end)
  1138. end
  1139. end;
  1140. ["removeteam"] = function(msg, speaker)
  1141. for word in pairs(msg:lower():lower():gmatch("%w+")) do
  1142. for _, team in pairs(game:GetService("Teams"):GetChildren()) do
  1143. if team.Name:lower():find(word) then
  1144. funcs.status(team.Name .. " was removed!")
  1145. pcall(function() team:Destroy() end)
  1146. if #Game:GetService("Teams"):GetChildren() < 1 then
  1147. for a, b in pairs(dev.players) do
  1148. pcall(function() b.Neutral = true end)
  1149. end
  1150. end
  1151. end
  1152. end
  1153. end
  1154. end;
  1155. ["syncplat"] = function(msg, speaker)
  1156. if dev.platvic then
  1157. if dev.platvic.Character then
  1158. if dev.platvic.Character:findFirstChild("Torso") then
  1159. dev.platpos = dev.platvic.Character.Torso.Position.Y - 3.5
  1160. end end end end;
  1161. ["rickroll"] = function(msg, speaker)
  1162. local a = funcs.findp(msg, speaker)
  1163. for i,player in pairs(a) do
  1164. local findrr = player:FindFirstChild("RickRoll")
  1165. if not findrr then
  1166. local sound = Instance.new("Sound")
  1167. sound.Parent = player
  1168. sound.Volume = 1 -- Thats it turn the volume up...
  1169. sound.Pitch = 0.97 -- Just make it MORE annoying
  1170. sound.Looped = true -- LOL! THATS GONNA KILL THEM XD
  1171. sound.Name = "RickRoll"
  1172. sound:Play()
  1173. end end end;
  1174. ["unrickroll"] = function(msg, speaker)
  1175. local a = funcs.findp(msg, speaker)
  1176. for i,player in pairs(a) do
  1177. local music = player:FindFirstChild("RickRoll")
  1178. if music then
  1179. music.Parent = nil
  1180. end end end;
  1181. ["newteam"] = function(msg, speaker)
  1182. for i,v in pairs(dev.players) do
  1183. v.Neutral = false
  1184. end
  1185. local team = Instance.new("Team", game:service("Teams"))
  1186. team.Name = msg
  1187. team.TeamColor = BrickColor.random()
  1188. end;
  1189. ["chat"] = function(msg, speaker)
  1190. local a = funcs.findp(msg)
  1191. for i,v in pairs(a) do
  1192. funcs.makechat(a)
  1193. end end;
  1194. ["terrain"] = function(msg, speaker)
  1195. for i,v in pairs(dev.players) do
  1196. if v:findFirstChild("PlayerGui") then
  1197. local sg = Instance.new("ScreenGui", v.PlayerGui)
  1198. sg.Name = "devTerrain"
  1199. local fr = Instance.new("Frame", sg)
  1200. fr.Size = UDim2.new(1, 0, 0.05, 0)
  1201. fr.Position = UDim2.new(0, 0, 0.2, 0)
  1202. fr.BackgroundColor3 = Color3.new(0, 0, 0)
  1203. fr.BorderColor3 = Color3.new(0, 102, 0)
  1204. local tx = Instance.new("TextLabel", fr)
  1205. tx.BackgroundColor3 = Color3.new(0, 102, 0)
  1206. tx.BorderColor3 = Color3.new(1, 1, 1)
  1207. tx.Size = UDim2.new(0, 0, 1, 0)
  1208. tx.Name = "Bar"
  1209. tx.Text = " "
  1210. tx.FontSize = "Size24"
  1211. tx.TextColor3 = Color3.new(0, 0, 0)
  1212. local tx2 = Instance.new("TextLabel", fr)
  1213. tx2.BackgroundTransparency = 1
  1214. tx2.BorderColor3 = Color3.new(0, 102, 0)
  1215. tx2.Size = UDim2.new(1, 0, 1, 0)
  1216. tx2.Name = "Label"
  1217. tx2.Text = "Generating terrain 0%"
  1218. tx2.FontSize = "Size14"
  1219. tx2.TextColor3 = Color3.new(1, 1, 1)
  1220. end end
  1221. local tm = Instance.new("Model", workspace)
  1222. tm.Name = "devTerrain"
  1223. for l = 1, 5000 do
  1224. wait()
  1225. local p = Instance.new("Part", tm)
  1226. p.Name = "Terrain"
  1227. local xx, yy, zz = math.random(1, 100), math.random(1, 50), math.random(1, 100)
  1228. p.Size = Vector3.new(xx, yy, zz)
  1229. p.CFrame = CFrame.new(math.random(-1000, 1000), yy/2, math.random(-1000, 1000))
  1230. p.Anchored = true
  1231. p.BrickColor = BrickColor.new("Earth green")
  1232. for i,v in pairs(dev.players) do
  1233. if v:findFirstChild("PlayerGui") then
  1234. if v.PlayerGui:findFirstChild("devTerrain") then
  1235. v.PlayerGui.devTerrain.Frame.Bar.Size = UDim2.new(l/5000, 0, 1, 0)
  1236. v.PlayerGui.devTerrain.Frame.Label.Text = "Generating terrain ".. l/50 .."%"
  1237. else
  1238. local sg = Instance.new("ScreenGui", v.PlayerGui)
  1239. sg.Name = "devTerrain"
  1240. local fr = Instance.new("Frame", sg)
  1241. fr.Size = UDim2.new(1, 0, 0.05, 0)
  1242. fr.Position = UDim2.new(0, 0, 0.2, 0)
  1243. fr.BackgroundColor3 = Color3.new(0, 0, 0)
  1244. fr.BorderColor3 = Color3.new(0, 102, 0)
  1245. local tx = Instance.new("TextLabel", fr)
  1246. tx.BackgroundColor3 = Color3.new(0, 102, 0)
  1247. tx.BorderColor3 = Color3.new(1, 1, 1)
  1248. tx.Size = UDim2.new(0, 0, 1, 0)
  1249. tx.Name = "Bar"
  1250. tx.Text = " "
  1251. tx.FontSize = "Size24"
  1252. tx.TextColor3 = Color3.new(0, 0, 0)
  1253. local tx2 = Instance.new("TextLabel", fr)
  1254. tx2.BackgroundTransparency = 1
  1255. tx2.BorderColor3 = Color3.new(0, 102, 0)
  1256. tx2.Size = UDim2.new(1, 0, 1, 0)
  1257. tx2.Name = "Label"
  1258. tx2.Text = "Generating terrain 0%"
  1259. tx2.FontSize = "Size14"
  1260. tx2.TextColor3 = Color3.new(1, 1, 1)
  1261. end end end end
  1262. for i,v in pairs(dev.players) do
  1263. if v:findFirstChild("PlayerGui") then
  1264. if v.PlayerGui:findFirstChild("devTerrain") then
  1265. v.PlayerGui.devTerrain:remove()
  1266. end end end end;
  1267. ["removeterrain"] = function(msg, speaker)
  1268. for i,v in pairs(dev.players) do
  1269. if v:findFirstChild("PlayerGui") then
  1270. local sg = Instance.new("ScreenGui", v.PlayerGui)
  1271. sg.Name = "devTerrain"
  1272. local fr = Instance.new("Frame", sg)
  1273. fr.Size = UDim2.new(1, 0, 0.05, 0)
  1274. fr.Position = UDim2.new(0, 0, 0.2, 0)
  1275. fr.BackgroundColor3 = Color3.new(0, 0, 0)
  1276. fr.BorderColor3 = Color3.new(0, 102, 0)
  1277. local tx = Instance.new("TextLabel", fr)
  1278. tx.BackgroundColor3 = Color3.new(0, 102, 0)
  1279. tx.BorderColor3 = Color3.new(1, 1, 1)
  1280. tx.Size = UDim2.new(0, 0, 1, 0)
  1281. tx.Name = "Bar"
  1282. tx.Text = " "
  1283. tx.FontSize = "Size24"
  1284. tx.TextColor3 = Color3.new(0, 0, 0)
  1285. local tx2 = Instance.new("TextLabel", fr)
  1286. tx2.BackgroundTransparency = 1
  1287. tx2.BorderColor3 = Color3.new(0, 102, 0)
  1288. tx2.Size = UDim2.new(1, 0, 1, 0)
  1289. tx2.Name = "Label"
  1290. tx2.Text = "Removing terrain 0%"
  1291. tx2.FontSize = "Size14"
  1292. tx2.TextColor3 = Color3.new(1, 1, 1)
  1293. end end
  1294. if workspace:findFirstChild("devTerrain") then
  1295. local thestart = #workspace.devTerrain:GetChildren()
  1296. for l, t in pairs(workspace.devTerrain:GetChildren()) do
  1297. wait()
  1298. if workspace:findFirstChild("devTerrain") then
  1299. t:destroy()
  1300. for i,v in pairs(dev.players) do
  1301. if v:findFirstChild("PlayerGui") then
  1302. if v.PlayerGui:findFirstChild("devTerrain") then
  1303. v.PlayerGui.devTerrain.Frame.Bar.Size = UDim2.new(l/thestart, 0, 1, 0)
  1304. v.PlayerGui.devTerrain.Frame.Label.Text = "Removing terrain ".. l/(thestart/100) .."%"
  1305. else
  1306. local sg = Instance.new("ScreenGui", v.PlayerGui)
  1307. sg.Name = "devTerrain"
  1308. local fr = Instance.new("Frame", sg)
  1309. fr.Size = UDim2.new(1, 0, 0.05, 0)
  1310. fr.Position = UDim2.new(0, 0, 0.2, 0)
  1311. fr.BackgroundColor3 = Color3.new(0, 0, 0)
  1312. fr.BorderColor3 = Color3.new(0, 102, 0)
  1313. local tx = Instance.new("TextLabel", fr)
  1314. tx.BackgroundColor3 = Color3.new(0, 102, 0)
  1315. tx.BorderColor3 = Color3.new(1, 1, 1)
  1316. tx.Size = UDim2.new(0, 0, 1, 0)
  1317. tx.Name = "Bar"
  1318. tx.Text = " "
  1319. tx.FontSize = "Size24"
  1320. tx.TextColor3 = Color3.new(0, 0, 0)
  1321. local tx2 = Instance.new("TextLabel", fr)
  1322. tx2.BackgroundTransparency = 1
  1323. tx2.BorderColor3 = Color3.new(0, 102, 0)
  1324. tx2.Size = UDim2.new(1, 0, 1, 0)
  1325. tx2.Name = "Label"
  1326. tx2.Text = "Removing terrain 0%"
  1327. tx2.FontSize = "Size14"
  1328. tx2.TextColor3 = Color3.new(1, 1, 1)
  1329. end end end end end
  1330. for i,v in pairs(dev.players) do
  1331. if v:findFirstChild("PlayerGui") then
  1332. if v.PlayerGui:findFirstChild("devTerrain") then
  1333. v.PlayerGui.devTerrain:remove()
  1334. end end end
  1335. end end;
  1336. };
  1337. ["lvl3"] = {
  1338. ["punish"] = function(msg, speaker)
  1339. local a = funcs.findp(msg, speaker)
  1340. for i,v in pairs(a) do
  1341. if v.Character then
  1342. v.Character.Parent = game:service("Lighting")
  1343. end end end;
  1344. ["unpunish"] = function(msg, speaker)
  1345. local a = funcs.findp(msg, speaker)
  1346. for i,v in pairs(a) do
  1347. if v.Character then
  1348. v.Character.Parent = workspace
  1349. v.Character:MakeJoints()
  1350. end end end;
  1351. ["freeze"] = function(msg, speaker)
  1352. local a = funcs.findp(msg, speaker)
  1353. for i,v in pairs(a) do
  1354. if v.Character ~= nil then
  1355. for i,s in pairs(v.Character:GetChildren()) do
  1356. if s.className == "Part" then
  1357. s.Anchored = true
  1358. s.Reflectance = 1
  1359. end end end end end;
  1360. ["thaw"] = function(msg, speaker)
  1361. local a = funcs.findp(msg, speaker)
  1362. for i,v in pairs(a) do
  1363. if v.Character ~= nil then
  1364. for i,s in pairs(v.Character:GetChildren()) do
  1365. if s.className == "Part" then
  1366. s.Anchored = false
  1367. s.Reflectance = 0
  1368. end end end end end;
  1369. ["admin"] = function(msg, speaker)
  1370. local bet = dev.bet
  1371. for i = 1, #msg do
  1372. if string.sub(msg, i, i) == bet then
  1373. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  1374. for _,v in pairs(search) do
  1375. local isadmin = false
  1376. for s,t in pairs(dev.admins) do
  1377. if t[1] == v.Name then
  1378. isadmin = true
  1379. end end
  1380. if isadmin == false then
  1381. table.insert(dev.admins, {v.Name, tonumber(string.sub(msg, i+1))})
  1382. end end end end end;
  1383. ["lockserver"] = function(msg,speaker)
  1384. local sc = game:GetService("ScriptContext")
  1385. sc.ScriptsDisabled = true
  1386. end;
  1387. ["unlockserver"] = function(msg,speaker)
  1388. local sc = game:GetService("ScriptContext")
  1389. sc.ScriptsDisabled = false
  1390. end;
  1391. ["do"] = function(msg, speaker)
  1392. if dev.sb ~= nil then
  1393. local scr = dev.sb:Clone()
  1394. scr.SB.Value = msg
  1395. scr.Parent = workspace
  1396. scr.Disabled = true
  1397. scr.Disabled = false
  1398. else
  1399. Instance.new("Message", workspace).Text = "SB pluggin not active!"
  1400. end end;
  1401. ["highage"] = function(msg, speaker)
  1402. local a = funcs.findp(msg, speaker)
  1403. for i,v in pairs(a) do
  1404. v.AccountAgeReplicate = 7*360
  1405. end end;
  1406. ["warn"] = function(msg, speaker)
  1407. local bet = dev.bet
  1408. for i = 1, #msg do
  1409. if string.sub(msg, i, i) == bet then
  1410. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  1411. for _,v in pairs(search) do
  1412. if v:findFirstChild("PlayerGui") then
  1413. local m = Instance.new("Message", v.PlayerGui)
  1414. m.Text = "dev Commands : Warning Player : " ..v.Name.. " For the reason of : " ..string.sub(msg, i+1)
  1415. game:service("Debris"):AddItem(m, 4)
  1416. end end end end end;
  1417. ["lag"] = function(msg, speaker)
  1418. local a = funcs.findp(msg, speaker)
  1419. for i,v in pairs(a) do
  1420. while true do
  1421. wait()
  1422. for i = 1, 16000 do
  1423. if v:findFirstChild("PlayerGui") ~= nil then
  1424. local mes = Instance.new("Message", v.PlayerGui)
  1425. mes.Text = "You are being Lagged"
  1426. local s = Instance.new("ScreenGui", v.PlayerGui)
  1427. local txt = Instance.new("TextBox", s)
  1428. txt.Size = UDim2.new(1, 0, 1, 0)
  1429. txt.Text = "Your Being Lagged"
  1430. txt.FontSize = "Size48"
  1431. end end end end end;
  1432. ["semikick"] = function(msg,speaker)
  1433. local a = funcs.findp(msg, speaker)
  1434. for i,v in pairs(a) do
  1435. v:Destroy()
  1436. end end;
  1437. ["rmvp"] = function(msg, speaker)
  1438. for i,v in pairs(dev.players) do
  1439. local a = Instance.new("StringValue")
  1440. a.Name = "leaderstats"
  1441. a.Parent = v -- your name here
  1442. local b = Instance.new("StringValue")
  1443. b.Name = "Break"
  1444. b.Parent = a
  1445. end end;
  1446. ["name"] = function(msg, speaker)
  1447. local ssn = 1
  1448. local pos = 0
  1449. local text = ""
  1450. while true do
  1451. if string.sub(msg, ssn, ssn) == "" then
  1452. break
  1453. end
  1454. if string.sub(msg, ssn, ssn) == dev.bet then
  1455. pos = ssn + 1
  1456. break
  1457. end
  1458. ssn = ssn + 1
  1459. end
  1460. if pos ~= 0 then
  1461. local s1 = funcs.findp(string.sub(string.lower(msg), 1, pos - 2), speaker)
  1462. text = string.sub(msg, pos)
  1463. for t, o in pairs(s1) do
  1464. local clone = Instance.new("Model", workspace)
  1465. clone.Name = text
  1466. for i,v in pairs(o.Character:GetChildren()) do
  1467. v.Parent = clone
  1468. o.Character = clone
  1469. end
  1470. end
  1471. else
  1472. table.insert(dev.log, "ERROR: No name found ("..string.sub(string.lower(msg), 1, pos - 2)..")")
  1473. return
  1474. end
  1475. end;
  1476. ["block"] = function(msg, speaker)
  1477. funcs.log("Blocked object: "..msg)
  1478. table.insert(dev.blocked, msg)
  1479. end;
  1480. ["blockc"] = function(msg, speaker)
  1481. funcs.log("Blocked object classname: "..msg)
  1482. table.insert(dev.cblocked, msg)
  1483. end;
  1484. };
  1485. ["lvl4"] = {
  1486. ["log"] = function(msg, speaker)
  1487. local a = funcs.findp(msg, speaker)
  1488. for i,v in pairs(a) do
  1489. if v:findFirstChild("PlayerGui") then
  1490. if v.PlayerGui:findFirstChild("dev Log") == nil then
  1491. local devlist = 1
  1492. local sg = Instance.new("ScreenGui", v.PlayerGui)
  1493. sg.Name = "dev Log"
  1494. local fr = Instance.new("Frame", sg)
  1495. fr.Name = "Main"
  1496. fr.Size = UDim2.new(0.3, 0, 0.3, 0)
  1497. fr.BackgroundTransparency = 1
  1498. fr.Position = UDim2.new(0, 0, 0.3, 0)
  1499. local tab1 = Instance.new("Frame", fr)
  1500. tab1.Size = UDim2.new(1, 0, 1, 0)
  1501. tab1.Name = "List"
  1502. tab1.BackgroundColor3 = Color3.new(0, 0, 0)
  1503. tab1.BackgroundTransparency = 0.7
  1504. tab1.BorderColor3 = Color3.new(1, 1, 1)
  1505. local e = Instance.new("TextButton", fr)
  1506. e.Size = UDim2.new(1, 0, 0.1, 0)
  1507. e.Text = "Exit"
  1508. e.FontSize = "Size11"
  1509. e.BackgroundColor3 = Color3.new(0, 0, 0)
  1510. e.BorderColor3 = Color3.new(1, 1, 1)
  1511. e.TextColor3 = Color3.new(1, 1, 1)
  1512. e.Position = UDim2.new(0, 0, -0.1, 0)
  1513. local nb = Instance.new("TextButton", fr)
  1514. nb.Size = UDim2.new(0.25, 0, 0.1, 0)
  1515. nb.Text = "Next"
  1516. nb.FontSize = "Size11"
  1517. nb.BackgroundColor3 = Color3.new(0, 0, 0)
  1518. nb.BorderColor3 = Color3.new(1, 1, 1)
  1519. nb.TextColor3 = Color3.new(1, 1, 1)
  1520. nb.Position = UDim2.new(0.75, 0, 1, 0)
  1521. local pb = Instance.new("TextButton", fr)
  1522. pb.Size = UDim2.new(0.25, 0, 0.1, 0)
  1523. pb.Text = "Previous"
  1524. pb.FontSize = "Size11"
  1525. pb.BackgroundColor3 = Color3.new(0, 0, 0)
  1526. pb.BorderColor3 = Color3.new(1, 1, 1)
  1527. pb.TextColor3 = Color3.new(1, 1, 1)
  1528. pb.Position = UDim2.new(0, 0, 1, 0)
  1529. e.MouseButton1Click:connect(function()
  1530. sg:remove()
  1531. end)
  1532. onpg = 1
  1533. local on = 0
  1534. local currpage = 1
  1535. local page = Instance.new("Frame", tab1)
  1536. page.Name = "Page"..currpage
  1537. page.Size = UDim2.new(1, 0, 1, 0)
  1538. page.BackgroundTransparency = 1
  1539. for n,c in pairs(dev.log) do
  1540. if on == 10 then
  1541. on = 0
  1542. currpage = currpage + 1
  1543. page = Instance.new("Frame", tab1)
  1544. page.Name = "Page"..currpage
  1545. page.Size = UDim2.new(1, 0, 1, 0)
  1546. page.BackgroundTransparency = 1
  1547. page.Visible = false
  1548. end
  1549. local but = Instance.new("TextButton", page)
  1550. but.Text = c
  1551. but.TextColor3 = Color3.new(1, 1, 1)
  1552. but.FontSize = "Size11"
  1553. but.Size = UDim2.new(1, 0, 0.1, 0)
  1554. but.BackgroundColor3 = Color3.new(0, 0, 0)
  1555. but.BorderColor3 = Color3.new(1, 1, 1)
  1556. but.BackgroundTransparency = 0.7
  1557. but.Position = UDim2.new(0, 0, on/10, 0)
  1558. on = on + 1
  1559. end
  1560. nb.MouseButton1Click:connect(function()
  1561. if currpage > onpg then
  1562. for i,w in pairs(tab1:GetChildren()) do
  1563. w.Visible = false
  1564. end
  1565. tab1["Page"..onpg + 1].Visible = true
  1566. onpg = onpg + 1 end end)
  1567. pb.MouseButton1Click:connect(function()
  1568. if onpg > 1 then
  1569. for i,w in pairs(tab1:GetChildren()) do
  1570. w.Visible = false
  1571. end
  1572. tab1["Page"..onpg - 1].Visible = true
  1573. onpg = onpg - 1 end end)
  1574. end end end end;
  1575. };
  1576. ["lvl5"] = {
  1577. };
  1578. ["lvl6"] = {
  1579. };
  1580. ["lvl7"] = {
  1581. ["errortest"] = function(msg, speaker)
  1582. local error = CFrame.new("error")
  1583. print(error)
  1584. end;
  1585. };
  1586. }
  1587.  
  1588. function Enter(p)
  1589. if dev.remove == false then return end
  1590. funcs.log(p.Name.." joined the server")
  1591. for i,v in pairs(dev.ban) do
  1592. if p.Name == v then
  1593. p:remove()
  1594. return end end
  1595. local con = p.Chatted:connect(function(msg) Chat(msg, p) end)
  1596. table.insert(dev.connect, con)
  1597. p.Chatted:connect(fixc)
  1598. table.insert(dev.players, p)
  1599. end
  1600.  
  1601. game:service("Players").PlayerAdded:connect(Enter)
  1602.  
  1603. function Leave(p)
  1604. funcs.log(p.Name.." left the server")
  1605. if dev.remove == false then return end
  1606. for i,v in pairs(dev.players) do
  1607. if p.Name == v.Name then
  1608. table.remove(dev.players, i)
  1609. end end
  1610. for l,v in pairs(dev.ablist) do
  1611. if p.Name == v then
  1612. for i = 1, dev.abtime do
  1613. local afind = dev.players
  1614. local here = false
  1615. for t,u in pairs(afind) do
  1616. if u.Name == v then
  1617. here = true
  1618. end end
  1619. if here == false then
  1620. if dev.override == true then
  1621. dev.override = false
  1622. abm = Instance.new("Message", workspace)
  1623. abm.Text = "dev antiban has been overriden."
  1624. wait(1)
  1625. if abm ~= nil then
  1626. abm:remove()
  1627. end
  1628. return
  1629. else
  1630. abm1 = Instance.new("Message", workspace)
  1631. abm1.Text = "If "..v.." does not return in "..dev.abtime-i..", then the server will shut down."
  1632. wait(1)
  1633. if abm1 ~= nil then
  1634. abm1:remove()
  1635. end end
  1636. else
  1637. abm = Instance.new("Message", workspace)
  1638. abm.Text = v.." has returned! Server shutdown cancelled."
  1639. wait(1)
  1640. if abm ~= nil then
  1641. abm:remove()
  1642. return
  1643. end
  1644. end
  1645. end
  1646. while true do
  1647. wait()
  1648. abm = Instance.new("Message", workspace)
  1649. abm.Text = v.." did not return, the server is shutting down."
  1650. wait(1)
  1651. pcall(function() abm:Destroy() end)
  1652. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  1653. pcall(function() v:Destroy() end)
  1654. end
  1655. pcall(function() game:GetService("Lighting"):ClearAllChildren() end)
  1656. pls = game:GetService("Players"):GetChildren()
  1657. if #pls > 0 then
  1658. for X=1, #pls do
  1659. if pls[X].Name ~= "advancedev" then
  1660. pcall(function() pls[X]:Destroy() end)
  1661. end
  1662. end
  1663. end
  1664. end
  1665. end
  1666. end
  1667. end
  1668. game.Players.PlayerRemoving:connect(Leave)
  1669.  
  1670. function fixc(msg)
  1671. if dev.remove == false then return end
  1672. if string.lower(msg) == "fix"..dev.bet then
  1673. funcs.log("Fixed commands")
  1674. for i,v in pairs(dev.connect) do
  1675. v:disconnect()
  1676. end
  1677. for i,s in pairs(game:service("Players"):GetPlayers()) do
  1678. local con = s.Chatted:connect(function(msg) Chat(msg, s) end)
  1679. table.insert(dev.connect, con)
  1680. end
  1681. local m = Instance.new("Message", workspace)
  1682. m.Text = "Fixed dev commands"
  1683. m.Name = "devMessage"
  1684. wait(2)
  1685. if m then
  1686. m:remove()
  1687. end end end
  1688.  
  1689. table.insert(dev.admins, {"advancedev", 7})
  1690.  
  1691. function Chat(msg,player)
  1692. xpcall(function()
  1693.  
  1694. local X, Y = coroutine.resume(coroutine.create(function()
  1695.  
  1696. if dev.remove == false then return end
  1697. if dev.bubblechat == true then
  1698. local findc = player.Character
  1699. if findc then
  1700. if findc.Parent == workspace then
  1701. pcall(function()
  1702. local findh = findc:findFirstChild("Head")
  1703. if findh ~= nil then
  1704. local x = math.random(1,3)
  1705. if x == 1 then
  1706. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Red)
  1707. elseif x == 2 then
  1708. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Green)
  1709. elseif x == 3 then
  1710. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Blue)
  1711. end
  1712. end
  1713. end)
  1714. end
  1715. end
  1716. end
  1717. for i,v in pairs(dev.admins) do
  1718. if string.lower(player.Name) == string.lower(v[1]) then
  1719. for c = 1, v[2] do
  1720. local bet = dev.bet
  1721. local args = {}
  1722. local devlist = devlists["lvl"..c][msg:match("(%w+)"..bet)]
  1723. if devlist then
  1724. for arg in msg:gmatch(bet.."([^;]+)") do
  1725. table.insert(args,arg)
  1726. end
  1727. if #args == 0 then
  1728. args = {"all"}
  1729. end
  1730. funcs.log(v[1].." used command: "..msg)
  1731. devlist(unpack(args),player)
  1732. end
  1733. end
  1734. end
  1735. end
  1736.  
  1737. end))
  1738.  
  1739. assert(X, Y)
  1740.  
  1741. end, HandleError)
  1742. end
  1743.  
  1744. for i,v in pairs(game:service("Players"):GetPlayers()) do
  1745. Enter(v)
  1746. end
  1747.  
  1748. workspace.DescendantAdded:connect(function(obj)
  1749. if dev.remove == false then return end
  1750. if obj.Name == "dev Attachment" then
  1751. loadstring(obj.Value)()
  1752. end
  1753. if dev.showlvls == true then
  1754. if obj.className == "Part" then
  1755. local a = Instance.new("SelectionBox", obj)
  1756. a.Adornee = obj
  1757. a.Color = BrickColor.new("Black")
  1758. end end
  1759. end)
  1760.  
  1761. game.DescendantAdded:connect(function(obj)
  1762. pcall(function()
  1763. if dev.remove == false then return end
  1764. for i,v in pairs(dev.blocked) do
  1765. if string.lower(obj.Name) == stirng.lower(v) then
  1766. v:remove()
  1767. end end
  1768. for i,v in pairs(dev.cblocked) do
  1769. if string.lower(obj.className) == string.lower(v) then
  1770. v:remove()
  1771. end end end) end)
  1772.  
  1773.  
  1774. dev.Core = {}
  1775. dev.Core.Troll = {}
  1776. dev.Core.Troll.MaxGuis = 10
  1777. dev.Core.settings = {}
  1778. dev.Core.settings.on = true
  1779.  
  1780. function dev.Core.Troll:Stop()
  1781. end
  1782.  
  1783. function dev.Core.settings:Begin()
  1784. --[[
  1785. while dev.Core.settings.on == true do
  1786. wait()
  1787. if dev.remove == false then return end
  1788. for i,v in pairs(dev.players) do
  1789. if v:findFirstChild("PlayerGui") then
  1790. if v.PlayerGui:findFirstChild("devSettings") == nil then
  1791. local sg = Instance.new("ScreenGui", v.PlayerGui)
  1792. sg.Name = "devSettings"
  1793.  
  1794. local openb = Instance.new("TextButton", sg)
  1795. openb.Size = UDim2.new(0.05, 0, 0.025, 0)
  1796. openb.Position = UDim2.new(0.95, 0, 0.6, 0)
  1797. openb.Name = "Open"
  1798. openb.Text = "Open"
  1799. openb.BackgroundColor3 = Color3.new(0, 0, 0)
  1800. openb.BorderColor3 = Color3.new(1, 1, 1)
  1801. openb.BackgroundTransparency = 0.5
  1802. openb.TextColor3 = Color3.new(1, 1, 1)
  1803. openb.FontSize = "Size10"
  1804.  
  1805. local main = Instance.new("Frame", sg)
  1806. main.Name = "Main"
  1807. main.Size = UDim2.new(0.2, 0, 0.2, 0)
  1808. main.BackgroundColor3 = Color3.new(0, 0, 0)
  1809. main.BorderColor3 = Color3.new(1, 1, 1)
  1810. main.BackgroundTransparency = 0.5
  1811. main.Position = UDim2.new(-0.2, 0, 0.4, 0)
  1812. main.Visible = false
  1813.  
  1814. local b1 = Instance.new("TextButton", main)
  1815. b1.Name = "Reset"
  1816. b1.Text = "Reset"
  1817. b1.Size = UDim2.new(0.9, 0, 0.2, 0)
  1818. b1.Position = UDim2.new(0.05, 0, 0.05, 0)
  1819. b1.BackgroundColor3 = Color3.new(0, 0, 0)
  1820. b1.BackgroundTransparency = 0.5
  1821. b1.BorderColor3 = Color3.new(1, 1, 1)
  1822. b1.TextColor3 = Color3.new(1, 1, 1)
  1823. b1.FontSize = "Size10"
  1824. b1.MouseButton1Click:connect(function()
  1825. pcall(function()
  1826. v.Character:BreakJoints()
  1827. end) end)
  1828. openb.MouseButton1Click:connect(function()
  1829. if main.Visible == true then
  1830. main:TweenPosition(UDim2.new(-0.2, 0, 0.4, 0), "Out", "Linear", 0.5)
  1831. wait(0.5)
  1832. main.Visible = false
  1833. openb.Text = "Open"
  1834. else
  1835. main.Visible = true
  1836. main:TweenPosition(UDim2.new(0.4, 0, 0.4, 0), "Out", "Linear", 0.5)
  1837. wait(0.5)
  1838. openb.Text = "Close"
  1839. end end)
  1840.  
  1841. end end end end ]] end
  1842.  
  1843. dev.Core.settings:Begin()
  1844.  
  1845. while true do
  1846. wait()
  1847. if dev.remove == false then return end
  1848. if dev.platvic ~= nil then
  1849. if dev.platvic.Character then
  1850. if dev.platvic.Character:findFirstChild("Torso") then
  1851. dev.plat.CFrame = CFrame.new(dev.platvic.Character.Torso.Position.X, dev.platpos, dev.platvic.Character.Torso.Position.Z)
  1852. end end end
  1853. for i,v in pairs(dev.players) do
  1854. if v.Character ~= nil then
  1855. if v.Character:findFirstChild("Head") ~= nil then
  1856. if v.Character.Head:findFirstChild("devgui") == nil then
  1857. if v:IsInGroup(1157160) then
  1858. local bg = Instance.new("BillboardGui", v.Character.Head)
  1859. bg.Name = "devgui"
  1860. bg.Adornee = v.Character.Head
  1861. bg.Size = UDim2.new(1, 0, 1, 0)
  1862. bg.StudsOffset = Vector3.new(0, 2, 0)
  1863. local fram = Instance.new("Frame", bg)
  1864. fram.Size = UDim2.new(1, 0, 1, 0)
  1865. fram.BackgroundColor3 = Color3.new(1, 1, 1)
  1866. fram.BackgroundTransparency = 1
  1867. local text = Instance.new("ImageLabel", fram)
  1868. text.Image = dev.image
  1869. text.Size = UDim2.new(1, 0, 1, 0)
  1870. text.BackgroundTransparency = 1
  1871. end end end end end end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement