BINARYEXIT

Untitled

Jan 1st, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 18.02 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification",{Title="Loaded!",Text="Vienix Admin Loaded!"})local b={["/e arrest PLR"]="TARGET MUST BE BREAKING RULES",["/e giveguns"]="SENDS ALL TOOLS FROM ARMORY TO LOCALPLAYER",["/e baseballbat"]="GIVES BASEBALL BAT WEAPON",["/e buildingtools"]="GIVES BTOOLS TO LOCALPLAYER"}local function c(d)d=d:lower()for e,f in pairs(game:GetService("Players"):GetPlayers())do if f.Name:lower():sub(1,#d)==d then return f end end end;game.Players.LocalPlayer.Chatted:connect(function(g)if g:sub(1,10)=="/e arrest "then local h=game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame;local i=c(g:sub(11))game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=i.Character.HumanoidRootPart.CFrame;wait(0.1)game.Workspace.Remote.arrest:InvokeServer(i.Character["Left Leg"])wait(0.5)if teleporttolastpost==true then game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=h else end elseif g:sub(1,8)=="/e giveguns"then for j,f in pairs(Workspace.Prison_ITEMS.giver:GetChildren())do lol=Workspace.Remote.ItemHandler:InvokeServer(f.ITEMPICKUP)print(lol)end elseif g:sub(1,14)=="/e baseballbat"then local plr=game.Players.LocalPlayer;local tool=Instance.new("Tool",plr.Backpack)tool.GripPos=Vector3.new(0.1,-1,0)tool.Name="Baseball Bat"local k=Instance.new("Part",tool)k.Name="Handle"k.Size=Vector3.new(0.4,4,0.4)local l=Instance.new("Animation",tool)l.AnimationId="rbxassetid://218504594"local m=plr.Character.Humanoid:LoadAnimation(l)db=true;da=false;tool.Equipped:connect(function()tool.Activated:connect(function()if db==true then db=false;m:Play()wait()da=true;db=true;wait(0.1)da=false end end)end)k.Touched:connect(function(n)if da==true then local o=n.Parent.Humanoid;if o~=nil then local p=game.Players:FindFirstChild(n.Parent.Name)for j=1,10 do if p.Name~="kokobang12"then game.ReplicatedStorage.meleeEvent:FireServer(p)end end end end end)elseif g:sub(1,9)=="/e buildingtools"then Instance.new('HopperBin',game.Players.LocalPlayer.Backpack).BinType=4 end end)local q=game.Players.LocalPlayer;Char=q.Character;Hum=Char.Humanoid;q.Chatted:connect(function(r)if r:match("/e guns")then local s={"Remington 870"}for j,f in pairs(workspace.Prison_ITEMS.giver:GetChildren())do if f.Name==s[1]then local lol=workspace.Remote.ItemHandler:InvokeServer(f.ITEMPICKUP)end end;local s={"AK-47"}for j,f in pairs(workspace.Prison_ITEMS.giver:GetChildren())do if f.Name==s[1]then local lol=workspace.Remote.ItemHandler:InvokeServer(f.ITEMPICKUP)end end;local s={"M9"}for j,f in pairs(workspace.Prison_ITEMS.giver:GetChildren())do if f.Name==s[1]then local lol=workspace.Remote.ItemHandler:InvokeServer(f.ITEMPICKUP)end end elseif r:match("/e guns2")then for j,f in pairs(Workspace.Prison_ITEMS.giver:GetChildren())do lol=Workspace.Remote.ItemHandler:InvokeServer(f.ITEMPICKUP)print(lol)end elseif r:match("/e cmds")then local t=Instance.new("ScreenGui")local u=Instance.new("Frame")local v=Instance.new("TextLabel")local w=Instance.new("ImageLabel")local x=Instance.new("TextLabel")local y=Instance.new("TextButton")t.Name="CmdbarGui"t.Parent=game.Players.LocalPlayer:WaitForChild("PlayerGui")u.Name="CmdbarFrame"u.Parent=t;u.Active=true;u.BackgroundColor3=Color3.new(1,0.682353,0.239216)u.BackgroundTransparency=0.30000001192093;u.BorderSizePixel=4;u.Position=UDim2.new(0.0634686351,0,0.18427518,0)u.Size=UDim2.new(0,267,0,397)v.Name="TitleLabel"v.Parent=u;v.BackgroundColor3=Color3.new(0.533333,0.533333,0.533333)v.BorderSizePixel=4;v.Size=UDim2.new(0,267,0,50)v.Font=Enum.Font.GothamBlack;v.Text="Cmdbar"v.TextColor3=Color3.new(0,0,0)v.TextSize=28;v.TextWrapped=true;w.Name="VienixLogo"w.Parent=u;w.BackgroundColor3=Color3.new(1,1,1)w.BorderSizePixel=4;w.Position=UDim2.new(0.0337078571,0,0.0151133509,0)w.Size=UDim2.new(0,44,0,38)w.Image="rbxassetid://2505377919"x.Name="Cmds"x.Parent=u;x.BackgroundColor3=Color3.new(1,1,1)x.BackgroundTransparency=1;x.Position=UDim2.new(0.0337078646,0,0.1536524,0)x.Size=UDim2.new(0,246,0,324)x.Font=Enum.Font.GothamBold;x.Text="- /e guns \n- /e guns2 \n- /e guns3 \n- /e arrest PLR \n- /e loot \n- /e prisoner \n- /e guards \n- /e neutral \n- /e criminal \n- /e esp -- Key \"B\"\n- /e noclip -- Key \"E\"\n- /e clickarrest\n- /e superpunch\n- /e killaura -- Key \"X\"\n- /e arrestaura\n- /e arrestcriminals\n- /e arrestprisoners\n- /e superguns\n- /e megaguns\n- /e autoguns\n- /e baseball\n- /e kill all"x.TextColor3=Color3.new(0,0,0)x.TextScaled=true;x.TextSize=14;x.TextWrapped=true;y.Name="ExitButton"y.Parent=u;y.BackgroundColor3=Color3.new(1,0.00784314,0.00784314)y.BorderSizePixel=4;y.Position=UDim2.new(0.835205972,0,0.0251889192,0)y.Size=UDim2.new(0,32,0,30)y.Font=Enum.Font.GothamSemibold;y.Text="X"y.TextColor3=Color3.new(0,0,0)y.TextScaled=true;y.TextSize=14;y.TextWrapped=true;function SCRIPT_PEMR70_FAKESCRIPT()getfenv().script=Instance.new('LocalScript',y)local z=script.Parent.Parent;script.Parent.MouseButton1Click:connect(function()z.Visible=false end)end;coroutine.resume(coroutine.create(SCRIPT_PEMR70_FAKESCRIPT))elseif r:match("/e loot")then for j,f in pairs(workspace.Prison_ITEMS.single:GetChildren())do local lol=workspace.Remote.ItemHandler:InvokeServer(f.ITEMPICKUP)end elseif r:match("/e prisoner")then Workspace.Remote.TeamEvent:FireServer("Bright orange")elseif r:match("/e guards")then Workspace.Remote.TeamEvent:FireServer("Bright blue")elseif r:match("/e neutral")then Workspace.Remote.TeamEvent:FireServer("Medium stone grey")elseif r:match("/e criminal")then local A=game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame;wait(0.1)game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(-975,112,2055)wait(0.5)game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=A elseif r:match("/e superpunch")then mainRemotes=game.ReplicatedStorage;meleeRemote=mainRemotes['meleeEvent']mouse=game.Players.LocalPlayer:GetMouse()punching=false;cooldown=false;function punch()cooldown=true;local n=Instance.new("Part",game.Players.LocalPlayer.Character)n.Transparency=1;n.Size=Vector3.new(5,2,3)n.CanCollide=false;local B=Instance.new("Weld",n)B.Part0=game.Players.LocalPlayer.Character.Torso;B.Part1=n;B.C1=CFrame.new(0,0,2)n.Touched:connect(function(C)if game.Players:FindFirstChild(C.Parent.Name)then local plr=game.Players:FindFirstChild(C.Parent.Name)if plr.Name~=game.Players.LocalPlayer.Name then n:Destroy()for j=1,100 do meleeRemote:FireServer(plr)end end end end)wait(1)cooldown=false;n:Destroy()end;mouse.KeyDown:connect(function(D)if cooldown==false then if D:lower()=="f"then punch()end end end)elseif r:match("/e clickarrest")then local mouse=game.Players.LocalPlayer:GetMouse()local E=game.Workspace.Remote.arrest;mouse.Button1Down:connect(function()local F=mouse.Target;local G=E:InvokeServer(F)end)elseif r:match("/e ESP")then local H="b"local I=0.5;local plr=game:GetService('Players').LocalPlayer;function getteam(plr)local J=nil;if plr.TeamColor then for j,f in pairs(game:GetService('Teams'):GetChildren())do if f.TeamColor==plr.TeamColor then J=f end end end;return J end;local plr=game:GetService('Players').LocalPlayer;if plr:FindFirstChild('Zz1pF800p8lDrsOQgGiqa')==nil then local K=Instance.new('IntValue',plr)K.Name="Zz1pF800p8lDrsOQgGiqa"K.AncestryChanged:connect(function()wait()K.Parent=plr end)local L=plr:GetMouse()local M=false;function invert(N)return Color3.new((255-N.r*255)/255,(255-N.g*255)/255,(255-N.b*255)/255)end;function heil()for j,f in pairs(game:GetService('CoreGui'):GetChildren())do if f:IsA('Folder')and(game:GetService('Players'):FindFirstChild(f.Name)or f:FindFirstChildOfClass("BillboardGui")or f:FindFirstChildOfClass("BoxHandleAdornment"))then f:Destroy()end end;if M==true then for j,f in pairs(game:GetService('Players'):GetChildren())do if f.Character and f~=plr then if game:GetService('CoreGui'):FindFirstChild(f.Name)==nil then local O=Instance.new('Folder',game:GetService('CoreGui'))O.Name=f.Name;if f.Character:FindFirstChild('Head')then local P=Instance.new('BillboardGui',O)P.Adornee=f.Character.Head;P.AlwaysOnTop=true;P.LightInfluence=0;P.Size=UDim2.new(10,0,2,0)P.StudsOffset=Vector3.new(0,4,0)local Q=Instance.new('TextLabel',P)if getteam(f)then Q.BackgroundColor3=f.TeamColor.Color;Q.TextColor3=invert(f.TeamColor.Color)Q.BorderColor3=f.TeamColor.Color else Q.BackgroundColor3=Color3.new(1,1,1)Q.TextColor3=Color3.new(0,0,0)Q.BorderColor3=Color3.new(1,1,01)end;Q.BorderSizePixel=2;Q.Size=UDim2.new(1,0,1,0)Q.TextScaled=true;Q.Text=f.Name;Q.TextYAlignment=Enum.TextYAlignment.Top;Q.Font=Enum.Font.SourceSansBold;local R=Instance.new('TextLabel',Q)R.BackgroundTransparency=1;R.Size=UDim2.new(1,0,0.3,0)R.Position=UDim2.new(0,0,0.7,0)R.TextScaled=true;if getteam(f)then R.Text=[[Team: "]]..getteam(f).Name..[["]]else R.Text=[[.]]end;R.Font=Enum.Font.SourceSansBold;if getteam(f)then R.TextColor3=invert(f.TeamColor.Color)else R.TextColor3=Color3.new(0,0,0)end end;if f.Character:FindFirstChild('Head')then for S,n in pairs(f.Character:GetChildren())do if n:IsA('BasePart')then local T=coroutine.wrap(function()local U=n.Transparency;local V=Instance.new('BoxHandleAdornment',O)V.Name=f.Name;if n.Name~="Head"then V.Size=n.Size else V.Size=n.Size-Vector3.new(n.Size.X/2,0,0)end;V.Adornee=n;V.AlwaysOnTop=true;V.ZIndex=5;V.Transparency=U;V.Color3=Color3.fromRGB(255,44,17)local W=Instance.new('BoxHandleAdornment',O)W.Name=f.Name;if n.Name~="Head"then W.Size=n.Size*1.1 else W.Size=n.Size*1.1-Vector3.new(n.Size.X/2,0,0)end;W.Adornee=n;W.AlwaysOnTop=true;W.ZIndex=2;W.Transparency=U+0.1;W.Color3=Color3.fromRGB(183,209,73)local X=Instance.new('BoxHandleAdornment',O)X.Name=f.Name;if n.Name~="Head"then X.Size=n.Size*1.15 else X.Size=n.Size*1.15-Vector3.new(n.Size.X/2,0,0)end;X.Adornee=n;X.AlwaysOnTop=true;X.ZIndex=1;X.Transparency=U+0.2;X.Color3=Color3.fromRGB(35,166,184)end)T()end end end end end end end end;L.KeyDown:connect(function(D)if D==H then M=not M end end)while true do heil()wait(I)end end elseif r:match("/e noclip")then noclip=false;game:GetService('RunService').Stepped:connect(function()if noclip then game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)end end)plr=game.Players.LocalPlayer;mouse=plr:GetMouse()mouse.KeyDown:connect(function(D)if D=="e"then noclip=not noclip;game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)end end)print('Credits to Unknow for making this happen!')print('Press "E" to noclip')elseif r:match("/e guns3")then local Y={"Remington 870","M9","AK-47","M4A1","Riot Shield"}for j,f in pairs(game.Workspace["Prison_ITEMS"].giver:GetChildren())do for Z,e in pairs(Y)do if f.Name==e then f:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)end end end elseif r:match("/e superguns")then local i=game:GetService("Players").LocalPlayer;local _=i.Backpack:FindFirstChild("M9")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=999;a0["MaxAmmo"]=9999991;a0["StoredAmmo"]=9999991;a0["FireRate"]=0.05;a0["AmmoPerClip"]=9999991;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=10;a0["AutoFire"]=true;local i=game:GetService("Players").LocalPlayer;local _=i.Backpack:FindFirstChild("Remington 870")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=999;a0["MaxAmmo"]=9999991;a0["StoredAmmo"]=9999991;a0["FireRate"]=0.05;a0["AmmoPerClip"]=9999991;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=10;a0["AutoFire"]=true;local i=game:GetService("Players").LocalPlayer;local _=i.Backpack:FindFirstChild("AK-47")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=999;a0["MaxAmmo"]=9999991;a0["StoredAmmo"]=9999991;a0["FireRate"]=0.05;a0["AmmoPerClip"]=9999991;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=10;a0["AutoFire"]=true;local i=game:GetService("Players").LocalPlayer;local _=i.Backpack:FindFirstChild("Taser")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=999;a0["MaxAmmo"]=9999991;a0["StoredAmmo"]=9999991;a0["FireRate"]=0.05;a0["AmmoPerClip"]=9999991;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=10;a0["AutoFire"]=true;local _=i.Backpack:FindFirstChild("M4A1")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=999;a0["MaxAmmo"]=9999991;a0["StoredAmmo"]=9999991;a0["FireRate"]=0.05;a0["AmmoPerClip"]=9999991;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=10;a0["AutoFire"]=true elseif r:match("/e autoguns")then local i=game:GetService("Players").LocalPlayer;local _=i.Backpack:FindFirstChild("M9")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=5;a0["MaxAmmo"]=15;a0["StoredAmmo"]=9999999;a0["FireRate"]=0.05;a0["AmmoPerClip"]=15;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=1;a0["AutoFire"]=true;local i=game:GetService("Players").LocalPlayer;local _=i.Backpack:FindFirstChild("Remington 870")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=5;a0["MaxAmmo"]=6;a0["StoredAmmo"]=99999;a0["FireRate"]=0.05;a0["AmmoPerClip"]=6;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=5;a0["AutoFire"]=true elseif r:match("/e megaguns")then local i=game:GetService("Players").LocalPlayer;local _=i.Backpack:FindFirstChild("M9")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=5;a0["MaxAmmo"]=16;a0["StoredAmmo"]=99999;a0["FireRate"]=0.05;a0["AmmoPerClip"]=16;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=100;a0["AutoFire"]=false;local i=game:GetService("Players").LocalPlayer;local _=i.Backpack:FindFirstChild("Remington 870")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=5;a0["MaxAmmo"]=6;a0["StoredAmmo"]=9999;a0["FireRate"]=0.05;a0["AmmoPerClip"]=6;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=100;a0["AutoFire"]=false;local i=game:GetService("Players").LocalPlayer;local _=i.Backpack:FindFirstChild("AK-47")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=3;a0["MaxAmmo"]=30;a0["StoredAmmo"]=999999;a0["FireRate"]=0.05;a0["AmmoPerClip"]=30;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=100;a0["AutoFire"]=true;local i=game:GetService("Players").LocalPlayer;local _=i.Backpack:FindFirstChild("Taser")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=5;a0["MaxAmmo"]=1;a0["StoredAmmo"]=99999;a0["FireRate"]=0.05;a0["AmmoPerClip"]=1;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=100;a0["AutoFire"]=false;local _=i.Backpack:FindFirstChild("M4A1")local a0=require(_:FindFirstChild("GunStates"))a0["Damage"]=5;a0["MaxAmmo"]=30;a0["StoredAmmo"]=9999999;a0["FireRate"]=0.05;a0["AmmoPerClip"]=30;a0["Range"]=5000;a0["ReloadTime"]=0.05;a0["Bullets"]=100;a0["AutoFire"]=true elseif r:match("/e melees")then local Y={"Crude Knife","Sharpened stick","Extendo mirror"}for j,f in pairs(game.ReplicatedStorage.Tools:GetChildren())do for Z,e in pairs(Y)do if f.Name==e then f:Clone().Parent=game.Players.LocalPlayer.Backpack end end end elseif r:match("/e btools")then a=Instance.new("HopperBin")a.BinType=4;a.Parent=game.Players.LocalPlayer.Backpack elseif r:match("/e tptool")then mouse=game.Players.LocalPlayer:GetMouse()tool=Instance.new("Tool")tool.RequiresHandle=false;tool.Name="Click TP"tool.Activated:connect(function()local a1=mouse.Hit+Vector3.new(0,2.5,0)a1=CFrame.new(a1.X,a1.Y,a1.Z)game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=a1 end)tool.Parent=game.Players.LocalPlayer.Backpack elseif r:match("/e arrestcrims")then local q=game.Players.LocalPlayer;local a2=q.Character.HumanoidRootPart.CFrame;for j,f in pairs(game.Teams.Criminals:GetPlayers())do if f.Name~=q.Name then local j=10;repeat wait()j=j-1;game.Workspace.Remote.arrest:InvokeServer(f.Character.HumanoidRootPart)q.Character.HumanoidRootPart.CFrame=f.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,1)until j==0 end end elseif r:match("/e baseball")then local plr=game.Players.LocalPlayer;local tool=Instance.new("Tool",plr.Backpack)tool.GripPos=Vector3.new(0.1,-1,0)tool.Name="Baseball Bat"local k=Instance.new("Part",tool)k.Name="Handle"k.Size=Vector3.new(0.4,4,0.4)local l=Instance.new("Animation",tool)l.AnimationId="rbxassetid://218504594"local m=plr.Character.Humanoid:LoadAnimation(l)db=true;da=false;tool.Equipped:connect(function()tool.Activated:connect(function()if db==true then db=false;m:Play()wait()da=true;db=true;wait(0.1)da=false end end)end)k.Touched:connect(function(n)if da==true then local o=n.Parent.Humanoid;if o~=nil then local p=game.Players:FindFirstChild(n.Parent.Name)for j=1,10 do if p.Name~="kokobang12"then game.ReplicatedStorage.meleeEvent:FireServer(p)end end end end end)elseif r:match("/e killaura")then mainRemotes=game.ReplicatedStorage;meleeRemote=mainRemotes['meleeEvent']killAura=true;contextactionservice=game.ContextActionService;function toggleKillAura(a3,a4,a5)print('Doing the action : '..a3)if a4==Enum.UserInputState.Begin then if killAura==true then killAura=false else killAura=true end end end;contextactionservice:BindAction('ToggleKillAura',toggleKillAura,false,Enum.KeyCode.X)while wait()do if killAura==true then for S,plr in pairs(game:GetService('Players'):GetChildren())do if plr.Name~=game.Players.LocalPlayer.Name then meleeRemote:FireServer(plr)end end end end;wait(20)elseif r:match("/e arrestaura")then local a6=game.Players.LocalPlayer:GetMouse()db=true;a6.KeyDown:connect(function(e)e=e:lower()if e=="w"then if db==true then for j=6,1000 do local E=game.Workspace.Remote.arrest;for S,plr in pairs(game:GetService('Players'):GetChildren())do if plr.Name~=game.Players.LocalPlayer.Name then local F=plr.Character.HumanoidRootPart;local G=E:InvokeServer(F)end end end;db=false;wait(3)db=true end end end)elseif r:match("/e kill all")then local q=game.Players.LocalPlayer;local a7=q.Character.HumanoidRootPart.CFrame;for j,f in pairs(game.Players:GetChildren())do if f.Name~=game.Players.LocalPlayer.Name then if not f.Character:FindFirstChild("ForceField")then local a8=f.Name;local a9=game.Players:FindFirstChild(a8)repeat if q.Character.Humanoid.Sit==true then q.Character.Humanoid.Sit=false end;q.Character.HumanoidRootPart.CFrame=a9.Character.HumanoidRootPart.CFrame;for aa=1,10 do game.ReplicatedStorage.meleeEvent:FireServer(a9)end;game:GetService("RunService").RenderStepped:wait()until a9.Character.Humanoid.Health==0 or f==nil;q.Character.HumanoidRootPart.CFrame=a7 end end end elseif r:match("/e arrestprisoners")then local q=game.Players.LocalPlayer;local a2=q.Character.HumanoidRootPart.CFrame;for j,f in pairs(game.Teams.Inmates:GetPlayers())do if f.Name~=q.Name then local j=10;repeat wait()j=j-1;game.Workspace.Remote.arrest:InvokeServer(f.Character.HumanoidRootPart)q.Character.HumanoidRootPart.CFrame=f.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,1)until j==0 end end end end)
Add Comment
Please, Sign In to add comment