Im trying to make it so that if you're in a certain group with a rank, the rank logo shows up over your head, like a group rank GUI but instead of text its an image.
Heres what Ive done, but it doesn't work
local groupId = 6033642
if player:IsInGroup(groupId) then if player:GetRoleInGroup(groupId) >= 255 then local imageButton = Instance.new("ImageButton") imageButton.Parent = screenGui imageButton.Position = UDim2.new(0, 300, 0, 7) imageButton.Size = UDim2.new(0, 100, 0, 100) imageButton.Image = "rbxassetid://133293265" end end
Any help would be highly appreciated.

1 comment
Please put it into a code block