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

Head turning on and off error. Can someone help?

This script me and my friend made should be making the head of an npc flash, can someone review it?

while true do
	script.Parent.Head.Transparency = 1
	wait (5)
	script.Parent.Head.Transparency = 0
end

1 answer

Try this:

while wait() do
	script.Parent.Head.Transparency = 1
	wait(5)
	script.Parent.Head.Transparency = 0
	wait(5)
end

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