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: Script

Previous Thread :: Next Thread 
ricebool is not online. ricebool
Joined: 12 Sep 2009
Total Posts: 16772
25 Mar 2012 06:25 AM
[ Content Deleted ]
Report Abuse
DavyJones118 is not online. DavyJones118
Joined: 07 Jun 2011
Total Posts: 370
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 is not online. 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 is not online. ricebool
Joined: 12 Sep 2009
Total Posts: 16772
25 Mar 2012 09:51 AM
[ Content Deleted ]
Report Abuse
DavyJones118 is not online. DavyJones118
Joined: 07 Jun 2011
Total Posts: 370
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 is not online. ricebool
Joined: 12 Sep 2009
Total Posts: 16772
31 Mar 2012 09:35 AM
[ Content Deleted ]
Report Abuse
yyyfa is not online. yyyfa
Joined: 06 Aug 2011
Total Posts: 380
31 Mar 2012 09:58 AM
Go find some more help.
Report Abuse
Scriptman8 is not online. Scriptman8
Joined: 25 Dec 2011
Total Posts: 5561
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
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