RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make me script that will make my light flicker randomly and how do i implement it"
-- local script for a light part in Workspace local light = script.Parent.PointLight while true do light.Enabled = not light.Enabled wait(math.random(1, 5)) -- light will flicker randomly between 1 and 5 seconds end -- To implement this script in Roblox, you should follow these steps: 1. Create a part in the Workspace. 2. Add a PointLight to the part. 3. Add this script to the part and make sure the script is a child of the part with the PointLight. 4. Run the game and the light should start to flicker randomly.