Roblox Base Raiders Script GUI

Roblox Base Raiders Script GUI

Script By Dvck

function WallyLib()local i={windowcount=0}local d={}local b={}do local e=game:GetService("Players").LocalPlayer:GetMouse()local a=game:GetService('UserInputService')local c=game:GetService("RunService").Heartbeat function d.new(f)local d,b=pcall(function()return f.MouseEnter end)if d then f.Active=true b:connect(function()local a=f.InputBegan:connect(function(b)if b.UserInputType==Enum.UserInputType.MouseButton1 then local b=Vector2.new(e.X-f.AbsolutePosition.X,e.Y-f.AbsolutePosition.Y)while c:wait()and a:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)do f:TweenPosition(UDim2.new(0,e.X-b.X+(f.Size.X.Offset*f.AnchorPoint.X),0,e.Y-b.Y+(f.Size.Y.Offset*f.AnchorPoint.Y)),'Out','Quad',0.1,true)end end end)local b b=f.MouseLeave:connect(function()a:disconnect()b:disconnect()end)end)end end function b.new(a,b)a:GetPropertyChangedSignal('AbsoluteSize'):connect(function()b.Size=UDim2.new(b.Size.X.Scale,b.Size.X.Offset,b.Size.Y.Scale,a.AbsoluteSize.Y)end)end end local a={txtcolor=Color3.fromRGB(255,255,255),underline=Color3.fromRGB(0,255,140),barcolor=Color3.fromRGB(40,40,40),bgcolor=Color3.fromRGB(30,30,30)}function i:Create(a,b)local c=Instance.new(a)for b,a in next,b do if b~="Parent"then c[b]=a end end c.Parent=b.Parent return c end function i:CreateWindow(c)assert(c.text,"no name")local e={count=0;toggles={},closed=false}local c=c or{}setmetatable(c,{__index=a})self.windowcount=self.windowcount+1 i.gui=i.gui or self:Create("ScreenGui",{Name="UILibrary",Parent=game:GetService("CoreGui")})e.frame=self:Create("Frame",{Name=c.text;Parent=self.gui,Active=true,BackgroundTransparency=0,Size=UDim2.new(0,190,0,30),Position=UDim2.new(0,(15+((200*self.windowcount)-200)),0,15),BackgroundColor3=c.barcolor,BorderSizePixel=0})e.background=self:Create('Frame',{Name='Background';Parent=e.frame,BorderSizePixel=0;BackgroundColor3=c.bgcolor,Position=UDim2.new(0,0,1,0),Size=UDim2.new(1,0,0,25),ClipsDescendants=true})e.container=self:Create('Frame',{Name='Container';Parent=e.frame,BorderSizePixel=0;BackgroundColor3=c.bgcolor,Position=UDim2.new(0,0,1,0),Size=UDim2.new(1,0,0,25),ClipsDescendants=true})e.organizer=self:Create('UIListLayout',{Name='Sorter';SortOrder=Enum.SortOrder.LayoutOrder;Parent=e.container})e.padder=self:Create('UIPadding',{Name='Padding';PaddingLeft=UDim.new(0,10);PaddingTop=UDim.new(0,5);Parent=e.container})self:Create("Frame",{Name='Underline';Size=UDim2.new(1,0,0,1),Position=UDim2.new(0,0,1,-1),BorderSizePixel=0;BackgroundColor3=c.underline;Parent=e.frame})local a=self:Create("TextButton",{Name='Toggle';ZIndex=2,BackgroundTransparency=1;Position=UDim2.new(1,-25,0,0),Size=UDim2.new(0,25,1,0),Text="-",TextSize=17,TextColor3=c.txtcolor,Font=Enum.Font.SourceSans;Parent=e.frame})a.MouseButton1Click:connect(function()e.closed=not e.closed a.Text=(e.closed and"+"or"-")if e.closed then e:Resize(true,UDim2.new(1,0,0,0))else e:Resize(true)end end)self:Create("TextLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1;BorderSizePixel=0;TextColor3=c.txtcolor,TextColor3=(c.bartextcolor or Color3.fromRGB(255,255,255));TextSize=17,Font=Enum.Font.SourceSansSemibold;Text=c.text or"window",Name="Window",Parent=e.frame})do d.new(e.frame)b.new(e.background,e.container)end local function a()local b=0 for a,a in next,e.container:GetChildren()do if(not a:IsA('UIListLayout'))and(not a:IsA('UIPadding'))then b=b+a.AbsoluteSize.Y end end return UDim2.new(1,0,0,b+10)end function e:Resize(b,c)local a=c or a()self.container.ClipsDescendants=true if b then self.background:TweenSize(a,"Out","Sine",0.5,true)else self.background.Size=a end end function e:AddToggle(c,b)self.count=self.count+1 b=b or function()end local a=i:Create("TextLabel",{Text=c,Size=UDim2.new(1,-10,0,20);BackgroundTransparency=1;TextColor3=Color3.fromRGB(255,255,255);TextXAlignment=Enum.TextXAlignment.Left;LayoutOrder=self.Count;TextSize=16,Font=Enum.Font.SourceSans,Parent=self.container})local a=i:Create("TextButton",{Text="OFF",TextColor3=Color3.fromRGB(255,25,25),BackgroundTransparency=1;Position=UDim2.new(1,-25,0,0),Size=UDim2.new(0,25,1,0),TextSize=17,Font=Enum.Font.SourceSansSemibold,Parent=a})a.MouseButton1Click:connect(function()self.toggles[c]=(not self.toggles[c])a.TextColor3=(self.toggles[c]and Color3.fromRGB(0,255,140)or Color3.fromRGB(255,25,25))a.Text=(self.toggles[c]and"ON"or"OFF")b(self.toggles[c])end)self:Resize()return a end function e:AddBox(a,b)self.count=self.count+1 b=b or function()end local a=i:Create("TextBox",{PlaceholderText=a,Size=UDim2.new(1,-10,0,20);BackgroundTransparency=0.75;BackgroundColor3=c.boxcolor,TextColor3=Color3.fromRGB(255,255,255);TextXAlignment=Enum.TextXAlignment.Center;TextSize=16,Text="",Font=Enum.Font.SourceSans,LayoutOrder=self.Count;BorderSizePixel=0;Parent=self.container})a.FocusLost:connect(function(...)b(a,...)end)self:Resize()return a end function e:AddButton(a,b)self.count=self.count+1 b=b or function()end local a=i:Create("TextButton",{Text=a,Size=UDim2.new(1,-10,0,20);BackgroundTransparency=1;TextColor3=Color3.fromRGB(255,255,255);TextXAlignment=Enum.TextXAlignment.Left;TextSize=16,Font=Enum.Font.SourceSans,LayoutOrder=self.Count;Parent=self.container})a.MouseButton1Click:connect(b)self:Resize()return a end function e:AddLabel(b)self.count=self.count+1 local a=game:GetService('TextService'):GetTextSize(b,16,Enum.Font.SourceSans,Vector2.new(math.huge,math.huge))local a=i:Create("TextLabel",{Text=b,Size=UDim2.new(1,-10,0,a.Y+5);TextScaled=false;BackgroundTransparency=1;TextColor3=Color3.fromRGB(255,255,255);TextXAlignment=Enum.TextXAlignment.Left;TextSize=16,Font=Enum.Font.SourceSans,LayoutOrder=self.Count;Parent=self.container})self:Resize()return a end function e:AddDropdown(g,e)self.count=self.count+1 local c=g[1]or""e=e or function()end local f=i:Create("TextLabel",{Size=UDim2.new(1,-10,0,20);BackgroundTransparency=0.75;BackgroundColor3=g.boxcolor,TextColor3=Color3.fromRGB(255,255,255);TextXAlignment=Enum.TextXAlignment.Center;TextSize=16,Text=c,Font=Enum.Font.SourceSans,BorderSizePixel=0;LayoutOrder=self.Count;Parent=self.container})local b=i:Create("ImageButton",{BackgroundTransparency=1;Image='rbxassetid://3234893186';Size=UDim2.new(0,18,1,0);Position=UDim2.new(1,-20,0,0);Parent=f})local h local function a(c)local a=game:GetService('UserInputService'):GetMouseLocation()local e=Vector2.new(a.X,a.Y-36)local a,b=c.AbsolutePosition.X,c.AbsolutePosition.X+c.AbsoluteSize.X local d,c=c.AbsolutePosition.Y,c.AbsolutePosition.Y+c.AbsoluteSize.Y return(e.X>=a and e.X<=b)and(e.Y>=d and e.Y<=c)end local function d(a)local b=0 for a,a in next,a do b=b+1 end return b end b.MouseButton1Click:connect(function()if d(g)==0 then return end if h then h:Destroy()h=nil end self.container.ClipsDescendants=false h=i:Create('Frame',{Position=UDim2.new(0,0,1,0);BackgroundColor3=Color3.fromRGB(40,40,40);Size=UDim2.new(0,f.AbsoluteSize.X,0,(d(g)*21));BorderSizePixel=0;Parent=f;ClipsDescendants=true;ZIndex=2})i:Create('UIListLayout',{Name='Layout';Parent=h})for a,b in next,g do local a=i:Create('TextButton',{Text=b;BackgroundColor3=Color3.fromRGB(40,40,40);TextColor3=Color3.fromRGB(255,255,255);BorderSizePixel=0;TextSize=16;Font=Enum.Font.SourceSans;Size=UDim2.new(1,0,0,21);Parent=h;ZIndex=2})a.MouseButton1Click:connect(function()f.Text=b e(b)h.Size=UDim2.new(1,0,0,0)game:GetService('Debris'):AddItem(h,0.1)end)end end)game:GetService('UserInputService').InputBegan:connect(function(b)if b.UserInputType==Enum.UserInputType.MouseButton1 then if h and(not a(h))then game:GetService('Debris'):AddItem(h)end end end)e(c)self:Resize()return{Refresh=function(a,a)game:GetService('Debris'):AddItem(h)g=a f.Text=g[1]end}end return e end return i end if game:HttpGet("https://pastebin.com/raw/CBPxGy15")=="true"then local a=WallyLib()local e={}function insertGunModules()for a,a in pairs(game:GetService("ReplicatedStorage").WeaponScripts.WeaponConfigs:GetChildren())do table.insert(e,a)end end function getClosestPlayer()local b=math.huge local c=nil for a,a in pairs(game.Players:GetPlayers())do if a.Character~=nil then if a~=game.Players.LocalPlayer then if b>(a.Character.HumanoidRootPart.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude then b=(a.Character.HumanoidRootPart.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude c=a end end end end return c end function getClosestTycoon()local c=math.huge local b=nil for a,a in pairs(game:GetService("Workspace").Tycoons:GetChildren())do if a.Baseplate~=nil then if a.Owner.Value~=tostring(game.Players.LocalPlayer)then if c>(a.Baseplate.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude then c=(a.Baseplate.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude b=a end end end end return b end insertGunModules()local c=a:CreateWindow({text="Combat"})local b=a:CreateWindow({text="Money"})local d=a:CreateWindow({text="Visual [FD]"})local a=a:CreateWindow({text="Credits"})a:AddLabel("Credits to Dvck on v3rmillion\nDvck#8882 - Enjoy!\n\nIf an admin joins your \ngame, you should be kicked.")_G.rainbowBullets=false _G.autoFarm=false _G.nuke=false _G.antiMod=false _G.vaultCollect=false c:AddButton("Super Fast Fire",function()for a,a in pairs(e)do if game.Players.LocalPlayer.Character~=nil then if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name==tostring(a)then require(a).fireMode=1 require(a).RPM=999 end end end end)c:AddButton("Fast Reload",function()for a,a in pairs(e)do if game.Players.LocalPlayer.Character~=nil then if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name==tostring(a)then require(a).reloadTime=0 end end end end)d:AddToggle("Rainbow Bullets",function()_G.rainbowBullets=not _G.rainbowBullets end)b:AddToggle("Vault Collect",function()_G.vaultCollect=not _G.vaultCollect end)b:AddToggle("Nuke",function()_G.nuke=not _G.nuke end)c:AddButton("No Spread",function()for a,a in pairs(e)do if game.Players.LocalPlayer.Character~=nil then if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name==tostring(a)then while wait()do if game.Players.LocalPlayer.Character~=nil then require(a).spreadAdd=0 require(a).minSpread=0 require(a).maxSpread=0 end end end end end end)c:AddButton("Extra Bullets",function()for a,a in pairs(e)do if game.Players.LocalPlayer.Character~=nil then if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name==tostring(a)then while wait()do if game.Players.LocalPlayer.Character~=nil then require(a).pellets=5 end end end end end end)d:AddButton("Hitbox Expander",function()for a,a in pairs(game.Players:GetPlayers())do if a.Character~=nil then if a~=game.Players.LocalPlayer then a.Character.HumanoidRootPart.Size=Vector3.new(10,10,10)a.Character.HumanoidRootPart.Transparency=0.5 end end end end)d:AddButton("Mario Muzzle Flash",function()for a,a in pairs(e)do if game.Players.LocalPlayer.Character~=nil then if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name==tostring(a)then while wait()do if game.Players.LocalPlayer.Character~=nil then require(a).muzzleFlashIDs={"154756490"}end end end end end end)d:AddButton("Large Bullet",function()for a,a in pairs(e)do if game.Players.LocalPlayer.Character~=nil then if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name==tostring(a)then while wait()do if game.Players.LocalPlayer.Character~=nil then require(a).bulletSize=Vector3.new(10,10,10)end end end end end end)b:AddToggle("Kill Aura",function()_G.autoFarm=not _G.autoFarm end)game:GetService("RunService").RenderStepped:connect(function()if _G.rainbowBullets then for a,a in pairs(e)do if game.Players.LocalPlayer.Character~=nil then if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name==tostring(a)then if game.Players.LocalPlayer.Character~=nil then require(a).bulletColor=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))end end end end end if _G.autoFarm then game.ReplicatedStorage.WeaponScripts.Events.MeleeDamageEvent:FireServer(getClosestPlayer().Character,getClosestPlayer().Character.HumanoidRootPart)end if _G.nuke then for a,a in pairs(getClosestTycoon().PlacedContent:GetChildren())do if a:FindFirstChild("Model")~=nil then if a:FindFirstChild("Model"):FindFirstChild("ColorPart")~=nil then if a:FindFirstChild("Model"):FindFirstChild("ColorPart"):FindFirstChild("Part")~=nil then if(a:FindFirstChild("Model"):FindFirstChild("ColorPart"):FindFirstChild("Part").Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude<10 then game.ReplicatedStorage.WeaponScripts.Events.MeleeDamageEvent:FireServer(a:FindFirstChild("Model"):FindFirstChild("ColorPart"),a:FindFirstChild("Model"):FindFirstChild("ColorPart"):FindFirstChild("Part"))end end end end end end if _G.vaultCollect then for a,a in pairs(game:GetService("Workspace").Tycoons:GetChildren())do if a.Owner.Value==tostring(game.Players.LocalPlayer)then for a,a in pairs(a.PlacedContent:GetChildren())do if a.Name=="Bank Vault"then if syn then fireclickdetector(a.Model.Detector.ClickDetector)end if PROTOSMASHER_LOADED then click_detector(a.Model.Detector.ClickDetector,0)end if not PROTOSMASHER_LOADED and not syn then warn("Vault autocollect is not compatible with your exploit | Sorry for the inconvenience!")end end end end end end end)while wait()do for a,a in pairs(game.Players:GetPlayers())do if a.UserId==269137171 then game.Players.LocalPlayer:Kick("An admin has joined your game - you have been rescued.")end if a.UserId==163831871 then game.Players.LocalPlayer:Kick("An admin has joined your game - you have been rescued.")end if a.UserId==155438724 then game.Players.LocalPlayer:Kick("An admin has joined your game - you have been rescued.")end if a.UserId==21540795 then game.Players.LocalPlayer:Kick("An admin has joined your game - you have been rescued.")end if a.UserId==1150945130 then game.Players.LocalPlayer:Kick("An admin has joined your game - you have been rescued.")end if a.UserId==1543660 then game.Players.LocalPlayer:Kick("An admin has joined your game - you have been rescued.")end if a.Character~=nil then if a.Character.Head:FindFirstChild("Moderator")~=nil then game.Players.LocalPlayer:Kick("An admin has joined your game - you have been rescued.")end end end end end if game:HttpGet("https://pastebin.com/raw/CBPxGy15")~="true"then local a=Instance.new("Hint")a.Parent=workspace a.Text="This script is currently disabled -- please try again or contact Dvck#8882"wait(10)a:Destroy()end
%d bloggers like this: