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 » Scripting Helpers
Home Search
 

Re: Help with .Chatted

Previous Thread :: Next Thread 
mrdefender99 is not online. mrdefender99
Joined: 03 Feb 2011
Total Posts: 412
17 Nov 2013 07:35 PM
chatter = off
local group = {

["mrdefender99"] = true;
}

game.Players.PlayerAdded:connect(function(player)

if group[player.Name] then
player.Chatted:connect(function(msg)
if string.sub(msg,1,8) == ":chat on" then

chatter = on
player.Chatted:connect(function(msg)
if chatter == off then end
if chatter == on then
if player.Character.Name and player.Name == "mrdefender99" then end
if player.Character.Name and player.Name ~= "mrdefender99" then
if player.Character then
player.Character:BreakJoints()
end
end
end
end)
end
if string.sub(msg,1,9) == ":chat off" then
chatter = off
end
end)
end
end)



Here in lines 17+18 and the "debounce lines"/chatter lines, if I remove them, the script works. However if I keep them this script continues to not work. Any ideas?
Report Abuse
mrdefender99 is not online. mrdefender99
Joined: 03 Feb 2011
Total Posts: 412
17 Nov 2013 07:54 PM
bump
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
17 Nov 2013 08:13 PM
Stop reposting.
Report Abuse
mrdefender99 is not online. mrdefender99
Joined: 03 Feb 2011
Total Posts: 412
17 Nov 2013 08:31 PM
bump
Report Abuse
mrdefender99 is not online. mrdefender99
Joined: 03 Feb 2011
Total Posts: 412
18 Nov 2013 06:21 AM
any takers?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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