This script is suppost to randomize itself then choose a decal but it doesn't. Could anyone help me with this issue?
for i,v in pairs(script.Parent.Screens:GetChildren()) do
while wait(math.random(0.5 ,1)) do
local textures = {
"rbxassetid://1015850667",
"rbxassetid://912712159",
"rbxassetid://912695512",
}
local chosenAd = math.random(1, #textures)
v.Decal.Texture = chosenAd
end
end

2 comments
There is a error at line 14.
Fixed.