#Having an Issue Attempting to Group Rank Lock something.

3 messages · Page 1 of 1 (latest)

cerulean zinc
#
local P = script.Parent.Parent.Parent.Parent.Parent.Name
local HLoc = workspace:FindFirstChild(P)

function onClick(mouse)
    local Hat= HLoc:findFirstChild("Face1")
    Hat.Color.BrickColor = BrickColor.new("Really red")
    Hat.Color1.BrickColor = BrickColor.new("Really red")
    Hat.Color2.BrickColor = BrickColor.new("Bright yellow")
end

script.Parent.MouseButton1Down:connect(onClick)

I've tried Getingrouprank but idk what's happening because there's never an error.

I wanna make it where it only changes color of the helmet if the person is the rank needed.

#

Idk what string to put to check if player is in the group. And if so to then allow helmet color change.

ocean canopy
#

if plr:IsInGroup