#Anyone know how to make a script so where when i click X, the shop closes.
1 messages · Page 1 of 1 (latest)
theere so many youtube video on this
** You are now Level 1! **
Chtagpt even knowd this
i tried making it in a script, and failed miserably
get my full Roblox Studio course here (50% OFF):
https://linktr.ee/ByteBlox
photos of my pet pigeons: https://www.instagram.com/subnautica_man
discord: https://discord.gg/ay5gc9XcAh
wondered how to make a main menu in roblox studio? or how to create a shop which has working GUI? ive made lots of 2024 roblox scripting tutorials about all the d...
^
i already have a shop gui, i need a button to OPEN/CLOSE the gui
well mainly a script to close it
since your dumb
omg thank you space
like think about searching up stuff first
show me the code
** You are now Level 2! **
script.Parent.MouseButton1Click:Connect(function()
frame.Visible = true
end)
Close GUI LocalScript:
local frame = script.Parent.Parent
script.Parent.MouseButton1Click:Connect(function()
frame.Visible = false
end)```
what about the folder source?
structure
what about it?
show me it
.
?
the exit script should be in the button
local frame = script.Parent.Parent
folder thing
wdym
structure
....
?
@twilit nimbus Lookk at this
whats wrong with it gng
IT SHOULD BE A LOCAL SCRIPT
i tried that it still doesnt work
I will sned something just paste it in tot he right scripts okay?
alr
why is there random text thats not even a comment
learn the basics before making a game bro
-- Closs GUI Local Script
local frame = script.Parent.Parent
local button = script.Parent
button.MouseButton1Click:Coonect(function()
frame.Visible = false
end)
im confused why it doesnt work
beacuse it both in the same script bro
no its not
https://youtu.be/TspVPuxNqQA watch this
Basically a first GUI tutorial I made for you guys to benefit you into scripting a GUI, more will be coming!
►Help Me Reach 500 Subs!
►Like and Comment if you have any thoughts!
►Subscribe to me, it's free!
CREDITS:
Intro by Nàvàz Enzê...
I quit this
bro
u put coonect
check the output it literally tells you whats wrong with the script
coonect
@twilit nimbus
💔
oh
OMG IT WORKED
YOO
TYSMM!!!
IVE BEEN TRYING TO DO THIS FOR SO LONG
nvm now it doesnt work again
** You are now Level 10! **
WAIT IT DOES
wait @twilit nimbus
it gets rid of everything except the text laver
label
whys that
cus its not in the frame
like this?
but when i deelete the text label that isnt in shop, it goes away
and there isnt another text label
even though i copied and pasted into the shop frame
The title is undet the super starter pack
