Help with Tweening Gui position or Values

Hello everyone, this may be a dumb question and I’m missing something but could anyone tell me why this script i wrote doesn’t work? the title doesn’t move to the position i gave it:

local ts = game:GetService("TweenService")
local plr = game.Players.LocalPlayer
local c = plr.Character or plr.CharacterAdded:Wait()
local isloaded = c:WaitForChild("Values"):WaitForChild("IsLoaded")
local menu = script.Parent
local menuFrame = menu.Frame
local title = menuFrame:WaitForChild("Title")
local titlegoal = {}
titlegoal.Position ={0.5, 0},{0.3, 0})
local titleinfo =, Enum.EasingStyle.Back, Enum.EasingDirection.InOut)
local titletween = ts:Create(title, titleinfo, titlegoal)

	if isloaded == true then

Thank You!

Change to if isloaded.Value == true then

They should use the ‘Changed’ event of the ‘ValueObject’ instance instead.

isloaded.Changed:Connect(function(value) --valueobject's new value passed as an argument to the connected function
    if value then
1 Like

Man, how did i miss that, i read my scripts too fast sometimes, thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.