|
| 04 Feb 2012 09:02 PM |
It's not working..........
while true do wait()
local p = Instance.new("Part")
p.Parent = game.Workspace p.Name = "Raindrop" p.Anchored = false p.CanCollide = false p.Size = Vector3.new(1,1,1) p.Position = Vector3.new(math.random(-277.5,82.5),math.random(116.8,847.6),math.random(-279.5,-617.5)) p.BrickColor = BrickColor.new(21) end
|
|
|
| Report Abuse |
|
|
|
| 04 Feb 2012 09:05 PM |
I want it to rain from here:
82.5, 332, -279.5
to here:
-277.5, 82.8, -617.5
(Different positions from original script by the way) |
|
|
| Report Abuse |
|
|
| |
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
|
| 04 Feb 2012 09:16 PM |
"I want it to rain from here:
82.5, 332, -279.5
to here:
-277.5, 82.8, -617.5"
Be more specific.
|
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Feb 2012 09:23 PM |
@Phellum what else do you need?
|
|
|
| Report Abuse |
|
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
|
| 04 Feb 2012 09:27 PM |
Nvm. It just that you didn't explain it correctly.
Here's a guess:
local lowest_x = -277.5 local highest_x = 82.5 local lowest_y = 82.8 local highest_y = 332 local lowest_z = -617.5 local highest_z = -279.5 local mr = math.random while true do local p = Instance.new("Part",game.Workspace) p.Name = "Raindrop" p.CanCollide = false p.Size = Vector3.new(1,1,1) p.CFrame = CFrame.new(mr(lowest_x,highest_x),mr(lowest_y,highest_y),mr(lowest_z,highest_z)) p.BrickColor = BrickColor.new("Bright red") wait(0.3) end |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2012 09:31 PM |
| Okay it works but how to I make it rain more drops and faster? Do I change wait(0.3) to wait(0.01)? |
|
|
| Report Abuse |
|
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
|
| 04 Feb 2012 09:36 PM |
local lowest_x = -277.5 local highest_x = 82.5 local lowest_y = 82.8 local highest_y = 332 local lowest_z = -617.5 local highest_z = -279.5 local how_much_rain = 3 --[[ Change the number to how many rain you want to drop. ]]-- local mr = math.random while true do for i=1,how_much_rain do local p = Instance.new("Part",game.Workspace) p.Name = "Raindrop" p.CanCollide = false p.Size = Vector3.new(1,1,1) p.CFrame = CFrame.new(mr(lowest_x,highest_x),mr(lowest_y,highest_y),mr(lowest_z,highest_z)) p.BrickColor = BrickColor.new("Bright red") end wait(0.03) end |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Feb 2012 09:39 PM |
script so far:
local lowest_x = -277.5 local highest_x = 82.5 local lowest_y = 82.8 local highest_y = 332 local lowest_z = -617.5 local highest_z = -279.5 local mr = math.random while true do local p = Instance.new("Part",game.Workspace) p.Name = "Raindrop" p.Transparency = 0.4 p.CanCollide = false p.Size = Vector3.new(1,1,1) p.CFrame = CFrame.new(mr(lowest_x,highest_x),mr(lowest_y,highest_y),mr(lowest_z,highest_z)) p.BrickColor = BrickColor.new("Medium blue") wait(0.0001) end
how do I make them balls? |
|
|
| Report Abuse |
|
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
|
| 04 Feb 2012 09:40 PM |
Add this:
p.Shape = "Ball"
http://wiki.roblox.com/index.php/Shape http://wiki.roblox.com/index.php/PartType_(Enum) |
|
|
| Report Abuse |
|
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
|
| 04 Feb 2012 09:40 PM |
"wait(0.0001)"
might as well remove that part |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2012 05:26 PM |
how do I make it rain faster?
|
|
|
| Report Abuse |
|
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
|
| 05 Feb 2012 06:34 PM |
local lowest_x = -277.5 local highest_x = 82.5 local lowest_y = 82.8 local highest_y = 332 local lowest_z = -617.5 local highest_z = -279.5 local how_much_rain = 5 --[[ Change the number to how many rain you want to drop. ]]-- local mr = math.random while true do for i=1,how_much_rain do local p = Instance.new("Part",game.Workspace) p.Name = "Raindrop" p.CanCollide = false p.Size = Vector3.new(1,1,1) p.CFrame = CFrame.new(mr(lowest_x,highest_x),mr(lowest_y,highest_y),mr(lowest_z,highest_z)) p.BrickColor = BrickColor.new("Bright red") end wait()--[[How long before it can rain (how_much_rain) again. ]]-- end |
|
|
| Report Abuse |
|
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
|
| 05 Feb 2012 06:34 PM |
local lowest_x = -277.5 local highest_x = 82.5 local lowest_y = 82.8 local highest_y = 332 local lowest_z = -617.5 local highest_z = -279.5 local how_much_rain = 5 --[[ Change the number to how many rain you want to drop. ]]-- local mr = math.random while true do for i=1,how_much_rain do local p = Instance.new("Part",game.Workspace) p.Name = "Raindrop" p.CanCollide = false p.Size = Vector3.new(1,1,1) p.Shape = "Ball" p.CFrame = CFrame.new(mr(lowest_x,highest_x),mr(lowest_y,highest_y),mr(lowest_z,highest_z)) p.BrickColor = BrickColor.new("Bright red") end wait()--[[How long before it can rain (how_much_rain) again. ]]-- end |
|
|
| Report Abuse |
|
|