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: Can someone help me fix this?

Previous Thread :: Next Thread 
RAYAN1565 is not online. RAYAN1565
Joined: 15 Nov 2009
Total Posts: 299
06 Aug 2014 09:04 PM
This is in a GUI. I want this script to take what the player types in the text box and put it at the end of the link "http://www.roblox.com/asset/?id=" and finally paste the link in the SoundId property of the Sound object. I tried the script below. But it doesn't seem to work.

~~~~~~~~~~~~~~~~
local Button = script.Parent
Frame = script.Parent.Parent.Parent
a = script.Parent.Parent.AudioIDInsert.Text

function onClick()
game.Workspace.RadioModel.Music.Script.Sound.SoundId="http://www.roblox.com/asset/?id=" .. a
wait(0.1)
Frame:Destroy()
end

Button.MouseButton1Click:connect(onClick)
~~~~~~~~~~~~~~~~
Report Abuse
RAYAN1565 is not online. RAYAN1565
Joined: 15 Nov 2009
Total Posts: 299
06 Aug 2014 09:05 PM
If you need some more information. Please request.
Report Abuse
RAYAN1565 is not online. RAYAN1565
Joined: 15 Nov 2009
Total Posts: 299
06 Aug 2014 09:07 PM
RadioModel is a model
Music is a part

AudioIDInsert is a textbox
Report Abuse
RAYAN1565 is not online. RAYAN1565
Joined: 15 Nov 2009
Total Posts: 299
06 Aug 2014 09:48 PM
Bump

Help Please!!!! Try
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