I keep getting this error code i dont know what to do
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

1 comment
its ok, it doesnt work