i=true script.Parent[ZoneModelName]:MoveTo(Vector3.new(0,10000,0));(script.Parent[ZoneModelName]:Clone()).Parent=game.ServerStorage script.Parent.RemoteEvent.OnServerEvent:Connect(function(M,B,S,q)if i then i=false local M=(game.ServerStorage:WaitForChild(ZoneModelName)):Clone()M.Parent=game.Workspace M.PrimaryPart=M.Main M:SetPrimaryPartCFrame(CFrame.new(Vector3.new(B,S+1,q)))M.Main.Touched:Connect(function(M)if M.Parent:FindFirstChild(MobHumanoidName)then M.Parent[MobHumanoidName].Health=M.Parent[MobHumanoidName].Health-Damage end end)wait(Cooldown)i=true end end)

i = true
script.Parent[ZoneModelName]:MoveTo(Vector3.new(0,10000,0))
script.Parent[ZoneModelName]:Clone().Parent = game.ServerStorage
script.Parent.RemoteEvent.OnServerEvent:Connect(function(plr,X,Y,Z)
	if i then i = false
		local zone = game.ServerStorage:WaitForChild(ZoneModelName):Clone()
		zone.Parent = game.Workspace
		zone.PrimaryPart = zone.Main
		zone:SetPrimaryPartCFrame(CFrame.new(Vector3.new(X,Y+1,Z)))
		zone.Main.Touched:Connect(function(hit)
			if hit.Parent:FindFirstChild(MobHumanoidName) then
				hit.Parent[MobHumanoidName].Health = hit.Parent[MobHumanoidName].Health-Damage
			end
		end) 
		wait(Cooldown)
		i = true
	end
end)
