Search results
Results from the Tech24 Deals Content Network
hi, i want to check at the end of the game if the player has a gamepass (that doubles the coins that the player gets) and double the coins he gets if he owns the gamepass if outcome == "time-up" then for i, c in pair…
You would need to use the players UserId when checking if they own a game pass Id. Also I HIGHLY recommend to not put anything related to awarding players in the client side as you’re giving the client too much trust which could allow them to exploit this to award themselves whatever your game pass gives without actually having purchased it.
I was going to make a custom playerlist, but I still want the P showing next to the players name. I found this on scriptinghelpers, but im not sure how to use it: Enum.MemberShipType.Premium Any help would be appreciated.
local MarketplaceService = game:GetService("MarketplaceService") local gamePassId = --ID of your gamepass, you can get it from a website url local player -- i hope you do know how to get a player instance if MarketplaceService:UserOwnsGamePassAsync(Player.UserId, gamePassId) then -- if player owns gamepass, the code in this block will be executed end
All I want to do is make it so when a player gets a badge I can do whatever
What I would do is to make it into a .PlayerAdded or a .MouseButton1Click event, and then make an if statement to check if the user owns the requested game pass. If not, I would simply use the return function to return to the script. Documentation: create.roblox.com
🐠 Welcome to FishBlox The ocean continues here on ROBLOX FishBlox is ROBLOX’s number one aquarium, stop by to see all of our amazing animals. All of our exotic animals are taken care of by the best trained staff, the same goes to our visitors! We value the time you take to spend visiting some of the most amazing animals ever seen on ROBLOX. Our staff are professionally trained and are ...
Trying to upload a custom avatar we had created and I’m stuck. Selecting the group we want to sell the avatar with as the Creator in the Import 3D window results in the following errors; Whereas choosing Me as the Creator in the Import 3D window has no errors and says it can be uploaded. Earlier in development I had accidently left the Upload to Roblox checkbox checked with Me as the Creator ...
UserOwnsGamePassAsync returns true if the Player with the given UserId owns the game pass with the given game pass ID (not to be confused with asset ID). Example: local MarketPlaceService = game:GetService("MarketPlaceService ") local PlayerBoughtThisGamePass = MarketPlaceService.UserOwnsGamePassAsync(Userid, GamePassiD) if ...
Assuming you want to check if a player owns a VIP server from an arbitrary server, there aren’t any ways to check if someone owns a vip server for your game. The best you can do is a custom implementation for private servers, but apart from that there isn’t anything.