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

Help! Fix my code for a local group door!?

Asked by 7 years ago
Edited 7 years ago

So far I have a Local Script in Starter pack which has this in.

player = game.Players.LocalPlayer

wait(1)

if player:GetRankInGroup(123456) >= 255 then
    game.Workspace.Door.CanCollide = false
end

Nothing happens to the door. I have Hidden my group ID on purpose. I want it to permanently nocollide the door for the one person AKA me Please help.

1 answer

Log in to vote
0
Answered by
daricr 0
7 years ago

You need to place the script in STARTERGUI. This is better your chances at having the script run smoothly.

If StarterGUI doesn't work, check to see if Filtering Enabled is on.

:) Happy Scripting

Ad

Answer this question