I always see plugins that allows you to make gui tweening like how you edit rig anaimations, but my question is that:
Is there any plugins that allow you to make simple gui tweening IN and OUT animations easily?
( what I mean is the simplest gui tweening in like just sliding left a little bit when visible set to true, or simply tweening the transparency since I am not quite sure how to do those simple little tweens. The ones people use are always tweening a whole animation… )
help will be appreciated!!!
Well, I am not completely sure about plugins, but I know there is a very simple way to tween GUI elements in a script using :TweenPosition. Below I will include an example.
local element = --// Your object goes here \\--
script.Parent.Trigger.MouseButton1Click:Connect(function()
if element.Visible == true then
element:TweenPosition(UDim2.new(-1, 0, 0, 0), Enum.EasingDirection.**Out**, Enum.EasingStyle.Linear, 1) -- position, direction, style, time.
end
end)
Feel free to ask me if you need anymore help, or need me to clarify anything! 