ROBLOX Scripting Tutorial - Case Clicker Game - androidgamestore.net

ROBLOX Scripting Tutorial – Case Clicker Game

FollgumRBLX
Views: 12156
Like: 181
Apologies for the audio quality and the loud keyboard sounds :/
Subscribe and like if this helped!
Leave suggestions for scripting tutorials in the comments.
Uncopylocked place:
Items:

36 Comments

  1. Its been a while glad to see you've uploaded again

  2. If you want a datastore then here you go.

    local datastore = game:GetService("DataStoreService")

    local data = datastore:GetDataStore("data")

    game.Players.playerAdded:Connect(function(player)

    local leaderstats = Instance.new("Folder")

    leaderstats.Name = "leaderstats"

    leaderstats.Parent = player

    local cash = Instance.new("IntValue")

    cash.Name = "Cash"

    cash.Parent = leaderstats

    local datas

    local success, errormessage = pcall(function()

    datas = data:GetAsync(player.UserId.."-cash")

    end)

    if success then

    cash.Value = datas

    else

    print("The data was not saved while trying to get it!")

    warn(errormessage)

    end

    end)

    game.Players.PlayerRemoving:Connect(function(player)

    local success, errormessage = pcall(function()

    data:SetAsync(player.UserId.."-cash",player.leaderstats.Cash.Value)

    end)

    if success then

    print("Data has been saved!")

    else

    print("The data has not been saved!")

    warn(errormessage)

    end

    end)

  3. Hey i was wondering how to make an "upgrade" system that when u upgrade u get more money and luck

  4. How would I make it so it takes the $100 right away instead of waiting for the case roll to be over. I noticed that as long as you have $100 (during the case rolling) you can just spam the OpenCase button, earning multiple items for the price of 1.

  5. You forgot Trading. Upgrades. Being able to wear your items. Rap/Networth. Also this type of basic stuff shouldn't take this long

  6. Amazing vid, but how would i go about making the items and inventory save?

  7. I think you should speak louder i can bearly hear you

  8. hey can you add me on discord, i have a question about scripting…..iNathanDev#7544

  9. Can anyone send the scripts for this it will be greatly appreciated

  10. I have error in 2nd line what should I do ?

    plr = game.Players.LocalPlayer
    cash = plr.leaderstats.Cash

    script.Parent.MouseButton1Click:Connect(function()
    game.ReplicatedStorage.clickForCash:FireServer(plr)
    end)

  11. well done bro i added a lot of more items for few days i made it really good

  12. Hey, i know this video is old and all, but i was wondering if you can, can you teach us how to add more cases because i seen the comment you replied too, and i dont understand how to do it and i already tried.. Thank you 🙂

  13. im in history class rn. its 04/12/2020 the time is13:23 and im looking for a video that teaches me how to script a clicker game. i havent watched it yet but i will when i get home. this is just a mark, ill leave it in another tab.

  14. how do you add more items in a case
    and how do you add more cases

  15. hey idk if u still do yt just wonder where do u check the item id where do u go to check it plus where to check the decal of the item ? and do u use how much it cost at the values table? thanks.

  16. Tysm so much I added a lot to this and it looks rlly good

  17. Rip this was his last video uploaded to YouTube…

Leave a Reply

Your email address will not be published.