game.Players.PlayerAdded:Connect(function(mouse)
mouse = mouse:GetMouse()
local normalicon = mouse.Icon
normalicon = mouse.Icon
local audio = script.Parent.scatter_gun_shoot
script.Parent.Parent.Equipped:Connect(function(p)
script.Parent.Parent.Unequipped:Connect(function(o)
script.Parent.Parent.Activated:Connect(function(a)
if p then
mouse.Icon = "rbxassetid://715003186"
if a then
if mouse.Target.Parent.Name == "The_Rake" then
mouse.Target.Parent:FindFirstChildWhichIsA("Humanoid").Health = -135
audio:Play()
local shot = Instance.new("Part")
shot.Color = BrickColor.new("Really black")
shot.Material = Enum.Material.Granite
shot.Size = Vector3.new(0.5, 0.5, 0.5)
shot.Position = Vector3.new(mouse.Hit)
mouse.Icon = "rbxassetid://12340835205"
wait(0.2)
mouse.Icon = "rbxassetid://715003186"
if o then
mouse.Icon = normalicon
end
end
end
end
end)
end)
end)
end)