Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I change an IntegerValue's name with script?

GameState = Instance.new("IntValue")
GameState.Parent = f.Backpack
f.Backpack.Value.name = GameState
f.Backpack.GameState.Value = 1

Why isn't this working? Why isn't it changing the name? I don't see what's wrong with it?

1 answer

Why not just do

GameState = Instance.new("IntValue")
GameState.Parent = f.Backpack
GameState.Name="GameState"
GameState.Value=1

This discussion is preserved as it was. New answers, comments, and votes are closed.