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 » Scripting Helpers
Home Search
 

Clickdetector smoke machine] Any help?

Previous Thread :: Next Thread 
Sik is not online. Sik
Joined: 01 May 2008
Total Posts: 514
02 Feb 2013 12:41 PM
The script is supposed to make another block within the model produce smoke once this block is clicked. Any help?

-------------------------

Smoker = script.Parent.Parent.Smoker
function onClicked()
enabled = true
wait(.5)
Smoker.Smoke.RiseVelocity = .1
Smoker.Smoke.Size = 5
wait(3)
Smoker.Smoke.RiseVelocity = .1
Smoker.Smoke.Size = 15
wait(3)
Smoker.Smoke.RiseVelocity = .1
Smoker.Smoke.Size = 50
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
Report Abuse
Kondou is not online. Kondou
Joined: 05 Aug 2012
Total Posts: 1148
02 Feb 2013 12:51 PM
Smoker = script.Parent.Parent.Smoker
function onClicked()
Smoker.Smoke.Enabled = true
wait(.5)
Smoker.Smoke.RiseVelocity = .1
Smoker.Smoke.Size = 5
wait(3)
Smoker.Smoke.RiseVelocity = .1
Smoker.Smoke.Size = 15
wait(3)
Smoker.Smoke.RiseVelocity = .1
Smoker.Smoke.Size = 50
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
Report Abuse
JohnThompsonM4 is not online. JohnThompsonM4
Joined: 17 Nov 2012
Total Posts: 10
28 May 2013 03:14 PM
OH MY GOSH! Thank you so much! My place DEPENDS ON THAT SCRIPT!
Report Abuse
JohnThompsonM4 is not online. JohnThompsonM4
Joined: 17 Nov 2012
Total Posts: 10
28 May 2013 03:26 PM
yes
Report Abuse
JohnThompsonM4 is not online. JohnThompsonM4
Joined: 17 Nov 2012
Total Posts: 10
28 May 2013 03:34 PM
NOOOOO!!! It is not working for me! Can SOMEONE tell me EXACTLY how to do it?!?!?!?!?!!!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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