Hello, I am currently confused with proxityprompts.
script.Parent.PromptShown:Connect(function(plr)
local a = true
local char = plr.Character
if char then
a=char.Humanoid.Sit
end
local show = script.Parent.Parent.Occupant== nil and not a
game.ReplicatedStorage.SpysEvents.ShowProxity:FireClient(plr,script.Parent,show)
end)
I am basically trying to achieve to hide the ProxityPrompt when player is already sitting. But somehow that’s not working.