Im making a simon says like game,but im too noob how i should use that? i have a part named Text whit a SurfaceGUI in it,and a text label in it. in the same folder.
how i corectly should arrange the stuff??
while true do script.Parent.Text = "Hint" script.Parent.TextColor3 = Color3.new(255,0,0) wait(4) Hint = "red" wait(6) blue.Transparency = 1 blue.CanCollide = false yellow.Transparency = 1 yellow.CanCollide = false green.Transparency = 1 green.CanCollide = false wait(10) blue.Transparency = 0 blue.CanCollide = true yellow.Transparency = 0 yellow.CanCollide = true green.Transparency = 0 green.CanCollide = true hint.Text = 'BLUE' wait(6) red.Transparency = 1 red.CanCollide = false yellow.Transparency = 1 yellow.CanCollide = false green.Transparency = 1 green.CanCollide = false wait(10) yellow.Transparency = 0 yellow.CanCollide = true red.Transparency = 0 red.CanCollide = true green.Transparency = 0 green.CanCollide = true
Pretty sure you should replace the "Hint" parts with script.Parent.Text, as it is not a variable