ive been making a TV screen that flashes between a logo and some text for a game, and ive run into this problem where one TV works perfectly fine but the others dont even though they all worked a minute ago.
they all have the same scripts, and no errors are appearing on the output bar.
is there a problem with the script, or is it just studio being weird?
any help would be appreciated (keep in mind that i am VERY new to scripting)
video and the script in question below
while true do
workspace.TV.AYYYY.SurfaceGui.SIGN.Text = "Announcements / Teasers / Updates will appear here"
wait(2)
workspace.TV.AYYYY.SurfaceGui.SIGN.Text = ""
wait(2)
end
I wouldn’t do it the way you did. When you duplicate the signs, the script only makes changes to one of the signs. Try doing a for i,v function so all signs under the name go through the changes. Example:
If you create other objects with the same name, it may error.
for i,v in pairs(game.Workspace:GetDescendants()) do -- or a folder with the specific signs
if v.Name == "SIGN" then
while true do
v.Text = "Announcements / Teasers / Updates will appear here"
wait(2)
v.Text = ""
wait(2)
end
end
end