62GB
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 4157 |
|
|
| 02 Nov 2015 10:01 AM |
I remembered the article on the wiki that said something about mixed record styles will get cut off.. I'm pretty sure this will, I could just transform everything into a table rather than doing variables, if that would fix it:
Gold = {game.Workspace.Base.Gold.Value,game.Workspace.Base.GoldCapacity.Value}
local list = { Gold = game.Workspace.Base.Gold.Value, Wood = game.Workspace.Base.Wood.Value, Stone = game.Workspace.Base.Stone.Value, Iron = game.Workspace.Base.Iron.Value, XP = game.Workspace.Base.XP.Value, XPNeeded = game.Workspace.Base.XPNeeded.Value, Level = game.Workspace.Base.Level.Value, LastLogin = os.time(), ["BoomCannon1"] = {}, ["BoomCannon2"] = {}, ["BoomCannon3"] = {}, ["BoomCannon4"] = {}, ["BoomCannon5"] = {}, ["MachineGun1"] = {}, ["MachineGun2"] = {}, ["MachineGun3"] = {}, ["MachineGun4"] = {}, ["MachineGun5"] = {}, ["Cannon1"] = {}, ["Cannon2"] = {}, ["Cannon3"] = {}, ["Cannon4"] = {}, ["Cannon5"] = {}, ["Cannon6"] = {}, ["Flamethrower1"] = {}, ["Flamethrower2"] = {}, ["Flamethrower3"] = {}, ["Flamethrower4"] = {}, ["Mortar1"] = {}, ["Mortar2"] = {}, ["Mortar3"] = {}, ["Mortar4"] = {}, ["RPG1"] = {}, ["RPG2"] = {}, ["RPG3"] = {}, ["Shock1"] = {}, ["Shock2"] = {}, ["Sniper1"] = {}, ["Sniper2"] = {}, ["Sniper3"] = {}, ["Sniper4"] = {}, ["Sniper5"] = {}, ["Sniper6"] = {}, } |
|
|
| Report Abuse |
|
|
| 02 Nov 2015 10:03 AM |
"x=3"
".x" = nil
Yes it'll be cut off |
|
|
| Report Abuse |
|
|
| 02 Nov 2015 10:03 AM |
"I could just transform everything into a table rather than doing variables, if that would fix it:"
This doesn't use mixed styles. This just uses two variables as well. |
|
|
| Report Abuse |
|
62GB
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 4157 |
|
|
| 02 Nov 2015 10:05 AM |
| So this wouldn't work regardless of both ways >_< |
|
|
| Report Abuse |
|
|
| 02 Nov 2015 10:07 AM |
| What do you mean? This doesn't use mixed key styles, so it shouldn't be cut off. |
|
|
| Report Abuse |
|
62GB
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 4157 |
|
|
| 02 Nov 2015 10:08 AM |
Oh.. :P
I guess I'll try it out. |
|
|
| Report Abuse |
|
larr1212
|
  |
| Joined: 06 Jan 2015 |
| Total Posts: 259 |
|
|
| 02 Nov 2015 10:20 AM |
If you tried to save this table: { 5 x = 4, 3, 2, y = 1, 0, }
It would actually save this:
{ 5, 3, 2, 0, } |
|
|
| Report Abuse |
|
62GB
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 4157 |
|
| |