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: Quick question!

Previous Thread :: Next Thread 
GuessWhoGhostIsIt is not online. GuessWhoGhostIsIt
Joined: 17 Sep 2011
Total Posts: 554
07 Dec 2011 09:10 AM
Why dont it work? Seems that syntaxis is alright, but something dont work(as text of guis dont change) Code:


trans = script.Parent.Transmi
lines = {script.Parent.Text1, script.Parent.Text2, script.Parent.Text3, script.Parent.Text4, script.Parent.Text5}

function transmission()
if trans.Value~="" then
length = #(trans.Value)
num = math.floor(length/50)+1
for i = 1,num do
lines[i].Text = (trans.Value:sub(50*(i-1), 50*i))
end
end
end

function onChatted(msg, recipient, speaker)
trans.Value = msg
transmission()
end

function onPlayerEntered(newPlayer)
newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
end

game.Players.ChildAdded:connect(onPlayerEntered)
Report Abuse
GuessWhoGhostIsIt is not online. GuessWhoGhostIsIt
Joined: 17 Sep 2011
Total Posts: 554
07 Dec 2011 09:26 AM
Probably chatted event dont work.

P.S. the script is in startergui-screengui
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