--	mouse.Icon = "rbxasset://textures\\GunCursor.png"

	while true do
		wait()
	end
end

function onUnequippedLocal(mouse)

end

function Equip(mouse)
wait(0.01)
tool.GripPos=Vector3.new(0,0,0)
arms = {tool.Parent:FindFirstChild("Left Arm"), tool.Parent:FindFirstChild("Right Arm")}
torso = tool.Parent:FindFirstChild("Torso") 
if arms ~= nil and torso ~= nil then
local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
if sh ~= nil then
local yes = true
if yes then
yes = false
sh[1].Part1 = nil
sh[2].Part1 = nil
local weld1 = Instance.new("Weld") -- left arm
weld55 = weld1
weld1.Part0 = torso
weld1.Parent = torso
weld1.Part1 = arms[1]
weld1.C1 = f(-1.12,0.3,-0.84,75,-4,15)
welds[1] = weld1
local weld2 = Instance.new("Weld") -- right arm
weld33 = weld2
weld2.Part0 = torso
weld2.Parent = torso
weld2.Part1 = arms[2]
weld2.C1 = f(0.1,0.17,-1.14,72,2,-52)
welds[2] = weld2
local weld3 = Instance.new("Weld") -- right arm
weld77 = weld3
weld3.Part0 = torso
weld3.Parent = torso
weld3.Part1 = tool.Handle
weld3.C1 = f(-0.76,1.93,-1.73,5,-90,0)
welds[3] = weld2
end
else
end
else
end
end

function Unequip(mouse)
if arms ~= nil and torso ~= nil then
local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
if sh ~= nil then
local yes = true
if yes then
yes = false
sh[1].Part1 = arms[1]
sh[2].Part1 = arms[2]
welds[1].Parent = nil
welds[2].Parent = nil
end
else
end
else
end
end

tool.Unequipped:connect(onUnequippedLocal)

tool.Equipped:connect(onEquippedLocal)
tool.Equipped:connect(Equip)
tool.Unequipped:connect(Unequip)
