How could I make a screen shake play in a normal script?

I want to make every player in my game screens shake. How could I achieve this?

The thing is I want to use a NORMAL script, not local, and all the tutorials I have found use local scripts.

My code is about a phase 2 for a boss, and I just want it to shake everyone’s screen when it goes into phase 2.

2 Likes

All the tutorials you’ve viewed use client scripts because they’re what you must use to access and manipulate the players’ cameras. Such operations cannot be done on the server.

To shake everyone’s cameras, you can have a server script utilize a RemoteEvent’s FireAllClients() function to tell all connected clients to have their cameras shake. You would of course need to have a client script listening for signals from the remote’s .OnClientEvent event.

4 Likes

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