How to make the player with the prompt not be able to see it but everyone else can see that prompt?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I just want the prompt to not be visible on them self because I only want it to be visible for others.

  2. What is the issue? The problem is that I changed enabled to false on the client but that replicates to the server and then it isn’t visible to everyone else but is visible on them.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    As far as I know I haven’t seen any other posts about this issue. Maybe it’s my code.

Client Side
local Player = game.Players.LocalPlayer
local Role = Player:WaitForChild("Role")

local Prompt = script.Parent

local Connection = nil

local function OnChanged()
    -- if connection then
	if Connection then
        -- Disconnect the evemt
		Connection:Disconnect()
		Connection = nil
        -- Change the Enabled property to false
		Prompt.Enabled = false
         
        -- wait 0.03 secounds
		wait(0.03)

		Connection = script.Parent.ArrestUI:GetPropertyChangedSignal("Enabled"):Connect(OnChanged)
	end
end

Connection = script.Parent.ArrestUI:GetPropertyChangedSignal("Enabled"):Connect(OnChanged)

OnChanged()

Your title kinda confuses me. So you want the player with prompt not show to the other players?

I want the player with the prompt to not see it but everyone else can see it.

Can’t you just make it local Connection? You don’t need to make it nil, otherwise your function won’t work