MaxproGlitcher

Box Message Text .lua Test

Dec 11th, 2024
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1.  
  2. -- Instances:
  3.  
  4. local TextChat = Instance.new("ScreenGui")
  5. local TextBox = Instance.new("TextBox")
  6.  
  7. --Properties:
  8.  
  9. TextChat.Name = "TextChat"
  10. TextChat.Parent = gethui()
  11. TextChat.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  12.  
  13. TextBox.Parent = TextChat
  14. TextBox.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
  15. TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
  16. TextBox.BorderSizePixel = 0
  17. TextBox.Position = UDim2.new(0.494193554, 0, 0.336683422, 0)
  18. TextBox.Size = UDim2.new(0.129032254, 0, 0.0628140718, 0)
  19. TextBox.Font = Enum.Font.SourceSansBold
  20. TextBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  21. TextBox.PlaceholderText = "Message Here [ENTER]"
  22. TextBox.Text = ""
  23. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  24. TextBox.TextSize = 14.000
  25.  
  26. -- Scripts:
  27.  
  28. local function UPRW_fake_script() -- TextBox.LocalScript
  29. local script = Instance.new('LocalScript', TextBox)
  30.  
  31. script.Parent.FocusLost:Connect(function()
  32. if script.Parent.Text ~= "" then
  33. game:GetService("TextChatService").TextChannels.RBXGeneral:SendAsync(tostring(script.Parent.Text), "MaxproGlitcherSystemMessage")
  34. script.Parent.Text = ""
  35. end
  36. end)
  37. end
  38. coroutine.wrap(UPRW_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment