Is it possible to do this? If so how?

I like goofing around so today Im doing this!

I was wondering if this is possible?
So basically If I get the URL can I tell if its for a roblox game? If so can I get the games Icon and name?

Yes, it’s possible. I don’t have the code right now but I can look for it.

This is a really simple way of doing it but

AllowedLink = "https://www.roblox.com/games/"

if string.sub(Value, 1, 29) == AllowedLink then
     print("Is a roblox game")
end
''''

Ok cool! Also how could I tell if its a marketplace item? I’m assuming I’d just change the games part to like marketplace or something

You’d have to make a list of links that lead (or don’t) to the marketplace.

For example, groups have this link : https://www.roblox.com/groups

Some catalog items have this link : https://www.roblox.com/catalog

Some assets have this link : https://create.roblox.com/marketplace/asset/

You would just have to exclude the links you want or don’t want.

1 Like