|
| 25 Jun 2016 06:43 PM |
| So i need this block right you step on it and it gives you a particle effect kinda where it goes to your char torso i tried scripting it but it never worked for me! HELP NEEDED! |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 25 Jun 2016 06:46 PM |
In a script in the part:
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local particle = Instance.new("ParticleEmitter",hit.Parent.Torso) -- affect the particle here end end)
|
|
|
| Report Abuse |
|
|
|
| 25 Jun 2016 06:48 PM |
| But like what if i needed like a certain one like put it in serverstorge? |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 25 Jun 2016 06:50 PM |
debounce = true
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") and deboucne == true then debounce = false if hit.Parent.Torso:FindFirstChild("ParticleEmitter") then return false end local particle = game.ServerStorage.Particle:clone() particle.Parent = hit.Parent.Torso -- affect the particle here if yo want to end wait(1) debounce = true end)
|
|
|
| Report Abuse |
|
|
|
| 25 Jun 2016 06:55 PM |
| it seems not to be working |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 25 Jun 2016 06:56 PM |
what's the name of your particle
Also take the word Dev out of your name until you can fix this issue :)
|
|
|
| Report Abuse |
|
|
|
| 25 Jun 2016 06:56 PM |
| it fixed the debounce you spelled wrong but it still seems not to be working? |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2016 06:58 PM |
| its ParticleEmitter but its not working? |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2016 06:59 PM |
put fixed script below i gotta eat dinner
WRONG?:
debounce = true
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") and debounce == true then debounce = false if hit.Parent.Torso:FindFirstChild("ParticleEmitter") then return false end local particle = game.ServerStorage.Particle:clone() particle.Parent = hit.Parent.Torso -- affect the particle here if yo want to end wait(1) debounce = true end) |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 25 Jun 2016 07:00 PM |
debounce = true
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") and debounce == true then debounce = false if hit.Parent.Torso:FindFirstChild("ParticleEmitter") then return false end local particle = game.ServerStorage.ParticleEmitter:clone() particle.Parent = hit.Parent.Torso -- affect the particle here if yo want to end wait(1) debounce = true end)
|
|
|
| Report Abuse |
|
|
| |
|