Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Why wont this data saving script work?

Asked by 10 years ago
tool.Equipped:connect(function()
local player = game.Players:GetPlayerFromCharacter(tool.Parent)
tool:Clone().Parent = player.StarterGear
end)
0
It is supposed to work where when you buy something from the shop you keep it forever in all servers cooldrewbie 94 — 10y
0
Players don't have StarterGear. GoldenPhysics 474 — 10y
0
So then do I erase and put StarterPack? cooldrewbie 94 — 10y
1
What you're looking for more than likely is Data Stores. http://wiki.roblox.com/index.php?title=Data_store You could have the Data Store save the tools in an array, and reference it to the storage of tools in, say, ServerStorage. The shop could set the value by changing or inserting the array, then done. The tools are saved. Redbullusa 1580 — 10y

1 answer

Log in to vote
0
Answered by 8 years ago

They don't have starter gear you have to pet them in starter pack.

Ad

Answer this question