VehicleSeating.AddSeat(DriverSeat,onEnterSeat,onExitSeat)for A,J in ipairs(AdditionalSeats)do VehicleSeating.AddSeat(J,onEnterSeat,onExitSeat)end local function A(A)local J=A:WaitForChild("\080\108\097\121\101\114\071\117\105")if not J:FindFirstChild("\086\101\104\105\099\108\101\080\114\111\109\112\116\083\099\114\101\101\110\071\117\105")then local A=Instance.new("\083\099\114\101\101\110\071\117\105")A.ResetOnSpawn=false A.Name="\086\101\104\105\099\108\101\080\114\111\109\112\116\083\099\114\101\101\110\071\117\105"A.Parent=J local X=Scripts.LocalVehiclePromptGui:Clone()X.CarValue.Value=TopModel X.Parent=A X.Enabled=true end end Players.PlayerAdded:Connect(A)for J,X in ipairs(Players:GetPlayers())do A(X)end

VehicleSeating.AddSeat(DriverSeat, onEnterSeat, onExitSeat)

for _, seat in ipairs(AdditionalSeats) do
	VehicleSeating.AddSeat(seat, onEnterSeat, onExitSeat)
end

local function playerAdded(player)
	local playerGui = player:WaitForChild("PlayerGui")

	if not playerGui:FindFirstChild("VehiclePromptScreenGui") then
		local screenGui = Instance.new("ScreenGui")
		screenGui.ResetOnSpawn = false
		screenGui.Name = "VehiclePromptScreenGui"
		screenGui.Parent = playerGui

		local newLocalVehiclePromptGui = Scripts.LocalVehiclePromptGui:Clone()
		newLocalVehiclePromptGui.CarValue.Value = TopModel
		newLocalVehiclePromptGui.Parent = screenGui
		newLocalVehiclePromptGui.Enabled = true
	end
end

Players.PlayerAdded:Connect(playerAdded)

for _, player in ipairs(Players:GetPlayers()) do
	playerAdded(player)
end
