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: Make it rain?

Previous Thread :: Next Thread 
electricpretzel0 is not online. electricpretzel0
Joined: 30 Sep 2008
Total Posts: 1278
22 Jan 2017 05:38 PM
Hey guys, before you post 'particle emitter' I need a better solution.

I need rain that will fall and destroy when hitting a brick, and as you know, particle emitters lack this property and I can't find any plugins that execute this correctly.

Does anyone know a good way to achieve what I need without making over 100 falling parts at a time? FYI, FE and SE are enabled.

Thanks scripters,

EPster
Report Abuse
electricpretzel0 is not online. electricpretzel0
Joined: 30 Sep 2008
Total Posts: 1278
22 Jan 2017 05:56 PM
that moment when people gave up or only Roblox can solve this request.
Report Abuse
21Reversed is not online. 21Reversed
Joined: 25 Dec 2016
Total Posts: 425
22 Jan 2017 05:57 PM
so like a disaster game?
Report Abuse
21Reversed is not online. 21Reversed
Joined: 25 Dec 2016
Total Posts: 425
22 Jan 2017 05:57 PM
or rain the ends when it touches a brick
Report Abuse
electricpretzel0 is not online. electricpretzel0
Joined: 30 Sep 2008
Total Posts: 1278
22 Jan 2017 05:58 PM
when a drop hits brick; end yes.
Report Abuse
21Reversed is not online. 21Reversed
Joined: 25 Dec 2016
Total Posts: 425
22 Jan 2017 05:59 PM
oh
Report Abuse
robloxman303030 is not online. robloxman303030
Joined: 24 Oct 2012
Total Posts: 171
22 Jan 2017 06:16 PM
game.Lighting:SetMinutesAfterMidnight(3)

while true do
raindrop = Instance.new("Part",script)
raindrop.Size = Vector3.new(0.2,1,0.2)
raindrop.BrickColor = BrickColor.Blue()
raindrop.Transparency = 0.5
raindrop.Name = "Rain"
raindrop.CanCollide = false
raindrop.Position = Vector3.new(math.random(1,300),50,math.random(1,300))
wait()
end

game.Workspace.Baseplate.Touched:connect(function(hit) --change to ground where rain touches
if hit.Name == "Rain" then
hit:Destory()
end
end)
Report Abuse
joshuatodd21 is not online. joshuatodd21
Joined: 18 Jul 2008
Total Posts: 4
22 Jan 2017 07:55 PM
On line 11 when you were setting the raindrop's position with random math it would make more sense to set it between -300 to 300 on both the x and z axis as this would form a square with the center of the Workspace being at the center of the space in which the raindrops form. Otherwise, they might form on one side of the map and not the other.
Report Abuse
joshuatodd21 is not online. joshuatodd21
Joined: 18 Jul 2008
Total Posts: 4
22 Jan 2017 08:01 PM
Also, at this part where you tell the raindrop to destroy after hitting a certain part


game.Workspace.Baseplate.Touched:connect(function(hit) --change to ground where rain touches
if hit.Name == "Rain" then
hit:Destory()
end
end)

It might make more sense to have the raindrop destroy upon touching any part!

raindrop.Touched:connect(function(hit)
if hit.ClassName == "Part"
then raindrop:Remove()
end
end)
Report Abuse
robloxman303030 is not online. robloxman303030
Joined: 24 Oct 2012
Total Posts: 171
23 Jan 2017 03:23 PM
ok thank u thats a lot better
Report Abuse
electricpretzel0 is not online. electricpretzel0
Joined: 30 Sep 2008
Total Posts: 1278
23 Jan 2017 07:06 PM
this is assuming the rain can only hit a 'baseplate' which once again, is of no use.
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