of     1   

AlacrityS
#139833081Thursday, July 10, 2014 3:12 AM GMT

I put the music into the intro because then only that person can hear the music right? If not fix it so only that person can hear the music Right now it doesnt work at all I have a screen gui named "Intro" And i have a button and inside that button this script I want it to be able to play music for only that one player and then make it go away when u click "play" Currently: The gui goes away Music doesnt play at all local music = Instance.new("Sound",Workspace) music.SoundId = "http://www.roblox.com/asset/?id=155319906" music:Play() local Intro = game.StarterGui.Intro music.Parent = Intro function Click() game.Players.LocalPlayer.PlayerGui.Intro:Destroy() end script.Parent.MouseButton1Down:connect(Click) Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$781 / 90,000
AlacrityS
#139833720Thursday, July 10, 2014 3:20 AM GMT

hm Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$781 / 90,000
AlacrityS
#139833815Thursday, July 10, 2014 3:21 AM GMT

Wow Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$781 / 90,000
aaron0v
#139833960Thursday, July 10, 2014 3:23 AM GMT

Parent the Music to PlayerGui Instead of workspace.
AlacrityS
#139834187Thursday, July 10, 2014 3:25 AM GMT

@aa If i put it in the PlayerGui Like ("Sound",PlayerGui) There is another part when it goes music.Parent = Intro Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$781 / 90,000
AlacrityS
#139834331Thursday, July 10, 2014 3:27 AM GMT

Its still the same local music = Instance.new("Sound",PlayerGui) music.SoundId = "http://www.roblox.com/asset/?id=155319906" music:Play() local Intro = game.StarterGui.Intro music.Parent = Intro function Click() game.Players.LocalPlayer.PlayerGui.Intro:Destroy() end script.Parent.MouseButton1Down:connect(Click) Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$781 / 90,000
aaron0v
#139834413Thursday, July 10, 2014 3:28 AM GMT

Have you tested the music outside of the script?
AlacrityS
#139834441Thursday, July 10, 2014 3:28 AM GMT

Yep Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$781 / 90,000
aaron0v
#139834798Thursday, July 10, 2014 3:32 AM GMT

repeat wait() until game.Players.LocalPlayer.Character~=nil Put that at the top of your script.
AlacrityS
#139834912Thursday, July 10, 2014 3:33 AM GMT

Added it Still nothing Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$781 / 90,000
blockoo
#139835112Thursday, July 10, 2014 3:36 AM GMT

I believe that if you put the sound in the player's character, it'll work. Not completely sure though, since it's been a while since I've messed with this stuff.
AlacrityS
#139835289Thursday, July 10, 2014 3:37 AM GMT

Whats the path to insert it into the player and not the PlayerGui? Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$781 / 90,000
AnonyAnonymous
#139835349Thursday, July 10, 2014 3:38 AM GMT

Player.Character
blockoo
#139835446Thursday, July 10, 2014 3:39 AM GMT

The path to get to a player's character from their actual player (that contains the PlayerGui) is: game.Players.Person.Character
aaron0v
#139835677Thursday, July 10, 2014 3:41 AM GMT

repeat wait() until game.Players.LocalPlayer.Character~=nil music = Instance.new("Sound",game.Players.LocalPlayer) music.SoundId = "http://www.roblox.com/asset/?id=155319906" music:Play() function Click() music:Destroy() script.Parent.Parent:Destroy() end script.Parent.MouseButton1Down:connect(Click) plr=game.Players.LocalPlayer plr.Character.Humanoid.Died:connect(function() pcall(function() Click() end) end)
AlacrityS
#139836325Thursday, July 10, 2014 3:48 AM GMT

@aa, It worked Just had to fix it because the stop part didnt work Instead of music:Destroy() Try music:Pause() Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$781 / 90,000
AlacrityS
#139836386Thursday, July 10, 2014 3:48 AM GMT

I just hope that it only plays for that character and no one else Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$781 / 90,000

    of     1