local part = game.Workspace.SpawnTruck
local Occupants = {}
local ArmyTruck = game.Workspace.ArmyTruck
while true do
for i,v in pairs(ArmyTruck:GetChildren()) do
if v:IsA("VehicleSeat") then
if v.Occupant ~= nil then
table.insert(Occupants,v.Occupant.Parent)
end
end
end
print("There are "..#Occupants.." on this army truck right now.")
if #Occupants == 5 then
for i = 0,100,0.01 do
script.Parent:TranslateBy(Vector3.new(i,0,0))
wait(0.05)
end
end
wait()
end
when 5 players are seated, i want the model to move, but the model doesn't move. Why does the model not move?
No errors from Roblox Studio.

1 comment
Why does it keep saying "There are 0 on this army truck right now?"