How to make lightning script

how to make a lightning that only the player who use the ability can see the lightning

make it a local script,
on a specific event, when the ability gets executed, run the lightning change,
then use a remote function to get the lighting settings on the server and set the lighting back to the one before the ability lighting

1 Like

So local script mean only you can see it and use it? And script is everyone can use it?

Yes, a LocalScript can only be seen by the client (the player). A Script is a server-side script, meaning everyone sees the effect

read this