to be clear, i dont want it to FULLY be gone from all players. what im trying to make here, is that ill make a “kills” variable for each class, which, for every one of those classes youll be able to wipe your progress, just deleting that variable. now, i do kiiiind of know how to make variables in the datastore, i can just do
table.insert(playerdata, {[plr.class.Value.."KILLS"] = 0}) -- playerdata is gonna be saved, plr.class is the class value (string) please tell me if this will work because im not that sure
so, now if i wanna delete this variable, can i just do playerdata.classnamehereKILLS = nil?? or will just make it nil and not delete it?
-forgot to mention this, i tried using table.remove but it seemed to not even do anything. also, tried doing table[classnamehereKILLS] = nil buut it simply set it to nil and didnt destroy it.
oh yeah, that will definitely work. although if anyone does know how to entirely wipe out the variable from existence… please reply anyway. for now ill make this the solution tho