Hppolice
|
  |
| Joined: 06 Feb 2012 |
| Total Posts: 578 |
|
|
| 27 May 2015 08:56 PM |
GroupId=977773 SupervisoryMarshalRank=20 UnitCommanderRank=60 Bar=game.Workspace.MainGateBarrier.Door IsUp=Bar.IsUp.Value Moving=Bar.Moving.Value
script.Parent.MouseButton1Click:connect(function(click) print '1' local plr=game.Players.LocalPlayer print '2' if plr:IsInGroup(GroupId) and ((plr:GetRankInGroup(GroupId) >= UnitCommanderRank) or (plr:GetRankInGroup(GroupId) == SupervisoryMarshalRank)) then print '3' if Bar.Script.Disabled==true then print '4' Bar.Script.Disabled=false print '5' end end end) |
|
|
| Report Abuse |
|
|
| 27 May 2015 08:59 PM |
| What do you mean by "it won't work"? |
|
|
| Report Abuse |
|