--[[ Arabik Hub by ArabikWepa Tool Giver (Visual) Colors: Black, Red, White ONLY ]] local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Workspace = game:GetService("Workspace") local TweenService = game:GetService("TweenService") local LocalPlayer = Players.LocalPlayer if not LocalPlayer then Players:GetPropertyChangedSignal("LocalPlayer"):Wait() LocalPlayer = Players.LocalPlayer end local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- Удаляем старый GUI при перезапуске local oldGui = PlayerGui:FindFirstChild("ArabikHub") if oldGui then oldGui:Destroy() end -- ================= STRICT COLORS ================= local BLACK = Color3.fromRGB(0, 0, 0) local DARK_RED = Color3.fromRGB(80, 0, 0) local RED = Color3.fromRGB(255, 0, 0) local WHITE = Color3.fromRGB(255, 255, 255) -- ================= UTILS ================= local function corner(parent, r) local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, r or 8) c.Parent = parent return c end local function stroke(parent, color, thickness, transparency) local s = Instance.new("UIStroke") s.Color = color s.Thickness = thickness or 1 s.Transparency = transparency or 0 s.ApplyStrokeMode = Enum.ApplyStrokeMode.Border s.Parent = parent return s end -- ===================================================== -- ==== SCREEN GUI ===================================== -- ===================================================== local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "ArabikHub" ScreenGui.ResetOnSpawn = false ScreenGui.IgnoreGuiInset = true ScreenGui.DisplayOrder = 50 ScreenGui.Parent = PlayerGui -- ===================================================== -- ==== TOP CAPSULE ==================================== -- ===================================================== local Capsule = Instance.new("Frame") Capsule.AnchorPoint = Vector2.new(0.5, 0) Capsule.Position = UDim2.new(0.5, 0, 0, 10) Capsule.Size = UDim2.new(0, 160, 0, 42) Capsule.BackgroundColor3 = BLACK Capsule.BorderSizePixel = 0 Capsule.ZIndex = 60 Capsule.Parent = ScreenGui corner(Capsule, 21) stroke(Capsule, RED, 2, 0) local CapText = Instance.new("TextLabel") CapText.Size = UDim2.new(1, 0, 1, 0) CapText.BackgroundTransparency = 1 CapText.Text = "Arabik Hub" CapText.TextColor3 = WHITE CapText.Font = Enum.Font.GothamBold CapText.TextSize = 18 CapText.ZIndex = 61 CapText.Parent = Capsule local CapBtn = Instance.new("TextButton") CapBtn.Size = UDim2.new(1, 0, 1, 0) CapBtn.BackgroundTransparency = 1 CapBtn.Text = "" CapBtn.ZIndex = 62 CapBtn.Parent = Capsule -- ===================================================== -- ==== MAIN GUI ======================================= -- ===================================================== local Main = Instance.new("Frame") Main.AnchorPoint = Vector2.new(0.5, 0.5) Main.Size = UDim2.new(0, 380, 0, 460) Main.Position = UDim2.new(0.5, 0, 0.5, 0) Main.BackgroundColor3 = BLACK Main.BorderSizePixel = 0 Main.ClipsDescendants = true Main.Visible = false Main.BackgroundTransparency = 1 Main.ZIndex = 2 Main.Parent = ScreenGui corner(Main, 12) stroke(Main, RED, 1.5, 0) local sizeC = Instance.new("UISizeConstraint") sizeC.MaxSize = Vector2.new(380, 460) sizeC.MinSize = Vector2.new(280, 350) sizeC.Parent = Main -- Header local Header = Instance.new("Frame") Header.Size = UDim2.new(1, 0, 0, 60) Header.BackgroundColor3 = BLACK Header.BorderSizePixel = 0 Header.ZIndex = 3 Header.Parent = Main corner(Header, 12) local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, -60, 0, 26) Title.Position = UDim2.new(0, 16, 0, 8) Title.BackgroundTransparency = 1 Title.Text = "Arabik Hub" Title.TextColor3 = WHITE Title.TextXAlignment = Enum.TextXAlignment.Left Title.Font = Enum.Font.GothamBold Title.TextSize = 20 Title.ZIndex = 4 Title.Parent = Header local SubTitle = Instance.new("TextLabel") SubTitle.Size = UDim2.new(1, -60, 0, 18) SubTitle.Position = UDim2.new(0, 16, 0, 32) SubTitle.BackgroundTransparency = 1 SubTitle.Text = "Tool Giver (Visual) | by ArabikWepa" SubTitle.TextColor3 = RED SubTitle.TextXAlignment = Enum.TextXAlignment.Left SubTitle.Font = Enum.Font.GothamMedium SubTitle.TextSize = 10 SubTitle.ZIndex = 4 SubTitle.Parent = Header -- Close local CloseBtn = Instance.new("TextButton") CloseBtn.Size = UDim2.new(0, 28, 0, 28) CloseBtn.Position = UDim2.new(1, -40, 0, 16) CloseBtn.BackgroundColor3 = BLACK CloseBtn.Text = "X" CloseBtn.TextColor3 = WHITE CloseBtn.Font = Enum.Font.GothamBold CloseBtn.TextSize = 16 CloseBtn.AutoButtonColor = false CloseBtn.ZIndex = 5 CloseBtn.Parent = Header corner(CloseBtn, 6) stroke(CloseBtn, RED, 1, 0) CloseBtn.MouseEnter:Connect(function() TweenService:Create(CloseBtn, TweenInfo.new(0.15), {BackgroundColor3 = RED}):Play() end) CloseBtn.MouseLeave:Connect(function() TweenService:Create(CloseBtn, TweenInfo.new(0.15), {BackgroundColor3 = BLACK}):Play() end) -- Search local SearchBg = Instance.new("Frame") SearchBg.Size = UDim2.new(1, -32, 0, 40) SearchBg.Position = UDim2.new(0, 16, 0, 72) SearchBg.BackgroundColor3 = BLACK SearchBg.BorderSizePixel = 0 SearchBg.ZIndex = 3 SearchBg.Parent = Main corner(SearchBg, 8) stroke(SearchBg, RED, 1, 0) local SearchBox = Instance.new("TextBox") SearchBox.Size = UDim2.new(1, -20, 1, 0) SearchBox.Position = UDim2.new(0, 12, 0, 0) SearchBox.BackgroundTransparency = 1 SearchBox.Text = "Search..." SearchBox.TextColor3 = DARK_RED SearchBox.TextXAlignment = Enum.TextXAlignment.Left SearchBox.Font = Enum.Font.Gotham SearchBox.TextSize = 14 SearchBox.ClearTextOnFocus = false SearchBox.ZIndex = 5 SearchBox.Parent = SearchBg SearchBox.Focused:Connect(function() if SearchBox.Text == "Search..." then SearchBox.Text = "" SearchBox.TextColor3 = WHITE end end) SearchBox.FocusLost:Connect(function() if SearchBox.Text == "" then SearchBox.Text = "Search..." SearchBox.TextColor3 = DARK_RED end end) -- Scan/Refresh Button local RefreshBtn = Instance.new("TextButton") RefreshBtn.Size = UDim2.new(1, -32, 0, 36) RefreshBtn.Position = UDim2.new(0, 16, 0, 120) RefreshBtn.BackgroundColor3 = RED RefreshBtn.Text = "Scan for Tools" RefreshBtn.TextColor3 = WHITE RefreshBtn.Font = Enum.Font.GothamBold RefreshBtn.TextSize = 14 RefreshBtn.AutoButtonColor = false RefreshBtn.ZIndex = 3 RefreshBtn.Parent = Main corner(RefreshBtn, 8) stroke(RefreshBtn, WHITE, 1, 0.5) RefreshBtn.MouseEnter:Connect(function() TweenService:Create(RefreshBtn, TweenInfo.new(0.15), {BackgroundColor3 = WHITE, TextColor3 = BLACK}):Play() end) RefreshBtn.MouseLeave:Connect(function() TweenService:Create(RefreshBtn, TweenInfo.new(0.15), {BackgroundColor3 = RED, TextColor3 = WHITE}):Play() end) -- List local ListBg = Instance.new("Frame") ListBg.Size = UDim2.new(1, -32, 1, -170) ListBg.Position = UDim2.new(0, 16, 0, 162) ListBg.BackgroundColor3 = BLACK ListBg.BorderSizePixel = 0 ListBg.ZIndex = 3 ListBg.Parent = Main corner(ListBg, 8) stroke(ListBg, RED, 1, 0) local Scroll = Instance.new("ScrollingFrame") Scroll.Size = UDim2.new(1, -12, 1, -12) Scroll.Position = UDim2.new(0, 6, 0, 6) Scroll.BackgroundTransparency = 1 Scroll.BorderSizePixel = 0 Scroll.ScrollBarThickness = 3 Scroll.ScrollBarImageColor3 = RED Scroll.CanvasSize = UDim2.new(0, 0, 0, 0) Scroll.ZIndex = 4 Scroll.Parent = ListBg local ListLayout = Instance.new("UIListLayout") ListLayout.Padding = UDim.new(0, 6) ListLayout.SortOrder = Enum.SortOrder.LayoutOrder ListLayout.Parent = Scroll local EmptyText = Instance.new("TextLabel") EmptyText.Size = UDim2.new(1, 0, 1, 0) EmptyText.BackgroundTransparency = 1 EmptyText.Text = "Nothing found." EmptyText.TextColor3 = WHITE EmptyText.Font = Enum.Font.Gotham EmptyText.TextSize = 14 EmptyText.Visible = false EmptyText.ZIndex = 5 EmptyText.Parent = ListBg -- ===================================================== -- ==== ANIMATIONS ===================================== -- ===================================================== local isOpen, isAnimating = false, false local CAP_POS_Y, GUI_POS_Y = 10, 0.5 local CAP_HIDDEN_Y, GUI_HIDDEN_Y = -100, -1 local function openGUI() if isOpen or isAnimating then return end isAnimating, isOpen = true, true TweenService:Create(Capsule, TweenInfo.new(0.25, Enum.EasingStyle.Back, Enum.EasingDirection.In), { Position = UDim2.new(0.5, 0, 0, CAP_HIDDEN_Y), Size = UDim2.new(0, 0, 0, 0) }):Play() Main.Visible = true Main.Position = UDim2.new(0.5, 0, GUI_HIDDEN_Y, 0) Main.BackgroundTransparency = 1 local tw = TweenService:Create(Main, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), { Position = UDim2.new(0.5, 0, GUI_POS_Y, 0), BackgroundTransparency = 0 }) tw:Play() tw.Completed:Wait() Capsule.Visible = false isAnimating = false end local function closeGUI() if not isOpen or isAnimating then return end isAnimating, isOpen = true, false local tw = TweenService:Create(Main, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.In), { Position = UDim2.new(0.5, 0, GUI_HIDDEN_Y, 0), BackgroundTransparency = 1 }) tw:Play() Capsule.Visible = true Capsule.Position = UDim2.new(0.5, 0, 0, CAP_HIDDEN_Y) Capsule.Size = UDim2.new(0, 0, 0, 0) TweenService:Create(Capsule, TweenInfo.new(0.35, Enum.EasingStyle.Back, Enum.EasingDirection.Out), { Position = UDim2.new(0.5, 0, 0, CAP_POS_Y), Size = UDim2.new(0, 160, 0, 42) }):Play() tw.Completed:Wait() Main.Visible = false isAnimating = false end CapBtn.Activated:Connect(openGUI) CloseBtn.Activated:Connect(closeGUI) -- ===================================================== -- ==== SCANNER & VISUAL GIVE ========================== -- ===================================================== local allTools = {} local rows = {} local function isOtherPlayerChar(obj) for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character and (obj == plr.Character or obj:IsDescendantOf(plr.Character)) then return true end end return false end local function collectTools() local seen, list = {}, {} local locations = { Workspace, ReplicatedStorage, LocalPlayer:FindFirstChild("Backpack"), LocalPlayer:FindFirstChild("StarterGear"), } for _, loc in ipairs(locations) do if loc then for _, item in ipairs(loc:GetDescendants()) do if item:IsA("Tool") and not seen[item] and not isOtherPlayerChar(item) then seen[item] = true table.insert(list, item) end end end end if LocalPlayer.Character then for _, item in ipairs(LocalPlayer.Character:GetChildren()) do if item:IsA("Tool") and not seen[item] then seen[item] = true table.insert(list, item) end end end table.sort(list, function(a, b) return a.Name:lower() < b.Name:lower() end) return list end local function giveTool(tool) local bp = LocalPlayer:FindFirstChild("Backpack") if not bp or not tool then return false end pcall(function() tool.Archivable = true for _, d in ipairs(tool:GetDescendants()) do d.Archivable = true end end) local ok, clone = pcall(function() return tool:Clone() end) if ok and clone then clone.Parent = bp return true end if tool.Parent ~= bp and tool.Parent ~= LocalPlayer.Character then local ok2 = pcall(function() tool.Parent = bp end) if ok2 then return true end end return false end local function updateCanvas() Scroll.CanvasSize = UDim2.new(0, 0, 0, ListLayout.AbsoluteContentSize.Y + 10) end local function makeRow(tool, order) local row = Instance.new("Frame") row.LayoutOrder = order row.Size = UDim2.new(1, -6, 0, 42) row.BackgroundColor3 = BLACK row.BorderSizePixel = 0 row.ZIndex = 5 row.Parent = Scroll corner(row, 6) stroke(row, RED, 1, 0.8) local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(1, -90, 1, 0) nameLabel.Position = UDim2.new(0, 10, 0, 0) nameLabel.BackgroundTransparency = 1 nameLabel.Text = tool.Name nameLabel.TextColor3 = WHITE nameLabel.TextXAlignment = Enum.TextXAlignment.Left nameLabel.Font = Enum.Font.Gotham nameLabel.TextSize = 14 nameLabel.TextTruncate = Enum.TextTruncate.AtEnd nameLabel.ZIndex = 6 nameLabel.Parent = row local give = Instance.new("TextButton") give.Size = UDim2.new(0, 65, 0, 28) give.Position = UDim2.new(1, -75, 0.5, -14) give.BackgroundColor3 = RED give.Text = "Give" give.TextColor3 = WHITE give.Font = Enum.Font.GothamBold give.TextSize = 13 give.AutoButtonColor = false give.ZIndex = 7 give.Parent = row corner(give, 6) give.MouseButton1Click:Connect(function() local ok = giveTool(tool) give.Text = ok and "Done!" or "ERR" give.BackgroundColor3 = ok and WHITE or DARK_RED give.TextColor3 = ok and BLACK or WHITE task.delay(1, function() if give and give.Parent then give.Text = "Give" give.BackgroundColor3 = RED give.TextColor3 = WHITE end end) end) return row end local function refresh(filter) if filter == "Search..." then filter = "" end filter = (filter or ""):lower() for _, r in ipairs(rows) do if r and r.Parent then r:Destroy() end end table.clear(rows) local count = 0 for _, tool in ipairs(allTools) do if filter == "" or tool.Name:lower():find(filter, 1, true) then count += 1 table.insert(rows, makeRow(tool, count)) end end EmptyText.Visible = (count == 0) Scroll.CanvasPosition = Vector2.new(0, 0) updateCanvas() task.defer(updateCanvas) end ListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(updateCanvas) RefreshBtn.MouseButton1Click:Connect(function() if RefreshBtn.Text == "Scanning..." then return end RefreshBtn.Text = "Scanning..." RefreshBtn.BackgroundColor3 = WHITE RefreshBtn.TextColor3 = BLACK task.wait(0.25) allTools = collectTools() refresh(SearchBox.Text) RefreshBtn.Text = "Found: " .. #allTools task.wait(1.2) RefreshBtn.Text = "Scan for Tools" RefreshBtn.BackgroundColor3 = RED RefreshBtn.TextColor3 = WHITE end) SearchBox:GetPropertyChangedSignal("Text"):Connect(function() if SearchBox.Text ~= "Search..." then refresh(SearchBox.Text) end end) -- Автоскан при запуске allTools = collectTools() refresh("")