i made a script for a gui button to make a frame visible but to also make a script in a the textlabel in the frame enabled but it wont work heres the LOCAL script:
1 | local F = game.Players.LocalPlayer.PlayerGui.CreditsGui.Frame |
2 | local T = F.Text |
3 |
4 | script.Parent.MouseButton 1 Click:Connect( function () |
5 | F.Visible = true |
6 | T.Script.Disabled = false |
7 | end ) |
btw im not an anyway pateint!!
you can reference the script that youre using and you can do
(The script name).Disabled = false