im using this and i guess it makes all characters grey my output: 13:44:29.780 - RbxUtility.DecodeJSON is deprecated, please use Game:GetService('HttpService'):JSONDecode() instead.

function GetItem(className,ID)
	if ID ~= 0 then
		Item = game:GetService("InsertService"):LoadAsset(ID):GetChildren()[1]
		if Item:IsA(className) then
			return Item
		else
			return false
		end
	else
		return 0
	end
end

function IsClass(item,className)
	if item then
		if item:IsA(className) then
			return true
		else
			return false
		end
	end
end

3 comments

1

Follow what the output says. Use Game:GetService('HttpService'):JSONDecode() instead of RbxUtility.DecodeJSON.

0

what is that ?

0

Look up HttpService on the Wiki.