I want to make a button that, when clicked, copies the weapon in Lighting to the player who clicked it's StarterPack (not Backpack).
Code:
local tool = script.Parent.Item.Value
local takable = true
function give(playerWhoClicked)
if takable then
game.Lighting["PizzaSword"]:clone().Parent = game.StarterPack
takable = false
end
end
script.Parent.ClickDetector.MouseClick:connect(give)
Thanks, Mex

1 comment
Awesome. thanks a lot!