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 » Scripters
Home Search
 

Halp

Previous Thread :: Next Thread 
Johnny_Dev is not online. Johnny_Dev
Joined: 25 Apr 2014
Total Posts: 101
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
szkiller_dev is not online. szkiller_dev
Joined: 07 Oct 2016
Total Posts: 3572
02 Aug 2017 03:39 AM
"Johnny_Dev"


Nice name


Wayk Mi Up Insyd
Report Abuse
Wrathoxic is not online. 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
Johnny_Dev is not online. Johnny_Dev
Joined: 25 Apr 2014
Total Posts: 101
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 is not online. 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
Johnny_Dev is not online. Johnny_Dev
Joined: 25 Apr 2014
Total Posts: 101
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 is not online. Wrathoxic
Joined: 29 May 2013
Total Posts: 1950
02 Aug 2017 04:55 AM
I would've used HumanoidRootPart.


Report Abuse
Johnny_Dev is not online. Johnny_Dev
Joined: 25 Apr 2014
Total Posts: 101
02 Aug 2017 06:40 AM
Ok but do I need it in a local script or not?
Report Abuse
Johnny_Dev is not online. Johnny_Dev
Joined: 25 Apr 2014
Total Posts: 101
02 Aug 2017 06:43 AM
What do I define Character as?
Report Abuse
Johnny_Dev is not online. Johnny_Dev
Joined: 25 Apr 2014
Total Posts: 101
07 Aug 2017 08:55 AM
What do I define Character as?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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