Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Trying to make a GUI click make a part transparent?

local flap = script.Parent.Parent.Parent.Parent.Parent.test
local on = script.Parent
local off = script.Parent.Parent.TextButton2


flap.Transparency = 0

on.MouseButton1Click:Connect(function()
	flap.Transparency = 1
end)

Pretty much I have a UI and I have this script under one of the buttons, not sure why the button doesn't work since I'm a new programmer.

1 comment

0

try local flap = game.Workspace.test

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.