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: Need Help

Previous Thread :: Next Thread 
RedXVIII is not online. RedXVIII
Joined: 30 Nov 2011
Total Posts: 8
04 Nov 2012 01:59 PM
PlayersT = game.Players:GetChildren()

function PlayerC(Msg, PlayerWC)
Chat = PlayerWC .. ": " .. Msg
end
while wait(0) do
for I = 1, #PlayersT, 1 do
PlayersT[I].Chatted:connect(PlayerC)
end end

function CopyText(Message)
A = TextLabel:Clone()
A.Parent = TextBox
A.Text = Message
A.Visible = true
A.Script.Disabled = false
end

function click()
CopyText(Chat)
end
script.Parent.MouseButton1Click:connect(click)


There is a problem with the first function for some reason, it just doesn't work, would be great if someon could lead me to what the problem is, or a better way of doing this.
Report Abuse
RedXVIII is not online. RedXVIII
Joined: 30 Nov 2011
Total Posts: 8
04 Nov 2012 03:19 PM
Anyone?
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
04 Nov 2012 03:37 PM
TextLabel and TextBox were never defined
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
04 Nov 2012 03:57 PM
Because Chatted only returns the message chatted.

Player.Chatted:connect(function(Message)
PlayerC(Message,Player)
end)
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
04 Nov 2012 03:58 PM
Always search the wiki first.

http://wiki.roblox.com/index.php/Chatted_(Event)


print("Flood checks:",2)
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