I cant tween this Frame

Hey developers,

I’m working on a credit roll but everytime I try tweening the frame it just does not work.

It does execute the function but does not roll

function CreditRoll()
Debounce = true
t:Create(frame,Slow,{Position=UDim2.new(0, 0,-0.69, 0)}):Play()
print(error)
Debounce = false
end
What I want to happen

Output

Screenshot_45

Can I see more code, such as the t class and where TweenPosition is being called?

Here’s the whole script:

local t = game:GetService("TweenService")
local Slow = TweenInfo.new(3,Enum.EasingStyle.Exponential)
local Medium = TweenInfo.new(.74,Enum.EasingStyle.Exponential)
local Fast = TweenInfo.new(.3,Enum.EasingStyle.Exponential)
local Debounce = false

repeat wait() until game.Players.LocalPlayer.Character
local Music = game.StarterGui.ScreenGui.Music local frame = game.StarterGui.ScreenGui.Background.Frame

function CreditRoll()
Debounce = true
t:Create(frame,Slow,{Position=UDim2.new(0, 0,-0.69, 0)}):Play()
print(error)
Debounce = false
end

Music:Play()
wait(3)
CreditRoll()

Oh, I haven’t used tween service. Let me look into that.

In the meantime, consider using TweenPosition().

I tried using TweenPosition() but it was the same result.

Hey, I think in the tweenInfo you forgot about the tweenDirection finally I’m not really sure if we have to put it

Added it and there still is no difference, honestly dont know whats causing this since in my other UI’s its works perfectly fine.

But why go look in the StarterGui if normally the mistletoe goes in the PlayerGui after

You’re not wrong. About to try it right now.

Works! Thank you so much!!!

Darn, you beat me to PlayerGui

No problem, it’s normal :slight_smile: Good luck for the future

Dont worry! Atleast you tried helping and thats awesome enough! :smile: