|
| 02 Aug 2017 03:35 AM |
| How can you get particle emitters into your torso by equipping a tool? The particles are in the tool. |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2017 03:39 AM |
"Johnny_Dev"
Nice name
Wayk Mi Up Insyd |
|
|
| Report Abuse |
|
|
Wrathoxic
|
  |
| Joined: 29 May 2013 |
| Total Posts: 1950 |
|
|
| 02 Aug 2017 03:42 AM |
Particles=Tool:WaitForChild("ParticleEmitter")
Tool.Equipped:Connect(function() local newParticles=Particles:clone() newParticles.Parent=Character.Torso end)
Tool.Unequipped:Connect(function() local oldParticles=Character.Torso:FindFirstChild("ParticleEmitter") if oldParticles then oldParticles:Destroy() end end)
|
|
|
| Report Abuse |
|
|
|
| 02 Aug 2017 04:26 AM |
Thanks but what does Character mean? I mean where is it getting Character from in the script? I've written Tool as
local Tool = script.Parent
but what should I put for Character? |
|
|
| Report Abuse |
|
|
Wrathoxic
|
  |
| Joined: 29 May 2013 |
| Total Posts: 1950 |
|
|
| 02 Aug 2017 04:35 AM |
Is it a local or a non-local script
|
|
|
| Report Abuse |
|
|
|
| 02 Aug 2017 04:48 AM |
| I've put your script in a non-local script and I changed Torso to UpperTorso because I'm using R15. |
|
|
| Report Abuse |
|
|
Wrathoxic
|
  |
| Joined: 29 May 2013 |
| Total Posts: 1950 |
|
|
| 02 Aug 2017 04:55 AM |
I would've used HumanoidRootPart.
|
|
|
| Report Abuse |
|
|
|
| 02 Aug 2017 06:40 AM |
| Ok but do I need it in a local script or not? |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2017 06:43 AM |
| What do I define Character as? |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2017 08:55 AM |
| What do I define Character as? |
|
|
| Report Abuse |
|
|