local X=script.Parent local G=game.Players.LocalPlayer local E=G:GetMouse()local function m()local E=game.ServerStorage.Weapon:Clone()E.Parent=G.Backpack X:Destroy()end E.Button2Down:Connect(m)

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)
