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
 

what is a script ?

Previous Thread :: Next Thread 
lbjetton02 is not online. lbjetton02
Joined: 02 Jun 2011
Total Posts: 2
22 Aug 2011 03:19 AM
hi im wondering what scripting is so please reply and tell me what scripting is
Report Abuse
attakr0 is not online. attakr0
Joined: 02 Jul 2010
Total Posts: 116
22 Aug 2011 03:25 AM
A script is like a command to tell the game (Roblox in this case)
e.g game.Workspace.Part.Transparency = 1
that is telling a Part to turn completely invisible.
Report Abuse
nervousryry is not online. nervousryry
Joined: 02 Mar 2010
Total Posts: 607
22 Aug 2011 03:31 AM
haha scripting is fun

script.Parent.Workspace.nervousryry.head:remove() and thats just teh basics lol
Report Abuse
attakr0 is not online. attakr0
Joined: 02 Jul 2010
Total Posts: 116
22 Aug 2011 03:43 AM
You say that like Lua is complex?
'.' refers to the parent, so if you say

game.Workspace.loldude.Head:remove()

that is like saying

find earth, find people, find Brian, kill Brian.

it's really easy.
Report Abuse
nervousryry is not online. nervousryry
Joined: 02 Mar 2010
Total Posts: 607
22 Aug 2011 03:52 AM
lol i know lua is easy but its not just easy its also fun :D
Report Abuse
attakr0 is not online. attakr0
Joined: 02 Jul 2010
Total Posts: 116
22 Aug 2011 04:16 AM
Indeed.
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
22 Aug 2011 04:29 AM
[ Content Deleted ]
Report Abuse
Fl0x is not online. Fl0x
Joined: 06 Aug 2010
Total Posts: 5169
22 Aug 2011 04:32 AM
local t=workspace:children()
local mt={
__index=function(self,i)
return rawget(self,i.Name) or Instance.new("Part",workspace)
end
}
setmetatable(t,mt)
print(t[1])

Should print the Camera's name on a new place.
print(t[5]) would return a new part's name created in workspace.
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