I'm working on a new Tycoon style of game (not the usual boring stuff) and i need a script that access to that IntValue object and changes the number, so far i just came up to this but seems it doesn't work
My idea is to create random parts with an IntValue file which stores a value, so far i could create instances which creates the part and the IntValue file in it. But i don't know how to give that IntValue file a random number to store when the part is created and the file in it too.
Thanks for read

2 comments
Can you organize your question a bit more? Give a direct explanation of what you want done
I created instances which creates a Part with an IntValue object in it when the game loads, but i can't get to work to put a number value in IntValue via script when the game loads.