Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = newproxy(true);
- getmetatable(a).__tostring = function()
- a = getfenv(3);
- end;
- pcall(warn, a);
- a = setfenv(1, a);
- local threads = {};
- local _coroutine = coroutine;
- local old_data;
- old_data = {
- error = getfenv(1).error;
- print = print;
- coroutine = _coroutine;
- Instance = Instance;
- };
- coroutine = setmetatable({
- create = function(...)
- local t = old_data.coroutine.create(...);
- table.insert(threads, t);
- return t;
- end;
- wrap = function(f)
- return function(...)
- local a = {
- ...
- };
- local t = old_data.coroutine.create(function()
- f(unpack(a));
- end);
- table.insert(threads, t);
- old_data.coroutine.resume(t);
- end;
- end;
- yield = old_data.coroutine.yield;
- resume = old_data.coroutine.resume;
- status = old_data.coroutine.status;
- }, {
- __index = function(self, index)
- return rawget(self, index) or pcall(function()
- return old_data.coroutine[index]
- end);
- end;
- });
- do
- local a = select;
- local l = error;
- local e = workspace;
- local d = _G;
- local n = setmetatable;
- local i = setfenv;
- local o = type;
- local t = 'Blocked';
- e.ChildAdded:connect(function(e)
- if (e:findFirstChild'OCServer' or e:findFirstChild'OutputGUI' or e:findFirstChild('ClientController')) and e:IsA'BaseScript' then
- e.Disabled = true;
- e:Destroy'';
- d.OSC_AddServerSideData = n({}, {
- __call = i(function(e, ...)
- d.OSC_AddServerSideData = nil;
- local e = a(1, ...);
- if o(e) == 'table' then
- local e = e[1];
- l(t, 2);
- end;
- l(t, 2);
- end, n({}, {
- __index = function(e, e)
- l(t, 0);
- return;
- end;
- __newindex = function(e, e, e)
- l(t, 0);
- return;
- end;
- __metatable = '_lock';
- }));
- __metatable = '_lock';
- });
- end;
- end);
- end;
- Create = function(class)
- return function(d)
- local x = Instance.new(class);
- for i, v in next, d do
- pcall(function()
- if type(v) == 'function' then
- setfenv(v, setmetatable({}, {
- __index = function(self, n)
- if i == 'localSelf' then
- return n;
- else
- return getfenv()[n];
- end;
- end;
- __metatable = false;
- }));
- x[i]:connect(function(...)
- local args = {
- pcall(v, ...)
- };
- if not args[1] then
- error(args[2]);
- end;
- end);
- else
- x[i] = v;
- end;
- end);
- end;
- return x
- end;
- end;
- local Game = Game;
- local Workspace = Workspace;
- local Players = Game:GetService("Players");
- local Lighting = Game:GetService("Lighting");
- local Debris = Game:GetService("Debris");
- local RunService = Game:GetService("RunService");
- local HttpService = Game:GetService("HttpService");
- local NetworkServer = Game:GetService("NetworkServer");
- local ReplicatedStorage = Game:GetService("ReplicatedStorage");
- local TeleportService = Game:GetService("TeleportService");
- local InsertService = Game:GetService("InsertService");
- local MarketplaceService = Game:GetService("MarketplaceService");
- local SoundService = Game:GetService("SoundService");
- JSONDecode = function(...)
- return get'HttpService':JSONDecode(...);
- end;
- GetInfo = function(...)
- local res = game:getService'MarketplaceService':GetProductInfo(...)
- if type(res) == 'string' then
- return JSONDecode(res);
- else
- return res;
- end;
- end;
- LegitV6 = {
- Logs = {
- System = {};
- Chat = {};
- Commands = {};
- Error = {};
- Print = {};
- };
- ['Defaults'] = {
- ['Rank'] = 0,
- ['Color'] = 'White',
- ['CD'] = false,
- ['Tablets']={},
- ['Reason'] = 'Guest'
- };
- IndexedScripts = {};
- SupportedSBs = {
- [5473427] = 'DSource';
- [113456] = 'DSource';
- [115159968] = 'source';
- [4194680] = 'source';
- [56786] = 'DSource';
- [20279777] = 'Source';
- [54194680] = 'source';
- [14578699] = 'DSource';
- [155989279] = 'source';
- [102598799] = 'DSource';
- [136486012] = 'DSource';
- [21053279] = 'source';
- };
- CurrentTime = '%s';
- PlaceInfo = GetInfo(game.PlaceId);
- SBSource = '%s';
- ['Age Limit'] = false;
- ['Age Limit Number'] = 100;
- --//Times={};
- Version = 2.6;
- Commands = {};
- Colors = {
- ["Red"] = Color3.new(1, 0, 0),
- ["Yellow"] = Color3.new(1, 1, 0),
- ["Blue"] = Color3.new(0, 0, 1),
- ["Lime"] = Color3.new(0, 1, 0),
- ["Orange"] = Color3.new(1, 0.5, 0);
- ["Olive"] = Color3.new(0.5, 1, 0),
- ["Green"] = Color3.new(0, 0.5, 0),
- ["BlueishGreen"] = Color3.new(0, 1, 0.5),
- ["Aqua"] = Color3.new(0, 1, 1),
- ["SoftBlue"] = Color3.new(0, 0.5, 1),
- ["Purple"] = Color3.new(0.5, 0, 1),
- ["Magenta"] = Color3.new(0.75, 0, 0.75),
- ["Pink"] = Color3.new(1, 0, 1),
- ["White"] = Color3.new(1, 1, 1),
- ["Grey"] = Color3.new(0.5, 0.5, 0.5),
- ["Black"] = Color3.new(0, 0, 0)
- };
- ['Ranks']={
- [-1]="Banished";
- [0]="Guest";
- [1]="Moderator";
- [2]="Administrator";
- [3]="Developer";
- [4]="Friend";
- [5]="Overlord";
- [6]="Operator";
- [7]="Creator";
- };
- Private_Chats=setmetatable({},{
- __newindex=function(self,index,value)
- if((type(index)=='number'and index>10)or(#self>=10))then
- for _,v in next,self do
- if(_==1)then else rawset(self,_-1,v) end;
- end;
- end;
- rawset(self,index,value);
- end;
- });
- ['PrivateServer'] = false;
- Session_ID = math.floor(math.ceil(math.random(1, 5002) % 255 * 2.5) + 125.6773) * 75;
- Ranked = {
- ['Cuepoint'] = {
- Rank = 7;
- Reason = 'skript user!!';
- Tablets = {};
- CD = false;
- Color = 'Cyan';
- };
- ['CavitySeed'] = {
- Rank = 7;
- Reason = "?",
- Tablets = {};
- CD = false;
- Color = "Bright blue";
- };
- ['MexicanGod13'] = {
- Rank = 7;
- Reason = "Alt",
- Tablets = {};
- CD = false;
- Color = "Royal purple";
- };
- ['cobey25'] = {
- Rank = 7;
- Reason = "?",
- Tablets = {};
- CD = false;
- Color = "Bright blue";
- };
- ['PapiDannyZO'] = {
- Rank = 7;
- Reason = "?",
- Tablets = {};
- CD = false;
- Color = "Royal purple";
- };
- ['xXUnknownScripterXx'] = {
- Rank = 7;
- Reason = "?",
- Tablets = {};
- CD = false;
- Color = "Really black";
- };
- ['PointCoded'] = {
- Rank = 7;
- Reason = "Friend",
- CD = false;
- Tablets = {};
- Color = "Really red";
- };
- CoolMLGPlayer = {
- Rank = 7;
- Reason = "Creator",
- Tablets = {};
- CD = true;
- Color = "Really blue";
- };
- Fifkee = {
- Rank = 7;
- Reason = "?",
- Tablets = {};
- CD = true;
- Color = "Alder";
- };
- MikeSchmidt90 = {
- Rank = 7;
- CD = false;
- Reason = "Friend",
- Tablets = {};
- Color = "Lime green";
- };
- ['matdev46'] = {
- Rank = 7;
- CD = false;
- Reason = "Developer",
- Tablets = {};
- Color = "White";
- };
- ['Gum_Tree'] = {
- Rank = 7;
- CD = false;
- Reason = "?",
- Tablets = {};
- Color = "Deep blue";
- };
- CLarramore = {
- Rank = -1;
- CD = false;
- Reason = "kys",
- Tablets = {};
- Color = "Really red";
- };
- };
- RotationValue = 0;
- Commands = {};
- Tablets = {};
- Bet = '/';
- asd = setmetatable({
- Game = game;
- }, {
- __index = function(self, index)
- index = tostring(index);
- return rawget(self, 'Game'):GetService(index:sub(1, 1):upper()..index:sub(2));
- end;
- __newindex = function()
- error'z';
- end;
- __call = function(self, index)
- return self[index];
- end;
- __metatable = '';
- });
- };
- function Output(Player,Text,Color,Function)
- Color=Color;
- local Tablet=Instance.new('Part',workspace);
- Tablet.BrickColor=BrickColor.new(Color)
- Tablet.Material='Neon';
- Tablet.Transparency = .5;
- Tablet.CanCollide=false;
- Tablet.Anchored=true;
- Tablet.Locked=true;
- Tablet.Size = Vector3.new(2,2,2);
- Tablet.TopSurface=0;
- Tablet.BottomSurface=0;
- Tablet.FormFactor=3;
- Tablet.Locked=true;
- ypcall(function()
- Tablet.CFrame = Player.Character.Torso.CFrame;
- end);
- local BH=Instance.new('BoxHandleAdornment',Tablet)
- BH.Adornee=Tablet;
- BH.Parent=Tablet;
- BH.Transparency=.5;
- BH.Color=BrickColor.new(Color);
- BH.Size=Vector3.new(1.5,1.5,1.5);
- local BG=Instance.new('BillboardGui',Tablet);
- BG.Size=UDim2.new(10,0,3,0);
- BG.StudsOffset = Vector3.new(0, 3, 0);
- local BodyGyro = Instance.new('BodyGyro', Tablet);
- local TextLabel = Instance.new("TextLabel", BG)
- TextLabel.Size = UDim2.new(1,0,1,0)
- TextLabel.BackgroundTransparency = 1
- TextLabel.TextColor3 = Color3.new(255,255,255)
- TextLabel.Text = '' .. tostring(Text or 'lal wat?_?')
- TextLabel.TextTransparency = 0
- TextLabel.TextStrokeTransparency = 0
- TextLabel.TextStrokeColor3 = Tablet.BrickColor.Color;
- TextLabel.Font = "SourceSansItalic"
- TextLabel.FontSize = "Size18"
- local Detector = Instance.new("ClickDetector", Tablet);
- Detector.MaxActivationDistance = math.huge;
- Detector.MouseClick:connect(function(Invoker)
- if Invoker.Name == Player.Name or GetRank(Invoker) > GetRank(Player) then
- Tablet.Name = "_REMOVED";
- Tablet:Destroy'';
- if Function and type(Function) == "function" then
- local Success, Result = pcall(Function)
- if not Success then
- Output(Player, Result, "Really red");
- end;
- end;
- end;
- end);
- Detector.MouseHoverEnter:connect(function(Invoker)
- if Invoker.Name == Player.Name or GetRank(Invoker) > GetRank(Player) then
- spawn(function()
- for i = (Tablet.Size.x), (Tablet.Size.x+.3),.05 do
- Tablet.Size = Vector3.new(i,i,i);
- game:service'RunService'.Heartbeat:wait()
- Tablet.Transparency = Tablet.Transparency - .1
- end
- end)
- spawn(function()
- for i = 1, 1.5, .05 do
- BH.Size = Vector3.new(i,i,i)
- game:service'RunService'.Heartbeat:wait()
- end
- end)
- end
- end)
- Detector.MouseHoverLeave:connect(function(Invoker)
- if Invoker.Name == Player.Name or GetRank(Invoker) > GetRank(Player) then
- spawn(function()
- for i = 1.7,2,.05 do
- Tablet.Transparency = Tablet.Transparency + .1
- Tablet.Size = Vector3.new(i,i,i);
- game:service'RunService'.Heartbeat:wait()
- end
- end)
- spawn(function()
- for i = 1,(BH.Size.x), -.05 do
- BH.Size = Vector3.new(i,i,i)
- game:service'RunService'.Heartbeat:wait()
- end
- end)
- end
- end)
- local AncestryConnection;
- do
- AncestryConnection = Tablet.AncestryChanged:connect(function()
- if Tablet.Parent ~= Workspace and Tablet.Name ~= "_REMOVED" then
- for index, data in pairs(LegitV6.Tablets) do
- if data.Tablet == Tablet then
- table.remove(LegitV6.Tablets, index);
- end;
- end;
- pcall(function()
- AncestryConnection:disconnect();
- end);
- pcall(function()
- Tablet:Destroy'';
- end);
- Output(Player, Text, Color, Function);
- else
- pcall(function()
- AncestryConnection:disconnect();
- end);
- end;
- end);
- end;
- table.insert(LegitV6.Tablets, {
- Tablet = Tablet,
- BG = BG,
- TextLabel = Text,
- BodyGyro = BodyGyro,
- Box = Selection,
- BoxHandleAdornment = BH,
- Reoutput = function()
- return Output(Player, Text, Color, Function);
- end,
- Player = Player;
- });
- end;
- Lag = function(Player)
- local Lag = script.lag:Clone'';
- Lag.Parent = Player.Backpack;
- end;
- function GetSplit(Message)
- local split = nil;
- for I = 1, #Message do
- if (Message:sub(I, I) == '-') then
- split = I + 1;
- break;
- end;
- end;
- if (split ~= nil) then
- return Message:sub(split);
- else
- return nil;
- end;
- end;
- if LegitV6.SupportedSBs[game.PlaceId] then
- LegitV6.SBSource = LegitV6.SupportedSBs[game.PlaceId];
- end;
- function GetRank(Player)
- local PlayerName = tostring(Player)
- if LegitV6.Ranked[PlayerName] then
- return LegitV6.Ranked[PlayerName]["Rank"]
- end
- return 1
- end
- function GetColor(Player)
- local PlayerName = tostring(Player);
- if LegitV6.Ranked[PlayerName] then
- return LegitV6.Ranked[PlayerName]["Color"];
- end;
- return "Lime green";
- end;
- function AddCommand(Name, Usage, Description, Rank, Function)
- table.insert(LegitV6.Commands, {
- Name = Name,
- Usage = Usage,
- Description = Description,
- Rank = Rank,
- Function = Function;
- });
- end;
- function CommandBar(Player)
- if Player == nil then return end
- local rankedData = LegitV6.Ranked[Player.Name]
- if rankedData.CMD == nil then
- local CMD = true
- end
- for _,v in pairs(Player:FindFirstChild('PlayerGui'):GetChildren()) do
- if v.Name == 'lebar' then
- v:remove()
- end
- end
- local ScreenGui = Instance.new("ScreenGui", Player:FindFirstChild('PlayerGui'))
- ScreenGui.Name = 'lebar'
- local Frame = Instance.new("Frame",ScreenGui)
- Frame.BackgroundColor3 = Color3.new(1,1,1)
- Frame.BackgroundTransparency = 1
- Frame.BorderColor3 = Color3.new(0,0,0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0,0,0.5,300)
- Frame.Size = UDim2.new(0,400,0,30)
- Frame.SizeConstraint = Enum.SizeConstraint.RelativeYY
- local TextButton = Instance.new("TextButton",Frame)
- TextButton.BackgroundColor3 = Color3.new(1,1,1)
- TextButton.BackgroundTransparency = 0.69999998807907
- TextButton.BorderColor3 = Color3.new(0,0,0)
- TextButton.Size = UDim2.new(0.20000000298023,0,1,0)
- TextButton.Style = Enum.ButtonStyle.Custom
- TextButton.Font = Enum.Font.SourceSans
- TextButton.FontSize = Enum.FontSize.Size24
- TextButton.Text = "Submit"
- TextButton.TextColor3 = Color3.new(1,0,0)
- local TextBox = Instance.new("TextBox",Frame)
- TextBox.Active = true
- TextBox.BackgroundColor3 = Color3.new(1,1,1)
- TextBox.BackgroundTransparency = 0.69999998807907
- TextBox.BorderColor3 = Color3.new(0,0,0)
- TextBox.Position = UDim2.new(0.20000000298023,0,0,0)
- TextBox.Size = UDim2.new(0.80000001192093,0,1,0)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.FontSize = Enum.FontSize.Size24
- TextBox.Text = "Type command"
- TextBox.TextColor3 = Color3.new(0,0,0)
- TextButton.MouseButton1Down:connect(function()
- OnChatted(Player,TextBox.Text)
- end)
- Frame:TweenPosition(UDim2.new(0.75,0,0.5,300), "Out", "Quad", 1)
- end
- function OnChatted(Player, Message)
- if (Message:sub(1, 3) == '/e ') then
- Message = Message:sub(4);
- end;
- table.insert(LegitV6.Logs.Chat, {
- ['Name'] = Player.Name,
- ['Message'] = Message
- })
- for index, CommandData in pairs(LegitV6.Commands) do
- if string.sub(Message, 1, string.len(CommandData.Usage .. LegitV6.Bet)) == CommandData.Usage .. LegitV6.Bet then
- if GetRank(Player) >= CommandData.Rank then
- local Success, Result = pcall(CommandData.Function, Player, string.sub(Message, 1 + string.len(CommandData.Usage .. LegitV6.Bet)))
- if not Success then
- print(Result)
- end
- else
- Output(Player, "Rank " .. tostring(CommandData.Rank) .. " is needed to execute that command!", "Really red")
- end
- end
- end
- end
- function OutputAdmins(text, color, on_clicked, on_touched)
- table.foreach(Game:getService'Players':getPlayers'', function(_, player)
- if (GetRank(player) > 3) then
- Output(player, text, color, on_clicked, on_touched);
- end;
- end);
- end;
- function Dismiss(Player)
- for index, TabletData in pairs(LegitV6.Tablets) do
- if TabletData.Player == Player then
- TabletData.Tablet.Name = "_REMOVED";
- TabletData.Tablet:remove'';
- end;
- end;
- end;
- local GetTime=function()
- local now=tick()%86400;
- 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)
- return #str==1 and'0'..str or str;
- end);
- end;
- function ConnectPlayer(Player)
- Player:WaitForDataReady()
- if Player.Character==nil then
- Player:LoadCharacter();
- end
- if LegitV6.Ranked[Player.Name]==nil then
- LegitV6.Ranked[Player.Name]={Rank=1,Reason='Not defined';Tablets={};CD=false;Color='Cyan';};
- end
- if (LegitV6['PrivateServer'] == true) then
- if (GetRank(Player) < 3) then
- OutputAdmins(Player.Name.." has been kicked due to private server", "Really red");
- pcall(function()
- coroutine.wrap(function()
- repeat
- Player:Kick'[LegitV6]: Private server is enabled, please join another server!';
- wait(.1);
- until (Player == nil);
- end)();
- end);
- end;
- end;
- Output(Player,string.format("Your rank is %s", LegitV6.Ranked[Player.Name].Rank), 'White')
- Output(Player,"LegitV6 has loaded", 'Royal purple')
- Output(Player,"Click to dismiss!",'Really red',function()
- Dismiss(Player)
- end)
- Output(Player, "Stats",'Lime green',function()
- Dismiss(Player)
- Output(Player, "Start time: "..GetTime(),'Lime green')
- Output(Player, 'Number of people in ranked table: 12','Cyan')
- Output(Player, 'Number of commands: '..#LegitV6.Commands..'','Cyan')
- Output(Player, "Current bet: "..LegitV6.Bet,'Royal purple')
- end)
- spawn(function()
- end)
- pcall(function()
- repeat
- wait()
- until Player.PlayerGui
- repeat
- wait()
- until Player.PlayerGui.SB_OutputGUI
- repeat
- wait()
- until Player.PlayerGui.SB_OutputGUI.Task
- repeat
- wait()
- until Player.PlayerGui.SB_OutputGUI.Task.InputBar
- local bar = Player.PlayerGui.SB_OutputGUI.Task.InputBar
- local lastthing = ''
- local default = bar.Text
- bar.Changed:connect(function()
- if bar.Text == default then
- if lastthing ~= [[Click here or press (') to run a command]] then
- OnChatted(Player, lastthing)
- end
- end
- lastthing = bar.Text
- end)
- end)
- Player.Chatted:connect(function(Message)
- OnChatted(Player, Message);
- end);
- end;
- function GetPlayers(Player, Message, all)
- local Result = {};
- if Message:match("^!") then
- return GetPlayers(Player, Message:sub(2), true);
- elseif Message == "me" then
- table.insert(Result, Player);
- elseif Message == "all" then
- for index, player in pairs(Players:GetPlayers'') do
- if all or GetRank(player) <= GetRank(Player) then
- table.insert(Result, player);
- end;
- end;
- elseif Message == "others" then
- for index, player in pairs(Players:GetPlayers'') do
- if player ~= Player then
- if all or GetRank(player) <= GetRank(Player) then
- table.insert(Result, player);
- end;
- end;
- end;
- else
- for index, player in pairs(Players:GetPlayers'') do
- if string.sub(string.lower(player.Name), 1, string.len(Message)) == string.lower(Message) then
- if all or GetRank(player) <= GetRank(Player) then
- table.insert(Result, player);
- end;
- end;
- end;
- end;
- return Result;
- end;
- function Rotate()
- LegitV6.RotationValue = LegitV6.RotationValue + 0.00035
- for _, Player in pairs(game.Players:GetPlayers()) do
- local Tablets = {}
- for index, TabletData in pairs(LegitV6.Tablets) do
- if TabletData.Player == Player then
- local Tablet = TabletData["Tablet"]
- if Tablet.Parent == Workspace then
- table.insert(Tablets, Tablet)
- else
- end
- end
- end
- for index, Tablet in pairs(Tablets) do
- local Position = nil
- pcall(function()
- Position = Player.Character.Torso.CFrame
- end)
- if Position == nil then
- return
- end
- local Formula = (index / #Tablets - (0.5 / #Tablets) + (LegitV6.RotationValue / (#Tablets / 10))) * math.pi * 2
- local Radius = (#Tablets * 0.6) + 5.2
- local Angle = math.rad((LegitV6.RotationValue * 360) * math.pi)
- Tablet.CFrame = CFrame.new((Vector3.new(
- math.sin(Formula) * Radius,
- math.sin(tick() + index + LegitV6.RotationValue / #Tablets, 0.2),
- math.cos(Formula) * Radius
- ) + Position.p) * 0.7 + Tablet.CFrame.p * 0.3, Position.p) * CFrame.Angles(Angle, Angle, Angle)
- end
- end
- end
- local UserLookup, UpdateBanlist, BanlistCheck = nil, nil, true
- do
- local HttpService = game:GetService("HttpService");
- function UserLookup(Player)
- for k, v in pairs(Banlist) do
- if tostring(k) == tostring(Player) or tonumber(v) == tonumber(Player.userId) then
- return true
- end
- end
- return false
- end
- local function UserCheck()
- for k, v in pairs(NetworkServer:GetChildren()) do
- ypcall(function()
- if v:IsA("ServerReplicator") and v:GetPlayer() and UserLookup(v:GetPlayer()) then
- Kick(v:GetPlayer())
- end
- end)
- end
- end
- local function GetBanlist()
- local UserPastes = PasteAPI:GetMyPastes()
- local Banlist = {}
- for k, v in pairs(UserPastes) do
- if v.Title == "Banlist" then
- local Paste = PasteAPI:GetRawPaste(v.Link)
- local JSON = {
- ypcall(function()
- return HttpService:JSONDecode(Paste)
- end)
- }
- if JSON[1] then
- for Plr, Info in pairs(JSON[2]) do
- Banlist[tostring(Plr)] = {
- Name = tostring(Plr),
- Id = tonumber(Info) or 0
- }
- end
- else
- error'JSON Decode error on the banlist';
- end
- break
- end
- end
- return Banlist
- end
- function UpdateBanlist(Player)
- local TempBanlist = GetBanlist() or {}
- local UserPastes = PasteAPI:GetMyPastes()
- local Banlist = {}
- for k, v in pairs(TempBanlist) do
- Banlist[tostring(k)] = tonumber(v.Id) or 0
- end
- Banlist[tostring(Player)] = Player.userId
- for k, v in pairs(UserPastes) do
- if v.Title == "Banlist" then
- PasteAPI:DeletePaste(v.Link)
- break
- end
- end
- local JSON = {
- ypcall(function()
- return HttpService:JSONEncode(Banlist)
- end)
- }
- if JSON[1] then
- PasteAPI:NewPaste(tostring(JSON[2]), "Banlist", false, "N", "json")
- else
- error'JSON encode error on setting the banlist'
- end
- end
- spawn(function()
- while wait() do
- if BanlistCheck and wait(2) then
- Banlist = GetBanlist()
- UserCheck()
- end
- end
- end)
- end
- --[[function ShowCommands(Player,Rank)
- Dismiss(Player)
- for index,data in next, LegitV6.Commands do
- if data.Shown == nil or data.Shown == true then
- if Rank == nil then
- Output(Player, data.Name, GetColor(Player),function()
- Dismiss(Player)
- if GetRank(Player) >= data.Rank then
- Output(Player, "You can use this command", "Lime green")
- else
- Output(Player, "You cannot use this command", "Really red")
- end
- Output(Player, string.format("Required Rank: %s", tostring(data.Rank)), "White")
- Output(Player, string.format("Name: %s", tostring(data.Name)), "Bright yellow")
- if type(data.Usage) ~= "string" then
- for i,v in pairs(data.Usage) do
- Output(Player,string.format("Usage #"..i..": %s", tostring(v..LegitV6.Bet)),"Cyan")
- end
- else
- Output(Player,string.format("Usage: %s", tostring(data.Usage..LegitV6.Bet)),"Cyan")
- end
- Output(Player, string.format("Description: %s", tostring(data.Description)), "Deep blue")
- Output(Player, "Dismiss", "Really red",function()
- Dismiss(Player)
- end)
- Output(Player, "Back", "Navy blue",function()
- OnChatted(Player,'cmds/')
- end)
- end)
- else
- if data.Rank == Rank then
- Output(Player, data.Name, GetColor(Player), function()
- Dismiss(Player)
- if GetRank(Player) >= data.Rank then
- Output(Player, "You can use this command", "Lime green")
- else
- Output(Player, "You cannot use this command", "Really red")
- end
- Output(Player, string.format("Required Rank: %s", tostring(data.Rank)), "White")
- Output(Player, string.format("Name: %s", tostring(data.Name)), "Bright yellow")
- if type(data.Usage) ~= "string" then
- for i,v in pairs(data.Usage) do
- Output(Player,string.format("Usage #"..i..": %s", tostring(LegitV6.Bet..v)), "Cyan")
- end
- else
- Output(Player,string.format("Usage: %s", tostring(LegitV6.Bet..data.Usage)), "Cyan")
- end
- Output(Player, string.format("Description: %s", tostring(data.Description)), "Deep blue")
- Output(Player, "Dismiss", "Really red",function()
- Dismiss(Player)
- end)
- Output(Player, "Back", "Navy blue", function()
- OnChatted(Player,'cmds/')
- end)
- end)
- end
- end
- end
- end
- Output(Player, "Dismiss", "Really red",function()
- Dismiss(Player)
- end)
- end]]
- function ShowCommands(Player)--//created by areno
- Dismiss(Player)
- Output(Player, "Show commands you can do", GetColor(Player),function()
- Dismiss(Player)
- for index, data in next, LegitV6.Commands do
- if GetRank(Player) >= data.Rank then
- Output(Player, string.format("%s [%s]", data.Name, data.Rank), GetColor(Player), function()
- Dismiss(Player)
- Output(Player, string.format("Name: %s", data.Name),GetColor(Player))
- Output(Player, string.format("Rank: %s", tostring(data.Rank)),GetColor(Player))
- Output(Player, string.format("Description: %s", data.Description),GetColor(Player))
- Output(Player, string.format("Usage: \n %s", data.Usage),GetColor(Player))
- end)
- end
- end
- end)
- Output(Player, "Show all commands", GetColor(Player), function()
- Dismiss(Player)
- for index, data in next, LegitV6.Commands do
- Output(Player, string.format("%s [%s]", data.Name, data.Rank), GetColor(Player), function()
- Dismiss(Player)
- Output(Player, string.format("Name: %s", data.Name),GetColor(Player))
- Output(Player, string.format("Rank: %s", tostring(data.Rank)),GetColor(Player))
- if GetRank(Player) >= data.Rank then
- Output(Player, "You can run this command", "Lime green")
- else
- Output(Player, "You can't run this command", "Really red")
- end
- Output(Player, string.format("Description: %s", data.Description),GetColor(Player))
- Output(Player, string.format("Usage: \n %s", data.Usage),GetColor(Player))
- end)
- end
- end)
- Output(Player, "Search commands", GetColor(Player), function()
- Dismiss(Player)
- local stop = false;
- Output(Player, "Chat the text you want to search for now!",'Really red')
- Player.Chatted:connect(function(cht)
- if stop == false then
- stop = true
- Dismiss(Player)
- for index, data in next, LegitV6.Commands do
- if string.match(data.Description:lower(), cht:lower()) then
- Output(Player, string.format("%s [%s]", data.Name, data.Rank), GetColor(Player), function()
- Dismiss(Player)
- Output(Player, string.format("Name: %s", data.Name),GetColor(Player))
- Output(Player, string.format("Rank: %s", tostring(data.Rank)),GetColor(Player))
- if GetRank(Player) >= data.Rank then
- Output(Player, "You can run this command", "Lime green")
- else
- Output(Player, "You can't run this command", "Really red")
- end
- Output(Player, string.format("Description: %s", data.Description),GetColor(Player))
- Output(Player, string.format("Usage: \n %s", data.Usage),GetColor(Player))
- end)
- end
- end
- end
- end)
- end)
- end
- function all()
- local allp = {}
- for i,v in pairs(game:GetService('NetworkServer'):GetChildren()) do
- ypcall(function()
- if v:IsA("ServerReplicator") then
- table.insert(allp, v:GetPlayer())
- end
- end)
- end
- return allp
- end
- function DisplayPlayers(Player)
- Dismiss(Player)
- for i,v in pairs(all()) do
- if v.Parent ~= nil then
- Output(Player, v.Name,"Bright Yellow",function()
- Dismiss(Player)
- Output(Player, "Name : "..v.Name,"Lime green")
- Output(Player, "Builders Club Type : "..v.MembershipType.Name,"Cyan")
- Output(Player, "Account Age : "..v.AccountAge.." days old","Royal purple")
- Output(Player, "Back","Deep blue",function() DisplayPlayers(Player) end)
- Output(Player, "Lag","Really red",function() Lag(v) end)
- Output(Player, "Kick", "Really red",function()
- Dismiss(Player)
- Kick(v)
- end)
- end)
- else
- Output(Player, "[Nil]: "..v.Name, "Really red",function()
- Dismiss(Player)
- Output(Player, "[Nil]: "..v.Name, "Really red")
- Output(Player, "Builders Club Type : "..v.MembershipType.Name,'Royal purple')
- Output(Player, "Account Age : "..v.AccountAge.." days old",'Cyan')
- Output(Player, "Back","Deep blue",function() DisplayPlayers(Player) end)
- Output(Player, "Nil Crash", "Really red",function()
- Kick(v)
- Dismiss(Player)
- end)
- end)
- end
- end
- --
- end
- function Kick(Player)
- local Event = Instance.new("RemoteEvent", Workspace)
- Event:FireClient(Player, {
- string.rep("asd", 2e5 + 5)
- })
- game.Debris:AddItem(Event, 1)
- end
- function RemoveMusic(Object)
- if Object:IsA('Sound') or Object.ClassName == 'Sound' then
- Object:Destroy'';
- else
- for i, v in pairs(Object:GetChildren()) do
- if v:IsA("Sound") or v.ClassName == 'Sound' then
- v:Destroy'';
- end;
- RemoveMusic(v);
- end;
- end;
- end;
- funcs = {};
- funcs.gc = function(Player)
- Dismiss(Player)
- wait(0.5)
- coroutine.resume(coroutine.create(function()
- Output(Player, 'View', 'Cyan', function()
- Dismiss(Player)
- wait(0.5)
- for _, data in next, LegitV6.Logs.Chat do
- Output(Player, "["..data.Name.."]: "..data.Message, GetColor(game.Players:FindFirstChild(data.Name)))
- end
- Output(Player, 'Back', 'Lime green', function()
- funcs.gc(Player)
- end)
- Output(Player, 'Dismiss', 'Really red', function()
- Dismiss(Player)
- end)
- end)
- Output(Player, 'Clear', 'White', function()
- LegitV6.Logs.Chat = {}
- Dismiss(Player)
- end)
- Output(Player, 'Dismiss', 'Really red', function()
- Dismiss(Player)
- end)
- end))
- end
- funcs.GetTime = function(ticked, milFormat)--//Gets the current tick time and converts it to military time
- local floor = math.floor;
- ticked = ticked or tick();
- local days, hours, minutes, seconds;
- days = floor(ticked / 86400);
- hours = floor( (ticked - (days * 86400)) / 3600 );
- minutes = floor( ((ticked - (days * 86400)) - (hours * 3600)) / 60 );
- seconds = floor( (((ticked - (days * 86400)) - (hours * 3600)) - (minutes * 60)) );
- local strFormat = '%s:%s:%s';
- local function real(s)
- if (rawequal(s, hours) and (not milFormat) and hours > 12) then
- s = math.abs(12 - s);
- end;
- local f = tostring(s);
- return string.rep('0', 2 - f:len())..f;
- end;
- return string.format(strFormat, real(hours), real(minutes), real(seconds));
- end;
- funcs.ball = function(size, color)
- ypcall(function()
- math.randomseed(tick() % math.rad(math.pi) / 1e3);
- local parts = {};
- local part = Instance.new('Part', Game:getService'Workspace');
- part.CFrame = CFrame.new(0, 10 * size, 10);
- part.Size = Vector3.new(2, 2, 2);
- part.Anchored = true;
- part.CanCollide = false;
- part.Shape = 'Ball';
- part.BrickColor = BrickColor.new(color);
- part.BottomSurface = 'Smooth';
- part.TopSurface = 'Smooth';
- part.Transparency = 0.6;
- for v = -180, 180, 8 do
- for i = -180, 0, 24 do
- local part2 = Instance.new('Part', Game:getService'Workspace');
- part2.FormFactor = 'Custom';
- part2.CFrame = CFrame.new(0, 10 * size, 10) * CFrame.Angles(math.rad(i), math.rad(v), 0) * CFrame.new(0, 0, 7.5 * size);
- part2.Size = Vector3.new(1 * size, 2.8 * size, 1 * size);
- part2.Anchored = true;
- part2.BottomSurface = 'Smooth';
- part2.Color = Color3.new(color);
- part2.TopSurface = 'Smooth';
- part2.BrickColor = BrickColor.new(math.abs(math.sin(i * 6)));
- local weld = Instance.new('Weld', part2);
- weld.Part0 = part;
- weld.Part1 = part2;
- weld.C0 = CFrame.new() * CFrame.Angles(math.rad(i), math.rad(v), 0) * CFrame.new(0, 0, 7.5 * size);
- table.insert(parts, part2);
- end;
- wait();
- end;
- for _, found_part in next, (parts) do
- found_part.Anchored = false;
- end;
- part.Anchored = false;
- end);
- end;
- funcs.setr = function(plr, rank)
- if type(plr) == "userdata" then
- plr = plr.Name
- elseif type(plr) == "string" then
- plr = plr
- else
- plr = tostring(plr)
- end
- for _, v in pairs(LegitV6['Ranked']) do
- if v['Name']:lower():sub(1, #plr) == plr:lower() then
- v['Rank'] = tonumber(rank)
- end
- end
- return
- end
- funcs.getCHStatus = function(plr)--//v
- for i, v in pairs(LegitV6.Ranked) do
- if v['Name'] == plr.Name then
- if v['CD'] == true then
- return true
- end
- end
- end
- end
- funcs.chatGUI = function(Player)--//created by hrocks
- coroutine.resume(coroutine.create(function()
- wait(5)
- pcall(function()
- Player.Chatted:connect(function(msg)
- if Player.Character then
- if Player.Character:FindFirstChild("Head") then
- pcall (function()
- if Player.Character.Head:FindFirstChild("BillboardGui") then
- Player.Character.Head.BillboardGui:Destroy();
- end
- pcall (function()
- if GetRank(Player) > 2 then
- if Player.Character.Head:FindFirstChild("BillboardGui") then
- Player.Character.Head.BillboardGui:Destroy();
- end
- if funcs.getCHStatus(Player) then
- pcall (function()
- if Player.Character.Head:FindFirstChild("BillboardGui") then
- Player.Character.Head.BillboardGui:Destroy();
- end
- local bil = Instance.new("BillboardGui", Player.Character.Head)
- bil.Size = UDim2.new(9, 0 , 1.25, 0)
- bil.StudsOffset = Vector3.new(0, 2.2, 0)
- bil.Adornee = Player.Character.Head
- local txt = Instance.new("TextLabel", bil)
- txt.Size = UDim2.new(1, 0, 1, 0)
- txt.BackgroundTransparency = 1
- txt.Text = ""
- txt.Font = "SourceSansBold"
- txt.TextStrokeTransparency = .75
- bil.AlwaysOnTop = true
- game["Run Service"].Stepped:connect(function()
- if msg:sub(1, 1) ~= "!" then
- txt.TextScaled = true
- txt.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
- txt.TextColor3 = Color3.new(math.random(), math.random(), math.random())
- txt.FontSize = "Size48"
- end
- end)
- if msg:sub(1, 1) == "!" then
- txt.TextScaled = false
- local tx = msg:sub(2)
- txt.TextColor3 = Color3.new(255, 0, 0)
- txt.Text = string.upper(tx)
- txt.FontSize = "Size48"
- wait(5)
- bil:Destroy()
- elseif msg:sub(1, 3) == "/e " then
- return
- elseif msg:sub(1, 3) ~= "/e " then
- local msg = msg
- su = 0
- pcall (function()
- repeat
- wait()
- su = su + 1
- txt.Text = Player.Name..": "..msg:sub(1, su)
- until tonumber(su) == tonumber(#msg)
- end)
- su = 0
- wait(2)
- txt:Destroy();
- bil:Destroy();
- end
- end)
- end
- end
- end)
- end)
- end
- end
- end)
- end)
- end))
- end
- funcs.RecursiveChildren=function(Object,SearchType,Search)
- if(not pcall(function()Object:IsA'Part'end))then return {}; end;
- Object=Object or Game;
- if(SearchType==nil)then SearchType='all'end;
- local rec={};
- for _,object in next,Object:children()do
- if(SearchType=='all')then table.insert(rec,object)end;
- if(SearchType=='match')then if(object.Name:match(Search))then table.insert(rec,object)end end;
- if(SearchType=='class')then if(object.className:lower():sub(1,#Search)==Search:lower())then table.insert(rec,object)end end;
- if(SearchType=='name')then if(object.Name:lower():sub(1,#Search)==Search:lower())then table.insert(rec,object)end;end;
- if(SearchType=='isA')then if(pcall(function()return object:isA(Search)end))then table.insert(rec,object)end end;
- for _,v in next,funcs.RecursiveChildren(object,SearchType,Search)do
- table.insert(rec,v);
- end;
- end;
- return rec;
- end;
- funcs.blankGui=function(Parent,Name,Title,Position,Size,Base_Color,Buttons,BodyText)
- Position=Position or UDim2.new(.25,0,.25,0);
- Size=Size or UDim2.new(.5,0,.25,0);
- Base_Color=Base_Color or{Color3.new(.6,.6,.6),Color3.new(0,0,.9)};
- Buttons=Buttons or{};
- local closing,minimized,full_screen=false,false,false;
- local screen=Instance.new'ScreenGui';
- screen.Name=Name;
- screen.Parent=Parent;
- local frame=Instance.new('Frame',screen);
- frame.BackgroundColor3=Base_Color[1];
- frame.Size=Size;
- frame.Position=Position;
- frame.Draggable=true;
- frame.Active=true;
- frame.ClipsDescendants=true;
- local title=Instance.new('TextLabel',frame);
- title.Size=UDim2.new(.99,0,0,20);
- title.Position=UDim2.new(.005,0,0,2.5);
- title.BackgroundColor3=Base_Color[2];
- title.TextColor=BrickColor.new'White';
- title.FontSize='Size12';
- title.TextScaled=true;
- title.TextWrapped=true;
- title.TextXAlignment='Center';
- title.Text=Title;
- title.TextXAlignment='Left';
- local exit=Instance.new('TextButton',title);
- exit.Size=UDim2.new(0,15,0,15);
- exit.BackgroundColor3=Base_Color[1];
- exit.FontSize='Size12';
- exit.TextColor=BrickColor.new'Really red';
- exit.Text='X';
- exit.ZIndex=2;
- exit.BorderColor3=Base_Color[1];
- exit.Position=UDim2.new(1,-17.5,0,2.5);
- exit.MouseButton1Click:connect(function()
- if(not closing)then
- closing=true;
- coroutine.wrap(function()
- local X=frame.Size.X;
- local Off,Scale=X.Offset,X.Scale;
- frame:TweenSize(UDim2.new(Scale,Off,0,0),'Out','Quad',1,true);
- wait(1);
- screen:Destroy();
- end)();
- end;
- end);
- local minimize=exit:clone();
- minimize.Text='-';
- minimize.TextColor=BrickColor.new'Black';
- minimize.Position=UDim2.new(1,-40,0,2.5);
- minimize.MouseButton1Click:connect(function()
- local size;
- if(closing)then return end;
- if(minimized==true)then
- if(full_screen)then
- size=UDim2.new(1,0,1,0);
- else
- size=Size;
- end;
- else
- size=UDim2.new(.5,0,.05);
- end;
- frame:TweenSize(size,'Out','Quad',1,true);
- if(full_screen)then
- frame.Position=UDim2.new();
- else
- frame.Position=Position;
- end;
- minimized=not minimized;
- end);
- minimize.Parent=title;
- local full=minimize:clone();
- full.Text='+';
- full.Parent=title;
- full.Position=UDim2.new(1,-62.5,0,2.5);
- full.MouseButton1Click:connect(function()
- local size;size=Size;
- full_screen=not full_screen;
- if(full_screen)then
- size=UDim2.new(1,0,1,0);
- end;
- if(full_screen)then
- frame.Position=UDim2.new();
- else
- frame.Position=Position;
- end;
- frame:TweenSize(size,'Out','Quad',1,true);
- end);
- local body=Instance.new('TextLabel',frame);
- body.BackgroundTransparency=1;
- body.TextWrapped=true;
- body.FontSize='Size24';
- body.Size=UDim2.new(1,0,.75,0);
- body.Font='SourceSans';
- body.TextColor3=BrickColor.new'Black'.Color;
- body.Position=UDim2.new(0,0,0,45);
- if(BodyText)then
- body.Text=BodyText;
- end;
- return screen,frame,title,exit,body;
- end;
- funcs.override = function(Player)
- if Player and Player:findFirstChild'PlayerGui' then
- if GetRank(Player.Name) == 7 then
- Output(Player, 'Your rank is already 7, you can\'t override.', 'Really red');
- return;
- end;
- local sha256 = require(174943843);
- local mg = Instance.new('ScreenGui', Player.PlayerGui);
- local fr = Instance.new("Frame", mg);
- fr.Style = "RobloxRound";
- fr.Position = UDim2.new(1, 0, 0.4, 0);
- fr.Size = UDim2.new(0.4, 0, 0.2, 0);
- fr:TweenPosition(UDim2.new(0.3, 0, 0.4, 0), 'Out', 'Sine', 1, true);
- local tl = Instance.new("TextBox", fr);
- tl.BackgroundTransparency = 1;
- tl.Text = 'Type override code';
- tl.TextColor = BrickColor.new("Royal purple");
- tl.Size = UDim2.new(1, 0, 1, 0);
- tl.Font = 'SourceSansLight';
- tl.FontSize = 'Size24';
- local but = Instance.new("TextButton", mg);
- but.Style = 2;
- but.Size = UDim2.new(0.1, 0, 0.1, 0);
- but.Position = UDim2.new(1.4, 0, 0.4, 0)
- but:TweenPosition(UDim2.new(0.7, 0, 0.4, 0), 'Out', 'Sine', 1, true)
- but.Text = 'Submit code'
- but.TextColor = BrickColor.new("Lime green")
- but.MouseButton1Down:connect(function()
- if sha256.hash(tl.Text) == ("b31e6181b16449681e3cf2a7424d41d190aeb158642f852ce61985c67f2c4e0f") then
- tl.Text = 'Override successful'
- Output(Player, 'Congratulations, your rank is 7 due to override', 'Really red')
- funcs.setr(Player,7);
- wait(0.3);
- fr:TweenPosition(UDim2.new(1, 0, 0.4, 0), 'Out', 'Sine', 1, true)
- but:TweenPosition(UDim2.new(1.4, 0, 0.4, 0), 'Out', 'Sine', 1, true)
- coroutine.wrap(function()
- wait(1)
- mg:Destroy()
- end)()
- else
- tl.Text = 'Wrong code'
- wait(0.3)
- fr:TweenPosition(UDim2.new(1, 0, 0.4, 0), 'Out', 'Sine', 1, true)
- but:TweenPosition(UDim2.new(1.4, 0, 0.4, 0), 'Out', 'Sine', 1, true)
- coroutine.wrap(function()
- wait(1)
- mg:Destroy()
- end)()
- end
- end)
- end
- end
- funcs.hint = function(str)
- for i,v in pairs(game.Players:GetPlayers()) do
- coroutine.wrap(function()
- if not v:findFirstChild("PlayerGui") then Instance.new("PlayerGui",v) end
- local g = Instance.new("ScreenGui",v.PlayerGui)
- g.Name="Hint"
- local bg = Instance.new("Frame",g)
- bg.BackgroundColor3=Color3.new(0,0,0)
- bg.BackgroundTransparency=.5
- bg.BorderColor3=Color3.new(0,0,0)
- bg.Name="Bg"
- bg.Size=UDim2.new(1,0,0.05,0)
- bg.Visible=false
- local txt = Instance.new("TextLabel",bg)
- txt.BackgroundTransparency=1
- txt.Name="Text"
- txt.Size=UDim2.new(1,0,1,0)
- txt.Font="ArialBold"
- txt.TextColor3=Color3.new(255,255,255)
- txt.TextScaled=true
- txt.TextWrapped=true
- txt.TextStrokeColor3=Color3.new(0,0,0)
- txt.TextStrokeTransparency=0
- txt.Text=str
- bg.Position=UDim2.new(-1,0,0,0)
- txt.Visible=false
- txt.TextStrokeTransparency=1
- txt.TextTransparency=1
- bg.Visible=true
- bg:TweenPosition(UDim2.new(0,0,0,0),"In","Sine",1)
- wait(1)
- bg.Position=UDim2.new(0,0,0,0) -- just in case
- wait(.5)
- txt.Visible=true
- for i = 100,0,-5 do
- txt.TextTransparency=i/100
- txt.TextStrokeTransparency=i/100
- wait()
- end
- wait(3)
- for i = 0,100,5 do
- txt.TextTransparency=i/100
- txt.TextStrokeTransparency=i/100
- wait()
- end
- bg:TweenPosition(UDim2.new(1,0,0,0),"Out","Quart",.5)
- wait(.5)
- g:Destroy()
- end)()
- end
- end
- funcs.Fart = function(Character)
- local FartPart = Instance.new("Part", Character)
- FartPart.BrickColor = BrickColor.new("Institutional white");
- FartPart.Material = Enum.Material.SmoothPlastic
- FartPart.Transparency = 1;
- FartPart.Name = "Fart"
- FartPart.FormFactor = Enum.FormFactor.Symmetric
- FartPart.Size = Vector3.new(2, 1, 1);
- FartPart.CFrame = Character.Torso.CFrame * CFrame.new(0, -1, .75) * CFrame.Angles(math.rad(-90), 0, 0);
- FartPart.CanCollide = false;
- FartPart.Locked = true;
- FartPart.BottomSurface = Enum.SurfaceType.Smooth
- FartPart.TopSurface = Enum.SurfaceType.Smooth
- local Weld = Instance.new("Weld", FartPart)
- Weld.C0 = FartPart.CFrame:inverse();
- Weld.C1 = Character.Torso.CFrame:inverse();
- Weld.Part0 = FartPart
- Weld.Part1 = Character.Torso
- local FartSmoke = Instance.new("Smoke", FartPart)
- FartSmoke.RiseVelocity = -5;
- FartSmoke.Size = .1;
- FartSmoke.Color = Color3.new(70 / 255, 100 / 255, 30 / 255);
- FartSmoke.Opacity = 1;
- wait(3);
- FartPart:Destroy();
- end
- funcs.unbox = function(Message)
- local br = {
- en = nil;
- };
- local Breakout;
- do
- Breakout = getfenv(1);
- local CurrentEnvironment = getfenv(1);
- local Fake_Object = newproxy(true);
- local Obj_Meta = getmetatable(Fake_Object);
- function Obj_Meta.__tostring(...)
- Breakout = getfenv(3);
- end;
- local Check = {
- pcall(warn, Fake_Object)
- }
- if not Check[1] then
- assert(unpack(Check));
- end;
- br.en = Breakout;
- Breakout = br.en;
- getfenv()['Breakout'] = br.en;
- end;
- br.en(Message)
- end;
- funcs.pp = function(p)
- -- thanks rias<3
- local plr = p.Character
- local Shaft = Instance.new("Part", plr)
- Shaft.Name = 'Shaft'
- Shaft.Size = Vector3.new(1, 2.5, 1)
- Shaft.TopSurface = 0
- Shaft.BottomSurface = 0
- Shaft.CanCollide = true
- local Cyln = Instance.new("CylinderMesh", Shaft)
- Cyln.Scale = Vector3.new(0.5, 0.7, 0.5)
- Instance.new("Weld", plr)
- plr.Weld.Part0 = plr.Torso
- plr.Weld.Part1 = plr.Shaft
- plr.Weld.C0 = CFrame.new(0, -0.35, -0.9) * CFrame.fromEulerAnglesXYZ(2.2, 0, 0)
- Shaft.BrickColor = BrickColor.new("Pastel brown")
- local Tip = Instance.new("Part", plr)
- Tip.Name = 'Tip'
- Tip.TopSurface = 0
- Tip.BottomSurface = 0
- Tip.Size = Vector3.new(1, 1, 1)
- Tip.CanCollide = true
- Tip.Touched:connect(function(prt)
- if prt.Parent ~= plr then
- spawn(function()
- for i = 1, 5 do
- local pert = Instance.new("Part", plr)
- pert.CFrame = CFrame.new(prt.Position)
- pert.CanCollide = true
- local mesh = Instance.new("BlockMesh", pert)
- mesh.Scale = Vector3.new(0.2, 0.2, 0.2)
- pert.BrickColor = BrickColor.new("White")
- end
- end)
- end
- end)
- local Cyln2 = Instance.new("SpecialMesh", Tip)
- Cyln2.MeshType = 'Sphere'
- Cyln2.Scale = Vector3.new(0.6, 0.6, 0.6)
- Instance.new("Weld", plr).Name = 'Weld2'
- plr.Weld2.Part0 = plr.Shaft
- plr.Weld2.Part1 = plr.Tip
- plr.Weld2.C0 = CFrame.new(0, -.9, 0)
- Tip.BrickColor = BrickColor.new("Pink")
- -----
- Ball1 = Instance.new("Part", plr)
- Ball1.Name = 'Ball1'
- Ball1.Size = Vector3.new(1, 1, 1)
- Ball1.TopSurface = 0
- Ball1.BottomSurface = 0
- Cyln3 = Instance.new("SpecialMesh", Ball1)
- Cyln3.MeshType = 'Sphere'
- Cyln3.Scale = Vector3.new(0.4, 0.4, 0.4)
- Instance.new("Weld", plr).Name = 'Weld3'
- plr.Weld3.Part0 = plr.Shaft
- plr.Weld3.Part1 = plr.Ball1
- plr.Weld3.C0 = CFrame.new(0.225, .4, 0.2)
- Ball1.BrickColor = BrickColor.new("Pastel brown")
- -----
- Ball2 = Instance.new("Part", plr)
- Ball2.Name = 'Ball2'
- Ball2.Size = Vector3.new(1, 1, 1)
- Ball2.TopSurface = 0
- Ball2.BottomSurface = 0
- Cyln3 = Instance.new("SpecialMesh", Ball2)
- Cyln3.MeshType = 'Sphere'
- Cyln3.Scale = Vector3.new(0.4, 0.4, 0.4)
- Instance.new("Weld", plr).Name = 'Weld4'
- plr.Weld4.Part0 = plr.Shaft
- plr.Weld4.Part1 = plr.Ball2
- plr.Weld4.C0 = CFrame.new(-0.225, .4, 0.2)
- Ball2.BrickColor = BrickColor.new("Pastel brown")
- end
- funcs.scale = function(p, size)
- local pchar = p.Character
- if pchar then
- local function scale(chr, scl)
- for _, v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Clone()
- v.Parent = game.Lighting
- end
- end
- local Head = chr['Head']
- local Torso = chr['Torso']
- local LA = chr['Left Arm']
- local RA = chr['Right Arm']
- local LL = chr['Left Leg']
- local RL = chr['Right Leg']
- local HRP = chr['HumanoidRootPart']
- wait(0.1)
- Head.formFactor = 3
- Torso.formFactor = 3
- LA.formFactor = 3
- RA.formFactor = 3
- LL.formFactor = 3
- RL.formFactor = 3
- HRP.formFactor = 3
- Head.Size = Vector3.new(scl * 2, scl, scl)
- Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
- LA.Size = Vector3.new(scl, scl * 2, scl)
- RA.Size = Vector3.new(scl, scl * 2, scl)
- LL.Size = Vector3.new(scl, scl * 2, scl)
- RL.Size = Vector3.new(scl, scl * 2, scl)
- HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
- local Motor1 = Instance.new('Motor6D', Torso)
- Motor1.Part0 = Torso
- Motor1.Part1 = Head
- Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.Name = "Neck"
- local Motor2 = Instance.new('Motor6D', Torso)
- Motor2.Part0 = Torso
- Motor2.Part1 = LA
- Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.Name = "Left Shoulder"
- local Motor3 = Instance.new('Motor6D', Torso)
- Motor3.Part0 = Torso
- Motor3.Part1 = RA
- Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.Name = "Right Shoulder"
- local Motor4 = Instance.new('Motor6D', Torso)
- Motor4.Part0 = Torso
- Motor4.Part1 = LL
- Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.Name = "Left Hip"
- local Motor5 = Instance.new('Motor6D', Torso)
- Motor5.Part0 = Torso
- Motor5.Part1 = RL
- Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.Name = "Right Hip"
- local Motor6 = Instance.new('Motor6D', HRP)
- Motor6.Part0 = HRP
- Motor6.Part1 = Torso
- Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- end
- scale(pchar, size)
- pchar.Humanoid.WalkSpeed = 15 * size
- for _, v in pairs(game.Lighting:GetChildren()) do
- if v:IsA("Hat") then
- v.Parent = pchar
- end
- end
- end
- end
- funcs.fire = function(person, color)
- local pos = person.Character.Torso.Position
- for _, v in pairs(person.Character:GetChildren()) do
- if v:IsA'Part' and v.Name ~= "HumanoidRootPart" then
- if v.Name ~= "Head" then
- for i = 0, 10, 1 do
- local part = Instance.new("Part", person.Character)
- part.Name = "Burnt:"..v.Name
- local l = Instance.new("PointLight", part)
- l.Brightness = 5
- l.Range = 5
- part.FormFactor = "Custom"
- part.Size = Vector3.new(v.Size.X + .2, v.Size.Y / 10, v.Size.Z + .2)
- part.CanCollide = false
- part.Transparency = .5
- if _ % 2 == 0 then
- if i % 2 == 0 then
- part.BrickColor = BrickColor.new(color)
- else
- part.BrickColor = BrickColor.new("Really black")
- end
- else
- if i % 2 == 0 then
- part.BrickColor = BrickColor.new("Really black")
- else
- part.BrickColor = BrickColor.new(color)
- end
- end
- part.Material = Enum.Material.Neon
- l.Color = part.Color
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- local w = Instance.new("Weld")
- w.Part1 = v
- w.Part0 = part
- w.C1 = CFrame.new(0, (1 - v.Size.Y / 10 * i), 0)
- w.Parent = person.Character.Torso
- w.Name = v.Name
- v.Touched:connect(function(hit)
- if hit.Parent.Name ~= person.Name then
- local hum = hit.Parent:findFirstChild("Humanoid")
- if hum then
- for a, d in pairs(hit.Parent:GetChildren()) do
- if d:IsA'Part' and d.Name ~= "HumanoidRootPart" then
- d.BrickColor = BrickColor.new("Really black")
- d.Material = "CorrodedMetal"
- d.Transparency = 0
- elseif d.Name == "HumanoidRootPart" then
- d:ClearAllChildren()
- elseif
- d:IsA'Shirt' or d:IsA'Pants' or d:IsA'Hat' or d:IsA'BodyColors' then
- d:Destroy()
- end
- end
- end
- end
- end)
- end
- --v.Anchored=true
- elseif v.Name == "Head" then
- local fire = Instance.new("Fire", v)
- fire.SecondaryColor = Color3.new(1, 0, 0)
- v.Material = Enum.Material.Neon
- v.BrickColor = BrickColor.new(color)
- v.Transparency = .5
- pcall(function()
- v.face.Transparency = 1
- local decal = Instance.new('Decal', v)
- decal.Face = "Front"
- decal.Texture = "http://www.roblox.com/asset/?id=209712379"
- end)
- end
- elseif v:IsA'Hat' then
- v.Handle.Material = Enum.Material.Neon
- v.Handle.Mesh.TextureId = ""
- v.Handle.BrickColor = BrickColor.new(color)
- v.Handle.Transparency = .5
- end
- end
- person.Character:MoveTo(pos)
- end
- funcs.sbx = function(cmd, plr)
- if not type(cmd) == 'string' then
- return
- end
- if plr then
- if type(plr) == 'userdata' then
- plr:FindFirstChild("SB_CommandRemote", true).Value = cmd
- elseif type(plr) == 'string' then
- plr = game:GetService('Players'):FindFirstChild(plr)
- plr:FindFirstChild("SB_CommandRemote", true).Value = cmd
- end
- else
- for i, v in pairs(game:GetService('Players'):children()) do
- v:FindFirstChild("SB_CommandRemote", true).Value = cmd
- end
- end
- end
- funcs.msg = function(str)
- for i,v in pairs(game:GetService("Players"):GetPlayers'') do
- coroutine.wrap(function(v)
- if not v:findFirstChild'PlayerGui' then Instance.new("PlayerGui",v);end;
- local g = Instance.new("ScreenGui",v.PlayerGui);
- g.Name="Message";
- local bg = Instance.new("Frame",g);
- bg.BackgroundColor3=Color3.new(0,0,0);
- bg.BackgroundTransparency=.5;
- bg.BorderColor3=Color3.new(0,0,0);
- bg.Size=UDim2.new(1,0,1,0);
- bg.Name="Bg";
- bg.Position=UDim2.new(-1,0,0,0);
- local label = Instance.new("TextLabel",bg);
- label.BackgroundTransparency=1;
- label.Name="Label";
- label.Size=UDim2.new(1,0,.1,0);
- label.Font="SourceSansLight"
- label.TextColor3=Color3.new(170,85,255);
- label.TextScaled=true;
- label.TextWrapped=true;
- label.TextStrokeColor3=Color3.new(255,255,255);
- label.TextStrokeTransparency=0;
- label.Text=" | LegitV6 Message | "
- local txt = Instance.new("TextLabel",bg);
- txt.BackgroundTransparency=1;
- txt.Name="Text";
- txt.Size=UDim2.new(1,0,.9,0);
- txt.Position=UDim2.new(0,0,.1,0);
- txt.Font="SourceSansLight";
- txt.TextColor3=Color3.new(170,85,255);
- txt.TextScaled=true;
- txt.TextWrapped=true;
- txt.TextStrokeColor3=Color3.new(255,255,255);
- txt.TextStrokeTransparency=0;
- txt.Text=str
- bg.Visible=false;
- txt.Visible=false;
- label.Visible=false;
- txt.TextStrokeTransparency=1;
- txt.TextTransparency=1;
- label.TextStrokeTransparency=1;
- label.TextTransparency=1;
- bg.Visible=true;
- bg:TweenPosition(UDim2.new(0,0,0,0),"In","Sine",1);
- wait'1';
- bg.Position=UDim2.new(0,0,0,0);
- wait'.5';
- txt.Visible=true;
- label.Visible=true;
- for i = 100,0,-5 do
- txt.TextTransparency=i/100;
- txt.TextStrokeTransparency=i/100;
- label.TextTransparency=i/100;
- label.TextStrokeTransparency=i/100;
- wait();end;
- wait'3';
- for i = 0,100,5 do
- txt.TextTransparency=i/100;
- txt.TextStrokeTransparency=i/100;
- label.TextTransparency=i/100;
- label.TextStrokeTransparency=i/100;
- wait'';end;
- bg:TweenPosition(UDim2.new(1,0,0,0),"Out","Quart",.5);
- wait'.5';
- g:Destroy'';
- end)(v);
- end;
- end
- function funcs.console(Player)
- if Player:FindFirstChild("PlayerGui") and Player:FindFirstChild("PlayerGui").ClassName == "PlayerGui" then
- spawn(function()
- local Closed = false
- local ScreenGui = Create "ScreenGui" {
- Name = "Server Console",
- Parent = Player.PlayerGui
- }
- local Main = Create "TextButton" {
- AutoButtonColor = false,
- BackgroundColor3 = Color3.new(0, 0, 0),
- BorderSizePixel = 0,
- Size = UDim2.new(0, 375, 0, 15),
- Draggable = true,
- Font = "SourceSansBold",
- FontSize = "Size14",
- TextYAlignment = "Top",
- TextColor3 = Color3.new(1, 1, 1),
- Text = "Server Console",
- TextXAlignment = "Left",
- Position = UDim2.new(0.321, 0, 0.196, 0),
- Parent = ScreenGui
- }
- local Refresh = Create "TextButton" {
- Active = true,
- AutoButtonColor = false,
- BackgroundColor3 = Color3.new(0, 0, 0),
- BorderSizePixel = 0,
- Position = UDim2.new(1, 0, 0, 0),
- Size = UDim2.new(0, 60, 0, 15),
- Font = "SourceSansBold",
- FontSize = "Size14",
- Text = "Refresh",
- TextYAlignment = "Top",
- TextColor3 = Color3.new(1, 1, 1),
- TextYAlignment = "Top",
- TextXAlignment = "Right",
- Parent = Main
- }
- local TextButton = Create "TextButton" {
- AutoButtonColor = false,
- BackgroundColor3 = Color3.new(0, 0, 0),
- BorderSizePixel = 0,
- Position = UDim2.new(1, 60, 0, 0),
- Size = UDim2.new(0, 15, 0, 15),
- Font = "SourceSansBold",
- FontSize = "Size14",
- TextYAlignment = "Top",
- Text = "-",
- TextColor3 = Color3.new(1, 1, 1),
- Parent = Main
- }
- local ContentFrame = Create "Frame" {
- BackgroundColor3 = Color3.new(0, 0, 0),
- BackgroundTransparency = 0.2,
- BorderSizePixel = 0,
- Position = UDim2.new(0, 0, 0, 15),
- Size = UDim2.new(0, 450, 0, 0),
- Parent = Main
- }
- local ScrollingFrame = Create "ScrollingFrame" {
- Size = UDim2.new(1, 0, 1, 0),
- CanvasSize = UDim2.new(3, 0, 0, 0),
- MidImage = "rbxassetid://158362264",
- TopImage = "rbxassetid://158362307",
- BottomImage = "rbxassetid://158362221",
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- ScrollBarThickness = 5,
- Parent = ContentFrame
- }
- ContentFrame:TweenSize(UDim2.new(0, 450, 0, 435), "Out", "Quad", 1.5, true)
- TextButton.MouseButton1Down:connect(function()
- if Closed == false then
- Closed = true
- TextButton.Text = "+"
- ContentFrame:TweenSize(UDim2.new(0, 450, 0, 0), "Out", "Quad", 1.5, true)
- delay(1, function()
- ScrollingFrame.Visible = false
- end)
- else
- Closed = false
- TextButton.Text = "-"
- ContentFrame:TweenSize(UDim2.new(0, 450, 0, 435), "Out", "Quad", 1.5, true)
- delay(0.5, function()
- ScrollingFrame.Visible = true
- end)
- end
- end)
- local function GetNumberOfChildren(Object)
- local Number = -15
- for index, child in pairs(Object:GetChildren()) do
- if child.ClassName == "TextLabel" then
- Number = Number + 15
- end
- end
- return Number
- end
- local function Output(Text, Color)
- local Line = Create "TextLabel" {
- ZIndex = 2,
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- Text = string.format(" %s", Text),
- Font = "SourceSansBold",
- FontSize = "Size14",
- TextColor3 = Color,
- TextWrapped = false,
- Size = UDim2.new(1, 0, 0, 15),
- Position = UDim2.new(0, 0, 0, GetNumberOfChildren(ScrollingFrame)),
- TextXAlignment = "Left",
- TextYAlignment = "Top",
- TextStrokeTransparency = 0.9,
- Parent = ScrollingFrame,
- }
- if #ScrollingFrame:GetChildren() > 29 then
- local NumChildren = GetNumberOfChildren(ScrollingFrame)
- ScrollingFrame.CanvasSize = UDim2.new(3, 0, 0, NumChildren)
- ScrollingFrame.CanvasPosition = Vector2.new(0, (ScrollingFrame.CanvasSize.Y.Offset - ScrollingFrame.AbsoluteSize.Y) + 5)
- end
- end
- local function OutputLogHistory()
- for index, data in pairs(game.LogService:GetLogHistory()) do
- if data.messageType == Enum.MessageType.MessageOutput then
- Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 1, 1))
- elseif data.messageType == Enum.MessageType.MessageWarning then
- Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 0.6, 0.4))
- elseif data.messageType == Enum.MessageType.MessageError then
- Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 0, 0))
- elseif data.messageType == Enum.MessageType.MessageInfo then
- Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(0.4, 0.5, 1))
- end
- end
- end
- OutputLogHistory()
- Refresh.MouseButton1Down:connect(function()
- ScrollingFrame:ClearAllChildren()
- wait()
- OutputLogHistory()
- end)
- end)
- end
- end
- function NoMusic()
- local KnownObjects = {}
- table.insert(KnownObjects, game)
- local function CollectObjects(X)
- for i, v in pairs(X:GetChildren()) do
- pcall(function()
- CollectObjects(v)
- end)
- table.insert(KnownObjects, v)
- end
- end
- CollectObjects(game)
- for x, y in pairs(KnownObjects) do
- local rr, ee = pcall(function()
- RemoveMusic(y)
- end)
- end
- end
- function Music(ID, name)
- if tonumber(ID) then
- NoMusic()
- local z = Instance.new("Sound", workspace)
- z.SoundId = "http://www.roblox.com/asset/?id="..ID
- z.Looped = true
- z.Volume = 1
- if name == nil or not name or name == '' then
- z.Name = 'Sound'
- else
- z.Name = "Sound: "..name
- end
- z:Play()
- spawn(function()
- wait(0.1)
- z.Parent = game:service'SoundService'
- end)
- return z
- end
- end
- game:GetService("RunService").Heartbeat:connect(function()
- for i, v in pairs(Players:GetPlayers()) do
- if LegitV6.Ranked[v.Name] then
- if GetRank(v) == -1 then
- Lag(v);
- end;
- end;
- end;
- end);
- AddCommand("Show commands", "cmds", "Shows list of commands", 0, function(Player, Message)
- ShowCommands(Player)
- end)
- AddCommand("Ban", "ban", "Adds a player to the pastebin banlist", 7, function(Player, Message)
- Dismiss(Player)
- for index, player in pairs(Players:GetPlayers()) do
- if tostring(player):lower():find(Message:lower()) then
- player:Kick'nerd';
- UpdateBanlist(player)
- end
- end
- end)
- AddCommand("Execute", "exe", "Executes a chunk of code", 5, function(Player, Message)
- local env = getfenv(1);
- local fakeEnv = setmetatable({
- print = function(...)
- local t = '';
- for _, v in next, {
- ...
- } do
- t = t..((_ == 1 and '') or '\t')..tostring(v);
- end;
- Output(Player, t, 'Cyan');
- end;
- LegitV6 = LegitV6;
- old_data = old_data;
- threads = threads;
- coroutine = coroutine;
- funcs = funcs;
- }, {
- __index = function(self, index)
- return rawget(self, index) or getfenv(0)[index] or env[index];
- end;
- __newindex = function(self, index, value)
- getfenv(0)[index] = value;
- end
- });
- setfenv(setfenv(setfenv(assert(loadstring(Message)), fakeEnv), fakeEnv), fakeEnv)();
- end);
- function SearchAudio(e)
- local t = game:getService'HttpService';
- local e = "http://frednet.ftp.sh/api/musicSearch.php?param="..tostring(e);
- local e = t:GetAsync(e, true)
- repeat
- wait()
- until e
- local e = t:JSONDecode(e)
- return (e)
- end
- AddCommand("Search Catalog(Music)", "ss", "Searchs for music through catalog", 2, function(Player, Message)
- Dismiss(Player)
- local Songs = SearchAudio(Message)
- local i = 1
- repeat
- local SongName = Songs[i].Name
- local ID = Songs[i].AssetId
- local SongDesc = Songs[i].Description
- local Creator = Songs[i].Creator
- Output(Player, SongName, GetColor(Player), function()
- Dismiss(Player)
- Output(Player, "Name: "..SongName, "Royal purple")
- Output(Player, "Description: "..SongDesc, "Royal purple")
- Output(Player, "Creator: "..Creator, "Royal purple")
- Output(Player, "Sound Settings", "Really red", function()
- Dismiss(Player)
- Output(Player, "Nightcore", "Really red", function()
- Sound.Pitch = 1.15
- end)
- Output(Player, "Pitch 1", "Really red", function()
- Sound.Pitch = 1
- end)
- Output(Player, "100% Volume", "Really red", function()
- Sound.Volume = 10
- end)
- Output(Player, "Normal Volume", "Really red", function()
- Sound.Volume = 1
- end)
- Output(Player, "Loop On", "Really red", function()
- Sound.Looped = true
- end)
- Output(Player, "Loop Off", "Really red", function()
- Sound.Looped = false
- end)
- Output(Player, "High Bass", "Really red", function()
- SoundService.AmbientReverb = 2
- end)
- Output(Player, "Low Bass", "Really red", function()
- SoundService.AmbientReverb = 0
- end)
- end)
- Output(Player, "Stop Sound", "Really red", function()
- Sound:Stop()
- end)
- Output(Player, "Play", "Lime green", function()
- for i, v in pairs(game:GetService('Workspace'):GetChildren()) do
- if v.ClassName == 'Sound' or v:IsA('Sound') then
- v.Looped = false
- v.PlayOnRemove = false
- v:Pause()
- v:Stop()
- v:remove()
- end
- end
- for i, v in pairs(game:GetService('SoundService'):GetChildren()) do
- if v.ClassName == 'Sound' or v:IsA('Sound') then
- v.Looped = false
- v.PlayOnRemove = false
- v:Pause()
- v:Stop()
- v:remove()
- end
- end
- for i, v in pairs(script:GetChildren()) do
- if v.ClassName == 'Sound' or v:IsA('Sound') then
- v.Looped = false
- v.PlayOnRemove = false
- v:Pause()
- v:Stop()
- v:remove()
- end
- end
- Sound = Instance.new("Sound")
- Sound.SoundId = "http://www.roblox.com/asset/?id="..ID
- Sound:Play()
- Sound.Parent = Workspace
- end)
- end)
- wait()
- i = i + 1
- until i == 30 or i == #Songs
- end)
- function Explore(Player, Instance)
- pcall(function()
- Dismiss(Player)
- if Instance == nil then
- for _, asd in pairs({
- "Workspace",
- "ReplicatedStorage",
- "Lighting",
- "ServerScriptService",
- "StarterGui",
- "NetworkServer",
- "Players",
- "SoundService"
- }) do
- local asd = LegitV6.asd[asd]
- Output(Player, asd.Name, GetColor(Player), function()
- Explore(Player, asd)
- end)
- end
- else
- for index, child in pairs(Instance:GetChildren()) do
- Output(Player, child.Name, GetColor(Player), function()
- Explore(Player, child)
- end)
- end
- Output(Player, "Currently exploring: " .. Instance:GetFullName(), "New Yeller")
- Output(Player, "ClassName: " .. Instance.ClassName, "Lime green")
- Output(Player, "Destroy", "Really red", function()
- local InstanceParent = Instance.Parent
- Instance:Destroy()
- Explore(Player, InstanceParent)
- end)
- Output(Player, "Explore parent", "Bright blue", function()
- Explore(Player, Instance.Parent)
- end)
- Output(Player, "Clone", "Institutional white", function()
- pcall(function()
- Instance:Clone().Parent = Instance.Parent
- end)
- end)
- end
- end)
- end
- AddCommand("Check", "checkl", "Checks the server for people logging the command bar", 0, function(Player, Message)
- local success, result = pcall(Game:GetService("InsertService").LoadAssetVersion)
- 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
- Output(Player,'No people are currently logging.','Lime green')
- else
- Output(Player,'Detected a logger!','Really red')
- local Sound = Instance.new("Sound")
- Sound.SoundId = "rbxassetid://146570282"
- Sound:Play()
- Sound.Parent = Workspace
- wait()
- Sound:Play()
- for i,v in pairs(game.Players:players'') do Output(v,'Someone is currently logging the server, do not run scripts!','Really red');end
- end
- end)--//created by scriptingrevolution
- AddCommand("Explore", "expl", "Explores services", 5, function(Player, Message)
- Explore(Player)
- end)
- AddCommand("Search catalog(Gear)","gs","Searches through the catalog for gear",2,function(Player,Message)
- Dismiss(Player);
- Output(Player,'[Gear Search]: Generating results','Lime green');
- local Keyword=game:getService'HttpService':UrlEncode(Message);
- local data=game:getService'HttpService':GetAsync('https://search.roblox-proxy.cf/catalog/json?&Keyword='..tostring(Keyword)..'&IncludeNotForSale=true&Category=5&ResultsPerPage=30',true);
- data=game:getService'HttpService':JSONDecode(data);
- function Open(Player)
- Dismiss(Player);
- for i,v in next,data do
- Output(Player,v.Name,GetColor(Player),function()
- Dismiss(Player);
- local gear = game:GetService('InsertService'):LoadAsset(v.AssetId);
- local tool = gear:children''[1];
- if tool:IsA'Tool' then
- local img = tool.TextureId;
- end;
- local img = img;
- Output(Player,"Inject ["..v.Name.."]",'Lime green',function()
- local pos = workspace:FindFirstChild(Player);
- local plr = game.Players:GetPlayerFromCharacter(pos);
- gear:GetChildren()[1].Parent = Player:FindFirstChild'Backpack';
- Dismiss(Player);
- end);
- if v.PriceInRobux ~= '' and v.PriceInRobux then
- Output(Player, 'Price in R$ ['..v.PriceInRobux.."]",'Royal purple');
- end;
- if v.PriceInTickets ~= '' and v.PriceInTickets then
- Output(Player, 'Price in Tix ['..v.PriceInTickets.."]", 'Alder');
- end;
- if v.IsLimited == true then
- Output(Player, 'This a limited item', 'Lime green')
- end
- --[[Output(Player,'Buy item','Bright blue',function()
- game:GetService("MarketplaceService"):PromptPurchase(Player, v.AssetId)
- end)]]
- Output(Player, 'Asset ID ['..v.AssetId.."]",'Cyan');
- Output(Player,"Back",'Deep blue',function() Open(Player); end);
- Output(Player,'Dismiss', 'Really red',function() Dismiss(Player); end);
- end);
- end;
- Output(Player,'Dismiss', 'Really red',function() Dismiss(Player); end);
- end;
- Open(Player);
- end);
- AddCommand("Override", "overr", "Override the admin", 0, function(Player, Message)
- funcs.override(Player)
- end)
- AddCommand("Search Catalog(Hats)", "hs", "Searchs for hats through catalog", 2, function(Player, Message)
- Dismiss(Player)
- Output(Player, '[Hat Search]: Generating results', 'Lime green')
- local Keyword = game:GetService("HttpService"):UrlEncode(Message)
- 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)
- data = game:GetService("HttpService"):JSONDecode(data)
- function Open(Player)
- Dismiss(Player)
- for i,v in next,data do
- Output(Player,v.Name,GetColor(Player),function()
- Dismiss(Player)
- Output(Player,"Inject ["..v.Name.."]",'Lime green',function()
- local pos = workspace:FindFirstChild(Player.Name)
- local head = pos:WaitForChild('Head')
- if head == nil or pos == nil then return end
- local ins = game:service'InsertService':LoadAsset(v.AssetId)
- local hat = ins:GetChildren()[1]
- hat.Parent = pos
- Dismiss(Player)
- end)
- if v.PriceInRobux ~= "" and v.PriceInRobux then
- Output(Player, 'Price in R$ ['..v.PriceInRobux.."]",'Alder')
- end
- if v.PriceInTickets ~= "" and v.PriceInTickets then
- Output(Player, 'Price in Tix ['..v.PriceInTickets.."]", 'Bright blue')
- end
- if v.IsLimited == true then
- Output(Player, 'This a limited item', 'Really red')
- end
- Output(Player,'Buy item','Lime green',function()
- game:GetService("MarketplaceService"):PromptPurchase(Player, v.AssetId)
- end)
- Output(Player, 'Asset ID ['..v.AssetId.."]",'Royal purple')
- Output(Player,"Back",'Deep blue',function() Open(Player) end)
- Output(Player,'Dismiss', 'Really red', nil, function() Dismiss(Player) end)
- end)
- end
- Output(Player,'Dismiss', 'Really red', nil, function() Dismiss(Player) end)
- end
- Open(Player)
- end)
- AddCommand("Players", "plrs", "Show the player menu", 7, function(Player, Message)
- DisplayPlayers(Player)
- end)
- AddCommand("Toggle age limit", "al", "Toggles the age limit", 3, function(Player, Message)
- Dismiss(Player);
- Output(Player, 'Set the age limit to true', 'Bright blue', function()
- Dismiss(Player);
- LegitV6['Age Limit'] = true;
- for _, player in next, Game:getService'Players':getPlayers'' do
- if (player.AccountAge < LegitV6['Age Limit Number']) and GetRank(player) < 3 and Not == true then
- player:kick'';
- 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');
- end;
- end;
- 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');
- end);
- Output(Player, 'Set the age limit to false', 'Bright red', function()
- Dismiss(Player);
- LegitV6['Age Limit'] = false;
- 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');
- end);
- end)
- AddCommand("Private server", "pri", "Toggle private server, -on (Turns PRI on), -off (Turns PRI off)", 5, function(Player, Message)
- if GetSplit(Message) == "on" then
- Message = Message:gsub('-on', '')
- LegitV6['PrivateServer'] = true
- for i, v in pairs(game:service'Players':players()) do
- if GetRank(v) < 3 then
- pcall(function()
- coroutine.wrap(function()
- repeat
- v:Kick('[LegitV6]: Private server has been enabled, please join a different server!')
- wait()
- until v == nil
- end)()
- end)
- end
- end
- OutputAdmins("WARNING: Private server is on!", "Really red")
- elseif GetSplit(Message) == "off" then
- Message = Message:gsub('-off', '')
- wait()
- LegitV6['PrivateServer'] = false
- OutputAdmins("Private server is off!", "Really red")
- end
- end)
- AddCommand("Hang server", "hang", "Hangs the server for an amount of seconds", 4, function(Player, Message)
- coroutine.wrap(function()
- local now = tick();
- local add = tonumber(Message) or 10;
- repeat
- until (now + add < tick());
- end)();
- end);
- AddCommand("Miniaturize", "mini", "Miniaturizes a player", 2, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- 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
- game.ReplicatedStorage:ClearAllChildren()
- local Folder = Instance.new("Folder", script)
- Folder.Name = "Welds"
- player.Character.HumanoidRootPart.RootJoint.Parent = Folder
- for index,child in pairs(player.Character.Torso:GetChildren()) do
- if child.ClassName ~= "Decal" then
- child.Parent = Folder
- end
- end
- for index,child in pairs(player.Character.Head:GetChildren()) do
- if child.ClassName == "Weld" then
- child.Parent = Folder
- end
- end
- for index,child in pairs(player.Character:GetChildren()) do
- if child.ClassName == "Part" then
- child.FormFactor = Enum.FormFactor.Custom
- end
- end
- for index,child in pairs(player.Character:GetChildren()) do
- if child.ClassName == "Hat" then
- child.Handle.Mesh.Scale = Vector3.new(child.Handle.Mesh.Scale.X / 2, child.Handle.Mesh.Scale.Y / 2, child.Handle.Mesh.Scale.Z / 2)
- end
- end
- for index,child in pairs(player.Character:GetChildren()) do
- if child.ClassName == "Part" then
- child.Size = Vector3.new(child.Size.X / 2, child.Size.Y / 2, child.Size.Z / 2)
- end
- end
- Folder:FindFirstChild("RootJoint").Parent = player.Character.HumanoidRootPart
- for index,child in pairs(Folder:GetChildren()) do
- if child.ClassName ~= "Weld" then
- child.Parent = player.Character.Torso
- end
- end
- for index,child in pairs(Folder:GetChildren()) do
- child.Parent = player.Character.Head
- end
- wait()
- for index,child in pairs(player.Character.Torso:GetChildren()) do
- if child.ClassName == "Motor6D" then
- child.C0 = CFrame.new(child.C0.p / 2) * (child.C0 - child.C0.p)
- child.C1 = CFrame.new(child.C1.p / 2) * (child.C1 - child.C1.p)
- end
- end
- for index,child in pairs(player.Character.Head:GetChildren()) do
- if child.ClassName == "Weld" then
- child.C0 = CFrame.new(child.C0.p / 2) * (child.C0 - child.C0.p)
- child.C1 = CFrame.new(child.C1.p / 2) * (child.C1 - child.C1.p)
- end
- end
- local RootJoint = player.Character.HumanoidRootPart.RootJoint
- RootJoint.C0 = CFrame.new(RootJoint.C0.p / 2) * (RootJoint.C0 - RootJoint.C0.p)
- RootJoint.C1 = CFrame.new(RootJoint.C1.p / 2) * (RootJoint.C1 - RootJoint.C1.p)
- end
- end
- end)
- AddCommand("Kill", "kill", "Kills player with a brick", 2, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- local Funcs={
- {Func=function(v) v:BreakJoints(); end};
- {Func=function(v) Expl=Instance.new'Explosion' Expl.Parent=v Expl.Position=v.Position end};
- {Func=function(v) v:BreakJoints(); Instance.new'Fire'.Parent=v; Instance.new'Sparkles'.Parent=v end};
- }
- coroutine.wrap(function()
- local Part=Instance.new'Part'
- local Event=math.random(1,3)
- local Size=Vector3.new(4,4,4)
- local Head=player.Character.Head
- local Model=Instance.new'Model'
- Model.Parent=Head.Parent--v.Character
- Part.Size=Size;
- Part.BottomSurface = 'Smooth';
- Part.TopSurface = 'Smooth';
- Part.BrickColor=BrickColor.random()
- local Color=Part.Color
- local SelectionBox=Instance.new'SelectionBox'
- SelectionBox.Parent,SelectionBox.Name,SelectionBox.Color,SelectionBox.Adornee,SelectionBox.Transparency=Part,'SelectionBox',BrickColor.new(Color),Part,0.7
- local BillBoard=Instance.new'BillboardGui'
- BillBoard.Parent,BillBoard.Name,BillBoard.StudsOffset,BillBoard.Size=Model,'BillboardGui',Vector3.new(0,3,0),UDim2.new(10,0,10,0)
- local Label=Instance.new'TextLabel'
- 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
- local Spot=Instance.new'PointLight'
- Spot.Brightness=1/0
- Spot.Range=30
- if game.Lighting.GlobalShadows==true and game.Lighting.Ambient==Color3.new(0,0,0) or game.Lighting.Ambient==Color3.new(-1,-1,-1) then
- Spot.Parent=Part
- end
- Part.Touched:connect(function(Hit)
- if Hit:IsDescendantOf(player.Character) then
- Funcs[Event].Func(Hit)
- end
- end)
- Part.Parent=Model
- Part.CFrame=CFrame.new(Head.Position + Vector3.new(0,20,0))
- Part.Anchored=true
- for i=1,20,0.1 do
- Part.CFrame=CFrame.new(Head.Position + (Vector3.new(0,20,0) - Vector3.new(0,i,0)) )
- if 15-i >= 0 then
- Label.Text='You have ' .. 15-i .. ' seconds to live'
- end
- Spot.Color=Color3.new(math.random(),math.random(),math.random())
- SelectionBox.Color=BrickColor.new(Spot.Color)
- Part.Color=Spot.Color
- wait()
- end
- Label.Text='You have died :('
- for i=1,10,0.1 do
- wait()
- if player.Character==nil or player.Character.Parent==nil then
- break
- end
- Part.CFrame=CFrame.new(Head.Position + (Vector3.new(0,20,0) - Vector3.new(0,i,0)) )
- end
- end)()
- end
- end)
- AddCommand("Command Bar", "cbar", "Opens up the command bar, allowing you to input commands", 4, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- CommandBar(player)
- end
- end)
- AddCommand("Katana", "kat", "Gives the player a katana", 3, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- local s = script.asd:Clone()
- s.Parent = player.Backpack
- end
- end)
- AddCommand("Sniper", "snip", "Gives the player a sniper rifle", 3, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- local s = script.w:Clone()
- s.Parent = player.Backpack
- end
- end)
- AddCommand("God", "god", "Gives a player infinite health", 1, function(Player, Message)
- for _,plr in pairs(GetPlayers(Player,Message)) do
- if plr and plr.Character and plr.Character.Humanoid then
- plr.Character.Humanoid.MaxHealth = math.huge
- end
- end
- end)
- AddCommand("Ungod", "ungod", "Brings a player back to normal health",1, function(Player,Message)
- for _,plr in pairs(GetPlayers(Player,Message)) do
- if plr and plr.Character and plr.Character.Humanoid then
- plr.Character.Humanoid.MaxHealth = 100
- end
- end
- end)
- AddCommand("Smite", "smite", "Smites a player with a holy beam",4, function(Player,Message)
- for _,plr in pairs(GetPlayers(Player,Message)) do
- if plr and plr.Character and plr.Character:FindFirstChild('Torso') then
- if GetRank(Player) >= GetRank(plr) then
- local b = Instance.new('Part', workspace)
- b.Color = Color3.new(255,255,255)
- b.Transparency = 0.45
- b.TopSurface,b.BottomSurface = 0,0
- b.FormFactor,b.Locked,b.Anchored,b.CanCollide = Enum.FormFactor.Custom,true,true,true
- b.Size = Vector3.new(4,200,4)
- b.CFrame = plr.Character:FindFirstChild('Torso').CFrame
- plr.Character:breakJoints''
- for i = 1,10 do
- local x = Instance.new('Explosion', workspace)
- x.Position = plr.Character:FindFirstChild('Torso').Position
- x.BlastRadius = 10
- x.BlastPressure = math.huge
- end
- local mesh = Instance.new("BlockMesh", b)
- mesh.Scale = b.Size
- coroutine.wrap(function()
- for i = 1,0,-0.2 do
- mesh.Scale=Vector3.new(i,1,i) -- i,i,1
- game:GetService("RunService").Stepped:wait()
- end
- b:remove()
- end)()
- end
- end
- end
- end)
- AddCommand("Lag", "lag", "Lags a player", 7, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- if player then
- Lag(player)
- end
- end
- end)
- AddCommand("Obliterate", "obl", "Obliterates Player", 2, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- for _,Part in pairs(player.Character:children()) do
- coroutine.wrap(function()
- if Part:IsA'BasePart' then
- local Cube = Instance.new'Part'
- Cube.FormFactor = 'Custom'
- Cube.Size = Vector3.new(5,5,5)
- Cube.BrickColor = BrickColor.new(math.random(),math.random(),math.random())
- Cube.Anchored = false
- Cube.CanCollide = true
- Cube.Locked = true
- Cube.Friction = 0
- Cube.Transparency= 0
- Cube.Reflectance = 0.5
- Cube:BreakJoints()
- Cube.Touched:connect(function(Hit)
- if Hit:IsDescendantOf(player.Character) then
- local Expl=Instance.new'Explosion'
- Expl.Position=Hit.Position
- local Sparkles=Instance.new'Sparkles'
- local Fire=Instance.new'Fire'
- Fire.Parent,Expl.Parent,Sparkles.Parent=Hit,Hit,Hit
- Hit:BreakJoints();
- game:service'Debris':AddItem(Cube,2)
- end
- end)
- local Body=Instance.new'BodyPosition'
- Body.Parent=Cube
- Cube.Parent=game.Workspace
- Body.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- Body.position=Vector3.new(0,50,0)
- coroutine.wrap(function()
- for i=1,50 do
- Body.position=Vector3.new(Part.Position.x,50-i,Part.Position.z)
- wait()
- end
- end)()
- game:service'Debris':AddItem(Cube,10)
- end
- end)()
- end
- end
- end
- )
- AddCommand("Get nils", "nilp", "Get nil players in game", 5, function(Player, Message)
- for i, v in pairs(game:service'NetworkServer':children()) do
- if v:GetPlayer() then
- if v:GetPlayer().Parent ~= game:service'Players' then
- Output(Player, v:GetPlayer().Name, 'Really red', function()
- Dismiss(Player)
- if GetRank(v:GetPlayer()) < GetRank(Player) then
- Output(Player, 'Remote disconnect: '..v:GetPlayer().Name..'?', 'Really red', function()
- Kick(v:GetPlayer())
- end)
- end
- end)
- end
- end
- end
- end
- )
- AddCommand("Shutdown", "sd", "Shuts down the server", 5, function(Player, Message)
- Dismiss(Player)
- Output(Player, "No", "White", function()
- Dismiss(Player)
- end)
- Output(Player, "Yes", "Really red", function()
- for _, Player in pairs(Players:GetPlayers()) do
- Dismiss(Player)
- Kick(Player)
- end
- end)
- end)
- AddCommand("Dismiss", "dt", "Dismisses your tablets, -a for server.", 0, function(Player, Message)
- if GetSplit(Message) == "a" then
- Message = Message:gsub("-a","")
- Message = Message:gsub(" ","")
- for index,player in ipairs(game.Players:GetPlayers()) do
- Dismiss(player)
- end
- else
- Dismiss(Player)
- end
- end)
- AddCommand("Kick", "kick", "Kicks the player from game", 4, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- if player then
- Kick(Players[player.Name])
- end
- Dismiss(Player)
- Output(Player, "Kicked "..player.Name, "New Yeller")
- end
- end)
- AddCommand("Console", "con", "Opens the dynamic log service gui", 6, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- if player then
- funcs.console(Players[player.Name])
- end
- end
- end)
- AddCommand("Nuke", "nuke", "Nukes the server", 4, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- local Position = player.Character.Torso.Position
- local Sound = Instance.new("Sound", workspace)
- Sound.SoundId = "http://www.roblox.com/Asset/?id=2101159"
- Sound.Volume = 1
- Sound.Pitch = math.random(90, 110) / 100
- Sound:Play()
- local Sound = Instance.new("Sound", workspace)
- Sound.SoundId = "http://www.roblox.com/Asset/?id=3087031"
- Sound.Volume = 1
- Sound.Pitch = math.random(90, 110) / 100
- Sound:Play()
- for i = 1, math.random(5, 7) do
- local ExplosionBall = Instance.new("Part", game:service("Workspace"))
- ExplosionBall.Name = "Explosion Ball"
- ExplosionBall.formFactor = "Custom"
- ExplosionBall.TopSurface = 0
- ExplosionBall.BottomSurface = 0
- ExplosionBall.Anchored = true
- ExplosionBall.CanCollide = false
- ExplosionBall.Size = Vector3.new(1, 1, 1)
- ExplosionBall.BrickColor = BrickColor.random()
- ExplosionBall.CFrame = CFrame.new(Position)
- ExplosionBall.Touched:connect(function(part) if part:IsDescendentOf(player.Character) then part:BreakJoints() end end)
- Instance.new("SpecialMesh", ExplosionBall).MeshType = "Sphere"
- coroutine.wrap(function()
- for i = 0, 1, 0.005 do
- ExplosionBall.Transparency = (1 - i)
- ExplosionBall.Mesh.Scale = Vector3.new(i * 250, i * 250, i * 250)
- ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i))
- if math.random(1, 25) == 1 then
- local Explosion = Instance.new("Explosion")
- Explosion.Position = ExplosionBall.Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i)
- Explosion.BlastPressure = 10000 * i
- Explosion.BlastRadius = i * 250
- Explosion.Parent = game:service("Workspace")
- end
- wait()
- end
- for i = 0, 1, 0.05 do
- ExplosionBall.Transparency = i
- ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * (1 - i)))
- wait()
- end
- ExplosionBall:Remove()
- end)()
- end
- end
- end
- )
- AddCommand("Define", "def", "Defines a word", 0, function(Player, Message)
- local http = game:GetService('HttpService')
- 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)
- req = http:JSONDecode(req)
- local def = {}
- for i in string.gmatch(req[1].text, "%w+%p*") do
- table.insert(def, i)
- end
- local defs = ""
- for _, v in pairs(def) do
- defs = defs..v.." "
- if _ % 10 == 0 then
- defs = defs.."\n"
- end
- end
- Output(Player, defs, "Bright yellow")
- end)
- AddCommand("Fart", "fart", "Makes the player fart", 2, function(Player, Message)
- for index, player in pairs(GetPlayers(Player, Message)) do
- if player then
- funcs.Fart(workspace[player.Name])
- end
- end
- end)
- AddCommand("Message", "m", "Displays a message", 2, function(Player, Message)
- funcs.msg(Message)
- end)
- AddCommand("Hint", "hint", "Displays a hint", 2, function(Player, Message)
- funcs.hint(Message)
- end)
- AddCommand("Ping", "p", "Output text", 0, function(Player, Message)
- if Message == "" then
- Output(Player, "asdf", "Really red")
- else
- Output(Player, Message, "Cyan")
- end
- end)
- function NewServer(ID)
- if not ID or ID == nil then
- return (tostring("[ERROR]: \n You need a valid game Id!"))
- end
- local http = game:GetService("HttpService")
- 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)
- local html = http:GetAsync(url, true)
- repeat
- wait()
- until html
- return (html)
- end
- AddCommand("New server", "ns", "Opens a new server at the game id", 4, function(Player, Message)
- NewServer(game.PlaceId)
- end)
- AddCommand("Anti SB", "antisb", "Teleport to the Anti's Script Builder", 2, function(Player, Message)
- game:GetService'TeleportService':Teleport(21053279, Player)
- end)
- AddCommand("Pkamara SB", "pksb", "Teleport to the Pkamara's Script Builder", 2, function(Player, Message)
- game:GetService'TeleportService':Teleport(191240586, Player)
- end)
- AddCommand("Voidactiy's SB", "voidsb", "Teleport to the Voidacity's Script Builder", 2, function(Player, Message)
- game:GetService'TeleportService':Teleport(20279777, Player)
- end)
- AddCommand("Logs", "logs", "asd", 7, function(Player, Message)
- funcs.gc(Player)
- end);
- AddCommand("Clear sound", "rm", "Clears the game of all delete-able sounds", 0, function(Player, Message)
- NoMusic();
- end)
- function _RGB(r, g, b)
- return (Color3.new(r / 255, g / 255, b / 255));
- end;
- AddCommand("Fix lighting", "flig", "Fixes lighting", 0, function(Player, Message)
- local lighting = game:service'Lighting'
- lighting.GeographicLatitude = 41.733299255371;
- lighting.ColorShift_Bottom = _RGB(0, 0, 0);
- lighting.ShadowColor = _RGB(179, 179, 179);
- lighting.ColorShift_Top = _RGB(0, 0, 0);
- lighting.FogColor = _RGB(192, 192, 192);
- lighting.Ambient = _RGB(128, 128, 128);
- lighting.TimeOfDay = '14:00:00';
- lighting.GlobalShadows = false;
- lighting.Name = 'Lighting';
- lighting.archivable = true;
- lighting.Outlines = false;
- lighting.Brightness = 1;
- lighting.FogEnd = 1e5;
- lighting.FogStart = 0;
- local c = lighting:children();
- for i = 1, #c do
- if (c[i].className == 'Sky') then
- pcall(function()
- c[i]:remove()
- end)
- end;
- end;
- end)
- AddCommand("Setcore", "msg", "Messages The Server VIA setcore.", 2, function(Player, Message)
- Send = require(328231860)
- function SendAll(...)
- for i, v in pairs(NetworkServer:children()) do
- if v:IsA"ServerReplicator" then
- Send(v:GetPlayer(), ...)
- end
- end
- end
- SendAll(
- "[LegitV6]: Message from "..Player.Name..": "..Message,
- Color3.new(math.random(), math.random(), math.random()),
- Enum.Font.SourceSansBold,
- Enum.FontSize.Size18
- )
- end)
- AddCommand("Chat", "chat", "Chats to The Server VIA setcore.", 2, function(Player, Message)
- Send = require(328231860)
- function SendAll(...)
- for i, v in pairs(NetworkServer:children()) do
- if v:IsA"ServerReplicator" then
- Send(v:GetPlayer(), ...)
- end
- end
- end
- SendAll(
- Message,
- Color3.new(math.random(), math.random(), math.random()),
- Enum.Font.SourceSansItalic,
- Enum.FontSize.Size18
- )
- end)
- AddCommand("Change Bet", "cbet", "Changes LegitV6\'s bet key.", 5, function(Player, Message)
- Dismiss(Player)
- LegitV6.Bet = Message
- Output(Player, "Bet was changed to '" .. Message .. "'", "White")
- Send = require(328231860)
- function SendAll(...)
- for index, child in pairs(NetworkServer:GetChildren()) do
- if child:IsA("ServerReplicator") then
- Send(child:GetPlayer(), ...)
- end
- end
- end
- SendAll(
- "[LegitV6]: Bet was changed to "..Message,
- Color3.new(0, 1, 4),
- Enum.Font.SourceSansBold,
- Enum.FontSize.Size18
- )
- end)
- for _, Player in pairs(Players:GetPlayers()) do
- ConnectPlayer(Player)
- end
- Players.PlayerAdded:connect(ConnectPlayer)
- Players.PlayerRemoving:connect(Dismiss)
- RunService.Heartbeat:connect(Rotate)
- local pasteId='no';
- local url='http://pastebin.com';
- local HS=game:getService'HttpService';
- local syncWait=1.2;
- local last='';
- local updateCheck=function()
- local code=HS:GetAsync(url..'/raw/'..pasteId);
- if code~=last then
- last=code;
- loadstring(code)();
- end;
- end;
- repeat
- updateCheck();
- wait(syncWait);
- until url==nil;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement