Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you use the Texture property of decals?

Let's say I wanted to change a decal's image with a script. If the image's asset ID is 123 for example, would I just do this:

decal = script.Parent.Decal
decal.Texture = 123

or would I need to do something else? Would I have to subtract a number from the regular ID?

Thanks!

1 answer

✓ Accepted answer
decal = script.Parent.Decal
decal.Texture = "rbxassetid://123"

The Texture is a string. rbxassetid:// calls roblox for the id.

1 comment

0

Thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.