Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

Local Player = Script.Parent?

Asked by
ImfaoXD 158
8 years ago

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

0
what is eye1 and eye2? NinjoOnline 1146 — 8y
0
random end MechaScripter 35 — 8y

1 answer

Log in to vote
0
Answered by
Toflyc 5
8 years ago

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

Ad

Answer this question