Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Client side vip door ?

How would one make a door that work's like Mad Murderer's vip door if you don't have the pass the door show's up on there side yet those who have access wont see the brick?

1 comment

0

Check to see if the player has the gamepass, if he does not then insert a VIP door into his local camera. This should be done under a LocalScript.

1 answer

This can be done using local parts, as said by DragonODeath in the comments. To create local parts simply replicate or create a new instance in the player's camera. This needs to be done is a local script using this code:

local passId = 1234567890 -- Change this to the Gamepass ID
local passServ= game:GetService("GamePassService")

if not passServ:PlayerHasPass(game.Players.LocalPlayer,passId) then
	local cam = game.Workspace.CurrentCamera
	--Instance.new("Part",cam)
	--game.ReplicatedStorage.Object:Clone().Parent = cam
end

If this helps you or works for you please vote this up and accept this as your answer!

1 comment

0

UndeniableLimited That does not work.

This discussion is preserved as it was. New answers, comments, and votes are closed.