This is what I got so far.It has a read line on 6 where the equal sign is next to the Text = 2593316.It seems to not work. I have a enter button and thats what the button is.Code is the textbox to enter the code in
button = script.Parent
Code = script.Parent.Parent.Parent.Password.Code
function IClickedTheButton()
while true do
if game.StarterGui.ScreenGui.Password.Code.Text = 2593316
then game.StarterGui.ScreenGui.ENTER.TextButton.TextTransparency = 1
wait(.1)
Code.TextTransparency = 1
wait(.1)
Code.TextStrokeTransparency = 1
end
end
button.MouseButton1Click:connect(IClickedTheButton)

2 comments
Why are you making a group code GUI? If you have a group, you can use the
Player:IsInGroup(int GroupID)method.Can you just fix the script because its for a friend and he wants it like that.