Problem with ProximityPrompt

It’s siting other players!


local Prox = script.Parent.ProximityPrompt

local Owner = Script.Owner

local player = game.Players.LocalPlayer

local sit = Prox.Parent
sit.Disabled = true
Prox.Triggered:Connect(function(plr)
	if game.Players:FindFirstChild(Owner.Value) then
		print("Owner")
		sit.Disabled = false
		local char = workspace:WaitForChild(plr.Name)
		local hum = char.Humanoid
		sit:Sit(hum)
		Prox.Enabled = false

		while sit.Occupant do
			wait()
		end
		Prox.Enabled = true
		sit.Disabled = true
	else
		print("Can't sit")
		end
end)

You’re sitting whoever uses the proximity prompt:

Maybe you meant local char = workspace:FindFirstChild(Owner.Value). You also need to check if the player that activates the proximity prompt is the owner, so you can do if plr.Name ~= Owner.Value then return end.