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

To make this short, I want to know if there is a way to detect 3 clicked textbuttons in scrollingF? [closed]

Asked by 6 years ago

This is my title if it wasnt limited: Hello, i am an experianced scripter, however, i am making a Dragon Ball Z world with dragon balls and right now i am makaing shenrons list that you pick from to grant a wish, i want to find out if there is a way to detect ( there are 3 different buttons) 3 buttons being clicked so i can detect that happening and take away the gui before they make another wish, Thank You!

I have no IDEA how to do this,the Wishlist is a screenGui, the List is a scrolling frame, the three textbuttons are Gold, Immortality, and Speed, so this is my BEST guess:

Script: game.Workspace.Shenron.Position = player.UpperTorso.Position wait(.4) game.Players.LocalPlayer.PlayerGui.Shanronswords.words.Visible = true wait(10) game.Players.LocalPlayer.PlayerGui.Shanronswords.words.Visible = false game.Players.LocalPlayer.PlayerGui.WishList.List.Visible = true HERE: while true do if game.Players.LocalPlayer.PlayerGui.WishList.List.Gold or game.Players.LocalPlayer.PlayerGui.WishList.List.Immortality or game.Players.LocalPlayer.PlayerGui.WishList.List.Speed.MouseClick and game.Players.LocalPlayer.PlayerGui.WishList.List.Gold or game.Players.LocalPlayer.PlayerGui.WishList.List.Immortality or game.Players.LocalPlayer.PlayerGui.WishList.List.Speed.MouseClick and game.Players.LocalPlayer.PlayerGui.WishList.List.Gold or game.Players.LocalPlayer.PlayerGui.WishList.List.Immortality or game.Players.LocalPlayer.PlayerGui.WishList.List.Speed.MouseClick then game.Players.LocalPlayer.PlayerGui.WishList.List.Visible = false else return end wait(.1) end

Script end

bye the way this is WAY off, i know because some is underlined blue and it cant detect me clicking three buttons at once but as i said its my best, anyways to explain it a little, basicly just: while true do check for game.Players.LocalPlayer.PlayerGui.WishList.List with every option having "and" because it checks it happening at once. Please help me someone!!! :(

0
im actual doing this on my other account with robux, i just dont trust sites with my password and username., by the way, i know this is very hard, if no one knows how this can be done, then ill find another way, maybe threee place holders, script inside wish button, click wish, disables one placeholder, script detects all disabled then takes away gui Noob189012 1 — 6y
0
Don’t create alts. User#19524 175 — 6y

Locked by User#19524

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

3 answers

Log in to vote
-1
Answered by 6 years ago

hello fellow scripter, it is pretty hard to do what you are requesting for someone to see if possible to do, but maybe the other idea is available and you should try that first before you ask for checking 3 buttons that get clicked. maybe you can creat 3 scripts that are named placeholder1, placeholder2, and placeholder3, and there are scripts in the wish buttons, and when its clicked, it makes that wish unavailable to be clicked again, it disables placeholder1, the other two: one of them is clicked, it disables placeholder 2 and so on...then use a script to keep detecting if all are disabled! this would only work for 3 wish buttons, but its decent start, try this idea before trying anything else more complex, then you can figure out or ask for help to find out how to do this same thing using more wish buttons. thank you.

-Testing1182, experienced scripter using this account to test different ideas and scripting tests.
0
hello, thank you for looking at my problem and giving me an idea, but i am kind of lazy, and for futer experiences, i want to see IF anyone can (no offence) find out the answer to the original idea, then i can use this for the rest of my building career, if nobody can figure this out, then its okay and ill consider your idea testing1182 and accept this as "ANSWERED" :) Noob189012 1 — 6y
Ad
Log in to vote
-1
Answered by 6 years ago
Edited 6 years ago

Hello! i think i might have an answer!!! So maybe what you can do is make three scripts, only one is not disabled (script.Disabled = false), they all say "while true do" and keep checking for a wish button clicked, the enabled one checks for a button clicked, then as testing1182 cleared, you can disable THAT wish from working, then it disables that script after you make a line saiyan

script(check1 or something).Parent(or whatever).Check2.Disabled = false script.Disabled = true

the reason why you disable the first script after is because if you disable it first, it wont execute any more lines of script after that, you might now since you said you have done this for a long time, but just making sure, anyway, the last script (there are 4 scripts) while true do keeps cheking if all are disabled, if true finaly; it says something like all wishe granted, which i guess you can figure out, then make the first check script enabeld aagin for a player to do the wishes again if collects all dragon balls.

psst, get it? i said SAIYAN in my answer XD doo doo doooooo do doo do. XD thank you for your time, i hope this helps!!! :D

  • AnAccount_DontJudge, not as experianced but thinks logicaly and gives helpful, suprising answers XD, i got the experianced conclusion saying my name idea from testing1182. lol
0
plz dont B lzEE ;D AnAccount_DontJudge -2 — 6y
0
so for more than three wished i should make the number of placeholders as wish buttons? thx dude, yeah if i did that it even, one placeholder disables itself and wish, i wanna try what noob is doing too :) Testing1182 28 — 6y
Log in to vote
-1
Answered by 6 years ago

THANK YOU SO MUCH An Account dont judge, Thx, first i will try this out a couple times, then if it works, then ill give credit to you, thats some fast thinking too ;D, thank you. R.I.P Tix

0
by the way i have no doubt this will work :D Noob189012 1 — 6y
0
HEY that was my idea, oh well, i guess its kind of different, oh well gie 50% credit to me tho! Testing1182 28 — 6y