I have a vehicle that has 4 seats, the problem is when I press e to sit, the other proximity prompt is visible while sitting and the other 3 prompts clutter, makes it messy. How will I do this to remove all proximity prompts when sitting locally or in a part? I've seen one of the DevForum topic but It was never solved.
local proximityPromt = script.Parent
local seat = proximityPromt.Parent
proximityPromt.ObjectText = seat.Name
seat:GetPropertyChangedSignal("Occupant"):Connect(function()
if seat.Occupant then
proximityPromt.Enabled = false
else
proximityPromt.Enabled = true
end
end)
proximityPromt.Triggered:Connect(function(player)
seat:Sit(player.Character.Humanoid)
end)
