--[[ check_live_source.luau -- did the pushed CarManager source actually land, and is the running session using it? diag_steering still reports "found 4 motors" after a push that reported assembled==expected match=true. Two candidate explanations: 1. the source in the DataModel is stale (push landed elsewhere), or 2. the source is fresh but require() returned a CACHED module instance from earlier in this Play session, so the old build function is live. ]] local ServerScriptService = game:GetService("ServerScriptService") local out = {} local function log(...) local parts = {} for i = 1, select("#", ...) do parts[#parts + 1] = tostring((select(i, ...))) end table.insert(out, table.concat(parts, " ")) end local server = ServerScriptService:FindFirstChild("Server", true) local mod = server and server:FindFirstChild("CarManager") log("module:", mod and mod:GetFullName() or "") if mod then local src = mod.Source log("source bytes:", #src) log("has REAR-WHEEL DRIVE marker:", tostring(src:find("REAR%-WHEEL DRIVE") ~= nil)) log("has 'if isFront then\\n\\t\\treturn' guard:", tostring(src:find("isFront then\n\t\treturn") ~= nil)) end -- How many CarManager-like ModuleScripts exist anywhere? A duplicate copy -- would explain a push landing in the wrong place. local hits = {} for _, d in ipairs(game:GetDescendants()) do if d:IsA("ModuleScript") and d.Name == "CarManager" then table.insert(hits, d:GetFullName() .. " (" .. #d.Source .. " bytes)") end end log("") log("all CarManager ModuleScripts in this DataModel:") for _, h in ipairs(hits) do log(" " .. h) end return table.concat(out, "\n")