S09
|
  |
| Joined: 22 Aug 2011 |
| Total Posts: 20 |
|
|
| 23 Aug 2011 11:40 AM |
game.Players.PlayerAdded:connect(function(p) p.Chatted:connect(function(m) if m:lower() == "Torso_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Chatted.Character.Torso x.MeshType = "Head" if m:lower() == "RArm_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Chatted.Character["Right Arm"] x.MeshType = "Head" if m:lower() == "LArm_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Chatted.Character["Left Arm"] x.MeshType = "Head" if m:lower() == "RLeg_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Chatted.Character["Right Leg"] x.MeshType = "Head" if m:lower() == "LLeg_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Chatted.Character["Left Leg"] x.MeshType = "Head" end end end end end end) end)
If not, please explain why it wouldn't work and how I could fix it. Oh, and please know that I am very knew with the .Chatted script, so if it's way off, don't hate. Thanks |
|
|
| Report Abuse |
|
|
Nexun
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 371 |
|
|
| 23 Aug 2011 11:44 AM |
game.Players.PlayerAdded:connect(function(p) p.Chatted:connect(function(m) if m:lower() == "Torso_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Character.Torso x.MeshType = "Head" elseif m:lower() == "RArm_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Chatted.Character["Right Arm"] x.MeshType = "Head" elseif m:lower() == "LArm_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Chatted.Character["Left Arm"] x.MeshType = "Head" elseif m:lower() == "RLeg_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Chatted.Character["Right Leg"] x.MeshType = "Head" elseif m:lower() == "LLeg_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Chatted.Character["Left Leg"] x.MeshType = "Head" end end) end) |
|
|
| Report Abuse |
|
|
S09
|
  |
| Joined: 22 Aug 2011 |
| Total Posts: 20 |
|
| |
|
Nexun
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 371 |
|
|
| 23 Aug 2011 11:46 AM |
game.Players.PlayerAdded:connect(function(p) p.Chatted:connect(function(m) if m:lower() == "Torso_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Character.Torso x.MeshType = "Head" elseif m:lower() == "RArm_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Character["Right Arm"] x.MeshType = "Head" elseif m:lower() == "LArm_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Character["Left Arm"] x.MeshType = "Head" elseif m:lower() == "RLeg_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Character["Right Leg"] x.MeshType = "Head" elseif m:lower() == "LLeg_MA" then x = Instance.new("SpecialMesh") x.Parent = p.Character["Left Leg"] x.MeshType = "Head" end end) end)
Sorry, I made a mistake. |
|
|
| Report Abuse |
|
|
Nexun
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 371 |
|
|
| 23 Aug 2011 11:47 AM |
@S09
Yes, my latest post containing the script would work, if I am correct. |
|
|
| Report Abuse |
|
|
S09
|
  |
| Joined: 22 Aug 2011 |
| Total Posts: 20 |
|
|
| 23 Aug 2011 11:47 AM |
@Nexun
Okay, thanks a bunch! I'll go test it right now. |
|
|
| Report Abuse |
|
|
S09
|
  |
| Joined: 22 Aug 2011 |
| Total Posts: 20 |
|
|
| 23 Aug 2011 12:00 PM |
@Nexun
I just tested it, and it doesn't work. Do you have any idea why it wouldn't work? |
|
|
| Report Abuse |
|
|
Nexun
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 371 |
|
|
| 23 Aug 2011 12:08 PM |
game.Players.PlayerAdded:connect(function(p) p.Chatted:connect(function(m) if m:lower() == "Torso_MA" then local x1 = Instance.new("SpecialMesh") x1.Parent = p.Character.Torso x1.MeshType = "Head" elseif m:lower() == "RArm_MA" then local x2 = Instance.new("SpecialMesh") x2.Parent = p.Character["Right Arm"] x2.MeshType = "Head" elseif m:lower() == "LArm_MA" then local x3 = Instance.new("SpecialMesh") x3.Parent = p.Character["Left Arm"] x3.MeshType = "Head" elseif m:lower() == "RLeg_MA" then local x4 = Instance.new("SpecialMesh") x4.Parent = p.Character["Right Leg"] x4.MeshType = "Head" elseif m:lower() == "LLeg_MA" then local x5 = Instance.new("SpecialMesh") x5.Parent = p.Character["Left Leg"] x5.MeshType = "Head" end end) end)
Try that. |
|
|
| Report Abuse |
|
|
S09
|
  |
| Joined: 22 Aug 2011 |
| Total Posts: 20 |
|
|
| 23 Aug 2011 12:14 PM |
@Nexun
Nope, that doesn't work. Am I supposed to put something with the script, like a value? Or can I just insert the script and it's supposed to work? |
|
|
| Report Abuse |
|
|
S09
|
  |
| Joined: 22 Aug 2011 |
| Total Posts: 20 |
|
| |
|
| |
|
Nexun
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 371 |
|
|
| 23 Aug 2011 03:22 PM |
@ross
p.Chatted:connect(function(m)
'm' is the message the person spoke. |
|
|
| Report Abuse |
|
|
| |
|
|
| 23 Aug 2011 03:40 PM |
Your trying to parent something to a chat.. Fail
~ www.roblox.com/--item?id=60008124 ~ |
|
|
| Report Abuse |
|
|
S09
|
  |
| Joined: 22 Aug 2011 |
| Total Posts: 20 |
|
|
| 23 Aug 2011 05:48 PM |
@TigerBloodd
Yes, I am new here. Don't hate
I've never used .Chatted before. |
|
|
| Report Abuse |
|
|