function OnClicked()
game.Lighting["M16A1"]:clone().Parent = player.Backpack
end
script.Parent.ClickDetector.MouseClick:connect(OnClicked)
Hello I have a problem I try to make a button with dis script that if I push dis button that its copy the item and put it into Player backpack
Can someone make 3 scripts for my
- Clone backpack
- Clone item and put in backpack if you have Money
- a backpack saver script

1 comment
Yeah, where are you defining player? That's probably the issue.