-- lunge and hold

			
local plr = game.Players:GetPlayerFromCharacter(target)

_G.SD[plr.UserId].Data.stats.health = _G.SD[plr.UserId].Data.stats.health - 99
			
			
if _G.SD[plr.UserId].Data.stats.health < 1 then
	plr.Character:BreakJoints()
end
			
shark.Head.SharkEat:Play()

local emitter = game.ReplicatedStorage.Particles.Teeth:Clone()
emitter.Parent = shark.Head
emitter.EmissionDirection = Enum.NormalId.Top
wait()
emitter:Emit(1)
holdOrder = tick()
holdDuration = 2
end

end
end -- end of MakeAMove()
MakeAMove()


local scanSurroundings = coroutine.wrap(function()
while true do
stance = "wander"
local surroundingParts = workspace:FindPartsInRegion3WithIgnoreList(Region3.new(
shark.PrimaryPart.Position+Vector3.new(-60,-3,-60),
shark.PrimaryPart.Position+Vector3.new(60,10,60)),
shark:GetChildren())
for _,v in next,surroundingParts do
if v.Parent:FindFirstChild("Humanoid") and v.Parent.Humanoid.Health > 0 and _G.SD[target.UserId].Data.stats.health > 0 then