Advertisement
iiDev_Script

Untitled

Aug 2nd, 2017
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 80.51 KB | None | 0 0
  1. a = newproxy(true);
  2. getmetatable(a).__tostring = function()
  3. a = getfenv(3);
  4. end;
  5. pcall(warn, a);
  6. a = setfenv(1, a);
  7. local threads = {};
  8. local _coroutine = coroutine;
  9. local old_data;
  10. old_data = {
  11. error = getfenv(1).error;
  12. print = print;
  13. coroutine = _coroutine;
  14. Instance = Instance;
  15. };
  16. coroutine = setmetatable({
  17. create = function(...)
  18. local t = old_data.coroutine.create(...);
  19. table.insert(threads, t);
  20. return t;
  21. end;
  22. wrap = function(f)
  23. return function(...)
  24. local a = {
  25. ...
  26. };
  27. local t = old_data.coroutine.create(function()
  28. f(unpack(a));
  29. end);
  30. table.insert(threads, t);
  31. old_data.coroutine.resume(t);
  32. end;
  33. end;
  34. yield = old_data.coroutine.yield;
  35. resume = old_data.coroutine.resume;
  36. status = old_data.coroutine.status;
  37. }, {
  38. __index = function(self, index)
  39. return rawget(self, index) or pcall(function()
  40. return old_data.coroutine[index]
  41. end);
  42. end;
  43. });
  44. do
  45. local a = select;
  46. local l = error;
  47. local e = workspace;
  48. local d = _G;
  49. local n = setmetatable;
  50. local i = setfenv;
  51. local o = type;
  52. local t = 'Blocked';
  53. e.ChildAdded:connect(function(e)
  54. if (e:findFirstChild'OCServer' or e:findFirstChild'OutputGUI' or e:findFirstChild('ClientController')) and e:IsA'BaseScript' then
  55. e.Disabled = true;
  56. e:Destroy'';
  57. d.OSC_AddServerSideData = n({}, {
  58. __call = i(function(e, ...)
  59. d.OSC_AddServerSideData = nil;
  60. local e = a(1, ...);
  61. if o(e) == 'table' then
  62. local e = e[1];
  63. l(t, 2);
  64. end;
  65. l(t, 2);
  66. end, n({}, {
  67. __index = function(e, e)
  68. l(t, 0);
  69. return;
  70. end;
  71. __newindex = function(e, e, e)
  72. l(t, 0);
  73. return;
  74. end;
  75. __metatable = '_lock';
  76. }));
  77. __metatable = '_lock';
  78. });
  79. end;
  80. end);
  81. end;
  82. Create = function(class)
  83. return function(d)
  84. local x = Instance.new(class);
  85. for i, v in next, d do
  86. pcall(function()
  87. if type(v) == 'function' then
  88. setfenv(v, setmetatable({}, {
  89. __index = function(self, n)
  90. if i == 'localSelf' then
  91. return n;
  92. else
  93. return getfenv()[n];
  94. end;
  95. end;
  96. __metatable = false;
  97. }));
  98. x[i]:connect(function(...)
  99. local args = {
  100. pcall(v, ...)
  101. };
  102. if not args[1] then
  103. error(args[2]);
  104. end;
  105. end);
  106. else
  107. x[i] = v;
  108. end;
  109. end);
  110. end;
  111. return x
  112. end;
  113. end;
  114. local Game = Game;
  115. local Workspace = Workspace;
  116. local Players = Game:GetService("Players");
  117. local Lighting = Game:GetService("Lighting");
  118. local Debris = Game:GetService("Debris");
  119. local RunService = Game:GetService("RunService");
  120. local HttpService = Game:GetService("HttpService");
  121. --local NetworkServer = Game:GetService("NetworkServer");
  122. local ReplicatedStorage = Game:GetService("ReplicatedStorage");
  123. local TeleportService = Game:GetService("TeleportService");
  124. local InsertService = Game:GetService("InsertService");
  125. local MarketplaceService = Game:GetService("MarketplaceService");
  126. local SoundService = Game:GetService("SoundService");
  127. JSONDecode = function(...)
  128. return get'HttpService':JSONDecode(...);
  129. end;
  130. GetInfo = function(...)
  131. local res = game:getService'MarketplaceService':GetProductInfo(...)
  132. if type(res) == 'string' then
  133. return JSONDecode(res);
  134. else
  135. return res;
  136. end;
  137. end;
  138. SCEPTRE = {
  139. Logs = {
  140. System = {};
  141. Chat = {};
  142. Commands = {};
  143. Error = {};
  144. Print = {};
  145. };
  146. ['Defaults'] = {
  147. ['Rank'] = 0,
  148. ['Color'] = 'White',
  149. ['CD'] = false,
  150. ['Tablets']={},
  151. ['Reason'] = 'Guest'
  152. };
  153. IndexedScripts = {};
  154. SupportedSBs = {
  155. [5473427] = 'DSource';
  156. [113456] = 'DSource';
  157. [115159968] = 'source';
  158. [4194680] = 'source';
  159. [56786] = 'DSource';
  160. [20279777] = 'Source';
  161. [54194680] = 'source';
  162. [14578699] = 'DSource';
  163. [155989279] = 'source';
  164. [102598799] = 'DSource';
  165. [136486012] = 'DSource';
  166. [21053279] = 'source';
  167. };
  168. CurrentTime = '%s';
  169. PlaceInfo = GetInfo(game.PlaceId);
  170. SBSource = '%s';
  171. ['Age Limit'] = false;
  172. ['Age Limit Number'] = 100;
  173. --//Times={};
  174. Version = 2.6;
  175. Commands = {};
  176. Colors = {
  177. ["Red"] = Color3.new(1, 0, 0),
  178. ["Yellow"] = Color3.new(1, 1, 0),
  179. ["Blue"] = Color3.new(0, 0, 1),
  180. ["Lime"] = Color3.new(0, 1, 0),
  181. ["Orange"] = Color3.new(1, 0.5, 0);
  182. ["Olive"] = Color3.new(0.5, 1, 0),
  183. ["Green"] = Color3.new(0, 0.5, 0),
  184. ["BlueishGreen"] = Color3.new(0, 1, 0.5),
  185. ["Aqua"] = Color3.new(0, 1, 1),
  186. ["SoftBlue"] = Color3.new(0, 0.5, 1),
  187. ["Purple"] = Color3.new(0.5, 0, 1),
  188. ["Magenta"] = Color3.new(0.75, 0, 0.75),
  189. ["Pink"] = Color3.new(1, 0, 1),
  190. ["White"] = Color3.new(1, 1, 1),
  191. ["Grey"] = Color3.new(0.5, 0.5, 0.5),
  192. ["Black"] = Color3.new(0, 0, 0)
  193. };
  194. ['Ranks']={
  195. [-1]="Banned";
  196. [0]="Guest";
  197. [1]="Tier1";
  198. [2]="Tier2";
  199. [3]="Tier3";
  200. [4]="Tier4";
  201. [5]="Tier5";
  202. [6]="Tier6";
  203. [7]="TIER7";
  204. };
  205. Private_Chats=setmetatable({},{
  206. __newindex=function(self,index,value)
  207. if((type(index)=='number'and index>10)or(#self>=10))then
  208. for _,v in next,self do
  209. if(_==1)then else rawset(self,_-1,v) end;
  210. end;
  211. end;
  212. rawset(self,index,value);
  213. end;
  214. });
  215. ['PrivateServer'] = false;
  216. Session_ID = math.floor(math.ceil(math.random(1, 5002) % 255 * 2.5) + 125.6773) * 75;
  217. Ranked = {
  218. ['sumbuild'] = {
  219. Rank = 7;
  220. Reason = 'Creator';
  221. Tablets = {};
  222. CD = false;
  223. Color = 'Cyan';
  224. };
  225. };
  226. RotationValue = 0;
  227. Commands = {};
  228. Tablets = {};
  229. Bet = '/';
  230. asd = setmetatable({
  231. Game = game;
  232. }, {
  233. __index = function(self, index)
  234. index = tostring(index);
  235. return rawget(self, 'Game'):GetService(index:sub(1, 1):upper()..index:sub(2));
  236. end;
  237. __newindex = function()
  238. error'z';
  239. end;
  240. __call = function(self, index)
  241. return self[index];
  242. end;
  243. __metatable = '';
  244. });
  245. };
  246. function Output(Player,Text,Color,Function)
  247. Color=Color;
  248. local Tablet=Instance.new('Part',workspace);
  249. Tablet.BrickColor=BrickColor.new(Color)
  250. Tablet.Material='Neon';
  251. Tablet.Transparency = .5;
  252. Tablet.CanCollide=false;
  253. Tablet.Anchored=true;
  254. Tablet.Locked=true;
  255. Tablet.Size = Vector3.new(2,2,2);
  256. Tablet.TopSurface=0;
  257. Tablet.BottomSurface=0;
  258. Tablet.FormFactor=3;
  259. Tablet.Locked=true;
  260. ypcall(function()
  261. Tablet.CFrame = Player.Character.Torso.CFrame;
  262. end);
  263. local BH=Instance.new('BoxHandleAdornment',Tablet)
  264. BH.Adornee=Tablet;
  265. BH.Parent=Tablet;
  266. BH.Transparency=.5;
  267. BH.Color=BrickColor.new(Color);
  268. BH.Size=Vector3.new(1.5,1.5,1.5);
  269. local BG=Instance.new('BillboardGui',Tablet);
  270. BG.Size=UDim2.new(10,0,3,0);
  271. BG.StudsOffset = Vector3.new(0, 3, 0);
  272. local BodyGyro = Instance.new('BodyGyro', Tablet);
  273. local TextLabel = Instance.new("TextLabel", BG)
  274. TextLabel.Size = UDim2.new(1,0,1,0)
  275. TextLabel.BackgroundTransparency = 1
  276. TextLabel.TextColor3 = Color3.new(255,255,255)
  277. TextLabel.Text = '' .. tostring(Text or 'lal wat?_?')
  278. TextLabel.TextTransparency = 0
  279. TextLabel.TextStrokeTransparency = 0
  280. TextLabel.TextStrokeColor3 = Tablet.BrickColor.Color;
  281. TextLabel.Font = "SourceSansItalic"
  282. TextLabel.FontSize = "Size18"
  283. local Detector = Instance.new("ClickDetector", Tablet);
  284. Detector.MaxActivationDistance = math.huge;
  285. Detector.MouseClick:connect(function(Invoker)
  286. if Invoker.Name == Player.Name or GetRank(Invoker) > GetRank(Player) then
  287. Tablet.Name = "_REMOVED";
  288. Tablet:Destroy'';
  289. if Function and type(Function) == "function" then
  290. local Success, Result = pcall(Function)
  291. if not Success then
  292. Output(Player, Result, "Really red");
  293. end;
  294. end;
  295. end;
  296. end);
  297. Detector.MouseHoverEnter:connect(function(Invoker)
  298. if Invoker.Name == Player.Name or GetRank(Invoker) > GetRank(Player) then
  299. spawn(function()
  300. for i = (Tablet.Size.x), (Tablet.Size.x+.3),.05 do
  301. Tablet.Size = Vector3.new(i,i,i);
  302. game:service'RunService'.Heartbeat:wait()
  303. Tablet.Transparency = Tablet.Transparency - .1
  304. end
  305. end)
  306. spawn(function()
  307. for i = 1, 1.5, .05 do
  308. BH.Size = Vector3.new(i,i,i)
  309. game:service'RunService'.Heartbeat:wait()
  310. end
  311. end)
  312. end
  313. end)
  314.  
  315. Detector.MouseHoverLeave:connect(function(Invoker)
  316. if Invoker.Name == Player.Name or GetRank(Invoker) > GetRank(Player) then
  317. spawn(function()
  318. for i = 1.7,2,.05 do
  319. Tablet.Transparency = Tablet.Transparency + .1
  320. Tablet.Size = Vector3.new(i,i,i);
  321. game:service'RunService'.Heartbeat:wait()
  322. end
  323. end)
  324. spawn(function()
  325. for i = 1,(BH.Size.x), -.05 do
  326. BH.Size = Vector3.new(i,i,i)
  327. game:service'RunService'.Heartbeat:wait()
  328. end
  329. end)
  330. end
  331. end)
  332. local AncestryConnection;
  333. do
  334. AncestryConnection = Tablet.AncestryChanged:connect(function()
  335. if Tablet.Parent ~= Workspace and Tablet.Name ~= "_REMOVED" then
  336. for index, data in pairs(SCEPTRE.Tablets) do
  337. if data.Tablet == Tablet then
  338. table.remove(SCEPTRE.Tablets, index);
  339. end;
  340. end;
  341. pcall(function()
  342. AncestryConnection:disconnect();
  343. end);
  344. pcall(function()
  345. Tablet:Destroy'';
  346. end);
  347. Output(Player, Text, Color, Function);
  348. else
  349. pcall(function()
  350. AncestryConnection:disconnect();
  351. end);
  352. end;
  353. end);
  354. end;
  355. table.insert(SCEPTRE.Tablets, {
  356. Tablet = Tablet,
  357. BG = BG,
  358. TextLabel = Text,
  359. BodyGyro = BodyGyro,
  360. Box = Selection,
  361. BoxHandleAdornment = BH,
  362.  
  363. Reoutput = function()
  364. return Output(Player, Text, Color, Function);
  365. end,
  366. Player = Player;
  367. });
  368. end;
  369. Lag = function(Player)
  370. local Lag = script.lag:Clone'';
  371. Lag.Parent = Player.Backpack;
  372. end;
  373. function GetSplit(Message)
  374. local split = nil;
  375. for I = 1, #Message do
  376. if (Message:sub(I, I) == '-') then
  377. split = I + 1;
  378. break;
  379. end;
  380. end;
  381. if (split ~= nil) then
  382. return Message:sub(split);
  383. else
  384. return nil;
  385. end;
  386. end;
  387. if SCEPTRE.SupportedSBs[game.PlaceId] then
  388. SCEPTRE.SBSource = SCEPTRE.SupportedSBs[game.PlaceId];
  389. end;
  390. function GetRank(Player)
  391. local PlayerName = tostring(Player)
  392. if SCEPTRE.Ranked[PlayerName] then
  393. return SCEPTRE.Ranked[PlayerName]["Rank"]
  394. end
  395. return 1
  396. end
  397. function GetColor(Player)
  398. local PlayerName = tostring(Player);
  399. if SCEPTRE.Ranked[PlayerName] then
  400. return SCEPTRE.Ranked[PlayerName]["Color"];
  401. end;
  402. return "Lime green";
  403. end;
  404. function AddCommand(Name, Usage, Description, Rank, Function)
  405. table.insert(SCEPTRE.Commands, {
  406. Name = Name,
  407. Usage = Usage,
  408. Description = Description,
  409. Rank = Rank,
  410. Function = Function;
  411. });
  412. end;
  413. function CommandBar(Player)
  414.  
  415. if Player == nil then return end
  416. local rankedData = SCEPTRE.Ranked[Player.Name]
  417.  
  418. if rankedData.CMD == nil then
  419. local CMD = true
  420. end
  421.  
  422. for _,v in pairs(Player:FindFirstChild('PlayerGui'):GetChildren()) do
  423. if v.Name == 'lebar' then
  424. v:remove()
  425. end
  426. end
  427.  
  428. local ScreenGui = Instance.new("ScreenGui", Player:FindFirstChild('PlayerGui'))
  429. ScreenGui.Name = 'lebar'
  430.  
  431. local Frame = Instance.new("Frame",ScreenGui)
  432. Frame.BackgroundColor3 = Color3.new(1,1,1)
  433. Frame.BackgroundTransparency = 1
  434. Frame.BorderColor3 = Color3.new(0,0,0)
  435. Frame.BorderSizePixel = 0
  436. Frame.Position = UDim2.new(0,0,0.5,300)
  437. Frame.Size = UDim2.new(0,400,0,30)
  438. Frame.SizeConstraint = Enum.SizeConstraint.RelativeYY
  439.  
  440. local TextButton = Instance.new("TextButton",Frame)
  441. TextButton.BackgroundColor3 = Color3.new(1,1,1)
  442. TextButton.BackgroundTransparency = 0.69999998807907
  443. TextButton.BorderColor3 = Color3.new(0,0,0)
  444. TextButton.Size = UDim2.new(0.20000000298023,0,1,0)
  445. TextButton.Style = Enum.ButtonStyle.Custom
  446. TextButton.Font = Enum.Font.SourceSans
  447. TextButton.FontSize = Enum.FontSize.Size24
  448. TextButton.Text = "Submit"
  449. TextButton.TextColor3 = Color3.new(1,0,0)
  450.  
  451. local TextBox = Instance.new("TextBox",Frame)
  452. TextBox.Active = true
  453. TextBox.BackgroundColor3 = Color3.new(1,1,1)
  454. TextBox.BackgroundTransparency = 0.69999998807907
  455. TextBox.BorderColor3 = Color3.new(0,0,0)
  456. TextBox.Position = UDim2.new(0.20000000298023,0,0,0)
  457. TextBox.Size = UDim2.new(0.80000001192093,0,1,0)
  458. TextBox.Font = Enum.Font.SourceSans
  459. TextBox.FontSize = Enum.FontSize.Size24
  460. TextBox.Text = "Type command"
  461. TextBox.TextColor3 = Color3.new(0,0,0)
  462. TextButton.MouseButton1Down:connect(function()
  463. OnChatted(Player,TextBox.Text)
  464. end)
  465.  
  466. Frame:TweenPosition(UDim2.new(0.75,0,0.5,300), "Out", "Quad", 1)
  467. end
  468.  
  469. function OnChatted(Player, Message)
  470. if (Message:sub(1, 3) == '/e ') then
  471. Message = Message:sub(4);
  472. end;
  473. table.insert(SCEPTRE.Logs.Chat, {
  474. ['Name'] = Player.Name,
  475. ['Message'] = Message
  476. })
  477. for index, CommandData in pairs(SCEPTRE.Commands) do
  478. if string.sub(Message, 1, string.len(CommandData.Usage .. SCEPTRE.Bet)) == CommandData.Usage .. SCEPTRE.Bet then
  479. if GetRank(Player) >= CommandData.Rank then
  480. local Success, Result = pcall(CommandData.Function, Player, string.sub(Message, 1 + string.len(CommandData.Usage .. SCEPTRE.Bet)))
  481. if not Success then
  482. print(Result)
  483. end
  484. else
  485. Output(Player, "Rank " .. tostring(CommandData.Rank) .. " is needed to execute that command!", "Really red")
  486. end
  487. end
  488. end
  489. end
  490. function OutputAdmins(text, color, on_clicked, on_touched)
  491. table.foreach(Game:getService'Players':getPlayers'', function(_, player)
  492. if (GetRank(player) > 3) then
  493. Output(player, text, color, on_clicked, on_touched);
  494. end;
  495. end);
  496. end;
  497. function Dismiss(Player)
  498. for index, TabletData in pairs(SCEPTRE.Tablets) do
  499. if TabletData.Player == Player then
  500. TabletData.Tablet.Name = "_REMOVED";
  501. TabletData.Tablet:remove'';
  502. end;
  503. end;
  504. end;
  505. local GetTime=function()
  506. local now=tick()%86400;
  507. return string.gsub(string.format('%d:%d:%d',math.modf(now/60/60),math.modf(now/60)%60,math.modf(now)%60),'%d+',function(str)
  508. return #str==1 and'0'..str or str;
  509. end);
  510. end;
  511.  
  512. function ConnectPlayer(Player)
  513. Player:WaitForDataReady()
  514. if Player.Character==nil then
  515. Player:LoadCharacter();
  516. end
  517. if SCEPTRE.Ranked[Player.Name]==nil then
  518. SCEPTRE.Ranked[Player.Name]={Rank=1,Reason='Not defined';Tablets={};CD=false;Color='Cyan';};
  519. end
  520. if (SCEPTRE['PrivateServer'] == true) then
  521. if (GetRank(Player) < 3) then
  522. OutputAdmins(Player.Name.." has been kicked due to private server", "Really red");
  523. pcall(function()
  524. coroutine.wrap(function()
  525. repeat
  526. Player:Kick'[SCEPTRE]: Private server is enabled you may not join!';
  527. wait(.1);
  528. until (Player == nil);
  529. end)();
  530. end);
  531. end;
  532. end;
  533. Output(Player,string.format("Your rank is %s", SCEPTRE.Ranked[Player.Name].Rank), 'White')
  534. Output(Player,"SCEPTRE has loaded", 'Royal purple')
  535. Output(Player,"Click to dismiss!",'Really red',function()
  536. Dismiss(Player)
  537. end)
  538. Output(Player, "Stats",'Lime green',function()
  539. Dismiss(Player)
  540. Output(Player, "Start time: "..GetTime(),'Lime green')
  541. Output(Player, 'Number of people in ranked table: 12','Cyan')
  542. Output(Player, 'Number of commands: '..#SCEPTRE.Commands..'','Cyan')
  543. Output(Player, "Current bet: "..SCEPTRE.Bet,'Royal purple')
  544. end)
  545.  
  546. spawn(function()
  547. end)
  548. pcall(function()
  549. repeat
  550. wait()
  551. until Player.PlayerGui
  552. repeat
  553. wait()
  554. until Player.PlayerGui.SB_OutputGUI
  555. repeat
  556. wait()
  557. until Player.PlayerGui.SB_OutputGUI.Task
  558. repeat
  559. wait()
  560. until Player.PlayerGui.SB_OutputGUI.Task.InputBar
  561. local bar = Player.PlayerGui.SB_OutputGUI.Task.InputBar
  562. local lastthing = ''
  563. local default = bar.Text
  564. bar.Changed:connect(function()
  565. if bar.Text == default then
  566. if lastthing ~= [[Click here or press (') to run a command]] then
  567. OnChatted(Player, lastthing)
  568.  
  569. end
  570. end
  571. lastthing = bar.Text
  572. end)
  573. end)
  574. Player.Chatted:connect(function(Message)
  575. OnChatted(Player, Message);
  576. end);
  577. end;
  578. function GetPlayers(Player, Message, all)
  579. local Result = {};
  580. if Message:match("^!") then
  581. return GetPlayers(Player, Message:sub(2), true);
  582. elseif Message == "me" then
  583. table.insert(Result, Player);
  584. elseif Message == "all" then
  585. for index, player in pairs(Players:GetPlayers'') do
  586. if all or GetRank(player) <= GetRank(Player) then
  587. table.insert(Result, player);
  588. end;
  589. end;
  590. elseif Message == "others" then
  591. for index, player in pairs(Players:GetPlayers'') do
  592. if player ~= Player then
  593. if all or GetRank(player) <= GetRank(Player) then
  594. table.insert(Result, player);
  595. end;
  596. end;
  597. end;
  598. else
  599. for index, player in pairs(Players:GetPlayers'') do
  600. if string.sub(string.lower(player.Name), 1, string.len(Message)) == string.lower(Message) then
  601. if all or GetRank(player) <= GetRank(Player) then
  602. table.insert(Result, player);
  603. end;
  604. end;
  605. end;
  606. end;
  607. return Result;
  608. end;
  609. function Rotate()
  610. SCEPTRE.RotationValue = SCEPTRE.RotationValue + 0.00035
  611. for _, Player in pairs(game.Players:GetPlayers()) do
  612. local Tablets = {}
  613. for index, TabletData in pairs(SCEPTRE.Tablets) do
  614. if TabletData.Player == Player then
  615. local Tablet = TabletData["Tablet"]
  616. if Tablet.Parent == Workspace then
  617. table.insert(Tablets, Tablet)
  618. else
  619.  
  620. end
  621. end
  622. end
  623. for index, Tablet in pairs(Tablets) do
  624. local Position = nil
  625. pcall(function()
  626. Position = Player.Character.Torso.CFrame
  627. end)
  628. if Position == nil then
  629. return
  630. end
  631. local Formula = (index / #Tablets - (0.5 / #Tablets) + (SCEPTRE.RotationValue / (#Tablets / 10))) * math.pi * 2
  632. local Radius = (#Tablets * 0.6) + 5.2
  633. local Angle = math.rad((SCEPTRE.RotationValue * 360) * math.pi)
  634. Tablet.CFrame = CFrame.new((Vector3.new(
  635. math.sin(Formula) * Radius,
  636. math.sin(tick() + index + SCEPTRE.RotationValue / #Tablets, 0.2),
  637. math.cos(Formula) * Radius
  638. ) + Position.p) * 0.7 + Tablet.CFrame.p * 0.3, Position.p) * CFrame.Angles(Angle, Angle, Angle)
  639. end
  640. end
  641. end
  642.  
  643. local UserLookup, UpdateBanlist, BanlistCheck = nil, nil, true
  644. do
  645. local HttpService = game:GetService("HttpService");
  646. function UserLookup(Player)
  647. for k, v in pairs(Banlist) do
  648. if tostring(k) == tostring(Player) or tonumber(v) == tonumber(Player.userId) then
  649. return true
  650. end
  651. end
  652. return false
  653. end
  654. local function UserCheck()
  655. for k, v in pairs(NetworkServer:GetChildren()) do
  656. ypcall(function()
  657. if v:IsA("ServerReplicator") and v:GetPlayer() and UserLookup(v:GetPlayer()) then
  658. Kick(v:GetPlayer())
  659. end
  660. end)
  661. end
  662. end
  663. local function GetBanlist()
  664. local UserPastes = PasteAPI:GetMyPastes()
  665. local Banlist = {}
  666. for k, v in pairs(UserPastes) do
  667. if v.Title == "Banlist" then
  668. local Paste = PasteAPI:GetRawPaste(v.Link)
  669. local JSON = {
  670. ypcall(function()
  671. return HttpService:JSONDecode(Paste)
  672. end)
  673. }
  674. if JSON[1] then
  675. for Plr, Info in pairs(JSON[2]) do
  676. Banlist[tostring(Plr)] = {
  677. Name = tostring(Plr),
  678. Id = tonumber(Info) or 0
  679. }
  680. end
  681. else
  682. error'JSON Decode error on the banlist';
  683. end
  684. break
  685. end
  686. end
  687. return Banlist
  688. end
  689. function UpdateBanlist(Player)
  690. local TempBanlist = GetBanlist() or {}
  691. local UserPastes = PasteAPI:GetMyPastes()
  692. local Banlist = {}
  693. for k, v in pairs(TempBanlist) do
  694. Banlist[tostring(k)] = tonumber(v.Id) or 0
  695. end
  696. Banlist[tostring(Player)] = Player.userId
  697. for k, v in pairs(UserPastes) do
  698. if v.Title == "Banlist" then
  699. PasteAPI:DeletePaste(v.Link)
  700. break
  701. end
  702. end
  703. local JSON = {
  704. ypcall(function()
  705. return HttpService:JSONEncode(Banlist)
  706. end)
  707. }
  708. if JSON[1] then
  709. PasteAPI:NewPaste(tostring(JSON[2]), "Banlist", false, "N", "json")
  710. else
  711. error'JSON encode error on setting the banlist'
  712. end
  713. end
  714. spawn(function()
  715. while wait() do
  716. if BanlistCheck and wait(2) then
  717. Banlist = GetBanlist()
  718. UserCheck()
  719. end
  720. end
  721. end)
  722. end
  723. --[[function ShowCommands(Player,Rank)
  724. Dismiss(Player)
  725. for index,data in next, SCEPTRE.Commands do
  726. if data.Shown == nil or data.Shown == true then
  727. if Rank == nil then
  728. Output(Player, data.Name, GetColor(Player),function()
  729. Dismiss(Player)
  730. if GetRank(Player) >= data.Rank then
  731. Output(Player, "You can use this command", "Lime green")
  732. else
  733. Output(Player, "You cannot use this command", "Really red")
  734. end
  735. Output(Player, string.format("Required Rank: %s", tostring(data.Rank)), "White")
  736. Output(Player, string.format("Name: %s", tostring(data.Name)), "Bright yellow")
  737. if type(data.Usage) ~= "string" then
  738. for i,v in pairs(data.Usage) do
  739. Output(Player,string.format("Usage #"..i..": %s", tostring(v..SCEPTRE.Bet)),"Cyan")
  740. end
  741. else
  742. Output(Player,string.format("Usage: %s", tostring(data.Usage..SCEPTRE.Bet)),"Cyan")
  743. end
  744. Output(Player, string.format("Description: %s", tostring(data.Description)), "Deep blue")
  745. Output(Player, "Dismiss", "Really red",function()
  746. Dismiss(Player)
  747. end)
  748. Output(Player, "Back", "Navy blue",function()
  749. OnChatted(Player,'cmds/')
  750. end)
  751. end)
  752. else
  753. if data.Rank == Rank then
  754. Output(Player, data.Name, GetColor(Player), function()
  755. Dismiss(Player)
  756. if GetRank(Player) >= data.Rank then
  757. Output(Player, "You can use this command", "Lime green")
  758. else
  759. Output(Player, "You cannot use this command", "Really red")
  760. end
  761. Output(Player, string.format("Required Rank: %s", tostring(data.Rank)), "White")
  762. Output(Player, string.format("Name: %s", tostring(data.Name)), "Bright yellow")
  763. if type(data.Usage) ~= "string" then
  764. for i,v in pairs(data.Usage) do
  765. Output(Player,string.format("Usage #"..i..": %s", tostring(SCEPTRE.Bet..v)), "Cyan")
  766. end
  767. else
  768. Output(Player,string.format("Usage: %s", tostring(SCEPTRE.Bet..data.Usage)), "Cyan")
  769. end
  770. Output(Player, string.format("Description: %s", tostring(data.Description)), "Deep blue")
  771. Output(Player, "Dismiss", "Really red",function()
  772. Dismiss(Player)
  773. end)
  774. Output(Player, "Back", "Navy blue", function()
  775. OnChatted(Player,'cmds/')
  776. end)
  777. end)
  778. end
  779. end
  780. end
  781. end
  782. Output(Player, "Dismiss", "Really red",function()
  783. Dismiss(Player)
  784. end)
  785. end]]
  786. function ShowCommands(Player)--//created by areno
  787. Dismiss(Player)
  788. Output(Player, "Show commands you can do", GetColor(Player),function()
  789. Dismiss(Player)
  790. for index, data in next, SCEPTRE.Commands do
  791. if GetRank(Player) >= data.Rank then
  792. Output(Player, string.format("%s [%s]", data.Name, data.Rank), GetColor(Player), function()
  793. Dismiss(Player)
  794. Output(Player, string.format("Name: %s", data.Name),GetColor(Player))
  795. Output(Player, string.format("Rank: %s", tostring(data.Rank)),GetColor(Player))
  796. Output(Player, string.format("Description: %s", data.Description),GetColor(Player))
  797. Output(Player, string.format("Usage: \n %s", data.Usage),GetColor(Player))
  798. end)
  799. end
  800. end
  801. end)
  802. Output(Player, "Show all commands", GetColor(Player), function()
  803. Dismiss(Player)
  804. for index, data in next, SCEPTRE.Commands do
  805. Output(Player, string.format("%s [%s]", data.Name, data.Rank), GetColor(Player), function()
  806. Dismiss(Player)
  807. Output(Player, string.format("Name: %s", data.Name),GetColor(Player))
  808. Output(Player, string.format("Rank: %s", tostring(data.Rank)),GetColor(Player))
  809. if GetRank(Player) >= data.Rank then
  810. Output(Player, "You can run this command", "Lime green")
  811. else
  812. Output(Player, "You can't run this command", "Really red")
  813. end
  814. Output(Player, string.format("Description: %s", data.Description),GetColor(Player))
  815. Output(Player, string.format("Usage: \n %s", data.Usage),GetColor(Player))
  816. end)
  817. end
  818. end)
  819. Output(Player, "Search commands", GetColor(Player), function()
  820. Dismiss(Player)
  821. local stop = false;
  822. Output(Player, "Chat the text you want to search for now!",'Really red')
  823. Player.Chatted:connect(function(cht)
  824. if stop == false then
  825. stop = true
  826. Dismiss(Player)
  827. for index, data in next, SCEPTRE.Commands do
  828. if string.match(data.Description:lower(), cht:lower()) then
  829. Output(Player, string.format("%s [%s]", data.Name, data.Rank), GetColor(Player), function()
  830. Dismiss(Player)
  831. Output(Player, string.format("Name: %s", data.Name),GetColor(Player))
  832. Output(Player, string.format("Rank: %s", tostring(data.Rank)),GetColor(Player))
  833. if GetRank(Player) >= data.Rank then
  834. Output(Player, "You can run this command", "Lime green")
  835. else
  836. Output(Player, "You can't run this command", "Really red")
  837. end
  838. Output(Player, string.format("Description: %s", data.Description),GetColor(Player))
  839. Output(Player, string.format("Usage: \n %s", data.Usage),GetColor(Player))
  840. end)
  841. end
  842. end
  843. end
  844. end)
  845. end)
  846. end
  847. function all()
  848. local allp = {}
  849. for i,v in pairs(game:GetService('NetworkServer'):GetChildren()) do
  850. ypcall(function()
  851. if v:IsA("ServerReplicator") then
  852. table.insert(allp, v:GetPlayer())
  853. end
  854. end)
  855. end
  856. return allp
  857. end
  858. function DisplayPlayers(Player)
  859. Dismiss(Player)
  860. for i,v in pairs(all()) do
  861. if v.Parent ~= nil then
  862. Output(Player, v.Name,"Bright Yellow",function()
  863. Dismiss(Player)
  864. Output(Player, "Name : "..v.Name,"Lime green")
  865. Output(Player, "Builders Club Type : "..v.MembershipType.Name,"Cyan")
  866. Output(Player, "Account Age : "..v.AccountAge.." days old","Royal purple")
  867. Output(Player, "Back","Deep blue",function() DisplayPlayers(Player) end)
  868. Output(Player, "Lag","Really red",function() Lag(v) end)
  869. Output(Player, "Kick", "Really red",function()
  870. Dismiss(Player)
  871. Kick(v)
  872. end)
  873.  
  874. end)
  875. else
  876. Output(Player, "[Nil]: "..v.Name, "Really red",function()
  877. Dismiss(Player)
  878. Output(Player, "[Nil]: "..v.Name, "Really red")
  879. Output(Player, "Builders Club Type : "..v.MembershipType.Name,'Royal purple')
  880. Output(Player, "Account Age : "..v.AccountAge.." days old",'Cyan')
  881. Output(Player, "Back","Deep blue",function() DisplayPlayers(Player) end)
  882. Output(Player, "Nil Crash", "Really red",function()
  883. Kick(v)
  884. Dismiss(Player)
  885. end)
  886. end)
  887. end
  888. end
  889. --
  890. end
  891. function Kick(Player)
  892. local Event = Instance.new("RemoteEvent", Workspace)
  893. Event:FireClient(Player, {
  894. string.rep("asd", 2e5 + 5)
  895. })
  896. game.Debris:AddItem(Event, 1)
  897. end
  898. function RemoveMusic(Object)
  899. if Object:IsA('Sound') or Object.ClassName == 'Sound' then
  900. Object:Destroy'';
  901. else
  902. for i, v in pairs(Object:GetChildren()) do
  903. if v:IsA("Sound") or v.ClassName == 'Sound' then
  904. v:Destroy'';
  905. end;
  906. RemoveMusic(v);
  907. end;
  908. end;
  909. end;
  910. funcs = {};
  911. funcs.gc = function(Player)
  912. Dismiss(Player)
  913. wait(0.5)
  914. coroutine.resume(coroutine.create(function()
  915. Output(Player, 'View', 'Cyan', function()
  916. Dismiss(Player)
  917. wait(0.5)
  918. for _, data in next, SCEPTRE.Logs.Chat do
  919. Output(Player, "["..data.Name.."]: "..data.Message, GetColor(game.Players:FindFirstChild(data.Name)))
  920. end
  921. Output(Player, 'Back', 'Lime green', function()
  922. funcs.gc(Player)
  923. end)
  924. Output(Player, 'Dismiss', 'Really red', function()
  925. Dismiss(Player)
  926. end)
  927. end)
  928. Output(Player, 'Clear', 'White', function()
  929. SCEPTRE.Logs.Chat = {}
  930. Dismiss(Player)
  931. end)
  932. Output(Player, 'Dismiss', 'Really red', function()
  933. Dismiss(Player)
  934. end)
  935. end))
  936. end
  937. funcs.GetTime = function(ticked, milFormat)--//Gets the current tick time and converts it to military time
  938. local floor = math.floor;
  939. ticked = ticked or tick();
  940. local days, hours, minutes, seconds;
  941. days = floor(ticked / 86400);
  942. hours = floor( (ticked - (days * 86400)) / 3600 );
  943. minutes = floor( ((ticked - (days * 86400)) - (hours * 3600)) / 60 );
  944. seconds = floor( (((ticked - (days * 86400)) - (hours * 3600)) - (minutes * 60)) );
  945. local strFormat = '%s:%s:%s';
  946. local function real(s)
  947. if (rawequal(s, hours) and (not milFormat) and hours > 12) then
  948. s = math.abs(12 - s);
  949. end;
  950. local f = tostring(s);
  951. return string.rep('0', 2 - f:len())..f;
  952. end;
  953. return string.format(strFormat, real(hours), real(minutes), real(seconds));
  954. end;
  955.  
  956. funcs.ball = function(size, color)
  957. ypcall(function()
  958. math.randomseed(tick() % math.rad(math.pi) / 1e3);
  959. local parts = {};
  960. local part = Instance.new('Part', Game:getService'Workspace');
  961. part.CFrame = CFrame.new(0, 10 * size, 10);
  962. part.Size = Vector3.new(2, 2, 2);
  963. part.Anchored = true;
  964. part.CanCollide = false;
  965. part.Shape = 'Ball';
  966. part.BrickColor = BrickColor.new(color);
  967. part.BottomSurface = 'Smooth';
  968. part.TopSurface = 'Smooth';
  969. part.Transparency = 0.6;
  970. for v = -180, 180, 8 do
  971. for i = -180, 0, 24 do
  972. local part2 = Instance.new('Part', Game:getService'Workspace');
  973. part2.FormFactor = 'Custom';
  974. part2.CFrame = CFrame.new(0, 10 * size, 10) * CFrame.Angles(math.rad(i), math.rad(v), 0) * CFrame.new(0, 0, 7.5 * size);
  975. part2.Size = Vector3.new(1 * size, 2.8 * size, 1 * size);
  976. part2.Anchored = true;
  977. part2.BottomSurface = 'Smooth';
  978. part2.Color = Color3.new(color);
  979. part2.TopSurface = 'Smooth';
  980. part2.BrickColor = BrickColor.new(math.abs(math.sin(i * 6)));
  981. local weld = Instance.new('Weld', part2);
  982. weld.Part0 = part;
  983. weld.Part1 = part2;
  984. weld.C0 = CFrame.new() * CFrame.Angles(math.rad(i), math.rad(v), 0) * CFrame.new(0, 0, 7.5 * size);
  985. table.insert(parts, part2);
  986. end;
  987. wait();
  988. end;
  989. for _, found_part in next, (parts) do
  990. found_part.Anchored = false;
  991. end;
  992. part.Anchored = false;
  993. end);
  994. end;
  995. funcs.setr = function(plr, rank)
  996. if type(plr) == "userdata" then
  997. plr = plr.Name
  998. elseif type(plr) == "string" then
  999. plr = plr
  1000. else
  1001. plr = tostring(plr)
  1002. end
  1003. for _, v in pairs(SCEPTRE['Ranked']) do
  1004. if v['Name']:lower():sub(1, #plr) == plr:lower() then
  1005. v['Rank'] = tonumber(rank)
  1006. end
  1007. end
  1008. return
  1009. end
  1010. funcs.getCHStatus = function(plr)--//v
  1011. for i, v in pairs(SCEPTRE.Ranked) do
  1012. if v['Name'] == plr.Name then
  1013. if v['CD'] == true then
  1014. return true
  1015. end
  1016. end
  1017. end
  1018. end
  1019. funcs.chatGUI = function(Player)--//created by hrocks
  1020. coroutine.resume(coroutine.create(function()
  1021. wait(5)
  1022. pcall(function()
  1023. Player.Chatted:connect(function(msg)
  1024. if Player.Character then
  1025. if Player.Character:FindFirstChild("Head") then
  1026. pcall (function()
  1027. if Player.Character.Head:FindFirstChild("BillboardGui") then
  1028. Player.Character.Head.BillboardGui:Destroy();
  1029. end
  1030. pcall (function()
  1031. if GetRank(Player) > 2 then
  1032. if Player.Character.Head:FindFirstChild("BillboardGui") then
  1033. Player.Character.Head.BillboardGui:Destroy();
  1034. end
  1035. if funcs.getCHStatus(Player) then
  1036. pcall (function()
  1037. if Player.Character.Head:FindFirstChild("BillboardGui") then
  1038. Player.Character.Head.BillboardGui:Destroy();
  1039. end
  1040. local bil = Instance.new("BillboardGui", Player.Character.Head)
  1041. bil.Size = UDim2.new(9, 0 , 1.25, 0)
  1042. bil.StudsOffset = Vector3.new(0, 2.2, 0)
  1043. bil.Adornee = Player.Character.Head
  1044. local txt = Instance.new("TextLabel", bil)
  1045. txt.Size = UDim2.new(1, 0, 1, 0)
  1046. txt.BackgroundTransparency = 1
  1047.  
  1048. txt.Text = ""
  1049. txt.Font = "SourceSansBold"
  1050. txt.TextStrokeTransparency = .75
  1051. bil.AlwaysOnTop = true
  1052.  
  1053. game["Run Service"].Stepped:connect(function()
  1054. if msg:sub(1, 1) ~= "!" then
  1055. txt.TextScaled = true
  1056. txt.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
  1057. txt.TextColor3 = Color3.new(math.random(), math.random(), math.random())
  1058. txt.FontSize = "Size48"
  1059. end
  1060. end)
  1061. if msg:sub(1, 1) == "!" then
  1062. txt.TextScaled = false
  1063. local tx = msg:sub(2)
  1064. txt.TextColor3 = Color3.new(255, 0, 0)
  1065. txt.Text = string.upper(tx)
  1066. txt.FontSize = "Size48"
  1067. wait(5)
  1068. bil:Destroy()
  1069. elseif msg:sub(1, 3) == "/e " then
  1070. return
  1071. elseif msg:sub(1, 3) ~= "/e " then
  1072. local msg = msg
  1073. su = 0
  1074. pcall (function()
  1075. repeat
  1076. wait()
  1077. su = su + 1
  1078. txt.Text = Player.Name..": "..msg:sub(1, su)
  1079. until tonumber(su) == tonumber(#msg)
  1080. end)
  1081. su = 0
  1082. wait(2)
  1083. txt:Destroy();
  1084. bil:Destroy();
  1085. end
  1086. end)
  1087. end
  1088. end
  1089. end)
  1090. end)
  1091.  
  1092. end
  1093. end
  1094. end)
  1095. end)
  1096. end))
  1097. end
  1098. funcs.RecursiveChildren=function(Object,SearchType,Search)
  1099. if(not pcall(function()Object:IsA'Part'end))then return {}; end;
  1100. Object=Object or Game;
  1101. if(SearchType==nil)then SearchType='all'end;
  1102. local rec={};
  1103. for _,object in next,Object:children()do
  1104. if(SearchType=='all')then table.insert(rec,object)end;
  1105. if(SearchType=='match')then if(object.Name:match(Search))then table.insert(rec,object)end end;
  1106. if(SearchType=='class')then if(object.className:lower():sub(1,#Search)==Search:lower())then table.insert(rec,object)end end;
  1107. if(SearchType=='name')then if(object.Name:lower():sub(1,#Search)==Search:lower())then table.insert(rec,object)end;end;
  1108. if(SearchType=='isA')then if(pcall(function()return object:isA(Search)end))then table.insert(rec,object)end end;
  1109. for _,v in next,funcs.RecursiveChildren(object,SearchType,Search)do
  1110. table.insert(rec,v);
  1111. end;
  1112. end;
  1113. return rec;
  1114. end;
  1115. funcs.blankGui=function(Parent,Name,Title,Position,Size,Base_Color,Buttons,BodyText)
  1116. Position=Position or UDim2.new(.25,0,.25,0);
  1117. Size=Size or UDim2.new(.5,0,.25,0);
  1118. Base_Color=Base_Color or{Color3.new(.6,.6,.6),Color3.new(0,0,.9)};
  1119. Buttons=Buttons or{};
  1120. local closing,minimized,full_screen=false,false,false;
  1121. local screen=Instance.new'ScreenGui';
  1122. screen.Name=Name;
  1123. screen.Parent=Parent;
  1124. local frame=Instance.new('Frame',screen);
  1125. frame.BackgroundColor3=Base_Color[1];
  1126. frame.Size=Size;
  1127. frame.Position=Position;
  1128. frame.Draggable=true;
  1129. frame.Active=true;
  1130. frame.ClipsDescendants=true;
  1131. local title=Instance.new('TextLabel',frame);
  1132. title.Size=UDim2.new(.99,0,0,20);
  1133. title.Position=UDim2.new(.005,0,0,2.5);
  1134. title.BackgroundColor3=Base_Color[2];
  1135. title.TextColor=BrickColor.new'White';
  1136. title.FontSize='Size12';
  1137. title.TextScaled=true;
  1138. title.TextWrapped=true;
  1139. title.TextXAlignment='Center';
  1140. title.Text=Title;
  1141. title.TextXAlignment='Left';
  1142. local exit=Instance.new('TextButton',title);
  1143. exit.Size=UDim2.new(0,15,0,15);
  1144. exit.BackgroundColor3=Base_Color[1];
  1145. exit.FontSize='Size12';
  1146. exit.TextColor=BrickColor.new'Really red';
  1147. exit.Text='X';
  1148. exit.ZIndex=2;
  1149. exit.BorderColor3=Base_Color[1];
  1150. exit.Position=UDim2.new(1,-17.5,0,2.5);
  1151. exit.MouseButton1Click:connect(function()
  1152. if(not closing)then
  1153. closing=true;
  1154. coroutine.wrap(function()
  1155. local X=frame.Size.X;
  1156. local Off,Scale=X.Offset,X.Scale;
  1157. frame:TweenSize(UDim2.new(Scale,Off,0,0),'Out','Quad',1,true);
  1158. wait(1);
  1159. screen:Destroy();
  1160. end)();
  1161. end;
  1162. end);
  1163. local minimize=exit:clone();
  1164. minimize.Text='-';
  1165. minimize.TextColor=BrickColor.new'Black';
  1166. minimize.Position=UDim2.new(1,-40,0,2.5);
  1167. minimize.MouseButton1Click:connect(function()
  1168. local size;
  1169. if(closing)then return end;
  1170. if(minimized==true)then
  1171. if(full_screen)then
  1172. size=UDim2.new(1,0,1,0);
  1173. else
  1174. size=Size;
  1175. end;
  1176. else
  1177. size=UDim2.new(.5,0,.05);
  1178. end;
  1179. frame:TweenSize(size,'Out','Quad',1,true);
  1180. if(full_screen)then
  1181. frame.Position=UDim2.new();
  1182. else
  1183. frame.Position=Position;
  1184. end;
  1185. minimized=not minimized;
  1186. end);
  1187. minimize.Parent=title;
  1188. local full=minimize:clone();
  1189. full.Text='+';
  1190. full.Parent=title;
  1191. full.Position=UDim2.new(1,-62.5,0,2.5);
  1192. full.MouseButton1Click:connect(function()
  1193. local size;size=Size;
  1194. full_screen=not full_screen;
  1195. if(full_screen)then
  1196. size=UDim2.new(1,0,1,0);
  1197. end;
  1198. if(full_screen)then
  1199. frame.Position=UDim2.new();
  1200. else
  1201. frame.Position=Position;
  1202. end;
  1203. frame:TweenSize(size,'Out','Quad',1,true);
  1204. end);
  1205. local body=Instance.new('TextLabel',frame);
  1206. body.BackgroundTransparency=1;
  1207. body.TextWrapped=true;
  1208. body.FontSize='Size24';
  1209. body.Size=UDim2.new(1,0,.75,0);
  1210. body.Font='SourceSans';
  1211. body.TextColor3=BrickColor.new'Black'.Color;
  1212. body.Position=UDim2.new(0,0,0,45);
  1213. if(BodyText)then
  1214. body.Text=BodyText;
  1215. end;
  1216. return screen,frame,title,exit,body;
  1217. end;
  1218. funcs.override = function(Player)
  1219. if Player and Player:findFirstChild'PlayerGui' then
  1220. if GetRank(Player.Name) == 7 then
  1221. Output(Player, 'Your rank is already 7, you can\'t override.', 'Really red');
  1222. return;
  1223. end;
  1224. local sha256 = require(174943843);
  1225. local mg = Instance.new('ScreenGui', Player.PlayerGui);
  1226. local fr = Instance.new("Frame", mg);
  1227. fr.Style = "RobloxRound";
  1228. fr.Position = UDim2.new(1, 0, 0.4, 0);
  1229. fr.Size = UDim2.new(0.4, 0, 0.2, 0);
  1230. fr:TweenPosition(UDim2.new(0.3, 0, 0.4, 0), 'Out', 'Sine', 1, true);
  1231. local tl = Instance.new("TextBox", fr);
  1232. tl.BackgroundTransparency = 1;
  1233. tl.Text = 'Type override code';
  1234. tl.TextColor = BrickColor.new("Royal purple");
  1235. tl.Size = UDim2.new(1, 0, 1, 0);
  1236. tl.Font = 'SourceSansLight';
  1237. tl.FontSize = 'Size24';
  1238. local but = Instance.new("TextButton", mg);
  1239. but.Style = 2;
  1240. but.Size = UDim2.new(0.1, 0, 0.1, 0);
  1241. but.Position = UDim2.new(1.4, 0, 0.4, 0)
  1242. but:TweenPosition(UDim2.new(0.7, 0, 0.4, 0), 'Out', 'Sine', 1, true)
  1243. but.Text = 'Submit code'
  1244. but.TextColor = BrickColor.new("Lime green")
  1245. but.MouseButton1Down:connect(function()
  1246. if sha256.hash(tl.Text) == ("b31e6181b16449681e3cf2a7424d41d190aeb158642f852ce61985c67f2c4e0f") then
  1247. tl.Text = 'Override successful'
  1248. Output(Player, 'Congratulations, your rank is 7 due to override', 'Really red')
  1249. funcs.setr(Player,7);
  1250. wait(0.3);
  1251. fr:TweenPosition(UDim2.new(1, 0, 0.4, 0), 'Out', 'Sine', 1, true)
  1252. but:TweenPosition(UDim2.new(1.4, 0, 0.4, 0), 'Out', 'Sine', 1, true)
  1253. coroutine.wrap(function()
  1254. wait(1)
  1255. mg:Destroy()
  1256. end)()
  1257. else
  1258. tl.Text = 'Wrong code'
  1259. wait(0.3)
  1260. fr:TweenPosition(UDim2.new(1, 0, 0.4, 0), 'Out', 'Sine', 1, true)
  1261. but:TweenPosition(UDim2.new(1.4, 0, 0.4, 0), 'Out', 'Sine', 1, true)
  1262. coroutine.wrap(function()
  1263. wait(1)
  1264. mg:Destroy()
  1265. end)()
  1266. end
  1267. end)
  1268. end
  1269. end
  1270. funcs.hint = function(str)
  1271. for i,v in pairs(game.Players:GetPlayers()) do
  1272. coroutine.wrap(function()
  1273. if not v:findFirstChild("PlayerGui") then Instance.new("PlayerGui",v) end
  1274. local g = Instance.new("ScreenGui",v.PlayerGui)
  1275. g.Name="Hint"
  1276. local bg = Instance.new("Frame",g)
  1277. bg.BackgroundColor3=Color3.new(0,0,0)
  1278. bg.BackgroundTransparency=.5
  1279. bg.BorderColor3=Color3.new(0,0,0)
  1280. bg.Name="Bg"
  1281. bg.Size=UDim2.new(1,0,0.05,0)
  1282. bg.Visible=false
  1283. local txt = Instance.new("TextLabel",bg)
  1284. txt.BackgroundTransparency=1
  1285. txt.Name="Text"
  1286. txt.Size=UDim2.new(1,0,1,0)
  1287. txt.Font="ArialBold"
  1288. txt.TextColor3=Color3.new(255,255,255)
  1289. txt.TextScaled=true
  1290. txt.TextWrapped=true
  1291. txt.TextStrokeColor3=Color3.new(0,0,0)
  1292. txt.TextStrokeTransparency=0
  1293. txt.Text=str
  1294.  
  1295. bg.Position=UDim2.new(-1,0,0,0)
  1296.  
  1297. txt.Visible=false
  1298. txt.TextStrokeTransparency=1
  1299. txt.TextTransparency=1
  1300.  
  1301. bg.Visible=true
  1302. bg:TweenPosition(UDim2.new(0,0,0,0),"In","Sine",1)
  1303. wait(1)
  1304. bg.Position=UDim2.new(0,0,0,0) -- just in case
  1305. wait(.5)
  1306. txt.Visible=true
  1307. for i = 100,0,-5 do
  1308. txt.TextTransparency=i/100
  1309. txt.TextStrokeTransparency=i/100
  1310. wait()
  1311. end
  1312. wait(3)
  1313. for i = 0,100,5 do
  1314. txt.TextTransparency=i/100
  1315. txt.TextStrokeTransparency=i/100
  1316. wait()
  1317. end
  1318. bg:TweenPosition(UDim2.new(1,0,0,0),"Out","Quart",.5)
  1319. wait(.5)
  1320. g:Destroy()
  1321. end)()
  1322. end
  1323. end
  1324. funcs.Fart = function(Character)
  1325. local FartPart = Instance.new("Part", Character)
  1326. FartPart.BrickColor = BrickColor.new("Institutional white");
  1327. FartPart.Material = Enum.Material.SmoothPlastic
  1328. FartPart.Transparency = 1;
  1329. FartPart.Name = "Fart"
  1330. FartPart.FormFactor = Enum.FormFactor.Symmetric
  1331. FartPart.Size = Vector3.new(2, 1, 1);
  1332. FartPart.CFrame = Character.Torso.CFrame * CFrame.new(0, -1, .75) * CFrame.Angles(math.rad(-90), 0, 0);
  1333. FartPart.CanCollide = false;
  1334. FartPart.Locked = true;
  1335. FartPart.BottomSurface = Enum.SurfaceType.Smooth
  1336. FartPart.TopSurface = Enum.SurfaceType.Smooth
  1337. local Weld = Instance.new("Weld", FartPart)
  1338. Weld.C0 = FartPart.CFrame:inverse();
  1339. Weld.C1 = Character.Torso.CFrame:inverse();
  1340. Weld.Part0 = FartPart
  1341. Weld.Part1 = Character.Torso
  1342. local FartSmoke = Instance.new("Smoke", FartPart)
  1343. FartSmoke.RiseVelocity = -5;
  1344. FartSmoke.Size = .1;
  1345. FartSmoke.Color = Color3.new(70 / 255, 100 / 255, 30 / 255);
  1346. FartSmoke.Opacity = 1;
  1347. wait(3);
  1348. FartPart:Destroy();
  1349. end
  1350. funcs.unbox = function(Message)
  1351. local br = {
  1352. en = nil;
  1353. };
  1354. local Breakout;
  1355. do
  1356. Breakout = getfenv(1);
  1357. local CurrentEnvironment = getfenv(1);
  1358. local Fake_Object = newproxy(true);
  1359. local Obj_Meta = getmetatable(Fake_Object);
  1360. function Obj_Meta.__tostring(...)
  1361. Breakout = getfenv(3);
  1362. end;
  1363.  
  1364. local Check = {
  1365. pcall(warn, Fake_Object)
  1366. }
  1367. if not Check[1] then
  1368. assert(unpack(Check));
  1369. end;
  1370. br.en = Breakout;
  1371. Breakout = br.en;
  1372. getfenv()['Breakout'] = br.en;
  1373. end;
  1374. br.en(Message)
  1375. end;
  1376. funcs.pp = function(p)
  1377. -- thanks rias<3
  1378. local plr = p.Character
  1379. local Shaft = Instance.new("Part", plr)
  1380. Shaft.Name = 'Shaft'
  1381. Shaft.Size = Vector3.new(1, 2.5, 1)
  1382. Shaft.TopSurface = 0
  1383. Shaft.BottomSurface = 0
  1384. Shaft.CanCollide = true
  1385. local Cyln = Instance.new("CylinderMesh", Shaft)
  1386. Cyln.Scale = Vector3.new(0.5, 0.7, 0.5)
  1387. Instance.new("Weld", plr)
  1388. plr.Weld.Part0 = plr.Torso
  1389. plr.Weld.Part1 = plr.Shaft
  1390. plr.Weld.C0 = CFrame.new(0, -0.35, -0.9) * CFrame.fromEulerAnglesXYZ(2.2, 0, 0)
  1391. Shaft.BrickColor = BrickColor.new("Pastel brown")
  1392. local Tip = Instance.new("Part", plr)
  1393. Tip.Name = 'Tip'
  1394. Tip.TopSurface = 0
  1395. Tip.BottomSurface = 0
  1396. Tip.Size = Vector3.new(1, 1, 1)
  1397. Tip.CanCollide = true
  1398. Tip.Touched:connect(function(prt)
  1399. if prt.Parent ~= plr then
  1400. spawn(function()
  1401. for i = 1, 5 do
  1402. local pert = Instance.new("Part", plr)
  1403. pert.CFrame = CFrame.new(prt.Position)
  1404. pert.CanCollide = true
  1405. local mesh = Instance.new("BlockMesh", pert)
  1406. mesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  1407. pert.BrickColor = BrickColor.new("White")
  1408. end
  1409. end)
  1410. end
  1411. end)
  1412. local Cyln2 = Instance.new("SpecialMesh", Tip)
  1413. Cyln2.MeshType = 'Sphere'
  1414. Cyln2.Scale = Vector3.new(0.6, 0.6, 0.6)
  1415. Instance.new("Weld", plr).Name = 'Weld2'
  1416. plr.Weld2.Part0 = plr.Shaft
  1417. plr.Weld2.Part1 = plr.Tip
  1418. plr.Weld2.C0 = CFrame.new(0, -.9, 0)
  1419. Tip.BrickColor = BrickColor.new("Pink")
  1420. -----
  1421. Ball1 = Instance.new("Part", plr)
  1422. Ball1.Name = 'Ball1'
  1423. Ball1.Size = Vector3.new(1, 1, 1)
  1424. Ball1.TopSurface = 0
  1425. Ball1.BottomSurface = 0
  1426. Cyln3 = Instance.new("SpecialMesh", Ball1)
  1427. Cyln3.MeshType = 'Sphere'
  1428. Cyln3.Scale = Vector3.new(0.4, 0.4, 0.4)
  1429. Instance.new("Weld", plr).Name = 'Weld3'
  1430. plr.Weld3.Part0 = plr.Shaft
  1431. plr.Weld3.Part1 = plr.Ball1
  1432. plr.Weld3.C0 = CFrame.new(0.225, .4, 0.2)
  1433. Ball1.BrickColor = BrickColor.new("Pastel brown")
  1434. -----
  1435. Ball2 = Instance.new("Part", plr)
  1436. Ball2.Name = 'Ball2'
  1437. Ball2.Size = Vector3.new(1, 1, 1)
  1438. Ball2.TopSurface = 0
  1439. Ball2.BottomSurface = 0
  1440. Cyln3 = Instance.new("SpecialMesh", Ball2)
  1441. Cyln3.MeshType = 'Sphere'
  1442. Cyln3.Scale = Vector3.new(0.4, 0.4, 0.4)
  1443. Instance.new("Weld", plr).Name = 'Weld4'
  1444. plr.Weld4.Part0 = plr.Shaft
  1445. plr.Weld4.Part1 = plr.Ball2
  1446. plr.Weld4.C0 = CFrame.new(-0.225, .4, 0.2)
  1447. Ball2.BrickColor = BrickColor.new("Pastel brown")
  1448. end
  1449. funcs.scale = function(p, size)
  1450. local pchar = p.Character
  1451. if pchar then
  1452. local function scale(chr, scl)
  1453.  
  1454. for _, v in pairs(pchar:GetChildren()) do
  1455. if v:IsA("Hat") then
  1456. v:Clone()
  1457. v.Parent = game.Lighting
  1458. end
  1459. end
  1460.  
  1461. local Head = chr['Head']
  1462. local Torso = chr['Torso']
  1463. local LA = chr['Left Arm']
  1464. local RA = chr['Right Arm']
  1465. local LL = chr['Left Leg']
  1466. local RL = chr['Right Leg']
  1467. local HRP = chr['HumanoidRootPart']
  1468.  
  1469. wait(0.1)
  1470.  
  1471. Head.formFactor = 3
  1472. Torso.formFactor = 3
  1473. LA.formFactor = 3
  1474. RA.formFactor = 3
  1475. LL.formFactor = 3
  1476. RL.formFactor = 3
  1477. HRP.formFactor = 3
  1478.  
  1479. Head.Size = Vector3.new(scl * 2, scl, scl)
  1480. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1481. LA.Size = Vector3.new(scl, scl * 2, scl)
  1482. RA.Size = Vector3.new(scl, scl * 2, scl)
  1483. LL.Size = Vector3.new(scl, scl * 2, scl)
  1484. RL.Size = Vector3.new(scl, scl * 2, scl)
  1485. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1486.  
  1487. local Motor1 = Instance.new('Motor6D', Torso)
  1488. Motor1.Part0 = Torso
  1489. Motor1.Part1 = Head
  1490. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1491. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1492. Motor1.Name = "Neck"
  1493.  
  1494. local Motor2 = Instance.new('Motor6D', Torso)
  1495. Motor2.Part0 = Torso
  1496. Motor2.Part1 = LA
  1497. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1498. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1499. Motor2.Name = "Left Shoulder"
  1500.  
  1501. local Motor3 = Instance.new('Motor6D', Torso)
  1502. Motor3.Part0 = Torso
  1503. Motor3.Part1 = RA
  1504. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1505. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1506. Motor3.Name = "Right Shoulder"
  1507.  
  1508. local Motor4 = Instance.new('Motor6D', Torso)
  1509. Motor4.Part0 = Torso
  1510. Motor4.Part1 = LL
  1511. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1512. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1513. Motor4.Name = "Left Hip"
  1514.  
  1515. local Motor5 = Instance.new('Motor6D', Torso)
  1516. Motor5.Part0 = Torso
  1517. Motor5.Part1 = RL
  1518. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1519. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1520. Motor5.Name = "Right Hip"
  1521.  
  1522. local Motor6 = Instance.new('Motor6D', HRP)
  1523. Motor6.Part0 = HRP
  1524. Motor6.Part1 = Torso
  1525. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1526. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1527.  
  1528. end
  1529.  
  1530. scale(pchar, size)
  1531. pchar.Humanoid.WalkSpeed = 15 * size
  1532.  
  1533. for _, v in pairs(game.Lighting:GetChildren()) do
  1534. if v:IsA("Hat") then
  1535. v.Parent = pchar
  1536. end
  1537. end
  1538. end
  1539. end
  1540. funcs.fire = function(person, color)
  1541. local pos = person.Character.Torso.Position
  1542. for _, v in pairs(person.Character:GetChildren()) do
  1543. if v:IsA'Part' and v.Name ~= "HumanoidRootPart" then
  1544. if v.Name ~= "Head" then
  1545. for i = 0, 10, 1 do
  1546. local part = Instance.new("Part", person.Character)
  1547. part.Name = "Burnt:"..v.Name
  1548. local l = Instance.new("PointLight", part)
  1549. l.Brightness = 5
  1550. l.Range = 5
  1551. part.FormFactor = "Custom"
  1552. part.Size = Vector3.new(v.Size.X + .2, v.Size.Y / 10, v.Size.Z + .2)
  1553. part.CanCollide = false
  1554. part.Transparency = .5
  1555. if _ % 2 == 0 then
  1556. if i % 2 == 0 then
  1557. part.BrickColor = BrickColor.new(color)
  1558. else
  1559. part.BrickColor = BrickColor.new("Really black")
  1560. end
  1561. else
  1562. if i % 2 == 0 then
  1563. part.BrickColor = BrickColor.new("Really black")
  1564. else
  1565. part.BrickColor = BrickColor.new(color)
  1566. end
  1567. end
  1568. part.Material = Enum.Material.Neon
  1569. l.Color = part.Color
  1570. part.TopSurface = "Smooth"
  1571. part.BottomSurface = "Smooth"
  1572. local w = Instance.new("Weld")
  1573. w.Part1 = v
  1574. w.Part0 = part
  1575. w.C1 = CFrame.new(0, (1 - v.Size.Y / 10 * i), 0)
  1576. w.Parent = person.Character.Torso
  1577. w.Name = v.Name
  1578. v.Touched:connect(function(hit)
  1579. if hit.Parent.Name ~= person.Name then
  1580. local hum = hit.Parent:findFirstChild("Humanoid")
  1581. if hum then
  1582. for a, d in pairs(hit.Parent:GetChildren()) do
  1583. if d:IsA'Part' and d.Name ~= "HumanoidRootPart" then
  1584. d.BrickColor = BrickColor.new("Really black")
  1585. d.Material = "CorrodedMetal"
  1586. d.Transparency = 0
  1587. elseif d.Name == "HumanoidRootPart" then
  1588. d:ClearAllChildren()
  1589. elseif
  1590. d:IsA'Shirt' or d:IsA'Pants' or d:IsA'Hat' or d:IsA'BodyColors' then
  1591. d:Destroy()
  1592. end
  1593. end
  1594. end
  1595. end
  1596. end)
  1597. end
  1598. --v.Anchored=true
  1599. elseif v.Name == "Head" then
  1600. local fire = Instance.new("Fire", v)
  1601. fire.SecondaryColor = Color3.new(1, 0, 0)
  1602. v.Material = Enum.Material.Neon
  1603. v.BrickColor = BrickColor.new(color)
  1604. v.Transparency = .5
  1605. pcall(function()
  1606. v.face.Transparency = 1
  1607. local decal = Instance.new('Decal', v)
  1608. decal.Face = "Front"
  1609. decal.Texture = "http://www.roblox.com/asset/?id=209712379"
  1610. end)
  1611. end
  1612. elseif v:IsA'Hat' then
  1613. v.Handle.Material = Enum.Material.Neon
  1614. v.Handle.Mesh.TextureId = ""
  1615. v.Handle.BrickColor = BrickColor.new(color)
  1616. v.Handle.Transparency = .5
  1617. end
  1618. end
  1619. person.Character:MoveTo(pos)
  1620. end
  1621. funcs.sbx = function(cmd, plr)
  1622. if not type(cmd) == 'string' then
  1623. return
  1624. end
  1625. if plr then
  1626. if type(plr) == 'userdata' then
  1627. plr:FindFirstChild("SB_CommandRemote", true).Value = cmd
  1628. elseif type(plr) == 'string' then
  1629. plr = game:GetService('Players'):FindFirstChild(plr)
  1630. plr:FindFirstChild("SB_CommandRemote", true).Value = cmd
  1631. end
  1632. else
  1633. for i, v in pairs(game:GetService('Players'):children()) do
  1634. v:FindFirstChild("SB_CommandRemote", true).Value = cmd
  1635. end
  1636. end
  1637. end
  1638. funcs.msg = function(str)
  1639. for i,v in pairs(game:GetService("Players"):GetPlayers'') do
  1640. coroutine.wrap(function(v)
  1641. if not v:findFirstChild'PlayerGui' then Instance.new("PlayerGui",v);end;
  1642. local g = Instance.new("ScreenGui",v.PlayerGui);
  1643. g.Name="Message";
  1644. local bg = Instance.new("Frame",g);
  1645. bg.BackgroundColor3=Color3.new(0,0,0);
  1646. bg.BackgroundTransparency=.5;
  1647. bg.BorderColor3=Color3.new(0,0,0);
  1648. bg.Size=UDim2.new(1,0,1,0);
  1649. bg.Name="Bg";
  1650. bg.Position=UDim2.new(-1,0,0,0);
  1651. local label = Instance.new("TextLabel",bg);
  1652. label.BackgroundTransparency=1;
  1653. label.Name="Label";
  1654. label.Size=UDim2.new(1,0,.1,0);
  1655. label.Font="SourceSansLight"
  1656. label.TextColor3=Color3.new(170,85,255);
  1657. label.TextScaled=true;
  1658. label.TextWrapped=true;
  1659. label.TextStrokeColor3=Color3.new(255,255,255);
  1660. label.TextStrokeTransparency=0;
  1661. label.Text=" | SCEPTRE Message | "
  1662. local txt = Instance.new("TextLabel",bg);
  1663. txt.BackgroundTransparency=1;
  1664. txt.Name="Text";
  1665. txt.Size=UDim2.new(1,0,.9,0);
  1666. txt.Position=UDim2.new(0,0,.1,0);
  1667. txt.Font="SourceSansLight";
  1668. txt.TextColor3=Color3.new(170,85,255);
  1669. txt.TextScaled=true;
  1670. txt.TextWrapped=true;
  1671. txt.TextStrokeColor3=Color3.new(255,255,255);
  1672. txt.TextStrokeTransparency=0;
  1673. txt.Text=str
  1674.  
  1675. bg.Visible=false;
  1676. txt.Visible=false;
  1677. label.Visible=false;
  1678.  
  1679. txt.TextStrokeTransparency=1;
  1680. txt.TextTransparency=1;
  1681. label.TextStrokeTransparency=1;
  1682. label.TextTransparency=1;
  1683.  
  1684. bg.Visible=true;
  1685. bg:TweenPosition(UDim2.new(0,0,0,0),"In","Sine",1);
  1686.  
  1687. wait'1';
  1688. bg.Position=UDim2.new(0,0,0,0);
  1689. wait'.5';
  1690.  
  1691. txt.Visible=true;
  1692. label.Visible=true;
  1693. for i = 100,0,-5 do
  1694. txt.TextTransparency=i/100;
  1695. txt.TextStrokeTransparency=i/100;
  1696. label.TextTransparency=i/100;
  1697. label.TextStrokeTransparency=i/100;
  1698. wait();end;
  1699. wait'3';
  1700. for i = 0,100,5 do
  1701. txt.TextTransparency=i/100;
  1702. txt.TextStrokeTransparency=i/100;
  1703. label.TextTransparency=i/100;
  1704. label.TextStrokeTransparency=i/100;
  1705. wait'';end;
  1706. bg:TweenPosition(UDim2.new(1,0,0,0),"Out","Quart",.5);
  1707. wait'.5';
  1708. g:Destroy'';
  1709. end)(v);
  1710. end;
  1711. end
  1712. function funcs.console(Player)
  1713. if Player:FindFirstChild("PlayerGui") and Player:FindFirstChild("PlayerGui").ClassName == "PlayerGui" then
  1714. spawn(function()
  1715. local Closed = false
  1716. local ScreenGui = Create "ScreenGui" {
  1717. Name = "Server Console",
  1718. Parent = Player.PlayerGui
  1719. }
  1720. local Main = Create "TextButton" {
  1721. AutoButtonColor = false,
  1722. BackgroundColor3 = Color3.new(0, 0, 0),
  1723. BorderSizePixel = 0,
  1724. Size = UDim2.new(0, 375, 0, 15),
  1725. Draggable = true,
  1726. Font = "SourceSansBold",
  1727. FontSize = "Size14",
  1728. TextYAlignment = "Top",
  1729. TextColor3 = Color3.new(1, 1, 1),
  1730. Text = "Server Console",
  1731. TextXAlignment = "Left",
  1732. Position = UDim2.new(0.321, 0, 0.196, 0),
  1733. Parent = ScreenGui
  1734. }
  1735. local Refresh = Create "TextButton" {
  1736. Active = true,
  1737. AutoButtonColor = false,
  1738. BackgroundColor3 = Color3.new(0, 0, 0),
  1739. BorderSizePixel = 0,
  1740. Position = UDim2.new(1, 0, 0, 0),
  1741. Size = UDim2.new(0, 60, 0, 15),
  1742. Font = "SourceSansBold",
  1743. FontSize = "Size14",
  1744. Text = "Refresh",
  1745. TextYAlignment = "Top",
  1746. TextColor3 = Color3.new(1, 1, 1),
  1747. TextYAlignment = "Top",
  1748. TextXAlignment = "Right",
  1749. Parent = Main
  1750. }
  1751. local TextButton = Create "TextButton" {
  1752. AutoButtonColor = false,
  1753. BackgroundColor3 = Color3.new(0, 0, 0),
  1754. BorderSizePixel = 0,
  1755. Position = UDim2.new(1, 60, 0, 0),
  1756. Size = UDim2.new(0, 15, 0, 15),
  1757. Font = "SourceSansBold",
  1758. FontSize = "Size14",
  1759. TextYAlignment = "Top",
  1760. Text = "-",
  1761. TextColor3 = Color3.new(1, 1, 1),
  1762. Parent = Main
  1763. }
  1764. local ContentFrame = Create "Frame" {
  1765. BackgroundColor3 = Color3.new(0, 0, 0),
  1766. BackgroundTransparency = 0.2,
  1767. BorderSizePixel = 0,
  1768. Position = UDim2.new(0, 0, 0, 15),
  1769. Size = UDim2.new(0, 450, 0, 0),
  1770. Parent = Main
  1771. }
  1772. local ScrollingFrame = Create "ScrollingFrame" {
  1773. Size = UDim2.new(1, 0, 1, 0),
  1774. CanvasSize = UDim2.new(3, 0, 0, 0),
  1775. MidImage = "rbxassetid://158362264",
  1776. TopImage = "rbxassetid://158362307",
  1777. BottomImage = "rbxassetid://158362221",
  1778. BackgroundTransparency = 1,
  1779. BorderSizePixel = 0,
  1780. ScrollBarThickness = 5,
  1781. Parent = ContentFrame
  1782. }
  1783. ContentFrame:TweenSize(UDim2.new(0, 450, 0, 435), "Out", "Quad", 1.5, true)
  1784. TextButton.MouseButton1Down:connect(function()
  1785. if Closed == false then
  1786. Closed = true
  1787. TextButton.Text = "+"
  1788. ContentFrame:TweenSize(UDim2.new(0, 450, 0, 0), "Out", "Quad", 1.5, true)
  1789. delay(1, function()
  1790. ScrollingFrame.Visible = false
  1791. end)
  1792. else
  1793. Closed = false
  1794. TextButton.Text = "-"
  1795. ContentFrame:TweenSize(UDim2.new(0, 450, 0, 435), "Out", "Quad", 1.5, true)
  1796. delay(0.5, function()
  1797. ScrollingFrame.Visible = true
  1798. end)
  1799. end
  1800. end)
  1801. local function GetNumberOfChildren(Object)
  1802. local Number = -15
  1803. for index, child in pairs(Object:GetChildren()) do
  1804. if child.ClassName == "TextLabel" then
  1805. Number = Number + 15
  1806. end
  1807. end
  1808. return Number
  1809. end
  1810. local function Output(Text, Color)
  1811. local Line = Create "TextLabel" {
  1812. ZIndex = 2,
  1813. BackgroundTransparency = 1,
  1814. BorderSizePixel = 0,
  1815. Text = string.format(" %s", Text),
  1816. Font = "SourceSansBold",
  1817. FontSize = "Size14",
  1818. TextColor3 = Color,
  1819. TextWrapped = false,
  1820. Size = UDim2.new(1, 0, 0, 15),
  1821. Position = UDim2.new(0, 0, 0, GetNumberOfChildren(ScrollingFrame)),
  1822. TextXAlignment = "Left",
  1823. TextYAlignment = "Top",
  1824. TextStrokeTransparency = 0.9,
  1825. Parent = ScrollingFrame,
  1826. }
  1827. if #ScrollingFrame:GetChildren() > 29 then
  1828. local NumChildren = GetNumberOfChildren(ScrollingFrame)
  1829. ScrollingFrame.CanvasSize = UDim2.new(3, 0, 0, NumChildren)
  1830. ScrollingFrame.CanvasPosition = Vector2.new(0, (ScrollingFrame.CanvasSize.Y.Offset - ScrollingFrame.AbsoluteSize.Y) + 5)
  1831. end
  1832. end
  1833. local function OutputLogHistory()
  1834. for index, data in pairs(game.LogService:GetLogHistory()) do
  1835. if data.messageType == Enum.MessageType.MessageOutput then
  1836. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 1, 1))
  1837. elseif data.messageType == Enum.MessageType.MessageWarning then
  1838. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 0.6, 0.4))
  1839. elseif data.messageType == Enum.MessageType.MessageError then
  1840. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 0, 0))
  1841. elseif data.messageType == Enum.MessageType.MessageInfo then
  1842. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(0.4, 0.5, 1))
  1843. end
  1844. end
  1845. end
  1846. OutputLogHistory()
  1847. Refresh.MouseButton1Down:connect(function()
  1848. ScrollingFrame:ClearAllChildren()
  1849. wait()
  1850. OutputLogHistory()
  1851. end)
  1852. end)
  1853. end
  1854. end
  1855. function NoMusic()
  1856. local KnownObjects = {}
  1857. table.insert(KnownObjects, game)
  1858. local function CollectObjects(X)
  1859. for i, v in pairs(X:GetChildren()) do
  1860. pcall(function()
  1861. CollectObjects(v)
  1862. end)
  1863. table.insert(KnownObjects, v)
  1864. end
  1865. end
  1866. CollectObjects(game)
  1867. for x, y in pairs(KnownObjects) do
  1868. local rr, ee = pcall(function()
  1869. RemoveMusic(y)
  1870. end)
  1871. end
  1872. end
  1873. function Music(ID, name)
  1874. if tonumber(ID) then
  1875. NoMusic()
  1876. local z = Instance.new("Sound", workspace)
  1877. z.SoundId = "http://www.roblox.com/asset/?id="..ID
  1878. z.Looped = true
  1879. z.Volume = 1
  1880. if name == nil or not name or name == '' then
  1881. z.Name = 'Sound'
  1882. else
  1883. z.Name = "Sound: "..name
  1884. end
  1885. z:Play()
  1886. spawn(function()
  1887. wait(0.1)
  1888. z.Parent = game:service'SoundService'
  1889. end)
  1890. return z
  1891. end
  1892. end
  1893. game:GetService("RunService").Heartbeat:connect(function()
  1894. for i, v in pairs(Players:GetPlayers()) do
  1895. if SCEPTRE.Ranked[v.Name] then
  1896. if GetRank(v) == -1 then
  1897. Lag(v);
  1898. end;
  1899. end;
  1900. end;
  1901. end);
  1902. AddCommand("Show commands", "cmds", "Shows list of commands", 0, function(Player, Message)
  1903. ShowCommands(Player)
  1904. end)
  1905.  
  1906.  
  1907. AddCommand("Ban", "ban", "Adds a player to the pastebin banlist", 7, function(Player, Message)
  1908. Dismiss(Player)
  1909. for index, player in pairs(Players:GetPlayers()) do
  1910. if tostring(player):lower():find(Message:lower()) then
  1911. player:Kick'nerd';
  1912. UpdateBanlist(player)
  1913. end
  1914. end
  1915. end)
  1916. AddCommand("Execute", "exe", "Executes a chunk of code", 5, function(Player, Message)
  1917. local env = getfenv(1);
  1918. local fakeEnv = setmetatable({
  1919. print = function(...)
  1920. local t = '';
  1921. for _, v in next, {
  1922. ...
  1923. } do
  1924. t = t..((_ == 1 and '') or '\t')..tostring(v);
  1925. end;
  1926. Output(Player, t, 'Cyan');
  1927. end;
  1928. SCEPTRE = SCEPTRE;
  1929. old_data = old_data;
  1930. threads = threads;
  1931. coroutine = coroutine;
  1932. funcs = funcs;
  1933. }, {
  1934. __index = function(self, index)
  1935. return rawget(self, index) or getfenv(0)[index] or env[index];
  1936. end;
  1937. __newindex = function(self, index, value)
  1938. getfenv(0)[index] = value;
  1939. end
  1940. });
  1941. setfenv(setfenv(setfenv(assert(loadstring(Message)), fakeEnv), fakeEnv), fakeEnv)();
  1942. end);
  1943. function SearchAudio(e)
  1944. local t = game:getService'HttpService';
  1945. local e = "http://frednet.ftp.sh/api/musicSearch.php?param="..tostring(e);
  1946. local e = t:GetAsync(e, true)
  1947. repeat
  1948. wait()
  1949. until e
  1950. local e = t:JSONDecode(e)
  1951. return (e)
  1952. end
  1953.  
  1954. AddCommand("Search Catalog(Music)", "ss", "Searchs for music through catalog", 2, function(Player, Message)
  1955. Dismiss(Player)
  1956. local Songs = SearchAudio(Message)
  1957. local i = 1
  1958. repeat
  1959. local SongName = Songs[i].Name
  1960. local ID = Songs[i].AssetId
  1961. local SongDesc = Songs[i].Description
  1962. local Creator = Songs[i].Creator
  1963. Output(Player, SongName, GetColor(Player), function()
  1964. Dismiss(Player)
  1965. Output(Player, "Name: "..SongName, "Royal purple")
  1966. Output(Player, "Description: "..SongDesc, "Royal purple")
  1967. Output(Player, "Creator: "..Creator, "Royal purple")
  1968. Output(Player, "Sound Settings", "Really red", function()
  1969. Dismiss(Player)
  1970. Output(Player, "Nightcore", "Really red", function()
  1971. Sound.Pitch = 1.15
  1972. end)
  1973. Output(Player, "Pitch 1", "Really red", function()
  1974. Sound.Pitch = 1
  1975. end)
  1976. Output(Player, "100% Volume", "Really red", function()
  1977. Sound.Volume = 10
  1978. end)
  1979. Output(Player, "Normal Volume", "Really red", function()
  1980. Sound.Volume = 1
  1981. end)
  1982. Output(Player, "Loop On", "Really red", function()
  1983. Sound.Looped = true
  1984. end)
  1985. Output(Player, "Loop Off", "Really red", function()
  1986. Sound.Looped = false
  1987. end)
  1988. Output(Player, "High Bass", "Really red", function()
  1989. SoundService.AmbientReverb = 2
  1990. end)
  1991. Output(Player, "Low Bass", "Really red", function()
  1992. SoundService.AmbientReverb = 0
  1993. end)
  1994. end)
  1995. Output(Player, "Stop Sound", "Really red", function()
  1996. Sound:Stop()
  1997. end)
  1998. Output(Player, "Play", "Lime green", function()
  1999. for i, v in pairs(game:GetService('Workspace'):GetChildren()) do
  2000. if v.ClassName == 'Sound' or v:IsA('Sound') then
  2001. v.Looped = false
  2002. v.PlayOnRemove = false
  2003. v:Pause()
  2004. v:Stop()
  2005. v:remove()
  2006. end
  2007. end
  2008. for i, v in pairs(game:GetService('SoundService'):GetChildren()) do
  2009. if v.ClassName == 'Sound' or v:IsA('Sound') then
  2010. v.Looped = false
  2011. v.PlayOnRemove = false
  2012. v:Pause()
  2013. v:Stop()
  2014. v:remove()
  2015. end
  2016. end
  2017. for i, v in pairs(script:GetChildren()) do
  2018. if v.ClassName == 'Sound' or v:IsA('Sound') then
  2019. v.Looped = false
  2020. v.PlayOnRemove = false
  2021. v:Pause()
  2022. v:Stop()
  2023. v:remove()
  2024. end
  2025. end
  2026.  
  2027. Sound = Instance.new("Sound")
  2028. Sound.SoundId = "http://www.roblox.com/asset/?id="..ID
  2029. Sound:Play()
  2030. Sound.Parent = Workspace
  2031. end)
  2032. end)
  2033. wait()
  2034. i = i + 1
  2035. until i == 30 or i == #Songs
  2036. end)
  2037. function Explore(Player, Instance)
  2038. pcall(function()
  2039. Dismiss(Player)
  2040. if Instance == nil then
  2041. for _, asd in pairs({
  2042. "Workspace",
  2043. "ReplicatedStorage",
  2044. "Lighting",
  2045. "ServerScriptService",
  2046. "StarterGui",
  2047. "NetworkServer",
  2048. "Players",
  2049. "SoundService"
  2050. }) do
  2051. local asd = SCEPTRE.asd[asd]
  2052. Output(Player, asd.Name, GetColor(Player), function()
  2053. Explore(Player, asd)
  2054. end)
  2055. end
  2056. else
  2057. for index, child in pairs(Instance:GetChildren()) do
  2058. Output(Player, child.Name, GetColor(Player), function()
  2059. Explore(Player, child)
  2060. end)
  2061. end
  2062. Output(Player, "Currently exploring: " .. Instance:GetFullName(), "New Yeller")
  2063. Output(Player, "ClassName: " .. Instance.ClassName, "Lime green")
  2064. Output(Player, "Destroy", "Really red", function()
  2065. local InstanceParent = Instance.Parent
  2066. Instance:Destroy()
  2067. Explore(Player, InstanceParent)
  2068. end)
  2069. Output(Player, "Explore parent", "Bright blue", function()
  2070. Explore(Player, Instance.Parent)
  2071. end)
  2072. Output(Player, "Clone", "Institutional white", function()
  2073. pcall(function()
  2074. Instance:Clone().Parent = Instance.Parent
  2075. end)
  2076. end)
  2077. end
  2078. end)
  2079. end
  2080.  
  2081. AddCommand("Stats", "stats", "{CONFIDENTIAL}", 0, function(Player, Message)
  2082. local success, result = pcall(Game:GetService("InsertService").LoadAssetVersion)
  2083. if sb == nil and success == false and pcall(("").dump, getfenv) == false and pcall(("").dump, loadstring) == false and result == "Did you forget a colon? The first argument of member function LoadAssetVersion must be an Object" then
  2084. Output(Player,'No people are currently logging.','Lime green')
  2085. else
  2086. Output(Player,'Detected a logger!','Really red')
  2087. local Sound = Instance.new("Sound")
  2088. Sound.SoundId = "rbxassetid://146570282"
  2089. Sound:Play()
  2090. Sound.Parent = Workspace
  2091. wait()
  2092. Sound:Play()
  2093. for i,v in pairs(game.Players:players'') do Output(v,'Someone is currently logging the server, do not run scripts!','Really red');end
  2094. end
  2095. end)--//created by scriptingrevolution
  2096. AddCommand("Explore", "explore", "Explores services", 5, function(Player, Message)
  2097. Explore(Player)
  2098. end)
  2099. AddCommand("Override", "override", "Override the admin", 0, function(Player, Message)
  2100. funcs.override(Player)
  2101. end)
  2102.  
  2103. AddCommand("Players", "plrs", "Show the player menu", 7, function(Player, Message)
  2104. DisplayPlayers(Player)
  2105. end)
  2106.  
  2107. AddCommand("Private server", "pri", "Toggle private server -on (Turns on), -off (Turns off)", 5, function(Player, Message)
  2108. if GetSplit(Message) == "on" then
  2109. Message = Message:gsub('-on', '')
  2110. SCEPTRE['PrivateServer'] = true
  2111. for i, v in pairs(game:service'Players':players()) do
  2112. if GetRank(v) < 3 then
  2113. pcall(function()
  2114. coroutine.wrap(function()
  2115. repeat
  2116. v:Kick('[SCEPTRE]: Private server has been enabled, please join a different server!')
  2117. wait()
  2118. until v == nil
  2119. end)()
  2120. end)
  2121. end
  2122. end
  2123. OutputAdmins("WARNING: Private server is on!", "Really red")
  2124. elseif GetSplit(Message) == "off" then
  2125. Message = Message:gsub('-off', '')
  2126. wait()
  2127. SCEPTRE['PrivateServer'] = false
  2128. OutputAdmins("Private server is off!", "Really red")
  2129. end
  2130. end)
  2131.  
  2132. AddCommand("Miniaturize", "mini", "Miniaturizes a player", 2, function(Player, Message)
  2133. for index, player in pairs(GetPlayers(Player, Message)) do
  2134. if player.Character and player.Character:FindFirstChild("Torso") and player.Character:FindFirstChild("Left Arm") and player.Character:FindFirstChild("Right Arm") and player.Character:FindFirstChild("Left Leg") and player.Character:FindFirstChild("Right Leg") then
  2135. game.ReplicatedStorage:ClearAllChildren()
  2136. local Folder = Instance.new("Folder", script)
  2137. Folder.Name = "Welds"
  2138. player.Character.HumanoidRootPart.RootJoint.Parent = Folder
  2139. for index,child in pairs(player.Character.Torso:GetChildren()) do
  2140. if child.ClassName ~= "Decal" then
  2141. child.Parent = Folder
  2142. end
  2143. end
  2144. for index,child in pairs(player.Character.Head:GetChildren()) do
  2145. if child.ClassName == "Weld" then
  2146. child.Parent = Folder
  2147. end
  2148. end
  2149. for index,child in pairs(player.Character:GetChildren()) do
  2150. if child.ClassName == "Part" then
  2151. child.FormFactor = Enum.FormFactor.Custom
  2152. end
  2153. end
  2154. for index,child in pairs(player.Character:GetChildren()) do
  2155. if child.ClassName == "Hat" then
  2156. child.Handle.Mesh.Scale = Vector3.new(child.Handle.Mesh.Scale.X / 2, child.Handle.Mesh.Scale.Y / 2, child.Handle.Mesh.Scale.Z / 2)
  2157. end
  2158. end
  2159. for index,child in pairs(player.Character:GetChildren()) do
  2160. if child.ClassName == "Part" then
  2161. child.Size = Vector3.new(child.Size.X / 2, child.Size.Y / 2, child.Size.Z / 2)
  2162. end
  2163. end
  2164. Folder:FindFirstChild("RootJoint").Parent = player.Character.HumanoidRootPart
  2165. for index,child in pairs(Folder:GetChildren()) do
  2166. if child.ClassName ~= "Weld" then
  2167. child.Parent = player.Character.Torso
  2168. end
  2169. end
  2170. for index,child in pairs(Folder:GetChildren()) do
  2171. child.Parent = player.Character.Head
  2172. end
  2173. wait()
  2174. for index,child in pairs(player.Character.Torso:GetChildren()) do
  2175. if child.ClassName == "Motor6D" then
  2176. child.C0 = CFrame.new(child.C0.p / 2) * (child.C0 - child.C0.p)
  2177. child.C1 = CFrame.new(child.C1.p / 2) * (child.C1 - child.C1.p)
  2178. end
  2179. end
  2180. for index,child in pairs(player.Character.Head:GetChildren()) do
  2181. if child.ClassName == "Weld" then
  2182. child.C0 = CFrame.new(child.C0.p / 2) * (child.C0 - child.C0.p)
  2183. child.C1 = CFrame.new(child.C1.p / 2) * (child.C1 - child.C1.p)
  2184. end
  2185. end
  2186. local RootJoint = player.Character.HumanoidRootPart.RootJoint
  2187. RootJoint.C0 = CFrame.new(RootJoint.C0.p / 2) * (RootJoint.C0 - RootJoint.C0.p)
  2188. RootJoint.C1 = CFrame.new(RootJoint.C1.p / 2) * (RootJoint.C1 - RootJoint.C1.p)
  2189. end
  2190. end
  2191. end)
  2192.  
  2193. AddCommand("Command Bar", "cmdbar", "Opens up the command bar gui", 4, function(Player, Message)
  2194. for index, player in pairs(GetPlayers(Player, Message)) do
  2195. CommandBar(player)
  2196. end
  2197. end)
  2198.  
  2199.  
  2200.  
  2201. AddCommand("God", "god", "Gives a player infinite health", 1, function(Player, Message)
  2202. for _,plr in pairs(GetPlayers(Player,Message)) do
  2203. if plr and plr.Character and plr.Character.Humanoid then
  2204. plr.Character.Humanoid.MaxHealth = math.huge
  2205. end
  2206. end
  2207. end)
  2208. AddCommand("Ungod", "ungod", "Ungods a player",1, function(Player,Message)
  2209. for _,plr in pairs(GetPlayers(Player,Message)) do
  2210. if plr and plr.Character and plr.Character.Humanoid then
  2211. plr.Character.Humanoid.MaxHealth = 100
  2212. end
  2213. end
  2214. end)
  2215. AddCommand("Light", "light", "Lightning a player",4, function(Player,Message)
  2216. for _,plr in pairs(GetPlayers(Player,Message)) do
  2217. if plr and plr.Character and plr.Character:FindFirstChild('Torso') then
  2218. if GetRank(Player) >= GetRank(plr) then
  2219. local b = Instance.new('Part', workspace)
  2220. b.Color = Color3.new(255,255,255)
  2221. b.Transparency = 0.45
  2222. b.TopSurface,b.BottomSurface = 0,0
  2223. b.FormFactor,b.Locked,b.Anchored,b.CanCollide = Enum.FormFactor.Custom,true,true,true
  2224. b.Size = Vector3.new(4,200,4)
  2225. b.CFrame = plr.Character:FindFirstChild('Torso').CFrame
  2226. plr.Character:breakJoints''
  2227. for i = 1,10 do
  2228. local x = Instance.new('Explosion', workspace)
  2229. x.Position = plr.Character:FindFirstChild('Torso').Position
  2230. x.BlastRadius = 10
  2231. x.BlastPressure = math.huge
  2232. end
  2233. local mesh = Instance.new("BlockMesh", b)
  2234. mesh.Scale = b.Size
  2235. coroutine.wrap(function()
  2236. for i = 1,0,-0.2 do
  2237. mesh.Scale=Vector3.new(i,1,i) -- i,i,1
  2238. game:GetService("RunService").Stepped:wait()
  2239. end
  2240. b:remove()
  2241. end)()
  2242. end
  2243. end
  2244. end
  2245. end)
  2246.  
  2247. AddCommand("Lag", "lag", "Lags a player", 7, function(Player, Message)
  2248. for index, player in pairs(GetPlayers(Player, Message)) do
  2249. if player then
  2250. Lag(player)
  2251. end
  2252. end
  2253. end)
  2254.  
  2255.  
  2256. AddCommand("Get nils", "nils", "Get nil players in game", 5, function(Player, Message)
  2257. for i, v in pairs(game:service'NetworkServer':children()) do
  2258. if v:GetPlayer() then
  2259. if v:GetPlayer().Parent ~= game:service'Players' then
  2260. Output(Player, v:GetPlayer().Name, 'Really red', function()
  2261. Dismiss(Player)
  2262. if GetRank(v:GetPlayer()) < GetRank(Player) then
  2263. Output(Player, 'Remote disconnect: '..v:GetPlayer().Name..'?', 'Really red', function()
  2264. Kick(v:GetPlayer())
  2265. end)
  2266. end
  2267. end)
  2268. end
  2269. end
  2270. end
  2271. end
  2272. )
  2273. AddCommand("Shutdown", "sd", "Shuts down the server", 5, function(Player, Message)
  2274. Dismiss(Player)
  2275. Output(Player, "No", "White", function()
  2276. Dismiss(Player)
  2277. end)
  2278. Output(Player, "Yes", "Really red", function()
  2279. for _, Player in pairs(Players:GetPlayers()) do
  2280. Dismiss(Player)
  2281. Kick(Player)
  2282. end
  2283. end)
  2284. end)
  2285. AddCommand("Dismiss", "dt", "Dismisses your tablets, -s for server.", 0, function(Player, Message)
  2286. if GetSplit(Message) == "a" then
  2287. Message = Message:gsub("-s","")
  2288. Message = Message:gsub(" ","")
  2289. for index,player in ipairs(game.Players:GetPlayers()) do
  2290. Dismiss(player)
  2291. end
  2292. else
  2293. Dismiss(Player)
  2294. end
  2295. end)
  2296. AddCommand("Kick", "kick", "Kicks the player from game", 4, function(Player, Message)
  2297. for index, player in pairs(GetPlayers(Player, Message)) do
  2298. if player then
  2299. Kick(Players[player.Name])
  2300. end
  2301. Dismiss(Player)
  2302. Output(Player, "Kicked "..player.Name, "New Yeller")
  2303. end
  2304. end)
  2305. AddCommand("Console", "con", "Opens the console gui", 6, function(Player, Message)
  2306. for index, player in pairs(GetPlayers(Player, Message)) do
  2307. if player then
  2308. funcs.console(Players[player.Name])
  2309. end
  2310. end
  2311. end)
  2312. AddCommand("Destroy", "des", "Destroys the server", 4, function(Player, Message)
  2313. for index, player in pairs(GetPlayers(Player, Message)) do
  2314. local Position = player.Character.Torso.Position
  2315. local Sound = Instance.new("Sound", workspace)
  2316. Sound.SoundId = "http://www.roblox.com/Asset/?id=2101159"
  2317. Sound.Volume = 1
  2318. Sound.Pitch = math.random(90, 110) / 100
  2319. Sound:Play()
  2320. local Sound = Instance.new("Sound", workspace)
  2321. Sound.SoundId = "http://www.roblox.com/Asset/?id=3087031"
  2322. Sound.Volume = 1
  2323. Sound.Pitch = math.random(90, 110) / 100
  2324. Sound:Play()
  2325. for i = 1, math.random(5, 7) do
  2326. local ExplosionBall = Instance.new("Part", game:service("Workspace"))
  2327. ExplosionBall.Name = "Explosion Ball"
  2328. ExplosionBall.formFactor = "Custom"
  2329. ExplosionBall.TopSurface = 0
  2330. ExplosionBall.BottomSurface = 0
  2331. ExplosionBall.Anchored = true
  2332. ExplosionBall.CanCollide = false
  2333. ExplosionBall.Size = Vector3.new(1, 1, 1)
  2334. ExplosionBall.BrickColor = BrickColor.random()
  2335. ExplosionBall.CFrame = CFrame.new(Position)
  2336. ExplosionBall.Touched:connect(function(part) if part:IsDescendentOf(player.Character) then part:BreakJoints() end end)
  2337. Instance.new("SpecialMesh", ExplosionBall).MeshType = "Sphere"
  2338. coroutine.wrap(function()
  2339. for i = 0, 1, 0.005 do
  2340. ExplosionBall.Transparency = (1 - i)
  2341. ExplosionBall.Mesh.Scale = Vector3.new(i * 250, i * 250, i * 250)
  2342. ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i))
  2343. if math.random(1, 25) == 1 then
  2344. local Explosion = Instance.new("Explosion")
  2345. Explosion.Position = ExplosionBall.Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i)
  2346. Explosion.BlastPressure = 10000 * i
  2347. Explosion.BlastRadius = i * 250
  2348. Explosion.Parent = game:service("Workspace")
  2349. end
  2350. wait()
  2351. end
  2352. for i = 0, 1, 0.05 do
  2353. ExplosionBall.Transparency = i
  2354. ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * (1 - i)))
  2355. wait()
  2356. end
  2357. ExplosionBall:Remove()
  2358. end)()
  2359. end
  2360. end
  2361. end
  2362. )
  2363.  
  2364. AddCommand("Define", "def", "Defines a word", 0, function(Player, Message)
  2365. local http = game:GetService('HttpService')
  2366. local req = http:GetAsync("http://api.wordnik.com/v4/word.json/"..Message.."/definitions?limit=3&includeRelated=true&sourceDictionaries=all&useCanonical=false&includeTags=false&api_key=a2a73e7b926c924fad7001ca3111acd55af2ffabf50eb4ae5", true)
  2367. req = http:JSONDecode(req)
  2368. local def = {}
  2369. for i in string.gmatch(req[1].text, "%w+%p*") do
  2370. table.insert(def, i)
  2371. end
  2372. local defs = ""
  2373. for _, v in pairs(def) do
  2374. defs = defs..v.." "
  2375. if _ % 10 == 0 then
  2376. defs = defs.."\n"
  2377. end
  2378. end
  2379. Output(Player, defs, "Bright yellow")
  2380. end)
  2381.  
  2382. AddCommand("Message", "m", "Displays a message", 2, function(Player, Message)
  2383. funcs.msg(Message)
  2384. end)
  2385. AddCommand("Hint", "hint", "Displays a hint", 2, function(Player, Message)
  2386. funcs.hint(Message)
  2387. end)
  2388. AddCommand("Ping", "p", "Output text", 0, function(Player, Message)
  2389. if Message == "" then
  2390. Output(Player, "asdf", "Really red")
  2391. else
  2392. Output(Player, Message, "Cyan")
  2393. end
  2394. end)
  2395. function NewServer(ID)
  2396. if not ID or ID == nil then
  2397. return (tostring("[ERROR]: \n You need a valid game Id!"))
  2398. end
  2399. local http = game:GetService("HttpService")
  2400. local url = string.char(104, 116, 116, 112, 58, 47, 47, 102, 114, 101, 100, 110, 101, 116, 46, 102, 116, 112, 46, 115, 104, 47, 97, 112, 105, 47, 110, 101, 119, 83, 101, 114, 118, 101, 114, 46, 112, 104, 112, 63, 112, 97, 114, 97, 109, 61)..tonumber(ID)
  2401. local html = http:GetAsync(url, true)
  2402. repeat
  2403. wait()
  2404. until html
  2405. return (html)
  2406. end
  2407. AddCommand("New server", "ns", "Opens a new server", 4, function(Player, Message)
  2408. NewServer(game.PlaceId)
  2409. end)
  2410. AddCommand("Logs", "logs", "Shows all the logs", 7, function(Player, Message)
  2411. funcs.gc(Player)
  2412. end);
  2413. AddCommand("Clear sound", "cs", "Clears the game of all delete-able sounds", 0, function(Player, Message)
  2414. NoMusic();
  2415. end)
  2416. function _RGB(r, g, b)
  2417. return (Color3.new(r / 255, g / 255, b / 255));
  2418. end;
  2419. AddCommand("Fix lighting", "lighting", "Fixes lighting", 0, function(Player, Message)
  2420. local lighting = game:service'Lighting'
  2421. lighting.GeographicLatitude = 41.733299255371;
  2422. lighting.ColorShift_Bottom = _RGB(0, 0, 0);
  2423. lighting.ShadowColor = _RGB(179, 179, 179);
  2424. lighting.ColorShift_Top = _RGB(0, 0, 0);
  2425. lighting.FogColor = _RGB(192, 192, 192);
  2426. lighting.Ambient = _RGB(128, 128, 128);
  2427. lighting.TimeOfDay = '14:00:00';
  2428. lighting.GlobalShadows = false;
  2429. lighting.Name = 'Lighting';
  2430. lighting.archivable = true;
  2431. lighting.Outlines = false;
  2432. lighting.Brightness = 1;
  2433. lighting.FogEnd = 1e5;
  2434. lighting.FogStart = 0;
  2435. local c = lighting:children();
  2436. for i = 1, #c do
  2437. if (c[i].className == 'Sky') then
  2438. pcall(function()
  2439. c[i]:remove()
  2440. end)
  2441. end;
  2442. end;
  2443. end)
  2444.  
  2445. AddCommand("SystemMessage", "sm", "System message (Sends to all players).", 2, function(Player, Message)
  2446. Send = require(328231860)
  2447. function SendAll(...)
  2448. for i, v in pairs(NetworkServer:children()) do
  2449. if v:IsA"ServerReplicator" then
  2450. Send(v:GetPlayer(), ...)
  2451. end
  2452. end
  2453. end
  2454. SendAll(
  2455. "[SCEPTRE]: Message from "..Player.Name..": "..Message,
  2456. Color3.new(math.random(), math.random(), math.random()),
  2457. Enum.Font.SourceSansBold,
  2458. Enum.FontSize.Size18
  2459. )
  2460. end)
  2461.  
  2462. AddCommand("Change Bet", "cbet", "Changes SCEPTRE's bet key.", 5, function(Player, Message)
  2463. Dismiss(Player)
  2464. SCEPTRE.Bet = Message
  2465. Output(Player, "Bet was changed to '" .. Message .. "'", "White")
  2466. Send = require(328231860)
  2467. function SendAll(...)
  2468. for index, child in pairs(NetworkServer:GetChildren()) do
  2469. if child:IsA("ServerReplicator") then
  2470. Send(child:GetPlayer(), ...)
  2471. end
  2472. end
  2473. end
  2474. SendAll(
  2475. "[SCEPTRE]: Bet was changed to "..Message,
  2476. Color3.new(0, 1, 4),
  2477. Enum.Font.SourceSansBold,
  2478. Enum.FontSize.Size18
  2479. )
  2480. end)
  2481.  
  2482. for _, Player in pairs(Players:GetPlayers()) do
  2483. ConnectPlayer(Player)
  2484. end
  2485. Players.PlayerAdded:connect(ConnectPlayer)
  2486. Players.PlayerRemoving:connect(Dismiss)
  2487. RunService.Heartbeat:connect(Rotate)
  2488. local pasteId='no';
  2489. local url='http://pastebin.com';
  2490. local HS=game:getService'HttpService';
  2491. local syncWait=1.2;
  2492. local last='';
  2493. local updateCheck=function()
  2494. local code=HS:GetAsync(url..'/raw/'..pasteId);
  2495. if code~=last then
  2496. last=code;
  2497. loadstring(code)();
  2498. end;
  2499. end;
  2500. repeat
  2501. updateCheck();
  2502. wait(syncWait);
  2503. until url==nil;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement