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: Spawning fire randomly

Previous Thread :: Next Thread 
HydraSaber is not online. HydraSaber
Joined: 22 Jan 2012
Total Posts: 7
23 Apr 2015 08:51 PM
Hi, im a new scripter and im building a game to escape a building that is on fire. I would like to spawn fire randomly. Could anyone help me get started or give me some tips. Thank you.
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
23 Apr 2015 09:09 PM
Instance.new("Fire",Parent)
Report Abuse
HydraSaber is not online. HydraSaber
Joined: 22 Jan 2012
Total Posts: 7
24 Apr 2015 10:38 AM
Ok thankyou.
Report Abuse
pketny is not online. pketny
Joined: 27 Dec 2010
Total Posts: 1162
24 Apr 2015 10:45 AM
local fire = Instance.new("Fire")
fire.Size = 10
fire.Parent = workspace.Part

Always set the parent as last property and never put it inside the Instance.new function.
Setting the parent as last property will prevent the player from seeing you changing the instance's properties and not puttin the parent inside the Instance.new function will improve the speed of your code.
Report Abuse
HydraSaber is not online. HydraSaber
Joined: 22 Jan 2012
Total Posts: 7
25 Apr 2015 12:28 AM
Thankyou so much for all your input it is really helpful.
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