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
 

Re: searching for a script

Previous Thread :: Next Thread 
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
01 Aug 2015 06:22 AM
Hi it would be great if someone knows some scripts like that or could script it for me :
I need a script which inserts 6 particle effects in to the 6 body parts of every player and also npc , so 1 particle effect for each body part -->the effects are called b1,b2,....b6, ;b1 should be in the head ,b2 in the torso,b3 in the right arm,b4 -left arm, b5 -right leg ,b6 -left leg.

and then i need a sceond script : If a part called blade touches a specific body part of a player and or npc . the particle effect that was impelemented with the first script , should get enabled and then after a short waittime (0.2) disabled --> a debounce would also be very usefull .

thanks for reading.
ps. i could only pay upto 30 robux ..But i could build ya an very high detailed melee weapon model (:
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
01 Aug 2015 06:25 AM
If you were aware of this forum...

Nobody helps anyone with code unless they've written the code
Anybody who helps for robux steals
This isn't even a forum for asking for help


Also...
30 robux and a very high detailed melee weapon model is nothing unless someone were to actually use the melee weapon.
Report Abuse
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
01 Aug 2015 06:28 AM
thanks for these tips .


but no further replys like this pls.!
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
01 Aug 2015 06:29 AM
If you were aware of this forum...

Nobody helps anyone with code unless they've written the code
Anybody who helps for robux steals
This isn't even a forum for asking for help


Also...
30 robux and a very high detailed melee weapon model is nothing unless someone were to actually use the melee weapon.
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
01 Aug 2015 06:31 AM
Greetings glurbman, I'm a fan of your weapons

Group the blade parts into a model called "Blade" and insert this script into the weapon
You'll need to customize the particle emitter though


local blade = script.Parent.Blade

-- You should use as few parts as possible for collision but this will work for all your weapons
-- Won't work if you hit a hat

for i,v in pairs(blade:GetChildren()) do
if v:IsA("BasePart") then
v.Touched:connect(function(hit)
if hit and hit.Parent and game.Players:GetPlayerFromCharacter(hit.Parent) then
-- Hit a character

local pe = Instance.new("ParticleEmitter", hit)

-- Remove the ParticleEmitter after 0.2 seconds
game.Debris:AddItem(pe, 0.2)
end
end)
end
end
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
01 Aug 2015 06:33 AM
@BothAngles
Don't use debris, as it will :Remove() stuff and not :Destroy() stuff.
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
01 Aug 2015 06:34 AM
Fixed to work with npcs

local blade = script.Parent.Blade
local lp = game.Players.LocalPlayer

-- You should use as few parts as possible for collision but this will work for all your weapons
-- Won't work if you hit a hat

for i,v in pairs(blade:GetChildren()) do
if v:IsA("BasePart") then
v.Touched:connect(function(hit)
if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= lp.Name then
-- Hit a character

local pe = Instance.new("ParticleEmitter", hit)

-- Remove the ParticleEmitter after 0.2 seconds
game.Debris:AddItem(pe, 0.2)
end
end)
end
end
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
01 Aug 2015 06:35 AM
if roblox wants to be an ass and not update it then thats their problem
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
01 Aug 2015 06:35 AM
The Debris service will remove the object in the same manner the Destroy method does.
?
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
01 Aug 2015 06:46 AM
They finally updated it!
Report Abuse
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
01 Aug 2015 10:46 AM
hi Bothangeles youre awesome ! (: its always good to have fans ^^
ill try it out .
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
01 Aug 2015 11:53 AM
Ok, put a ParticleEmitter in ReplicatedStorage and name it "BloodEmitter"

local lp = game.Players.LocalPlayer
local blade = script.Parent.Blade
local BloodEmitter = game.ReplicatedStorage:WaitForChild("BloodEmitter")

for i,v in pairs(blade:GetChildren()) do
if v:IsA("BasePart") then
v.Touched:connect(function(hit)
if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= lp.Name then
local pe = BloodEmitter:Clone()
pe.Parent = hit
game.Debris:AddItem(pe, 0.2)
end
end)
end
end
Report Abuse
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
01 Aug 2015 01:56 PM
hi (: thanks that you edited it !! but i have problems to get the script to work....
Report Abuse
ImperialOutcast is not online. ImperialOutcast
Joined: 24 Nov 2009
Total Posts: 12054
01 Aug 2015 01:58 PM
"could script it for me"


Stopped reading there, get out.
Report Abuse
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
02 Aug 2015 02:04 AM
stop scamming me get out ^^
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
02 Aug 2015 02:07 AM
get out
Report Abuse
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
02 Aug 2015 05:03 AM
stop that crap bothangles is already helping me you rude kiddis.
Report Abuse
doodle435 is not online. doodle435
Joined: 10 Oct 2012
Total Posts: 43
02 Aug 2015 05:17 AM
Get out and write your own code kid
Report Abuse
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
02 Aug 2015 05:54 AM
hcid kcif
Report Abuse
doodle435 is not online. doodle435
Joined: 10 Oct 2012
Total Posts: 43
03 Aug 2015 04:01 AM
Oh and btw scamming is you making a deal with someone and when he gives you the thing/Item you don't pay/give something back




^True






Kid
Report Abuse
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
03 Aug 2015 09:56 AM
Wow . ps iam19 years old you b




i












t













.










.



















































Report Abuse
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
03 Aug 2015 09:56 AM
and pps. you guys are now on my blacklist . an if ya post somethin here ill report ya.
Report Abuse
banman45 is not online. banman45
Joined: 10 Jun 2011
Total Posts: 24
03 Aug 2015 09:59 AM
^ lol
Report Abuse
oscar9999991 is not online. oscar9999991
Joined: 15 Nov 2009
Total Posts: 11373
03 Aug 2015 10:20 AM
This forum is making me laugh, :)


It's simple physics
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