How to replicate interaction?

I’ve been working on a multiplayer project for a while now with knowledge that I’ve just been getting from forums and tutorials, so I’m quite the novice.

I currently am using a method for this that I got from another user on here who has helped me a lot but I’m running into a problem with this where changes aren’t replicated to the client, and the client cant interact with the object.

This is the code for the interaction and the event that fires off in the object when interacted:

code inside the interactable object:

I cant get a video RN but basically what happens is the server player can interact with the interactable and change spotlight colour but the client literally does nothing when they interact with the object and they cant see the servers changes

try repnotify, it might suit your needs. here is quick example how to use it

You need to finish the tutorial. Part 2 goes into more detail and tweaks including the use of RepNotify.