You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to make a new IntValue
What is the issue? Include screenshots / videos if possible!
When I use the Intstance.new function, it doesn’t create the new instance for some reason
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried changing the classname and setting the parent
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
Try renaming the script to something else. Sometime some scripts collide with roblox scripts. Like once I tried making a camera script and I named it “CameraScript” which is apparently used by roblos
It’s either that your studio may be bugged and the explorer is just not showing you the IntValue that was just created, or this post is a troll. I honestly can’t think of any other reasons why this wouldn’t work.
Could you try this? Does this print Workspace.identification or no? If it prints the first one, the object was created.
identity = Instance.new("IntValue")
if identity then
identity.Name = "identification"
identity.Parent = workspace
print(identity:GetFullName())
else
print("no")
end
That if statement is reductive. If that Instance call fails for some reason, it will throw an error, and the rest of the script will terminate anyways. If you really need to catch a possible error, use pcall. You are guaranteed to have the created instance since IntValue is a valid class name.