generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Mute players using player.Chatted?

Previous Thread :: Next Thread 
Encladeus is online. Encladeus
Joined: 27 Dec 2010
Total Posts: 3839
27 Mar 2016 09:51 AM
Is it possible to intercept player chat before it is processed by the game to become visible chat using:

game.Players.PlayerAdded:connect(function(ShutUp)
ShutUp.Chatted:connect(function(rubbish)
rubbish=nil
end)
end)
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
27 Mar 2016 09:52 AM
lmao @ the script

anyway, i think you would have to use a custom chat gui

all murder games and such that mute dead players have custom chats
Report Abuse
Aethex is not online. Aethex
Joined: 16 Oct 2011
Total Posts: 2193
27 Mar 2016 10:51 AM
It is possible to stop the player from chatting, but there is no way for you to currently intercept a message and delete it without it going through. In order to stop a player from chatting, you would need to send a RemoteEvent from the server to the player's client and use ChatBarDisabled with SetCore to mute them.

SetCore info (+how to use ChatBarDisabled): http://wiki.roblox.com/index.php?title=API:Class/StarterGui/SetCore
Report Abuse
Casualism is not online. Casualism
Joined: 29 Oct 2011
Total Posts: 1851
27 Mar 2016 11:31 AM
No, just disable the core gui for that player
Report Abuse
Aethex is not online. Aethex
Joined: 16 Oct 2011
Total Posts: 2193
27 Mar 2016 03:36 PM
@Casualism That would also require a RemoteEvent in the same way; plus, the OP said they wanted to mute the player. Using SetCore effectively does that. In no way is just disabling the core GUI better than using SetCore to remove the chat bar. There are a multitude of reasons for not completely removing the chat.
Report Abuse
Casualism is not online. Casualism
Joined: 29 Oct 2011
Total Posts: 1851
27 Mar 2016 04:39 PM
Yes, I agree w/ the RE.
Though...

Setting the Chat Core GUI cancels the user ability to chat.
Report Abuse
Aethex is not online. Aethex
Joined: 16 Oct 2011
Total Posts: 2193
27 Mar 2016 08:14 PM
@Casualism

1. did you even read what i wrote
2. do you not know what setcore is, what it does, and what it can be used for
3. did you even read what i wrote [2]
Report Abuse
StudioSetting is not online. StudioSetting
Joined: 12 Aug 2013
Total Posts: 50
27 Mar 2016 08:18 PM
There is a way, but not in the way you're thinking.

You can use UserInputService to log what he's writing and if it's something that you don't think should belong, find a way to stop him from pressing enter. Maybe remove his Gui's.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image