|
| 13 Apr 2015 09:05 PM |
so i want to place a mesh inside the players torso when they jump oh and yes, i know the key for spacebar is key:byte(32) anyway, i want to put a mesh inside the player torso when they jump and remove it when they finish jumping help? ;_; |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2015 09:13 PM |
| but srsly, i need help, im not joking here |
|
|
| Report Abuse |
|
|
| |
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 13 Apr 2015 09:24 PM |
| Its a new instance inside the starter pack has to be scripted |
|
|
| Report Abuse |
|
|
Qorm
|
  |
| Joined: 25 Jul 2010 |
| Total Posts: 1650 |
|
|
| 13 Apr 2015 09:31 PM |
place in starterpack or something
while true and wait() do if script.Parent.Parent:findFirstChild("Humanoid").Jump then mesh=Instance.new("Mesh",script.Parent.Parent:findFirstChild("Torso")) --now your mesh is inside the torso so you do the mesh properties now wait(1) script.Parent.Parent:findFirstChild("Humanoid").Jump=false mesh:Destroy() end end
this is the easiest way of doing it
there are also other more efficient methods also |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2015 10:04 PM |
what mesh properties? mesh id? i can do that so how do i put it? |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2015 10:50 PM |
Nobody give him the script. He needs to learn how to do it on his own.
Here's some instructions though. Put a local script into the starter pack and use the key down function and use the key byte for space bar. Next, you should experiment on how long the jumps last. Now, insert a mesh into the script that has the mesh ID. Make it so that every time they press space bar, the object gets copied into their torso and then removed. |
|
|
| Report Abuse |
|
|