SetAttribute with RemoteEvent

Hi, I would like to know how I can make an LocalScript fire a remote event, to then set an attribute. It’s probably really simple, I just can’t get my head around it.

I have searched a lot, I cannot find anything that would help me. Any help is appreciated.

It’s literally doing what you said. Insert a local script, set it up to Fire the RemoteEvent, and then connect it on the server and set the attribute.

2 Likes

I just don’t what to put in the RemoteEvent parenthesis when firing, it kind of confuses me but it’s probably really simple.

1 Like

Pass the attrbiute name, indtance and value, if you may. Depends on use case.

1 Like

Would the instance be the part that the attribute is in?

1 Like

Yes.

1 Like

Thanks! I was just being stupid, I hope I didn’t waste your time.

2 Likes

Don’t worry. But use the Creator Hub too, which is a great resource.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.