How to Make a Button That Gives Players Money - Roblox Studio Tutorial

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • In this video I show you how to set up a button that you can click to give you money in your Roblox game! Great for simulator games, clicker games, or any game where you want to annoy your players! Let me know if you want to see anything else related to this video!
    Link to Code:
    www.mrmichaels...

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

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

    Thanks for this tutorial man. I'm currently making one of those little joke games and even though I don't know how to code, this helped a lot.

  • @RowDangerRoblox
    @RowDangerRoblox 2 года назад +1

    Yo, thx man! This really helps to my clicking simulator game!

  • @sft_ale_
    @sft_ale_ 2 года назад +1

    Hiii your videos are amazing!! I would love it if you could make a video on how to make a game store that works with the game points it would be amazing!! I love the way you explain it, it is always clear!

  • @TheJimmyCartel
    @TheJimmyCartel 2 года назад +1

    If you know how, could you please make a tutorial for a script that gives cash for each part you break offa model? (Breaking welds on a model and having pieces fall off using a bomb or rocket launcher) can't find ANY tutorials for it and have looked for DAYS. I want players to earn cash as they break pieces off of buildings. THANKS!!

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

    Could you do this, but it also updates the leaderstats?

  • @Mr.Konstig
    @Mr.Konstig 2 года назад +1

    Hello! How can I add a datastore to the clicks?? Great video btw. :)

  • @just-_-tostimuis1253
    @just-_-tostimuis1253 3 года назад +1

    Hi! If you go to lick to Code if you copy the scripts there will be a empty line under each line of text ITS SO ANNOYING and bcs of that it doesnt work

    • @TechwithMikeYT
      @TechwithMikeYT  3 года назад

      Hi! I can see if I fix the extra lines, but it doesn't affect the code. Check the output while the game is running to see if you have any error messages.

    • @just-_-tostimuis1253
      @just-_-tostimuis1253 3 года назад

      @@TechwithMikeYT okay, thank you ill go in studio and see if it works

  • @TheDragonDays
    @TheDragonDays 2 года назад +1

    I LOVE YOUR VIDEOS, TYSM :3, One Thing To Ask.... Can we make a pass that will give no delay meaning normal player will have delay when they press the button but if you buy the pass it will give no delay!! Please make a tutorial!!!

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

    it doesnt work. i cklick the button but it doesnt increase. please help

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

    mike i tried everything and i copied everything you done its all great expect when i click it stills zero there no errors or soemthing is something wrong with the script? please respond

  • @trixiz8647
    @trixiz8647 2 года назад

    PLEASE HELP ME! ive been doing this for a whole hour now. FireServer can only be called from client

  • @0josslynrose0
    @0josslynrose0 2 года назад

    "Infinite yield possible on 'ReplicatedStorage:WaitForChild("ClickEvent")'" came to the output
    i even copy and pasted the code in the desc to double check and still that
    edit: i fixed it. i didnt know that there had to be a clickevent in replicated storage. mike probably shouldve mentioned that (or he did and i was just stupid)

  • @youtubefps_zap0916
    @youtubefps_zap0916 2 года назад +1

    can you make it like that instead the money shows into a button it shows on to a frame

  • @B4NG3W
    @B4NG3W 2 года назад

    my error is "game.Workspace.DoNotMove.Select.Highlight.Position = Vector3.new(mouse.Target.Position.X, mouse.Target.Position.Y, mouse.Target.Position.Z)" i dont know how to fix it

  • @FlAkEy_ChIcKeN
    @FlAkEy_ChIcKeN 2 года назад

    You got any video that is like adopt me where it gives you a pop up every couple minutes and you earn money from it?

  • @nutsch1
    @nutsch1 3 года назад +1

    Super cool i can script

  • @hexyedev1336
    @hexyedev1336 2 года назад

    can you helpme? It is saying (for the local script file) that local clickEvent = ReplicatedStorage:WaitForChild("clickEvent") is a possible infinite yield

  • @KoenDev
    @KoenDev 3 года назад +1

    Yo thx

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

    I know this is a year old but its not working for some reason

  • @Veramyx5910
    @Veramyx5910 2 года назад

    How do I make a button part that gives the players the money?

  • @preClaimYT
    @preClaimYT 2 года назад

    Can you make a store fore the money from clicks?

  • @RowDangerRoblox
    @RowDangerRoblox 2 года назад

    I also have 1 question, if you know how, how do you make a shop out of this?

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

      I was wondering that 😕

  • @Aspect11100
    @Aspect11100 2 года назад

    I have one question... Does this work with a frame that dissapears and appears every 300 seconds? I did it all perfectly and the Bucks:0 is so tiny and its in the midle of the frame. I want the Bucks:0 label be on the bottom.

  • @yellow4602
    @yellow4602 3 года назад

    wowowow thanks!

  • @Super0266
    @Super0266 3 года назад +1

    How do you make it so it saves?

    • @Dawgstonn
      @Dawgstonn 2 года назад

      Make a data table, unfortunately this guy doesnt do that in his videos. It would be really helpful but...

    • @TechwithMikeYT
      @TechwithMikeYT  2 года назад

      I don't do it for every video because that would be redundant. I have data store videos that you can use.

    • @Dawgstonn
      @Dawgstonn 2 года назад

      @@TechwithMikeYT I know, but alot of people dont know how to put two together.

  • @YoungShifterVR45634
    @YoungShifterVR45634 2 года назад

    it dont work for me

  • @TheDragonDays
    @TheDragonDays 2 года назад

    @Tech with Mike It didnt work

  • @sambot_rules
    @sambot_rules 2 года назад

    it says error with the FireServer
    how to fix?

    • @youtubefps_zap0916
      @youtubefps_zap0916 2 года назад

      read the script eal good like check capitals or dots and stuff

  • @cheeyew4932
    @cheeyew4932 2 года назад

    best yt

  • @RyqalEsqandarZyree
    @RyqalEsqandarZyree 3 года назад

    oOoOO is this a reference to click this part to get cash?

    • @TechwithMikeYT
      @TechwithMikeYT  3 года назад

      Yeah it could be a different version of that. A lot of people were asking for a button version.

    • @RyqalEsqandarZyree
      @RyqalEsqandarZyree 3 года назад

      Ohh ok

  • @parrots_14
    @parrots_14 3 года назад

    how do i make it so instead it gives, it removes

    • @TechwithMikeYT
      @TechwithMikeYT  3 года назад

      On the server script change += to -=

    • @TechwithMikeYT
      @TechwithMikeYT  3 года назад +1

      It is the minus sign if it is hard to tell. The number on the right side is the amount

  • @baseball_8610
    @baseball_8610 2 года назад

    how do i make a gui appear that shows how much money I was given?

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

    Hi

  • @tiosamuel5742
    @tiosamuel5742 3 года назад

    Hey!

  • @asztraa
    @asztraa 3 года назад

    early?

    • @jacehi2u
      @jacehi2u 2 года назад

      hey it's a RUclipsr that has 200k subs with no likes

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

    This is prob outdated....

  • @definitelynot_me9851
    @definitelynot_me9851 3 года назад

    mine wont work and i did everything you did :(

  • @cowgaming7435
    @cowgaming7435 2 года назад

    This dudes crap I know a line with 3 code with legit no events bro

  • @FungusUnited
    @FungusUnited 3 года назад

    2ND

  • @69uhhmoan
    @69uhhmoan 3 года назад

    Hi