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: Just wondering how to make a chating script

Previous Thread :: Next Thread 
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
13 Jan 2014 09:27 PM
So, if u say a certain word it will do something, say make part1 transparent
can anyone help me?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 09:27 PM
PlayerAdded event
Chatted event
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
13 Jan 2014 09:28 PM
http://wiki.roblox.com/index.php/Chatted
Report Abuse
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
13 Jan 2014 09:28 PM
^
Maybe string manipulation
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
13 Jan 2014 09:29 PM
Ninjad whoop.
Report Abuse
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
13 Jan 2014 09:30 PM
lol script?
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
13 Jan 2014 09:33 PM
Game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
local mess = Instance.new('Message',workspace)
mess.Text = mess
Game.Debris:AddItem(mess,2)
end)
end)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 09:34 PM
"mess.Text = mess"
Somebody made an error
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
13 Jan 2014 09:36 PM
The agonies of typing on the iPad makes me refuse to read my own text.
Report Abuse
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
13 Jan 2014 09:44 PM
mess.Text = mess.Text

I just made your mind go BWOOSH.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 09:45 PM
No, you just made it go ""
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
13 Jan 2014 10:00 PM
I'm actually a Helper for once. Wow.


game.Players.PlayerAdded:connect(function(player) -- One end here, connects player variable
player.Chatted:connect(function(msg) -- One end here, connects msg variable
if msg:lower() == "reset" then -- If the message is "reset" then do this
player.Character.Torso:remove() -- Do this if the above is true
end) -- End for line 1
end) -- End for like 2
end -- End for if-then line

Note that on line 5 you need player.Character because player refers to game.Players version of the character but adding player.Character allows you to edit the player, starting from the full player model
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