PlayerGui is a main thing for stuff like this. It pops up only for a specific players GUI. I would do this script below.
INSTRUCTIONS!
1). Make sure this script is a script and that it is in the brick with a ClickDetector
2). Change {GUINAME} to whatever GUI you want to open
3). Change FRAMENAME to the frame inside whatever your GUI you want to open is called!
4). You could also edit inside the frame!
script.Parent.ClickDetector.MouseClick:Connect(function(onClick)
game.Players.LocalPlayer.GUINAME.FRAMENAME.Visible = true
end)
What does this script mean?
1). game.Players.LocalPlayer goes into the games section {Players} and finds the LocalPlayer clicking the button.
IF YOU NEED ANY FURTHER HELP PLEASE MESSAGE BACK TO THIS. I AM A BEGINNER SCRIPTER AND I HAVE A STRONG PASSION FOR IT SO I AM NOT PERFECT, BUT I AM OKAY WITH GUIS AND EDITING PART'S PROPERTIES AND MAKING MODELS APPEAR AND DISAPPEARING.
Hope this helped,
-Goldenkings11
1 comment
Please use code blocks when displaying code.