|
| 22 Aug 2011 03:19 AM |
| hi im wondering what scripting is so please reply and tell me what scripting is |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 22 Aug 2011 03:52 AM |
| lol i know lua is easy but its not just easy its also fun :D |
|
|
| Report Abuse |
|
|
attakr0
|
  |
| Joined: 02 Jul 2010 |
| Total Posts: 116 |
|
| |
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13241 |
|
| |
|
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 |
|
|