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

Were did most people learn to script is it easy to learn? is it Hard? or is it easy?

So my games are getting to the stage were i cant find free scripts fro them so im trying to learn were do you guys learn it?

5 comments

0

you should prob start from the roblox youtube channel, there are some tutorials there. But watch out what free scripts/ models you use they could have viruses

0

Experiment with free scripts (although they are likely poorly written), look through documentation on both roblox’s developer website and lua’s website so you understand the roblox library as well as the base language, and look up questions you have in google as they have likely already been answered. Difficulty depends on prior knowledge and inclination.

0

thx guys i know about viruses

0

alvinblox

0

o ok

1 answer

Hi! There are plenty of resources out there to learn how to use LUA, but most notably make sure to use the dev forum, this website, and the developer hub.

local Variable = 0
local otherVariable = 2

print(Variable) --0
print(otherVariable) --2

function test(parameter)
	local function myOtherFunction(otherParameter)
		print(otherParameter)
	end
	
	print(paramter)	
	myOtherFunction(otherParameter)
end

test(test) --prints test and test

local bool = false 

if not bool then --if bool is false
	print("oof") --print oof
elseif bool then --if bool is true
	print("yay") --print yay
else --if none of the conditions above work
	print("what") --print what
end

3 comments

0

and the alvinblox yt channel

0

also ur line 16 would error test("test)

0

thanks for catching that, however in my opinion youtube channels (especially alvin blox) feature bad techniques that are overall not recommended.

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