|
| 19 Feb 2017 02:24 PM |
Hi, I have a group door it works so amazing but costumers are getting in to it. My costumer rank ID and noted costumer rank ID are:
Costumer - 48 Noted Costumer - 49
And I want Trainee Barista+ To be in the cafe counter only.
How do I fix it? I have two scripts running in the door from a tutorial and I need a script that makes it so costumers/noted costumers dont enter in my counter.
|
|
|
| Report Abuse |
|
|
| 19 Feb 2017 02:26 PM |
| i have GroupId = 2691498 script.Parent.Touched:connect(function(hit) plr = game.Players:GetPlayerFromCharacter(hit.Parent) if plr: IsInGroup(GroupId) then script.Parent.Transparency = 1 script.Parent.CanCollide = false wait(2) script.Parent.Transparency = 0.8 script.Parent.CanCollide = true end end) ------------------- and script.Parent.Touched:connect(function(hit) local plr = game.Players:GetPlayerFromCharacter(hit.Parent) if ###################### then if ########################## ## Rank then script.Parent.Transparency = 1 script.Parent.CanCollide = false wait(2) script.Parent.Transparency = - script.Parent.CanCollide = true end end end) |
|
|
| Report Abuse |
|