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: How do you play music from .CharacterAdded

Previous Thread :: Next Thread 
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
06 Feb 2014 08:03 PM
it prints IT WORKED! but the sound doesent play "Nature" is the sound

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
print 'IT WORKED!'
game.Players.GetPlayerFromCharacter(character).PlayerGui.Nature:Play()
end)
end)

Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
06 Feb 2014 08:04 PM
Heres the ID : http://www.roblox.com/asset/?id=131187945
Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
06 Feb 2014 08:38 PM
Bump.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
06 Feb 2014 08:39 PM
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
player:WaitForChild("PlayerGui"):WaitForChild("Nature"):Play() --just to be safe
end)
end)
Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
07 Feb 2014 03:09 PM
Nope.
Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
07 Feb 2014 07:55 PM
Bump.
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
07 Feb 2014 07:56 PM
No Output?
Report Abuse
jjj344 is not online. jjj344
Joined: 19 Dec 2010
Total Posts: 12709
07 Feb 2014 07:58 PM
musicID=(put music ID here)

My ma always said.. life is like a box of chocolates.. *nom nom* never know what you gonna get.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
07 Feb 2014 07:59 PM
its colon


game.Players.GetPlayerFromCharacter(character).PlayerGui.Nature:Play()
game.Players:GetPlayerFromCharacter(character).PlayerGui.Nature:Play()
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