#How would i tween a part that gets parented to the workspace?
1 messages · Page 1 of 1 (latest)
do you want to parent the clone to the workspace?
just do
local clone = whatever:Clone()
clone.Parent = workspace
(syntax may be wrong)
or are you asking for a fade in effect?
sorry for responding late but yeah i want a fade in effect
- define tween service
local ts = game:GetService("TweenService")
- define the settings/info of the animation, i.e. time, easing style
local tweeninfo = TweenInfo.new(time, style, direction, etc)
- create the tween
ts:Create(part_name, tweeninfo, {Transparency = Transparency - 0.1})
ts:Play()
make sure to set the part transparency to 1 in the properties menu
here's some documentation:
https://create.roblox.com/docs/reference/engine/classes/Tween
https://create.roblox.com/docs/reference/engine/enums/EasingStyle
a look at the easing styles available:
https://devforum.roblox.com/t/only-some-easingstyles-and-easingdirections-are-displayed/377160
Hello fellow developers, I have come to notice the fact that not all of the EasingStyles and EasingDirections are displayed in this DeveloperHub page. The styles missing are Circular, Cubic, and Exponential. For the directions, only the InOut direction is not shown. These styles and directions are documented, but not shown in the GIF provid...
ok thanks!