DungeonRoblox

=D

Mar 5th, 2016
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. ------------------------------------------------------------------------------------
  2. local Character = game.Workspace.Part_y
  3. local moosick = Instance.new("Sound",Character)
  4. moosick.SoundId = "rbxassetid://293397463"
  5. moosick.Looped = true
  6. moosick.Pitch = 1
  7. moosick.Volume = 0
  8. moosick:Play()
  9. -------------------------------------------------------------------------------------
  10. -------------------------------------------------------------------------------------
  11.  
  12. local Color = 255, 0, 2000
  13.  
  14. local Celor = 0,0,0
  15.  
  16. local Num = 0.8
  17.  
  18. local Sezi = 0.5
  19.  
  20. local Num2 = 0.8 -------------Mods:1,4,8,10,15,20-------------------------------------
  21. local Size = 1
  22. local Rate = 300
  23. -------------------------------------------------------------------------------------
  24.  
  25. ------------------------------------------------------------------------------------------------
  26. local Player = game:service'Players'.LocalPlayer
  27. local Character = Player.Character
  28. Torso = Character:WaitForChild'Torso'
  29.  
  30. local Wing1 = Instance.new("Part",Character)
  31. Wing1.FormFactor = Enum.FormFactor.Custom
  32. Wing1.Size = Vector3.new(.2, .2, .2)
  33. Wing1.Name = "WIng_1"
  34.  
  35. local fire = Instance.new("ParticleEmitter", Wing1)
  36. fire.VelocitySpread = 0
  37. fire.Lifetime = NumberRange.new(10)
  38. fire.Acceleration = Vector3.new(0, 4, 4)
  39. fire.RotSpeed = NumberRange.new(10)
  40. fire.Rate = Rate
  41. fire.Rotation = NumberRange.new(151515)
  42. fire.Name = "Fire"
  43. fire.LightEmission = 0.78
  44. fire.LockedToPart = false
  45. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  46. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  47. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  48.  
  49. local Wing2 = Wing1:Clone()
  50. Wing2.Parent = Torso
  51. local x,y,z = 0,-1,-6
  52.  
  53. Wld = function(a,b,cf)
  54. local Weld = Instance.new('Weld',a)
  55. Weld.Part0 = a
  56. Weld.Part1 = b
  57. Weld.C1 = cf
  58. return Weld
  59. end
  60.  
  61. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.3)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  62. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.3)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  63.  
  64. print'Loaded'
  65.  
  66. game:service'RunService'.Stepped:connect(function()
  67. --z = 6+math.sin(tick()*2)
  68. y = -1+math.sin(tick()*Num)*Num2
  69. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  70. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  71. end)
  72.  
  73. --------------------------------------------------------------------------------------------------------------------
  74. local Player = game:service'Players'.LocalPlayer
  75. local Character = Player.Character
  76. Torso = Character:WaitForChild'Torso'
  77.  
  78. local Wing1 = Instance.new("Part",Character)
  79. Wing1.FormFactor = Enum.FormFactor.Custom
  80. Wing1.Size = Vector3.new(.2, .2, .2)
  81. Wing1.Name = "WIng_1"
  82.  
  83. local fire = Instance.new("ParticleEmitter", Wing1)
  84. fire.VelocitySpread = 0
  85. fire.Lifetime = NumberRange.new(10)
  86. fire.Acceleration = Vector3.new(0, 4, 4)
  87. fire.RotSpeed = NumberRange.new(10)
  88. fire.Rate = Rate
  89. fire.Rotation = NumberRange.new(151515)
  90. fire.Name = "Fire"
  91. fire.LightEmission = 0.78
  92. fire.LockedToPart = false
  93. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  94. fire.Color = ColorSequence.new(Color3.new(Celor), Color3.new(Celor))
  95. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Sezi), NumberSequenceKeypoint.new(1, Sezi)})
  96.  
  97. local Wing2 = Wing1:Clone()
  98. Wing2.Parent = Torso
  99. local x,y,z = 0,-1,-6
  100.  
  101. Wld = function(a,b,cf)
  102. local Weld = Instance.new('Weld',a)
  103. Weld.Part0 = a
  104. Weld.Part1 = b
  105. Weld.C1 = cf
  106. return Weld
  107. end
  108.  
  109. local wld = Wld(Torso,Wing1,CFrame.new(0.5,0,-.3)*CFrame.Angles(-math.rad(90),-math.rad(61),-math.rad(90)))
  110. local wld2 = Wld(Torso,Wing2,CFrame.new(0.3,0,.3)*CFrame.Angles(-math.rad(91),-math.rad(60),-math.rad(91)))
  111.  
  112. print'Loaded'
  113.  
  114. game:service'RunService'.Stepped:connect(function()
  115. --z = 6+math.sin(tick()*2)
  116. y = -1+math.sin(tick()*Num)*Num2
  117. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  118. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  119. end)
  120. ----------------------------------------------------------------------------------
Add Comment
Please, Sign In to add comment