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

Anyone got any good places to start scripting lua?

I've been trying to find good places to start lua scripting but i cant find anywhere to start. I've check a bunch of sites already, so i'm just coming here to see where you guys started to try and help me start. any good websites or books?

5 comments

0

peasfactory on yt, roblox wiki, roblox developer, you have lots of options

0

lua learners.

0

ive heard about peasfactory, but they seem a bit outdated.

0

^ yes, he definitely helps. except ive watched those tutorials about when it came out. but still very helpful

0

ill check it out then but leave this open incase anyother ideas pop up

2 answers

✓ Accepted answer

If you're looking to start lua here's a few things you need to know.

Look at the properties. When you compare lua is basically like speaking only you have to be more exact.

For example:

script.Parent --Finds the parent of the script.
script.Transparency --Finds how visible the block is.[Note: it has to be a number value or integer as compared to the properties value.]
script.CanCollide --Finds if you can walk through the block or not.

Operations

So let's say you need to figure out an if statement to compare. These are basics. You would say

if script.Parent.Transparency == x then --script.Parent.[Block in workspace] is equal to number
return true

I would say more but I would rather not type so here are some learning tips:

Ask for help when needed but don't always ask for help. Try to figure stuff out by yourself. Always practice so you can learn to script faster and more efficiently.

If you need more information always check the roblox dev wiki https://developer.roblox.com/en-us

if you still need more information please view these videos as they are beginner tutorials https://www.youtube.com/watch?v=NSQQ9ZchtzE

https://www.youtube.com/watch?v=0LiaEDui2vE

1 comment

0

You need more than that to code m8

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