Roblox Studio: How to make a "Drive for cash" system [Tutorial]

Поділитися
Вставка
  • Опубліковано 5 сер 2020
  • In this video im gonna make a Drive For Cash system in Roblox Studio and teach you how to do it. Subscribe if you enjoyed the video :)

КОМЕНТАРІ • 100

  • @kxn1vl
    @kxn1vl 2 роки тому +3

    Thanks man u help me alot

  • @atvarmy2
    @atvarmy2 3 роки тому +7

    Tysm I made the cash give every 1.5 seconds and it works great

  • @MotivationEnrich
    @MotivationEnrich 3 роки тому +3

    Awesome video man 👍

  • @fa1len_beatz179
    @fa1len_beatz179 3 роки тому +3

    nice bro

  • @rainbowdinogaming3765
    @rainbowdinogaming3765 2 роки тому +9

    please give scripts i cant do it ive tried 5 times

  • @Titanium655
    @Titanium655 4 місяці тому +1

    Hi I'm back, when I tested my game with 2 players - P1 and P2, when P1 drove the car, the coins went to P2 instead of P1, how do I fix this?

    • @azerator1819
      @azerator1819  4 місяці тому

      I have never seen this scenario before, maybe the folders got messed up? My script is kinda outdated so that could be causing it.
      You could ask about it on the DevForum or maybe Reddit. Good Luck!

  • @LEnnderRRR
    @LEnnderRRR 11 місяців тому +4

    Hi dude! What to do if roblox studio lags. Here's the situation: I'm making a game that has 15070 parts. I'm making a statue and when I put the enlarged accessory the studio started to lag. I thought it was in the accessory or in the model, but nope. I removed 9k models (optimized 3k) and now there are 5900 models and the lags do not stop. I am making the main office from which it is necessary to escape and it is very difficult to understand exactly where the lag is. But if you enter the game, the ping will be + - 48 (I have it like on an empty baseplate). Help if you know how, it became impossible to make a game because of this. But the lags have decreased by about 35%.

    • @azerator1819
      @azerator1819  11 місяців тому +1

      Hi, idk how to help, maybe try the DevForum or Reddit. They could probably help a lot more.

    • @LEnnderRRR
      @LEnnderRRR 11 місяців тому

      @@azerator1819 I don't think... I'm making a game for the Russian man Immortalius but... in theory I can put everything in one model and put it on another empty baseplate. That's all that came at night. Because it’s very difficult to work not with 60 fps, but with 15 fps.

    • @azerator1819
      @azerator1819  11 місяців тому

      @@LEnnderRRR maybe you could have a plug-in that decreases fps, or it could just be a free model.

    • @EdvardsS
      @EdvardsS 10 місяців тому

      Try to not use Unions if the lag came from an accessory might be the cause of the triangles if the accessory is big. Try to see what could be the issue maybe trees etc.

    • @LEnnderRRR
      @LEnnderRRR 10 місяців тому

      @@EdvardsS In fact, I made an ingroup of the model and the studio started to lag. When I repeated the game it was 2 times. With camera man and helicopter¯\_(ツ)_/¯

  • @axventation
    @axventation 8 місяців тому +1

    Hey dude, so basically is there a way we can make it save? I put a data save script in, it works but it only gives me one payment and not the rest. Please reply to me!

    • @azerator1819
      @azerator1819  8 місяців тому

      Hello there, I haven't really coded in quite a while, I'm sure you could incorporate it into a DataStore script that you could find on UA-cam, I can't really help as I haven't coded in quite some time.

  • @ahmetdagli1045
    @ahmetdagli1045 4 місяці тому +1

    I tried to help as much as I could for those who have problems. If you want, you can use my kit for the video.

    • @azerator1819
      @azerator1819  4 місяці тому

      Thanks for helping! If you want to you can just link your kit, I think mine is getting outdated anyways.

    • @ahmetdagli1045
      @ahmetdagli1045 4 місяці тому

      @@azerator1819 Putting a link under your video is like labor theft. That's why I left this decision to you. I used your kit before and it worked, but it doesn't work properly anymore, so I wrote a new one. I couldn't do it myself 3 years ago, so I bought your kit, thank you.

    • @azerator1819
      @azerator1819  4 місяці тому

      @@ahmetdagli1045 You`re welcome, there have been quite a few Roblox updates since I released this and I don`t code anymore, so over time it`s gonna work less and less.

    • @ahmetdagli1045
      @ahmetdagli1045 4 місяці тому

      @@azerator1819 It's okay, in the future, maybe you can be the same again, maybe even better, I'm not very good either :)

    • @azerator1819
      @azerator1819  4 місяці тому

      @@ahmetdagli1045 We'll see. Have a good day!

  • @frostydagamer5886
    @frostydagamer5886 12 днів тому

    TY for the script! but is there a way when like, you receive more money the faster you go like if you go 300 MPH you receive like 25k+ cash per sec?

    • @azerator1819
      @azerator1819  10 днів тому

      You`re welcome! I honestly don`t know, there is definitely a way to do it, I just can`t think of it right now.

  • @dharro5619
    @dharro5619 3 роки тому +1

    i cant see anything can you pls umm put the script soo i can see it plls thxs

  • @xViperz_Bro
    @xViperz_Bro 2 роки тому +1

    i cant even read half of it for some reason it blurry (pls turn ur mic up)

  • @user-hx5kx4kg7c
    @user-hx5kx4kg7c 2 роки тому +1

    ok

  • @Dzsadrian
    @Dzsadrian 2 роки тому +2

    I didnt work I go to car but 0cash only

  • @cidiplays7090
    @cidiplays7090 3 роки тому +2

    how did you change the A-Chassis Gui

    • @azerator1819
      @azerator1819  3 роки тому +1

      I used an A-chassis plugin, it was the forza gui thingy

    • @mysteriousxeno224
      @mysteriousxeno224 3 роки тому

      @@azerator1819 Oh yes, car gauges.

  • @Janzzo
    @Janzzo 3 роки тому +1

    Make A Car Lock like jailbreak

  • @Fexalan
    @Fexalan 11 місяців тому

    hey does this still work? the humanoid thingy doesnt autocomplete when im scripting

    • @azerator1819
      @azerator1819  11 місяців тому

      honestly I have no clue, I haven`t coded in like 2 or 3 years.

    • @MetehanOffical
      @MetehanOffical 11 місяців тому

      yep still work

    • @azerator1819
      @azerator1819  11 місяців тому

      @@MetehanOffical good to know. Thanks!

    • @MetehanOffical
      @MetehanOffical 11 місяців тому

      @@azerator1819 np :)

    • @mrjamp9549
      @mrjamp9549 11 місяців тому

      @@MetehanOffical it doesnt work for me

  • @roberts312
    @roberts312 Рік тому

    money saves when u rejoin or no reply pls

    • @axventation
      @axventation 8 місяців тому

      did u ever figure it out

  • @Ato-yk6mc
    @Ato-yk6mc 2 місяці тому +1

    StarterGui
    wait(4)
    while wait(0.5) do
    if game.Players.LocalPlayer.Character.Humanoid.Velocity.Magnitude >= 50 and game.Players.LocalPlayer.Character:waitforchild("humanoid").sit == true then
    wait(0.2)
    game.ReplicatedStorage.GiveCash:FireServer()
    end
    end
    - -
    ServerscriptService
    game.ReplicatedStorage.GivesCash.OnServerEvent:Connect(function(plr)
    plr.leaderstats.Cash.Value = plr.leaderstats.Cash.Value + plr.Character.HumanoidRootPart.Velocity.Magnitude / 5
    end)

  • @ManojKumar-zj9ny
    @ManojKumar-zj9ny 10 місяців тому

    cash option is coming but while driving the cash don't comes

    • @azerator1819
      @azerator1819  10 місяців тому

      Sorry i can't really help, i haven't coded in a few years.

  • @mikulz
    @mikulz 2 роки тому +1

    how to make with data store

    • @axventation
      @axventation 8 місяців тому

      did u ever figure it out

  • @GTAdurite
    @GTAdurite Місяць тому +1

    Here are the scripts:

  • @TedeaclipsNL
    @TedeaclipsNL 3 роки тому

    script?

  • @gloz6662
    @gloz6662 3 роки тому +1

    plz make script when you crash car you get cash for that im making car crash game

  • @rensbrouwer5356
    @rensbrouwer5356 3 роки тому +1

    u dutch?

  • @mangodinyo
    @mangodinyo 3 роки тому +1

    it wont working you should make new version

    • @azerator1819
      @azerator1819  3 роки тому +2

      I use a very similar version on my game which works well, you should check the code for any mistakes

    • @mangodinyo
      @mangodinyo 3 роки тому +1

      @@azerator1819 yeah there is a mistake you forgot too just add Waitforchild:("Humanoid")

    • @azerator1819
      @azerator1819  3 роки тому +1

      @@mangodinyo oh, i didn`t notice that, the code i used for my game is quite old and i had to re write this almost from scratch. Thanks for pointing that out.

    • @mangodinyo
      @mangodinyo 3 роки тому +1

      @@azerator1819 No problem, thank you too for giving the code.

    • @krypton_music
      @krypton_music 3 роки тому

      @@mangodinyo where exactly do we put that in?

  • @alysohnh
    @alysohnh Рік тому

    hi are you still alive ?

    • @azerator1819
      @azerator1819  Рік тому

      Yes, I`m alive and well, thanks for asking! I just don`t feel like making videos and I also don`t really have the time for them.

  • @wednesdayaddamsofficial563
    @wednesdayaddamsofficial563 2 роки тому

    not working bro.

  • @Abdelrahman851
    @Abdelrahman851 Рік тому +1

    how to add miles at this

    • @azerator1819
      @azerator1819  Рік тому +1

      Hi, sadly I can`t really help a lot with that, but I`m assuming you can add an extra value that increases along with the cash every stud the player travels, then you can convert the studs to miles, or give a mile a value of like 1000 studs.

    • @Abdelrahman851
      @Abdelrahman851 Рік тому +2

      @@azerator1819 k,thanks btw about this script

    • @azerator1819
      @azerator1819  Рік тому +1

      ​@@Abdelrahman851 You`re welcome.

    • @YaroslavVm
      @YaroslavVm Рік тому

      @@azerator1819 When is the new video?(

    • @azerator1819
      @azerator1819  Рік тому +1

      @@YaroslavVm idk, I don`t really feel like making videos any time soon. But thanks for the question.

  • @BehindCrime_Roblox
    @BehindCrime_Roblox 3 роки тому

    respond to this comment please, by copy and pasting the script.

    • @azerator1819
      @azerator1819  3 роки тому

      I sadly don`t have the script anymore, sorry.

  • @Titanium655
    @Titanium655 4 місяці тому +1

    It doesn't work

    • @azerator1819
      @azerator1819  4 місяці тому

      If you wrote the script correctly and it still dosen`t work then the script could be outdated, as I haven`t coded in quite some time, I don`t think I can help sadly. You could check the DevForum for an answer.

  • @BlueOutline
    @BlueOutline 3 роки тому +1

    dude i cant hear you lol

    • @azerator1819
      @azerator1819  3 роки тому

      Sorry about that, if i have time to make new videos i will use my new headset.

    • @BlueOutline
      @BlueOutline 3 роки тому

      @@azerator1819 okay, but can you make this a improve version of this. for some reason is doesn't work for me

    • @azerator1819
      @azerator1819  3 роки тому

      @@BlueOutline there may be an issue with your code, my game uses this exact script and functions just like shown

    • @BlueOutline
      @BlueOutline 3 роки тому

      @@azerator1819 I did, I copy the code from your game and it doesn't work for me

    • @azerator1819
      @azerator1819  3 роки тому

      ​@@BlueOutline Do you have the leaderstats script? If not then you can get it from the previous video i made.

  • @usestarcode_bacon061bacon6
    @usestarcode_bacon061bacon6 3 роки тому +1

    script plss

    • @azerator1819
      @azerator1819  3 роки тому

      I forgot to post it, and i don't have the unmodified script anymore, so you'll probably have to write it yourself. It's not that hard and if it doesn't work you can ask me or scriptinghelpers.org good luck!

    • @alek9194
      @alek9194 3 роки тому

      @@azerator1819 Do you use blender to make cars? That ferrari looks nice.

    • @azerator1819
      @azerator1819  3 роки тому

      @@alek9194 it's a model i got from a friend or the workshop thingy, i don't remember.
      I have used blender in the past but never made cars in it...

    • @alek9194
      @alek9194 3 роки тому

      @@azerator1819 Okay, it was a nice model

    • @alek9194
      @alek9194 3 роки тому

      Nvm, found it lol

  • @contadelin8368
    @contadelin8368 Рік тому

    Please a script

    • @azerator1819
      @azerator1819  Рік тому

      I`m not entirely sure what you mean by that, do you want the script pasted?

    • @contadelin8368
      @contadelin8368 Рік тому

      @@azerator1819 yes

    • @azerator1819
      @azerator1819  Рік тому

      @@contadelin8368
      wait(4)
      while wait(0.5) do
      if game.Players.LocalPlayer.Character.Humanoid.Velocity.Magnitude >= 50 and game.Players.LocalPlayer.Character:waitforchild("humanoid").sit == true then
      wait(0.2)
      game.ReplicatedStorage.GiveCash:FireServer()
      end
      end
      I think this should be it, but be sure to double check as I could have made a typo somewhere.

    • @contadelin8368
      @contadelin8368 Рік тому

      @@azerator1819 thaks

    • @azerator1819
      @azerator1819  Рік тому +1

      @@contadelin8368 you're welcome.