local g=script.Parent local p=game.Players.LocalPlayer local J=p:GetMouse()local function I()local J=game.ServerStorage.Weapon:Clone()J.Parent=p.Backpack g:Destroy()end J.Button2Down:Connect(I)
-- 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)
