In this Roblox Studio Tutorial, I will show you guys how to create a working coin system inside of Roblox Studio! Press ...more for more useful information
Script to the system: https://pastebin.com/mYHT980e
^Won't work unless you modify the script under your coin (shown in tutorial)
Coin used inside the tutorial: • Roblox How To | Hold E to Collect Coin (Mu...
*This coin system will work with any coin you have, as long as you have the following:
IntValue called "CoinAmount" inside the workspace
A coin inside the Replicated Storage called "Coin"
A few lines of code inside your "Coin" script that decreases the IntValue "CoinAmount" by 1 when the "Coin" is collected
This coin system will include the following:
Function to spawn any # of coins
Position placement where you can choose an area for the coins to spawn in
Spawn in more coins once a certain amount of coins have been collected/are left in the game
Join the discord server if you have any questions!
My Discord server: / discord
Make sure to like and subscribe if you enjoyed it or if this video helped :)
Music License: https://www.bensound.com/
Music License 2: https://creativecommons.org/licenses/...
Music Used (In Order):
Chill Music Bundle from 0:00 - 7:01
*Link not available
Tobu - Candyland
• Tobu - Candyland
Outside - AJR (Outro)
*Link not available
Chapters:
0:00 Intro
0:33 Coin Amount IntValue (Track # of coins)
1:33 Coin spawn area (Where the coins will spawn)
1:45 Scripting the Coin Spawning System
7:15 Modify Coin Collecting script
7:52 Showcase
8:53 Modify amount of coins that spawn and respawn
9:15 Outro
Tags: #roblox #robloxstudio #onfirerobloxscripting #tutorial #howto