Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Anyone Willing to Help a Beginner? [closed]

Asked by 10 years ago

Is there anyone out there willing to teach me how to code in Lua for Roblox? I have had very little experience in the LuaLearners website, as it got shut down a week after I found out about it, and I forgot much of what I learned. In summary, is anyone willing to teach me how to script? I would appreciate it greatly. I live in Ireland, so I think the timezone is GMT+1, so anyone in this timezone would make it more convenient for both of us.

1
The best way to learn Lua and how to script in it is to examine Free Models and Uncopylocked places (that work) and look at the code. The very basics of syntax you pretty much have to ask for, but from that you just have to experiment to figure out what does what. adark 5487 — 10y
0
Ah! I never thought of that. Thank you. I have found a tutor, but this will definetely help when hes not online, and I'm just practicing in my own time. giantcris123 5 — 10y

Locked by adark and User#2

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 10 years ago

I can show you the awnser! First lesson Variables and print. First we are learning how to make a variable. First click at the top of the screen of roblox studio and click view then output and basic objects and explorer and properties. Second go to basic objects then scroll on basic objects to scrips then double click it. Third type in

Pizza = 5
print(Pizza)

Test the game then look at the output and it should say 5 because pizza is 5 and we printed the value of pizza.

Second lesson Functions First insert a part in basic objects then select the part in explorer then double click script with the part selected in explorer.

function onTouch()
Part.Transparency = 0.5
end
script.Parent.Touched:connect(onTouch)

This make the part ghost like when you touch it. Third lesson string.len In the variable script you made go in it by double clicking it in explorer. Press enter once then type in the script

soul = "Hi!"
print(string.len(soul))

The output would say 3 because there is 3 characters in Hi! Fourth lesson => and <= Make another line in the variable script and type in it

Coolness = 10
Poop = 5
if Coolness <= 20 or Poop => 10 then
print("Coolness wins!")
else
print("Poop wins!")
end

The output would print Coolness wins! because coolness is lower than 20 but poop isn't more than 10. --Hope this helps!--

0
Thank you! I will PM you later if you are still intrested. giantcris123 5 — 10y
0
Thank you. It did. giantcris123 5 — 10y
Ad