#Can a remote event be fired and more than 1 local script pick it up?

1 messages · Page 1 of 1 (latest)

solar star
#

cuz if so its not working for me. im just trying to fire a remote even when the player joins but its only going to 1 local script when i would like it to go to more

earnest pecan
#

You should be able to establish multiple .OnClientEvents throughout the client context

#
--LocalScript 1
Remote.OnClientEvent:Connect(function(Message)
     print(Message) -- Output: Hello
end)
--LocalScript 2
Remote.OnClientEvent:Connect(function(Message)
     warn(Message) -- Warning: Hello
end)
--Server Script
Remote:FireAllClients("Hello") -- Should print and warn "Hello"
solar star
# earnest pecan What do you mean? It should work fine

yeah ive got no idea why its firing to just 1 (and if i delete the remote event from that local script it choses a dif local script to fire too (but only 1)). I use the same method from server to multiple local scrips for other stuff but this one just isnt working and I have no idea why

#

i didnt need the remote event in the first place

#

just spent 2 hrs

inner heart