script.Parent.Parent.Touched:Connect(function(m)if debounce==false then if m.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")and game.Players:GetPlayerFromCharacter(m.Parent)then local C=(Dummy:FindFirstChildOfClass("\072\117\109\097\110\111\105\100")):LoadAnimation(animation)C:Play()sound:Play()debounce=true local r=game.Players:GetPlayerFromCharacter(m.Parent)chasedEvent:FireClient(r,Dummy)EventFolder.HideSelf:FireClient(r)script.Parent.Parent.Anchored=true wait(.75)m.Parent.Humanoid.Health=0 wait(1)script.Parent.Parent.Anchored=false debounce=false end end end)


script.Parent.Parent.Touched:Connect(function(IsAPlayer)
	if debounce == false then
		if IsAPlayer.Parent:FindFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(IsAPlayer.Parent) then
			local animKill = Dummy:FindFirstChildOfClass("Humanoid"):LoadAnimation(animation)
			animKill:Play()
			
			
			sound:Play()
			debounce = true
			local player = game.Players:GetPlayerFromCharacter(IsAPlayer.Parent)
			chasedEvent:FireClient(player, Dummy)
			EventFolder.HideSelf:FireClient(player)
			script.Parent.Parent.Anchored = true
			wait(0.75)
			
			IsAPlayer.Parent.Humanoid.Health = 0
			wait(1)
			
			script.Parent.Parent.Anchored = false
			debounce = false
	    end
	end
end)
