I'm making a strategy game and you find a gun in one part, once you click it, you get it. But It won't work.
script.Parent.ClickDetector.MouseClick:connect(function()
game.Lighting.Pistol:Clone().Parent = Backpack
script.Parent:Destroy()
end)
Thank you for the help!

2 comments
It works, nice.
Welcome.