while wait(3) do local Fuel = script.Parent.Parent.Parent.Fuel.Value script.Parent.Litres.Text = "" .. tostring(Fuel) end
What you did is setting Fuel as the Int/NumberValue's value. You cannot do that in roblox lua. You must only define the object and get the value when needed. In the example you can see that I set the text to the fuels value converted into a string.
while wait(3) do local Fuel = script.Parent.Parent.Parent.Fuel script.Parent.Litres.Text = tostring(Fuel.Value) --.." L" if you need end
Accept if this helped