Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- flash0 = false
- flash = coroutine.create(function()
- while true do
- if flash0 then
- script.Parent.TextColor3 = Color3.new(1,1,0)
- wait(0)
- script.Parent.TextColor3 = Color3.new(1,0,0)
- wait(0)
- end wait(0) end end) --much nicer to have them on one line
- coroutine.resume(flash)
- script.Parent.MouseEnter:Connect(function()flash0 = true end)
- script.Parent.MouseLeave:Connect(function()flash0 = false end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement