📅  最后修改于: 2022-03-11 14:56:09.983000             🧑  作者: Mango
local seat = script.Parent
function getPlayerOnSeat()
local occupant = seat.occupant
if occupant then
local player = game.Players:GetPlayerFromCharacter(occupant.Parent)
return player
end
end