I added a print to your script and it did show in the output
but I still didn’t get the gun
Oh, strange. Do you perhaps have a script that removes backpack items? And could you check your backpack in the explorer while playing to see if the tool appears there.
I added
print(gun.Parent)
wait(1)
print(gun.Parent)
which gave the output
but I don’t recall having any scripts that deletes any tools in the backpack
Yeah, it seems to me like the gun is being deleted by something. Try looking through all your scripts, including the ones in the gun, then see if you can find any lines with the keyword :Destroy()
that gets rid of a tool.
ok I just added a wait(1) before giving the gun and it worked
just gonna add your script as solution
1 Like
Get rid of the string, make it just a number.
local admins = {73885390}
return admins
With my code above it should work