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 » Scripters
Home Search
 

Gears keep falling through a resizing part?

Previous Thread :: Next Thread 
samthemagicman is not online. samthemagicman
Joined: 20 Mar 2011
Total Posts: 1225
20 Jan 2016 03:25 PM
Hi. I have this cylinder with gears on it, and the cylinder is supposed to make itself smaller, the only problem is the gears keep falling through it.

for i = 1, 50 do
local startCF = script.Parent.CFrame
script.Parent.Size = script.Parent.Size - Vector3.new(0.2, 0, 0.2)
script.Parent.CFrame = startCF -- This is here because when the script changes the parts size, it makes it go on top of the gears, and that's why they fall down
end

So, what I guess I'm asking is, is there another way to resize a brick besides using .Size? or some way to make it not move without using the method I'm using? I could anchor the gears and unanchor them when they're picked up, but I want to avoid that if I can..
Thanks
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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