I am making a game with dynamic lighting and then covering it with a brick to make it dark but I also want to make it a gamepass(later on)but when you are in the dark if you press E on your keyboard a sort of echolocation happens do any of you know how to do that.The echolocation I'm thinking is it is in black and white and can see if you keep pressing E but I want it to last for less then a second so you have to keep pressing E so kind of like clicking your tounge.
COMMUNITY QUESTION
Dynamic Lighting and its blindness?
1 answer
So you could make a spotlight that flashes, for example: wait(999). Use ButtonDown for this and check for asset so and so.
3 comments
0
Check the ROBLOX Wiki for button down and assest ids.
0
where would i put it
0
You should make a local script in the Workspace or StarterGUI. Put the code in there.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
So basically, if you press E, a ring of light flys out from around you and has a 1 second reload?
yes but it only goes in front of you intsead of around like echolocation
well i suppose it could go around
Light does not use Game Passes.