Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Click for 1 GUI clone, not FE Compatible?

Asked by 6 years ago
function click(Player)
    if not Player.PlayerGui:FindFirstChild("Conversation3") then
        local gui = script.Conversation3:Clone()
        gui.Parent = Player.PlayerGui
    end
end


script.Parent.ClickDetector.MouseClick:Connect(click)

This is the script i'm using, this part was supposed not to let player have 2 of the same GUI

 if not Player.PlayerGui:FindFirstChild("Conversation3") then

but, the problem it is not Compatible to Filtering Enabled, if anyone have a solution and can answer, i'd be glad.

1
Is this a script or local script? oftenz 367 — 6y
0
@oftenz script utrabem 5 — 6y

1 answer

Log in to vote
-1
Answered by 6 years ago

Scripts in a GUI in filtering enabled need to be localscripts

0
I dont see how this has a negative rep when its most likely the answer to his problem. Potatofoox 129 — 6y
Ad

Answer this question