Uploaded April 2019 | Updated September 2026, 13 minutes ago
Welcome back! Let's do some Scrap Mechanic LUA scripting!
Let's create some HANDHELD (hacked lift) flamethrowers!
If you have any questions about how to script a certain thing or suggestions for the stream, be sure to ask them in the chat/comments!
scrap discord: discord.gg/MhTK6DX
Stream Rules:
1 - No excessive spam
2 - No self promotion
3 - No profanity
4 - Respect the mods
5 - English in chat please
Scrap lua api: scrapmechanic.com/api/index.html
Learning lua syntax: lua.org/manual/5.1/manual.html
Uuid4 generator: uuidgenerator.net
Json validator: jsonlint.com
Online lua tester: rextester.com/l/lua_online_compiler
reddit: reddit.com/r/ScrapMechanic
Welcome back! Let's do some Scrap Mechanic LUA scripting!
Let's create some HANDHELD (hacked lift) flamethrowers!
If you have any questions about how to script a certain thing or suggestions for the stream, be sure to ask them in the chat/comments!
scrap discord: discord.gg/MhTK6DX
Stream Rules:
1 - No excessive spam
2 - No self promotion
3 - No profanity
4 - Respect the mods
5 - English in chat please
Scrap lua api: scrapmechanic.com/api/index.html
Learning lua syntax: lua.org/manual/5.1/manual.html
Uuid4 generator: uuidgenerator.net
Json validator: jsonlint.com
Online lua tester: rextester.com/l/lua_online_compiler
reddit: reddit.com/r/ScrapMechanic
![RGB GIF MAKER [Scrap Mechanic HD] [OFFICIAL]
RGB lights! LETs MAKE SOME GIFS WITH THEM!!
🛠RGB PIXELS!: https://youtu.be/kQieupmiLPw
🎮MORE AWESOME LOGIC GATE GAMES!: https://www.youtube.com/watch?v=2voMo...
🏗🚧WORKSHOP DOWNLOADS🚧🏗:
RGB gif maker: http://steamcommunity.com/sharedfiles...
👥🗣Channel-links:
Brent Batch: 🔔http://www.youtube.com/c/brentbatch?s...
CocoaCoci: 🔔https://www.youtube.com/channel/UCTKd...
alstrak: 🔔https://www.youtube.com/channel/UC68L...
✉ Brent.Batch@hotmail.com✉
👥https://twitter.com/BrentBatchYT👥
Steam group: http://steamcommunity.com/groups/Bren...
no fb srry
🎵Intro Music:
Desmeon - Undone (feat. Steklo) [NCS Release]
https://youtu.be/0E6KXgWuaHo
🎵other music used:
before intro: Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/b...
Main music: Kill The Copyright: https://goo.gl/JyhLIs ✖ Follow Phantom Sage: http://www.soundcloud.com/phantomsage
🎵Music Outro:
Disfigure - Blank [NCS Release]
www.youtu.be/p7ZsBPK656s RGB GIF MAKER [Scrap Mechanic HD] [OFFICIAL]](https://i.ytimg.com/vi/RW8-8Sq_WqA/mqdefault.jpg)
![Space Invaders! [Scrap Mechanic HD creations]
after creating my calculator i decided to do something more challenging, creating a replica of the Space invaders game!
i know this isnt a 100% replica, movement of the aliens right/left isnt included, no reall alien pattern but ehh, its good enough!
Workshop link:
http://steamcommunity.com/sharedfiles/filedetails/?id=746834147
dont forget to check out my other creations (calculator/etc):
https://www.youtube.com/watch?v=H1veHGeOek4&list=PLlnK6tEp7pgceH 77-0J_jUmDWXfU2F&index=1
check out rato caverna and Icyfruit:
https://www.youtube.com/user/fabianoluiz420
https://www.youtube.com/channel/UCXMFuFtCyKcf8J34zj5nCOQ
►Music:
►Intro:
Desmeon - Undone (feat. Steklo) [NCS Release]
https://youtu.be/0E6KXgWuaHo
►Main:
Disfigure - Blank [NCS Release]
Https://youtu.be/p7ZsBPK656s Space Invaders! [Scrap Mechanic HD creations]](https://i.ytimg.com/vi/RfY6s-_FCEc/mqdefault.jpg)
![Scrap Mechanic Logic Gates - Memory & counters
hey guys , thought id make a logic gate tutorial for you as i got some requests about how to work with selfwired xor gates!
🏗🚧WORKSHOP DOWNLOADS🚧🏗:
selfwired xor gates: http://steamcommunity.com/sharedfiles/filedetails/?id=759332944
memory cell: http://steamcommunity.com/sharedfiles/filedetails/?id=754643161
simple logic gate counter: http://steamcommunity.com/sharedfiles/filedetails/?id=786114058
count up/down/reset: http://steamcommunity.com/sharedfiles/filedetails/?id=920472764
👥🗣Channel-links:
BB (best youtuber ever): 🔔http://www.youtube.com/c/brentbatch?sub_confirmation=1 🔔
turn notifications on to never mis out on anything! :D
✉ Brent.Batch@hotmail.com✉
👥https://twitter.com/BrentBatchYT👥
Steam group: http://steamcommunity.com/groups/Brentbatchyt
discord: https://discord.gg/BYnqasC
no fb srry
🎵Intro Music:
Tobu & Syndec - Dusk (Radio Edit)
https://www.youtube.com/watch?v=P3ehtRbpc1A
🎵other music used:
ELPORT - VOID by [Free Songs To Use]
https://youtu.be/LS3sCqlPLW0
🎵Music Outro:
Disfigure - Blank [NCS Release]
https://youtu.be/p7ZsBPK656s
#scrapmechanic #scrapmechaniclogic Scrap Mechanic Logic Gates - Memory & counters](https://i.ytimg.com/vi/S9QFCWrCOG8/mqdefault.jpg)
![Glitchwelded rockets! - [Scrap Mechanic HD]
you want your rockets to be OVER 9000?! Well now you CAN! i made an awesome lil script that only asks for the amount, the color and the powerlevel(1-6) and it will automaticly create the blueprint for you in the right folder ! no need to copy paste any stuff!
HAVE EXPLOSIVE FUN! MHWAHAHHA :D
🛠ANTI-GRAVITY!: https://www.youtube.com/watch?v=lffv7XEqvFE&list=PLlnK6tEp7pgcwFtJ-yVxhEtAno3k_nK0I&index=3
🎮Channel is BACK!: https://youtu.be/lffv7XEqvFE
🏗🚧WORKSHOP DOWNLOADS🚧🏗:
SCRIPT for glitchwelded rockets:
http://www.mediafire.com/file/u5ffjb256vv897i/createglitchwrocket.zip
glitchwelded rockets 4 - 512: http://steamcommunity.com/sharedfiles/filedetails/?id=895176558
glitchwelded rocket 1024: http://steamcommunity.com/sharedfiles/filedetails/?id=895173683
glitchwelded rocket 3000: http://steamcommunity.com/sharedfiles/filedetails/?id=895178285
glitchwelded tocket 10000: http://steamcommunity.com/sharedfiles/filedetails/?id=895181455
https://discord.gg/BYnqasC
👥🗣Channel-links:
BB (best youtuber ever): 🔔http://www.youtube.com/c/brentbatch?sub_confirmation=1 🔔
turn notifications on to never mis out on anything! :D
✉ Brent.Batch@hotmail.com✉
👥https://twitter.com/BrentBatchYT👥
Steam group: http://steamcommunity.com/groups/Brentbatchyt
Scrap Mechanic discord: https://discord.gg/BYnqasC
no fb srry
🎵Intro Music:
Tobu & Syndec - Dusk (Radio Edit)
https://www.youtube.com/watch?v=P3ehtRbpc1A
🎵other music used:
ELPORT - VOID by [Free Songs To Use]
https://youtu.be/LS3sCqlPLW0
🎵Music Outro:
Disfigure - Blank [NCS Release]
https://youtu.be/p7ZsBPK656s
#scrapmechanic Glitchwelded rockets! - [Scrap Mechanic HD]](https://i.ytimg.com/vi/SNVoyjdhUS8/mqdefault.jpg)
![SCRIPTING your own part! #ScrapMechanic LUA TUTORIAL!
This Scrap Mechanic tutorial covers: creating a basic scripted part with scripted input/output using a custom display! (UvFrameIndex)
(template lua code at the end of this description!)
Usefull links:
Scrap lua api: http://scrapmechanic.com/api/index.html
Learning lua syntax: https://www.lua.org/manual/5.1/manual.html
Uuid4 generator: https://www.uuidgenerator.net/
Json validator: https://jsonlint.com/
Online lua tester: https://rextester.com/l/lua_online_compiler
discord: https://discord.gg/BYnqasC
👥🗣Channel-links:
🔔http://www.youtube.com/c/brentbatch?sub_confirmation=1 🔔
turn notifications on to never mis out on anything! :D
✉ Brent.Batch@hotmail.com✉
👥https://twitter.com/BrentBatchYT👥
Steam group: http://steamcommunity.com/groups/Brentbatchyt
template lua code:
GenericClass = class( nil )
GenericClass.maxChildCount = -1
GenericClass.maxParentCount = 1
GenericClass.connectionInput = sm.interactable.connectionType.logic
GenericClass.connectionOutput = sm.interactable.connectionType.logic none, logic, power, bearing, seated, piston, any
GenericClass.colorNormal = sm.color.new(0xdf7000ff)
GenericClass.colorHighlight = sm.color.new(0xef8010ff)
GenericClass.poseWeightCount = 1
[[ client ]]
function GenericClass.client_onCreate( self )
end
function GenericClass.client_onRefresh( self )
self:client_onCreate()
end
function GenericClass.client_onSetupGui( self )
end
function GenericClass.client_onFixedUpdate( self, deltaTime )
end
function GenericClass.client_onUpdate( self, deltaTime )
end
function GenericClass.client_onDestroy( self )
end
function GenericClass.client_onInteract(self)
end
function GenericClass.client_canInteract(self)
end
function GenericClass.client_onProjectile( self, position, time, velocity, type )
end
[[ server ]]
function GenericClass.server_onCreate( self )
end
function GenericClass.server_onRefresh( self )
self:server_onCreate()
end
function GenericClass.server_onFixedUpdate( self, deltaTime )
end
function GenericClass.server_onDestroy( self )
end
function GenericClass.server_onProjectile( self, position, time, velocity, type )
end
function GenericClass.server_onSledgehammer( self, position, player )
end
function GenericClass.server_onExplosion( self, position, destructionLevel )
end
function GenericClass.server_onCollision( self, other, position, velocity, otherVelocity, normal )
end SCRIPTING your own part! #ScrapMechanic LUA TUTORIAL!](https://i.ytimg.com/vi/SakKwv_Y9cQ/mqdefault.jpg)
![Glitched collection #5 - windows [Scrap Mechanic HD]
GLITCHWELDING is back!! :D lets make some awesome usefull shapes! lets glitch everything! before the devs fix it! [AGAIN]
GLITCHWELDING IS PATCHED! CHECK OUT THE NEW GLITCHWELD HERE: https://www.youtube.com/watch?v=qJRP4Qmg2mw
Glitchwelding #1, legit grego block: https://youtu.be/cxEWFhOX3cI
Glitchwelding #2, tire stuff: https://youtu.be/ZL3Lc4TPwL8
Glitchwelding #3, Furniture: https://youtu.be/F4T26osUuZA
Glitchwelding #4, pipe stuff: https://youtu.be/6NmbiI_UrXk
Glitchwelding #5, WINDOWS!: https://youtu.be/THQufLa2zzI
Glitchwelding #6, minecraft stuff!: https://youtu.be/BqQRpuxN9W4
Glitchwelding #7, PRISON!: https://youtu.be/x2qcZqX9qbk
Glitchwelding #8, Music!: https://youtu.be/aGeXFtw3418
Glitchwelding #9, Ducks! https://youtu.be/qWOkvEAyGYo
►WORKSHOP DOWNLOADs:
glitchcollection 1: http://steamcommunity.com/sharedfiles/filedetails/?id=763165633
glitchcollection 2: http://steamcommunity.com/sharedfiles/filedetails/?id=764143242
glitchcollection 3: http://steamcommunity.com/sharedfiles/filedetails/?id=765148488
Glitchcollection 4: http://steamcommunity.com/sharedfiles/filedetails/?id=764688119
Glitchcollection 5: http://steamcommunity.com/sharedfiles/filedetails/?id=767608312
Glitchcollection 6:
http://steamcommunity.com/sharedfiles/filedetails/?id=771001572
Glitchcollection 7: http://steamcommunity.com/sharedfiles/filedetails/?id=771483685
GlitchCollection 8: http://steamcommunity.com/sharedfiles/filedetails/?id=779152827
Glitchwelding 9: http://steamcommunity.com/sharedfiles/filedetails/?id=805508761
Glitchwelding 10: http://steamcommunity.com/sharedfiles/filedetails/?id=810151809
►Channel-links:
cocoacoci: https://www.youtube.com/channel/UCTKdvSu2_gvGPSK_5loWf0A
ALSTRAK: https://www.youtube.com/channel/UC68LQR97fmIrQhYiqNOfWHQ
rato: http://youtube.com/c/ratocaverna
and dont forget to sub to me to support me
http://www.youtube.com/user/dutchminecraftian99?sub_confirmation=1
►Intro Music:
Desmeon - Undone (feat. Steklo) [NCS Release]
https://youtu.be/0E6KXgWuaHo
►Music Outro:
Disfigure - Blank [NCS Release]
www.youtu.be/p7ZsBPK656s Glitched collection #5 - windows [Scrap Mechanic HD]](https://i.ytimg.com/vi/THQufLa2zzI/mqdefault.jpg)
![NEW GIF PLAYER! - [Scrap Mechanic HD]
EZ GIFS! SAVEABLE! MORE FRAMES! MORE FPS! :D
This is the NEW Gif player using logic gates and lights in scrap mechanic! :D
EXTRA Special credits to Mini (@MiniaQz) for suggesting the use of sensor-layer-slots!! (srry totally forgot to mention it in the vid :/ )
🏗🚧WORKSHOP DOWNLOADS🚧🏗:
RGB GIF PLAYER (with the hypnotizing gif in preset): http://steamcommunity.com/sharedfiles/filedetails/?id=859213845
👥🗣Channel-links:
BB (best youtuber ever): 🔔http://www.youtube.com/c/brentbatch?sub_confirmation=1🔔
CocoaCoci: 🔔https://www.youtube.com/channel/UCTKdvSu2_gvGPSK_5loWf0A🔔
rato: 🔔http://youtube.com/c/ratocavernabr🔔
alstrak: 🔔https://www.youtube.com/channel/UC68LQR97fmIrQhYiqNOfWHQ🔔
✉ Brent.Batch@hotmail.com✉
👥https://twitter.com/BrentBatchYT👥
Steam group: http://steamcommunity.com/groups/Brentbatchyt
DISCORD SCRAP MECHANIC: https://discord.gg/BYnqasC
no fb srry
🛠last weeks stabilizers: https://www.youtube.com/watch?v=DdEw7J54SwU
🎮MORE GLITCHES!: https://www.youtube.com/playlist?list=PLlnK6tEp7pgf6Ej-9FfjVwZ1Bb9l5F4Ib
🎵Intro Music:
Waysons - Eternal Minds [NCS Release]
https://youtu.be/ZhECyz85FMc
🎵other music used:
ELPORT - VOID by [Free Songs To Use]
https://youtu.be/LS3sCqlPLW0
🎵Music Outro:
Disfigure - Blank [NCS Release]
www.youtu.be/p7ZsBPK656s NEW GIF PLAYER! - [Scrap Mechanic HD]](https://i.ytimg.com/vi/TlqHUyk2E7A/mqdefault.jpg)
![TRON! With Kan, Scrapman and Moonbo! [Scrap Mechanic HD]
Remember the movie TRON or light cycle played in various games like GTA V? Well, I replicated it in SCRAP MECHANIC!!!!
In this episode you will see some hilarious gameplay of this game together with Kan, Scrapman and Moonbo as well as some extra bug/glitches we found in the game! :p Comment down below if you found them all!
🎮MORE AWESOME LOGIC GATE GAMES!: https://www.youtube.com/watch?v=xcZx9...
🛠Bulk Wizard Wiring tool!: https://www.youtube.com/watch?v=qjE_o...
🏗🚧WORKSHOP DOWNLOADS🚧🏗:
TRON 4Player Multiplayer game!: http://steamcommunity.com/sharedfiles...
👥🗣Channel-links:
Brent Batch: 🔔http://www.youtube.com/c/brentbatch?s...
KanGaming: 🔔https://www.youtube.com/channel/UCFqm...
Scrapman: 🔔https://www.youtube.com/channel/UCcZU...
Moonbo: 🔔https://www.youtube.com/user/JFlip44?...
✉ Brent.Batch@hotmail.com✉
👥https://twitter.com/BrentBatchYT👥
Steam group: http://steamcommunity.com/groups/Bren...
no fb srry
🎵Intro Music:
Desmeon - Undone (feat. Steklo) [NCS Release]
https://youtu.be/0E6KXgWuaHo
🎵other music used:
before intro: Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/b...
Main music: Kill The Copyright: https://goo.gl/JyhLIs ✖ Follow Phantom Sage: http://www.soundcloud.com/phantomsage
🎵Music Outro:
Disfigure - Blank [NCS Release]
www.youtu.be/p7ZsBPK656s TRON! With Kan, Scrapman and Moonbo! [Scrap Mechanic HD]](https://i.ytimg.com/vi/ToJdv0E_yEQ/mqdefault.jpg)

![TouchPad Dodge! w/ Durf, Rato & Icyfruit [Scrap Mechanic HD]
Today we have a new minigame for you guys!
This one i was helped out by durf, rato caverna and icyfruit,
durf came up with the touchscreen and suggested making a game out of it , rato had some glitchfree memory cells i could modify and use in the timer that is accurate up to 1/10th of a second (!) and icyfruit did the music and helped out debugging the game somewhat :D
►WORKSHOP DOWNLOAD:
http://steamcommunity.com/sharedfiles/filedetails/?id=751715989
►Channel-links:
Durf: http://youtube.com/c/durf
rato: http://youtube.com/c/ratocaverna
icyfruit: http://youtube.com/channel/UCXMFuFtCyKcf8J34zj5nCOQ
and dont forget to sub to me if you havent already.
http://www.youtube.com/user/dutchminecraftian99?sub_confirmation=1
►Intro Music:
Desmeon - Undone (feat. Steklo) [NCS Release]
https://youtu.be/0E6KXgWuaHo
►Music:
Disfigure - Blank [NCS Release]
http://youtu.be/p7ZsBPK656s TouchPad Dodge! w/ Durf, Rato & Icyfruit [Scrap Mechanic HD]](https://i.ytimg.com/vi/V_yyE-vE_Zg/mqdefault.jpg)
![Scrap Mechanic Battleships! With The Bearded Beast
Battleships in Scrap Mechanic! Another unique awesome logic gate game! IN COLOR! :D
watch the video to find out how to play this game as The Bearded Beast and I play against each other!
🏗🚧WORKSHOP DOWNLOADS🚧🏗:
http://steamcommunity.com/sharedfiles/filedetails/?id=851210501
👥🗣Channel-links:
Brent Batch: 🔔http://www.youtube.com/c/brentbatch?sub_confirmation=1🔔
The Bearded Beast: 🔔https://www.youtube.com/channel/UCviWr2n-YhnWo_Dy9z28P3w?sub_confirmation=1🔔
✉ Brent.Batch@hotmail.com✉
👥https://twitter.com/BrentBatchYT👥
Steam group: http://steamcommunity.com/groups/Brentbatchyt
discord: https://discord.gg/BYnqasC
no fb srry
🛠last weeks stabilizers: https://www.youtube.com/watch?v=DdEw7J54SwU
🎮MORE GLITCHES!: https://www.youtube.com/playlist?list=PLlnK6tEp7pgf6Ej-9FfjVwZ1Bb9l5F4Ib
🎵Intro Music:
Waysons - Eternal Minds [NCS Release]
https://youtu.be/ZhECyz85FMc
🎵other music used:
ELPORT - VOID by [Free Songs To Use]
https://youtu.be/LS3sCqlPLW0
🎵Music Outro:
Disfigure - Blank [NCS Release]
www.youtu.be/p7ZsBPK656s Scrap Mechanic Battleships! With The Bearded Beast](https://i.ytimg.com/vi/Vb2XmdrhcFY/mqdefault.jpg)