#clickdetector help

8 messages · Page 1 of 1 (latest)

regal barn
#
local part = script.Parent

part.MouseClick:Connect(function()
    -- Your code to change the visibility of the GUI
end)

In this script, when you click on the part with the path script.Parent, you can add code inside the function to change the visibility of the GUI.

#

ur script will looks like:
game.StarterGui.(UR GUI).visible = true

#

@hot pebble

upper moss
#

it would be

part.Mouseclick:Connect(function(player)
player.PlayerGui.(URGUI).visible = true
end
queen flaxBOT
#

studio** You are now Level 11! **studio

upper moss
#

not startergui

hot pebble
#

i managed to make it work but thank you

queen flaxBOT
#

studio** You are now Level 3! **studio