I tried to add IntValue and parent it to Workspace before, and for some reason it won’t work… I used Instance.new(), and it just won’t insert it into workspace. I feel like it will only insert if it’s parented onto something like the Player. And when i insert it through the explorer, which i did for a vehicle health… it just made the vehicle invincible. And as for the solutions, i just switched to NumberValues instead. Which fixed those problems.
Your only solution is pre-create it MANUALLY before clicking play/test inside the explorer already and move it to ReplicatedStorage and later when you want to use it, clone it from ReplicatedStorage and change the name and you are good to go.
So you do like this:
identity = game:GetService("ReplicatedStorage").IntValue:Clone()
identity.Name = "identification"
tried this but now its saying, “identity was parented to:workspace” but 1 sec later “identity was parented to: nil”. no other script is changing the parent of this numbervalue, and this current script isnt changing the parent either, ill just try manually created a numvalue and setting the value with a script.
Doesn’t exactly make sense, something should be changing it.
or does it just grow legs in one frame and walk into nil
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.