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
 

Re: How would you fix this?

Previous Thread :: Next Thread 
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
28 Jul 2016 11:07 PM
So lets say you did this
repeat
wait(1)
script.Parent.Size = script.Parent.Size - Vector3.new(1, 1, 1)
until script.Parent.Size == Vector3.new(0, 0, 0)

and then you try to walk, the brick goes ontop of your head because you "clip" inside of it.

How do you fix that


Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
28 Jul 2016 11:11 PM
1


Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
28 Jul 2016 11:12 PM
CFrame


Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
28 Jul 2016 11:12 PM
but I don't wanna lower the plate. Do you have to?


Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
28 Jul 2016 11:13 PM
how would u do it in the case above, I want the plate to be still tho


Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
28 Jul 2016 11:32 PM
2


Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
28 Jul 2016 11:33 PM
"So lets say you did this..."
I wouldn't do that. The minimum size of a part is .2,.2,.2 so it'll never reach 0,0,0.


repeat
wait(1)
local cf = script.Parent.CFrame
script.Parent.Size = script.Parent.Size - Vector3.new(1, 1, 1)
script.Parent.CFrame = cf
until script.Parent.Size.magnitude <= (3*.2^2)^.5+.001
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
28 Jul 2016 11:59 PM
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