im having this issue where is says its an unknown global. any help?
Issue with MarketplaceService
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
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!