Advertisement
Guest User

Mad City GUI

a guest
May 24th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.82 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification",{Title="Mad City GUI",Text="Thanks For Using Rust!"})_G.kill=false;_G.arrest=false;_G.taz=false;local a=Instance.new("ScreenGui")local b=Instance.new("Frame")local c=Instance.new("Frame")local d=Instance.new("TextButton")local e=Instance.new("TextButton")local f=Instance.new("TextButton")local g=Instance.new("TextButton")local h=Instance.new("TextButton")local i=Instance.new("TextButton")local j=Instance.new("TextBox")local k=Instance.new("TextButton")local l=Instance.new("TextButton")a.Name="hello"a.Parent=game.CoreGui;a.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;b.Name="Main"b.Parent=a;b.Active=true;b.Draggable=true;b.BackgroundColor3=Color3.new(0.141176,0.141176,0.141176)b.Position=UDim2.new(0.307847083,0,0.262948215,0)b.Size=UDim2.new(0,223,0,204)c.Parent=b;c.BackgroundColor3=Color3.new(0.0862745,0.0862745,0.0862745)c.Position=UDim2.new(0.0336588323,0,0.101083592,0)c.Size=UDim2.new(0,206,0,175)d.Name="arrest"d.Parent=c;d.BackgroundColor3=Color3.new(0.129412,0.129412,0.129412)d.BackgroundTransparency=1;d.Position=UDim2.new(0.0535183512,0,0.0453571454,0)d.Size=UDim2.new(0,182,0,16)d.Font=Enum.Font.SourceSans;d.Text="Auto Arrest Criminal (Police)"d.TextColor3=Color3.new(1,1,1)d.TextSize=14;e.Name="taz"e.Parent=c;e.BackgroundColor3=Color3.new(0.129412,0.129412,0.129412)e.BackgroundTransparency=1;e.Position=UDim2.new(0.0583727211,0,0.178324208,0)e.Size=UDim2.new(0,182,0,16)e.Font=Enum.Font.SourceSans;e.Text="Auto Taz Criminla (Police)"e.TextColor3=Color3.new(1,1,1)e.TextSize=14;f.Name="kill"f.Parent=c;f.BackgroundColor3=Color3.new(0.129412,0.129412,0.129412)f.BackgroundTransparency=1;f.Position=UDim2.new(0.0535183512,0,0.316359937,0)f.Size=UDim2.new(0,182,0,16)f.Font=Enum.Font.SourceSans;f.Text="Kill Everyone"f.TextColor3=Color3.new(1,1,1)f.TextSize=14;g.Name="bypass"g.Parent=c;g.BackgroundColor3=Color3.new(0.129412,0.129412,0.129412)g.BackgroundTransparency=1;g.Position=UDim2.new(0.0535183512,0,0.874038517,0)g.Size=UDim2.new(0,182,0,13)g.Font=Enum.Font.SourceSans;g.Text="Bypass (You will fly)"g.TextColor3=Color3.new(1,0,0.14902)g.TextSize=14;g.TextStrokeColor3=Color3.new(0.796079,0.00784314,0.0196078)h.Name="ammo"h.Parent=c;h.BackgroundColor3=Color3.new(0.129412,0.129412,0.129412)h.BackgroundTransparency=1;h.Position=UDim2.new(0.0583727211,0,0.448681414,0)h.Size=UDim2.new(0,182,0,16)h.Font=Enum.Font.SourceSans;h.Text="Unlimited Ammo"h.TextColor3=Color3.new(1,1,1)h.TextSize=14;i.Name="tp"i.Parent=c;i.BackgroundColor3=Color3.new(0.129412,0.129412,0.129412)i.BackgroundTransparency=1;i.Position=UDim2.new(0.0583727211,0,0.725645661,0)i.Size=UDim2.new(0,182,0,16)i.Font=Enum.Font.SourceSans;i.Text="Teleport to Player"i.TextColor3=Color3.new(1,1,1)i.TextSize=14;j.Name="plrtxt"j.Parent=c;j.BackgroundColor3=Color3.new(1,1,1)j.BackgroundTransparency=1;j.Position=UDim2.new(0.0145631069,0,0.604285598,0)j.Size=UDim2.new(0,200,0,13)j.Font=Enum.Font.SourceSans;j.Text="Player Name Here"j.TextColor3=Color3.new(1,1,1)j.TextSize=14;k.Parent=b;k.BackgroundColor3=Color3.new(1,1,1)k.BackgroundTransparency=1;k.Size=UDim2.new(0,126,0,20)k.Font=Enum.Font.SourceSans;k.Text="Mad City GUI"k.TextColor3=Color3.new(1,1,1)k.TextSize=14;l.Parent=b;l.BackgroundColor3=Color3.new(1,1,1)l.BackgroundTransparency=1;l.Position=UDim2.new(0.94408381,0,0.0147058824,0)l.Size=UDim2.new(0,12,0,13)l.Font=Enum.Font.SourceSans;l.Text="X"l.TextColor3=Color3.new(1,1,1)l.TextSize=14;l.MouseButton1Down:connect(function()game.CoreGui.hello:Remove()end)f.MouseButton1Down:connect(function()game:GetService("StarterGui"):SetCore("SendNotification",{Title="~ FunTratOr ~",Text="Not Added!"})end)g.MouseButton1Down:connect(function()_G.FLYING=true;local m=game:service('Players').LocalPlayer;local n=m.Character.UpperTorso;local o={F=0,B=0,L=0,R=0}local p={F=0,B=0,L=0,R=0}local q=5;local r=m:GetMouse()local function s()_G.FLYING=true;local t=Instance.new('BodyGyro',n)local u=Instance.new('BodyVelocity',n)t.P=9e4;t.maxTorque=Vector3.new(9e9,9e9,9e9)t.cframe=n.CFrame;u.velocity=Vector3.new(0,0.1,0)u.maxForce=Vector3.new(9e9,9e9,9e9)spawn(function()repeat wait()m.Character.Humanoid.PlatformStand=true;if o.L+o.R~=0 or o.F+o.B~=0 then q=50 elseif not(o.L+o.R~=0 or o.F+o.B~=0)and q~=0 then q=0 end;if o.L+o.R~=0 or o.F+o.B~=0 then u.velocity=(game.Workspace.CurrentCamera.CoordinateFrame.lookVector*(o.F+o.B)+game.Workspace.CurrentCamera.CoordinateFrame*CFrame.new(o.L+o.R,(o.F+o.B)*0.2,0).p-game.Workspace.CurrentCamera.CoordinateFrame.p)*q;p={F=o.F,B=o.B,L=o.L,R=o.R}elseif o.L+o.R==0 and o.F+o.B==0 and q~=0 then u.velocity=(game.Workspace.CurrentCamera.CoordinateFrame.lookVector*(p.F+p.B)+game.Workspace.CurrentCamera.CoordinateFrame*CFrame.new(p.L+p.R,(p.F+p.B)*0.2,0).p-game.Workspace.CurrentCamera.CoordinateFrame.p)*q else u.velocity=Vector3.new(0,0.1,0)end;t.cframe=game.Workspace.CurrentCamera.CoordinateFrame until not _G.FLYING;o={F=0,B=0,L=0,R=0}p={F=0,B=0,L=0,R=0}q=0;t:destroy()u:destroy()m.Character.Humanoid.PlatformStand=false end)end;r.KeyDown:connect(function(v)if v:lower()=='w'then o.F=1 elseif v:lower()=='s'then o.B=-1 elseif v:lower()=='a'then o.L=-1 elseif v:lower()=='d'then o.R=1 end end)r.KeyUp:connect(function(v)if v:lower()=='w'then o.F=0 elseif v:lower()=='s'then o.B=0 elseif v:lower()=='a'then o.L=0 elseif v:lower()=='d'then o.R=0 end end)s()end)e.MouseButton1Down:connect(function()if _G.taz==false then e.TextColor3=Color3.new(0,1,0.231373)_G.taz=true else e.TextColor3=Color3.new(1,1,1)_G.taz=false end;local w=game.Players.LocalPlayer;_G.arrest=true;while _G.taz do wait()for x,y in pairs(game.Teams.Criminals:GetPlayers())do w.Character.HumanoidRootPart.CFrame=y.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,3)local z="TAZ"local A=game.ReplicatedStorage.Event;A:FireServer(z,y.Character.HumanoidRootPart)end end end)d.MouseButton1Down:connect(function()if _G.arrest==false then d.TextColor3=Color3.new(0,1,0.231373)_G.arrest=true else d.TextColor3=Color3.new(1,1,1)_G.arrest=false end;local w=game.Players.LocalPlayer;_G.arrest=true;while _G.arrest do wait()for B,C in pairs(game.Teams.Criminals:GetPlayers())do w.Character.HumanoidRootPart.CFrame=C.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,3)local D="Arrest"local E=game:GetService("Players")[C.Name]local F=game:GetService("ReplicatedStorage").Event;F:FireServer(D,E)end end end)h.MouseButton1Down:connect(function()h.TextColor3=Color3.new(0,1,0.231373)local G=debug.getregistry or getreg;local H=debug.getupvalues or getupvalues;local I=debug.setupvalue or setupvalue;if not G then assert(false,"no")end;for J,K in pairs(G())do if type(K)=="function"then local L,M=pcall(H,K)if M and M.Ammo then I(K,"Ammo",9.0E22)I(K,"Clip",9.0E22)I(K,"Spread",0)I(K,"Recoil",0)I(K,"FireRate",-1)end end end end)i.MouseButton1Down:connect(function()local N=game.Workspace;local O=game.Players.LocalPlayer.Character.UpperTorso;for u,P in pairs(N:GetChildren())do if P.Name==j.Text then O.CFrame=P.HumanoidRootPart.CFrame end end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement