|
| 06 Apr 2013 12:27 PM |
local Sound1=Instance.new("Sound", game.Workspace) local Sound2=Instance.new("Sound", game.Workspace) while true do Sound1.ID="http://www.roblox.com/asset/?id=27697743" Sound2.ID="http://www.roblox.com/asset/?id=27697743" Sound1.IsPlaying=true Sound2.IsPlaying=false wait(10) Sound1.IsPlaying=false Sound2.IsPlaying=true wait(10) end |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Apr 2013 12:29 PM |
alright the script won't work
:/ |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2013 12:33 PM |
local Sound1=Instance.new("Sound", game.Workspace) local Sound2=Instance.new("Sound", game.Workspace) while true do Sound1.ID="http://www.roblox.com/asset/?id=27697743" Sound2.ID="http://www.roblox.com/asset/?id=27697743" Sound1.Volume = 1 Sound2.Volume = 1 Sound1:Play() Sound2:Stop() wait(10) Sound1:Stop() Sound2:Play() wait(10) end |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2013 12:36 PM |
can you help me a little bit more
so do I need to have the sounds in the work space, and if so do I put them with the script?
and do I put it in local script or reg script
and if local, do I put it in starter pack |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2013 12:38 PM |
local Sound1=Instance.new("Sound", game.Workspace) local Sound2=Instance.new("Sound", game.Workspace) while true do Sound1.SoundId="http://www.roblox.com/asset/?id=27697743" Sound2.SoundId="http://www.roblox.com/asset/?id=27697743" Sound1.Volume = 1 Sound2.Volume = 1 Sound1:Play() Sound2:Stop() wait(10) Sound1:Stop() Sound2:Play() wait(10) end
Just put that script in the workspace it should work now. |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2013 12:39 PM |
| Put in the Workspace as a regular script you don't need to do anything else. |
|
|
| Report Abuse |
|
|
Ferki
|
  |
| Joined: 22 Jan 2013 |
| Total Posts: 968 |
|
|
| 06 Apr 2013 12:42 PM |
The sounds need to be in the workspace before they can play
local Sound1=Instance.new("Sound", game.Workspace) local Sound2=Instance.new("Sound", game.Workspace) while true do Sound1.SoundId="http://www.roblox.com/asset/?id=27697743" Sound2.SoundId="http://www.roblox.com/asset/?id=27697743" Sound1.Volume = 1 Sound2.Volume = 1 Sound1.Name = ("Sound1") Sound1.Parent = game.Workspace Sound1:Play() Sound2:Stop() wait(0.1) game.Workspace.Sound1:Remove() wait(10) Sound2.Name = ("Sound2") Sound2.Parent = game.Workspace Sound1:Stop() Sound2:Play() wait(0.1) game.Workspace.Sound2:Remove() wait(10) end
This should Work, If not remove the "game.Workspace.Sound1:Remove()" lines |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2013 12:45 PM |
| They already were in the Workspace did you not notice the Instance.new("Sound",game.Workspace) the old code worked fine. |
|
|
| Report Abuse |
|
|
| |
|