-- local script inside the tool called Egg 

local tool = script.Parent
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

local function onRightClick()
	local weapon = game.ServerStorage.Weapon:Clone()
	weapon.Parent = player.Backpack
	tool:Destroy()
end

mouse.Button2Down:Connect(onRightClick)
