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, slightly advanced

Previous Thread :: Next Thread 
Im_Linux is not online. Im_Linux
Joined: 05 Aug 2015
Total Posts: 390
26 Jul 2016 07:46 PM
is there a way to play a song and the name displays at the top on a gui? sort of like club sanity?


lel
Report Abuse
Im_Linux is not online. Im_Linux
Joined: 05 Aug 2015
Total Posts: 390
26 Jul 2016 07:53 PM
bump


lel
Report Abuse
peIicans is not online. peIicans
Joined: 02 Nov 2013
Total Posts: 1148
26 Jul 2016 07:57 PM
yes


Report Abuse
Im_Linux is not online. Im_Linux
Joined: 05 Aug 2015
Total Posts: 390
26 Jul 2016 07:58 PM
how? what command?


lel
Report Abuse
peIicans is not online. peIicans
Joined: 02 Nov 2013
Total Posts: 1148
26 Jul 2016 07:59 PM
u code it


Report Abuse
Im_Linux is not online. Im_Linux
Joined: 05 Aug 2015
Total Posts: 390
26 Jul 2016 08:00 PM
what command


lel
Report Abuse
peIicans is not online. peIicans
Joined: 02 Nov 2013
Total Posts: 1148
26 Jul 2016 08:01 PM
do you even know how to script


Report Abuse
Im_Linux is not online. Im_Linux
Joined: 05 Aug 2015
Total Posts: 390
26 Jul 2016 08:02 PM
no dip sherklock let me know how to do what you said you can do


lel
Report Abuse
peIicans is not online. peIicans
Joined: 02 Nov 2013
Total Posts: 1148
26 Jul 2016 08:03 PM
but this isnt a place for making scripts for people


Report Abuse
Im_Linux is not online. Im_Linux
Joined: 05 Aug 2015
Total Posts: 390
26 Jul 2016 08:04 PM
what an idiot


lel
Report Abuse
peIicans is not online. peIicans
Joined: 02 Nov 2013
Total Posts: 1148
26 Jul 2016 08:05 PM
):


Report Abuse
Stiiky is not online. Stiiky
Joined: 15 Jan 2010
Total Posts: 451
26 Jul 2016 08:07 PM
heres the command


for i,v in pairs(game.Workspace:GetChildren()) do
if v:IsA("Sound") then
print(v.Name) -- prints song name
else
v.Parent = nil -- skips over the thing if its not a sound
end

just put it in a script inside workspace, the command does the rest.
Report Abuse
Im_Linux is not online. Im_Linux
Joined: 05 Aug 2015
Total Posts: 390
26 Jul 2016 08:08 PM
thanks


lel
Report Abuse
WoolHat is not online. WoolHat
Joined: 19 May 2013
Total Posts: 1873
26 Jul 2016 08:08 PM
OP I'd like a little green sofa please, leather only please thanks
Report Abuse
lululukas is not online. lululukas
Joined: 23 Aug 2010
Total Posts: 1043
26 Jul 2016 08:24 PM
Stilky, you need to be asking questions, not answering them as you clearly don't know what you're talking about.

v.Parent=nil does not skip over it. It parents it to nil which is pretty much deleting it, you'd be getting rid of everything in workspace except sounds.


Report Abuse
Dominical is not online. Dominical
Joined: 04 Nov 2011
Total Posts: 1303
26 Jul 2016 08:27 PM
You'd have to create a table with the name of the song, as well as the id. If you wanted to do everything automatically, you'd have to use HttpService.


Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
26 Jul 2016 08:28 PM
I think that was the point lulu.

u sicko!
Report Abuse
Stiiky is not online. Stiiky
Joined: 15 Jan 2010
Total Posts: 451
26 Jul 2016 08:29 PM
lulu, that was the point of it. Im not dumb. Its a clever way to hide delete()


Report Abuse
Im_Linux is not online. Im_Linux
Joined: 05 Aug 2015
Total Posts: 390
26 Jul 2016 08:29 PM
alright thanks @Dom


lel
Report Abuse
Stiiky is not online. Stiiky
Joined: 15 Jan 2010
Total Posts: 451
26 Jul 2016 08:31 PM
linux did u like my script?


Report Abuse
Im_Linux is not online. Im_Linux
Joined: 05 Aug 2015
Total Posts: 390
26 Jul 2016 08:32 PM
yes it taught me how to troll people


lel
Report Abuse
Stiiky is not online. Stiiky
Joined: 15 Jan 2010
Total Posts: 451
26 Jul 2016 08:32 PM
did you use it? lol


Report Abuse
Im_Linux is not online. Im_Linux
Joined: 05 Aug 2015
Total Posts: 390
26 Jul 2016 08:33 PM
yes


lel
Report Abuse
Stiiky is not online. Stiiky
Joined: 15 Jan 2010
Total Posts: 451
26 Jul 2016 08:33 PM
you know why I did that, right?
and i should've told u to do it in studio


Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
26 Jul 2016 08:33 PM
local sounds = {"id", "id", "id"}--etc.

local randomsound = math.random(1, #sounds)

local newsound = Instance.new("Sound", game.Workspace)
newsound.SoundId = randomsound
print(newsound)

If you want more make it yourself.

u sicko!
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