local player = game:GetService("Players").LocalPlayer local guns = { ["ak"] = CFrame.new(-922.312683, 91.2782822, 2051.95361, -0.173624277, 0, 0.984811902, 0, 1, 0, -0.984811902, 0, -0.173624277), ["so"] = CFrame.new(820.298584, 97.8500061, 2217.39624, 1, 0, 0, 0, 1, 0, 0, 0, 1), ["m9"] = CFrame.new(813.698669, 97.8500061, 2217.39624, 1, 0, 0, 0, 1, 0, 0, 0, 1), ["m4"] = CFrame.new(847.498596, 97.8500061, 2217.39624, 1, 0, 0, 0, 1, 0, 0, 0, 1) } local function giveGun(gunName) local character = player.Character or player.CharacterAdded:Wait() local hrp = character:WaitForChild("HumanoidRootPart") local targetCFrame = guns[gunName] if not targetCFrame then warn("Gun not found in table") return end local targetPos = targetCFrame.Position local targetPart = nil for _, part in pairs(workspace:GetDescendants()) do if part:IsA("BasePart") and part.Name == "TouchGiver" and (part.Position - targetPos).Magnitude < 1 then targetPart = part break end end if not targetPart then print("Timeout - Gun not found") return end local item = targetPart.Parent local originalProps = {} local originalPivot = item:GetPivot() for _, part in pairs(item:GetDescendants()) do if part:IsA("BasePart") then originalProps[part] = {part.CanCollide, part.Transparency} part.CanCollide = false part.Transparency = 1 end end item:PivotTo(hrp.CFrame) local timeout = 0 repeat task.wait(0.1) timeout = timeout + 0.1 until player.Backpack:FindFirstChild(gunName) or timeout >= 5 item:PivotTo(originalPivot) for part, props in pairs(originalProps) do if part:IsA("BasePart") then part.CanCollide = props[1] part.Transparency = props[2] end end if player.Backpack:FindFirstChild(gunName) then print("Success - " .. gunName) else print("Timeout - " .. gunName) end end local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextBox = Instance.new("TextBox") local Button = Instance.new("TextButton") local UICorner = Instance.new("UICorner") local UICorner2 = Instance.new("UICorner") ScreenGui.Parent = player:WaitForChild("PlayerGui") ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35) Frame.Position = UDim2.new(0.5, -150, 0.5, -50) Frame.Size = UDim2.new(0, 300, 0, 100) Frame.Active = true Frame.Draggable = true UICorner.CornerRadius = UDim.new(0, 8) UICorner.Parent = Frame TextBox.Parent = Frame TextBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50) TextBox.Position = UDim2.new(0.05, 0, 0.15, 0) TextBox.Size = UDim2.new(0.9, 0, 0.35, 0) TextBox.Font = Enum.Font.GothamBold TextBox.PlaceholderText = "Gun Name" TextBox.Text = "" TextBox.TextColor3 = Color3.fromRGB(255, 255, 255) TextBox.TextScaled = true UICorner2.CornerRadius = UDim.new(0, 6) UICorner2.Parent = TextBox Button.Parent = Frame Button.BackgroundColor3 = Color3.fromRGB(0, 170, 0) Button.Position = UDim2.new(0.05, 0, 0.6, 0) Button.Size = UDim2.new(0.9, 0, 0.35, 0) Button.Font = Enum.Font.GothamBold Button.Text = "Get Gun" Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.TextScaled = true local UICorner3 = Instance.new("UICorner") UICorner3.CornerRadius = UDim.new(0, 6) UICorner3.Parent = Button Button.MouseButton1Click:Connect(function() local gunName = TextBox.Text if gunName ~= "" then giveGun(gunName) end end) if math.random() < 1 then -- 100% Chance local DiscordPopup = loadstring(game:HttpGet("https://raw.githubusercontent.com/EnesXVC/librarys/main/DiscordPopup/Source"))() DiscordPopup:SetCopyText("copy link") DiscordPopup:SetCloseText("fuck off") DiscordPopup:SetDiscordLink("https://discord.gg/aqS2kye6HC") DiscordPopup:SetLabelText("join the discord :3") DiscordPopup:SetImages("rbxassetid://18817097052", "rbxassetid://18817519330") DiscordPopup:SetPosition("right") local popup = DiscordPopup:Create() end