Skip to content

About

A simple Roblox script to toggle a flashlight animation after another animation finishes.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Flashlight Toggle Animation for Roblox Lite

This script toggles a flashlight on and off when the 'F' key is pressed and plays an animation when the flashlight is toggled. It is designed for use in Roblox Lite and requires a character model with a Humanoid and a Flashlight object.

Install

  1. Download the Script:

    • Clone the repository or download the FlashlightToggleAnimation.lua script from the GitHub repository.
  2. Place the Script:

    • Open Roblox Lite.
    • Navigate to the character model where you want to add the flashlight.
    • Insert the FlashlightToggleAnimation.lua script into the character model.
  3. Set Up the Flashlight:

    • Ensure there is a Flashlight object in the character model.
    • The Flashlight object should be a SpotLight or PointLight with the appropriate properties set.
  4. Add the Animation:

    • Create an animation clip for the flashlight toggle action.
    • Name the animation clip FlashlightToggleAnimation and insert it into the script.

Use

  1. Run the Game:
    • Start the game and press the 'F' key to toggle the flashlight and play the animation.

More Roblox script projects by EnderDevelopment: https://github.com/EnderDevelopment

Project page: https://dash.enderdevelopment.com/community/21a1a1bb-72fe-41ea-9c8e-7914765d3b9d?utm_source=github&utm_medium=readme&utm_campaign=auto_publish&utm_content=21a1a1bb-72fe-41ea-9c8e-7914765d3b9d

About

A simple Roblox script to toggle a flashlight animation after another animation finishes.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages