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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Just made a snow script~

Previous Thread :: Next Thread 
supersaga is not online. supersaga
Joined: 18 Jun 2009
Total Posts: 3002
27 Jul 2013 12:50 PM
Variables:

while true do
local p = Instance.new("Part")
local q = Instance.new("BodyVelocity")
local r = script.Deleter:Clone()
p.BrickColor = BrickColor.new("White")
p.Parent = game.Workspace
p.Shape = 6
p.Size = Vector3.new(.5, .5, .5)
p.Transparency = 0
p.Reflectance = 0.3
p.Locked = true
p.Anchored = false
p.CanCollide = false
p.formFactor = "Plate"
p.Position = Vector3.new((math.random(-100, 110)),110,(math.random(-100,110)))----This determines where the snow will fall.
q.velocity = Vector3.new(0, -18, 0)
q.Parent = p
r.Parent = p
wait(0.5)-----Decrease the ammount of time here for thicker snow, WARNING: the thicker the snow, the more lag you get. It is currently set at 1 , a slight trickle of snow.
end
Report Abuse
UnknownRichGuy is not online. UnknownRichGuy
Joined: 08 Jul 2013
Total Posts: 202
27 Jul 2013 12:53 PM
Do you need help or something?
Report Abuse
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
27 Jul 2013 12:55 PM
I think he's just proud of his script and showing it to us because he wants to be praised.
Good boy! Keep it up.
Report Abuse
UnknownRichGuy is not online. UnknownRichGuy
Joined: 08 Jul 2013
Total Posts: 202
27 Jul 2013 12:55 PM
This is not the place to do that.
Report Abuse
Foged is not online. Foged
Joined: 21 Jun 2008
Total Posts: 307
27 Jul 2013 12:59 PM
I don't know, doesn't seem like it would work.

I don't know if "6" is a real shape.
Report Abuse
Placen is not online. Placen
Joined: 28 Feb 2009
Total Posts: 4496
27 Jul 2013 01:35 PM
I made a rain script a couple years ago for an arena map. Sort of like your snow script.

while true do

wait(10)
function rainBricks()
local p = Instance.new("Part")
p.Parent = game.Workspace
p.Shape = "Ball"
p.Name = "Rain_Sphere"
p.CanCollide = true
p.BrickColor = BrickColor.new("Light blue")
p.Size = Vector3.new(2,2,2)
p.Position = Vector3.new(math.random(-68.5,25.5),164,math.random(-87.5,6.5))
wait(0.5)
end

for i = 1,30 do
rainBricks()
wait()
end

wait(10)
d = game.Workspace:GetChildren()
for i = 1,#d do
if d[i].Name == "Rain_Sphere" then
d[i]:remove()
end
end
end
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