drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 12 Oct 2013 01:16 PM |
Idk whats wrong.
game.Players.PlayerAdded:connect(function(player)
player:WaitForDataReady() for index, child in pairs(game.Players.Player.PlayerGui.MusicSript.Song:GetChildren())do
local SongData local success = pcall(function() savedBuildingArea = player:LoadInstance("SongData") end)
if not success or SongData == nil or not SongData then print "No Data" else print "Loading Data..." local offset = area.BasePlate.CFrame.p - savedBuildingArea.BasePlate.CFrame.p child:remove() -- deleting default data SongData.Parent = game.Players.Player.PlayerGui.MusicSript.Song -- Your song list has loaded =p print "Data Loaded" end
function removePlayer(player) if not pcall(function() player:SaveInstance("SongData", child) end) then -- Child is all the songs end game.Players.PlayerRemoving:connect(function(player) removePlayer(player) end) end end end)
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 12 Oct 2013 01:20 PM |
bump
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 12 Oct 2013 01:44 PM |
bump
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|