I'm making a custom character GUI in which the player is able to customize and color their cat character, yet, I cannot get the first box to open when I click the button to customize that option. Please, tell me what I am doing wrong! D: The script I am using is this-
Player = game.players.LocalPlayer
C = Player.Character
x = 2
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Parent.UpTorsoCol.Visible= not script.Parent.Parent.Parent.UpTorsoCol.Visible
end)
script.Parent.MouseEnter:connect(function()
for 1 = 1,10 do
x = x + 0.2
script.Parent.BorderSizePixel = x
wait (0.025)
end
end)
script.Parent.MouseEnter:connect(function()
for 1 = 1,10 do
x = x - 0.2
script.Parent.BorderSizePixel = x
wait (0.025)
end
end)

4 comments
Also I do not understand on why you just did the same thing twice for absolutely no reason at all. (Line 8 and 15) Both of them do the exact same thing.
Line 5 is like a toggle. When you click it once, the thing turns invisible. When you click it again, the thing turns visible. It’s a really nice and easy way to toggle things while saving some lines of code.
Thanks for the help, but it still refuses to work. ;-;
Oh, srry that it still doesn't work. I don't think I really deserve my answer getting accepted and the reputation I get, but it's ok >:)