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: Fix this please

Previous Thread :: Next Thread 
toxic69 is not online. toxic69
Joined: 29 Jan 2011
Total Posts: 11787
03 Mar 2014 01:07 PM
while true do
script.Parent.Scale=1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9,2
wait()
script.Parent.Scale=1
end




No red lines, but I want the mesh to extend then go back to the regular size
Report Abuse
toxic69 is not online. toxic69
Joined: 29 Jan 2011
Total Posts: 11787
03 Mar 2014 01:10 PM
It doesn't do anything to the brick... Sorry for not including that
Report Abuse
toxic69 is not online. toxic69
Joined: 29 Jan 2011
Total Posts: 11787
03 Mar 2014 01:14 PM
Alright, I did more to it

while true do
script.Parent.Scale=((1.1,1,1),(1.2,1,1),(1.3,1,1)(1.4,1,1),(1.5,1,1),(1.6,1,1),(1.7,1,1),(1.8,1,1),(1.9,1,1),(2,1,1))
wait()
script.Parent.Scale=1, 1, 1
end

This does have a red line.
Report Abuse
toxic69 is not online. toxic69
Joined: 29 Jan 2011
Total Posts: 11787
03 Mar 2014 01:28 PM
Alright, sorry

Couple of things in that previous post I made that my eye didn't catch



while true do
script.Parent.Mesh.Scale=(1.1,1,1),(1.2,1,1),(1.3,1,1),(1.4,1,1),(1.5,1,1),(1.6,1,1),(1.7,1,1),(1.8,1,1),(1.9,1,1),(2,1,1)
wait()
script.Parent.Mesh.Scale=1, 1, 1
end
Report Abuse
Aethea is not online. Aethea
Joined: 12 Dec 2008
Total Posts: 9836
03 Mar 2014 01:54 PM
while wait() do <--True is for the weak
for i=1,2,.1 do
wait()
script.Parent.Size=(0,i,0)
end
script.Parent.Size=(0,1,0)
end
Report Abuse
crazynerd11 is not online. crazynerd11
Joined: 07 Oct 2011
Total Posts: 335
03 Mar 2014 01:59 PM
Make sure you change the 0s otherwise it would be no existant
Report Abuse
TheMichael120 is not online. TheMichael120
Joined: 17 Nov 2011
Total Posts: 135
03 Mar 2014 02:06 PM
Breaking down Aethea's comment;

while wait() do
_ --while (wait a bit, and if it actually ticks) do
_
_ for i=1, 2, .1 do
___ -- for (i = 1; i < 2; i = i + 0.1) do
___
___ wait() -- wait another tick
___
___ script.Parent.Size = Vector3.new(0,i,0)
___ -- unless "(0,i,0)" is translated into the Vector3
___
_ end
_
_ script.Parent.Mesh.Scale = Vector3.new(1,1,1) -- reset
end
Report Abuse
TheMichael120 is not online. TheMichael120
Joined: 17 Nov 2011
Total Posts: 135
03 Mar 2014 02:07 PM
And rather, fixing it (@crazynerd11 :3) (+ fixing wrong axis on Aethea's part :P)

while wait() do
_ --while (wait a bit, and if it actually ticks) do
_
_ for i=1, 2, .1 do
___ -- for (i = 1; i < 2; i = i + 0.1) do
___
___ wait() -- wait another tick
___
___ script.Parent.Size = Vector3.new(i,1,1)
___ -- unless "(i,1,1)" is translated into the Vector3
___
_ end
_
_ script.Parent.Mesh.Scale = Vector3.new(1,1,1) -- reset
end
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