#how to make role applied to all players

1 messages · Page 1 of 1 (latest)

coral oyster
#

i know i should use and for each and a list create but lists dont work on the add role, since target cant connect to a list

civic wing
#

Use For each

hardy rune
#

Did the pinned post get taken down?

#

Wtf

civic wing
#

Use for each or event

#

For each with the list as Get all players

coral oyster
#

so like this?

civic wing
#

Yes

#

Or you can use a event

#

And make it global

coral oyster
#

what event on the receiver?

civic wing
#

Use
Event definition (player)
Event sender (Global, event definition name)
Event receiver (connected to add role)

coral oyster
#

where do i use the event sender?

#

achally its fine, ill use the for each. ty

jagged plover
#

Use the events

#

@coral oyster

rancid pelican
#

Please use an Event for this!

  • Spawn an
  • Event Reciever
  • Event Definition
  • Event Sender
  • Configure the Event Sender and set it to the Event Definition, and change Local to All
  • Configure the Event Reciever to the Event Definition and connect this to the Player 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

jagged plover
civic wing
jagged plover
#

You gave him the worse method out of the two

civic wing
#

I was just giving them options

jagged plover
#

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

civic wing
#

It really doesn’t matter

jagged plover
#

Having multiple players with the for each is gonna overheat ur NET

civic wing
#

They both work fine

jagged plover
#

Do you not know anything about net heat?

coral oyster
#

think i got it

#

nvm i dont work yet

jagged plover
#

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

jagged plover
# coral oyster think i got it

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 👍