Advertisement
B0bstone

Untitled

Jun 29th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --==//==--
  2. local Player = game:service("Players").LocalPlayer
  3. local Char = Player.Character
  4. local mouse = Player:GetMouse()
  5. local Humanoid = Char:findFirstChild("Humanoid")
  6. local Torso = Char:findFirstChild("Torso")
  7. ----------------------------------------------------------
  8. z = Instance.new("Sound", Torso)
  9. z.SoundId = "rbxassetid://390409627" -- Put Music ID Here.
  10. z.Looped = true
  11. z.Volume = 10
  12. wait(.1)
  13. z:Play()
  14. ------------------------
  15. local Head = Char.Head
  16. local ra = Char:findFirstChild("Right Arm")
  17. local la = Char:findFirstChild("Left Arm")
  18. local rl = Char:findFirstChild("Right Leg")
  19. local ll = Char:findFirstChild("Left Leg")
  20. local rs = Torso:findFirstChild("Right Shoulder")
  21. local ls = Torso:findFirstChild("Left Shoulder")
  22. local rh = Torso:findFirstChild("Right Hip")
  23. local lh = Torso:findFirstChild("Left Hip")
  24. local neck = Torso:findFirstChild("Neck")
  25. local rp = Char:findFirstChild("HumanoidRootPart")
  26. rp.Archivable = true
  27. local rj = rp:findFirstChild("RootJoint")
  28. rj.Archivable = true
  29. local rootpart = Char:findFirstChild("HumanoidRootPart")
  30. local Camera = workspace.CurrentCamera
  31. local CF = CFrame.new
  32. local components = CF().components
  33. local magicclrs = {"Really blue", "Really black", "Institutional white"}
  34. --local magicclrs = {"Really red", "Deep orange", "New Yeller", "Lime green", "Really blue", "Royal purple", "Bright violet"}
  35. rootpart.CanCollide = false
  36. Humanoid.CameraOffset = Vector3.new(0, 2, 0)
  37. Humanoid.JumpPower = 60
  38. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  39. if jump == "Jump" then
  40. Humanoid.Jump = false
  41. end
  42. end)
  43.  
  44.  
  45.  
  46. Lerp = function(a,b,c)
  47. return a+(b-a)*c
  48. end
  49.  
  50. function phaseclone()
  51. Char.Archivable = true
  52. local Clone1 = Char:Clone()
  53. Clone1.Parent = game.Workspace
  54. for i,v in pairs (Clone1:GetChildren()) do
  55. if v.ClassName == "BodyColors" then
  56. B = "Really black"
  57. v.HeadColor = BrickColor.new(B)
  58. v.LeftArmColor = BrickColor.new(B)
  59. v.RightArmColor = BrickColor.new(B)
  60. v.TorsoColor = BrickColor.new(B)
  61. v.LeftLegColor = BrickColor.new(B)
  62. v.RightLegColor = BrickColor.new(B)
  63. elseif not v:IsA("Part") then
  64. v:Destroy()
  65. end
  66. if v.ClassName ~= "Part" or v.Name == "HumanoidRootPart" then
  67. v:Destroy()
  68. end
  69. if v:IsA("Part") then
  70. v.Transparency = 0.5
  71. v.TopSurface = "Smooth"
  72. v.BottomSurface = "Smooth"
  73. v.LeftSurface = "Smooth"
  74. v.RightSurface = "Smooth"
  75. Bl = "Really black"
  76. v.BrickColor = BrickColor.new(Bl)
  77. v.Anchored = true
  78. v.CanCollide = false
  79. end
  80. end
  81. for i,v in pairs (Clone1:GetChildren()) do
  82. if v:FindFirstChild("roblox") then
  83. v.roblox:Destroy()
  84. end
  85. if v:FindFirstChild("face") then
  86. v.face:Destroy()
  87. end
  88. if v.Name == "Part" or v.Name == "Hold" or v.Name == "Circle" then
  89. v:Remove()
  90. end
  91. end
  92. wait(0.3)
  93. for i = 1,5 do
  94. for _,v in pairs(Clone1:GetChildren()) do
  95. if v:IsA("Part") then
  96. v.Transparency = 0.5+i/5
  97. wait()
  98. end
  99. end
  100. end
  101. Clone1:Destroy()
  102. end
  103.  
  104.  
  105. function ctlerp(c1,c2,al)
  106. local com1 = {c1:components()}
  107. local com2 = {c2:components()}
  108. for i,v in pairs(com1) do
  109. com1[i] = Lerp(v,com2[i],al)
  110. end
  111. return CF(unpack(com1))
  112. end
  113.  
  114. do
  115. local function QuaternionFromCFrame(cf)
  116. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  117. local trace = m00 + m11 + m22
  118. if trace > 0 then
  119. local s = math.sqrt(1 + trace)
  120. local recip = 0.5/s
  121. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  122. else
  123. local i = 0
  124. if m11 > m00 then
  125. i = 1
  126. end
  127. if m22 > (i == 0 and m00 or m11) then
  128. i = 2
  129. end
  130. if i == 0 then
  131. local s = math.sqrt(m00-m11-m22+1)
  132. local recip = 0.5/s
  133. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  134. elseif i == 1 then
  135. local s = math.sqrt(m11-m22-m00+1)
  136. local recip = 0.5/s
  137. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  138. elseif i == 2 then
  139. local s = math.sqrt(m22-m00-m11+1)
  140. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  141. end
  142. end
  143. end
  144. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  145. local xs, ys, zs = x + x, y + y, z + z
  146. local wx, wy, wz = w*xs, w*ys, w*zs
  147. local xx = x*xs
  148. local xy = x*ys
  149. local xz = x*zs
  150. local yy = y*ys
  151. local yz = y*zs
  152. local zz = z*zs
  153. return CF(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  154. end
  155. local function QuaternionSlerp(a, b, t)
  156. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  157. local startInterp, finishInterp;
  158. if cosTheta >= 0.0001 then
  159. if (1 - cosTheta) > 0.0001 then
  160. local theta = math.acos(cosTheta)
  161. local invSinTheta = 1/math.sin(theta)
  162. startInterp = math.sin((1-t)*theta)*invSinTheta
  163. finishInterp = math.sin(t*theta)*invSinTheta
  164. else
  165. startInterp = 1-t
  166. finishInterp = t
  167. end
  168. else
  169. if (1+cosTheta) > 0.0001 then
  170. local theta = math.acos(-cosTheta)
  171. local invSinTheta = 1/math.sin(theta)
  172. startInterp = math.sin((t-1)*theta)*invSinTheta
  173. finishInterp = math.sin(t*theta)*invSinTheta
  174. else
  175. startInterp = t-1
  176. finishInterp = t
  177. end
  178. end
  179. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  180. end
  181. function clerp(a,b,t)
  182. local qa = {QuaternionFromCFrame(a)}
  183. local qb = {QuaternionFromCFrame(b)}
  184. local ax, ay, az = a.x, a.y, a.z
  185. local bx, by, bz = b.x, b.y, b.z
  186. local _t = 1-t
  187. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  188. end
  189. end
  190.  
  191. --==/BASE/DEFAULT WELDS/==--
  192. rm = Instance.new("Weld", Torso)
  193. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  194. rm.C1 = CFrame.new(0, 0.5, 0)
  195. rm.Part0 = Torso
  196. rm.Part1 = ra
  197. lm = Instance.new("Weld", Torso)
  198. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  199. lm.C1 = CFrame.new(0, 0.5, 0)
  200. lm.Part0 = Torso
  201. lm.Part1 = la
  202. rlegm = Instance.new("Weld", Torso)
  203. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  204. rlegm.C1 = CFrame.new(0, 1, 0)
  205. rlegm.Part0 = Torso
  206. rlegm.Part1 = rl
  207. llegm = Instance.new("Weld", Torso)
  208. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  209. llegm.C1 = CFrame.new(0, 1, 0)
  210. llegm.Part0 = Torso
  211. llegm.Part1 = ll
  212. neck.C0 = CFrame.new(0,1,0)
  213. neck.C1 = CFrame.new(0,-0.5,0)
  214.  
  215.  
  216.  
  217.  
  218. --=/Right Arm Magic/=--
  219. local ramagic = Instance.new("Part", Char)
  220. ramagic.FormFactor = "Custom"
  221. ramagic.Anchored = true
  222. ramagic.CanCollide = false
  223. ramagic.Size = Vector3.new(0.7, 0.7, 0.7)
  224. ramagic.TopSurface = 10
  225. ramagic.BottomSurface = 10
  226. ramagic.LeftSurface = 10
  227. ramagic.RightSurface = 10
  228. ramagic.FrontSurface=10
  229. ramagic.BackSurface=10
  230. ramagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  231. ramagic.CFrame = ra.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  232. local lt = Instance.new("PointLight", ramagic)
  233. lt.Brightness = 100
  234. lt.Range = 5
  235. lt.Color = Color3.new(0, 0, 65/100)
  236. local ramagicM = Instance.new("BlockMesh", ramagic)
  237.  
  238. --=/Left Arm Magic/=--
  239. local lamagic = Instance.new("Part", Char)
  240. lamagic.FormFactor = "Custom"
  241. lamagic.Anchored = true
  242. lamagic.CanCollide = false
  243. lamagic.Size = Vector3.new(0.7, 0.7, 0.7)
  244. lamagic.TopSurface = 10
  245. lamagic.BottomSurface = 10
  246. lamagic.LeftSurface = 10
  247. lamagic.RightSurface = 10
  248. lamagic.FrontSurface=10
  249. lamagic.BackSurface=10
  250. lamagic.BrickColor=BrickColor.new(magicclrs[math.random(1,#magicclrs)])
  251. lamagic.CFrame = la.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  252. local lt2 = Instance.new("PointLight", lamagic)
  253. lt2.Brightness = 100
  254. lt2.Range = 6
  255. lt2.Color = Color3.new(0, 0, 65/100)
  256. local lamagicM = Instance.new("BlockMesh", lamagic)
  257. --[[optional
  258. --=/Right Leg Magic/=--
  259. local rlmagic = Instance.new("Part", Char)
  260. rlmagic.FormFactor = "Custom"
  261. rlmagic.Anchored = true
  262. rlmagic.CanCollide = false
  263. rlmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  264. rlmagic.TopSurface = 10
  265. rlmagic.BottomSurface = 10
  266. rlmagic.LeftSurface = 10
  267. rlmagic.RightSurface = 10
  268. rlmagic.FrontSurface=10
  269. rlmagic.BackSurface=10
  270. rlmagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  271. rlmagic.CFrame = rl.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  272. local lt3 = Instance.new("PointLight", rlmagic)
  273. lt3.Brightness = 123123
  274. lt3.Range = 6
  275. lt3.Color = Color3.new(1, 0, 1)
  276. local rlmagicM = Instance.new("BlockMesh", rlmagic)
  277.  
  278. --=/Left Leg Magic/=--
  279. local llmagic = Instance.new("Part", Char)
  280. llmagic.FormFactor = "Custom"
  281. llmagic.Anchored = true
  282. llmagic.CanCollide = false
  283. llmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  284. llmagic.TopSurface = 10
  285. llmagic.BottomSurface = 10
  286. llmagic.LeftSurface = 10
  287. llmagic.RightSurface = 10
  288. llmagic.FrontSurface=10
  289. llmagic.BackSurface=10
  290. llmagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  291. llmagic.CFrame = ll.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  292. local lt4 = Instance.new("PointLight", llmagic)
  293. lt4.Brightness = 123123
  294. lt4.Range = 6
  295. lt4.Color = Color3.new(1, 0, 1)
  296. local llmagicM = Instance.new("BlockMesh", llmagic)
  297. ]]
  298. game:GetService("Debris"):AddItem(lamagic, 0.85)
  299. game:GetService("Debris"):AddItem(ramagic, 0.85)
  300. --[[
  301. game:GetService("Debris"):AddItem(rlmagic, 0.85)
  302. game:GetService("Debris"):AddItem(llmagic, 0.85)
  303. ]]--
  304. coroutine.wrap(function()
  305. for i = 1, 10 do
  306. ramagicM.Scale = ramagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  307. ramagic.CFrame = ramagic.CFrame * CFrame.new(0, 0.2, 0)
  308. lamagicM.Scale = lamagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  309. lamagic.CFrame = lamagic.CFrame * CFrame.new(0, 0.2, 0)
  310. --[[
  311. rlmagicM.Scale = rlmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  312. rlmagic.CFrame = rlmagic.CFrame * CFrame.new(0, 0.2, 0)
  313. llmagicM.Scale = llmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  314. llmagic.CFrame = llmagic.CFrame * CFrame.new(0, 0.2, 0)
  315. ]]--
  316. wait()
  317. end
  318. end)()
  319. end
  320. end
  321. end))
  322.  
  323. --[[local bodyg = Instance.new("BodyGyro", Torso)
  324. bodyg.MaxTorque = Vector3.new(0, math.huge, 0)
  325. while true do game:GetService("RunService").RenderStepped:wait()
  326. bodyg.CFrame = Camera.CoordinateFrame
  327. end]]--
  328.  
  329.  
  330. mouse.KeyDown:connect(function(key)
  331. if key == "0" and sprinting == false then
  332. sprinting = true
  333. Humanoid.WalkSpeed = 60
  334. elseif key == "q" and magix == true then
  335. magix = false
  336. for i = 65/255, 1, -0.1 do wait()
  337. chak.Color = Color3.new(i, i, i)
  338. end
  339. elseif key == "q" and magix == false then
  340. magix = true
  341. for i = 0, 65/255, 0.1 do wait()
  342. chak.Color = Color3.new(0, 0, i)
  343. end
  344. end
  345. end)
  346.  
  347. mouse.KeyUp:connect(function(key)
  348. if key == "0" and sprinting == true then
  349. sprinting = false
  350. Humanoid.WalkSpeed = 10
  351. end
  352. end)
  353.  
  354. --==/GAMEPAD CONTROLS/==--
  355.  
  356. game:GetService("UserInputService").InputBegan:connect(function(input)
  357. if input.UserInputType == Enum.UserInputType.Gamepad1 then
  358. if input.KeyCode == Enum.KeyCode.ButtonX and magix == false then
  359. magix = true
  360. elseif input.KeyCode == Enum.KeyCode.ButtonX and magix == true then
  361. magix = false
  362. elseif input.KeyCode == Enum.KeyCode.ButtonL2 and sprinting == false then
  363. sprinting = true
  364. end
  365. end
  366. end)
  367.  
  368. game:GetService("UserInputService").InputEnded:connect(function(input)
  369. if input.UserInputType == Enum.UserInputType.Gamepad1 then
  370. if input.KeyCode == Enum.KeyCode.ButtonL2 and sprinting == true then
  371. sprinting = false
  372. end
  373. end
  374. end)
  375.  
  376.  
  377.  
  378. game:GetService("RunService").Stepped:connect(function()
  379. angle = (angle % 100) + anglespeed/10
  380. rootpart.CanCollide = false
  381. local speed = Vector3.new(rootpart.Velocity.X, 0, rootpart.Velocity.Z).magnitude
  382. if(Humanoid.Jump) and Torso.Velocity.Y > 1 and speed < 2 then
  383. animpose = "Jump"
  384.  
  385. elseif speed < 2 then -- idle
  386. animpose = "Idle"
  387.  
  388. elseif sprinting == true then -- sprinting
  389. animpose = "Sprinting"
  390.  
  391. elseif speed > 2 then -- walking
  392. walking = true
  393. animpose = "Moving"
  394. end
  395. --==/ANIMATION FUNCTIONS/==--
  396. if animpose == "Idle" and anim == false then -- idle
  397. anglespeed = 0.5
  398. rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.6, -0.15) * CFrame.Angles(math.rad(5) + math.sin(angle) * 0.02, math.rad(15), math.rad(15) + math.sin(angle) * 0.02), 0.1)
  399. lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.6, 0.15) * CFrame.Angles(math.rad(-5), math.rad(15), math.rad(-15) + -math.sin(angle) * 0.02), 0.1)
  400. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.5, -0.4) * CFrame.Angles(math.rad(-20), math.rad(-35), 0), 0.1)
  401. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.9, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.1)
  402. neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-6.5), math.rad(-40), math.sin(angle) * 0.01), 0.1)
  403. rj.C0 = clerp(rj.C0, CFrame.new(0, 2 + math.sin(angle) * 0.1, 0) * CFrame.Angles(math.rad(-90), 0, math.rad(220)), 0.1)
  404.  
  405. elseif animpose == "Moving" and anim == false and walking == true then -- walk
  406. anglespeed = 0.5
  407. rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-10) + math.sin(angle) * 0.05, math.rad(-12) + math.sin(angle) * 0.02, math.rad(8)), 0.1)
  408. lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-10) + math.sin(angle) * 0.05, math.rad(12) + math.sin(angle) * 0.02, math.rad(-8)), 0.1)
  409. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.65, -0.3) * CFrame.Angles(math.rad(-15), math.rad(-5), 0), 0.1)
  410. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.8, 0) * CFrame.Angles(math.rad(-7), math.rad(5), 0), 0.1)
  411. neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(15), Head.RotVelocity.Y/25, 0), 0.1)
  412. rj.C0 = clerp(rj.C0, CFrame.new(0, 2 + math.sin(angle) * 0.1, 0) * CFrame.Angles(math.rad(-110), -rootpart.RotVelocity.Y/25, math.rad(180)), 0.1)
  413. Humanoid.WalkSpeed = 6
  414.  
  415. elseif animpose == "Sprinting" and anim == false then -- sprint
  416. anglespeed = 0.5
  417. rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-40) + math.sin(angle) * 0.05, math.rad(-12) + math.sin(angle) * 0.02, math.rad(8)), 0.1)
  418. lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-40) + math.sin(angle) * 0.05, math.rad(12) + math.sin(angle) * 0.02, math.rad(-8)), 0.1)
  419. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.65, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), 0), 0.1)
  420. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.65, 0) * CFrame.Angles(math.rad(-15), math.rad(5), 0), 0.1)
  421. neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(40), Head.RotVelocity.Y/15, 0), 0.1)
  422. rj.C0 = clerp(rj.C0, CFrame.new(0, 2 + math.sin(angle) * 0.1, 0) * CFrame.Angles(math.rad(-135), -rootpart.RotVelocity.Y/15, math.rad(180)), 0.1)
  423. Humanoid.WalkSpeed = 40
  424. end
  425. end)
  426.  
  427. wait(1)
  428. ------------------------------------------------------------------------------------
  429. local Character = game.Players.LocalPlayer.Character --game.Workspace.fefio92142
  430.  
  431.  
  432. -------------------------------------------------------------------------------------
  433. -------------------------------------------------------------------------------------
  434.  
  435. local Color = 0,0,0
  436.  
  437. local Num = 0.5
  438.  
  439. local Num2 = 4 -------------Mods:1,4,8,10,15,20-------------------------------------
  440. local Size = 0.8
  441. local Rate = 300
  442. -------------------------------------------------------------------------------------
  443. local Player = game:service'Players'.LocalPlayer
  444. local Character = Player.Character
  445. Torso = Character:WaitForChild'Torso'
  446.  
  447. local Wing1 = Instance.new("Part",Character)
  448. Wing1.FormFactor = Enum.FormFactor.Custom
  449. Wing1.Size = Vector3.new(.2, .2, .2)
  450. Wing1.Name = "WIng_1"
  451.  
  452. local fire = Instance.new("ParticleEmitter", Wing1)
  453. fire.VelocitySpread = 0
  454. fire.Lifetime = NumberRange.new(2)
  455. fire.Acceleration = Vector3.new(0, 2, 2)
  456. fire.RotSpeed = NumberRange.new(10)
  457. fire.Rate = Rate
  458. fire.Rotation = NumberRange.new(151515)
  459. fire.Name = "Fire"
  460. fire.LightEmission = 0.78
  461. fire.LockedToPart = true
  462. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  463. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  464. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  465.  
  466. local Wing2 = Wing1:Clone()
  467. Wing2.Parent = Torso
  468. local x,y,z = 0,-1,-6
  469.  
  470. Wld = function(a,b,cf)
  471. local Weld = Instance.new('Weld',a)
  472. Weld.Part0 = a
  473. Weld.Part1 = b
  474. Weld.C1 = cf
  475. return Weld
  476. end
  477.  
  478. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  479. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  480.  
  481.  
  482. game:service'RunService'.Stepped:connect(function()
  483. --z = 6+math.sin(tick()*2)
  484. y = -1+math.sin(tick()*Num)*Num2
  485. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  486. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  487. end)
  488. ------------------------------------------------------------------------------------------------
  489. local Player = game:service'Players'.LocalPlayer
  490. local Character = Player.Character
  491. Torso = Character:WaitForChild'Torso'
  492.  
  493. local Wing1 = Instance.new("Part",Character)
  494. Wing1.FormFactor = Enum.FormFactor.Custom
  495. Wing1.Size = Vector3.new(.2, .2, .2)
  496. Wing1.Name = "WIng_1"
  497.  
  498. local fire = Instance.new("ParticleEmitter", Wing1)
  499. fire.VelocitySpread = 0
  500. fire.Lifetime = NumberRange.new(2.5)
  501. fire.Acceleration = Vector3.new(0, 4, 4)
  502. fire.RotSpeed = NumberRange.new(10)
  503. fire.Rate = Rate
  504. fire.Rotation = NumberRange.new(151515)
  505. fire.Name = "Fire"
  506. fire.LightEmission = 0.78
  507. fire.LockedToPart = true
  508. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  509. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  510. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  511.  
  512. local Wing2 = Wing1:Clone()
  513. Wing2.Parent = Torso
  514. local x,y,z = 0,-1,-6
  515.  
  516. Wld = function(a,b,cf)
  517. local Weld = Instance.new('Weld',a)
  518. Weld.Part0 = a
  519. Weld.Part1 = b
  520. Weld.C1 = cf
  521. return Weld
  522. end
  523.  
  524. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
  525. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
  526.  
  527. print'Loaded'
  528.  
  529. game:service'RunService'.Stepped:connect(function()
  530. --z = 6+math.sin(tick()*2)
  531. y = -1+math.sin(tick()*Num)*Num2
  532. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  533. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  534. end)
  535.  
  536. ------------------------------------------------------------------------------------------------
  537. local Player = game:service'Players'.LocalPlayer
  538. local Character = Player.Character
  539. Torso = Character:WaitForChild'Torso'
  540.  
  541. local Wing1 = Instance.new("Part",Character)
  542. Wing1.FormFactor = Enum.FormFactor.Custom
  543. Wing1.Size = Vector3.new(.2, .2, .2)
  544. Wing1.Name = "WIng_1"
  545.  
  546. local fire = Instance.new("ParticleEmitter", Wing1)
  547. fire.VelocitySpread = 0
  548. fire.Lifetime = NumberRange.new(2.8)
  549. fire.Acceleration = Vector3.new(0, 4, 4)
  550. fire.RotSpeed = NumberRange.new(10)
  551. fire.Rate = Rate
  552. fire.Rotation = NumberRange.new(151515)
  553. fire.Name = "Fire"
  554. fire.LightEmission = 0.78
  555. fire.LockedToPart = true
  556. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  557. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  558. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  559.  
  560. local Wing2 = Wing1:Clone()
  561. Wing2.Parent = Torso
  562. local x,y,z = 0,-1,-6
  563.  
  564. Wld = function(a,b,cf)
  565. local Weld = Instance.new('Weld',a)
  566. Weld.Part0 = a
  567. Weld.Part1 = b
  568. Weld.C1 = cf
  569. return Weld
  570. end
  571.  
  572. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
  573. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
  574.  
  575. print'Loaded'
  576.  
  577. game:service'RunService'.Stepped:connect(function()
  578. --z = 6+math.sin(tick()*2)
  579. y = -1+math.sin(tick()*Num)*Num2
  580. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  581. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  582. end)
  583.  
  584. ------------------------------------------------------------------------------------------------
  585. local Player = game:service'Players'.LocalPlayer
  586. local Character = Player.Character
  587. Torso = Character:WaitForChild'Torso'
  588.  
  589. local Wing1 = Instance.new("Part",Character)
  590. Wing1.FormFactor = Enum.FormFactor.Custom
  591. Wing1.Size = Vector3.new(.2, .2, .2)
  592. Wing1.Name = "WIng_1"
  593.  
  594. local fire = Instance.new("ParticleEmitter", Wing1)
  595. fire.VelocitySpread = 0
  596. fire.Lifetime = NumberRange.new(3)
  597. fire.Acceleration = Vector3.new(0, 4, 4)
  598. fire.RotSpeed = NumberRange.new(10)
  599. fire.Rate = Rate
  600. fire.Rotation = NumberRange.new(151515)
  601. fire.Name = "Fire"
  602. fire.LightEmission = 0.78
  603. fire.LockedToPart = true
  604. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  605. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  606. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  607.  
  608. local Wing2 = Wing1:Clone()
  609. Wing2.Parent = Torso
  610. local x,y,z = 0,-1,-6
  611.  
  612. Wld = function(a,b,cf)
  613. local Weld = Instance.new('Weld',a)
  614. Weld.Part0 = a
  615. Weld.Part1 = b
  616. Weld.C1 = cf
  617. return Weld
  618. end
  619.  
  620. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
  621. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
  622.  
  623. print'Loaded'
  624.  
  625. game:service'RunService'.Stepped:connect(function()
  626. --z = 6+math.sin(tick()*2)
  627. y = -1+math.sin(tick()*Num)*Num2
  628. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  629. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  630. end)
  631.  
  632. ------------------------------------------------------------------------------------------------
  633. local Player = game:service'Players'.LocalPlayer
  634. local Character = Player.Character
  635. Torso = Character:WaitForChild'Torso'
  636.  
  637. local Wing1 = Instance.new("Part",Character)
  638. Wing1.FormFactor = Enum.FormFactor.Custom
  639. Wing1.Size = Vector3.new(.2, .2, .2)
  640. Wing1.Name = "WIng_1"
  641.  
  642. local fire = Instance.new("ParticleEmitter", Wing1)
  643. fire.VelocitySpread = 0
  644. fire.Lifetime = NumberRange.new(3.1)
  645. fire.Acceleration = Vector3.new(0, 4, 4)
  646. fire.RotSpeed = NumberRange.new(10)
  647. fire.Rate = Rate
  648. fire.Rotation = NumberRange.new(151515)
  649. fire.Name = "Fire"
  650. fire.LightEmission = 0.78
  651. fire.LockedToPart = true
  652. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  653. fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
  654. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  655.  
  656. local Wing2 = Wing1:Clone()
  657. Wing2.Parent = Torso
  658. local x,y,z = 0,-1,-6
  659.  
  660. Wld = function(a,b,cf)
  661. local Weld = Instance.new('Weld',a)
  662. Weld.Part0 = a
  663. Weld.Part1 = b
  664. Weld.C1 = cf
  665. return Weld
  666. end
  667.  
  668. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  669. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  670.  
  671. print'Loaded'
  672.  
  673. game:service'RunService'.Stepped:connect(function()
  674. --z = 6+math.sin(tick()*2)
  675. y = -1+math.sin(tick()*Num)*Num2
  676. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  677. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  678. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement