#how to make role applied to all players
1 messages · Page 1 of 1 (latest)
Use For each
so like this?
what event on the receiver?
Use
Event definition (player)
Event sender (Global, event definition name)
Event receiver (connected to add role)
Done use a for each
Use the events
@coral oyster
Please use an Event for this!
- Spawn an
Event RecieverEvent DefinitionEvent Sender- Configure the
Event Senderand set it to theEvent Definition, and changeLocaltoAll - Configure the
Event Recieverto theEvent Definitionand connect this to thePlayer Add Role
Whenever you execute the Event Sender, you are making everyone in the instance send an execution by themselves to the Player Add Role. This will use the least amount of CPU compared to a For Each as you are making everyone send a single execution from themselves instead of sending an execution per each player in the instance. This will use a small amount of NET however as it is a "synced" action.
@coral oyster @civic wing
Why are you pinging me 💀
Cause u gotta learn too
I already know
You gave him the worse method out of the two
I was just giving them options
They don’t need options for that
It’s not about options it’s about what works best
This isn’t some complex system
It’s just adding a role
It really doesn’t matter
Having multiple players with the for each is gonna overheat ur NET
They both work fine
yea the fuck it does
Do you not know anything about net heat?
Ty
Uh no
Your supposed to execute the event sender then the event receivers, receives the signal almost like bluetooth
Configure the Event sender to ALL this will make it so the the execution is received by all playes
Currently you had it so that it was receiving a signal from yourself because it’s set to local player
local player = you
local player for me = me
local player for timmy = timmy
So all your doing is running useless circuits because your already the local player
So SET THE EVENT SENDER TO ALL 👍