|
| 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
|
  |
| 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 |
|
|
| |
|
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
|
  |
| 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 |
|
|