How To Make A Click Button WITH A GUI Click Counter!

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 242

  • @jplok808
    @jplok808 14 дней назад +3

    tysm! I love how you explain what the script means that way we can know for later and be able to fix mistakes in the code.

  • @1nonlyLamarr
    @1nonlyLamarr 10 месяцев назад +9

    WOW NICE VIDEO! short script that anyone can do, can explain, can make people understand! You are amazing

    • @1nOnlyRed.
      @1nOnlyRed. 10 месяцев назад +1

      well well well

    • @1nOnlyRed.
      @1nOnlyRed. 10 месяцев назад +1

      like a moth to a flame

    • @1nonlyLamarr
      @1nonlyLamarr 10 месяцев назад

      lol@@1nOnlyRed.

  • @NiceCheem
    @NiceCheem 2 месяца назад +3

    This guy is goateed it work!😃

  • @NoobRBLX6969
    @NoobRBLX6969 3 месяца назад +18

    game.Players.PlayerAdded:Connect(function(player) local = leaderstats.new('Folder' . player)leaderstat.Name = 'Leaderstats' local clicks = Instance.new('IntValue'. leaderstats) clicks.Name ='Clicks'clicks.Value = 0 end)

    • @NoobRBLX6969
      @NoobRBLX6969 3 месяца назад +2

      Pls like this takes so long to copy

    • @NoobRBLX6969
      @NoobRBLX6969 3 месяца назад +1

      script.parent.MouseButton1Click:Connect(function( )local plr = game.Players.LocalPlayer local clicks = plr:WaitItForChild('Leaderstats'): WaitItForChild('Clicks') clicks.Value = clicks. Value + 1 script.Parent.Parent.ClickDisplay.Text = clicks.Vaule end)

    • @NoobRBLX6969
      @NoobRBLX6969 3 месяца назад +2

      Bru that took forever

    • @AlreadyJoshua
      @AlreadyJoshua 2 месяца назад +2

      @@NoobRBLX6969 theres a mistake you wrote value wrong (at the end)

    • @vidyah1179
      @vidyah1179 22 дня назад +1

      bro u can just write the script in studio then copy in the studio then paste it on youtube

  • @creativityforinfinity
    @creativityforinfinity Месяц назад +1

    good job you are very talented and helpful thanks alot

  • @Audrey-AnnCayemitte
    @Audrey-AnnCayemitte Год назад +4

    New subb! Such a underatted scripter!

    • @somerandumscripter
      @somerandumscripter  Год назад

      Thank you so much!!!!

    • @ShdwXX-i3i
      @ShdwXX-i3i 7 месяцев назад

      @@somerandumscripter thats not the real solara discord, but that fake solara is a trogan that steals info

  • @Gabe-nx1bz
    @Gabe-nx1bz 4 месяца назад +2

    my man... u deserve my sub

  • @reality3070
    @reality3070 6 месяцев назад +4

    Quick tip, on both the Leaderstats and GiveClicks script, edit the "Leaderstats" name to be "leaderstats" this way it will be on the top right leaderboard too. (the L has to be lowercase)

  • @Geebsa
    @Geebsa 8 месяцев назад +2

    Tysm dawg. Needed this

  • @enzoorlando-ni6dj
    @enzoorlando-ni6dj 6 месяцев назад

    sheesh!! This is really useful for my game. Tyyy!!!

  • @ItzSugarTree
    @ItzSugarTree 7 месяцев назад +1

    Thanks bro it works

  • @somebodyproduction
    @somebodyproduction Год назад

    Amazing content my guy. One more sub to the youtube algorithm.

  • @stephen5070
    @stephen5070 8 месяцев назад +2

    Made any puzzle games yet? Nice video.

  • @Stitchds
    @Stitchds 7 месяцев назад +3

    Thank youuu!!!! It really worked !! I was searching for a video like this for 2 days.. But.. theres one thing i wanna make both of them function but have different parents , so.. can you help in how to do that?

  • @nazrat8and2cubed
    @nazrat8and2cubed 4 месяца назад +3

    i watched the vid like 3 times and i dont know what im doing wrong :( next time you should add the script in the description so we can copy and paste it to our game

    • @barrypollock1009
      @barrypollock1009 4 месяца назад

      yes

    • @ThatDudeJamal
      @ThatDudeJamal 3 месяца назад

      It's better to write it yourself than just copy and pasting, If you paste your scripts I can help.

  • @jacobthemanW
    @jacobthemanW 10 месяцев назад

    Tysm bro, worked

  • @HuShyS
    @HuShyS Год назад +2

    Hey Man great video, I wanted to reach out and ask how do I make a leaderboard with all players in the server like in the top right next to peoples games.

  • @leafring767
    @leafring767 10 месяцев назад

    TYSM,you just received a subscriber and a like

  • @BradynWallace
    @BradynWallace 11 месяцев назад +4

    Everything worked except when I clicked button the value didn’t change

    • @JimboUI33333
      @JimboUI33333 10 месяцев назад

      EXACTLY

    • @splashy2152
      @splashy2152 3 месяца назад

      script.Parent.MouseButton1Click:Connect(function()
      local plr = game.Players.LocalPlayer
      local clicks = plr:WaitForChild('leaderstats'):WaitForChild('Clicks')

      clicks.Value = clicks.Value + 1
      script.Parent.Parent.TextLabel.Text = clicks.Value
      end)
      you probably didn't type it in correctly :)

    • @Ljossop
      @Ljossop 3 месяца назад

      @@splashy2152 they said VALUE not COUNTER

    • @Ljossop
      @Ljossop 3 месяца назад

      Make sure to use the leaderstats name when getting the variable instead of the script name

  • @LSI_Studios
    @LSI_Studios Год назад +1

    This solved a lot of my problems

  • @B.I.G._11
    @B.I.G._11 Год назад

    nice and compact vid

  • @alferwxproductions
    @alferwxproductions 4 месяца назад +4

    5:50 I dont have a folder named Leaderstats

  • @joyfullu65
    @joyfullu65 6 месяцев назад

    it works perfectly fine TY

  • @I_am_aguy.
    @I_am_aguy. 4 дня назад

    The folder wasn’t appearing in my character, and it just didn’t work

  • @baskjf
    @baskjf 7 месяцев назад

    Thank you so much!

  • @WhyAreYouReadingThis000
    @WhyAreYouReadingThis000 11 месяцев назад

    FINALLY tysm

  • @dvlphiinx6011
    @dvlphiinx6011 4 месяца назад

    thanks you ar the best

  • @FlorinelPuiShangai
    @FlorinelPuiShangai 6 дней назад

    omg tysm bro can you help me make a gamepass Gui and a gamepass that gives you x2 money?

  • @gamingrdr
    @gamingrdr 8 месяцев назад

    omg lol i didnt know how to use emojis on windows lol thx

  • @JT_21
    @JT_21 Год назад

    THANK YOU SO MUCH

  • @angxlic_jjk
    @angxlic_jjk Год назад +1

    TYSM i found this very helpful

  • @Ljossop
    @Ljossop 3 месяца назад

    I was adding an image for the currency and beforehand I uploaded it to Roblox but then I realised you just have to upload from your PC lol

  • @lacinyerks
    @lacinyerks Год назад

    dope explanation

  • @HiddenedHunter
    @HiddenedHunter 11 месяцев назад

    your the best scripter i ever seen keep it up

  • @realwoodyyt
    @realwoodyyt 11 месяцев назад

    Thanks!

  • @bizuti2.055
    @bizuti2.055 Год назад

    tks for the help lil bro

  • @titan_tv_man-y7c
    @titan_tv_man-y7c 3 месяца назад

    omg thanks

  • @cheeseyay22222
    @cheeseyay22222 6 месяцев назад +4

    There is no leader stats folder with clicks on the player

  • @jackie_boy28
    @jackie_boy28 4 месяца назад

    my left ear LOVES the beeping! 🗣

  • @BodaAskar2100
    @BodaAskar2100 9 месяцев назад

    THX MUCH HERE A SUB AND LIKE "you pro scripter btw"

  • @smurfcatkade
    @smurfcatkade 3 месяца назад

    why isnt the display thing going up when i click the button? Im very confused so if you know please tell me.

  • @Spolyi00
    @Spolyi00 3 месяца назад +2

    if anyone see this can yall help me when i try click i dont say 1 on the leaderboard stats??

    • @ThatDudeJamal
      @ThatDudeJamal 3 месяца назад +1

      You mean it's not giving you coins? Can you show your scripts I can help.

    • @Spolyi00
      @Spolyi00 3 месяца назад +1

      @ThatDudeJamal I mean when you click the button I don't say 1 or 2 clicks on the leaderboard clicks!

    • @Spolyi00
      @Spolyi00 3 месяца назад +1

      @ThatDudeJamal do u have discord I can show you my script!

  • @anxiouspole
    @anxiouspole Год назад +1

    im not here for the title, im here to learn and combine new things there but thanks

  • @Monkeydavizz
    @Monkeydavizz 25 дней назад

    guys if its not working then change all the leaderstats in the script to lower case l like "leaderstats" then it will work.

  • @GreenQuietKid
    @GreenQuietKid Год назад +3

    your the best tysm

  • @Frosty_boy99
    @Frosty_boy99 5 месяцев назад

    It works

  • @BloxyMANS
    @BloxyMANS Год назад

    helped me, thank you!

  • @king.vr102
    @king.vr102 9 месяцев назад

    it works, but the text label part doesn’t go up for me. Can you make a video about fixing that? Thanks!

    • @koozzaa1
      @koozzaa1 9 месяцев назад

      same idk how to fix it

    • @LeonPs99
      @LeonPs99 6 месяцев назад

      Same

    • @LeonPs99
      @LeonPs99 6 месяцев назад

      But it was 1 yr ago

  • @Une.touchfootball
    @Une.touchfootball 6 месяцев назад +2

    HOW TO GET CLICKS?

  • @Squeaky_Squash
    @Squeaky_Squash 2 месяца назад

    It won’t work? I’ve tried several times I don’t now what I’m doing wrong

  • @DentedchunckNews
    @DentedchunckNews 9 месяцев назад +1

    How do i turn this into a leaderboard?

  • @RecroomAiden
    @RecroomAiden 10 месяцев назад

    So once I joined my game to test it in roblox studio I first get in see a white screen and get back to the localscript page

    • @RecroomAiden
      @RecroomAiden 10 месяцев назад

      Now says Rendering is paused for debugging...

  • @SuperCheese99
    @SuperCheese99 Год назад

    thanks for the help

  • @SonOfKerro
    @SonOfKerro Год назад

    I dont understand but this is my second tutorial today that I have copied EXACTLY bit by BIT and still doesnt work at all. do you know any reason for this?

    • @SonOfKerro
      @SonOfKerro Год назад

      Note: I have checked everything. Ive checked all the scripts are in the right place, they have the same parents, they have the exact script, the only difference that I can see is that mine has a light gray line on the left side and yours doesnt

    • @GalaxyWolf5346
      @GalaxyWolf5346 Год назад

      The button works and the click counter works but it doesn't show up in the leaderboard (for me)

    • @JahamesDoesThings196
      @JahamesDoesThings196 8 месяцев назад

      oh yea same! i hate doing this! do you to??

  • @mffMC
    @mffMC 9 месяцев назад +1

    yo, is there a way to make is so if the value goes above 10, it disconnects u from the game?

    • @ShdwXX-i3i
      @ShdwXX-i3i 7 месяцев назад +1

      sure, this is an example of that, put it in the script in the MouseButton1Click Section!
      if clicks.Value == 11 then
      plr:Kick("You were over the value of ten!")
      end

    • @Litzr
      @Litzr 6 месяцев назад +1

      @@ShdwXX-i3i which area?

  • @Xmrskullz
    @Xmrskullz 7 месяцев назад +1

    I followers every step u need to get rid if uniqueld it hard💔 I asked my mum to do the scripts and it worked I followers every step!

  • @LeonPs99
    @LeonPs99 6 месяцев назад +1

    So only the gui showing how much i have didnt work😢 the best part😢😢

  • @loco12330
    @loco12330 3 месяца назад

    where is the starter gui thing?

  • @wizarddddddddddd
    @wizarddddddddddd 6 месяцев назад

    If you can make a video about it I want to make a game that is using a voting system and I have no Idea how to limit the click to one vote each person

  • @DevAurora1st
    @DevAurora1st 7 месяцев назад

    the bar on the side which tells you ur clicks doesn't work.

  • @ClownerYT
    @ClownerYT 10 месяцев назад

    How do I make it so if i click a part it goes up?

  • @Bradley_TL
    @Bradley_TL Год назад

    Do you know how to add an emoji right next to the counter within the local script? I can't seem to figure out how

    • @JvnDzy
      @JvnDzy Год назад

      You could add a image label with a decal of a emoji or a image decal and make something in procreate photoshop photo pea etc.

    • @LeonPs99
      @LeonPs99 6 месяцев назад

      Hold windows button and press the dot ‘.’

  • @Zv0aa1
    @Zv0aa1 2 месяца назад

    ive tried over 20 time it stll aint work

  • @LucasPLaysRoblox2
    @LucasPLaysRoblox2 11 месяцев назад

    it gave me this error: Player is not a valid member of DataModel "Game"

    • @Kingcle
      @Kingcle 10 месяцев назад

      Make sure you didn’t capitalise “player”

  • @Charlies_wrld_
    @Charlies_wrld_ 4 месяца назад

    Does this save in the game or no

  • @Pierson_Hankel
    @Pierson_Hankel 8 месяцев назад

    TYSM

  • @priyankawanjari2143
    @priyankawanjari2143 6 месяцев назад

    It did not work for me How do i make it a cooldown?

  • @MaxxyRoblox
    @MaxxyRoblox 10 месяцев назад

    alternatave title "How To Make A Clicking Simulator In Roblox Studio"

  • @Znc123
    @Znc123 Месяц назад

    Bro I had to do all that work for nothing it didn't work

  • @the_awesome_noob
    @the_awesome_noob 9 месяцев назад

    how do we get data saving for the clicks display when i leave the game i get my clicks gone

    • @Blade_BOT
      @Blade_BOT 7 месяцев назад

      API services

    • @LeonPs99
      @LeonPs99 6 месяцев назад

      Go to game settings and security after that api services

  • @noahbrink4132
    @noahbrink4132 9 месяцев назад

    my click value did not go up can i get some help?

  • @rfx1224
    @rfx1224 5 месяцев назад

    cant get the clicker counter to work

  • @Jarredpogi0026
    @Jarredpogi0026 3 месяца назад

    well you need to add cooldown

  • @TannIsAnAbsoluteLegendTBH
    @TannIsAnAbsoluteLegendTBH 11 месяцев назад +1

    did not work for me sorry

  • @KYotuA12
    @KYotuA12 3 месяца назад

    is he genius or just dedicated?

  • @RealYoro
    @RealYoro 6 месяцев назад

    It works, I just tried it, make SURE that your letters and capitalized just as his are.

  • @AndrewCastillo-qc8fd
    @AndrewCastillo-qc8fd Год назад +1

    What’s the song?

  • @bready125
    @bready125 8 месяцев назад

    Hey where is clicks thingy I only get click detector 🤔

  • @NOVAVRYT
    @NOVAVRYT 4 месяца назад

    can someone reply with a saving script for this? to save the clicks

  • @MoistFN
    @MoistFN 5 месяцев назад

    the script did not add the click for me btw

  • @piotrkarwecki535
    @piotrkarwecki535 10 месяцев назад

    I checked twice and I did it the same but it wont work

  • @lithuanianmapper
    @lithuanianmapper 9 месяцев назад

    What is a period button

  • @SMO5395
    @SMO5395 7 месяцев назад

    I tryed it did not work

  • @carlthenpc716
    @carlthenpc716 11 месяцев назад

    i wanna make it a image button not a text button

    • @somerandumscripter
      @somerandumscripter  11 месяцев назад

      then make an image button? i added a text button and used an emoji.

  • @prankychris97385
    @prankychris97385 8 месяцев назад

    5:43

  • @LucasPLaysRoblox2
    @LucasPLaysRoblox2 11 месяцев назад

    doesn't work the text label

  • @V3nxIsHere
    @V3nxIsHere 11 месяцев назад +1

    its not working i did everything right

  • @butter5660
    @butter5660 11 месяцев назад

    It didn't work for me :(

  • @ZCVX7789
    @ZCVX7789 Год назад

    Its not working beacuse i don't know how to make scripts

  • @williamandersen9349
    @williamandersen9349 Год назад

    it did not work for me it wont go up and i did everthing right

    • @Patrezk
      @Patrezk 6 месяцев назад

      same

  • @SRFROGGY
    @SRFROGGY 7 месяцев назад

    Muito top, sou de outro país mais entendi tudo ksksksksksk

  • @Kayla_Oks_Tv
    @Kayla_Oks_Tv Год назад +1

    for me it doesn't work

  • @Zv0aa1
    @Zv0aa1 2 месяца назад

    it didint work:(

  • @Iamgrapevr
    @Iamgrapevr 9 месяцев назад

    can you pls put the script in comments its not working for me

  • @myrahkhushipadaruth7272
    @myrahkhushipadaruth7272 Месяц назад

    are you a kid bc u are way too smart

  • @Cracked1210
    @Cracked1210 11 месяцев назад

    THE LEADER DONT MOVE BRUH

  • @ALEX_MX2
    @ALEX_MX2 Месяц назад

    Guys it is ' not"

  • @LucasPLaysRoblox2
    @LucasPLaysRoblox2 11 месяцев назад

    the text label doesn't work*

    • @Yousef_m3
      @Yousef_m3 10 месяцев назад

      U have to use a text button

    • @Kingcle
      @Kingcle 10 месяцев назад

      @@Yousef_m3no??

    • @NotPurplistt
      @NotPurplistt 9 месяцев назад

      @@Yousef_m3 no you do np0t.

    • @LeonPs99
      @LeonPs99 6 месяцев назад

      @@Yousef_m3i tried that too but didnt work aswell

  • @Jarrenmx
    @Jarrenmx Год назад

    yal is good but there is any copy paste for those pls?

    • @GlizzyYTGG
      @GlizzyYTGG 10 месяцев назад

      no
      i need one too

  • @BlueAxo778
    @BlueAxo778 Год назад

    why does it not work