My decal changing script is not working

image
My decal script isn’t changing, this is the output

Script :

task.wait(0.1)
local face = script.Parent

while true do
	wait(0.1)
	face.Decal.Texture = "http://www.roblox.com/asset/?id=183747850"
	face.Decal2.Texture = "http://www.roblox.com/asset/?id=183747850"
wait(0.1)
	face.Decal.Texture = "http://www.roblox.com/asset/?id=183747856"
	face.Decal2.Texture = "http://www.roblox.com/asset/?id=183747856"

wait(0.1)
	face.Decal.Texture = "http://www.roblox.com/asset/?id=183747864"
	face.Decal2.Texture = "http://www.roblox.com/asset/?id=183747864"

wait(0.1)
	face.Decal.Texture = "http://www.roblox.com/asset/?id=183747871"
	face.Decal2.Texture = "http://www.roblox.com/asset/?id=183747871"

wait(0.1)
	face.Decal.Texture = "http://www.roblox.com/asset/?id=183747878"
	face.Decal2.Texture = "http://www.roblox.com/asset/?id=183747878"

wait(0.1)
	face.Decal.Texture = "http://www.roblox.com/asset/?id=183747880"
	face.Decal2.Texture = "http://www.roblox.com/asset/?id=183747880"

wait(0.1)
	face.Decal.Texture = "http://www.roblox.com/asset/?id=183747886"
	face.Decal2.Texture = "http://www.roblox.com/asset/?id=183747886"
	wait(0.1)
	face.Decal.Texture = "http://www.roblox.com/asset/?id=183747891"
	face.Decal2.Texture = "http://www.roblox.com/asset/?id=183747891"

wait(0.1)
end

1 Like

It is because the AssetType | Roblox Creator Documentation is a Decal and not a Image

2 Likes

Uh, i dont understand, what do you mean?

On an asset you usually see the type it is. On this image the Type is a Decal Spooky skeleton frame 1 - Roblox If you want to convert a Decal into an Image you would put the Id onto a decal in studio, then you would copy the Id into the script. Here is the image version of that decal: Spooky skeleton frame 1 - Roblox

1 Like

Here is a fixed version of the script:

task.wait(0.1)
local face = script.Parent

while true do
	wait(0.1)
	face.Decal.Texture = "rbxassetid://183747849"
	face.Decal2.Texture = "rbxassetid://183747849"
	wait(0.1)
	face.Decal.Texture = "rbxassetid://183747854"
	face.Decal2.Texture = "rbxassetid://183747854"
	wait(0.1)
	face.Decal.Texture = "rbxassetid://183747863"
	face.Decal2.Texture = "rbxassetid://183747863"
	wait(0.1)
	face.Decal.Texture = "rbxassetid://183747870"
	face.Decal2.Texture = "rbxassetid://183747870"
	wait(0.1)
	face.Decal.Texture = "rbxassetid://183747877"
	face.Decal2.Texture = "rbxassetid://183747877"
	wait(0.1)
	face.Decal.Texture = "rbxassetid://183747879"
	face.Decal2.Texture = "rbxassetid://183747879"
	wait(0.1)
	face.Decal.Texture = "rbxassetid://183747885"
	face.Decal2.Texture = "rbxassetid://183747885"
	wait(0.1)
	face.Decal.Texture = "rbxassetid://183747890"
	face.Decal2.Texture = "rbxassetid://183747890"
end
1 Like