Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local UserInputService = game:GetService("UserInputService")
- UserInputService.TextBoxFocused:Connect(function(TextBox)
- if TextBox.Name == "ChatBar" then
- game.ReplicatedStorage.ToggleTypingBubble:FireServer(true)
- end
- end)
- UserInputService.TextBoxFocusReleased:Connect(function(TextBox)
- if TextBox.Name == "ChatBar" then
- game.ReplicatedStorage.ToggleTypingBubble:FireServer(false)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement