This is the script I'm using:

	local Children = workspace:GetChildren()
	for i = 1, #Children do
		local TVNum = Children[i]
		if TVNum.Name == "TV" then
		local Screen = TVNum.Screen
		for i = 1, #Screen do
			local ScreenNum = Screen[i]
			ScreenNum.BrickColor = BrickColor.new("Institutional white")
			end
		end
	end

So first it's going to find the TVs from the workspace, and find the Screens from within the TVs and change the BrickColor to Institutional White, the error is on line 6

3 comments

0

well you forgot to put the ":GetChildren" on the for i loops, so the correct input is for i = 1, #Screen:GetChildren do

0

oh

0

It doesn't seem to fix anything