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 » Scripting Helpers
Home Search
 

Re: Renaming LUA key functions

Previous Thread :: Next Thread 
DementedKnight is not online. DementedKnight
Joined: 07 Aug 2009
Total Posts: 2244
01 Jun 2012 05:12 PM
Like is there a way to rename every single code in scripting?
Kind of like this:

local derfergrewg = Instance.new("Hint")

while true do

local blurpebook = Text

while true do

local Le Troll = Parent

while true do

Like, how would I fix the next two so it would rename Parent and Text something I want just to make a really confusing and stupid script that still functions correctly?

New scripter here.
Report Abuse
StealthKing95 is online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
01 Jun 2012 05:34 PM
No.
Report Abuse
thane1326 is not online. thane1326
Joined: 08 Apr 2009
Total Posts: 867
01 Jun 2012 05:59 PM
Also, It's Lua, not LUA or lua.
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
01 Jun 2012 06:28 PM
Well, you can make a different name for some.

create = Instance.new
local hint = create("Hint")
Report Abuse
DementedKnight is not online. DementedKnight
Joined: 07 Aug 2009
Total Posts: 2244
01 Jun 2012 06:28 PM
It doesn't matter.
Report Abuse
DementedKnight is not online. DementedKnight
Joined: 07 Aug 2009
Total Posts: 2244
01 Jun 2012 06:29 PM
Oh and that was for the guy that corrected me on Lua.
Report Abuse
thane1326 is not online. thane1326
Joined: 08 Apr 2009
Total Posts: 867
01 Jun 2012 07:16 PM
Yes, it does matter, their is no acronym.
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
01 Jun 2012 07:22 PM
Do you mean like this?

function create(obj, parent)
Instance.new(obj, parent)
end

create("Hint", workspace).Text = "Hi"
Report Abuse
jode6543 is not online. jode6543
Joined: 16 Jun 2009
Total Posts: 5363
01 Jun 2012 07:49 PM
@dark You forgot to return in your function...
And there is an easier way, anyways.

local create = Instance.new
create("Hint", workspace).Text = "Hi"

-Jode
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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