generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Re: Can somebody teach me how to script?

Previous Thread :: Next Thread 
fabou10101 is not online. fabou10101
Joined: 13 Feb 2012
Total Posts: 17
22 May 2016 10:39 PM
I want to learn how to to make my own scripts like weapons or others things. I hope somebody can teach me.
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
22 May 2016 10:41 PM
Just a tip: Lua sucks. Don't think it'll be usefully anywhere outside of Roblox. But as long as you don't mind that, you'll be fine. Plus it makes it 1000% easier to learn Python, which is actually very useful.
Report Abuse
fabou10101 is not online. fabou10101
Joined: 13 Feb 2012
Total Posts: 17
22 May 2016 11:55 PM
I don't mind that it's only good for Roblox. I just want to learn how to script.
Report Abuse
CopperWireASMR is not online. CopperWireASMR
Joined: 22 Aug 2015
Total Posts: 35
23 May 2016 12:20 AM
I can teach some things that are very basic, but yes Phoenix is right Lua scripting sucks. So scripting will be a lot easier if you know some of the words or phrases that are commonly used. For example: while true do, local, false, true, else, do, functions, etc. equals signs and bracets are also used pretty much all the time when people script And when people script a sentence they put periods in between the words so it will look something like this: script = game.Player.PlayerAdded:connect(function(player). When writing a script, you have to be very specific and even just 1 letter that is not capatilized will ruin the entire script. I suggest looking at scripting tutorials on YouTube to find more about scripting. But note that scripting is not something that is easy and will take years of practice to learn the context and variables that are used.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
23 May 2016 12:23 AM
You can use Lua to do ANYTHING you can do with python, except with better performance and portability.


Report Abuse
CopperWireASMR is not online. CopperWireASMR
Joined: 22 Aug 2015
Total Posts: 35
23 May 2016 12:35 AM
Yeah but nobody outside of roblox really uses Lua, and even if did they would use Python instead because it's better
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
23 May 2016 12:54 AM
"Yeah but nobody outside of roblox really uses Lua, and even if did they would use Python instead because it's better"

Oh, the ignorance.

1. Lua is one of most, if not the most, used language for game scripting in the world.
2. Lua is gaining a foothold as a web-server language, it does a better job at it than Python, JavaScript, PHP, etc.
3. Please explain how Python is better than Lua, is it because Python doesn't have anonymous functions, is less portable, is slower, is very difficult to embed in a host application?


Report Abuse
membra is not online. membra
Joined: 14 Oct 2008
Total Posts: 6313
23 May 2016 02:05 AM
Lua is the most useful language ever.
Literally every game uses it for modding and stuff; The Binding of Isaac, Factorio, Dota 2, tons others.
There's also tons of game engines that use Lua; Cocos, Corona, LOVE, etc.
Although Lua may not be the most versatile, efficient or robust language in the world, calling it sucky is just misinformed.

Also, Copper, are you seriously saying that a language is sucky because it has syntax and structure? Similar rules apply to literally every programming language ever.
Misplacing a capital letter or whatever doesn't really matter because we have the output window, so long as you script is readable, you should be able to quickly figure out any syntax errors and stuff like that.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image