keban
|
  |
| Joined: 05 Apr 2010 |
| Total Posts: 746 |
|
|
| 14 Sep 2012 04:17 PM |
function touch(hit) hit:remove() end
script.Parent.Touched:connect(touch) |
|
|
| Report Abuse |
|
|
eJorge
|
  |
| Joined: 09 Jun 2011 |
| Total Posts: 5966 |
|
|
| 14 Sep 2012 04:20 PM |
Remove is deprecated, use Destroy instead.
Next time go to Scripting Helpers, this forum is for advanced scripting discussions only. |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 14 Sep 2012 04:21 PM |
Yes though you should be aware that Instance::Remove has been deprecated. Use hit:Destroy() instead.
For any other questions, though, ask in the scripting helpers forum. |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2012 04:22 PM |
| Sorry eJorge, but Legend26 does it better. |
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
|
| 14 Sep 2012 05:40 PM |
| They said the exact same thing |
|
|
| Report Abuse |
|
|
pudinrox
|
  |
| Joined: 30 May 2010 |
| Total Posts: 2358 |
|
| |
|
L3GabeL4
|
  |
| Joined: 18 Feb 2012 |
| Total Posts: 808 |
|
|
| 14 Sep 2012 06:21 PM |
| Who the hell are all these alts? |
|
|
| Report Abuse |
|
|
pudinrox
|
  |
| Joined: 30 May 2010 |
| Total Posts: 2358 |
|
| |
|
L3GabeL4
|
  |
| Joined: 18 Feb 2012 |
| Total Posts: 808 |
|
|
| 14 Sep 2012 06:23 PM |
I didn't mean to type alt.
people* |
|
|
| Report Abuse |
|
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 14 Sep 2012 11:43 PM |
pudinrox is the idiot that bumped a 3 year old thread on something retarded. He's consistently bumped it like once a month. For 3. whole. years.
GOBWEY |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 14 Sep 2012 11:49 PM |
| A three year old thread bumped? That's a lot of months. Then weeks. Then days. Then hours. Then minutes. Then seconds. Anyone in the mood to calculate how many milliseconds that is :3? |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2012 12:05 AM |
| I once made a program in Java which calculates how long you've lived, in days. Though, it doesn't include leap years. Can't be bothered to find it. |
|
|
| Report Abuse |
|
|
jewelycat
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 17345 |
|
|
| 15 Sep 2012 12:07 AM |
@thek00l, same. It would get your exact age in years, days, and minutes...
Pretty basic java c: |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 15 Sep 2012 12:08 AM |
That's pretty legit :3
Mind if I see it? Don't program in java but maybe I can translate it in a language I know.
Btw, doesn't an average human live up to 27,000 days? |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 15 Sep 2012 12:09 AM |
| Oh wait, yeah...Derp, I'm just thinking of basic math :/ |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2012 12:15 AM |
| Meh, as far as I remember, it simply ran through all the months and added the days up. It's long lost. |
|
|
| Report Abuse |
|
|