I want to make it drop when the person in the front passenger seat is an npc, not a player. The script I created doesn't work

I want to make it drop when the person in the front passenger seat is an npc, not a player.
The script I created doesn’t work

local seat = script.Parent

local occupant = seat.Occupant

local Player = game:GetService("Players")

local PlayerId = Player:GetPlayerFromCharacter(occupant.Parent)

if occupant ~= PlayerId then
	
	seat:kick()

	
end

to check if its a player, just look in the service Players and if they arent there, then its an NPC

How should I modify the script I wrote