Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[CHECK THE NEW VIDEO!]--
- -- https://www.youtube.com/shorts/5i4rim9rM5U --
- -- TextLabel Text --
- <font color="rgb(90,161,127)"> Open </font> Announcement Panel
- -- Local Script --
- local button = script.Parent
- local frame = script.Parent.Parent:WaitForChild("MainFrame")
- button.MouseButton1Click:Connect(function()
- if frame.Visible == true then
- frame.Visible = false
- button.Text = [[<font color="rgb(90,161,127)"> Open </font> Announcement Panel]]
- else
- frame.Visible = true
- button.Text = [[<font color="rgb(234,67,67)"> Close </font> Announcement Panel]]
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment