Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Click for 1 GUI clone, not FE Compatible?

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.

2 comments

1

Is this a script or local script?

0

@oftenz script

1 answer

Scripts in a GUI in filtering enabled need to be localscripts

1 comment

0

I dont see how this has a negative rep when its most likely the answer to his problem.

This discussion is preserved as it was. New answers, comments, and votes are closed.