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

Dynamic Lighting and its blindness?

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.

4 comments

0

So basically, if you press E, a ring of light flys out from around you and has a 1 second reload?

0

yes but it only goes in front of you intsead of around like echolocation

0

well i suppose it could go around

0

Light does not use Game Passes.

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.