Remote doesn't print in test server

Works fine in solo mode, but when I test with 2 players it doesn’t.

Every player has the local script

–Server

delay(2.5, function()
	print("Helllo?")
	rEvent:FireAllClients(mapChoices)
end)

–Client

rEvent.OnClientEvent:Connect(function(MapChoices)
	print("mmm") -- Doesn't print mmm
	for i,v in pairs(Frame:GetChildren()) do 
		v.Text = MapChoices[i]

		v.MouseButton1Down:Connect(function()
			--rEvent:FireServer(i)
			print(i)
			rEvent:FireServer(i)
		end)
	end
end)

nvm its fixed, just had to wait for the character to load in

1 Like

This issue should only happen in studio as that is the only time the Player can exist so early. In which case you can try putting this demo script inside StarterPlayerScripts or StarterCharacterScripts whilst debugging

1 Like