I tried to make a tv when u press the remote it switches channels right? Alr so I used mostly already uploaded decals. But when I used the one I uploaded myself it didnt work no matter how much I tried it was just a blank screen. Heres the code I used
local screen = script.Parent.Parent.Screen
local light = screen.SurfaceLight
local channel = screen.Channel
local img = screen.Decal
channel.Changed:Connect(function()
if channel.Value == 0 then
img.Texture = "rbxassetid://25067669"
elseif channel.Value == 1 then
img.Texture = "rbxassetid://8392666547"
elseif channel.Value == 2 then
img.Texture = "rbxassetid://8392667469"
elseif channel.Value == 3 then
img.Texture = "rbxassetid://8392668539"
elseif channel.Value == 4 then
img.Texture = "rbxassetid://8392670413"
elseif channel.Value == 5 then
img.Texture = "http://www.roblox.com/asset/?id=6919659360"
elseif channel.Value == 6 then
img.Texture = "http://www.roblox.com/asset/?id=223017962"
elseif channel.Value == 7 then
img.Texture = "rbxassetid://1206367650"
end
end)
The ones that were made by me and didn't work are : 8392666547 8392667469 8392668539 8392670413

2 comments
what are the errors that show up in the output?
literaly no errors just doesen't work