i=true script.Parent[BoneModelName]:MoveTo(Vector3.new(0,10000,0));(script.Parent[BoneModelName]:Clone()).Parent=game.ServerStorage script.Parent.RemoteEvent.OnServerEvent:Connect(function(e,X,y,j)if i then i=false local e=(game.ServerStorage:WaitForChild(BoneModelName)):Clone()e.Parent=game.Workspace e.PrimaryPart=e.Main e:SetPrimaryPartCFrame(CFrame.new(Vector3.new(X,y+1,j)))e.Main.Touched:Connect(function(e)if e.Parent:FindFirstChild(HumanoidName)then e.Parent[HumanoidName].Health=e.Parent[HumanoidName].Health-Damage end end)wait(Cooldown)i=true end end)

i = true
script.Parent[BoneModelName]:MoveTo(Vector3.new(0,10000,0))
script.Parent[BoneModelName]:Clone().Parent = game.ServerStorage
script.Parent.RemoteEvent.OnServerEvent:Connect(function(plr,X,Y,Z)
	if i then i = false
		local zone = game.ServerStorage:WaitForChild(BoneModelName):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(HumanoidName) then
				hit.Parent[HumanoidName].Health = hit.Parent[HumanoidName].Health-Damage
			end
		end) 
		wait(Cooldown)
		i = true
	end
end)
