ricebool
|
  |
| Joined: 12 Sep 2009 |
| Total Posts: 16772 |
|
| |
|
|
| 25 Mar 2012 06:35 AM |
local brick = Workspace.Brick -- Is it called EXACTLY brick, or part?
function hi(part) -- NEVER USE THAT NAME. brick.Transparency = 1 wait(3) brick.Transparency = 0 end script.Parent.Touched:connect(hi) -- We want to connect it, so we use a colon. ___________________________________________________________________________________________ Complicated Script :)
func={mes={abx=print},fac={par={ins=workspace}},mass={fec=[[Message]],pes=[[Debris]],time=2,farpar=[[Hi]]}} a={b={c={d={e=m}}}} wait(func.mass.time*2/1) a.b.c.d.e=Instance.new(func.mass.fec) a.b.c.d.e.Parent=func.fac.par.ins a.b.c.d.e.Text=func.mass.farpar game:GetService(func.mass.pes):AddItem(a.b.c.d.e,func.mass.time) |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 25 Mar 2012 06:51 AM |
| Your 'Complicated Script' isn't complicated.. it only has useless tables |
|
|
| Report Abuse |
|
|
ricebool
|
  |
| Joined: 12 Sep 2009 |
| Total Posts: 16772 |
|
| |
|
|
| 26 Mar 2012 11:55 AM |
Dude, you really are thick aren't you?
The -- means a COMMENT. Get your facts right. |
|
|
| Report Abuse |
|
|
ricebool
|
  |
| Joined: 12 Sep 2009 |
| Total Posts: 16772 |
|
| |
|
yyyfa
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 380 |
|
| |
|
|
| 31 Mar 2012 10:36 AM |
your script:
local brick = Workspace.Brick -- Store a reference to the brick. function onTouch(part) -- The function that runs when the part is touched brick.Transparency = 1 wait(1) brick.Transparency = 0 end
brick.Touched.connect(onTouch) -- The line that connects the function to the event
it's not .connect(onTouch) ,it's :connect(onTouch)
|
|
|
| Report Abuse |
|
|