dhr1
|
  |
| Joined: 15 Apr 2008 |
| Total Posts: 76297 |
|
|
| 08 May 2013 09:39 PM |
like it rains
then the rain stops for a few min
then it resumes again
is there a script for this? |
|
|
| Report Abuse |
|
|
|
| 08 May 2013 10:00 PM |
Yes. Gotta break it down though. It's more then just "Make it rain".
What is the rain made out of? How thick is the rain? Will it lag? |
|
|
| Report Abuse |
|
|
Voidion
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 2668 |
|
|
| 08 May 2013 10:01 PM |
| Use a while loop with Instance.new |
|
|
| Report Abuse |
|
|
|
| 08 May 2013 11:43 PM |
bro, do this,(It will lag alot :/) while true do rain = Instance.new("Part", workspace) rain.BrickColor = BrickColor.new("Bright blue") rain.Transparency = 0.5 rain.Position = Vector3.new(math.random(1,40), 30, math.random(1,40)) wait(0.5) end (ง'̀-'́)ง |
|
|
| Report Abuse |
|
|
|
| 08 May 2013 11:49 PM |
Interval_Between_Rain_Periods = 10 -- in seconds Amount_Of_Rain_In_Each_Period = 100
while wait(Interval_Between_Rain_Periods) do for i = 1, Amount_Of_Rain_In_Each_Period do local Rain = Instance.new("Part", Game.Workspace) Rain.BrickColor = BrickColor.new("Really blue") Rain.Transparency = 0.6 Rain.CanCollide = false Rain.CFrame = CFrame.new(math.random(25), 100, math.random(25)) Game.Debris:AddItem(Rain, 5) wait(1/30) end end |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2013 06:03 AM |
thanks fro making this thread i need help
|
|
|
| Report Abuse |
|
|
|
| 05 Nov 2013 07:41 AM |
Shortest code:
repeat while true do for rain = 0,1,0 do end end until nil |
|
|
| Report Abuse |
|
|
TomsGames
|
  |
| Joined: 11 Oct 2013 |
| Total Posts: 1615 |
|
|
| 05 Nov 2013 09:26 AM |
repeat while true do for rain = 0,1,0 do end end until nil
Dragon, that wouldn't do what he wants. Just for other viewers sakes this is what he put:
repeat while true do for rain = 0 , 1, 0 do end end until nil
To be honest, that wouldn't even work. |
|
|
| Report Abuse |
|
|