Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make certain models appear when a gamepass is bought?

Asked by 6 years ago

I wanna know how to make it so when people buy a certain gamepass, extra models that werent there before now appear. Anybody know how to do this?

2 answers

Log in to vote
0
Answered by 6 years ago

So you should learn about how to use game passes:

http://wiki.roblox.com/index.php?title=Game_pass

Once you've learned, you can put the model that you want to appear in replicatedStorage, and it bring to the workspace when the game recognizes a player has the gamepass.

If this helped, please accept the answer. Thanks!

0
Do you have the certain script that you add to the model or union to for it to spawn in workspace? SaladExists -7 — 6y
Ad
Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

You would use

game:GetService("GamePassService"):PlayerHasPass(player, passId)
Part.Visible = true

Inside a click detector function

Answer this question