In this 10th episode of "How to Script on Roblox," I explain how to use the TweenService to animate parts in Roblox Studio.
If you want to learn how to create a game on Roblox with Roblox Studio, it's important to know how to comment on scripting/coding to create complex and original systems for your games and transform your ideas into functional scripts. This way, you'll finally be able to create a new game without having to use pre-made templates.
0:00 What is the TweenService?
0:35 Example Organization
0:54 Creating the Script
1:51 Creating a Tween
3:05 EasingStyle and EasingDirection
4:12 Property Tables
5:56 Why is the Tween in variable form in the example? 6:27 Perform a debounce
7:00 Half-fail
7:09 Fix the problem
7:31 Test the door
7:41 Tween a second instance at the same time
8:41 Final test
8:46 Some more details on the TweenService
9:13 End