Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make everyone's screen shake in 1 script?

Ive seen alot of games that do these. But How do I make my own? I can't find any information about it.

Anyone a code?

Thank You!

2 comments

0

We cannot give you a code but what you should do is change the players camera

0

I K but IDK how.

2 answers

First of all, you wouldn't be able to do it in one script. I won't provide it but I'll explain.

All that you basically would need to do is create a Remote Event and create a Local Script and a Server Script, in these scripts you will be using both OnClientEvent and FireAllClients due to the camera being local and you need this to happen for everyone. Once you've figured out how to use those, you'd have to loop through the players in the game and find their Character and Humanoid, then insert the humanoid as one of the parameters for the FireAllClients. After doing this, you can access the humanoid easily and offset the camera in the local script. I apologize if my formatting or explanations are bad, this is my first time helping someone on this website.

This discussion is preserved as it was. New answers, comments, and votes are closed.