depp45
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 6 |
|
|
| 26 Apr 2015 03:04 PM |
Ello :3 Is there a way that when a certain friend enters my Place, specific Music like his Favorite Song Plays.
Like lets say
Friend one enters=His song
Friend 2 enters=His fav song
etc
is that possible?
I Apologize for the messy grammar but im in a bt of a hurry
Thanks already :3 |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 03:18 PM |
roblox is being an idiot like ussal so here is a script that you only have to edit a little to get working
http://codepad.org/8gNj9neH |
|
|
| Report Abuse |
|
|
depp45
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 6 |
|
|
| 26 Apr 2015 03:28 PM |
Since im pretty new to scribting how like where do i insert it again? I wasnt editing places really till the scribt came an now im well pretty unknowing :p |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 03:29 PM |
| in the friends, the first thing "Name" is the name, and the numbers is the ID of the sound |
|
|
| Report Abuse |
|
|
depp45
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 6 |
|
|
| 26 Apr 2015 03:31 PM |
| Oh dear and i find that trough the explorer than friends or how? And thanks already for the reply :) |
|
|
| Report Abuse |
|
|
depp45
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 6 |
|
|
| 26 Apr 2015 03:33 PM |
Oh just make a new scrib t and i can repeat that for every friend right?
|
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 03:35 PM |
local friends = { [123] = 321, } --[Player's UserId] = SoundId,
local function playerAdded(player) local soundId = friends[player.userId] if soundId then local sound = Instance.new("Sound", workspace) sound.SoundId = "http://www.roblox.com/asset/?id=" .. soundId sound:Play() end end
game.Players.PlayerAdded:connect(playerAdded) |
|
|
| Report Abuse |
|
|