Advertisement
cuepointthekid

Untitled

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