Advertisement
Upscalefanatic3

Rain Above Head Script

Jan 14th, 2018
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. local victim = game.Players.LocalPlayer
  2. local particle1 = Instance.new("ParticleEmitter")
  3. local particle2 = Instance.new("ParticleEmitter")
  4. particle1.Parent = victim.Character.HumanoidRootPart
  5. particle2.Parent = victim.Character.HumanoidRootPart
  6. local colorsequence1 = ColorSequence.new(Color3.new(46/255, 158/255, 255/255))
  7. particle1.Color = colorsequence1
  8. local colorsequence2 = ColorSequence.new(Color3.new(13/255, 46/255, 74/255))
  9. particle2.Color = colorsequence2
  10. particle1.LightEmission = .1
  11. particle1.LightInfluence = 0
  12. particle1.Size = NumberSequence.new(.05)
  13. particle1.Texture = "http://www.roblox.com/asset/?id=118322059"
  14. particle1.ZOffset = 0
  15. particle1.Name = "Rain"
  16. particle1.Acceleration = Vector3.new(0, -20, 0)
  17. particle1.Drag = 0
  18. particle1.LockedToPart = true
  19. particle1.VelocityInheritance = 0
  20. particle1.EmissionDirection = "Top"
  21. particle1.Enabled = true
  22. particle1.Lifetime = NumberRange.new(2.49)
  23. particle1.Rate = 50
  24. particle1.Rotation = NumberRange.new(0)
  25. particle1.RotSpeed = NumberRange.new(0)
  26. particle1.Speed = NumberRange.new(25)
  27. particle1.SpreadAngle = Vector2.new(0, 0)
  28. particle1.Transparency = NumberSequence.new({
  29. NumberSequenceKeypoint.new(0, 1, 0),
  30. NumberSequenceKeypoint.new(.743,1,0),
  31. NumberSequenceKeypoint.new(.756,0,0),
  32. NumberSequenceKeypoint.new(1,0,0),
  33. })
  34. particle2.Name = "Smoke"
  35. particle2.Color = ColorSequence.new(Color3.new(13/255, 46/255, 74/255))
  36. particle2.LightEmission = .1
  37. particle2.LightInfluence = 0
  38. particle2.Size = NumberSequence.new({
  39. NumberSequenceKeypoint.new(0,0,0),
  40. NumberSequenceKeypoint.new(.499,0,0),
  41. NumberSequenceKeypoint.new(.516,1.42,0),
  42. NumberSequenceKeypoint.new(.6,1.4,0),
  43. NumberSequenceKeypoint.new(.601,0,0),
  44. NumberSequenceKeypoint.new(1,0,0),
  45. })
  46. particle2.Texture = "http://www.roblox.com/asset/?id=290833005"
  47. particle2.ZOffset = 2
  48. particle2.Acceleration = Vector3.new(0, 0, 0)
  49. particle2.EmissionDirection = "Top"
  50. particle2.Enabled = true
  51. particle2.Lifetime = NumberRange.new(20)
  52. particle2.Rate = 50
  53. particle2.LockedToPart = true
  54. particle2.Rotation = NumberRange.new(0, 360)
  55. particle2.Speed = NumberRange.new(1)
  56. particle2.RotSpeed = NumberRange.new(0)
  57. particle2.SpreadAngle = Vector2.new(0, 0)
  58. particle2.Transparency = NumberSequence.new({
  59. NumberSequenceKeypoint.new(0, 1, 0),
  60. NumberSequenceKeypoint.new(.5,1,0),
  61. NumberSequenceKeypoint.new(.535,0,0),
  62. NumberSequenceKeypoint.new(.567,0,0),
  63. NumberSequenceKeypoint.new(.6,1,0),
  64. NumberSequenceKeypoint.new(1,1,0),
  65. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement