You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
fix the switch
What is the issue? Include screenshots / videos if possible!
its is not moving right
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Could you please provide your code?
From what I see, you should not even use vector3 and cframe in the flashlight. You just need to turn it off and on
It appears your flashlight’s circuit bootstrapper mechanism is malfunctioning, causing its signature radioactive nano-reactor to not properly respond to your input. Therefore, your flashlight repeatedly turns on and off.
Jokes aside, we need some context. Most importantly, the source code that’s causing such a conundrum. Let us fix this for you!