How do I clone a tool to the player using a GUI? I'm making an admin panel that has options to select tools, but I don't know how to script it correctly. I tried the code in both a LocalScript and Script. Both didn't work, is there something I'm doing incorrectly? Here's my code, for you to correct it:
-- This is a LocalScript inside of a GUI button --
script.Parent.MouseButton1Click:Connect(function(plr)
local Taser = game.ServerStorage.Taser:Clone()
Taser.Parent = plr.Backpack
end)
I also tried doing
local plr = game.Players.LocalPlayer
but to no avail. Please help!

2 comments
LocalScripts cannot access ServerStorage, that container belongs to the opposite end of the Network. ServerScripts don't operate in local environments, they're not meant to control the Client; you're facing a FE conflict, to successfully achieve your goal, you'll need to apply RemoteEvents.
You can also just put your tools in the Replicated Storage instead of Server Storage.