@@Morktin pretty good my tactic is to watch the whole video but not copy the things he is doing but make them in my own way so i can experiment with them
local function MaterialInsecurity() Base.Material = "Mud" wait(5) Base.Material = "Neon" wait(5) Base.Material = "Plastic" print("BasePlate: I just like to try new materials! I am not insecure!") end MaterialInsecurity() loving these lessons
@@felixdecat8632 You don't need the game as the code work for only this game and not the other ones, you don't have 2 workspace folder and If you have you would just use folder:Workspace
thank you! i make 2 scripts using a transparency and another using print local function Script() print("Welcome to my lively game!") print("Do you like it?!??!?!") print("Thank you!") end Script() and the other local MyPart = game.Workspace.PropertiesPart local function PartConfiguration() MyPart.Transparency = 0.5 end PartConfiguration()
Dude, this is so cool! I’ve always had an interest in making a roblox game, but I always thought of it as too complex for me, but I love how you break it down super simply and go slow and steady and don’t leave out anything
This series has been so helpful!!! I'm currently in middle school and am learning to script, because it has been my dream to learn to code and create a game. The two classes that I am in for computer science and coding haven't been helpful, but this series has taught me SO MUCH!! Keep working hard!!
bro i remember trying to learn code like a year ago by another youtuber, i was so stuck on functions that i had to rewatch the video twice and i still didnt understand, you made me understand in under 3 minutes. I instantly subscribed and liked this video. thank you :) anyways, here is the code local function randomcolor() workspace.Part.BrickColor = BrickColor.Random() wait(5) workspace.Part.BrickColor = BrickColor.Random() wait(5) workspace.Part.BrickColor = BrickColor.Random() wait(5) workspace.Part.BrickColor = BrickColor.Random() wait(5) end randomcolor() once again tysm :)
Bro do NOT use wait() wait() is outdated and unreliable. When you type in wait(), Roblox literally warns you wait() is *deprecated* meaning it'll cause issues There's a new wait() that's called task.wait() It works much better and won't cause issues in scripts
W brawl dev! Anyways here is what i have been working on :D local function printThisHelps() task.wait(5) print("This") print("Helps") end game.Workspace.Baseplate.Material = "Carpet" local script = "enjoyable" print(script) local function printAgree() print("Agree") end task.wait(10) game.Workspace.Baseplate.Transparency = 0.5 -- idk why i like writting these but combineing one of these scripts help print("true") -- copy and paste if u would like!
you explain everything so well!! the best scripting tutorial ive ever seen and you actually say WHY you are typing stuff. i have a big game project in mind and i want it to be "life changing" for roblox players. something thats replayable, where you'll always find something new to do. obviously i wont learn EVERYTHING i need for it from this tutorial but i belive most of my knowlage will come from here so tysm!!
I genuinely think brawl dev is underrated fr. just to tell u brawl dev, NEVER GIVE UP ON UR CHANNEL JUST CUZ UR UNDERRATED... YOU'LL DEFINITELY BE A FAMOUS GUY SOMEDAY!!
thanks so much for the lesson after i complete your series im gonna upload one where people give me ideas to add to a game to practice!: --Variables-- local box = game.workspace.Crate --Functions-- local function changetransparency() wait(0.5) box.transparency = 0.2 wait(0.5) box.transparency = 0.4 wait(0.5) box.transparency = 0.6 wait(0.5) box.transparency = 0.8 wait(0.5) box.transparency = 1 end changetransparency() changetransparency() changetransparency() print("done")
Out of all the youtube scripting tutorials out there, by FAR, this is the best and most clear one out there. I am begging you to make an advanced scripting tutorial!!
This Series has been Alot of help even tho im late to watching all of them I really enjoy this type of content local WaterBlock = game.Workspace.WaterBlock local function MaterialInsucurity() WaterBlock.Material = "Mud" WaterBlock.Material = "Neon" WaterBlock.Material = "Brick" end
These lessons are literally so perfect, thank you so much. ----------------------------------------------------------------------------------------------------- local partA = game.Workspace.PartA local function printABC() print("A") print("B") print("C") end local function mysteryBlock() partA.Material = "Marble" Wait(2) partA.Material = "Neon" Wait(2) partA.Material = "Pavement" Wait(2) end printABC() printABC() mysteryBlock() mysteryBlock()
this is really really helping me a lot, this is 6th tutorial im watching in a row cuz its so good and easy to understand, like I don't feel like forcing myself into grasping the concepts that you are teaching rather a genuine interest to know how things work.
Idk how far youve made it into this playlist but use task.wait() instead of wait() its more accurate and wait() is deprecated (meaning its been replaced and is no longer optimized for effiency and theres a better version basically)
@Kyreex u should get into the habit of typing task.wait() because task.wait() will let scripts run faster and more efficiently while wait() will cause problems
This is mind blowing! i just finished this one as well as the other ones, and i learned so much things in such a short time! this is really incrediible!
It's not much but I'm proud :> local boxT = game.Workspace.Part local function BoxFlicker() boxT.Transparency = (0.2) print(0.2) wait(1) boxT.Transparency = (0.4) print(0.4) wait(1) boxT.Transparency = (0.6) print(0.6) wait(1) boxT.Transparency = (0.8) print(0.8) wait(1) boxT.Transparency = (0) print(0) end BoxFlicker() For people who are curious: The "Wait()" is really easy to use. Just put time in seconds in the brackets.)
@@calps-p9p Yea probably but that's pretty complex considering where we're at in the tutorial. I'll take an educated guess at what to do though: local boxT = game.Workspace.Part local function BoxFlicker() for i in range (5) boxT.Transparency =+ (0.2) wait (1) end end BoxFlicker()
task.wait() is the same thing just way more accurate. wait() is deprecated. In the future (ik youre probably a beginner so it doesnt matter much rn) use task.wait() instead of wait()
local function ChangeTransparency() game.Workspace.Part.Transparency = 0.1 wait(2) game.Workspace.Part.Transparency = 0.2 wait(2) game.Workspace.Part.Transparency = 0.3 wait(2) game.Workspace.Part.Transparency = 0.4 wait(2) game.Workspace.Part.Transparency = 0.5 wait(2) game.Workspace.Part.Transparency = 0.6 wait(2) game.Workspace.Part.Transparency = 0.7 wait(2) game.Workspace.Part.Transparency = 0.8 wait(2) game.Workspace.Part.Transparency = 0.9 wait(2) game.Workspace.Part.Transparency = 1 wait(2) game.Workspace.Part.Transparency = 0 end ChangeTransparency() local function ChangeAnchored() game.Workspace.Part.Anchored = false wait(3) game.Workspace.Part.Anchored = true wait(3) game.Workspace.Part.Anchored = false wait(2) game.Workspace.Part.Anchored = true end ChangeAnchored() local function ChangeMaterial() game.Workspace.Part.Material = "Grass" wait(2) game.Workspace.Part.Material = "glass" end ChangeMaterial() I did this. Can u tell is there some wrong i did or not?
@darblox1366 same, but also bc it gets way to confusing so i gave up, but ive wanted to learn scirpting for a good 3-4 years now lol, just getting stuck on the same parts caused me to repetitively give up 😭
im learning this on my phone using the notes app since i dont have a pc right now and these videos are great. its nice to see the applications of each thing you teach since i cant try it in studio myself :)
I came here because there are few Russian-language guides, and here there are many and even fresh ones, I learned more from English-language ones, thank you for what you do
i learnt how to do functions and understood the concept completely but i once again failed to make a reload animation i will do better next time also this guy is a great teacher! my script- local function printABC() print("a") print("b") print("c") end printABC() printABC() printABC() local gunMove = game.Workspace.gun["gun model"].top local function reload() wait(5) gunMove.Position = 6.001, 3.528, -19.646 wait(0.5) gunMove.Position = 6.001, 3.528, -19.133 wait(0.5) gunMove.Position = 6.001, 3.528, -19.646 end reload()
This is what i coded, thank you so much!! local part = game.Workspace.Part local function Material() print("The Material will change to Neon in 3s.") Wait(3) part.Material = "Neon" print("The Material will change to Glass in 3s.") wait(3) part.Material = "Glass" print("The Material will change back to Marble in 3s.") Wait(3) part.Material = "Marble" wait(1) print("There you go!") end Material()
local function printfart() print("Omg im about to fart") print("pfft.") end printfart() printfart() i love these tutorials, im also learning C in uni but since its so boring i decided to learn something new!
I'm loving this! (Some extra things at the end of my comment!) Here's what I did for the LO: local function changeMaterial() game.Workspace.GroundPart.Material = "Cardboard" game.Workspace.GroundPart.BrickColor = BrickColor.new("Burnt Sienna") end changeMaterial() local function changeReflectance() game.Workspace.CrackedLavaPart.Material = "SmoothPlastic" game.Workspace.CrackedLavaPart.Reflectance = 1 end changeReflectance() ------------------------------------------------- *A few things that might help* Here are some keybinds: *Ctrl + C* = Copy *Ctrl + V* = Paste copied or cut text *Ctrl + X* = Cut *Ctrl + A* = Select everything You can make intervals between code by putting *wait(s)* like: wait(5) that makes it so it waits 5 seconds for the next action.
I REALLY WANT TO SAY THANK YOU SO SO MUCH FOR TEACHING I JUST MADE MY OWN SCRIPT I MADE A DOUBLE JUMP SCRIPT AND IT WORKS I WANT TO SAY THANK YOU ONCE AGAIN!!!!!
Omg, why are these videos so underrated?? you explain so good and I was able to understand most of the functions meaning. I am also looking forward to watch the whole playlist! keep going!!
This tutorial made it make sense, I was so happy when I figured it out, this is what I got: local Thing = game.Workspace.Thing local function Material() Thing.BrickColor = BrickColor.Random() wait(5) Thing.BrickColor = BrickColor.Random() wait(5) Thing.BrickColor = BrickColor.Random() wait(5) Thing.BrickColor = BrickColor.Random() end Material()
Good video, My learning objective for today: local CCB = game.workspace.CCB local function CCBF() CCB.Transparency = 0 wait(1) CCB.Transparency = 0.5 wait(1) CCB.Transparency = 0 wait(1) CCB.Anchored = false
end CCBF() CCBF() CCBF() (CCB was abbreviated for my block name.) (CCBF the F meant function)
I used to always struggle with functions - You rlly helped me to understand it. Thank You! local function PrintOMG() print("O") print("M") print("G") end PrintOMG() PrintOMG() PrintOMG()
local baseplate = game.Workspace.Baseplate baseplate.Transparency = 0.25 baseplate.Material = "Brick" baseplate.CastShadow = false task.wait(5) --task.wait will wait 5 seconds to change the material of the baseplate or tranparecny baseplate.Material = "Wood" --you can do task.wait as much as you want
I've been following your tutorials for the past couple of hours now, and I definitely am improving. I know a lot more than I did 3 hours ago, so I thank you from the bottom of my heart for that. local baseplate = game.Workspace.Baseplate local function transparencychanging() wait(.5) baseplate.Transparency = 1 wait(.5) baseplate.Transparency = 0.5 wait(.5) baseplate.Transparency = 0.1 end transparencychanging() transparencychanging() transparencychanging()
This is just a little tip, if you are still finishing the guide. Try not to rush things and do like 1 video per day, in maximum 2. Unless you don't have time to do one everyday. That's just a tip and if you think it's better doing this, it's okay :D
@@SimplyTutuco Thank you for the tip. I have slowed down on my speed of watching these videos and now I watch about a video a day, but I haven't watched any in the past week.
As a Scratch user, when you said that functions are just custom commands that contain several commands you can execute just by calling that function, I immediately recognised it. It's like the _Custom Block_ feature: in Scratch, you can also put several blocks under that same custom block, and you can just use it anytime to execute that big bunch of code. It has another use though, it's used for running scripts instantly, but that's too off-script.
really love this series it's actually the only thing that i could understand lol. your way of teaching is so easy to grasp and i thank you for that :] i guess this is where i show what i did: script: [ functions ] ----------------------------------------------------------------------------- local wedgew = game.Workspace.wedge local function changeMaterial() wedgew.Material = "Neon" end changeMaterial() local function changeBrickColor() repeat wait(.5) wedgew.BrickColor = BrickColor.Random() wait(.5) wedgew.BrickColor = BrickColor.Random() until false end changeBrickColor() -------------------------------------------------------------------------------- script: [ functions2 ] --------------------------------------------------------------------------- local function printProblem() print("Troubleshooting") print("if you can see this it's right") end printProblem() ---------------------------------------------------------------------------- i had to separate the print code from the change-appearance-of-a-part codes and only then it would work. i also got a "stack overflow" message when i put the print code in [ functions ] for the first time. i have no idea if it's supposed to work that way or not but i figured how to make it work in the end!! note: changeBrickColor function changes the color of the block every 0.5 seconds forever
what i did was like local pert = game.Workspace.Part pert.Transparency = 0 wait (3) pert.Transparency = 0.5 wait (3) pert.Transparency = 1 wait (0) pert.CanCollide = false i was actually happy it works, this was my first proud script ever thank you brawldev!
i love your videos its really made me smarter and i learn stuff for the first time and im sooo happy i annoyed my parents and friends about it so much hahaha but like i really like it and ty again so much i will now contine your playlist btw this is what i made local Base = game.Workspace:FindFirstChild("BasePlate") if not Base then print("Error: Base is not defined.") return end function MaterialInsecurity() Base.Material = "Neon" task.wait(10) Base.Material = "Wood" task.wait(10) Base.Material = "Brick" wait(10) print("BasePlate: I just like to try new materials! ) end MaterialInsecurity()
This really helps! Thanks a bunch! local Partona = game.Workspace.Part local function mudaMaterial() Partona.Material = "Neon" task.wait(1) Partona.BrickColor = BrickColor.new("Dark red") Partona.Anchored = true task.wait(1) Partona.BrickColor = BrickColor.new("Bright blue") end while Partona do mudaMaterial() end (basically changing colors)
@teaksis thank you so much for sharing this code, last time i tried but it didn't work, then i saw your comment. local colorfulBlocks = games.Workspace.Part1 local colorfulBlocks2 = games.Workspace.Part2 local colorfulBlocks3 = games.Workspace.Part3 local function myMaterials() colorfulBlocks.Material = "Neon" colorfulBlocks.Material = "Foil" colorfulBlocks.Material = "Snow" end myMaterials()
Thats what I did: local MaterialOfThePart =game.Workspace["Part for Function 3.0"] local function MaterialPart () MaterialOfThePart.Material = "Neon" MaterialOfThePart.Material = "Brick" MaterialOfThePart.Material = "Neon" end MaterialPart() MaterialPart() Its crazy That im actually learning to Develop games And I am just 1Hour in Learning Its so good!
i did : local function printRTX4090() print("R") print("T") print("X") print("4") print("0") print("9") print("0") end btw ur tutorials on scripting are AWESOME. im learning rn of these tutorials
Functions used to scare me because of how complex they seemed Your tutorial explained them great! Not only are they no longer complex and do I understand them completely. Functions are now favourite thing to use in scripts! Thanks for that! Your series is awesome, keep it up!
I just created a Part and wanted to test my script local TheBaseplate = workspace.Part local function changecolor() TheBaseplate.Material = "Brick" wait(5) TheBaseplate.Material = "Carpet" wait(5) TheBaseplate.Material = "Concrete" wait(5) TheBaseplate.Transparency = 0.2
end changecolor() And it worked!! Im so happy to learn with this tuto
local function printABC() print("A") print("B") print("C") end printABC() local FunctionsPart = game.Workspace.FunctionsPart FunctionsPart.Anchored = true local function Howdy() task.wait (4) FunctionsPart.Anchored = false print("Yippee!") end Howdy() THANK YOU THIS IS SO FUN!
i learnt how to do basic scripts like transparency, collision anchorage by generally just stealing so many scripts over time i started to understand the basics and when i needed a collision script to uncollide a block after 10 seconds i was able to and i was very proud, that was actually earlier today and im amazing at doing all that now but i was confused what a function was so i saw this and it was really really helpful and i understood it so easy somehow also this is what i made: (feel free to use if u want lol) local Part = script.Parent local function changeCollision () Part.CanCollide= true wait(10) Part.CanCollide = false wait(10) Part.CanCollide= true end changeCollision()
im really bad at being paitent but this is somehow calming and also keeping me from getting less paitent it also warms my heart up more the time i watch this its helping me alot
What if you want to use funxtions, like lets say in a click detector? So when you click the part, it calls the function? Do you just put the script inside click detector instead?
thank you so much. I am learning to code for my 9 yrs old kid. Not easy for an asian woman. Thanks so much for very comprehensive instructions. Keep up.
i love these tutorials, and heres the code: Block = game.Workspace.Block local function MaterialChange() Block.Material = "CrackedLava" task.wait (1) Block.Material = "DiamondPlate" task.wait (1) Block.Material = "Marble" end MaterialChange()
This series is great. I'm gonna watch everything and take alot of notes and then i will make it to the advanced series. After that I'll make an amazing game.
heloo. I started to love your episodes since it's the first time I saw your videos. By the way, here's a script I made thanks to your video: local function ChangeMaterial() Part.Material = "Neon" wait(2) Part.Material = "Fabric" wait(2) Part.Material = "Grass" end ChangeMaterial()
this took a while to understand but thank you a lot! your explaining made it great to understand!! local Bob = game.Workspace.Baseplate local function mrbob() Bob.Material = "Brick" wait(0.5) Bob.Material = "Glass" wait(0.5) Bob.Material = "Marble" wait(0.5) end mrbob() mrbob() mrbob()
So far im really getting into coding because of you! do you think you could make a tower defense tutorial ( after i watch this playlist and perfect it im gonna try to make a game)
The more I learn it seems like old me was over reacting to how hard this is but to me its pretty easy!ALSO If you are on a Mac computer (like me) and control C control V is not working instead try Command C Command V on the keyboard it should work better
bro thanks your the best: local baseplate = game.Workspace.Baseplate local function print() baseplate.Material=Enum.Material.Rock baseplate.Transparency=0.5 baseplate.Color=Color3.fromRGB(255,0,0) end print()
really cool,i know a little, but it's really helpful and actually i'm proud of myself!! Thanks!! you explain very well and in details,i understand almost everything!
local function NormalSalutes() print("BasePlate: Hey! Looks like we got a new person around here.") Wait(5) print("BasePlate: I hope you are learning Luau!") Wait(5) print("BasePlate: Well, good luck with that, eh!") end NormalSalutes() Im loving these courses, these are so fun!
local material = game.Workspace.Baseplate local function changeMaterial() material.Material = "Brick" wait(2) material.Material = "Concrete" end changeMaterial() changeMaterial() added a little something to spice it up :)
dis is his guide i followed it an added some of my own comments struggled on this one but got it :) local myBaseplate = game.Workspace.Baseplate local function changeTransparency() --This is how u make the function but dont forget to call the function myBaseplate.Transparency = 1 --this is how u call the function u put this under the function yea myBaseplate.Transparency = 0.5 myBaseplate.Transparency = 0 myBaseplate.Transparency = 0.5 myBaseplate.Transparency = 1 --all of this myBaseplate.Transparency = 1 equals to this ↓↓↓↓↓↓ end changeTransparency() changeTransparency() --
local myPart = game.Workspace.Terrain.Part local function changeTransparency() myPart.Transparency = 0.5 end local function changeMaterial() myPart.Material = Enum.Material.Brick end changeTransparency() changeMaterial() cool tuts btw
Great stuff! also here's my learning objective. --Reference local baseplate = game.Workspace.Baseplate --Functions local function discoMaterial() baseplate.Transparency = .8 end local function printDegenerate() print("Some1: Makimaaaaaaaaa") print("Chad1: Stfu") end --Calling of Functions printDegenerate() discoMaterial()
@@Stolodolo In-game it won't be visible as they execute way too fast for us to see the changes but since I called the printDegenerate() function first then it would be the first function to be executed.
baseplate = game.Workspace.Baseplate local function cat()
baseplate.Transparency = 0.25 baseplate.Material = "Wood" baseplate.Anchored = true end cat() heh. i feel so smug with all this knowledge that has been bestowed onto me....
I tried to make something a bit different so this was my code local part = game.Workspace.P local function changeMaterial () part.Material = "Sand" wait(5) part.Material = "Pebble" wait(5) part.Material = "Limestone" wait(5)
repeat
until continue end changeMaterial() But I got a problem that the game stop working and then the code got exhausted 😅
Hey! this is an amazing video, but I have a question, what is the difference between a function and a variable, they both seem to be defining stuff so I really don't see a difference.
this is the #6 episode and it feels like im genuinely learning instead of not actually learning anything
bro same
How are you doing so far?
Sameeee
@@Morktin pretty good my tactic is to watch the whole video but not copy the things he is doing but make them in my own way so i can experiment with them
print("i argee with this message")
local function MaterialInsecurity()
Base.Material = "Mud"
wait(5)
Base.Material = "Neon"
wait(5)
Base.Material = "Plastic"
print("BasePlate: I just like to try new materials! I am not insecure!")
end
MaterialInsecurity()
loving these lessons
doesnt even work for me lol
after end, make 2 lines of space, then you can use the "MaterialIncecurity()" function
@@7A07Dave K
@@felixdecat8632 You don't need the game as the code work for only this game and not the other ones, you don't have 2 workspace folder and If you have you would just use folder:Workspace
@@felixdecat8632 oh thanks😃
most underated roblox youtuber in the game rn
Fr
fr
Fr
(Fr chain⬇️)
Fr
Fr
thank you! i make 2 scripts using a transparency and another using print
local function Script()
print("Welcome to my lively game!")
print("Do you like it?!??!?!")
print("Thank you!")
end
Script()
and the other
local MyPart = game.Workspace.PropertiesPart
local function PartConfiguration()
MyPart.Transparency = 0.5
end
PartConfiguration()
Dude, this is so cool! I’ve always had an interest in making a roblox game, but I always thought of it as too complex for me, but I love how you break it down super simply and go slow and steady and don’t leave out anything
fr
fr (also a fr chain)
fr
Me too
This series has been so helpful!!! I'm currently in middle school and am learning to script, because it has been my dream to learn to code and create a game. The two classes that I am in for computer science and coding haven't been helpful, but this series has taught me SO MUCH!! Keep working hard!!
bro i remember trying to learn code like a year ago by another youtuber, i was so stuck on functions that i had to rewatch the video twice and i still didnt understand, you made me understand in under 3 minutes. I instantly subscribed and liked this video. thank you :)
anyways, here is the code
local function randomcolor()
workspace.Part.BrickColor = BrickColor.Random()
wait(5)
workspace.Part.BrickColor = BrickColor.Random()
wait(5)
workspace.Part.BrickColor = BrickColor.Random()
wait(5)
workspace.Part.BrickColor = BrickColor.Random()
wait(5)
end
randomcolor()
once again tysm :)
Bro do NOT use wait()
wait() is outdated and unreliable. When you type in wait(), Roblox literally warns you wait() is *deprecated* meaning it'll cause issues
There's a new wait() that's called task.wait()
It works much better and won't cause issues in scripts
W brawl dev!
Anyways here is what i have been working on :D
local function printThisHelps()
task.wait(5)
print("This")
print("Helps")
end
game.Workspace.Baseplate.Material = "Carpet"
local script = "enjoyable"
print(script)
local function printAgree()
print("Agree")
end
task.wait(10)
game.Workspace.Baseplate.Transparency = 0.5
-- idk why i like writting these but combineing one of these scripts help
print("true")
-- copy and paste if u would like!
you explain everything so well!! the best scripting tutorial ive ever seen and you actually say WHY you are typing stuff. i have a big game project in mind and i want it to be "life changing" for roblox players. something thats replayable, where you'll always find something new to do. obviously i wont learn EVERYTHING i need for it from this tutorial but i belive most of my knowlage will come from here so tysm!!
I genuinely think brawl dev is underrated fr. just to tell u brawl dev, NEVER GIVE UP ON UR CHANNEL JUST CUZ UR UNDERRATED... YOU'LL DEFINITELY BE A FAMOUS GUY SOMEDAY!!
3:13 learning English and scripting.
haha
haha
thanks so much for the lesson after i complete your series im gonna upload one where people give me ideas to add to a game to practice!: --Variables--
local box = game.workspace.Crate
--Functions--
local function changetransparency()
wait(0.5)
box.transparency = 0.2
wait(0.5)
box.transparency = 0.4
wait(0.5)
box.transparency = 0.6
wait(0.5)
box.transparency = 0.8
wait(0.5)
box.transparency = 1
end
changetransparency()
changetransparency()
changetransparency()
print("done")
why did you added "wait(0.5)"?
@@SandRandom "wait" basically tells roblox to wait X time between lines
@@avishyyakobov Thanks!
@@SandRandom i recommend you to use task.wait(x) thats more exact time
@@avishyyakobov I did that it worked, tysm!
Please keep doing these videos, you're an amazing content creator! :)
Out of all the youtube scripting tutorials out there, by FAR, this is the best and most clear one out there. I am begging you to make an advanced scripting tutorial!!
This Series has been Alot of help even tho im late to watching all of them I really enjoy this type of content
local WaterBlock = game.Workspace.WaterBlock
local function MaterialInsucurity()
WaterBlock.Material = "Mud"
WaterBlock.Material = "Neon"
WaterBlock.Material = "Brick"
end
Bro this guy is an legend he made me understand everything but his not famous so let's make him famous
i got this far in a scripting guide... you are the only one that actually helped me, tysm! im subscribing
Thx i had given up so many times
but thanks to u i can do it
These lessons are literally so perfect, thank you so much.
-----------------------------------------------------------------------------------------------------
local partA = game.Workspace.PartA
local function printABC()
print("A")
print("B")
print("C")
end
local function mysteryBlock()
partA.Material = "Marble"
Wait(2)
partA.Material = "Neon"
Wait(2)
partA.Material = "Pavement"
Wait(2)
end
printABC()
printABC()
mysteryBlock()
mysteryBlock()
spent 20 mins wondering why my color function wasnt working and it was because I forgot to call it 😭
☠️☠️☠️☠️☠️☠️☠️☠️☠️💀💀💀💀💀💀💀💀💀💀💀
Same except for I forgot to capitalize the T in transparency😭🙏
this is really really helping me a lot, this is 6th tutorial im watching in a row cuz its so good and easy to understand, like I don't feel like forcing myself into grasping the concepts that you are teaching rather a genuine interest to know how things work.
local part = game.Workspace.Part
local function PrintCommand()
wait(2)
part.Transparency = 0.523
wait(4)
part.Transparency = 1
wait(0.5)
part.BrickColor = BrickColor.Random()
wait(4)
part.Material = "SmoothPlastic"
end
PrintCommand()
PrintCommand()
love this tutorial man keep it up like that
Idk how far youve made it into this playlist but use task.wait() instead of wait() its more accurate and wait() is deprecated (meaning its been replaced and is no longer optimized for effiency and theres a better version basically)
@@TrulyEnzo ya i started using it but tbf wait() is just easier to type
@Kyreex u should get into the habit of typing task.wait() because task.wait() will let scripts run faster and more efficiently while wait() will cause problems
@camera2178 I forgor everything about scripting I'm learning now again but thanks for letting me know
This is mind blowing! i just finished this one as well as the other ones, and i learned so much things in such a short time! this is really incrediible!
It's not much but I'm proud :>
local boxT = game.Workspace.Part
local function BoxFlicker()
boxT.Transparency = (0.2)
print(0.2)
wait(1)
boxT.Transparency = (0.4)
print(0.4)
wait(1)
boxT.Transparency = (0.6)
print(0.6)
wait(1)
boxT.Transparency = (0.8)
print(0.8)
wait(1)
boxT.Transparency = (0)
print(0)
end
BoxFlicker()
For people who are curious: The "Wait()" is really easy to use. Just put time in seconds in the brackets.)
I think you can use a for loop for that :)
@@calps-p9p Yea probably but that's pretty complex considering where we're at in the tutorial. I'll take an educated guess at what to do though:
local boxT = game.Workspace.Part
local function BoxFlicker()
for i in range (5)
boxT.Transparency =+ (0.2)
wait (1)
end
end
BoxFlicker()
I have heard that doing task.wait instead of wait is better ( correct me if I'm wrong )
I hope you learned about in pairs
task.wait() is the same thing just way more accurate. wait() is deprecated. In the future (ik youre probably a beginner so it doesnt matter much rn) use task.wait() instead of wait()
local function ChangeTransparency()
game.Workspace.Part.Transparency = 0.1
wait(2)
game.Workspace.Part.Transparency = 0.2
wait(2)
game.Workspace.Part.Transparency = 0.3
wait(2)
game.Workspace.Part.Transparency = 0.4
wait(2)
game.Workspace.Part.Transparency = 0.5
wait(2)
game.Workspace.Part.Transparency = 0.6
wait(2)
game.Workspace.Part.Transparency = 0.7
wait(2)
game.Workspace.Part.Transparency = 0.8
wait(2)
game.Workspace.Part.Transparency = 0.9
wait(2)
game.Workspace.Part.Transparency = 1
wait(2)
game.Workspace.Part.Transparency = 0
end
ChangeTransparency()
local function ChangeAnchored()
game.Workspace.Part.Anchored = false
wait(3)
game.Workspace.Part.Anchored = true
wait(3)
game.Workspace.Part.Anchored = false
wait(2)
game.Workspace.Part.Anchored = true
end
ChangeAnchored()
local function ChangeMaterial()
game.Workspace.Part.Material = "Grass"
wait(2)
game.Workspace.Part.Material = "glass"
end
ChangeMaterial()
I did this. Can u tell is there some wrong i did or not?
I have been struggling with scripting and mostly functions for 3 years now, i finally understand thanks to you :)
3 YEARS???
@darblox1366 same, but also bc it gets way to confusing so i gave up, but ive wanted to learn scirpting for a good 3-4 years now lol, just getting stuck on the same parts caused me to repetitively give up 😭
im learning this on my phone using the notes app since i dont have a pc right now and these videos are great. its nice to see the applications of each thing you teach since i cant try it in studio myself :)
This was kinda toughnfor me to understand at first but watching it again it makes sense hope u be someone big oneday
❤❤
I came here because there are few Russian-language guides, and here there are many and even fresh ones, I learned more from English-language ones, thank you for what you do
Lowkey enjoying the tutorials 😍
local myPart = game.Workspace.Part
local function MaterialChange()
myPart.Material = Enum.Material.Salt
wait(.3)
myPart.Material = Enum.Material.Neon
wait(.3)
myPart.Material = Enum.Material.Brick
wait(.3)
end
MaterialChange()
MaterialChange()
MaterialChange()
wait u can write "wait(.3)" instead of writing "wait(0.3)"??
@@martinarxi6005 ya
You can also write the material thingy as
myPart.Material = "Salt"
wait(0.3)
myPart.Material = "Neon"
wait(0.3)
myPart.Material = "Brick"
wait(0.3)
I've been addicting, to ur series its the best! u've helped me in many things and so much I thank u for helping me!
i learnt how to do functions and understood the concept completely but i once again failed to make a reload animation i will do better next time also this guy is a great teacher!
my script-
local function printABC()
print("a")
print("b")
print("c")
end
printABC()
printABC()
printABC()
local gunMove = game.Workspace.gun["gun model"].top
local function reload()
wait(5)
gunMove.Position = 6.001, 3.528, -19.646
wait(0.5)
gunMove.Position = 6.001, 3.528, -19.133
wait(0.5)
gunMove.Position = 6.001, 3.528, -19.646
end
reload()
I found today's scripting episode challenging, but I still understood it. That's because your explanations are so clear and helpful. 🗿
and here, what I did today (It is long) :
local myBaseplate = game.Workspace.Baseplate
local function changeTransparency()
myBaseplate.Transparency = 1
task.wait(0.5)
myBaseplate.Transparency = 0.5
task.wait(0.5)
myBaseplate.Transparency = 0
task.wait(0.5)
myBaseplate.Transparency = 0.5
task.wait(0.5)
myBaseplate.Transparency = 1
end
changeTransparency()
changeTransparency()
changeTransparency()
changeTransparency()
changeTransparency()
changeTransparency()
changeTransparency()
changeTransparency()
changeTransparency()
local Ez = game.Workspace["Functions part"]
local function functionChanges()
Ez.CanCollide = false
task.wait(0.25)
Ez.CanCollide = true
task.wait(0.25)
Ez.CanCollide = false
end
functionChanges()
functionChanges()
functionChanges()
functionChanges()
functionChanges()
functionChanges()
functionChanges()
functionChanges()
functionChanges()
local function pls()
Ez.Material = "Wood"
task.wait(0.5)
Ez.Material = "Rock"
task.wait(0.5)
Ez.Material = "Neon"
task.wait(0.5)
Ez.Material = "Rock"
task.wait(0.5)
Ez.Material = "Wood"
end
pls()
pls()
pls()
pls()
pls()
pls()
pls()
pls()
pls()
local function bro()
Ez.BrickColor = BrickColor.new("Dark orange")
task.wait(0.75)
Ez.BrickColor = BrickColor.new("Burnt Sienna")
task.wait(0.75)
Ez.BrickColor = BrickColor.new("Dark taupe")
task.wait(0.75)
Ez.BrickColor = BrickColor.new("Burnt Sienna")
task.wait(0.75)
Ez.BrickColor = BrickColor.new("Dark orange")
end
bro()
bro()
bro()
bro()
bro()
bro()
bro()
bro()
bro()
This is what i coded, thank you so much!!
local part = game.Workspace.Part
local function Material()
print("The Material will change to Neon in 3s.")
Wait(3)
part.Material = "Neon"
print("The Material will change to Glass in 3s.")
wait(3)
part.Material = "Glass"
print("The Material will change back to Marble in 3s.")
Wait(3)
part.Material = "Marble"
wait(1)
print("There you go!")
end
Material()
local function printfart()
print("Omg im about to fart")
print("pfft.")
end
printfart()
printfart()
i love these tutorials, im also learning C in uni but since its so boring i decided to learn something new!
I'm loving this!
(Some extra things at the end of my comment!)
Here's what I did for the LO:
local function changeMaterial()
game.Workspace.GroundPart.Material = "Cardboard"
game.Workspace.GroundPart.BrickColor = BrickColor.new("Burnt Sienna")
end
changeMaterial()
local function changeReflectance()
game.Workspace.CrackedLavaPart.Material = "SmoothPlastic"
game.Workspace.CrackedLavaPart.Reflectance = 1
end
changeReflectance()
-------------------------------------------------
*A few things that might help*
Here are some keybinds:
*Ctrl + C* = Copy
*Ctrl + V* = Paste copied or cut text
*Ctrl + X* = Cut
*Ctrl + A* = Select everything
You can make intervals between code by putting *wait(s)*
like:
wait(5)
that makes it so it waits 5 seconds for the next action.
another thing too! you can use task.wait
i love these lessons it turned out so great
local baseplate = game.Workspace.Baseplate
local function baseplatestory()
baseplate.Transparency = 1
wait(2)
print("WHAT HAPPENED TO THE BASEPLATE????")
end
baseplatestory()
Awesome Video! Here's the code I made to make the baseplate have a flickering effect:
(Trans is short for transparency btw)
local baseplate = game.Workspace.Baseplate
local TransTime = 0.25
local TransChangeTime = 1
local function changeTransparency()
baseplate.Transparency = 1
wait(TransTime)
baseplate.Transparency = 0.5
wait(TransTime)
baseplate.Transparency = 0
wait(TransTime)
baseplate.Transparency = 0.5
wait(TransTime)
baseplate.Transparency = 1
end
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
changeTransparency()
wait(TransChangeTime)
bro normally this stuff goes in one ear and leaves through the other but all 6 vids so far and i can still recall everything
this series is awesome, i have had a lot of trouble with functions and this man explained it so well to all of us!
I REALLY WANT TO SAY THANK YOU SO SO MUCH FOR TEACHING I JUST MADE MY OWN SCRIPT I MADE A DOUBLE JUMP SCRIPT AND IT WORKS I WANT TO SAY THANK YOU ONCE AGAIN!!!!!
Omg, why are these videos so underrated?? you explain so good and I was able to understand most of the functions meaning. I am also looking forward to watch the whole playlist! keep going!!
This tutorial made it make sense, I was so happy when I figured it out, this is what I got:
local Thing = game.Workspace.Thing
local function Material()
Thing.BrickColor = BrickColor.Random()
wait(5)
Thing.BrickColor = BrickColor.Random()
wait(5)
Thing.BrickColor = BrickColor.Random()
wait(5)
Thing.BrickColor = BrickColor.Random()
end
Material()
Good video,
My learning objective for today:
local CCB = game.workspace.CCB
local function CCBF()
CCB.Transparency = 0
wait(1)
CCB.Transparency = 0.5
wait(1)
CCB.Transparency = 0
wait(1)
CCB.Anchored = false
end
CCBF()
CCBF()
CCBF()
(CCB was abbreviated for my block name.)
(CCBF the F meant function)
I used to always struggle with functions - You rlly helped me to understand it. Thank You!
local function PrintOMG()
print("O")
print("M")
print("G")
end
PrintOMG()
PrintOMG()
PrintOMG()
local baseplate = game.Workspace.Baseplate
baseplate.Transparency = 0.25
baseplate.Material = "Brick"
baseplate.CastShadow = false
task.wait(5) --task.wait will wait 5 seconds to change the material of the baseplate or tranparecny
baseplate.Material = "Wood"
--you can do task.wait as much as you want
I've been following your tutorials for the past couple of hours now, and I definitely am improving. I know a lot more than I did 3 hours ago, so I thank you from the bottom of my heart for that.
local baseplate = game.Workspace.Baseplate
local function transparencychanging()
wait(.5)
baseplate.Transparency = 1
wait(.5)
baseplate.Transparency = 0.5
wait(.5)
baseplate.Transparency = 0.1
end
transparencychanging()
transparencychanging()
transparencychanging()
This is just a little tip, if you are still finishing the guide.
Try not to rush things and do like 1 video per day, in maximum 2. Unless you don't have time to do one everyday. That's just a tip and if you think it's better doing this, it's okay :D
@@SimplyTutuco Thank you for the tip. I have slowed down on my speed of watching these videos and now I watch about a video a day, but I haven't watched any in the past week.
As a Scratch user, when you said that functions are just custom commands that contain several commands you can execute just by calling that function, I immediately recognised it.
It's like the _Custom Block_ feature: in Scratch, you can also put several blocks under that same custom block, and you can just use it anytime to execute that big bunch of code.
It has another use though, it's used for running scripts instantly, but that's too off-script.
really love this series it's actually the only thing that i could understand lol. your way of teaching is so easy to grasp and i thank you for that :]
i guess this is where i show what i did:
script: [ functions ]
-----------------------------------------------------------------------------
local wedgew = game.Workspace.wedge
local function changeMaterial()
wedgew.Material = "Neon"
end
changeMaterial()
local function changeBrickColor()
repeat
wait(.5)
wedgew.BrickColor = BrickColor.Random()
wait(.5)
wedgew.BrickColor = BrickColor.Random()
until false
end
changeBrickColor()
--------------------------------------------------------------------------------
script: [ functions2 ]
---------------------------------------------------------------------------
local function printProblem()
print("Troubleshooting")
print("if you can see this it's right")
end
printProblem()
----------------------------------------------------------------------------
i had to separate the print code from the change-appearance-of-a-part codes and only then it would work. i also got a "stack overflow" message when i put the print code in [ functions ] for the first time. i have no idea if it's supposed to work that way or not but i figured how to make it work in the end!!
note: changeBrickColor function changes the color of the block every 0.5 seconds forever
what i did was like
local pert = game.Workspace.Part
pert.Transparency = 0
wait (3)
pert.Transparency = 0.5
wait (3)
pert.Transparency = 1
wait (0)
pert.CanCollide = false
i was actually happy it works, this was my first proud script ever thank you brawldev!
i love your videos its really made me smarter and i learn stuff for the first time and im sooo happy i annoyed my parents and friends about it so much hahaha but like i really like it and ty again so much i will now contine your playlist btw this is what i made
local Base = game.Workspace:FindFirstChild("BasePlate")
if not Base then
print("Error: Base is not defined.")
return
end
function MaterialInsecurity()
Base.Material = "Neon"
task.wait(10)
Base.Material = "Wood"
task.wait(10)
Base.Material = "Brick"
wait(10)
print("BasePlate: I just like to try new materials! )
end
MaterialInsecurity()
This really helps! Thanks a bunch!
local Partona = game.Workspace.Part
local function mudaMaterial()
Partona.Material = "Neon"
task.wait(1)
Partona.BrickColor = BrickColor.new("Dark red")
Partona.Anchored = true
task.wait(1)
Partona.BrickColor = BrickColor.new("Bright blue")
end
while Partona do
mudaMaterial()
end
(basically changing colors)
@teaksis thank you so much for sharing this code, last time i tried but it didn't work, then i saw your comment.
local colorfulBlocks = games.Workspace.Part1
local colorfulBlocks2 = games.Workspace.Part2
local colorfulBlocks3 = games.Workspace.Part3
local function myMaterials()
colorfulBlocks.Material = "Neon"
colorfulBlocks.Material = "Foil"
colorfulBlocks.Material = "Snow"
end
myMaterials()
Thats what I did:
local MaterialOfThePart =game.Workspace["Part for Function 3.0"]
local function MaterialPart ()
MaterialOfThePart.Material = "Neon"
MaterialOfThePart.Material = "Brick"
MaterialOfThePart.Material = "Neon"
end
MaterialPart()
MaterialPart()
Its crazy That im actually learning to Develop games And I am just 1Hour in Learning Its so good!
i did : local function printRTX4090()
print("R")
print("T")
print("X")
print("4")
print("0")
print("9")
print("0")
end
btw ur tutorials on scripting are AWESOME. im learning rn of these tutorials
Functions used to scare me because of how complex they seemed
Your tutorial explained them great! Not only are they no longer complex and do I understand them completely. Functions are now favourite thing to use in scripts!
Thanks for that! Your series is awesome, keep it up!
same
I just created a Part and wanted to test my script
local TheBaseplate = workspace.Part
local function changecolor()
TheBaseplate.Material = "Brick"
wait(5)
TheBaseplate.Material = "Carpet"
wait(5)
TheBaseplate.Material = "Concrete"
wait(5)
TheBaseplate.Transparency = 0.2
end
changecolor()
And it worked!! Im so happy to learn with this tuto
local function printABC()
print("A")
print("B")
print("C")
end
printABC()
local FunctionsPart = game.Workspace.FunctionsPart
FunctionsPart.Anchored = true
local function Howdy()
task.wait (4)
FunctionsPart.Anchored = false
print("Yippee!")
end
Howdy()
THANK YOU THIS IS SO FUN!
i learnt how to do basic scripts like transparency, collision anchorage by generally just stealing so many scripts over time i started to understand the basics and when i needed a collision script to uncollide a block after 10 seconds i was able to and i was very proud, that was actually earlier today and im amazing at doing all that now but i was confused what a function was so i saw this and it was really really helpful and i understood it so easy somehow
also this is what i made: (feel free to use if u want lol)
local Part = script.Parent
local function changeCollision ()
Part.CanCollide= true
wait(10)
Part.CanCollide = false
wait(10)
Part.CanCollide= true
end
changeCollision()
finally, someone who explains something nicely
Dude I actually feel like im learning stuff for once
im really bad at being paitent but this is somehow calming and also keeping me from getting less paitent it also warms my heart up more the time i watch this its helping me alot
i made the baseplate change color :D i was having trouble but then it showed me that i needed to type
local baseplateColor= game.Workspace.Baseplate
baseplateColor.Color = Color3.fromRGB(255, 0, 0)
i didnt know what to do after the second equal sign but then the game showed me :D
What if you want to use funxtions, like lets say in a click detector? So when you click the part, it calls the function? Do you just put the script inside click detector instead?
thank you so much. I am learning to code for my 9 yrs old kid. Not easy for an asian woman. Thanks so much for very comprehensive instructions. Keep up.
i love these tutorials, and heres the code:
Block = game.Workspace.Block
local function MaterialChange()
Block.Material = "CrackedLava"
task.wait (1)
Block.Material = "DiamondPlate"
task.wait (1)
Block.Material = "Marble"
end
MaterialChange()
i understood so much thanks! you just earned a sub :>
This series is great. I'm gonna watch everything and take alot of notes and then i will make it to the advanced series. After that I'll make an amazing game.
i hope you can creat a great game, i want too!
oh yeah i should be taking notes
heloo. I started to love your episodes since it's the first time I saw your videos. By the way, here's a script I made thanks to your video:
local function ChangeMaterial()
Part.Material = "Neon"
wait(2)
Part.Material = "Fabric"
wait(2)
Part.Material = "Grass"
end
ChangeMaterial()
local function pli()
local Baseplate = game.Workspace.Baseplate
Baseplate.Material = "Brick"
end
pli()
Tysm for making this tutorial! It's helping a lot
why do you have low views your quality and teaching is amazing keep it up!!!
Dude thank you man this is an absolute lifesaver. When I checked the Roblox coding tutorial on the official page I was just like: "What..."
this took a while to understand but thank you a lot! your explaining made it great to understand!!
local Bob = game.Workspace.Baseplate
local function mrbob()
Bob.Material = "Brick"
wait(0.5)
Bob.Material = "Glass"
wait(0.5)
Bob.Material = "Marble"
wait(0.5)
end
mrbob()
mrbob()
mrbob()
Bro W BOBBBBBBBBB
W script
I learned it, and everytime I experiment with all of these tutorials my head hurts.
So far im really getting into coding because of you! do you think you could make a tower defense tutorial ( after i watch this playlist and perfect it im gonna try to make a game)
My tip is, to not try to make hard games. Try making easy games. With easy i mean a small project.
The more I learn it seems like old me was over reacting to how hard this is but to me its pretty easy!ALSO If you are on a Mac computer (like me) and control C control V is not working instead try Command C Command V on the keyboard it should work better
3:19 bro were you havin a stroke or something 💀 (also thanks your the only one who actually taught me something instead of doing the work for me)
U helped me alot thx bro!
keep your content up you earned a new sub
bro thanks your the best:
local baseplate = game.Workspace.Baseplate
local function print()
baseplate.Material=Enum.Material.Rock
baseplate.Transparency=0.5
baseplate.Color=Color3.fromRGB(255,0,0)
end
print()
Thank you man. Last time i have a bad understanding of functions because of the ends (but i dont code on roblox tho)
this might be better than school bro 😭🙏(cool video btw)
Me before the video: I am bored of copy and pasting.
Me after the video: Scripting is so so easy.
Who agrees?
really cool,i know a little, but it's really helpful and actually i'm proud of myself!!
Thanks!! you explain very well and in details,i understand almost everything!
local function NormalSalutes()
print("BasePlate: Hey! Looks like we got a new person around here.")
Wait(5)
print("BasePlate: I hope you are learning Luau!")
Wait(5)
print("BasePlate: Well, good luck with that, eh!")
end
NormalSalutes()
Im loving these courses, these are so fun!
Brawldev thank you so much! You explain things so well.😊
Ngl amazing content keep it up man
local material = game.Workspace.Baseplate
local function changeMaterial()
material.Material = "Brick"
wait(2)
material.Material = "Concrete"
end
changeMaterial()
changeMaterial()
added a little something to spice it up :)
local function story()
print("hey!")
print("sup"
print("nothing much just learning how to script from BrawlDev!")
print("Nice")
end
story()
story()
dis is his guide i followed it an added some of my own comments struggled on this one but got it :)
local myBaseplate = game.Workspace.Baseplate
local function changeTransparency() --This is how u make the function but dont forget to call the function
myBaseplate.Transparency = 1 --this is how u call the function u put this under the function yea
myBaseplate.Transparency = 0.5
myBaseplate.Transparency = 0
myBaseplate.Transparency = 0.5
myBaseplate.Transparency = 1 --all of this myBaseplate.Transparency = 1 equals to this ↓↓↓↓↓↓
end
changeTransparency()
changeTransparency() --
local myPart = game.Workspace.Terrain.Part
local function changeTransparency()
myPart.Transparency = 0.5
end
local function changeMaterial()
myPart.Material = Enum.Material.Brick
end
changeTransparency()
changeMaterial()
cool tuts btw
wow I couldn't understand at start but after the "ABC" examples I now fully understand, thanks
your the only guy that make me understand this topics 😊
Great stuff! also here's my learning objective.
--Reference
local baseplate = game.Workspace.Baseplate
--Functions
local function discoMaterial()
baseplate.Transparency = .8
end
local function printDegenerate()
print("Some1: Makimaaaaaaaaa")
print("Chad1: Stfu")
end
--Calling of Functions
printDegenerate()
discoMaterial()
u called out the second function first and then the last function last. Which function is being executed first?
@@Stolodolo In-game it won't be visible as they execute way too fast for us to see the changes but since I called the printDegenerate() function first then it would be the first function to be executed.
@@vmc-mal oh so in a way it’s to slow it down and make it more visible?
baseplate = game.Workspace.Baseplate
local function cat()
baseplate.Transparency = 0.25
baseplate.Material = "Wood"
baseplate.Anchored = true
end
cat()
heh. i feel so smug with all this knowledge that has been bestowed onto me....
This video helped so much. I now actually understand how functions work.
I tried to make something a bit different so this was my code
local part = game.Workspace.P
local function changeMaterial ()
part.Material = "Sand"
wait(5)
part.Material = "Pebble"
wait(5)
part.Material = "Limestone"
wait(5)
repeat
until continue
end
changeMaterial()
But I got a problem that the game stop working and then the code got exhausted 😅
I'm ngl bro, you make the hard stuff hella easy to understand. Tysm
This is the best scripting tutorial on RUclips 🔥
I Made more Functions and a wait between the two funticons and than you have blinking Parts haha nice
(i subed thank for the viedios
)
Hey! this is an amazing video, but I have a question, what is the difference between a function and a variable, they both seem to be defining stuff so I really don't see a difference.
Bro, you got a huge W from me for those tutorials🙃