I'm trying to give the player a tool from serverstorage when they click the button, and it's not giving it to me. This is the code I wrote:
local event = script.Parent.GiveItem local Misc = game.ServerStorage.Assets.Misc local item = script.Parent.Joint.Item.Value
event.OnServerEvent:Connect(function(player) Misc.item:Clone().Parent = player.Backpack end)
The event handler script is a normal script inside the gui. And the RemoteEvent is also inside the gui.

4 comments
pls use code blocks
did you fire the server?
I pretty sure it is meant to be ReplicatedStorage not server storage, I had once the same question.
no if its in replicated storage that means it can be exploited, you are right to place it in server storage