Is it possible to fetch the game’s name from a plugin?
(game.Name
doesn’t work)
Is it possible to fetch the game’s name from a plugin?
(game.Name
doesn’t work)
Yeah, you have to get the parent of a service, like workspace, players, etc.
Or you could use tostring on game.Name
local gameString = tostring(game.Name)
print(gameString)
game.Name
already returns a string, so tostring
does nothing.
oh right lol, then I’m not really sure why it isn’t working, maybe a plugin limitation
Maybe you could try
print(game:GetFullName())
Use this:
local MarketplaceService = game:GetService("MarketplaceService")
MarketplaceService:GetProductInfo(game.PlaceId)["Name"]
That’s weird, worked for me.
Is your place’s name Plugins ?