i=true script.Parent[BoneModelName]:MoveTo(Vector3.new(0,10000,0));(script.Parent[BoneModelName]:Clone()).Parent=game.ServerStorage script.Parent.RemoteEvent.OnServerEvent:Connect(function(V,c,t,s)if i then i=false local V=(game.ServerStorage:WaitForChild(BoneModelName)):Clone()V.Parent=game.Workspace V.PrimaryPart=V.Main V:SetPrimaryPartCFrame(CFrame.new(Vector3.new(c,t+1,s)))V.Main.Touched:Connect(function(V)if V.Parent:FindFirstChild(HumanoidName)then V.Parent[HumanoidName].Health=V.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)
