Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i learn Lua?

I hardly know anything about scripting and I came here to try to learn.

1 answer

✓ Accepted answer

Oh Lua is very easy!

If you want to get started with scripting I'd recommend wiki.roblox.com, they have a lot of great tutorials.

Here's a script for you, feel free to edit it and learn.

while wait(10) do

local Baseplate = game.Workspace.Baseplate

Baseplate.BrickColor = BrickColor.Random()

end

Put that in a script and you should see the baseplate changing colors every 10 seconds!

6 comments

0

I have tried to use the wiki but i just cannot understand it. :(

0

Okay, i will mess around with that script.

0

Couldn't figure out much, all I could do is change the time of when it changes colors.

0

Okay, that's great! Just don't change it to 0 please, that will crash your game. Well, try the wiki it's easy once you understand it.

0

okay.

0

Wow, someone just came on here and down voted both of us.

This discussion is preserved as it was. New answers, comments, and votes are closed.