Gui is not tweening and not printing any errors

I am trying to make a tool that when you will hold it the GUI will tween. It’s not working and not printing any errors.

Here is the code:

local Tool = game.StarterPack.key

Tool.Equipped:Connect(function()
	-- // {0.691, 0},{0.629, 0}
	-- // {0.693, 0},{1, 0}

	script.Parent.Parent:TweenPosition (
		UDim2.new(0.691, 0,0.629, 0), -- 
		"Out",
		"Sine",
		0.7,
		false
	)



end)

The issue is that the tool the player equips is not inside game.StarterPack it’s inside game.Players.LocalPlayer.Backpack because all tools inside StarterPacks get cloned and parented inside game.Players.LocalPlayer.Backpack for every player who joins. Just do

local Tool = game.Players.LocalPlayer.Backpack.key

Thanks!!! It fixed the problem.

Mark it as reply then to make everyone know it was solved :wink: