How can I tween this UI

I’m trying to make my game logo appear from the top of the screen, it was working fine until i made some changes in another script (a loading screen) and tweaking the script here a little. I’m not sure exactly what went wrong, but I don’t see any problem which causes the tween to not work.
here is my script

if game.StarterGui.LoadingScreen.EndSequence.Visible == true then
	
	wait(8)

	script.Parent.Title:TweenPosition(UDim2.new(0.35, 0, 0, 0) "Out", "Bounce", 0.5, true)

wait (1)

	script.Parent.Title.TDcover:TweenPosition(UDim2.new(1, 0, 0.51, 0), "InOut", "Quart", 0.5, true)
	script.Parent.Title.TDcover.Visible = false

wait(1.5)

	script.Parent.TapToPlay:TweenPosition(UDim2.new(0.399, 0, 0.8, 0), "InOut", "Linear", 1.5, true)
	wait(1)
	script.Parent.StartBtn.Visible = true -- click anywhere to play, lazy to use userinputservice
end

Before i changed the logo/title to an image, which is a UI logo that i made earlier it was pretty much working fine, all i did was delete the original title which was a text and change it to an image label which is the “Title”

I would say if player.Humanoid then - And it would run the code, so if the player is loaded it would run the code.

Add prints to lines you think it doesn’t run.
Check if the script is local or server: If it’s a serverscript (normal script) it won’t really run, because it has to tween the gui in the player’s gui, not in the startergui, so make sure your script is a localscript.