So, I tried to move/destroy those locks who are on my GUI (for people who are in the group, they will be moved/ else than that, the locks will stay.)
local Locks = script.Parent.Frame.locks game.Players.PlayerAdded:Connect(function(plr) if plr:IsInGroup(4937707) then Locks:Destroy() print("Worked") end end)
.. Thank you for reading
Local script
local Locks = script.Parent.Frame.locks if game.Players.LocalPlayer:IsInGroup(4937707) then Locks:Destroy() print("Worked") end