Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make Gui Tweens smooth, is it possible?

Asked by
CHATED 10
10 years ago

Here is the current script for tweening but Its not smooth animation it's just laggy. Wpuld interpolation help, and how would I do it? Thanks!

repeat wait() until script.Parent.Loading.Text == "100% Loaded"
if script.Parent.Loading.Text == "100% Loaded" then
    script.Parent.Loading.Text = "Loaded Sucessfully"
    wait(0.5)
    script.Parent.Box:TweenPosition(UDim2.new(2, 0,0.17, 0), "Out", "Bounce", 5, false)
    script.Parent.Loading:TweenPosition(UDim2.new(2, 0,0.17, 0), "Out", "Bounce", 5, false)
    wait(1.6)
    script.Parent.Backframe:TweenSizeAndPosition(UDim2.new(0.3,150,0.4,42), UDim2.new(0.3,0,0.4,-63))
    script.Parent.Frame.Visible = true
    wait(2)
    script.Parent.Box:Destroy()
    script.Parent.Loading:Destroy()
end

0
Gui tweening has always been smooth for me. Perci1 4988 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

If you want it to Tween a bit better heres a Wiki link to show you all the ways you can Tween it and it also explanes it so your not left hanging.

http://wiki.roblox.com/index.php?title=API:Enum/EasingStyle

0
Ok thanks CHATED 10 — 10y
0
Thumbs up! =D MessorAdmin 598 — 10y
Ad

Answer this question