Are effekts in localscripts visible for all players?

If i write a local script which is cloning a effect and attaching it to a gun. Is it visible for all other players?

1 Like

No, it’s not. LocalScripts are for one client.

LocalScripts run on the player’s computer (client) which means only the player can see it.

Server scripts run the script on the server and replicate it to the client. If you want to make a gun effect that everyone can see make sure you use it on a normal script.

To my knowledge, the only thing that replicates automatically in localscripts are animations played on an Animator attached to the local humanoid:

If an Animator is a descendant of a Humanoid or AnimationController in a Player’s Character then animations started on that Player’s client will be replicated to the server and other clients.

1 Like