Hey there, I've been making my game Book of coding in ROBLOX. I've made that if you choose the correct options, the text label will change. That works fine but when the text label changes to a certain text like Total score: +5, the frame's visible property won't get unchecked.
I want it so that if the text label changes to a certain text, the frame will disappear.
Here's the local script inside the text label:
if script.Parent.Text == "Total score: +5" then
script.Parent.Parent.Visible = false -- Changes the frame visibility to false..
end

1 comment
Im edited the answer, check it now :)