So I was making a farming game and I made a gui that, when you equip the watering can, slides onto the screen and shows how much water is left in the can but I have run into an issue. I was play testing in my game when I had fell off the map, no problem, or so I thought, when I respawn I get an error saying "Can only tween objects in the workspace" which I found weird because it was working literal seconds before this. I changed some of my code to wait for things that would cause more problems. Here is the code:

local player = game.Players.LocalPlayer

local Gui = player:WaitForChild("PlayerGui"):WaitForChild("ScreenGui").AmountFrame

local ActivatedPosition = UDim2.new(0.025, 0,0.6, 0)
local UnactivatedPosition = UDim2.new(-0.3, 0,0.6, 0)

script.Parent.Equipped:Connect(function()
	Gui:WaitForChild("AmountLabel").Text = ("Water: "..script.Parent.Water.Value)
	Gui:TweenPosition(ActivatedPosition, Enum.EasingDirection.Out, Enum.EasingStyle.Elastic, .5)
end)

script.Parent.Unequipped:Connect(function()
	Gui:TweenPosition(UnactivatedPosition, Enum.EasingDirection.Out, Enum.EasingStyle.Elastic, .5)
end)

script.Parent.Water.Changed:Connect(function()
	Gui:WaitForChild("AmountLabel").Text = ("Water: "..script.Parent.Water.Value)
end)

If anyone could help it would be much appreciated. Thank!