HOW TO MAKE A GAMEPASS ONLY DOOR ?️ Roblox Studio Tutorial

Аватар автора
Игры и Эксклюзивы
In todays video I show you how to make a Gamepass Only Door, Meaning anyone with a specific Gamepass is allowed in that area, For example someone owns the VIP Gamepass they are then allowed in the VIP zone. Hope you enjoyed the video, Have a lovely rest of your day! If you are a bit confused what to do, Feel free to message me on Discord and Ill help you out! Script: (Thanks to TheBigBootyJudy for assisting with this script!) local gamepassID = 1234567890 -- Change this ID to your Gamepass ID game.Players.PlayerAdded:Connect(function(player) if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, gamepassID) == true then game.Workspace.GamepassDoor.CanCollide = false game.Workspace.GamepassDoor.Transparency = 0.7 -- You are able to adjust the transparency here end end) game.Workspace.GamepassDoor.Touched:Connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, gamepassID) == true then game.Workspace.GamepassDoor.CanCollide = false game.Workspace.GamepassDoor.Transparency = 0.7 -- You are able to adjust the transparency here else game:GetService("MarketplaceService"):PromptGamePassPurchase(player, gamepassID) end end end) Roblox Studio Tutorial Roblox Studio Studio Tutorials

0/0


0/0

0/0

0/0