Disclaimer,
I am a beginner, and I am not looking for a script
Hi there,
I am having some difficulties at the moment.
Currently playing around with Tweens for the first time as I have not before and I need to learn them for this small-project I am going to working on. My end goal is to have a GUI where you can drag and drop tiny buildings, quite simple but I figure I will learn a lot from this experience and in the future I want to make a full game out of that idea. I have not implement the GUI yet as I have no clue how to and will do so later and I want to tackle one concept at a time.
I want the tiny buildings to be built in real time in front of you.
My first goal was to get a basic shape going and the “TweenService” on the first line has red line under it. I don’t know why and want to know the solution.
local TweenService = game:GetService(TweenService)
local part = script.Parent
local tweeningInformation = TweenInfo.new(
5,
Enum.EasingStyle.Back,
Enum.EasingDirection.Out,
1,
false,
2
)
local partProperties = {
Size = Vector3.new(3,1,3);
Color = Color3.new(18,18,18);
Transparency = 1
}
local Tween = TweenService:Create(part,tweeningInformation, partProperties)
Tween:Play()
Appreciate it,
Naucify