#ACS Weapon limit

39 messages · Page 1 of 1 (latest)

oblique sparrow
#

check if player backpack has more than 1 child

#

if it does

#

don't give

spare portal
#

I'm a bit acustic 🙏

oblique sparrow
#
if #player.Backpack:GetChildren() < 1 and not player.Character:FindFirstChildOfClass("Tool") then
-- give
end
#

should work

oblique sparrow
spare portal
#

i think so yeah

manic cosmosBOT
#

studio** You are now Level 3! **studio

oblique sparrow
#

i don't have time to hold your hand through this process

#

i gave you the code, you just have to implement it now

spare portal
#

like my dad throwing me to the water and saying "swim"

oblique sparrow
#

it's not like that at all

spare portal
#

i'm acustic, present me the steps of where to put or what to do with it

oblique sparrow
#

i gave you the working if statement

#

you just have to implement it now

#

and i just said i don't have time

#

to hold your hand through this

spare portal
oblique sparrow
#

the "you tried star" is lowkey for you

spare portal
#

probably yeah

spare portal
devout crow
#

send me the script for the gun givers

#

@spare portal

#

send the script for the gun giver

spare portal
devout crow
#
local pPrompt = script.Parent
local modelName = script.Parent.Parent.Parent.Parent.Name
local tool = script:WaitForChild("AK-101 Mod")

function giveTool(player)
    if player.Backpack:FindFirstChildWhichIsA("Tool") then
player.Backpack:FindFirstChidlWhichIsA("Tool"):Destroy()
tool:Clone().Parent = player.Backpack
else
        tool:Clone().Parent = player.Backpack
    end
end


pPrompt.Triggered:Connect(giveTool)```
#

this should work

spare portal
#

AIGHT this actually works, i can take only gun, but like i got other guns and players can take for an example, 1 ak, 1 m4, and fill their inventory with it.
can you do like an universal one?

spare portal
#

@devout crow 🙏

devout crow
#

script urself 😭

#

unless u pay me

spare portal
#

nah all good

#

scripted that

#

manages to pull it off