Shop GUI not working (error)

Different types of values have the same icon in the explorer tab but can only store specific types of data. You can see it says “IntValue” at the top of the properties menu which is a type of value that can only store integers.

So how do do do I fix this? :slight_smile:

@Nabilekes
Just delete the IntegerValue, create a StringValue, rename the StringValue to “Tool” and then set its content to the name of the tool you want to give from ReplicatedStorage.

But that’s the thing, I already have an intvalue named Tool.

You need a StringValue instead of a IntValue.

1 Like

I can’t believe that was the issue. I made an Intvalue and it fixed the problem. Thank you so much! :smiley:

If you have any more questions regarding protection against exploits you can send me a private message any time.

That or pass the value object’s value to the tostring global function.