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

How do you make a Group Gui Work?

Asked by
mhd100 5
10 years ago

I have made a gui so when the buttons are clicked it should open up a small map inside the training grounds. Example. If i clicked the button 'Obby' i want it to open up an obby. The link to the game is : http://www.roblox.com/WTS-Training-Holo-place?id=151976040

What do you have to do to make it so when the GUI button is clicked a map will open up?

1 answer

Log in to vote
0
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
10 years ago

First off, this isn't a request site. Since this won't end up getting locked until a mod gets on, I might as well answer.

It seems that you're a beginner scripter and that you need to know more. You should get used to MouseButton1Down or MouseButton1Click. That is part of your function to enable a script to run when the button is clicked. Just having the script without one of those is pointless. When you got those down, you should learn some Positioning. That's one way of taking it though via script. What I do is to Position it first manually, then put the map in Lighting. So, when the button is clicked, use the GetChildren Method. Then, use "for i,v in pairs" loop. The best link I could find on t he Wiki for that is a Generic loop. If you still need more of an explanation, please comment.

Ad

Answer this question