Search
 
SCRIPT & CODE EXAMPLE
 

LUA

roblox check if player has gamepass

local id = --gamepass id here

game.Players.PlayerAdded:Connect(function(player)
	if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId,id) then
    	--do what you want to do in here
    end
end)
Comment

PREVIOUS NEXT
Code Example
Lua :: roblox children for loop 
Lua :: roblox studio teleport on collision 
Lua :: luau make rainbow part 
Lua :: get all players roblox 
Lua :: clickdetector player roblox 
Lua :: roblox lua on player chatted 
Lua :: lua calculate average number 
Lua :: roblox what is the difference between __index and __newindex 
Lua :: luau how to loop through all players 
Lua :: gfjhhkn roblox 
Lua :: roblox table.find() 
Lua :: lua metatable assignment 
Lua :: roblox how to get the players mouse 
Lua :: lua dict 
Lua :: lua object 
Lua :: roblox camera manipulation 
Lua :: Tool script example for lua 
Lua :: table lua 
Lua :: attempt to call a string value lua 
Lua :: lua roblox hack scripts 
Lua :: lua how to default value if nil 
Matlab :: matlab unix time to datetime 
Matlab :: matlab root finding function 
Matlab :: matlab exclamation mark 
Basic :: hello world in basic 
Basic :: do you like messi in korean 
Elixir :: elixir get_in access all 
Scala :: how to create empty data frame in scala 
Scala :: scala multiline string 
Excel :: remove space from excel cell 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =