Advertisement
welel33t

admin2

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