Decal Transition With an Animation on a Part

I’ve been using a model for my roblox homestore that consists of a screen with an animated text. Basically what it does it is says “Welcome to Galactic Clothing” and then it animates how it swipes to the left and the next text comes in.
There Script for that is:

local label1 = script.Parent.SurfaceGui.Frame.label1
local label2 = script.Parent.SurfaceGui.Frame.label2
local using = label1

local say = {“New Billie Eilish Collection”, “More collections coming Soon!”, “Be sure to join Galactic.Clothing!”}

local function move(obj, pos)
obj:TweenPosition(pos, “Out”, “Quad”, 1)
end

while true do

for s = 1, #say do

using.Position = UDim2.new(-1, 0, 0, 0)
using.Text = say[s]
move(using, UDim2.new(0, 0, 0, 0))


if using == label1 then
	using = label2
else
	using = label1
end


move(using, UDim2.new(1, 0, 0, 0))

wait(5.5)

end
end

But I recently tried to do this with decals. All I’ve managed to do is a script that just fades from 1 decal to another but with no smooth transition that is much more visually pleasing.
All I got is:
while true do --Loop

wait(.1)

script.Parent.Texture = “http://www.roblox.com/asset/?id=6178149414

wait(5)

script.Parent.Texture = “http://www.roblox.com/asset/?id=5535149520

wait(5)

end

All it does is switch from one decal to another.
If anyone could maybe help me out I would be so grateful.
PS: These images are suposed to be Skyscraper ads, so the block should be the same dimentions.

1 Like

Might be what you’re looking for.

1 Like