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

how do i make a decal changer script?

I am making a game called Wallz and is just a copy of the Speeding wall. and I want a part to have a decal that can change how it looks e.g. I want my wall to have a banana picture on it but after 5 seconds to change to an apple picture how do I make that.

Thank you in advance.

1 comment

0

Please attempt to make the script before asking here, this is not a request site

1 answer

✓ Accepted answer

say that the 2 decals are children of the script


local banana = script.banana
local apple = script.apple

banana.Parent = script.Parent
apple.Parent = script.Parent

banana.Transparency = 1
apple.Transparency = 1

while (true) do
	banana.Transparency = 0
	wait(5)
	banana.Transparency = 1
	apple.Transparency = 0
	wait(5)
	apple.Transparency = 1
end


4 comments

0

weird solution but thank you soo much

0

how is it weird lol

0

idk changing transparency insted of changing decal

0

It is less memory-eating

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