Fire events are not simultaneously, they take turn to fire

local remoteEvent = ReplicatedStorage.AamTum_EVENT:WaitForChild(“Sphere_2”)
local model = ReplicatedStorage.AamTum_EVENT.OBJ:WaitForChild(“Sphere_2”) – replace “YourModel” with the name of your model in ReplicatedStorage

remoteEvent.OnServerEvent:Connect(function(player)
	warn(player, "asked to clone parts")
	for _, aPlr in pairs(game.Players:GetPlayers()) do
		if aPlr.Character then
			local clone = model:Clone

So the problem I get is when I mouse buttonclick will fire event, but the problem is that the event only fires 1 by one sequentially, not simultaneously, when the mousebutton is clicked
Thx.

1 Like
remoteEvent.OnServerEvent:Connect(function(player)
	warn(player, "asked to clone parts")
	for _, aPlr in pairs(game.Players:GetPlayers()) do
		task.spawn(function ()
			if aPlr.Character then
				local clone = model:Clone
				...
			end
		end)
	end

This should fix your problem. This will spawn each task and move on, meaning the script will not wait for your task to load.