Advertisement
refrop

ring animation

May 4th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. ---
  2. local p = game.Players.LocalPlayer
  3. local char = p.Character
  4. local mouse = p:GetMouse()
  5. local larm = char["Left Arm"]
  6. local rarm = char["Right Arm"]
  7. local lleg = char["Left Leg"]
  8. local rleg = char["Right Leg"]
  9. local hed = char.Head
  10. local torso = char.Torso
  11. local ASD = BrickColor.new("New Yeller")
  12. local hum = char.Humanoid
  13. local cam = game.Workspace.CurrentCamera
  14. local root = char.HumanoidRootPart
  15. local deb = false
  16. local shot = 0
  17. local l = game:GetService("Lighting")
  18. local rs = game:GetService("RunService").RenderStepped
  19. local stanceToggle = "Normal"
  20. math.randomseed(os.time())
  21. hum.WalkSpeed = 20
  22. char.Health:Destroy()
  23. hum.MaxHealth = 999999999999999999999999999999999999999999999999999
  24. wait(0.1)
  25. hum.Health = 999999999999999999999999999999999999999999999999999
  26. z = Instance.new("Sound", char.Torso)
  27. z.SoundId = "rbxassetid://375880379"----------------change this to put a specific song to your script
  28. z.Looped = true
  29. z.Pitch = 1
  30. z.Volume = 70
  31. ----------------------------------------------------
  32. local SM = Instance.new("Smoke",torso)
  33. SM.Size = 15
  34. local S = Instance.new("Part",char)
  35. S.Size = Vector3.new(1,1,1)
  36. S.Material = "Neon"
  37. S.BrickColor = BrickColor.new("Deep orange")
  38. S.Transparency = 1
  39. S.Anchored = true
  40. S.CFrame = torso.CFrame*CFrame.new(0,0,0)
  41. local Ring = Instance.new("Part",S)
  42. Ring.Size = Vector3.new(1,1,1)
  43. Ring.BrickColor = BrickColor.new("Really black")
  44. Ring.Anchored = true
  45. Ring.CanCollide = true
  46. Ring.CFrame = S.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  47. local Ring2 = Instance.new("SpecialMesh",Ring)
  48. Ring2.MeshId = "rbxassetid://3270017"
  49. Ring2.Scale = Vector3.new(0.1,0.1,0.1)
  50. local S2 = Instance.new("SpecialMesh",S)
  51. S2.MeshType = "Sphere"
  52. S2.Scale = Vector3.new(1,1,1)
  53. v = Instance.new("Sound")
  54. v.SoundId = "rbxassetid://821439273"
  55. v.Parent = char.Torso
  56. v.Looped = false
  57. v.Pitch = 1
  58. v.Volume = 50
  59. wait(.01)
  60. v:Play()
  61. local partasdeff = Instance.new("ParticleEmitter",S)
  62. partasdeff.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0, 255, 0))
  63. partasdeff.LightEmission = .99
  64. partasdeff.Size = NumberSequence.new(0.2)
  65. partasdeff.Texture = "http://www.roblox.com/asset/?ID=id"
  66. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  67. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  68. partasdeff.Transparency = bbb
  69. partasdeff.Size = aaa
  70. partasdeff.ZOffset = .9
  71. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  72. partasdeff.LockedToPart = false
  73. partasdeff.EmissionDirection = "Top"
  74. partasdeff.Lifetime = NumberRange.new(1, 2)
  75. partasdeff.Rate = 0
  76. partasdeff.Rotation = NumberRange.new(-100, 100)
  77. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  78. partasdeff.Speed = NumberRange.new(10)
  79. partasdeff.VelocitySpread = 300
  80. partasdeff.Enabled = true
  81. for i = 1,100 do
  82. Ring2.Scale = Ring2.Scale + Vector3.new(2,2,2)
  83. Ring.Transparency = Ring.Transparency + 0.01
  84. S2.Scale = S2.Scale + Vector3.new(0.3,0.3,0.3)
  85. S.Transparency = S.Transparency + 0.01
  86. game:GetService("RunService").RenderStepped:wait()
  87. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement