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

Client side vip door ?

Asked by 9 years ago

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?

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. DragonODeath 50 — 9y

1 answer

Log in to vote
2
Answered by 9 years ago

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!

0
UndeniableLimited That does not work. Cytronyx 0 — 9y
Ad

Answer this question