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 » Scripters
Home Search
 

Re: Sound Script Help needed

Previous Thread :: Next Thread 
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
22 Aug 2015 03:12 PM
Can someone help me make this work, I don't know why it won't.

game.Players.PlayerAdded:connect(function(plr)
local s = Instance.new("Sound", plr:WaitForChild("PlayerGui"))
s.SoundId = "rbxassetid://279814081"
s:Play()
wait(sound.TimeLength)
end)
sound.Ended:connect(function()
local s2 = Instance.new('Sound', plr:WaitForChild("PlayerGui"))
s2.SoundId = 'rbxassetid://234174965'
s2.Looped = true
s2:Play()
end)
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
22 Aug 2015 03:13 PM
You're using a variable called s, but then calling the variable Sound. I'm confused. D:
Report Abuse
someonedie is not online. someonedie
Joined: 19 Mar 2011
Total Posts: 1710
22 Aug 2015 03:15 PM
A Cupcake is a small cake baked in a cup-shaped container and typically iced. it tastes good
Report Abuse
ironrobot914 is not online. ironrobot914
Joined: 08 Jan 2010
Total Posts: 183
22 Aug 2015 03:16 PM
Sound can be really screwy.
Report Abuse
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
22 Aug 2015 03:22 PM
sound is weird, and the first sound plays, but the second one never does.
Report Abuse
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
22 Aug 2015 06:40 PM
Bump.
Report Abuse
SmileySquidy is not online. SmileySquidy
Joined: 28 Jul 2015
Total Posts: 192
22 Aug 2015 07:43 PM
Here, take this. It was made by my group. It works great for me, and I hope you will find the same outcome.

http://web.roblox.com/Battlerich-Music-Player-v1-2-item?id=255751190
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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