Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How could I make this character have animation?

Asked by 2 years ago

I have a custom startercharacter, the character itself is Invisible, it has a BillboardGUI adorneed to the invisble start characters humanoidrootpart. It works fine, but i'd like to give the Billboard GUI Animation when it moves, Ive tried to use UserInputService to make it so the decal would change when I clicked W, A, S or D but It didnt seem to work. How could I go about making the BillboardGUI imagelabel change to make the character animated?

2 answers

Log in to vote
0
Answered by
ryanzhzh 128
2 years ago
Edited 2 years ago

Its really difficult to animate between 2 images (oof.) Either do this the easy way: Just use:

-- local script, image label
script.Parent.Image = imageAsset1
wait(.15)
script.Parent.Image = imageAsset2
wait(.25)
script.Parent.Image = imageAsset1

or the hard way.... make a lot (i mean alot) images. do this:

script.Parent.Image = imageAsset1
wait(.1)
script.Parent.Image = imageAsset2
wait(.1)
script.Parent.Image = imageAsset3
wait(.1)
script.Parent.Image = imageAsset4
wait(.1)
script.Parent.Image = imageAsset5
wait(.1)
script.Parent.Image = imageAsset6
wait(.1)
script.Parent.Image = imageAsset7
wait(.1)
script.Parent.Image = imageAsset8
wait(.1)
script.Parent.Image = imageAsset9
wait(.1)
script.Parent.Image = imageAsset10
-- copy and pasted it ^

reply if anythings wrong! edit: just use this one as a alt before replying: https://devforum.roblox.com/t/play-gifs-on-guis/1528254

Ad
Log in to vote
0
Answered by
enes223 327 Moderation Voter
2 years ago

hey you! have you ever heard of enes? if you are in trouble, better call enes!

Answer this question