local Lock1 = script.Parent.Frame.locks["Lock(MP)"] local Locks = script.Parent.Frame.locks local LockDev = script.Parent.Frame.locks.LockDev local LockMarsh = script.Parent.Frame.locks.LockMarshel local LockOfficer = script.Parent.Frame.locks.LockOfficer if game.Players.LocalPlayer:GetRankInGroup(4937707)== "1" then Lock1:Destroy() print("Member is here") end if game.Players.LocalPlayer:GetRankInGroup(4937707) == "255" then Locks:Destroy() print("Owner/Marshel Is in") end if game.Players.LocalPlayer:GetRankInGroup(4937707) == "254" then Locks:Destroy() print("Marshel Is in") end if game.Players.LocalPlayer:GetRankInGroup(4937707) == "150" then Lock1:Destroy() LockDev:Destroy() print("Dev is here") end if game.Players.LocalPlayer:GetRankInGroup(4937707) == "54" then LockOfficer:Destroy() Lock1:Destroy() print("Officer is here") end if game.Players.LocalPlayer:GetRankInGroup(4937707) == "53" then LockOfficer:Destroy() Lock1:Destroy() print("Officer is here") end if game.Players.LocalPlayer:GetRankInGroup(4937707) == "52" then LockOfficer:Destroy() Lock1:Destroy() print("Officer is here") end if game.Players.LocalPlayer:GetRankInGroup(4937707) == "51" then LockOfficer:Destroy() Lock1:Destroy() print("Officer is here") end if game.Players.LocalPlayer:GetRankInGroup(4937707) == "50" then LockOfficer:Destroy() Lock1:Destroy() print("Officer is here") end
as you can see here, locks suppose to cover the team changer buttons. I have developer role, the locks of developer won't destroy, also it doesn't print anything, any help???