#clickdetector help
8 messages · Page 1 of 1 (latest)
8 messages · Page 1 of 1 (latest)
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
it would be
part.Mouseclick:Connect(function(player)
player.PlayerGui.(URGUI).visible = true
end
** You are now Level 11! **
not startergui
i managed to make it work but thank you
** You are now Level 3! **