RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"When the mouse button is clicked on TextButton, the script makes the TextButton object invisible"
-- local script local TextButton = script.Parent local Player = game.Players.LocalPlayer TextButton.MouseButton1Click:Connect(function() script.Parent.Visible = false Player.PlayerGui.ScreenGui.Frame.TextLabel.LocalScript.Disabled = false Player.PlayerGui.ScreenGui.Frame.TextLabel.Visible = true Player.PlayerGui.ScreenGui.Frame.new.Visible = false end)