Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.CoreGui.ScreenGui.Frame.TextButton.MouseButton1Click:Connect(function()
- if game.CoreGui.ScreenGui.Frame.TextLabel.TextTransparency == 1 then
- game.CoreGui.ScreenGui.Frame.TextLabel.TextTransparency = 0
- else
- game.CoreGui.ScreenGui.Frame.TextLabel.TextTransparency = 1
- end
- end)
- local BrokenLoop = false
- if game.CoreGui.ScreenGui.Frame.TextLabel.TextTransparency == 0 then
- BrokenLoop = false
- while true do
- wait(0.1)
- local args = {
- [1] = game.CoreGui.ScreenGui.Frame.TextBox.Text,
- [2] = "All"
- }
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
- if BrokenLoop == true then
- break
- end
- end
- else
- BrokenLoop = true
- end
Advertisement
Add Comment
Please, Sign In to add comment