-If you want to learn how to create a simple button in a GUI and use a remote event to trigger sales on the server watch this video and i’ll show you exactly how to do it.
Whats In The Video
-Create a game GUI, text button, and change the buttons position, colour, text and border.
-Add a local script to the button
-Create a main script to create player variables
-Create a leaderboard, and a gold value.
-Create a shop script to handle players purchases.
-Add a remote event to the Replicated Storage
-Create variables to access the Replicated Storage and the remote event
-Create a function that lets players buy items using the OnServerEvent method.
-Code the button to use the remote event using the method FireServer.
-Add code to take gold from the player when they purchase an item.
-Give players a warning message when they don’t have enough gold to make a purchase.
For more information
Visit https://www.mrbrendonross.com/ for the following
-Blog articles for each video on this channel with links to Roblox API and other references.
-Get the best price for all my online courses by purchasing though my site.
-Learn How To Code Games In Roblox Studio
-Roblox Intermediate Coding Course
-Roblox NPC Quest System
-Roblox - Create A Crop Farming System
-Introduction To Roblox Studio - Create Your Own Game