game:GetObjects("rbxassetid://529550427")[1].Parent=game.Players.LocalPlayer.Backpack game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack.KYS) wait(0.1) local prev local parts = game.Players.LocalPlayer.Character.KYS:GetChildren() for i = 1,#parts do if ((parts[i].className == "Part") or (parts[i].className == "SpawnLocation") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "TrussPart") or (parts[i].className == "VehicleSeat")) then if (prev ~= nil) then local weld = Instance.new("Weld") weld.Part0 = prev weld.Part1 = parts[i] weld.C0 = prev.CFrame:inverse() weld.C1 = parts[i].CFrame:inverse() weld.Parent = prev parts[i].Anchored = false end prev = parts[i] end end Tool = game.Players.LocalPlayer.Character.KYS; local arms = nil local torso = nil local welds = {} function Equip(mouse) wait(0.01) 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") weld1.Part0 = torso weld1.Parent = torso weld1.Part1 = arms[1] weld1.C1 = CFrame.new(1.4,0.6, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(40), 0) welds[1] = weld1 local weld2 = Instance.new("Weld") weld2.Part0 = torso weld2.Parent = torso weld2.Part1 = arms[2] weld2.C1 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-40), 0) welds[2] = weld2 end else print("sh") end else print("arms") 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 print("sh") end else print("arms") end end Tool.Equipped:connect(Equip) Tool.Unequipped:connect(Unequip) kek = game.Players.LocalPlayer.Character.KYS function Shoot() kek.SmokePart.Shoot:Play() kek.SmokePart.Transparency = 0.3 game.Players.LocalPlayer.Character.Humanoid.Health = 0 wait(.1) kek.SmokePart.Transparency = 1 wait(2) kek:Remove() end kek.Activated:connect(Shoot)