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: C-Frame size?

Previous Thread :: Next Thread 
tehtochcoph is not online. tehtochcoph
Joined: 18 Jul 2013
Total Posts: 193
05 Feb 2014 12:00 AM
So im creating a blood script for injuries. And the blood grows into a larger puddle. But the problem is im using Vector3.new, and using that is making the blood climb up other things instead of staying on the ground. So the blood will Size its self and when it touches something it goes ontop of the object. Is there anyway to make it CFrame through stuff, i tried CFrame.new but i got errors. Heres the script

for i=1,15 do
wait(0.05)
script.Parent.Size = script.Parent.Size + Vector3.new(0.3,0.001,0.3)
end
Report Abuse
yurhomi10 is not online. yurhomi10
Joined: 10 Dec 2008
Total Posts: 13886
05 Feb 2014 12:46 AM
Since you want to position this blood right where the playr died, your going to have to use cframe.new, along with the use of the players position.
Report Abuse
tehtochcoph is not online. tehtochcoph
Joined: 18 Jul 2013
Total Posts: 193
05 Feb 2014 01:52 AM
i already got that part.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Feb 2014 01:55 AM
He is saying, recframe it after you resize it
Report Abuse
yurhomi10 is not online. yurhomi10
Joined: 10 Dec 2008
Total Posts: 13886
05 Feb 2014 01:59 AM
You have the resizing part right, the issue is since a player moves around to different locations not knowing his future death. You cant set a specific location for the blood to group on the floor. In this instance you could have the position of the player's torso - maybe 0.5 in the y axis and 0 for the others since blood is already expanding in the line you already made.
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