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
 

Honestly how could I mess this up?

Previous Thread :: Next Thread 
acealeam is not online. 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 is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
04 Feb 2012 04:53 PM
what is the rest of the script?
Report Abuse
NeonBlox is not online. 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 is not online. 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 is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
04 Feb 2012 05:02 PM
script.Parent:Play()
Report Abuse
yomamadude6 is not online. yomamadude6
Joined: 21 Nov 2009
Total Posts: 2151
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 is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
04 Feb 2012 05:56 PM
yomamadude6 no, you have got it completely wrong...
Report Abuse
yomamadude6 is not online. yomamadude6
Joined: 21 Nov 2009
Total Posts: 2151
04 Feb 2012 05:58 PM
Oh, its a bool, lolz nvm
Report Abuse
acealeam is not online. 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
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