Issue with MarketplaceService


  • 0_1548700839165_upload-0ede68d0-b377-41d9-9f40-687218f1e62e
    im having this issue where is says its an unknown global. any help?


  • You have not defined market place service before ur code place this local MarketPlaceService = game:GetService ("MarketPlaceService")


  • also userId is deprecated use UserId ;)

    And instead of creating a whole new función, just do this

    pcall(MarketplaceService.UserOwnsGamePassAsync, MarketplaceService, player.UserId, gamePassID)

    obj:method(...) is sugar for obj.method(obj, ...)

    if you really wanted to do workspace.Part.Destroy(workspace.Part) you could if you wanted to. Even workspace.Part.Destroy(workspace.Baseplate) works! It would destroy the baseplate!

Log in to reply
 

Looks like your connection to Scripting Helpers was lost, please wait while we try to reconnect.