#Button dissspear
169 messages · Page 1 of 1 (latest)
Send the code
I think I know why
local Button = script.Parent
local Frame = Button.Parent.Bed
Button.MouseButton1Click:Connect(function()
Frame.Visible = not Frame.Visible
end)
where is the script located
inside the button
** You are now Level 1! **
And what does frame need to be?
Bed frame
change the name to BedFrame and do local Frame = Button.Parent.Parent.BedFrame
Right now there are 2 objects called bed
🙏🙏🙏🙏🙏 what is this
the double parent is because the first parent bring it to the button, the second brings it to the gui so you can look for the BedFrame
You have duplicated name dawg
"Frame.Visible = not Frame.Visible"
No
That makes the value false
wdym no?
Nuh uh
explain
Button is inside the ScreenGui so Button.Parent is the ScreenGui
It does
oh yea it isnt script.parne
Allright
what does if bool then do
Alright imma do that
checks if a statement is true and u can run code
if npt bool?
if true then run code
if its false it runs the code
Who gave u s1
Ok
💀
Now lets say u have a false value
s1 is beginner
and u type if npt bool then
Yeah
Er sorry
.
Thats a beginner thing
no?
** You are now Level 5! **
What so complicated about this
If true then run code
If not false then run code
If false then code no worki
if player.SkinColor == black then
player:kick()
==
bro thats so racist
you said that not bool reverse the value
So if the value is false then not value is true
According to you
not = if it isnt true it runs the code
Yeah
But if the value is false then if not value then cehcks if the value is false
NOT if the value is true
if not player.Name == "Mimical" then
-- this only runs if the player isnt Mimical
end
🙏
Your name does suit you
Rather make it always false
So Frame.Visible = not Frame.Visible will be false
WHAT DO YOU THINK "NOT FALSE" IS?
that gives an error
EXACTLY
🙏🙏🙏🙏🙏🙏🙏
THATD WHAT IM SAYING
AND FRAME.VISBLE = NOT FRAME.VISIBLE DOESN'T WORK
JUST FUCKING TRY IT YOURSELF
it does
BECAUSE NOT FRAME.VISIBLE RETURNS FALSE
OR STFU
HOW TF DO YOU THINK I KNOW THIS
worked guys
FINALLY
Frame.Visible == Frame.Visible -- true
Frame.Visible == not Frame.Visible -- false
My god
Are you dumb?
Good to hear! Feel free to mark the thread as solved
You did remove the not right?
I just changed the names
🤡🤡🤡🤡
...o
🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
js stop
Boohooooo
please
If not Value = false
Then just typing value would be true
Cause hes trying to toggle it from whatever its current value is to the opposite
You sucks
U typed it urself beforw
You sucks
Frame.Visible = false is the same as
Frame.Visible = not Frame.Visible
Thats fucking it im calling a S2
enh
Yeah lmaoaoaoaooa
except the second one makes it so if Frame.Visible == false, itll toggle to true
what are yall arguing about
what are yall even arguing about ;-
Frame.Visible = true -- Frame is visible
Frame.Visible = Frame.Visible -- frame is visible
Frame.Visible = false -- Frame is not visible
Frame.Visible = not Frame.Visible -- Frame is visible
Frame.Visible = not Frame.Visible -- Frame is not visible
Where is your s2
so whats there to argue about that?
Nothing
turns out disagrees
;compile
true
;compile
false
wow! look at that!
yes it works lmfao
ive used it atleast a million times
xd
its a good way to toggle visibility
Well now i wanna die : (
its okay, your name says it all
but hey! atleast you learned something
now you dont need to add the extra 6 lines to your script
Ye
bot, keysystem, morphs, emotes, options IT IS A condo game
he also tried to delete the ss
:Sob\