Uploaded October 2019 | Updated September 2026, 2 weeks ago
This video will teach you about parameters / arguments in functions, allowing you to pass data to a function to make it dynamic. I recommend you watch my previous video on Functions before this one if you haven't already.
Link to previous video: youtu.be/1G2yXTxYM-8
Become a Member today for exclusive perks and to support my channel!
►youtube.com/channel/UCp1R0TBvgM7gj0rwTYULmSA/join
Subscribe to my YouTube channel for more scripting videos:
►youtube.com/alvinblox?sub_confirmation=1
► Watch my full beginner scripting series: goo.gl/k3erz2
Got video suggestions or feedback? Contact me via my website
►alvinblox.com
Roblox username: Alvin_Blox
The music in this video is licensed from Epidemic Sound
epidemicsound.com
This video will teach you about parameters / arguments in functions, allowing you to pass data to a function to make it dynamic. I recommend you watch my previous video on Functions before this one if you haven't already.
Link to previous video: youtu.be/1G2yXTxYM-8
Become a Member today for exclusive perks and to support my channel!
►youtube.com/channel/UCp1R0TBvgM7gj0rwTYULmSA/join
Subscribe to my YouTube channel for more scripting videos:
►youtube.com/alvinblox?sub_confirmation=1
► Watch my full beginner scripting series: goo.gl/k3erz2
Got video suggestions or feedback? Contact me via my website
►alvinblox.com
Roblox username: Alvin_Blox
The music in this video is licensed from Epidemic Sound
epidemicsound.com

![Events - Beginner Roblox Scripting #10 - [Long Edition]
Learn how to use Event listeners with Roblox scripting in this video. Event listeners are used to run functions when certain things happen in your game such as stepping on a part. This video is very long and I will make a shorter edition in the future so sorry about that.
Previous video: https://www.youtube.com/watch?v=Z1YjUcAYy7w
Functions video: https://www.youtube.com/watch?v=1G2yXTxYM-8
Arguments/Parameters video: https://www.youtube.com/watch?v=bkp3OBs0oV0
Rest of the series: https://www.youtube.com/watch?v=BfLUt3mfJiY&list=PLsbxI7NIoTth8CE_os8sog72YTMLPhDSf
Use Star code AlvinBlox when buying R$ or Premium
Become a Member today for exclusive perks and to support my channel!
►https://www.youtube.com/channel/UCp1R0TBvgM7gj0rwTYULmSA/join
Subscribe to my YouTube channel for more scripting videos:
►https://www.youtube.com/alvinblox?sub_confirmation=1
► Watch my full beginner scripting series: https://goo.gl/k3erz2
Got video suggestions or feedback? Contact me via my website
►https://www.alvinblox.com/
Roblox username: Alvin_Blox
The music in this video is licensed from Epidemic Sound
http://www.epidemicsound.com Events - Beginner Roblox Scripting #10 - [Long Edition]](https://i.ytimg.com/vi/cRu1EbcsJiQ/mqdefault.jpg)
![How To Make A Piggy Game In Roblox - Piggy / Granny Tutorial - Ep 3
[Ep 3] Learn how to make a Piggy Game in Roblox with this tutorial. You’ll learn how to make a Roblox game like Piggy or Granny with working doors, Piggy avatar skin, crouching, working keys and tools such as a hammer and bat.
Next part: https://youtu.be/VZDkHZMtTO4
Piggy Tutorial Help Section / Frequently Asked Questions on my Website: https://www.alvinblox.com/how-to-make-a-piggy-game-on-roblox
Piggy Kit Model Link (Please Like and Favourite the model so others can find it): https://www.roblox.com/library/4933968585/Piggy-Kit-Watch-AlvinBloxs-YT-Video-in-Desc
(Piggy Kit is not finished project, you need to watch along to learn how to use and script it!)
BECOME A PREMIUM CHANNEL MEMBER TO GET THE COMPLETED PROJECT FILE :
Click the Join button next to Subscribe or go to https://www.alvinblox.com/join
ToMS function: https://pastebin.com/Bq7GXcz8
Download Roblox Studio: https://www.roblox.com/create
Become a Channel Member: https://www.alvinblox.com/join
Piggy Tutorial Sub-Videos (How to create the Kit)
- Coming soon, please check back in the future!
Other Videos Mentioned In This One To Help You:
Status Bar Tutorial: https://www.youtube.com/watch?v=FeVPfVpdyns
Functions / Arguments Tutorial: https://www.youtube.com/watch?v=bkp3OBs0oV0
Tables Tutorial: https://www.youtube.com/watch?v=4it-gbXldn8
Remote Events Tutorial: https://www.youtube.com/watch?v=wCr5VXJ34T4
It is also useful to watch my full beginner Roblox Studio Scripting Series if you are not confident in your coding abilities, or if you just need a refresher:
Recently, the game ‘Piggy’ has been taking the Roblox world by storm. After launching itself onto the front page, the game, developed by MiniToon, has already achieved 1 billion visits, becoming the fastest Roblox game to do so.
The game is simple. Players are spawned into a map where they are locked inside - an escape room. Not only do you have to try and escape in under 10 minutes, but you’re also being hunted down by a monster wielding a baseball bat who wants to kill you - the Piggy.
Although a Piggy is usually not thought to be evil and sinister, in this game the Piggy is the enemy. Do not get caught by the Piggy at any cost, because as soon as you’re killed, you’re out of the round.
The players who are trying to escape have to work together as a team to find keys that unlock other doors containing other useful items to help aid your escape. Only one tool or key can be equipped at once though - so you need to communicate with the others in the game to know who has what items.
#Piggy #Granny #Roblox
Become a Member today for exclusive perks and to support my channel!
►https://www.youtube.com/channel/UCp1R0TBvgM7gj0rwTYULmSA/join
Subscribe to my YouTube channel for more scripting videos:
►https://www.youtube.com/alvinblox?sub_confirmation=1
► Watch my full beginner scripting series: https://goo.gl/k3erz2
Got video suggestions or feedback? Contact me via my website
►https://www.alvinblox.com/
Roblox username: Alvin_Blox
The music in this video is licensed from Epidemic Sound
http://www.epidemicsound.com How To Make A Piggy Game In Roblox - Piggy / Granny Tutorial - Ep 3](https://i.ytimg.com/vi/cvJRZVuhS3M/mqdefault.jpg)





![[Map Voting] How To Make A Piggy Game In Roblox - Piggy / Granny Tutorial - Ep 6
[Ep 6 - Map Voting] Learn how to make a Piggy Game in Roblox with this tutorial. You’ll learn how to make a Roblox game like Piggy or Granny with working doors, Piggy avatar skin, crouching, working keys and tools such as a hammer and bat.
Voting GUI model: https://www.roblox.com/library/4965952604/MapVoting
Piggy Tutorial Help Section / Frequently Asked Questions on my Website: https://www.alvinblox.com/how-to-make-a-piggy-game-on-roblox
Piggy Kit Model Link (Please Like and Favourite the model so others can find it): https://www.roblox.com/library/4933968585/Piggy-Kit-Watch-AlvinBloxs-YT-Video-in-Desc
(Piggy Kit is not finished project, you need to watch along to learn how to use and script it!)
BECOME A PREMIUM CHANNEL MEMBER TO GET THE COMPLETED PROJECT FILE :
Click the Join button next to Subscribe or go to https://www.alvinblox.com/join
ToMS function: https://pastebin.com/Bq7GXcz8
Download Roblox Studio: https://www.roblox.com/create
Become a Channel Member: https://www.alvinblox.com/join
Piggy Tutorial Sub-Videos (How to create the Kit)
- Coming soon, please check back in the future!
Other Videos Mentioned In This One To Help You:
Status Bar Tutorial: https://www.youtube.com/watch?v=FeVPfVpdyns
Functions / Arguments Tutorial: https://www.youtube.com/watch?v=bkp3OBs0oV0
Tables Tutorial: https://www.youtube.com/watch?v=4it-gbXldn8
Remote Events Tutorial: https://www.youtube.com/watch?v=wCr5VXJ34T4
It is also useful to watch my full beginner Roblox Studio Scripting Series if you are not confident in your coding abilities, or if you just need a refresher:
Recently, the game ‘Piggy’ has been taking the Roblox world by storm. After launching itself onto the front page, the game, developed by MiniToon, has already achieved 1 billion visits, becoming the fastest Roblox game to do so.
The game is simple. Players are spawned into a map where they are locked inside - an escape room. Not only do you have to try and escape in under 10 minutes, but you’re also being hunted down by a monster wielding a baseball bat who wants to kill you - the Piggy.
Although a Piggy is usually not thought to be evil and sinister, in this game the Piggy is the enemy. Do not get caught by the Piggy at any cost, because as soon as you’re killed, you’re out of the round.
The players who are trying to escape have to work together as a team to find keys that unlock other doors containing other useful items to help aid your escape. Only one tool or key can be equipped at once though - so you need to communicate with the others in the game to know who has what items.
#Piggy #Granny #Roblox
Become a Member today for exclusive perks and to support my channel!
►https://www.youtube.com/channel/UCp1R0TBvgM7gj0rwTYULmSA/join
Subscribe to my YouTube channel for more scripting videos:
►https://www.youtube.com/alvinblox?sub_confirmation=1
► Watch my full beginner scripting series: https://goo.gl/k3erz2
Got video suggestions or feedback? Contact me via my website
►https://www.alvinblox.com/
Roblox username: Alvin_Blox
The music in this video is licensed from Epidemic Sound
http://www.epidemicsound.com [Map Voting] How To Make A Piggy Game In Roblox - Piggy / Granny Tutorial - Ep 6](https://i.ytimg.com/vi/fMhNw1djopE/mqdefault.jpg)
![Roblox Mining Simulator Shop Tutorial - [Part 3]
Part 3 of the Roblox Mining Simulator Shop Tutorial series which will teach you how to make a mining simulator shop on Roblox which lets people buy items, backpacks and more for in game currency in a gui. In this 5 part series youll learn how to script your own shop without any knowledge needed on coding.
Part 4: https://www.youtube.com/watch?v=JsMRUPGqtlE
PART 1: https://www.alvinblox.com/miningsimulator
IF YOU WANT TO TAKE THE SCRIPTS, I REVEAL WHERE TO FIND THEM IN PART 5! It is free after all, and I rely on your support to keep the channel going.
Take the GUI used in the video (Take the model then insert it in the Toolbox - My Models section: https://www.roblox.com/library/2452757837/Mining-Sim-GUI
My Plugins: https://www.roblox.com/users/14943069/inventory#!/plugins
Subscribe to my YouTube channel for more scripting videos:
►https://www.youtube.com/alvinblox?sub_confirmation=1
Become a Channel Member for exclusive perks and to support me!
►https://www.youtube.com/channel/UCp1R0TBvgM7gj0rwTYULmSA/join
MERCHANDISE ►
You may have seen these item shops in games such as Mining Simulator, Pet Simulator, etc. With this video, you can add your own shop to your game and allow players to buy items with virtual currency.
#MiningSimulator #Roblox #HowToScriptOnRoblox
► Watch my full beginner scripting series: https://goo.gl/k3erz2
Got video suggestions or feedback? Contact me via my website
►https://www.alvinblox.com/
Roblox username: alvinbloxx
The music in this video is licensed from Epidemic Sound
http://www.epidemicsound.com
Big thanks to Naco88 and all of my QA testers for helping with this!
USE STAR CREATOR CODE ALVINBLOX WHEN BUYING R$ OR BC
BUY ROBUX ~ https://www.roblox.com/upgrades/robux?ctx=upgrade
BUY BUILDERS CLUB ~ https://www.roblox.com/premium/membership?ctx=leftnav Roblox Mining Simulator Shop Tutorial - [Part 3]](https://i.ytimg.com/vi/fhDFXXMVyGU/mqdefault.jpg)
