Advertisement
Joriangames

FlashLight localscript

Jun 8th, 2021
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. --[[
  2. Thanks for using this script
  3. This script is made by Joriangames/Problox Studio Scripts
  4. Want to know how to use this and script explanation?
  5. Watch my tutorial: https://youtu.be/uThsTZNMOmg
  6.  
  7. ]]
  8.  
  9. local light = script.Parent.Handle.SurfaceLight
  10.  
  11. script.Parent.Activated:Connect(function()
  12.     if light.Enabled == true then
  13.         light.Enabled = false
  14.     else
  15.         light.Enabled = true
  16.     end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement