When entering drive seat the passenger seat proximity prompt interferes while in drive seat.
How would I fix this?
1 Like
Hello!
A great way of ensuring that the proximity prompt is not in your way is to be using a LocalScript! Proximity prompts have a property called “Enabled,” which allows the prompt to be shown. If you do not want it on your screen while sitting you can set up a LocalScript with code similar to this:
local lp = game:GetService('Players').LocalPlayer
local char = lp.Character or lp.CharacterAdded:Wait()
repeat wait() until char:FindFirstChildWhichIsA('Humanoid')
local hum = char:FindFirstChildWhichIsA('Humanoid')
local prompt = path.to.prompt
hum.Seated:Connect(function()
local sit = hum.Sit
prompt.Enabled = not sit
end)
This code will not be a full fix, though it is a good baseline for what you could do.
Happy coding!
1 Like