This tutorial will teach you how to use functions in Roblox Studio scripting, including parameters and arguments. This topic is crucial to understand Events which are coming next!
Hi, I'm Alex! I've been obsessed with Roblox ever since I first started playing at the age of 15. Now at 25, Roblox is still my number one hobby and passion.
When I'm not working my day job, you can find me gaming for hours on end, playing and creating all kinds of imaginative worlds. I love participating in building challenges and mini-games with friends. My favorite thing is designing intricate obstacle courses and racing tracks.
I run a Roblox gaming website where I post articles, guides, and tips about my gameplay and creations. I provide tricks and advice for fellow adult gamers and try to keep things entertaining with my fun writing style.
Thanks for the support on this series so far everyone 🙂
isn't it better to do task.wait (5) instead of normal wait?
this guy is so good at teaching roblox code
function changeTransparency(part,newTransparency)
part.Transparency = newTransparency
end
changeTransparency(game.Workspace.Part,0)
wait(5)
changeTransparency(game.Workspace.Part,1)
wait(5)
changeTransparency(game.Workspace.Part,0) what that does is makes the "part" disappear and appear after 5 seconds
i was subbed since 2017!
i just realized you can run multiple functions in one functions
for example:
function Test()
print("Hello world!")
end
function Test2()
print("Hello Universe!")
end
function runmultiplefunctions()
Test()
Test2()
end
runmultiplefunctions()