So I have this script, but it doesn't seem to work. Can anyone help? game.Players.PlayerAdded:connect(function(plr) local inGame = Instance.new("BoolValue", plr) inGame.Value = false inGame.Name = "inGame" local paused = Instance.new("BoolValue", plr) paused.Name = "paused" paused.Value = false plr:WaitForDataReady() local item = Instance.new("Model") local items = plr:LoadInstance("items") items.Parent = plr
while true do wait(1) plr:SaveInstance("items", plr.items) end
end)