Am I doing this right? I'm trying to make an eyes blink script that make less lag because I don't want it to work while in lighting or neither in work space because it would cause an amount of lag. I want the script to work only when a player choose a character from the GUI and the morph which is place in lighting.
local player = script.parent
eye1.transparency = 0
eye2.transparency = 0
wait(5)
eye1.transparency = 1
eye2.transparency = 1
wait(0.3)
end

2 comments
what is eye1 and eye2?
random end