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 = UDim2.new({0.5, 0},{0.3, 0})
local titleinfo = TweenInfo.new(3, Enum.EasingStyle.Back, Enum.EasingDirection.InOut)
local titletween = ts:Create(title, titleinfo, titlegoal)
isloaded:GetPropertyChangedSignal("Value"):Connect(function()
if isloaded == true then
titletween:Play()
end
end)
Thank You!