I have a text label I want to flash on and off of the player's screens to maybe scare them. I've created the GUI and can't figure out how to script this. If possible I'd like it to flash on and off every certain amount of seconds, like for example: ON wait(2) OFF wait(30).
That's the first and most simple thing that popped up in my mind. There are other ways such as using loops. By the way, make sure the flashing doesn't trigger people with photo epilepsy.
local label = script.Parent --put this script inside the flashing frame/text label local function Flashing() wait(5) label.Visible = true --on wait(2) label.Visible = false --off wait(30) label.Visible = true --on wait(4) label.Visible = false --off end Flashing()