Changing decal doesnt work

it just needs to change the decal which doesnt work

while true do --Loop
script.Parent.Texture = "https://www.roblox.com/library/21370837"
wait(10)
script.Parent.Texture = "https://www.roblox.com/library/5242644098" 
wait(15)
script.Parent.Texture = "https://www.roblox.com/library/1536036558" 
wait(15)
script.Parent.Texture = "https://www.roblox.com/library/482222378" 
wait(15)
end

local or server script? (30 chars)

while true do --Loop
script.Parent.Texture = "http://www.roblox.com/asset/?id=21370836"
wait(10)
script.Parent.Texture = "http://www.roblox.com/asset/?id=5242644087" 
wait(15)
script.Parent.Texture = "http://www.roblox.com/asset/?id=1536036552" 
wait(15)
script.Parent.Texture = "http://www.roblox.com/asset/?id=482222377" 
wait(15)
end

edit: just needed to change the ids

2 Likes

normal script (30 characters))

The links you put as the texture should be the asset url.

So, “rbxassetid://IDHERE”.

The script should roughly look like this:

while true do --Loop
script.Parent.Texture = "rbxassetid://21370837"
wait(10)
script.Parent.Texture = "rbxassetid://5242644098" 
wait(15)
script.Parent.Texture = "rbxassetid://1536036558" 
wait(15)
script.Parent.Texture = "rbxassetid://482222378" 
wait(15)
end
2 Likes

If you already don’t know then there is difference between ImageIDs and TextureIDs It’s given here:

You can get explanation there

1 Like