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

How can i make a changing decal?

I want to make a train destination board that changes by pressing a button, but don't know how to do it!

1 comment

0

I suggest looking into using a ScreenGUI rather than a changing decal - then you can add images and text dynamically, i.e. without having to upload separate images for each display.

3 answers

✓ Accepted answer

Just make it change decal id number every how many seconds you want.

2 comments

0

how

0

??? Please explain in more detail please

Do you see the properties called texture? They show which decal you are using by id that is where you can change it.

function click()
while true do 
Decal1.Texture.Decal.Texture=""--Copy this line and the one below it for more pictures
wait(5)
script.Parent.Decal.Texture = "http://www.roblox.com/asset/?id=76907393"--Edit for your textures asset Id.
wait(5)
script.Parent.Decal.Texture = "http://www.roblox.com/asset/?id=76907352"
end 
end
script.Parent.ClickDetector.MouseClick:connect(click)

There is an easier way to do this using Global tables but I didn't have the time to write because I have exams I need to study for.

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