Im trying to make the fuel value appear on screen so the player can see how many liters they have.
while wait(3) do local player = game.Players.LocalPlayer print("GOT THE NAME") local GoKart = player.name .. "'s GoKart" print(GoKart) local Fuel = GoKart.DriveSeat.Fuel.Value script.Parent.Liters.Text = tostring(Fuel).."L" end
Players.aleandroblingo.PlayerGui.Screen.Interface.Fule6: attempt to index field 'DriveSeat' (a nil value)22:21:13.55