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: Here's some script which will resize any part.

Previous Thread :: Next Thread 
10b611111 is not online. 10b611111
Joined: 14 Jul 2011
Total Posts: 29
27 Dec 2013 09:56 AM
--By 10b611111--

part = workspace.YourPart --Replace YourPart with whatever the name of your Part is--
while true do
print ("Loop cycle start")
wait(10) --Replace the number with how long you want it to wait before resizing it--
part.Size = Vector3.new(1, 1, 1) --Replace the numbers with the new size of your part--
wait(10) --Replace the number with how long after you want it to wait (additional time to the wait above)(delete this whole line to start over the script starting here)--
end


If the new size collides with a different part, then it won't work. For example,
if you make the size bigger (with x & z) with the script and there's a part right next to the part that you're resizing, it will go on top of the part next to it.
Report Abuse
nighttimeninja314 is not online. nighttimeninja314
Joined: 04 Apr 2011
Total Posts: 4001
27 Dec 2013 09:57 AM
Ty, keep scripting your path to excellence.
Report Abuse
10b611111 is not online. 10b611111
Joined: 14 Jul 2011
Total Posts: 29
27 Dec 2013 10:34 AM
np, it was fun making it. Glad to help you!
Report Abuse
nighttimeninja314 is not online. nighttimeninja314
Joined: 04 Apr 2011
Total Posts: 4001
27 Dec 2013 11:11 AM
this script will make the part stay in the same place whether or not theres a part touching it.

part = workspace.YourPart --Replace YourPart with whatever the name of your Part is--
while true do
print ("Loop cycle start")
wait(10) --Replace the number with how long you want it to wait before resizing it--
part.Size = Vector3.new(1, 1, 1) --Replace the numbers with the new size of your part--
part.Position = CFrame.new(part.Position) --- keeps it in place regardless of neighbors
wait(10) --Replace the number with how long after you want it to wait (additional time to the wait above)(delete this whole line to start over the script starting here)--
end
Report Abuse
10b611111 is not online. 10b611111
Joined: 14 Jul 2011
Total Posts: 29
27 Dec 2013 12:52 PM
lol, even i didnt know that. thx!
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