|
| 29 Oct 2014 11:01 AM |
Image = script.Parent.BillboardGui.ImageLabel
IT = Image.ImageTransparency
function show() repeat Image.ImageTransparency = math (IT - .1) until IT == 0 end
function dissap() repeat Image.ImageTransparency = math (IT + .1) until IT == 1 end
function hit() script.Parent:connect(show) wait(3) script.Parent:connect(dissap) end
while true do wait() script.ParentTouched:connect(hit) end
why doesnt this work?
You silly bum. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2014 11:11 AM |
I don't know why it doesn't work, why don't you tell us. Tell us the output, if any, what it does, and what it is supposed to do.
"script.Parent:connect(show)" You mean show()? |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 29 Oct 2014 11:31 AM |
math (IT - .1)
Something tells me that math isn't a function here. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 29 Oct 2014 11:32 AM |
function hit() script.Parent:connect(show) wait(3) script.Parent:connect(dissap) end
while true do wait() script.ParentTouched:connect(hit) end
These all suck too.
ParentTouched is not an event. Do script.Parent.Touched:connect(hit) instead script.Parent is not an event, If you need to call a function just do show() or dissap() instead |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 29 Oct 2014 01:36 PM |
You don't call math to do math lol You can just subtract it, the math methods aren't required to be called. -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2014 10:46 AM |
Here, I removed all of the math thingys. Now here is what I got. http://prntscr.com/51mmnn
You silly bum. |
|
|
| Report Abuse |
|
|
| |
|