hawoody

Untitled

Jan 31st, 2020
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. hi = game.Players.reset4852258.Character
  2. Torso = hi.Torso
  3. local Tail_1 = Instance.new("Part",hi)
  4. Tail_1.FormFactor = Enum.FormFactor.Custom
  5. Tail_1.Size = Vector3.new(.05, .05, .05)
  6. Tail_1.Name = Tail_1
  7. local fire = Instance.new("ParticleEmitter",Tail_1)
  8. fire.Acceleration = Vector3.new(0, 2, 2)
  9. fire.Lifetime = NumberRange.new(2)
  10. fire.LightEmission = 1
  11. fire.LockedToPart = true
  12. fire.Rate = 480
  13. fire.Rotspeed = NumberRange.new(12)
  14. fire.SpreadAngle = Vector2(0)
  15. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  16. fire.Rotation = NumberRange.new(1987654321)
  17. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, s), NumberSequenceKeypoint.new(0.9, 5), NumberSequenceKeypoint.new(1, 0.1)})
  18. fire.Color = ColorSequence.new(Color3.new(255,255,0), Color3.new(255,255,0))
  19.  
  20. Tail_2 = Tail_1:Clone()
  21. Tail_2.Parent = Torso
  22. local x,y,z = -3.4, 19.72, 9.41
  23.  
  24. Wld = function(a,b,cf)
  25. local Weld = Instance.new("Weld",a)
  26. Weld.Part0 = a
  27. Weld.Part1 = b
  28. Weld.C1= cf
  29. return Weld
  30. end
  31.  
  32. local wld = Wld(Torso,Tail_1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  33. local wld2 = Wld(Torso,Tail_2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  34.  
  35.  
  36. game:service'RunService'.Stepped:connect(function()
  37. --z = 6+math.sin(tick()*2)
  38. y = -1+math.sin(tick()*Num)*Num2
  39. Tail_1.fire.Acceleration = Vector3.new(x,y,z)
  40. Tail_2.fire.Acceleration = Vector3.new(x,y,-z)
  41. end)
Add Comment
Please, Sign In to add comment