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 » Building Helpers
Home Search
 

Re: script not working ( its kinda long )

Previous Thread :: Next Thread 
newsbomb is not online. newsbomb
Joined: 08 Jun 2011
Total Posts: 973
10 Nov 2011 07:50 PM
local hint = Instance.new("Hint")
hint.Parent = game.Workspace

while true do

hint.Text = "w"
wait(1)
hint.Text = "we"
wait(1)
hint.Text = "wel"
wait(1)
hint.Text = "welc"
wait(1)
hint.Text = "welco"
wait(1)
hint.Text = "welcom"
wait(1)
hint.Text = "welcome"
wait(1)
hint.Text = "welcome t"
wait(1)
hint.Text = "welcome to"
wait(1)
hint.Text = "welcome to m"
wait(1)
hint.Text = "welcome to my"
wait(1)
hint.Text = "welcome to my g"
wait(1)
hint.Text = "welcome to my ga"
wait(1)
hint.Text = "welcome to my gam"
wait(1)
hint.Text = "welcome to my game"
wait (5)
hint.Text = "r"
wait(1)
hint.Text = "ro"
wait(1)
hint.Text = "rol"
wait(1)
hint.Text = "role"
wait(1)
hint.Text = "rolep"
wait(1)
hint.Text = "rolepl"
wait(1)
hint.Text = "rolepla"
wait(1)
hint.Text = "roleplay"
wait(1)
hint.Text = "roleplay l"
wait(1)
hint.Text = "roleplay li"
wait(1)
hint.Text = "roleplay lik"
wait(1)
hint.Text = " roleplay like"
wait(1)
hint.Text = "roleplay like y"
wait(1)
hint.Text = "roleplay like yo"
wait(1)
hint.Text = "roleplay like you"
wait(1)
hint.Text = "roleplay like you j"
wait(1)
hint.Text = "roleplay like you ju"
wait(1)
hint.Text = "roleplay like you jus"
wait(1)
hint.Text = "roleplay like you just"
wait(1)
hint.Text = "roleplay like you just."
wait(1)
hint.Text = "roleplay like you just.."
wait(1)
hint.Text = "roleplay like you just..."
wait(1)
hint.Text = "S"
wait(1)
hint.Text = "SU"
wait(1)
hint.Text = "SUR"
wait(1)
hint.Text = "SURV"
wait(1)
hint.Text = "SURVI"
wait(1)
hint.Text = "SURVIV"
wait(1)
hint.Text = "SURVIVE"
wait(1)
hint.Text = "SURVIVED"
wait(1)
hint.Text = "SURVIVED A"
wait(1)
hint.Text = "SURVIVED A P"
wait(1)
hint.Text = "SURVIVED A PL"
wait(1)
hint.Text = "SURVIVED A PLA"
wait(1)
hint.Text = "SURVIVED A PLAN"
wait(1)
hint.Text = "SURVIVED A PLANE"
wait(1)
hint.Text = "SURVIVED A PLANE C"
wait(1)
hint.Text = "SURVIVED A PLANE CR"
wait(1)
hint.Text = "SURVIVED A PLANE CRA"
wait(1)
hint.Text = "SURVIVED A PLANE CRAS"
wait(1)
hint.Text = "SURVIVED A PLANE CRASH"
Report Abuse
theopfor is not online. theopfor
Joined: 08 Feb 2011
Total Posts: 11003
10 Nov 2011 07:55 PM
You forgot on the a end. Put "end" on the last line.
Report Abuse
RobloxianDav is not online. RobloxianDav
Joined: 05 Mar 2011
Total Posts: 2713
10 Nov 2011 07:57 PM
well im still learning how to script but i dont see how this could fail
Report Abuse
RobloxianDav is not online. RobloxianDav
Joined: 05 Mar 2011
Total Posts: 2713
10 Nov 2011 07:57 PM
@the
yeah you put end on all scripts
Report Abuse
theopfor is not online. theopfor
Joined: 08 Feb 2011
Total Posts: 11003
10 Nov 2011 08:05 PM
@RobloxianDav No. Putting "end" at the end of every script will error it. Only use an end when stopping an if statement, function, or a loop.
Report Abuse
RobloxianDav is not online. RobloxianDav
Joined: 05 Mar 2011
Total Posts: 2713
10 Nov 2011 08:07 PM
well what im trying to say is all scripts need "end" at the end statment and yeah
Report Abuse
theopfor is not online. theopfor
Joined: 08 Feb 2011
Total Posts: 11003
10 Nov 2011 08:14 PM
Explain Dav. Do you mean: end end? or end at the end of a script?
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
10 Nov 2011 08:27 PM
If you'd like, you can use this:
--================--

local phrases = {"Welcome to my game", "Roleplay like you just...", "SURVIVED A PLANE CRASH!"}

local hint = Instance.new("Hint", game.Workspace)
local phrase = 1

while true do
for i=1, phrases[phrase]:len() do
hint.Text = phrases[phrase]:sub(1,i)
wait(.1)
end
phrase = (phrase + 1 <= #phrases) and phrase + 1 or 1
wait(5)
end

--================--

It's much easier to edit than the script you made :P

"I WILL GIVE YOU BACON." - Deadmau5
~Scarfacial
Report Abuse
drew8732 is not online. drew8732
Joined: 01 Apr 2010
Total Posts: 1965
10 Nov 2011 08:44 PM
You need to add "Remove()" functions. ^^^ Scar's is what you'd call a more "iffecient" script.
Report Abuse
ConstructordeRoblox is not online. ConstructordeRoblox
Joined: 09 Nov 2011
Total Posts: 376
10 Nov 2011 08:46 PM
^^^ *Efficient.* Hi I'm new.
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
10 Nov 2011 08:47 PM
You don't need to use the remove method in his script, the way he has it is right. (Although it's missing an end, as theo pointed out)

His script works though, just inefficient and takes a while to edit. I do admit though, I made scripts like that back in the day :P

"I WILL GIVE YOU BACON." - Deadmau5
~Scarfacial
Report Abuse
RobloxianDav is not online. RobloxianDav
Joined: 05 Mar 2011
Total Posts: 2713
10 Nov 2011 08:48 PM
@the
i mean end as in end of a script
Report Abuse
theopfor is not online. theopfor
Joined: 08 Feb 2011
Total Posts: 11003
10 Nov 2011 08:48 PM
I smell a sALT drew.
Report Abuse
ConstructordeRoblox is not online. ConstructordeRoblox
Joined: 09 Nov 2011
Total Posts: 376
10 Nov 2011 08:49 PM
^^^ I get confused by the wiki. I did learn a rather lot, and they do have some helpful scripts to study from on it - But I am confused too much. Any other helpful sources?
Report Abuse
drew8732 is not online. drew8732
Joined: 01 Apr 2010
Total Posts: 1965
10 Nov 2011 08:50 PM
Contruct isn't my alt. What do you mean?
Report Abuse
ConstructordeRoblox is not online. ConstructordeRoblox
Joined: 09 Nov 2011
Total Posts: 376
10 Nov 2011 08:50 PM
Sorry that was directed to SCARFACIAL.

I am not an alt, but I wasn't sure if you were calling me an alt or drew an alt...
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
10 Nov 2011 08:51 PM
You can learn native Lua from lua.org, but the best way to learn RBX.Lua is the Roblox Wiki and by dissecting free models.

Oh, and I also smell nAcL, Theopfor. <-- UcwutIdidthar?

"I WILL GIVE YOU BACON." - Deadmau5
~Scarfacial
Report Abuse
RobloxianDav is not online. RobloxianDav
Joined: 05 Mar 2011
Total Posts: 2713
10 Nov 2011 08:53 PM
heres my script below me (idk if it works)
________________________________
print 'Hello world!'
local hint = Instance.new("Hint")
hint.Parent = game.Workspace

while true do

hint. Text="B"
wait(1)
hint. Text="Bu"
wait(1)
hint. Text="Bui"
wait(1)
hint. Text="Buil"
wait(1)
hint. Text="Build"
wait(1)
hint. Text="A"
wait(1)
hint. Text="P"
wait(1)
hint. Text="Pl"
wait.(1)
hint. Text="Pla"
wait(1)
hint. Text="Plan"
wait(1)
hint. Text="Plane"
wait(2)
hint. Text="=3"
end
Report Abuse
ConstructordeRoblox is not online. ConstructordeRoblox
Joined: 09 Nov 2011
Total Posts: 376
10 Nov 2011 08:53 PM
^^^ Icwutyoudidthar.. I am not an alt. Is it really THAT rare to see a new roblox user?
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
10 Nov 2011 08:54 PM
One who knows what grammar is? Yes :P

"I WILL GIVE YOU BACON." - Deadmau5
~Scarfacial
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
10 Nov 2011 08:55 PM
Dav, yes that would work. But what's the point in posting a script when I already posted a much better one? >_>

"I WILL GIVE YOU BACON." - Deadmau5
~Scarfacial
Report Abuse
ConstructordeRoblox is not online. ConstructordeRoblox
Joined: 09 Nov 2011
Total Posts: 376
10 Nov 2011 08:55 PM
I am not trying to be mean, but that script was horrible. I will try to help you out by describing why. You used spaces areas they shouldn't be used on, and you put periods after waits... You don't need that either.
Report Abuse
theopfor is not online. theopfor
Joined: 08 Feb 2011
Total Posts: 11003
10 Nov 2011 08:55 PM
My mistake drew and Construct.
Report Abuse
ConstructordeRoblox is not online. ConstructordeRoblox
Joined: 09 Nov 2011
Total Posts: 376
10 Nov 2011 08:56 PM
@Scar - I am thirteen, I think I am well represented when it comes to knowing the American English vocabulary.

Especially considering I won a spelling bee. - Of course not impressive, or too impressive, I am just trying to prove my side of the case.
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
10 Nov 2011 08:59 PM
Didn't even notice the periods after waits and such >_>

"I think I am well represented when it comes to knowing the American English vocabulary."
You must not be from the US then X3

If you're not an alt, what languages do you know? You obviously have enough knowledge to understand basic RBX.Lua.

"I WILL GIVE YOU BACON." - Deadmau5
~Scarfacial
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building 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