#Button Lighting

1 messages · Page 1 of 1 (latest)

safe forge
#

lighting as in workspace lighting?

split garden
#

ye kinda

#

im making a horror story game and you needd to press 5 buttons and then its supposed to give 1 win and change the lighting to a bright kinda thing

#

and afer 3 or 5 seconds it makes it to my normal one again

#

so could you help

safe forge
#

(i dont know much about prompts so i cant help there) but you'd have to give each button a debounce that doesnt reset and add 1 onto a value, when clicking a button check if they have 5 buttons click, if yes change the lighting (make referance to it incyour code and change its varibles) and add a win onto them -- in a local script if you want it to be per player or sever script for whole player

astral prawnBOT
#

studio** You are now Level 3! **studio

split garden
#

wt helly

safe forge
#

i could help in some areas

split garden
#

alr

#

like could you make a local script that detects if the buttons were used and then it changes the lighting

safe forge
#

heres the idea: