Im really new to scripting and have started learning javascript and I don’t know how to have a having a gui texture and audio appear and play on trigger enter for jumpscares. The gui texture as well as the audio I need them to be changeable in the inspector and appear and play for an amount of time preferably editable in the inspector but if you want to have it only editable in the script thats ok too
Can someone please help me and explain how to make a script to do this, ex: variables, functions, what is needed for this
I am really confused on what you need to start and put for certian scripts whether you need to declare variables a certain way or functions or using strings
I know the meanings of variables, types of functions, and basic stuff but don’t know strings and others
Help is really appriciated