acealeam
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 14875 |
|
|
| 04 Feb 2012 04:51 PM |
script.Parent.IsPlaying = true
Parent is a sound...
~It's not that I hate you, it's just that, if you were on fire and I had water... I would drink it~ |
|
|
| Report Abuse |
|
|
magnalite
|
  |
| Joined: 18 Oct 2009 |
| Total Posts: 2467 |
|
|
| 04 Feb 2012 04:53 PM |
| what is the rest of the script? |
|
|
| Report Abuse |
|
|
NeonBlox
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1462 |
|
|
| 04 Feb 2012 04:55 PM |
I've never messed with sounds before, but I believe that should work (if it's parented right).
Is it by any chance in a if statement (if script.Parent.IsPlaying = true then)? In that case, you would need a second equal sign. |
|
|
| Report Abuse |
|
|
acealeam
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 14875 |
|
|
| 04 Feb 2012 04:59 PM |
That is the entire script. I don't know why it's not working. It says Can't set value.
But if that's that, then why add sounds at all. :/
~It's not that I hate you, it's just that, if you were on fire and I had water... I would drink it~ |
|
|
| Report Abuse |
|
|
magnalite
|
  |
| Joined: 18 Oct 2009 |
| Total Posts: 2467 |
|
| |
|
|
| 04 Feb 2012 05:54 PM |
You can't set the value of an object. What is IsPlaying? If it is an variable then do: IsPlaying=true
or if it global: _G.IsPlaying=true |
|
|
| Report Abuse |
|
|
magnalite
|
  |
| Joined: 18 Oct 2009 |
| Total Posts: 2467 |
|
|
| 04 Feb 2012 05:56 PM |
| yomamadude6 no, you have got it completely wrong... |
|
|
| Report Abuse |
|
|
| |
|
acealeam
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 14875 |
|
|
| 04 Feb 2012 06:00 PM |
Anyone know the ID for the Begin sound?
~It's not that I hate you, it's just that, if you were on fire and I had water... I would drink it~ |
|
|
| Report Abuse |
|
|