Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Local Player = Script.Parent?

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

0

what is eye1 and eye2?

0

random end

1 answer

In output it should've told you that "eye1" is a nil

This discussion is preserved as it was. New answers, comments, and votes are closed.