I decided to expand on my knowledge on scripting by making a 2D facial animation. I’d like you to give feedback on the animation itself and NOT the art designs on the face, it only took 2 minutes to make the face so don’t blame me for the terrible art. Here’s the video:
https://gyazo.com/d791f97d1ffdabf1ec79da787a89f211
I could make the animation better and I’ll be working on that.
This took 2 days to know how to make and to make a decent animation.
Rate here and put the reasons why in the replies:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
0 voters
If you’re curious here’s what’s happening and here’s the script(it’s pretty strange):
https://gyazo.com/a4cb715f8c6303e61f531d8c5e90027d
Script
local part = script.Parent
local replicatedstorage = game:GetService("ReplicatedStorage")
local ti = 0.1
while true do
local facial1 = part:WaitForChild("facial1")
local facial2 = part:WaitForChild("facial2")
local facial3 = part:WaitForChild("facial3")
local facial4 = part:WaitForChild("facial4")
local clone1 = replicatedstorage:WaitForChild("facial1"):Clone()
local clone2 = replicatedstorage:WaitForChild("facial2"):Clone()
local clone3 = replicatedstorage:WaitForChild("facial3"):Clone()
local clone4 = replicatedstorage:WaitForChild("facial4"):Clone()
facial1:Destroy()
wait(ti)
facial2:Destroy()
wait(ti)
facial3:Destroy()
wait(ti)
facial4:Destroy()
clone4.Parent = part
wait(ti)
clone3.Parent = part
wait(ti)
clone2.Parent = part
wait(ti)
clone1.Parent = part
end