Setting up the frontend
Your experience is now functionally complete with monetization implemented. The frontend of a project refers to the part of the experience that players see and interact with the most. The following steps are to beautify your stages, make your obby come to life with effects and movement, and provide visual and auditory indicators to the client to let them know when something has occurred.
Let’s start by seeing how to create effects for your obby.
Creating effects
When creating any visual effects, you want to be mostly operating on the client. This is because we want most of these effects to only appear locally (only to the client who activated the effect) for the sake of performance and to negate replication, meaning that if you want a sound to play when you collect a coin, you should be the only one hearing that sound.
To do this, you should create a new script under StarterPlayerScripts
titled LocalHandler
that contains the same code...