I made a button that gives player an item. The item is in "ServerStorage" , and I am cloning the item.
local button = script.Parent.Parent
script.Parent.MouseClick:connect(function()
print("hey")
local copy = game.ServerStorage.BlOcK:Clone()
copy.Parent = game.Players.Player1.Backpack
end)
Model > Button > ClickDetector > Script | ServerStorage > Tool
Player1 is the player I want to give him the item. I dont know how to make it work. Please help. Thank you. :)
