LVFATBOY
|
  |
| Joined: 15 Sep 2006 |
| Total Posts: 2619 |
|
|
| 04 Oct 2013 08:02 PM |
function PlaySound(id) local sound = Instance.new("Sound") sound.SoundId = "http://www.roblox.com/asset?id=" .. tostring(id) sound.Parent = game.Players.LocalPlayer.PlayerGui sound:Play() end
local TextBox = script.Parent:WaitForChild("TextBox") local Sound1 = script.Parent:WaitForChild("Sound1") local Sound2 = script.Parent:WaitForChild("Sound2")
Sound1.MouseButton1Click:connect(function(PlaySound) id = Sound1.ID end)
Sound2.MouseButton1Click:connect(function(PlaySound) id = Sound2.ID end)
LVFB ⊱ Game Developer ⊱⊰ Scripter ⊱⊰ Builder ⊱⊰ Clothing Designer |
|
|
| Report Abuse |
|
|
nocnoc1
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 2193 |
|
| |
|
LVFATBOY
|
  |
| Joined: 15 Sep 2006 |
| Total Posts: 2619 |
|
|
| 04 Oct 2013 08:54 PM |
You're the biggest troll in Scripting Helpers.
LVFB ⊱ Game Developer ⊱⊰ Scripter ⊱⊰ Builder ⊱⊰ Clothing Designer |
|
|
| Report Abuse |
|
|