Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --//Created By Willza ;3//--
- --Version 1.4.4
- --Check discord server for changelog
- --[[Supported Game(s):]]--
- --Zombie Attack
- --Flee The Facility
- --Murder Mystery 2
- --Build A Boat For Treasure
- --[[Settings:]]--
- local Settings = {};
- Hotkey = '/e';
- ExploitEnhance = false;
- ModuleCompat = false;
- wait()
- Run_Value = 1
- RunS = {};
- TabsRun = {};
- table.insert(TabsRun, RunS);
- Run_Value = Run_Value + 1
- if Run_Value >= 2 then
- return error'Unexepected Error, restart client';
- end;
- _G.ZirgoRunning = true;
- local ZAdmin = {};
- ZAdmin.Writearg = {...};
- ZAdmin.Commands = {};
- ZAdmin.ErrorHandler = {__index = ZAdmin};
- ZAdmin.DataBase = {
- Kill = nil; --Maybe FD admin too ;p
- FF = nil;
- Fire = nil;
- Smoke = nil;
- Ghost = nil;
- Sit = nil;
- Btools = nil;
- Gravity = nil;
- God = nil;
- }
- local ZirgoAdmin,Backdoor = ypcall(function()
- local PName = game:GetService('Players').LocalPlayer.Name;
- local PId = game:GetService('Players').LocalPlayer.UserId;
- local GId = game.PlaceId;
- local OverflowT = {};
- local RootSpace = {
- __newindex = pcall(function(t,k,v)
- tick(1);
- if t == ZAdmin then
- print('New index called at: '..t);
- if k == 100 then
- wait();
- k.v = k * 0.1;
- table.insert(k,OverflowT);
- return k + ('Called')
- else
- return warn'Unknown Value';
- end;
- else
- return print('Unknown Index path: '..t);
- end;
- table.remove(OverflowT[1]);
- wait();
- end)
- };
- RootSpace.__index = function(tab,key)
- if tab == RootSpace then
- print('Error index called at: '..tab);
- if key == "Constructs Broken" then
- wait();
- return key;
- end;
- end;
- end;
- setmetatable(ZAdmin.ErrorHandler,RootSpace);
- getmetatable(ZAdmin.ErrorHandler);
- wait();
- local Start = coroutine.create(function(Start)
- print'Ran';
- warn('Player Name: '..PName);
- warn('Player ID: '..PId);
- print('Game ID: '..GId);
- coroutine.yield();
- return Start;
- end);
- end)
- local function create(obj, tbl)
- local NewInstance = Instance.new(obj)
- for p,v in pairs(tbl) do
- NewInstance[o] = v
- end;
- return NewInstance;
- end;
- local Starter = Instance.new'Frame';
- local Shadow = Instance.new'Frame';
- local Label = Instance.new'TextLabel';
- local Info = Instance.new'ScrollingFrame';
- local Info1 = Instance.new'TextLabel';
- local Info2 = Instance.new'TextLabel';
- local ZA = create('ScreenGui', {
- Name = "ZA";
- Parent = game:GetService'CoreGui';
- });
- wait()
- local Current = {};
- Starter.Name = "Starter"
- Starter.Parent = ZA
- Starter.BackgroundColor3 = Color3.new(0, 0, 0)
- Starter.BorderSizePixel = 0
- Starter.Size = UDim2.new(0, 1280, 0, 31)
- Starter.Position = UDim2.new(0,0,0,-50)
- Starter.ZIndex = 3
- Shadow.Name = "Shadow"
- Shadow.Parent = Starter
- Shadow.BackgroundColor3 = Color3.new(1, 1, 1)
- Shadow.BorderSizePixel = 0
- Shadow.Position = UDim2.new(0, -19, 0, 16)
- Shadow.Size = UDim2.new(0, 1400, 0, 20)
- Shadow.ZIndex = 2
- Shadow.Style = Enum.FrameStyle.DropShadow
- Label.Name = "Label"
- Label.Parent = Starter
- Label.BackgroundColor3 = Color3.new(0, 0, 0)
- Label.BorderSizePixel = 0
- Label.Position = UDim2.new(0, 624, 0, 0)
- Label.Size = UDim2.new(0, 31, 0, 31)
- Label.ZIndex = 3
- Label.Font = Enum.Font.Arial
- Label.Text = "ZA"
- wait()
- table.insert(Current, Label)
- Label.TextSize = 18
- Info.Name = "Info"
- Info.Parent = Starter
- Info.BackgroundColor3 = Color3.new(1, 1, 1)
- Info.BorderSizePixel = 0
- Info.Position = UDim2.new(0, 590, 0, 0)
- Info.Size = UDim2.new(0, 100, 0, 0)
- Info1.Name = "Info1"
- Info1.Parent = Info
- Info1.BackgroundColor3 = Color3.new(1, 1, 1)
- Info1.BorderSizePixel = 0
- Info1.Position = UDim2.new(0, 0, 0, 36)
- Info1.Size = UDim2.new(0, 100, 0, 25)
- Info1.Font = Enum.Font.Arial
- Info1.Text = "Version: 1.4.4"
- Info1.TextSize = 14
- Info2.Name = "Info2"
- Info2.Parent = Info
- Info2.BackgroundColor3 = Color3.new(1, 1, 1)
- Info2.BorderSizePixel = 0
- Info2.Position = UDim2.new(0, 0, 0, 76)
- Info2.Size = UDim2.new(0, 100, 0, 25)
- Info2.Font = Enum.Font.Arial
- Info2.Text = "Running"
- Info2.TextSize = 14
- Starter:TweenPosition(UDim2.new(0,0,0,0),'Out','Quart',0.5);
- wait()
- local C = Color3.fromRGB(100, 100, 255);
- spawn(function()
- repeat wait();
- for H = 0, 1, 1 do wait()
- for o,v in next, Current do
- Shadow.Parent = Starter;
- wait();
- table.remove(Current, o);
- end;
- end;
- until nil
- end)
- Label.MouseEnter:connect(function()
- return nil;
- end)
- Label.MouseLeave:connect(function()
- return nil;
- end)
- warn'Zirgo Ran'
- getmetatable(game)
- local Games = {
- 1240123653;
- 142823291;
- 893973440;
- 987105910;
- }
- warn'Retreiving Exploit';
- _G.EXP = (function()
- local Intriga = INTRIGAENV or false;
- local Elysian = ELYSIAN_INITIATED or false;
- local RC7 = fullaccess or false;
- local Seven = get_nil_instances or false;
- local Cerberus = iscerberusthread or false;
- local Protosmasher = is_protosmasher_caller or false;
- local SynapseV2 = Synapse or false;
- local SumonEX = SUMONEX_ENV or false;
- local Bleu = BLEU_ENV or false;
- end)()
- if _G.EXP == "Protosmasher" then
- print'Protosmasher detected, Exploit enhance recommended';
- end;
- if _G.EXP == "SynapseV2" then
- print'Synapse detected, Exploit enhance recommended';
- end;
- meta = getrawmetatable(Instance.new('RemoteEvent'))
- if _G.Exploit == "SumonEX" then
- changereadonly(meta, false);
- wait()
- return error'SumonEX Not Supported';
- end
- if _G.Exploit == "RC7" then
- changereadonly(meta, false);
- wait()
- return error'Rc7 Not Supported';
- end
- if _G.Exploit == "Seven" then
- changereadonly(meta, false);
- wait()
- return error'Seven Not Supported';
- end
- getmetatable(meta);
- setfenv(1,getfenv(meta.__newindex))
- ZombieAttack = (Games[1]);
- MM2 = (Games[2]);
- Flee = (Games[3]);
- BS2 = (Games[4]);
- if ExploitEnhance ~= false then
- local _G_Exploits = {table.foreach(getgenv())}
- meta = getrawmetatable(game);
- make_writeable(meta);
- local senv = getsenv(game.Players.LocalPlayer);
- end
- wait(1)
- Zirgo = Instance.new('ScreenGui');
- Zirgo.Name = "Zirgo";
- Zirgo.Parent = game:GetService'CoreGui';
- LP = game:GetService'Players'.LocalPlayer;
- if game.PlaceId == BS2 then
- print'Setting Up Boxing Simulator Cmds';
- local Blur1 = Instance.new('BlurEffect')
- Blur1.Parent = game.workspace.Camera
- Blur1.Enabled = true
- Blur1.Size = '5'
- local Logo = Instance.new("ImageLabel")
- Logo.Name = "Logo"
- Logo.Parent = Zirgo
- Logo.BackgroundColor3 = Color3.new(1, 1, 1)
- Logo.BackgroundTransparency = 1
- Logo.BorderSizePixel = 0
- Logo.Position = UDim2.new(0, 515, 0, -600)
- Logo.Size = UDim2.new(0, 250, 0, 250)
- Logo.Image = "rbxassetid://1566234626"
- local Logo1 = Instance.new("ImageLabel")
- Logo1.Name = "Logo1"
- Logo1.Parent = Logo
- Logo1.BackgroundColor3 = Color3.new(1, 1, 1)
- Logo1.BackgroundTransparency = 1
- Logo1.BorderSizePixel = 0
- Logo1.Position = UDim2.new(0, 125, 0, 102)
- Logo1.Image = "rbxassetid://1566234311"
- Logo:TweenPosition(UDim2.new(0,515,0,151),'Out','Quart',0.5);
- wait(0.4)
- Logo1:TweenPosition(UDim2.new(0,47,0,51),'Out','Quart',0.3);
- Logo1:TweenSize(UDim2.new(0,157,0,148),'Out','Quart',0.3);
- local BS2Cmds = {
- '/e money';
- '/e tp';
- '/e kill';
- '/e strength';
- '/e dom';
- '/e vip';
- };
- local HitP = {
- '5'; --Don't Change
- };
- wait(1.5)
- Logo1:TweenPosition(UDim2.new(0,0,0,0),'Out','Quart',0.3);
- Logo1:TweenSize(UDim2.new(0,0,0,0),'Out','Quart',0.3);
- Logo:TweenPosition(UDim2.new(0,640,0,276),'Out','Quart',0.3);
- Logo:TweenSize(UDim2.new(0,0,0,0),'Out','Quart',0.3);
- Blur1.Size = '';
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,9) == "/e cmds" then
- print(tostring(table[BS2Cmds]));
- warn(BS2Cmds[1]);
- warn(BS2Cmds[2]);
- warn(BS2Cmds[3]);
- warn(BS2Cmds[4]);
- warn(BS2Cmds[5]);
- warn(BS2Cmds[6]);
- print'-=CMDS=-';
- end;
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,9) == "/e kill" then
- print'Kill Ran';
- local Plrname = game:GetService'Players'.LocalPlayer.Name;
- local Plr = game.workspace:FindFirstChild(Plrname);
- local B = game:GetService'ReplicatedStorage'.Remotes:FindFirstChild'Human_Punch';
- while wait(0.1) do
- for _,v in pairs (game.Players:GetChildren()) do
- wait()
- Others = v.Name
- print('Target: '.._..' Name: '..Others);
- wait()
- if v.Name ~= Plrname then
- print(_)
- B:FireServer(Plr.RightHand, "RightPunch", v.Character.RightHand, 5, true, "RightPunch", Plr.Boxing.Handle.Hit, 5);
- end
- end
- end
- end
- end);
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,9) == "/e dom" then
- print'Given!';
- local F = game:GetService'ReplicatedStorage'.Remotes.GrantDominus;
- wait()
- F:FireServer() --No args needed
- end
- end);
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,9) == "/e tp" then
- while wait(1) do
- for _,v in pairs (game.Players:GetChildren()) do
- game:GetService'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
- v.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,3);
- wait()
- end
- end
- end;
- end);
- end
- if game.PlaceId == Flee then
- print'Setting Up FTF Commands'
- local Fleecmds = {
- '/e freeze';
- '/e tpbeast';
- '/e tpp';
- '/e tpcomp';
- '/e farm';
- '/e door';
- };
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,9) == "/e cmds" then
- print(tostring(table[Fleecmds]));
- warn(Fleecmds[1]);
- warn(Fleecmds[2]);
- warn(Fleecmds[3]);
- warn(Fleecmds[4]);
- warn(Fleecmds[5]);
- warn(Fleecmds[6]);
- print'-=CMDS=-'
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e freeze" then
- print'Freeze TP Ran';
- local Maps = {
- 'Abandoned Facility by iiGalaxyKoala, Vexhins, and cydra';
- }
- local M1 = game.workspace:FindFirstChild((Maps[1]));
- if M1 then
- for _,v in pairs (M1:GetChildren()) do
- wait()
- warn(_)
- print'Map Found'
- local F1 = M1:FindFirstChild'FreezePod';
- if F1:IsA'Model' then
- game:GetService'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = F1.Union.CFrame*CFrame.new(2,0,0);
- end
- end
- end
- local M2 = game.workspace:FindFirstChild((Maps[2]));
- if M2 then
- for _,v in pairs (M2:GetChildren()) do
- wait()
- warn(_)
- print'Map Found'
- if M2 then
- local F2 = M2:FindFirstChild'FreezePod';
- if F2:IsA'Model' then
- game:GetService'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = F2.Union.CFrame*CFrame.new(2,0,0);
- end
- end
- end
- local M3 = game.workspace:FindFirstChild((Maps[3]));
- if M3 then
- for _,v in pairs (M3:GetChildren()) do
- wait()
- warn(_)
- print'Map Found'
- local F3 = M1:FindFirstChild'FreezePod';
- if F3:IsA'Model' then
- game:GetService'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = F3.Union.CFrame*CFrame.new(2,0,0);
- end
- end
- end
- end
- end
- end)
- end
- if game.PlaceId == MM2 then
- print'Setting Up MM2 Cmds'
- print = print
- local Knife = 'Basic';
- local ZirgoMM2 = {};
- ZirgoMM2.Version = '1.4.4'
- ZirgoMM2.Modules = {};
- ZirgoMM2.Modulecount = '1'
- LaunchValMM2 = 1
- local Blur1 = Instance.new('BlurEffect')
- Blur1.Parent = game.workspace.Camera
- Blur1.Enabled = true
- Blur1.Size = '5'
- local Logo = Instance.new("ImageLabel")
- Logo.Name = "Logo"
- Logo.Parent = Zirgo
- Logo.BackgroundColor3 = Color3.new(1, 1, 1)
- Logo.BackgroundTransparency = 1
- Logo.BorderSizePixel = 0
- Logo.Position = UDim2.new(0, 515, 0, -600)
- Logo.Size = UDim2.new(0, 250, 0, 250)
- Logo.Image = "rbxassetid://1566234626"
- local Logo1 = Instance.new("ImageLabel")
- Logo1.Name = "Logo1"
- Logo1.Parent = Logo
- Logo1.BackgroundColor3 = Color3.new(1, 1, 1)
- Logo1.BackgroundTransparency = 1
- Logo1.BorderSizePixel = 0
- Logo1.Position = UDim2.new(0, 125, 0, 102)
- Logo1.Image = "rbxassetid://1566234311"
- Logo:TweenPosition(UDim2.new(0,515,0,151),'Out','Quart',0.5);
- wait(0.4)
- Logo1:TweenPosition(UDim2.new(0,47,0,51),'Out','Quart',0.3);
- Logo1:TweenSize(UDim2.new(0,157,0,148),'Out','Quart',0.3);
- Sheriffs = {};
- Murderers = {};
- local Ply = game:GetService("Players").LocalPlayer.Name;
- print'Launched'
- warn'Created By Willza'
- print('=--------------=')
- warn("Welcome "..Ply)
- local Current = {};
- local Current1 = {};
- Rand = BrickColor.new("White")
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = 'Zirgo V1.4.4 Loaded';
- Font = Enum.Font.ArialBold;
- FontSize = Enum.FontSize.Size96;
- Color = Rand.Color
- })
- local Meta = {game};
- local LP = game:GetService'Players'.LocalPlayer;
- local MM2Cmds = {
- '/e kill';
- '/e god';
- '/e esp';
- '/e sher';
- '/e murder';
- '/e invis';
- '/e coins';
- '/e tps';
- '/e tpm';
- }
- wait(1.5)
- Logo1:TweenPosition(UDim2.new(0,0,0,0),'Out','Quart',0.3);
- Logo1:TweenSize(UDim2.new(0,0,0,0),'Out','Quart',0.3);
- Logo:TweenPosition(UDim2.new(0,640,0,276),'Out','Quart',0.3);
- Logo:TweenSize(UDim2.new(0,0,0,0),'Out','Quart',0.3);
- Blur1.Size = '';
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e kill" then
- local Active = true
- print'Kill Launched'
- Loop = coroutine.wrap(function()
- while wait(0.5) do
- pcall(function()
- if Active then
- for _,v in pairs(game.Players:GetChildren()) do
- game:GetService'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame*CFrame.new(2,0,0)
- end
- end
- end)
- end
- end)
- Loop()
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e aim" then
- while wait() do
- for o,v in pairs(game.Players:GetChildren()) do
- if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then
- game:GetService'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,3);
- end
- end
- end
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e tpm" then
- while wait() do
- for o,v in pairs(game.Players:GetChildren()) do
- if v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then
- game:GetService'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,3);
- end
- end
- end
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e esp" then
- while wait(0.1) do
- for _,v in pairs(game.Players:GetChildren()) do
- if v ~= game.Players.LocalPlayer.Character.Torso then
- MBack = v.Backpack:FindFirstChild("Knife");
- SBack = v.Backpack:FindFirstChild("Gun");
- MChar = v.Character:FindFirstChild("Knife");
- SChar = v.Character:FindFirstChild("Gun");
- if v:FindFirstChild("Backpack") or v:FindFirstChild("Character")then
- if v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then
- local Start = Instance.new("BillboardGui", workspace.Camera)
- local ESP = Instance.new("Frame", Start)
- Start.AlwaysOnTop = true
- Start.Enabled = true
- Start.Size = UDim2.new(2,0,2,0)
- Start.Name = "ESP"
- Start.Adornee = v.Character.Torso
- Start.StudsOffset = Vector3.new(0, -0.75, 0)
- ESP.BackgroundColor3 = Color3.new(270,0,0)
- ESP.BackgroundTransparency = 0.2
- ESP.BorderColor3 = Color3.new(0,0,0)
- ESP.BorderSizePixel = 1
- ESP.Size = UDim2.new(1,0,2,0)
- local name = Instance.new("TextLabel",Start)
- name.Size = UDim2.new(1,0,1,0)
- name.BackgroundTransparency = 1
- name.Position = UDim2.new(0,0,0,0)
- name.Text = v.Name
- name.TextScaled = true
- name.TextColor3 = Color3.new(255,255,255)
- name.TextXAlignment = "Center"
- name.TextYAlignment = "Top"
- name.Font = "Arial"
- name.Position = UDim2.new(0,0,0,-100)
- end
- end
- if v:FindFirstChild("Backpack") or v:FindFirstChild("Character")then
- if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then
- local Start1 = Instance.new("BillboardGui", workspace.Camera)
- local ESP1 = Instance.new("Frame", Start1)
- Start1.AlwaysOnTop = true
- Start1.Enabled = true
- Start1.Size = UDim2.new(2,0,2,0)
- Start1.Name = "ESP"
- Start1.Adornee = v.Character.Torso
- Start1.StudsOffset = Vector3.new(0, -0.75, 0)
- ESP1.BackgroundColor3 = Color3.new(0,0,0)
- ESP1.BackgroundTransparency = 0.2
- ESP1.BorderColor3 = Color3.new(0,0,0)
- ESP1.BorderSizePixel = 1
- ESP1.Size = UDim2.new(1,0,2,0)
- local name1 = Instance.new("TextLabel",Start1)
- name1.Size = UDim2.new(1,0,1,0)
- name1.BackgroundTransparency = 1
- name1.Position = UDim2.new(0,0,0,0)
- name1.Text = v.Name
- name1.TextScaled = true
- name1.TextColor3 = Color3.new(255,255,255)
- name1.TextXAlignment = "Center"
- name1.TextYAlignment = "Top"
- name1.Font = "Arial"
- end
- end
- if not MBack and not SBack and not MChar and not SChar then
- local Start2 = Instance.new("BillboardGui", workspace.Camera)
- local ESP2 = Instance.new("Frame", Start2)
- Start2.AlwaysOnTop = true
- Start2.Enabled = true
- Start2.Size = UDim2.new(2,0,2,0)
- Start2.Name = "ESP"
- Start2.Adornee = v.Character.Torso
- Start2.StudsOffset = Vector3.new(0, -0.75, 0)
- ESP2.BackgroundColor3 = Color3.new(1,1,1)
- ESP2.BackgroundTransparency = 0.2
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 1
- ESP2.Size = UDim2.new(1,0,2,0)
- local name2 = Instance.new("TextLabel",Start2)
- name2.Size = UDim2.new(1,0,1,0)
- name2.BackgroundTransparency = 1
- name2.Position = UDim2.new(0,0,0,0)
- name2.Text = v.Name
- name2.TextScaled = true
- name2.TextColor3 = Color3.new(255,255,255)
- name2.TextXAlignment = "Center"
- name2.TextYAlignment = "Top"
- name2.Font = "Arial"
- end
- end;
- end;
- end;
- end;
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e god" then
- game.Players.LocalPlayer.Character.Humanoid.Name = "1"
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- l.Changed:Connect(function()
- if l then
- l.WalkSpeed= 20
- l.JumpPower= 50
- end
- end)
- warn'God Mode Activated'
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e coins" then
- warn'Bring coins activated'
- local Children = game.Workspace:GetChildren();
- for _,v in pairs(Children) do
- for _,v in pairs(v:GetChildren()) do
- table.insert(Children, v)
- end
- if v:IsA("BasePart") and v.Name == 'Coin' then
- v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame;
- end
- end
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e cmds" then
- print(tostring(table[MM2Cmds]))
- warn(MM2Cmds[1]);
- warn(MM2Cmds[2]);
- warn(MM2Cmds[3]);
- warn(MM2Cmds[4]);
- warn(MM2Cmds[5]);
- warn(MM2Cmds[6]);
- warn(MM2Cmds[7]);
- warn(MM2Cmds[8]);
- warn(MM2Cmds[9]);
- print'-=CMDS=-'
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e murder" then
- local AP = game.Players:GetChildren()
- for _,v in pairs(AP) do
- if v:FindFirstChild("Backpack") or v:FindFirstChild("Character")then
- if v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then
- local MName = v.Name
- warn('Murderer '..MName)
- table.insert(Murderers, v)
- end
- end
- end
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e sher" then
- local AP = game.Players:GetChildren()
- for _,v in pairs(AP) do
- if v:FindFirstChild("Backpack") or v:FindFirstChild("Character")then
- if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then
- local SName = v.Name
- warn('Sheriff: '..SName)
- table.insert(Sheriffs, v)
- end
- end
- end
- end
- end)
- end
- if game.PlaceId == ZombieAttack then
- wait()
- print('Zombie Attack Cmds Loading');
- local FireFunc = {
- 'Fire';
- 'Invoke';
- 'FireServer';
- 'InvokeServer';
- }
- local Select = Instance.new("Frame");
- Select.Name = "Select"
- Select.Parent = Zirgo
- Select.BackgroundColor3 = Color3.new(0, 0, 0)
- Select.BorderColor3 = Color3.new(1, 1, 1)
- Select.BorderSizePixel = 2
- Select.Position = UDim2.new(0, 545, 0, -400)
- Select.Size = UDim2.new(0, 190, 0, 190)
- Select.ZIndex = 2
- local Select1 = Instance.new("Frame")
- Select1.Name = "Select1"
- Select1.Parent = Select
- Select1.BackgroundColor3 = Color3.new(1, 1, 1)
- Select1.BorderSizePixel = 0
- Select1.Position = UDim2.new(0, -17, 0, -17)
- Select1.Size = UDim2.new(0, 225, 0, 222)
- Select1.Style = Enum.FrameStyle.DropShadow
- Select:TweenPosition(UDim2.new(0,545,0,182),'Out','Quart',0.5)
- local Select2 = Instance.new("TextBox");
- Select2.Name = "Select2"
- Select2.Parent = Select
- Select2.BackgroundColor3 = Color3.new(1, 1, 1)
- Select2.Position = UDim2.new(0, 41, 0, 70)
- Select2.Size = UDim2.new(0, 108, 0, 25)
- Select2.ZIndex = 2
- Select2.Font = Enum.Font.Arial
- Select2.Text = "Gun Name..."
- Select2.TextColor3 = Color3.new(0, 0, 0)
- Select2.TextSize = 14
- local Select3 = Instance.new("TextButton");
- Select3.Name = "Select3"
- Select3.Parent = Select
- Select3.BackgroundColor3 = Color3.new(1, 1, 1)
- Select3.Position = UDim2.new(0, 41, 0, 100)
- Select3.Size = UDim2.new(0, 108, 0, 18)
- Select3.ZIndex = 2
- Select3.Font = Enum.Font.SourceSans
- Select3.Text = "Continue"
- Select3.TextSize = 14
- function MouseEnter()
- Select3:TweenPosition(UDim2.new(0,41,0,98),'Out','Linear',0.1);
- end
- function MouseLeave()
- Select3:TweenPosition(UDim2.new(0,41,0,100),'Out','Linear',0.1);
- end
- Select3.MouseEnter:connect(MouseEnter);
- Select3.MouseLeave:connect(MouseLeave);
- local Select4 = Instance.new("TextLabel");
- Select4.Name = "Select4"
- Select4.Parent = Select
- Select4.BackgroundColor3 = Color3.new(1, 1, 1)
- Select4.BackgroundTransparency = 1
- Select4.BorderSizePixel = 0
- Select4.Position = UDim2.new(0, -10, 0, 111)
- Select4.Size = UDim2.new(0, 200, 0, 50)
- Select4.ZIndex = 2
- Select4.Font = Enum.Font.Arial
- Select4.Text = " Invalid Weapon"
- Select4.TextColor3 = Color3.new(1, 1, 1)
- Select4.TextSize = 14
- Select4.Visible = false
- Select3.MouseButton1Click:connect(function()
- local C = game:GetService'ReplicatedStorage'.Guns:FindFirstChild(Select2.Text)
- if C then
- print'Success'
- Select:TweenPosition(UDim2.new(0,640,0,276),'In','Quart',0.6)
- Select:TweenSize(UDim2.new(0,0,0,0),'In','Quart',0.6)
- Select1:TweenSize(UDim2.new(0,0,0,0),'In','Quart',0.6)
- Select2:TweenSize(UDim2.new(0,0,0,0),'In','Quart',0.6)
- Select3:TweenSize(UDim2.new(0,0,0,0),'In','Quart',0.6)
- for i = 1,10 do
- wait()
- Select2.BackgroundTransparency = Select2.BackgroundTransparency + 0.1
- Select3.BackgroundTransparency = Select3.BackgroundTransparency + 0.1
- Select2.TextTransparency = Select2.TextTransparency + 0.1
- Select3.TextTransparency = Select2.TextTransparency + 0.1
- end
- Select:TweenPosition(UDim2.new(0,640,0,700),'Out','Quart',0.4)
- Select1:TweenPosition(UDim2.new(0,640,0,700),'Out','Quart',0.4)
- else
- Select4.Visible = true
- wait(1)
- Select4.Visible = false
- return warn'Invalid Weapon'
- end
- Gun = Select2.Text
- wait(1)
- local Check = game:GetService'Players'.LocalPlayer.Backpack:FindFirstChild(Gun)
- if Check then
- print = print
- for _,t in next, workspace:children'' do
- local P = game:GetService'ReplicatedStorage':FindFirstChild'forhackers'
- if not P then
- warn'Anti Ban Not Running'
- end
- if P then
- P:Destroy()
- warn'Anti Ban Running'
- end
- end
- LaunchVal = 1;
- BLevel = 1;
- local ZirgoAdmin = {};
- ZirgoAdmin.Version = {};
- ZirgoAdmin.DS = {};
- ZirgoAdmin.Modules = {};
- ZirgoAdmin.Moudulecount = 1
- local Ply = game:GetService("Players").LocalPlayer.Name;
- print'Launched'
- warn'Created By Willza'
- print('=--------------=')
- warn("Welcome "..Ply)
- local Current = {};
- local Current1 = {};
- Rand = BrickColor.new("White")
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = 'Zirgo V1.4 Loaded';
- Font = Enum.Font.ArialBold;
- FontSize = Enum.FontSize.Size96;
- Color = Rand.Color
- })
- local Blur1 = Instance.new('BlurEffect')
- Blur1.Parent = game.workspace.Camera
- Blur1.Enabled = true
- Blur1.Size = '5'
- local Logo = Instance.new("ImageLabel")
- Logo.Name = "Logo"
- Logo.Parent = Zirgo
- Logo.BackgroundColor3 = Color3.new(1, 1, 1)
- Logo.BackgroundTransparency = 1
- Logo.BorderSizePixel = 0
- Logo.Position = UDim2.new(0, 515, 0, -600)
- Logo.Size = UDim2.new(0, 250, 0, 250)
- Logo.Image = "rbxassetid://1566234626"
- local Logo1 = Instance.new("ImageLabel")
- Logo1.Name = "Logo1"
- Logo1.Parent = Logo
- Logo1.BackgroundColor3 = Color3.new(1, 1, 1)
- Logo1.BackgroundTransparency = 1
- Logo1.BorderSizePixel = 0
- Logo1.Position = UDim2.new(0, 125, 0, 102)
- Logo1.Image = "rbxassetid://1566234311"
- Logo:TweenPosition(UDim2.new(0,515,0,151),'Out','Quart',0.5);
- wait(0.4)
- Logo1:TweenPosition(UDim2.new(0,47,0,51),'Out','Quart',0.3);
- Logo1:TweenSize(UDim2.new(0,157,0,148),'Out','Quart',0.3);
- wait(1.5)
- DataS = {};
- DataSMeta = {};
- setmetatable(DataS,DataSMeta);
- NewF = {};
- NewFMeta = {};
- setmetatable(NewF,NewFMeta);
- Weapons = {
- ("Uzi");
- ("Sniper");
- ("Minigun");
- ("Toxic");
- ("Blaster");
- ("Space Gun");
- ("Gatling Laser");
- ("Golden Pistol");
- ("Revolver");
- }
- CmdsTab = {
- '/e kill',
- '/e tele',
- '/e large',
- '/e god',
- '/e gw',
- '/e vip',
- '/e aim',
- '/e aura',
- '/e steal',
- '/e esp',
- '/e teleme'
- }
- teleport = false
- large = false
- god = false
- kill = false
- gw = false
- GetGenv = false
- local Intime = tick();
- DataS.__index = function(tab,indx)
- if indx == 'Mythical Zombie' then
- return warn'Zombie not supported'
- end
- end
- NewFMeta.__newindex = function(tab,key,value)
- getmetatable(tostring(table[#NewFMeta]));
- NewFmeta.__add(NewF,value)
- return warn'New index: '..value..' Caught'
- end
- if GetGenv == true then
- local getgenv = getgenv;
- table.foreach(getgenv(),print)
- end
- local C = math.random(1,1000);
- local V = math.random(1,1000);
- local B = math.random(1,1000);
- local N = game.workspace.enemies:FindFirstChildOfClass('Model');
- local K = game.workspace.enemies:FindFirstChildOfClass('Model');
- local N1 = N.Name;
- local LP = game:GetService'Players'.LocalPlayer;
- Logo1:TweenPosition(UDim2.new(0,0,0,0),'Out','Quart',0.3);
- Logo1:TweenSize(UDim2.new(0,0,0,0),'Out','Quart',0.3);
- Logo:TweenPosition(UDim2.new(0,640,0,276),'Out','Quart',0.3);
- Logo:TweenSize(UDim2.new(0,0,0,0),'Out','Quart',0.3);
- wait(0.3)
- Blur1.Size = '';
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e esp" then
- print'ESP Launched';
- while wait() do
- for _,v in pairs(game.Workspace.enemies:GetChildren()) do
- if v:IsA('Model') then
- local Main = Instance.new("BillboardGui", workspace.Camera)
- local ESP = Instance.new("Frame", Main)
- Main.AlwaysOnTop = true
- Main.Enabled = true
- Main.Size = UDim2.new(2,0,2,0)
- Main.Name = "ESP"
- Main.Adornee = v.Torso
- Main.StudsOffset = Vector3.new(0, -0.75, 0)
- ESP.BackgroundColor3 = Color3.new(1,1,1)
- ESP.BackgroundTransparency = 0.2
- ESP.BorderColor3 = Color3.new(0,0,0)
- ESP.BorderSizePixel = 2
- ESP.Size = UDim2.new(2,0,2,0)
- local Name1 = Instance.new("TextLabel",Main)
- Name1.Size = UDim2.new(1,0,1,0)
- Name1.BackgroundTransparency = 1
- Name1.Position = UDim2.new(0,0,0,0)
- Name1.Text = v.Name
- Name1.TextScaled = true
- Name1.TextColor3 = Color3.new(255,255,255)
- Name1.TextXAlignment = "Center"
- Name1.TextYAlignment = "Top"
- Name1.Font = "Arial"
- Name1.Position = UDim2.new(0,0,0,-100)
- table.insert(Current1,ESP)
- end
- end
- end
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e teleme" then
- warn'Teleport To Me Ran'
- while wait() do
- for o,v in pairs(workspace.enemies:GetChildren()) do
- local B = v:FindFirstChildOfClass'Model'
- B.CFrame = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame*CFrame.new(0,4,0)
- end
- end
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e tele" then
- warn'Teleport Ran'
- while wait() do
- for o,v in pairs(workspace.enemies:GetDescendants()) do
- if v.Name == "Head" then
- game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame*CFrame.new(2,0,0)
- end
- end
- end
- end
- end)
- LP.Chatted:connect(function(msg)
- local KeyCheck = msg:lower():sub(1,9)
- if msg:lower():sub(1,10) == "/e kill" then
- print'Kill Launched'
- while wait() do
- for _,v in pairs(workspace.enemies:GetDescendants()) do
- if v.Name == "Head" then
- if Teleport == true then
- game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame = v.Head.CFrame*CFrame.new(4,0,0)
- end
- local V1 = v.Parent.Name
- wait(0.2)
- print('Tango: '..V1..' Down')
- game:GetService('ReplicatedStorage').Gun:FireServer({["Normal"] = Vector3.new(0,0,0),["Direction"] = v.Position,["Name"] = Gun,["Hit"] = v })
- wait()
- table.insert(DataS,v)
- end
- end
- end
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e cmds" then
- print(tostring(CmdsTab))
- warn(CmdsTab[1]);
- warn(CmdsTab[2]);
- warn(CmdsTab[3]);
- warn(CmdsTab[4]);
- warn(CmdsTab[5]);
- warn(CmdsTab[6]);
- warn(CmdsTab[7]);
- warn(CmdsTab[8]);
- warn(CmdsTab[9]);
- warn(CmdsTab[10]);
- warn(CmdsTab[11]);
- return print'-=Cmds=-'
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e aura" then
- print'Kill Aura Launched'
- local K = Instance.new('PointLight')
- K.Parent = game:GetService'Players'.LocalPlayer.Character.Head
- K.Brightness = 100
- K.Range = 30
- K.Name = 'Kill Aura'
- wait()
- local I = game:GetService("Players").LocalPlayer
- local C = Instance.new("Part",game.workspace)
- C.CFrame = I.Character.Head.CFrame*CFrame.new(0, 3.5, 0)
- C.Size = Vector3.new(40,50,40)
- C.Anchored = true
- C.CanCollide = false
- C.Transparency = 1
- C.Name = 'Cool'
- wait()
- local weld = Instance.new("Weld")
- game.Workspace.Cool.CFrame = I.Character.Head.CFrame*CFrame.new(0, 3.5, 0)
- game.Workspace.Cool.CanCollide = false
- weld.Part0 = I.Character.Head
- weld.C0 = I.Character.Head.CFrame:inverse()
- weld.Part1 = game.Workspace.Cool
- weld.C1 = game.Workspace.Cool.CFrame:inverse()
- weld.Parent = game.Workspace.Cool
- game.Workspace.Cool.Anchored = false
- local function onTouch(hit)
- if (hit.Parent:FindFirstChild("Humanoid") ~= nil) then
- hit.Parent.Humanoid.Health = 0
- wait()
- hit.Parent:Destroy()
- end
- end
- game.Workspace.Cool.Touched:connect(onTouch)
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e large" then
- while wait() do
- if game.Workspace.enemies:FindFirstChild("Zombie") then
- for i,v in pairs(game.Workspace.enemies:GetChildren()) do
- wait(0.1)
- if v:FindFirstChild("Head") then
- v.Head.CanCollide = false
- v.Head.Size = Vector3.new(75,75,75)
- v.Head.CFrame = v.Torso.CFrame * CFrame.new(0,75,0)
- v.Head.Material = 'Neon'
- end
- end
- end
- end
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e vip" then
- local GV = game:GetService'ReplicatedStorage'.assets:FindFirstChild'VIP'
- if GV:IsA('ScreenGui') then
- GV.Parent = game:GetService'Players'.LocalPlayer.PlayerGui;
- end
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e gw" then
- local Uzi = game:GetService'ReplicatedStorage'.Guns.Uzi;
- local Venom = game:GetService'ReplicatedStorage'.Guns.Venom;
- local Sniper = game:GetService'ReplicatedStorage'.Guns.Sniper;
- local Minigun = game:GetService'ReplicatedStorage'.Guns.Minigun;
- local Revolver = game:GetService'ReplicatedStorage'.Guns.Revolver;
- local GPistol = game:GetService'ReplicatedStorage'.Guns["Golden Pistol"];
- local SGun = game:GetService'ReplicatedStorage'.Guns["Space Gun"];
- local GLaser = game:GetService'ReplicatedStorage'.Guns["Gatling Laser"];
- local Toxic = game:GetService'ReplicatedStorage'.Guns.Toxic;
- local Blaster = game:GetService'ReplicatedStorage'.Guns.Blaster;
- Uzi.Parent = game:GetService'Players'.LocalPlayer.Backpack;
- Venom.Parent = game:GetService'Players'.LocalPlayer.Backpack;
- Sniper.Parent = game:GetService'Players'.LocalPlayer.Backpack;
- Minigun.Parent = game:GetService'Players'.LocalPlayer.Backpack;
- Revolver.Parent = game:GetService'Players'.LocalPlayer.Backpack;
- GPistol.Parent = game:GetService'Players'.LocalPlayer.Backpack;
- GLaser.Parent = game:GetService'Players'.LocalPlayer.Backpack;
- Toxic.Parent = game:GetService'Players'.LocalPlayer.Backpack;
- Blaster.Parent = game:GetService'Players'.LocalPlayer.Backpack;
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e god" then
- game.Players.LocalPlayer.Character.Humanoid.Name = "1"
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- l.Changed:Connect(function()
- if l then
- l.WalkSpeed= 20
- l.JumpPower= 50
- end
- end)
- warn'God Mode Activated'
- end
- end)
- LP.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e aim" then
- warn'Aimbot Launched';
- local Tool1 = game:GetService'Players'.LocalPlayer.Backpack:FindFirstChild'Pistol';
- Tool1.Equipped:connect(function(mouse)
- mouse.Button1Down:connect(function()
- for p,v in pairs(workspace.enemies:GetDescendants()) do
- wait()
- if v.Name == "Head" then
- game:GetService('ReplicatedStorage').Gun:FireServer({["Normal"] = Vector3.new(0,0,0),["Direction"] = v.Position,["Name"] = Gun,["Hit"] = v, ["Origin"] = v.Position,["Pos"] = v.Position, })
- wait()
- return print'Boom Headshot'
- end
- end
- end)
- end)
- end
- end)
- do
- function fly()
- for i,v in pairs(script:GetChildren()) do
- pcall(function() v.Value = "" end)
- game:GetService("Debris"):AddItem(v,.1)
- end
- function weld(p0,p1,c0,c1,par)
- local w = Instance.new("Weld",p0 or par)
- w.Part0 = p0
- w.Part1 = p1
- w.C0 = c0 or CFrame.new()
- w.C1 = c1 or CFrame.new()
- return w
- end
- local motors = {}
- function motor(p0,p1,c0,c1,des,vel,par)
- local w = Instance.new("Motor6D",p0 or par)
- w.Part0 = p0
- w.Part1 = p1
- w.C0 = c0 or CFrame.new()
- w.C1 = c1 or CFrame.new()
- w.MaxVelocity = tonumber(vel) or .05
- w.DesiredAngle = tonumber(des) or 0
- return w
- end
- function lerp(a,b,c)
- return a+(b-a)*c
- end
- function clerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = lerp(v,com2[i],al)
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- function ccomplerp(c1,c2,al)
- local com1 = {c1:components()}
- local com2 = {c2:components()}
- for i,v in pairs(com1) do
- com1[i] = lerp(v,com2[i],al)
- end
- return CFrame.new(unpack(com1))
- end
- function tickwave(time,length,offset)
- return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
- end
- function invcol(c)
- c = c.Color
- return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))
- end
- local oc = oc or function(...) return ... end
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local tor = char.Torso
- local hum = char.Humanoid
- hum.PlatformStand = false
- pcall(function()
- char.Wings:Destroy()
- end)
- pcall(function()
- char.Angel:Destroy() -- hat
- end)
- local mod = Instance.new("Model",char)
- mod.Name = "Wings"
- local special = {
- [game.Players.LocalPlayer.Name] = {"Black","Bright red",.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
- }
- local topcolor = BrickColor.new("Really black")
- local feacolor = BrickColor.new("Black")
- local ptrans = 0
- local pref = 0
- local fire = true
- local fmcol = Color3.new()
- local fscol = Color3.new()
- local spec = special[plr.Name:lower()]
- if spec then
- topcolor,feacolor,ptrans,pref,fire,fmcol,fscol = spec[1] and BrickColor.new(spec[1]) or topcolor,spec[2] and BrickColor.new(spec[2]) or feacolor,spec[3],spec[4],spec[5],spec[6],spec[7]
- end
- local part = Instance.new("Part")
- part.FormFactor = "Custom"
- part.Size = Vector3.new(.2,.2,.2)
- part.TopSurface,part.BottomSurface = 0,0
- part.CanCollide = false
- part.BrickColor = BrickColor.new("Black")
- part.Transparency = ptrans
- part.Reflectance = pref
- local ef = Instance.new("Fire",fire and part or nil)
- ef.Size = .15
- ef.Color = BrickColor.new("Black").Color
- ef.SecondaryColor = BrickColor.new("Bright red").Color
- part:BreakJoints()
- function newpart()
- local clone = part:Clone()
- clone.Parent = mod
- clone:BreakJoints()
- return clone
- end
- local feath = newpart()
- feath.BrickColor = feacolor
- feath.Transparency = 0
- Instance.new("SpecialMesh",feath).MeshType = "Sphere"
- function newfeather()
- local clone = feath:Clone()
- clone.Parent = mod
- clone:BreakJoints()
- return clone
- end
- flying = false
- moving = false
- for i,v in pairs(tor:GetChildren()) do
- if v.ClassName:lower():match("body") then
- v:Destroy()
- end
- end
- local ctor = tor:Clone()
- ctor:ClearAllChildren()
- ctor.Name = "cTorso"
- ctor.Transparency = 1
- ctor.CanCollide = false
- ctor.FormFactor = "Custom"
- ctor.Size = Vector3.new(.2,.2,.2)
- ctor.Parent = mod
- weld(tor,ctor)
- local bg = Instance.new("BodyGyro",ctor)
- bg.maxTorque = Vector3.new()
- bg.P = 15000
- bg.D = 1000
- local bv = Instance.new("BodyVelocity",ctor)
- bv.maxForce = Vector3.new()
- bv.P = 15000
- vel = Vector3.new()
- cf = CFrame.new()
- flspd = 0
- keysdown = {}
- keypressed = {}
- ktime = {}
- descendtimer = 0
- jumptime = tick()
- hum.Jumping:connect(function()
- jumptime = tick()
- end)
- cam = workspace.CurrentCamera
- kd = plr:GetMouse().KeyDown:connect(oc(function(key)
- keysdown[key] = true
- keypressed[key] = true
- if key == "q" then
- descendtimer = tick()
- elseif key == " " and not hum.Jump then
- jumptime = tick()
- elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then
- reqrotx = key == "a" and math.pi*2 or -math.pi*2
- end
- ktime[key] = tick()
- end))
- ku = plr:GetMouse().KeyUp:connect(function(key)
- keysdown[key] = false
- if key == " " then
- descendtimer = tick()
- end
- end)
- function mid(a,b,c)
- return math.max(a,math.min(b,c or -a))
- end
- function bn(a)
- return a and 1 or 0
- end
- function gm(tar)
- local m = 0
- for i,v in pairs(tar:GetChildren()) do
- if v:IsA("BasePart") then
- m = m + v:GetMass()
- end
- m = m + gm(v)
- end
- return m
- end
- reqrotx = 0
- local grav = 196.2
- local con
- con = game:GetService("RunService").Stepped:connect(oc(function()
- local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
- local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z
- if flying then
- local lfldir = fldir
- fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit
- local lmoving = moving
- moving = fldir.magnitude > .1
- if lmoving and not moving then
- idledir = lfldir*Vector3.new(1,0,1)
- descendtimer = tick()
- end
- local dbomb = fldir.Y < -.6 or (moving and keysdown["1"])
- if moving and keysdown["0"] and lmoving then
- fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit
- end
- local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
- local descending = (not moving and keysdown["q"] and not keysdown[" "])
- cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
- local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05
- hum.PlatformStand = true
- bg.maxTorque = Vector3.new(1,1,1)*9e5
- local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector
- bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0)
- reqrotx = reqrotx - reqrotx/10
- bv.maxForce = Vector3.new(1,1,1)*9e4*.5
- local anioff =(bn(keysdown[" "])-bn(keysdown["q"]))/2
- local ani = tickwave(1.5-anioff,1)
- bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["q"]))*15,0)+vel,.6)
- vel = moving and cf.lookVector*flspd or Vector3.new()
- flspd = math.min(120,lerp(flspd,moving and (fldir.Y<0 and flspd+(-fldir.Y)*grav/60 or math.max(50,flspd-fldir.Y*grav/300)) or 60,.4))
- local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char})
- if hit and down.Y < -.85 and tick()-flystart > 1 then
- flying = false
- hum.PlatformStand = false
- tor.Velocity = Vector3.new()
- end
- else
- bg.maxTorque = Vector3.new()
- bv.maxForce = Vector3.new()
- local x,y,z = fspd/160,uspd/700,sspd/900
- if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
- vel = Vector3.new(0,50,0)
- bv.velocity = vel
- idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1)
- cf = tor.CFrame * CFrame.Angles(-.01,0,0)
- tor.CFrame = cf
- bg.cframe = cf
- flystart = tick()
- flying = true
- end;
- end;
- keypressed = {}
- end))
- end;
- fly()
- end;
- else
- Zirgo:Destroy()
- return warn'Execute in match'
- end;
- end)
- else
- local Mname = game.Name
- warn(''..Mname..' Is Not Supported')
- end;
- return print'Zirgo Admin Loaded'
- table.remove(TabsRun, RunS);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement