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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
DreamHeaven is not online. DreamHeaven
Joined: 05 Jul 2014
Total Posts: 96669
14 Feb 2015 08:28 AM
[ Content Deleted ]
Report Abuse
TheRobloxian909 is not online. TheRobloxian909
Joined: 08 Aug 2013
Total Posts: 2444
14 Feb 2015 08:31 AM
Via scripting.
Report Abuse
DreamHeaven is not online. DreamHeaven
Joined: 05 Jul 2014
Total Posts: 96669
14 Feb 2015 09:15 AM
[ Content Deleted ]
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
14 Feb 2015 09:16 AM
game.Players.PlayerAdded:connect(function()
Sound:Play()
end)
Report Abuse
DreamHeaven is not online. DreamHeaven
Joined: 05 Jul 2014
Total Posts: 96669
14 Feb 2015 09:42 AM
[ Content Deleted ]
Report Abuse
DreamHeaven is not online. DreamHeaven
Joined: 05 Jul 2014
Total Posts: 96669
14 Feb 2015 10:06 AM
[ Content Deleted ]
Report Abuse
YourAverageOter is not online. YourAverageOter
Joined: 28 Dec 2014
Total Posts: 55
14 Feb 2015 10:16 AM
you have to put a sound in the workspace then go to its properties and change the sound id to whatever. Then do Sound:play()
Report Abuse
DreamHeaven is not online. DreamHeaven
Joined: 05 Jul 2014
Total Posts: 96669
14 Feb 2015 11:19 AM
[ Content Deleted ]
Report Abuse
DreamHeaven is not online. DreamHeaven
Joined: 05 Jul 2014
Total Posts: 96669
14 Feb 2015 01:44 PM
[ Content Deleted ]
Report Abuse
SeizureMadness is not online. SeizureMadness
Joined: 23 Apr 2011
Total Posts: 154
14 Feb 2015 01:47 PM
Why are you going to the scripters forum if you don't even know where Workspace is e.e
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
14 Feb 2015 01:47 PM
http://wiki.roblox.com/index.php?title=Studio
http://wiki.roblox.com/index.php?title=How_To_Build
http://wiki.roblox.com/index.php?title=How_to_Script_Anything/Chapter1
http://wiki.roblox.com/index.php?title=Lua_Help
Report Abuse
DreamHeaven is not online. DreamHeaven
Joined: 05 Jul 2014
Total Posts: 96669
15 Feb 2015 08:55 AM
[ Content Deleted ]
Report Abuse
HellsteinInnovation is not online. HellsteinInnovation
Joined: 22 Dec 2014
Total Posts: 127
15 Feb 2015 09:30 AM
plrs = game.Players:GetPlayers()

game.Players.PlayerAdded:connect(function()
if plrs >= 2 then
music:Play()
end
end)

game.Players.PlayerRemoving:connect(function()
if plrs < 2 then
music:Pause()
end
end)
Report Abuse
iPhynx is not online. iPhynx
Joined: 25 Jul 2011
Total Posts: 3271
15 Feb 2015 01:58 PM
game.Players.PlayerAdded:connect(function()
Sound:Play()
end)

The ID should by in "Sound"'s properties.

Or add this to the script:

local a = instance.New("Sound")
a.ID = "ID" --Not sure if the variable is called ID and replace "ID" with "number"
--Also not sure if it's Instance.new, instance.New or Instance.New or instance.new. Meh.
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