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: How?

Previous Thread :: Next Thread 
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
29 Aug 2013 05:04 PM
How would I made a script making it looks like its typing
like, really fast
and play a sound only to the client I want each letter?
Example:
"Soquick"
"S" 'sound'
"So" 'sound'
"Soq" 'sound' etc,
I want it 0.04 of a second each,
I think you would need a for i = loop?
also doing string.sub?
The varaible with the text is l
Report Abuse
Raphael7 is not online. Raphael7
Joined: 03 Dec 2008
Total Posts: 2479
29 Aug 2013 05:08 PM
nob='Noobs4Lyf'
sound = script.SOUUUUND:clone()
local msg = Instance.new('Message', workspace)
for i = 1, nob:len() do wait(0.1)
msg.Text = msg.Text..nob:sub(i,i)
sound.Parent = workspace
sound:Play()
end
game.Debris:AddItem(msg, 3)

-- I didn't test that.
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
29 Aug 2013 05:10 PM
I want it to be played to the client,
pretend msg is defined
Why add item to derbis? I have never really used derbis Additem
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
29 Aug 2013 05:11 PM
oh nvm, but I have the variable 'l' holding the text
Report Abuse
Raphael7 is not online. Raphael7
Joined: 03 Dec 2008
Total Posts: 2479
29 Aug 2013 05:13 PM
Using Debris:AddItem is like a coroutine just removing the child without interfering the script. Parent the msg to the playergui. What 'l'?
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
29 Aug 2013 05:14 PM
local msg = Instance.new('Message', workspace)
for i = 1, l:len() do wait(0.04)
sound = Instance.new("Sound", plr) sound.Id = theid sound.Volume = 1
msg.Text = msg.Text..nob:sub(i,i)
sound:Play()
end
Report Abuse
Raphael7 is not online. Raphael7
Joined: 03 Dec 2008
Total Posts: 2479
29 Aug 2013 05:15 PM
Well that won't work. You didn't mention what 'nob' and 'l' was. You can parent the message into the player's PlayerGui.
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
29 Aug 2013 05:16 PM
I would change nob to l and l is pre defined, so is the message
Report Abuse
Raphael7 is not online. Raphael7
Joined: 03 Dec 2008
Total Posts: 2479
29 Aug 2013 05:18 PM
So what's the problem now?
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