Search
 
SCRIPT & CODE EXAMPLE
 

LUA

check if player owns gamepass

local id = 15359561 -- Your Gamepass ID Here

game.Players.PlayerAdded:connect(function(player)
	if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, id) then
		print("User Owns Gamepass")
	else
		print("Player Does Not Own Gamepass")
	end	
end)
Comment

PREVIOUS NEXT
Code Example
Lua :: how to access an index of a table lua 
Lua :: awesome wm tasklist disabled icon 
Lua :: how to make text different colors in LUA terminal 
Lua :: how to make a welcome badge roblox lua 
Lua :: lua string replace 
Lua :: roblox lua get game place id 
Lua :: lua string to binary 
Lua :: local in script lua local 
Lua :: attempt to call a string value lua 
Lua :: lua loop through string 
Lua :: init.lua set font 
Lua :: lua print table as string 
Lua :: roblox for loop 
Matlab :: read all files from folder matlab 
Matlab :: matlab rlocus 
Matlab :: matlab function files 
Matlab :: how do i call a function inside another function in mat 
Basic :: personal access token 
Basic :: add firefox 
Elixir :: elixir guard 
Elixir :: elixir get_in access all 
Elixir :: elixir error 
Scala :: dataframe column json parser spark scala 
Actionscript :: rabbitmq docker cant connect localhost 
Excel :: excel auto adjust row heights 
Perl :: perl remove all whitespace 
Pascal :: pascal pause until key is pressed 
Powershell :: powershell -executionpolicy bypass -file 
Clojure :: how to use clojure cond 
Assembly :: program in assembly language to find even numbers from 1 to 10 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =