miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 12 Feb 2012 02:53 PM |
Sounds = {"http://www.roblox.com/asset/?id=1372262","http://www.roblox.com/asset/?id=27697392","http://www.roblox.com/asset/?id=27697707","http://www.roblox.com/asset/?id=1372261","http://www.roblox.com/asset/?id=2027611"} while true do for i,v in pairs(game.Players:GetPlayers()) do if v <2 then s = Instance.new("Sound",v) s.Name = "Songify" s.Volume = 1 s.Looped = true s.SoundId = Sounds[math.random(1,#Sounds)] wait(1) s:Play() wait(60) s:Stop() end if v >= 2 then break end end
What I want that to do is play a sound and parent it on the Player. Until there's greater than 2 players the sound doesn't parent anymore. Help?! |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2012 02:58 PM |
| And you couldn't just *bump* the other thread... |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 12 Feb 2012 03:01 PM |
| I couldn't...I just want THESE THINGS TO WORK SO I CAN LEARN C++! |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2012 03:30 PM |
C++ ~= Lua. Just sayin. I've tried to learn C++ and it's more related to Java than anything.
CODsniperkid, Advanced Scripter |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 12 Feb 2012 03:32 PM |
| I'm already on chapter 6. But this script is keeping me away from studying it!!! |
|
|
| Report Abuse |
|
|
pauljkl
|
  |
| Joined: 23 Oct 2008 |
| Total Posts: 9364 |
|
|
| 12 Feb 2012 04:34 PM |
| Wouldnt it have to go into the Character, not the player |
|
|
| Report Abuse |
|
|