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: Sound won't work

Previous Thread :: Next Thread 
yankeejr is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
16 Dec 2013 09:02 PM
It only works in Solo, but not online. What is the issue?
Report Abuse
yankeejr is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
16 Dec 2013 09:03 PM
Bump.
Report Abuse
yankeejr is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
16 Dec 2013 09:07 PM
. . .
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Dec 2013 09:09 PM
wheres the code?
Report Abuse
yankeejr is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
16 Dec 2013 09:11 PM
function NewPlayer(plyr)
game.Players:WaitForChild(plyr.Name)
game.Workspace.Sound.Looped = true
game.Workspace.Sound:Play()
end

game.Players.PlayerAdded:connect(NewPlayer)
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Dec 2013 09:12 PM
im not too sure about this but isnt it (player)? or can u use plyr as well?
Report Abuse
yankeejr is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
16 Dec 2013 09:13 PM
It will work, because it is telling the Parent (playr.) etc.
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Dec 2013 09:19 PM
is it waitforchild or waitforchildready? lol I need to review this :P
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
16 Dec 2013 09:24 PM
what is NewPlayer
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Dec 2013 09:28 PM
the name of the function
Report Abuse
HAXO is not online. HAXO
Joined: 19 Mar 2010
Total Posts: 690
16 Dec 2013 09:28 PM
function NewPlayer(plyr)wait()
if not plyr then return end
game.Workspace.Sound.Looped = true
game.Workspace.Sound:Play()
error'*Screams from the hill-tops* WHY!!!'
end

game:GetService("Players").PlayerAdded:connect(NewPlayer)
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
16 Dec 2013 09:32 PM
I meant what is the function
>didn't include the 'NewPlayer' function

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