Snow on ice islands
Page 1 of 1
Snow on ice islands
Just a thought:
while true do
wait(.2)
a=Instance.new("Part")
a.Parent=game.Workspace
a.Name="Snowflake"
a.formFactor=0
a.Size=Vector3.new(1,1,1)
a.Shape = 0
a.BottomSurface = 0
a.TopSurface = 0
a.Locked = true
a.CanCollide = false
a.BrickColor=BrickColor.new(1)
a.Position=script.Parent.Position+Vector3.new(math.random(script.Parent.Size.x/-2,script.Parent.Size.x/2),math.random(script.Parent.Size.y/-2,script.Parent.Size.y/2),math.random(script.Parent.Size.z/-2,script.Parent.Size.z/2))
a:BreakJoints()
end
Put that in a brick and snow will appear (It goes away quite quickly, so there is not much lagg produced)
while true do
wait(.2)
a=Instance.new("Part")
a.Parent=game.Workspace
a.Name="Snowflake"
a.formFactor=0
a.Size=Vector3.new(1,1,1)
a.Shape = 0
a.BottomSurface = 0
a.TopSurface = 0
a.Locked = true
a.CanCollide = false
a.BrickColor=BrickColor.new(1)
a.Position=script.Parent.Position+Vector3.new(math.random(script.Parent.Size.x/-2,script.Parent.Size.x/2),math.random(script.Parent.Size.y/-2,script.Parent.Size.y/2),math.random(script.Parent.Size.z/-2,script.Parent.Size.z/2))
a:BreakJoints()
end
Put that in a brick and snow will appear (It goes away quite quickly, so there is not much lagg produced)
Ashitaka- Posts : 34
Join date : 2009-05-22
Age : 28
Location : UK, Scotland
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|