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 » Game Design
Home Search
 

Re: Spread Script?

Previous Thread :: Next Thread 
CyborgDonut is not online. CyborgDonut
Joined: 06 Aug 2013
Total Posts: 733
06 Dec 2014 11:06 PM
How would I create a script that spreads a certain script and a fire particle to only certain bircks named a certain thing? I can't really create a script.. I mostly edit them..
Report Abuse
juniorjfive is not online. juniorjfive
Joined: 05 Jan 2010
Total Posts: 671
06 Dec 2014 11:42 PM
Not quite understanding but i think this is what you want:

local Source=game:service'Workspace'--were the parts are located
local giveFireToPartsNamed='Fire'--//the name of the part in the (Source) to give a Fire instance to

for index,partsNamed in next,Source:children()do--//checks every children in (Source)
if partsNamed.ClassName:find'Part'or partsNamed.ClassName:find'Union'then--//Checks if any children of (Source) is a part or union
if partsNamed.Name:lower()==giveFireToPartsNamed:lower()then--//Checks if the part or union found are named with the (giveFireToPartsNamed) variable
f=Instance.new('Fire',partsNamed)
end
end
end
Report Abuse
CyborgDonut is not online. CyborgDonut
Joined: 06 Aug 2013
Total Posts: 733
06 Dec 2014 11:45 PM
What I was meaning, Is that it will slowly spread a script and a particle to other bricks that are named like jello.
Report Abuse
CyborgDonut is not online. CyborgDonut
Joined: 06 Aug 2013
Total Posts: 733
07 Dec 2014 12:06 AM
You're script is kinda what I meant. But not really.
Report Abuse
CyborgDonut is not online. CyborgDonut
Joined: 06 Aug 2013
Total Posts: 733
07 Dec 2014 10:47 AM
bump
Report Abuse
CyborgDonut is not online. CyborgDonut
Joined: 06 Aug 2013
Total Posts: 733
07 Dec 2014 11:50 AM
Come on! Help me please!? I can't find anything on it on wiki. :(
Report Abuse
CyborgDonut is not online. CyborgDonut
Joined: 06 Aug 2013
Total Posts: 733
13 Dec 2014 01:17 AM
Well, no one is going to help me like always...
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
13 Dec 2014 01:24 AM
so you want a fire spread script?
Report Abuse
CyborgDonut is not online. CyborgDonut
Joined: 06 Aug 2013
Total Posts: 733
13 Dec 2014 01:31 AM
Kinda. Sure.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
13 Dec 2014 01:36 AM
well it could go something like this:

function spread(hit)
if hit.Name == "" then --name of spread material in string
c = Instance.new("Fire")
c.Parent = hit
s = script:Clone()
s.Parent = hit
end
end
script.Parent.Touched:connect(spread)
Report Abuse
CyborgDonut is not online. CyborgDonut
Joined: 06 Aug 2013
Total Posts: 733
13 Dec 2014 01:47 AM
Thanks it works. But now I just have to figure out how to slow it down. And have it change the material. Cya.
Report Abuse
SimplyRemove is online. SimplyRemove
Joined: 24 Nov 2012
Total Posts: 4387
13 Dec 2014 04:28 AM
Try my model: http://www.roblox.com/SL-Spreading-Fire-item?id=191554417 It kills players and you can change the speed of the fire.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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