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: I NEED A LITTLE HELP

Previous Thread :: Next Thread 
iHave47Chromosome is not online. iHave47Chromosome
Joined: 21 Apr 2017
Total Posts: 7
09 May 2017 03:20 AM
how do u make a particle emitter with time? Like every 30 sec it will activate then after another 30 sec it will deactivate?
Report Abuse
PoliceOfficial is not online. PoliceOfficial
Joined: 30 Jul 2010
Total Posts: 219
09 May 2017 03:32 AM
U WANNA KNOW HUH? U WANNA KNOW???????
Here you go, change "particleemitter" to the address of your particle emitter.
If you don't know how to do that, tell me exactly where in the game it is and I'll show you how.


while wait(30) do --how long it remains on for
particleemitter.Enabled=false
wait(30) --how long it remains OFF for
particleemitter.Enabled=true
end
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
09 May 2017 04:06 AM
You can try changing the lifetime or speed
Report Abuse
iHave47Chromosome is not online. iHave47Chromosome
Joined: 21 Apr 2017
Total Posts: 7
09 May 2017 04:48 AM
it doesnt work police D:
Report Abuse
iHave47Chromosome is not online. iHave47Chromosome
Joined: 21 Apr 2017
Total Posts: 7
09 May 2017 04:49 AM
roblox, i know how the lifetime works but i want the particle emitter to be turn off and on automatically
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
09 May 2017 05:03 AM
while wait(30) do
ParticleEmitter.Enabled = not ParticleEmitter.Enabled
end
Report Abuse
PoliceOfficial is not online. PoliceOfficial
Joined: 30 Jul 2010
Total Posts: 219
09 May 2017 05:25 AM
Lae, that is ####### genius I had no idea you could do that but that's awesome!
Report Abuse
PoliceOfficial is not online. PoliceOfficial
Joined: 30 Jul 2010
Total Posts: 219
09 May 2017 05:25 AM
show me your script friend
Report Abuse
Johnny_Dev is not online. Johnny_Dev
Joined: 25 Apr 2014
Total Posts: 101
09 May 2017 06:56 AM
while true do --so that it repeats
script.Parent.ParticleEmitter.Enabled = false --Turns it off
wait (20) --This is how long it waits before turning on again
script.Parent.ParticleEmitter.Enabled = True --Turns it back on again
end

This should work ;)
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
09 May 2017 07:52 AM
That won't work.


Report Abuse
iHave47Chromosome is not online. iHave47Chromosome
Joined: 21 Apr 2017
Total Posts: 7
09 May 2017 11:33 PM
LaeMVP & Johnny, it wont work D:
Report Abuse
Mister_Manakin is not online. Mister_Manakin
Joined: 16 Sep 2009
Total Posts: 1935
09 May 2017 11:38 PM
Both PoliceOfficial and LaeMVP's scripts work. You just need to reference the ParticleEmitter correctly.
Report Abuse
iHave47Chromosome is not online. iHave47Chromosome
Joined: 21 Apr 2017
Total Posts: 7
10 May 2017 12:04 AM
Mister, do i have to put the script under the particle emitter or just put it under the brick, like the same as particle?
Report Abuse
iHave47Chromosome is not online. iHave47Chromosome
Joined: 21 Apr 2017
Total Posts: 7
10 May 2017 12:07 AM
i really dont have any experience in scripting, do u mind to give me a model of it, pls? if not, then its fine.
Report Abuse
iHave47Chromosome is not online. iHave47Chromosome
Joined: 21 Apr 2017
Total Posts: 7
10 May 2017 12:11 AM
whenever i do the script of police the "particleemitter" in the script has a blue underline. what does it mean?
Report Abuse
Quirtx is online. Quirtx
Joined: 01 Aug 2014
Total Posts: 522
10 May 2017 02:28 AM
while true do script.Parent.ParticleEmitter.Enabled = false wait(30) script.Parent.ParticleEmitter.Enabled = true ####### ### #### idk
Report Abuse
Quirtx is online. Quirtx
Joined: 01 Aug 2014
Total Posts: 522
10 May 2017 02:28 AM
Tags = wait(30) - then something I said
Report Abuse
nullfeels is not online. nullfeels
Joined: 31 Mar 2017
Total Posts: 1215
10 May 2017 04:11 AM
I like to use the existing value as a switch of sorts... So if the value of Enabled = false it will set it to true and vice versa. Not tested in Lua but works in every other language, so yeah... The other solutions will work fine as well, just thought I would mention this way as an alternative.

local run = true

while run do
wait(30)
yourParticleEmitter.Enabled = not yourParticleEmitter.Enabled
end
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
10 May 2017 04:12 AM
Lae already posted that


Report Abuse
nullfeels is not online. nullfeels
Joined: 31 Mar 2017
Total Posts: 1215
10 May 2017 04:14 AM
Lol, you're correct! That's what I get for not reading all the posts... Too bad there isn't a delete button, right? :P
Report Abuse
Johnny_Dev is not online. Johnny_Dev
Joined: 25 Apr 2014
Total Posts: 101
11 May 2017 09:40 AM
riprip
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