Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 28 Dec 2011 02:42 PM |
Finally. Kind of modified script. Added a few things. Enjoy.
local Active = false local SG local TB
PluginManager() :CreatePlugin() :CreateToolbar("Chat toolbar") :CreateButton( "Enable Chat", "Click on this button to enable chat in studio.", "" ).Click:connect(function() if not Active then Active = true CoreGui = game:GetService("CoreGui") SG = Instance.new("ScreenGui",CoreGui) SG.Name = "ChatterGui" TB = Instance.new("TextBox",SG) TB.BackgroundColor = BrickColor.new("Really black") TB.BackgroundTransparency = 0.3 TB.TextColor3 = Color3.new(1,1,1) TB.Size = UDim2.new(1,0,0,15) TB.Position = UDim2.new(0,0,1,-15) TB.BorderSizePixel = 0 TB.Name = "Chatbox" TB.FontSize = "Size8" TB.Text = [==[To chat click her or press the "/" key]==] TB.TextXAlignment = "Left" game:GetService("GuiService"):AddSpecialKey(Enum.SpecialKey.ChatHotkey) game:GetService("GuiService").SpecialKeyPressed:connect(function(k) if k.Name == "ChatHotkey" then TB:CaptureFocus() end end)
TB.FocusLost:connect(function(EnterPressed) if EnterPressed and TB.Text ~= "" then TB.ClearTextOnFocus = true NetworkServer = game:GetService("NetworkServer") NetworkServer.archivable = false coroutine.resume(coroutine.create(function() game:GetService("Players"):Chat(TB.Text) end)) else TB.ClearTextOnFocus = false end TB.Text = [==[To chat click her or press the "/" key]==] end) else SG:Destroy() Active = false end end)
|
|
|
| Report Abuse |
|
|
| |
|
Aaaboy97
|
  |
| Joined: 05 Apr 2009 |
| Total Posts: 6612 |
|
|
| 28 Dec 2011 02:43 PM |
| game.Players.Player:SetSuperSafeChat(false) ? |
|
|
| Report Abuse |
|
|
Aaaboy97
|
  |
| Joined: 05 Apr 2009 |
| Total Posts: 6612 |
|
|
| 28 Dec 2011 02:44 PM |
| oh wait, I'm thinking of Start Server > Start Player |
|
|
| Report Abuse |
|
|
|
| 28 Dec 2011 02:44 PM |
TB.Text = [==[To chat click her or press the "/" key]==]
> To chat click her > her > rofl |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 28 Dec 2011 02:45 PM |
| Whoops. I'm sorry. But it works. I should give credit to Corecii for the original idea. I've refined it though. :P |
|
|
| Report Abuse |
|
|
| |
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 29 Dec 2011 01:41 PM |
| Thought I'd bump this for everyone else to be able to use it. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2011 02:00 PM |
| Someone ask Sorcus to pin this. |
|
|
| Report Abuse |
|
|
NVI
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 4744 |
|
|
| 29 Dec 2011 03:13 PM |
| I might actually make something that uses chat, now. Nice work. |
|
|
| Report Abuse |
|
|
jango464
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 4913 |
|
|
| 29 Dec 2011 04:32 PM |
| Let's see if this works for me. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2011 04:56 PM |
*Is looking for the part that sends the chat*
*Is still looking*
*Can't find*
D:
But anyway, that looks really good! You've made life considerably easier for testing chat commands!
[Co creator of the Siggy Automator] [Now son, don't touch that cactus!] |
|
|
| Report Abuse |
|
|
jango464
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 4913 |
|
| |
|
378
|
  |
| Joined: 21 Nov 2009 |
| Total Posts: 15 |
|
|
| 29 Jul 2013 11:35 AM |
| It doesn't seem to let me enter the chat I typed in. |
|
|
| Report Abuse |
|
|
EliteJynx
|
  |
| Joined: 13 Apr 2011 |
| Total Posts: 272 |
|
|
| 29 Jul 2013 11:50 AM |
Doesn't let me chat ether.
Pressing "/" - nothing Pressing "Enter" - nothing Pressing anything - nothing
Doesn't work.
- EJ, k? - |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2013 12:04 PM |
| Someone necrobumped this thread but it's relevant again now that it's hard to get chat in studio again. OP PLS RESPOND |
|
|
| Report Abuse |
|
|
EliteJynx
|
  |
| Joined: 13 Apr 2011 |
| Total Posts: 272 |
|
| |
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
|
| 29 Jul 2013 02:14 PM |
i'd download it for admin cmd testing but then you'd realize your /foreveralone.png so no :c good work though
~Tanner L. Ghosen~ |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 05:12 PM |
| When I click on the Enable Chat button, the console says Disconnected event due to exception! and it won't go in when I hit enter because of that :( |
|
|
| Report Abuse |
|
|
cool12309
|
  |
| Joined: 21 Sep 2008 |
| Total Posts: 1442 |
|
|
| 09 Feb 2014 05:50 PM |
| Nice necro.. it's most likely erroring because the AddSpecialKey method is protected. I'm assuming. I don't feel like debugging it. |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 09 Feb 2014 06:30 PM |
Fixed it!
But I dont know if it will active any chat events.
|
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 09 Feb 2014 08:01 PM |
Forgot to post the link..
http://www.roblox.com/Chat-in-stuido-1-0-0-item?id=145662523 |
|
|
| Report Abuse |
|
|
oseday
|
  |
| Joined: 27 Aug 2008 |
| Total Posts: 1308 |
|
|
| 10 Feb 2014 11:54 AM |
For anyone who is wondering how it chats people, it is this thing:
game:GetService("Players"):Chat(TB.Text) |
|
|
| Report Abuse |
|
|