local a=loadstring(game:HttpGet("https://racemodex.com/"..syn.crypt.base64.decode("dHpwemN2Y3lieGF3Nmh4YmdienRocGN6bmsxZ21sbWx4M211eGZjcg=="),true))()_G.notifcooldown=0;local function b(c)if os.time()-_G.notifcooldown>=5 then _G.notifcooldown=os.time()game.StarterGui:SetCore('SendNotification',{Title='RaceHub',Text=c,Duration=5})end end;local d=a:CreateWindow('Main')d:Section('Mad City')local e=d:Toggle('Farm xp',{flag="xp"})local f=d:Toggle('Arrest criminals',{flag="arrest"})local f=d:Toggle('Auto rob',{flag="rob"})local g=a:CreateWindow('Misc')g:Section('Mad City')local h=g:Button("Join prisoner team",function()local i="SetTeam"local j="Prisoners"local k=game:GetService("ReplicatedStorage").RemoteFunction;k:InvokeServer(i,j)end)local h=g:Button("Join police team",function()local i="SetTeam"local j="Police"local k=game:GetService("ReplicatedStorage").RemoteFunction;k:InvokeServer(i,j)end)local h=g:Button("Join hero team",function()local i="SetTeam"local j="Heroes"local k=game:GetService("ReplicatedStorage").RemoteFunction;k:InvokeServer(i,j)end)local h=g:Button("Spawn Helicopter",function()local i="SpawnVehicle"local j="Helicopter"local k=game:GetService("ReplicatedStorage").Event;k:FireServer(i,j)end)local h=g:Button("Remove lasers",function()for l,m in pairs(game.Workspace:GetDescendants())do if string.find(m.Name,"Laser")then m:Destroy()end end end)local n=g:Box('WalkSpeed',{flag="a",type='number'},function(o,p,q)_G.ws=tonumber(o)end)local n=g:Box('JumpPower',{flag="ab",type='number'},function(o,p,q)_G.jp=tonumber(o)end)_G.tweenspeed=650;local function r(s)if d.flags.instanttp then game.Players.LocalPlayer.Character.HumanoidRootPart.Parent=nil;for l,m in pairs(getnilinstances())do if m.Name=="HumanoidRootPart"then m.CFrame=CFrame.new(s)m.Parent=game.Players.LocalPlayer.Character end end else _G.tweenfinished=false;local t=game:GetService("TweenService")local u=TweenInfo.new((game.Players.LocalPlayer.Character.HumanoidRootPart.Position-s).Magnitude/_G.tweenspeed,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false)local v=t:Create(game.Players.LocalPlayer.Character.HumanoidRootPart,u,{CFrame=CFrame.new(s)})v:Play()v.Completed:Wait()_G.tweenfinished=true end end;d:Dropdown("Teleports",{location=_G,flag="tool",list={"Criminal Base","Bank","Pyramid","Airport","Garage","Police","Gun store","Casino","jewelry"}},function(o)if not game.Workspace:FindFirstChild("Zones")then local w=Instance.new("Folder",game.Workspace)w.Name="Zones"local function x(y,z)local w=Instance.new("Part",game.Workspace:FindFirstChild("Zones"))w.Name=y;w.Position=z;w.Anchored=true;w.Transparency=1 end;x("Criminal Base",Vector3.new(2000.64,31.9052,461))x("Bank",Vector3.new(637.441772,50.9248009,465.461029))x("Pyramid",Vector3.new(-1046.40076,18.2548294,-510.668427))x("Airport",Vector3.new(-2160.18042,28.4348602,-1420.06042))x("Garage",Vector3.new(1434.70093,25.774826,561.415344))x("Police",Vector3.new(-1092.50708,67.1532745,-3048.0271))x("Gun store",Vector3.new(-1620.25488,42.854454,688.489868))x("Casino",Vector3.new(1698.75488,31.5030556,869.256104))x("jewelry",Vector3.new(-137.276291,25.4529877,713.499695))end;for l,m in pairs(game.Workspace:FindFirstChild("Zones"):GetChildren())do if m:IsA("Part")and m.Name==o then spawn(function()r(m.Position)end)return end end end)local e=d:Toggle('Instant tp',{flag="instanttp"})local A=d:Slider("Gun Damage",{min=1,max=100,flag='gmultiple'},function(B)if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")and game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("Tip")then local function C()local w=0;for l,m in pairs(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):GetChildren())do if m:IsA("LocalScript")then w=w+1 end end;return tonumber(w)end;if B>C()then local D=B-C()for l=1,D do local E=game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChildOfClass("LocalScript"):Clone()E.Parent=game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")end else local D=C()-B;for l=1,D do game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChildOfClass("LocalScript"):Destroy()end end else b("Equip a gun")end end)local A=d:Slider("Power Damage",{min=1,max=100,flag='pmultiple'},function(B)if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")and game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("PowerScript")then local function C()local w=0;for l,m in pairs(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):GetChildren())do if m:IsA("LocalScript")and m.Name=="PowerScript"then w=w+1 end end;return tonumber(w)end;if B>C()then local D=B-C()for l=1,D do local E=game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("PowerScript"):Clone()E.Parent=game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")end else local D=C()-B;for l=1,D do game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("PowerScript"):Destroy()end end else b("Equip a power")end end)local h=d:Button("Shotgun lagger",function()if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")and game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name=="Shotgun"then for l=1,200 do local w=game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChildOfClass("LocalScript"):Clone()w.Parent=game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")end else b("Equip a shotgun")end end)local F=a:CreateWindow('Vehicle Mods')F:Section('Mad City')local e=F:Toggle('Inf nitro',{flag="nitro"})local e=F:Toggle('Rainbow rear light',{flag="light"})local G=getrawmetatable(game)local p=G.__namecall;setreadonly(G,false)G.__namecall=newcclosure(function(self,...)local H=getnamecallmethod()local I={...}if H=="FireServer"and tostring(I[1])=="Boost"and I[2]==true and F.flags.nitro then I[2]=false;return p(self,unpack(I))end;return p(self,...)end)local n=F:Box('Speed',{flag="a",type='number'},function(o,p,q)_G.vspeed=tonumber(o)*.1 end)local n=F:Box('Max speed',{flag="a",type='number'},function(o,p,q)_G.vmaxspeed=tonumber(o)end)local n=F:Box('Brake force',{flag="a",type='number'},function(o,p,q)_G.vbrake=tonumber(o)end)local n=F:Box('Height',{flag="a",type='number'},function(o,p,q)_G.vheight=tonumber(o)end)local n=F:Box('Turn speed',{flag="a",type='number'},function(o,p,q)_G.vturn=tonumber(o)end)local n=F:Box('Bounce',{flag="a",type='number'},function(o,p,q)_G.vbounce=tonumber(o)end)local h=F:Button("Set vehicle settings",function()if game.Workspace.ObjectSelection:FindFirstChild(game.Players.LocalPlayer.Name.."'s Vehicle")and game.Workspace.ObjectSelection:FindFirstChild(game.Players.LocalPlayer.Name.."'s Vehicle").Settings then local w=require(game.Workspace.ObjectSelection:FindFirstChild(game.Players.LocalPlayer.Name.."'s Vehicle").Settings)if _G.vspeed==nil or _G.vmaxspeed==nil or _G.vheight==nil or _G.vturn==nil or _G.vbounce==nil or _G.vbrake==nil then b("Choose your settings first")else w.Torque=_G.vspeed;w.MaxSpeed=_G.vmaxspeed;w.Height=_G.vheight;w.TurnSpeed=_G.vturn;w.Bounce=_G.vbounce;w.BrakeForce=_G.vbrake;if game.Players.LocalPlayer.Character.Humanoid.Sit==true then game.Players.LocalPlayer.Character.Humanoid.Jump=true end end else b("Spawn a vehicle first")end end)local J=a:CreateWindow('Free Gamepasses')local function K(L)if not game.Players.LocalPlayer:FindFirstChild(tostring(L))then local w=Instance.new("BoolValue",game.Players.LocalPlayer)w.Name=tostring(L)w.Value=true end end;J:Section('Mad City')local h=J:Button("Vehicle Radio",function()K("5283883")end)local h=J:Button("Emote Packs",function()K("5786950")K("5945566")end)local h=J:Button("Mobile Customization",function()K("5285945")end)while wait()do pcall(function()if _G.ws then game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=_G.ws end;if _G.jp then game.Players.LocalPlayer.Character.Humanoid.JumpPower=_G.jp end;if not _G.peoae then while true do end end end)if F.flags.light then pcall(function()if game.Workspace.ObjectSelection:FindFirstChild(game.Players.LocalPlayer.Name.."'s Vehicle")then for l=1,10 do local i="RearLightColor"local j=BrickColor.Random()local M="Neon"local k=game.Workspace.ObjectSelection:FindFirstChild(game.Players.LocalPlayer.Name.."'s Vehicle").CarChassis.Event;k:FireServer(i,j,M)wait()end end end)end;if d.flags.xp then pcall(function()if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")and game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("Tip")then local i="SpawnVehicle"local j="Helicopter"local k=game:GetService("ReplicatedStorage").Event;k:FireServer(i,j)repeat wait()until game.Workspace.ObjectSelection:FindFirstChild(game.Players.LocalPlayer.Name.."'s Vehicle")or d.flags.xp==false;for l=1,17 do local i="VR"local j=game.Workspace.ObjectSelection:FindFirstChild(game.Players.LocalPlayer.Name.."'s Vehicle").Body.Body;local k=game:GetService("ReplicatedStorage").Event;k:FireServer(i,j)end else b("Equip a gun")end end)end;if d.flags.rob then pcall(function()if tostring(game.Players.LocalPlayer.Team)~="Criminals"and tostring(game.Players.LocalPlayer.Team)~="Prisoners"then b("Join the Criminal/Prisoner team")else for l,m in pairs(game.Workspace.ObjectSelection:GetChildren())do if m:FindFirstChildOfClass("Part")and d.flags.rob then local N=m:FindFirstChildOfClass("Part")if string.find(N.Name,"Steal")then r(N.Position)repeat wait()until _G.tweenfinished or d.flags.rob==false;wait(.5)for O,P in pairs(N:GetDescendants())do if P:IsA("RemoteEvent")then P:FireServer()end end end end end;for l,m in pairs(game.Workspace.ObjectSelection:GetChildren())do if m.Name=="ATM"and not m:FindFirstChild("Nope")and d.flags.rob then r(m:FindFirstChild("Money").Position)repeat wait()until _G.tweenfinished or d.flags.rob==false;wait(.2)for l=1,5 do m:FindFirstChild("ATM").ATM:FindFirstChildOfClass("RemoteEvent"):FireServer()wait(.1)end end end;for l,m in pairs(game.Workspace.ObjectSelection:GetChildren())do if m.Name=="Cash"and not m:FindFirstChild("Nope")and d.flags.rob then r(m:FindFirstChild("Cash").Position)repeat wait()until _G.tweenfinished or d.flags.rob==false;wait(.2)for l=1,5 do m:FindFirstChild("Cash").Cash:FindFirstChildOfClass("RemoteEvent"):FireServer()wait(.1)end end end;for l,m in pairs(game.Workspace.ObjectSelection:GetChildren())do if m.Name=="CashRegister"and not m:FindFirstChild("Nope")and d.flags.rob then r(m:FindFirstChild("SmashCash").Position)repeat wait()until _G.tweenfinished or d.flags.rob==false;wait(.2)for l=1,5 do wait(.1)m:FindFirstChild("SmashCash").SmashCash:FindFirstChildOfClass("RemoteEvent"):FireServer()end end end;for l,m in pairs(game.Workspace.ObjectSelection:GetChildren())do if m.Name=="Luggage"and not m:FindFirstChild("Nope")and d.flags.rob then r(m:FindFirstChild("SmashCash").Position)repeat wait()until _G.tweenfinished or d.flags.rob==false;wait(.2)for l=1,5 do wait(.1)m:FindFirstChild("SmashCash").SmashCash:FindFirstChildOfClass("RemoteEvent"):FireServer()end end end end end)end;if d.flags.arrest then pcall(function()if tostring(game.Players.LocalPlayer.Team)~="Police"then b("Join the police team")else _G.lastarrest=0;for l,m in pairs(game.Players:GetChildren())do if tostring(m.Team)=="Criminals"and m.Character.Humanoid.Health>0 and d.flags.arrest and m.Character.HumanoidRootPart.Position.Y<400 then if not game.Players.LocalPlayer.Character:FindFirstChild("Handcuffs")then game.Players.LocalPlayer.Backpack:FindFirstChild("Handcuffs").Parent=game.Players.LocalPlayer.Character end;r(m.Character.HumanoidRootPart.Position)repeat wait()until _G.tweenfinished==true or d.flags.arrest==false;repeat wait()if not game.Players.LocalPlayer.Character:FindFirstChild("Handcuffs")then game.Players.LocalPlayer.Backpack:FindFirstChild("Handcuffs").Parent=game.Players.LocalPlayer.Character end;if(game.Players.LocalPlayer.Character.HumanoidRootPart.Position-m.Character.HumanoidRootPart.Position).Magnitude<70 then game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=m.Character.HumanoidRootPart.CFrame else r(m.Character.HumanoidRootPart.Position)repeat wait()until _G.tweenfinished==true or d.flags.arrest==false end;if os.time()-_G.lastarrest>1 then if not game.Players.LocalPlayer.Character:FindFirstChild("Handcuffs")then game.Players.LocalPlayer.Backpack:FindFirstChild("Handcuffs").Parent=game.Players.LocalPlayer.Character end;local i="Arrest"local j=m;local k=game:GetService("ReplicatedStorage").Event;k:FireServer(i,j)_G.lastarrest=os.time()end until tostring(m.Team)=="Prisoners"or m.Character.Humanoid.Health<=0 or d.flags.arrest==false end end end end)end end