RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a sistem flashing to variable "light" that is an surfacelight."
-- local script local light = script.Parent.SurfaceLight local flashing = false local function flash() while flashing do light.Enabled = not light.Enabled wait(0.5) end end local function startFlashing() if not flashing then flashing = true flash() else flashing = false end end script.Parent.MouseButton1Click:Connect(startFlashing)