Advertisement
refrop

ring animation fx

May 30th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 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("Trail",torso)
  33. local S = Instance.new("Part",char)
  34. S.Size = Vector3.new(1,1,1)
  35. S.Material = "Neon"
  36. S.BrickColor = BrickColor.new("Deep orange")
  37. S.Transparency = 1
  38. S.Anchored = true
  39. S.CFrame = torso.CFrame*CFrame.new(0,0,0)
  40. local Ring = Instance.new("Part",S)
  41. Ring.Size = Vector3.new(1,1,1)
  42. Ring.BrickColor = BrickColor.new("New Yeller")
  43. Ring.Anchored = true
  44. Ring.CanCollide = true
  45. Ring.CFrame = S.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  46. local Ring2 = Instance.new("SpecialMesh",Ring)
  47. Ring2.MeshId = "rbxassetid://3270017"
  48. Ring2.Scale = Vector3.new(0.1,0.1,0.1)
  49. local S2 = Instance.new("SpecialMesh",S)
  50. S2.MeshType = "Sphere"
  51. S2.Scale = Vector3.new(1,1,1)
  52. v = Instance.new("Sound")
  53. v.SoundId = "rbxassetid://821439273"
  54. v.Parent = char.Torso
  55. v.Looped = false
  56. v.Pitch = 1
  57. v.Volume = 50
  58. wait(.01)
  59. v:Play()
  60. local partasdeff = Instance.new("ParticleEmitter",S)
  61. partasdeff.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(255, 255, 0))
  62. partasdeff.LightEmission = .99
  63. partasdeff.Size = NumberSequence.new(0.2)
  64. partasdeff.Texture = "http://www.roblox.com/asset/?ID=501546182"
  65. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  66. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  67. partasdeff.Transparency = bbb
  68. partasdeff.Size = aaa
  69. partasdeff.ZOffset = .9
  70. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  71. partasdeff.LockedToPart = false
  72. partasdeff.EmissionDirection = "Top"
  73. partasdeff.Lifetime = NumberRange.new(1, 2)
  74. partasdeff.Rate = 0
  75. partasdeff.Rotation = NumberRange.new(-100, 100)
  76. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  77. partasdeff.Speed = NumberRange.new(10)
  78. partasdeff.VelocitySpread = 300
  79. partasdeff.Enabled = false
  80. for i = 1,100 do
  81. Ring2.Scale = Ring2.Scale + Vector3.new(2,2,2)
  82. Ring.Transparency = Ring.Transparency + 0.01
  83. S2.Scale = S2.Scale + Vector3.new(0.3,0.3,0.3)
  84. S.Transparency = S.Transparency + 0.01
  85. game:GetService("RunService").RenderStepped:wait()
  86. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement