Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Hello and thank you for reading this Vertitech (Now Dev_Much)'s beginner guide for scripting! --
- -- If you paste this into a ROBLOX script inserted either in the Workspace, or ServerScriptService, these sentences will be ignored by the reading of the script, considering they're "comments". --
- -- To make a comment, simply just put two dashes, then write whatever you want. Just like what I'm doing. --
- -- Let's start with the first basic script. --
- print("Hello world!")
- -- Above is a print script or just the code you see when you open a script in the Studio. --
- -- The computer reads a script from top to bottom, so if you put this: --
- print("Hello world!")
- print("Hello universe!")
- -- The computer will simply read the print("Hello world!") first, then the other. --
- -- On to the next script, which is the basic audio script, which is also on another paste of mine. --
- -- The whole Studio runs on this platform called "Game" which is basically a file everything is under. --
- -- Think of it as the Downloads window in your File Explorer. A bunch of things are under it. --
- -- Here is the script: --
- game.Workspace.Sound:Play()
- -- If you really think about it, scripting is basically telling a computer what to do. --
- -- If you also have no idea how to see if you did a script incorrectly or not, open the Output window listed under the View tab in ROBLOX Studio. --
- -- Thanks for reading this quick and short little guide to beginner scripting. I also recommend looking up this on YouTube, Google, or any other search engine: --
- "How to script in ROBLOX"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement