Advertisement
RoScripter

Typing Bubble Client

Aug 31st, 2020 (edited)
9,413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local UserInputService = game:GetService("UserInputService")
  3.  
  4. UserInputService.TextBoxFocused:Connect(function(TextBox)
  5.     if TextBox.Name == "ChatBar" then
  6.         game.ReplicatedStorage.ToggleTypingBubble:FireServer(true)
  7.     end
  8. end)
  9.  
  10. UserInputService.TextBoxFocusReleased:Connect(function(TextBox)
  11.     if TextBox.Name == "ChatBar" then
  12.         game.ReplicatedStorage.ToggleTypingBubble:FireServer(false)
  13.     end
  14. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement