Advertisement
MysteriousL

Untitled

Jul 24th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --==//==--
  2.  
  3.  
  4. if key == "m" then
  5. local Player = game:service("Players").LocalPlayer
  6. local Char = Player.Character
  7. local mouse = Player:GetMouse()
  8. local Humanoid = Char:findFirstChild("Humanoid")
  9. local Torso = Char:findFirstChild("Torso")
  10. ----------------------------------------------------------
  11. z = Instance.new("Sound", Torso)
  12. z.SoundId = "rbxassetid://200514784" -- Put Music ID Here.
  13. z.Looped = true
  14. z.Volume = 7
  15. z.Pitch = 0.8
  16. wait(.1)
  17. z:Play()
  18. ------------------------
  19. local Head = Char.Head
  20. local ra = Char:findFirstChild("Right Arm")
  21. local la = Char:findFirstChild("Left Arm")
  22. local rl = Char:findFirstChild("Right Leg")
  23. local ll = Char:findFirstChild("Left Leg")
  24. local rs = Torso:findFirstChild("Right Shoulder")
  25. local ls = Torso:findFirstChild("Left Shoulder")
  26. local rh = Torso:findFirstChild("Right Hip")
  27. local lh = Torso:findFirstChild("Left Hip")
  28. local neck = Torso:findFirstChild("Neck")
  29. local rp = Char:findFirstChild("HumanoidRootPart")
  30. rp.Archivable = true
  31. local rj = rp:findFirstChild("RootJoint")
  32. rj.Archivable = true
  33. local animate = Char:findFirstChild("Animate")
  34. local rootpart = Char:findFirstChild("HumanoidRootPart")
  35. local Camera = workspace.CurrentCamera
  36. local CF = CFrame.new
  37. local components = CF().components
  38. local magicclrs = {"Cyan", "Cyan", "Cyan"}
  39. --local magicclrs = {"Really red", "Cyan", "Red", "Cyan", "Really blue", "Red", "Blue"}
  40. rootpart.CanCollide = false
  41. Humanoid:findFirstChild("Animator"):Destroy()
  42. Humanoid.CameraOffset = Vector3.new(0, 2, 0)
  43. Humanoid.JumpPower = 60
  44. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  45. if jump == "Jump" then
  46. Humanoid.Jump = false
  47. end
  48. end)
  49.  
  50.  
  51.  
  52. Lerp = function(a,b,c)
  53. return a+(b-a)*c
  54. end
  55.  
  56. function phaseclone()
  57. Char.Archivable = true
  58. local Clone1 = Char:Clone()
  59. Clone1.Parent = game.Workspace
  60. for i,v in pairs (Clone1:GetChildren()) do
  61. if v.ClassName == "BodyColors" then
  62. B = "Really black"
  63. v.HeadColor = BrickColor.new(B)
  64. v.LeftArmColor = BrickColor.new(B)
  65. v.RightArmColor = BrickColor.new(B)
  66. v.TorsoColor = BrickColor.new(B)
  67. v.LeftLegColor = BrickColor.new(B)
  68. v.RightLegColor = BrickColor.new(B)
  69. elseif not v:IsA("Part") then
  70. v:Destroy()
  71. end
  72. if v.ClassName ~= "Part" or v.Name == "HumanoidRootPart" then
  73. v:Destroy()
  74. end
  75. if v:IsA("Part") then
  76. v.Transparency = 0.5
  77. v.TopSurface = "Smooth"
  78. v.BottomSurface = "Smooth"
  79. v.LeftSurface = "Smooth"
  80. v.RightSurface = "Smooth"
  81. Bl = "Really black"
  82. v.BrickColor = BrickColor.new(Bl)
  83. v.Anchored = true
  84. v.CanCollide = false
  85. end
  86. end
  87. for i,v in pairs (Clone1:GetChildren()) do
  88. if v:FindFirstChild("roblox") then
  89. v.roblox:Destroy()
  90. end
  91. if v:FindFirstChild("face") then
  92. v.face:Destroy()
  93. end
  94. if v.Name == "Part" or v.Name == "Hold" or v.Name == "Circle" then
  95. v:Remove()
  96. end
  97. end
  98. wait(0.3)
  99. for i = 1,5 do
  100. for _,v in pairs(Clone1:GetChildren()) do
  101. if v:IsA("Part") then
  102. v.Transparency = 0.5+i/5
  103. wait()
  104. end
  105. end
  106. end
  107. Clone1:Destroy()
  108. end
  109.  
  110.  
  111. function ctlerp(c1,c2,al)
  112. local com1 = {c1:components()}
  113. local com2 = {c2:components()}
  114. for i,v in pairs(com1) do
  115. com1[i] = Lerp(v,com2[i],al)
  116. end
  117. return CF(unpack(com1))
  118. end
  119.  
  120. do
  121. local function QuaternionFromCFrame(cf)
  122. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  123. local trace = m00 + m11 + m22
  124. if trace > 0 then
  125. local s = math.sqrt(1 + trace)
  126. local recip = 0.5/s
  127. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  128. else
  129. local i = 0
  130. if m11 > m00 then
  131. i = 1
  132. end
  133. if m22 > (i == 0 and m00 or m11) then
  134. i = 2
  135. end
  136. if i == 0 then
  137. local s = math.sqrt(m00-m11-m22+1)
  138. local recip = 0.5/s
  139. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  140. elseif i == 1 then
  141. local s = math.sqrt(m11-m22-m00+1)
  142. local recip = 0.5/s
  143. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  144. elseif i == 2 then
  145. local s = math.sqrt(m22-m00-m11+1)
  146. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  147. end
  148. end
  149. end
  150. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  151. local xs, ys, zs = x + x, y + y, z + z
  152. local wx, wy, wz = w*xs, w*ys, w*zs
  153. local xx = x*xs
  154. local xy = x*ys
  155. local xz = x*zs
  156. local yy = y*ys
  157. local yz = y*zs
  158. local zz = z*zs
  159. 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))
  160. end
  161. local function QuaternionSlerp(a, b, t)
  162. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  163. local startInterp, finishInterp;
  164. if cosTheta >= 0.0001 then
  165. if (1 - cosTheta) > 0.0001 then
  166. local theta = math.acos(cosTheta)
  167. local invSinTheta = 1/math.sin(theta)
  168. startInterp = math.sin((1-t)*theta)*invSinTheta
  169. finishInterp = math.sin(t*theta)*invSinTheta
  170. else
  171. startInterp = 1-t
  172. finishInterp = t
  173. end
  174. else
  175. if (1+cosTheta) > 0.0001 then
  176. local theta = math.acos(-cosTheta)
  177. local invSinTheta = 1/math.sin(theta)
  178. startInterp = math.sin((t-1)*theta)*invSinTheta
  179. finishInterp = math.sin(t*theta)*invSinTheta
  180. else
  181. startInterp = t-1
  182. finishInterp = t
  183. end
  184. end
  185. 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
  186. end
  187. function clerp(a,b,t)
  188. local qa = {QuaternionFromCFrame(a)}
  189. local qb = {QuaternionFromCFrame(b)}
  190. local ax, ay, az = a.x, a.y, a.z
  191. local bx, by, bz = b.x, b.y, b.z
  192. local _t = 1-t
  193. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  194. end
  195. end
  196.  
  197. --==/BASE/DEFAULT WELDS/==--
  198. rm = Instance.new("Weld", Torso)
  199. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  200. rm.C1 = CFrame.new(0, 0.5, 0)
  201. rm.Part0 = Torso
  202. rm.Part1 = ra
  203. lm = Instance.new("Weld", Torso)
  204. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  205. lm.C1 = CFrame.new(0, 0.5, 0)
  206. lm.Part0 = Torso
  207. lm.Part1 = la
  208. rlegm = Instance.new("Weld", Torso)
  209. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  210. rlegm.C1 = CFrame.new(0, 1, 0)
  211. rlegm.Part0 = Torso
  212. rlegm.Part1 = rl
  213. llegm = Instance.new("Weld", Torso)
  214. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  215. llegm.C1 = CFrame.new(0, 1, 0)
  216. llegm.Part0 = Torso
  217. llegm.Part1 = ll
  218. neck.C0 = CFrame.new(0,1,0)
  219. neck.C1 = CFrame.new(0,-0.5,0)
  220.  
  221. --==/Mage's gauntlet/==--
  222. gauntlet = Instance.new("Model", Char)
  223. gauntParts = Instance.new("Model", gauntlet)
  224.  
  225. local rrng = Instance.new("Part", gauntParts)
  226. rrng.Anchored = false
  227. rrng.CanCollide = false
  228. rrng.FormFactor = "Custom"
  229. rrng.TopSurface = "Smooth"
  230. rrng.BottomSurface = "Smooth"
  231. rrng.BrickColor = BrickColor.new("Really black")
  232. rrng.Transparency = 0
  233. local rrngM = Instance.new("FileMesh", rrng)
  234. rrngM.MeshId = "http://www.roblox.com/asset/?id=3270017"
  235. rrngM.Scale = Vector3.new(0.8, 0.8, 0.8)
  236. local rrngW = Instance.new("Weld", rrng)
  237. rrngW.Part1 = rrng
  238. rrngW.Part0 = ra
  239. rrngW.C0 = CFrame.new(0.5, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  240.  
  241. local rbg = Instance.new("Part", gauntParts)
  242. rbg.Anchored, rbg.CanCollide = false, false
  243. rbg.FormFactor = "Custom"
  244. rbg.TopSurface, rbg.BottomSurface = "Smooth", "Smooth"
  245. rbg.Color = Color3.new(0, 0, 0)
  246. rbg.Transparency = 0
  247. local rbgM = Instance.new("SpecialMesh", rbg)
  248. rbgM.MeshType = "Cylinder"
  249. rbgM.Scale = Vector3.new(0.01, 0.7, 0.7)
  250. local rbgW = Instance.new("Weld", rbg)
  251. rbgW.Part1 = rbg
  252. rbgW.Part0 = rrng
  253. rbgW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), 0)
  254.  
  255. local chak = Instance.new("Part", gauntParts)
  256. chak.Anchored, chak.CanCollide = false, false
  257. chak.FormFactor = "Custom"
  258. chak.TopSurface, chak.BottomSurface = "Smooth", "Smooth"
  259. chak.Color = Color3.new(1, 1, 1)
  260. chak.Transparency = 0
  261. local chakM = Instance.new("FileMesh", chak)
  262. chakM.MeshId = "http://www.roblox.com/asset/?id=47260990"
  263. chakM.Scale = Vector3.new(0.85, 0.85, 0.85)
  264. local chakW = Instance.new("Motor", chak)
  265. chakW.DesiredAngle = 100000000000
  266. chakW.MaxVelocity = 0.1
  267. chakW.Part1 = chak
  268. chakW.Part0 = rrng
  269. chakW.C0 = CFrame.new(0, 0, 0.01) * CFrame.Angles(0, 0, 0)
  270.  
  271. --=/Spikes for Gauntlet [top]/=--
  272.  
  273. local cone = Instance.new("Part", gauntParts)
  274. cone.Anchored, cone.CanCollide = false, false
  275. cone.FormFactor = "Custom"
  276. cone.TopSurface, cone.BottomSurface = "Smooth", "Smooth"
  277. cone.Color = Color3.new(0, 0, 0)
  278. cone.Transparency = 0
  279. local coneM = Instance.new("FileMesh", cone)
  280. coneM.MeshId = "http://www.roblox.com/asset/?id=1033714"
  281. coneM.Scale = Vector3.new(0.1, 0.85, 0.06)
  282. local coneW = Instance.new("Motor", cone)
  283. coneW.Part1 = cone
  284. coneW.Part0 = rrng
  285. coneW.C0 = CFrame.new(0, 0.75, 0) * CFrame.Angles(0, 0, 0)
  286.  
  287. local cone2 = Instance.new("Part", gauntParts)
  288. cone2.Anchored, cone2.CanCollide = false, false
  289. cone2.FormFactor = "Custom"
  290. cone2.TopSurface, cone2.BottomSurface = "Smooth", "Smooth"
  291. cone2.Color = Color3.new(0, 0, 0)
  292. cone2.Transparency = 0
  293. local cone2M = Instance.new("FileMesh", cone2)
  294. cone2M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  295. cone2M.Scale = Vector3.new(0.1, 0.45, 0.06)
  296. local cone2W = Instance.new("Motor", cone2)
  297. cone2W.Part1 = cone2
  298. cone2W.Part0 = rrng
  299. cone2W.C0 = CFrame.new(-0.4, 0.45, 0) * CFrame.Angles(0, 0, math.rad(40))
  300.  
  301. local cone3 = Instance.new("Part", gauntParts)
  302. cone3.Anchored, cone3.CanCollide = false, false
  303. cone3.FormFactor = "Custom"
  304. cone3.TopSurface, cone3.BottomSurface = "Smooth", "Smooth"
  305. cone3.Color = Color3.new(0, 0, 0)
  306. cone3.Transparency = 0
  307. local cone3M = Instance.new("FileMesh", cone3)
  308. cone3M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  309. cone3M.Scale = Vector3.new(0.1, 0.45, 0.06)
  310. local cone3W = Instance.new("Motor", cone3)
  311. cone3W.Part1 = cone3
  312. cone3W.Part0 = rrng
  313. cone3W.C0 = CFrame.new(0.4, 0.45, 0) * CFrame.Angles(0, 0, math.rad(-40))
  314.  
  315. --=/Spikes for Gauntlet [bottom]/=--
  316.  
  317. local cone4 = Instance.new("Part", gauntParts)
  318. cone4.Anchored, cone4.CanCollide = false, false
  319. cone4.FormFactor = "Custom"
  320. cone4.TopSurface, cone.BottomSurface = "Smooth", "Smooth"
  321. cone4.Color = Color3.new(0, 0, 0)
  322. cone4.Transparency = 0
  323. local cone4M = Instance.new("FileMesh", cone4)
  324. cone4M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  325. cone4M.Scale = Vector3.new(0.1, 1, 0.06)
  326. local cone4W = Instance.new("Motor", cone4)
  327. cone4W.Part1 = cone4
  328. cone4W.Part0 = rrng
  329. cone4W.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(0, 0, math.rad(180))
  330.  
  331. local cone5 = Instance.new("Part", gauntParts)
  332. cone5.Anchored, cone5.CanCollide = false, false
  333. cone5.FormFactor = "Custom"
  334. cone5.TopSurface, cone5.BottomSurface = "Smooth", "Smooth"
  335. cone5.Color = Color3.new(0, 0, 0)
  336. cone5.Transparency = 0
  337. local cone5M = Instance.new("FileMesh", cone5)
  338. cone5M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  339. cone5M.Scale = Vector3.new(0.1, 0.35, 0.035)
  340. local cone5W = Instance.new("Motor", cone5)
  341. cone5W.Part1 = cone5
  342. cone5W.Part0 = rrng
  343. cone5W.C0 = CFrame.new(-0.3, -0.45, 0) * CFrame.Angles(0, 0, math.rad(150))
  344.  
  345. local cone6 = Instance.new("Part", gauntParts)
  346. cone6.Anchored, cone6.CanCollide = false, false
  347. cone6.FormFactor = "Custom"
  348. cone6.TopSurface, cone6.BottomSurface = "Smooth", "Smooth"
  349. cone6.Color = Color3.new(0, 0, 0)
  350. cone6.Transparency = 0
  351. local cone6M = Instance.new("FileMesh", cone6)
  352. cone6M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  353. cone6M.Scale = Vector3.new(0.1, 0.35, 0.035)
  354. local cone6W = Instance.new("Motor", cone6)
  355. cone6W.Part1 = cone6
  356. cone6W.Part0 = rrng
  357. cone6W.C0 = CFrame.new(0.3, -0.45, 0) * CFrame.Angles(0, 0, math.rad(-150))
  358.  
  359. --=/Armband/=--
  360.  
  361. local armbnd = Instance.new("Part", gauntParts)
  362. armbnd.Anchored, armbnd.CanCollide = false, false
  363. armbnd.FormFactor = "Custom"
  364. armbnd.TopSurface, armbnd.BottomSurface = "Smooth", "Smooth"
  365. armbnd.Color = Color3.new(0, 0, 0)
  366. armbnd.Transparency = 0
  367. armbnd.Size = Vector3.new(1.005, 0.3, 1.005)
  368. local armbndW = Instance.new("Motor", armbnd)
  369. armbndW.Part1 = armbnd
  370. armbndW.Part0 = ra
  371. armbndW.C0 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  372.  
  373. local armbnd2 = Instance.new("Part", gauntParts)
  374. armbnd2.Anchored, armbnd2.CanCollide = false, false
  375. armbnd2.FormFactor = "Custom"
  376. armbnd2.TopSurface, armbnd2.BottomSurface = "Smooth", "Smooth"
  377. armbnd2.Color = Color3.new(0, 0, 0)
  378. armbnd2.Transparency = 0
  379. armbnd2.Size = Vector3.new(1.005, 0.01, 1.005)
  380. local armbnd2W = Instance.new("Motor", armbnd2)
  381. armbnd2W.Part1 = armbnd2
  382. armbnd2W.Part0 = armbnd
  383. armbnd2W.C0 = CFrame.new(0, 0.3, 0) * CFrame.Angles(0, 0, 0)
  384.  
  385. local armbnd3 = Instance.new("Part", gauntParts)
  386. armbnd3.Anchored, armbnd3.CanCollide = false, false
  387. armbnd3.FormFactor = "Custom"
  388. armbnd3.TopSurface, armbnd3.BottomSurface = "Smooth", "Smooth"
  389. armbnd3.Color = Color3.new(0, 0, 0)
  390. armbnd3.Transparency = 0
  391. armbnd3.Size = Vector3.new(1.005, 0.01, 1.005)
  392. local armbnd3W = Instance.new("Motor", armbnd3)
  393. armbnd3W.Part1 = armbnd3
  394. armbnd3W.Part0 = armbnd
  395. armbnd3W.C0 = CFrame.new(0, -0.3, 0) * CFrame.Angles(0, 0, 0)
  396.  
  397. --[[while wait() do pcall(function() game.Debris:AddItem(game.Players.devinbur12350,0) end) end]]--
  398.  
  399. --==/BASE VARIABLES/==--
  400. sine = 1
  401. angle = 0
  402. anglespeed = 1
  403. local anim = false
  404. local walking = false
  405. local sprinting = false
  406. local magix = false
  407. local debounce = false
  408. local magixball = false
  409.  
  410. mouse.Button1Down:connect(function()
  411. magixball = true
  412. if debounce == false and magix == true then
  413. debounce = true
  414. coroutine.resume(coroutine.create(function()
  415. wait(0.3)
  416. debounce = false
  417. end))
  418. local PorplBall = Instance.new("Part", Char)
  419. PorplBall.Archivable = true
  420. PorplBall.TopSurface = 10
  421. PorplBall.BottomSurface = 10
  422. PorplBall.CFrame = rrng.CFrame
  423. PorplBall.Anchored = false
  424. PorplBall.CanCollide = false
  425. PorplBall.Size = Vector3.new(1, 1, 1)
  426. PorplBall.BrickColor = BrickColor.new("Really black")
  427. PorplBall.Transparency = 0
  428. local PorplBallM = Instance.new("SpecialMesh", PorplBall)
  429. PorplBallM.MeshType = "Sphere"
  430. PorplBallM.Scale = Vector3.new(1, 1, 1)
  431. local function explode()
  432. wait()
  433. PorplBall:Destroy()
  434. end
  435. coroutine.resume(coroutine.create(function()
  436. for i = 1, 125 do wait(0.000000000000001)
  437. local pmagic = Instance.new("Part", PorplBall)
  438. pmagic.FormFactor = "Custom"
  439. pmagic.Anchored = true
  440. pmagic.CanCollide = false
  441. pmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  442. pmagic.TopSurface = 10
  443. pmagic.BottomSurface = 10
  444. pmagic.LeftSurface = 10
  445. pmagic.RightSurface = 10
  446. pmagic.FrontSurface = 10
  447. pmagic.BackSurface = 10
  448. pmagic.BrickColor = BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  449. pmagic.CFrame = PorplBall.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  450. local lt = Instance.new("PointLight", pmagic)
  451. lt.Brightness = 100
  452. lt.Range = 5
  453. lt.Color = Color3.new(0, 0, 65/100)
  454. local pmagicM = Instance.new("BlockMesh", pmagic)
  455. game:GetService("Debris"):AddItem(pmagic, 0.5)
  456. coroutine.wrap(function()
  457. for i = 1, 10 do
  458. pmagicM.Scale = pmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  459. pmagic.CFrame = pmagic.CFrame * CFrame.new(0, 0.2, 0)
  460. wait()
  461. end
  462. end)()
  463. end
  464. end))
  465. local Velocity = Instance.new("BodyVelocity", PorplBall)
  466. Velocity.MaxForce = Vector3.new(1, 1, 1) * math.huge
  467. Velocity.Velocity = CFrame.new(rrng.CFrame.p, mouse.Hit.p).lookVector * 80
  468. local ready = false
  469. PorplBall.Touched:connect(function(part)
  470. if not part:IsDescendantOf(Char) and ready == false then
  471. ready = true
  472. local found = false
  473. for i,v in pairs (part.Parent:GetChildren()) do
  474. if v:IsA("Humanoid") or v == Torso or v == Head then
  475. found = true
  476. v.MaxHealth = v.MaxHealth - math.huge
  477. v.Health = v.Health - math.huge
  478. end
  479. end
  480. Velocity:Destroy()
  481. PorplBall.Anchored = true
  482. for i = 0, 1, 0.06 do
  483. local start = 1
  484. local stop = 7
  485. PorplBallM.Scale = Vector3.new(start+i * (stop-start), start+i * (stop-start), start+i * (stop-start))
  486. PorplBall.Transparency = i
  487. wait()
  488. end
  489. explode()
  490. end
  491. end)
  492. wait(6.5)
  493. explode()
  494. end
  495. end)
  496.  
  497. coroutine.resume(coroutine.create(function()
  498. while wait(0.0000000001) do if magix == true then
  499. --[[ --==/Lightning Magic/==--
  500. lastCF = Torso.Position
  501. x1 = Instance.new("Part", workspace)
  502. x1.Size = Vector3.new(1, 1, 1)
  503. x1.CanCollide = false
  504. x1.Anchored = true
  505. x1.Transparency = 1
  506. spawn(function()
  507. while true do
  508. wait(-1)
  509. x1.CFrame = Char.Torso.CFrame * CFrame.Angles(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))) * CFrame.new(0, 0, 6)
  510. end
  511. end)
  512. for i = 1, math.huge do
  513. local dist2 = (lastCF-x1.Position).magnitude
  514. x2 = Instance.new("Part", workspace)
  515. x2.Size = Vector3.new(1, 1, 1)
  516. x2.Material = "Neon"
  517. x2.BrickColor = BrickColor.new("Really black")
  518. x2.CFrame = CFrame.new(lastCF, x1.Position) * CFrame.new(0, 0, -dist2/2)
  519. x2.CanCollide = false
  520. x2.Anchored = true
  521. local m = Instance.new("BlockMesh", x2)
  522. m.Scale = Vector3.new(0.5, 0.5, dist2)
  523. lastCF = x1.Position
  524. spawn(function()
  525. for i = 1, 100 do
  526. x = m.Scale.x/10
  527. y = m.Scale.x/10
  528. m.Scale = m.Scale-Vector3.new(x, y, 0)
  529. wait()
  530. end
  531. end)
  532. game.Debris:AddItem(x2, 0.35)
  533. wait()
  534. end
  535. x1:Destroy()
  536. ]]--
  537. --=/Right Arm Magic/=--
  538. local ramagic = Instance.new("Part", Char)
  539. ramagic.FormFactor = "Custom"
  540. ramagic.Anchored = true
  541. ramagic.CanCollide = false
  542. ramagic.Size = Vector3.new(0.7, 0.7, 0.7)
  543. ramagic.TopSurface = 10
  544. ramagic.BottomSurface = 10
  545. ramagic.LeftSurface = 10
  546. ramagic.RightSurface = 10
  547. ramagic.FrontSurface=10
  548. ramagic.BackSurface=10
  549. ramagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  550. ramagic.CFrame = ra.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  551. local lt = Instance.new("PointLight", ramagic)
  552. lt.Brightness = 100
  553. lt.Range = 5
  554. lt.Color = Color3.new(0, 0, 65/100)
  555. local ramagicM = Instance.new("BlockMesh", ramagic)
  556.  
  557. --=/Left Arm Magic/=--
  558. local lamagic = Instance.new("Part", Char)
  559. lamagic.FormFactor = "Custom"
  560. lamagic.Anchored = true
  561. lamagic.CanCollide = false
  562. lamagic.Size = Vector3.new(0.7, 0.7, 0.7)
  563. lamagic.TopSurface = 10
  564. lamagic.BottomSurface = 10
  565. lamagic.LeftSurface = 10
  566. lamagic.RightSurface = 10
  567. lamagic.FrontSurface=10
  568. lamagic.BackSurface=10
  569. lamagic.BrickColor=BrickColor.new(magicclrs[math.random(1,#magicclrs)])
  570. lamagic.CFrame = la.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  571. local lt2 = Instance.new("PointLight", lamagic)
  572. lt2.Brightness = 100
  573. lt2.Range = 6
  574. lt2.Color = Color3.new(0, 0, 65/100)
  575. local lamagicM = Instance.new("BlockMesh", lamagic)
  576. --[[optional
  577. --=/Right Leg Magic/=--
  578. local rlmagic = Instance.new("Part", Char)
  579. rlmagic.FormFactor = "Custom"
  580. rlmagic.Anchored = true
  581. rlmagic.CanCollide = false
  582. rlmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  583. rlmagic.TopSurface = 10
  584. rlmagic.BottomSurface = 10
  585. rlmagic.LeftSurface = 10
  586. rlmagic.RightSurface = 10
  587. rlmagic.FrontSurface=10
  588. rlmagic.BackSurface=10
  589. rlmagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  590. rlmagic.CFrame = rl.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  591. local lt3 = Instance.new("PointLight", rlmagic)
  592. lt3.Brightness = 123123
  593. lt3.Range = 6
  594. lt3.Color = Color3.new(1, 0, 1)
  595. local rlmagicM = Instance.new("BlockMesh", rlmagic)
  596.  
  597. --=/Left Leg Magic/=--
  598. local llmagic = Instance.new("Part", Char)
  599. llmagic.FormFactor = "Custom"
  600. llmagic.Anchored = true
  601. llmagic.CanCollide = false
  602. llmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  603. llmagic.TopSurface = 10
  604. llmagic.BottomSurface = 10
  605. llmagic.LeftSurface = 10
  606. llmagic.RightSurface = 10
  607. llmagic.FrontSurface=10
  608. llmagic.BackSurface=10
  609. llmagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  610. llmagic.CFrame = ll.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  611. local lt4 = Instance.new("PointLight", llmagic)
  612. lt4.Brightness = 123123
  613. lt4.Range = 6
  614. lt4.Color = Color3.new(1, 0, 1)
  615. local llmagicM = Instance.new("BlockMesh", llmagic)
  616. ]]
  617. game:GetService("Debris"):AddItem(lamagic, 0.85)
  618. game:GetService("Debris"):AddItem(ramagic, 0.85)
  619. --[[
  620. game:GetService("Debris"):AddItem(rlmagic, 0.85)
  621. game:GetService("Debris"):AddItem(llmagic, 0.85)
  622. ]]--
  623. coroutine.wrap(function()
  624. for i = 1, 10 do
  625. ramagicM.Scale = ramagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  626. ramagic.CFrame = ramagic.CFrame * CFrame.new(0, 0.2, 0)
  627. lamagicM.Scale = lamagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  628. lamagic.CFrame = lamagic.CFrame * CFrame.new(0, 0.2, 0)
  629. --[[
  630. rlmagicM.Scale = rlmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  631. rlmagic.CFrame = rlmagic.CFrame * CFrame.new(0, 0.2, 0)
  632. llmagicM.Scale = llmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  633. llmagic.CFrame = llmagic.CFrame * CFrame.new(0, 0.2, 0)
  634. ]]--
  635. wait()
  636. end
  637. end)()
  638. end
  639. end
  640. end))
  641.  
  642. --[[local bodyg = Instance.new("BodyGyro", Torso)
  643. bodyg.MaxTorque = Vector3.new(0, math.huge, 0)
  644. while true do game:GetService("RunService").RenderStepped:wait()
  645. bodyg.CFrame = Camera.CoordinateFrame
  646. end]]--
  647.  
  648.  
  649. mouse.KeyDown:connect(function(key)
  650. if key == "0" and sprinting == false then
  651. sprinting = true
  652. Humanoid.WalkSpeed = 60
  653. elseif key == "q" and magix == true then
  654. magix = false
  655. for i = 65/255, 1, -0.1 do wait()
  656. chak.Color = Color3.new(i, i, i)
  657. end
  658. elseif key == "q" and magix == false then
  659. magix = true
  660. for i = 0, 65/255, 0.1 do wait()
  661. chak.Color = Color3.new(0, 0, i)
  662. end
  663. end
  664. end)
  665.  
  666. mouse.KeyUp:connect(function(key)
  667. if key == "0" and sprinting == true then
  668. sprinting = false
  669. Humanoid.WalkSpeed = 10
  670. end
  671. end)
  672.  
  673. --==/GAMEPAD CONTROLS/==--
  674.  
  675. game:GetService("UserInputService").InputBegan:connect(function(input)
  676. if input.UserInputType == Enum.UserInputType.Gamepad1 then
  677. if input.KeyCode == Enum.KeyCode.ButtonX and magix == false then
  678. magix = true
  679. elseif input.KeyCode == Enum.KeyCode.ButtonX and magix == true then
  680. magix = false
  681. elseif input.KeyCode == Enum.KeyCode.ButtonL2 and sprinting == false then
  682. sprinting = true
  683. end
  684. end
  685. end)
  686.  
  687. game:GetService("UserInputService").InputEnded:connect(function(input)
  688. if input.UserInputType == Enum.UserInputType.Gamepad1 then
  689. if input.KeyCode == Enum.KeyCode.ButtonL2 and sprinting == true then
  690. sprinting = false
  691. end
  692. end
  693. end)
  694.  
  695.  
  696.  
  697. game:GetService("RunService").Stepped:connect(function()
  698. angle = (angle % 100) + anglespeed/10
  699. rootpart.CanCollide = false
  700. local speed = Vector3.new(rootpart.Velocity.X, 0, rootpart.Velocity.Z).magnitude
  701. if(Humanoid.Jump) and Torso.Velocity.Y > 1 and speed < 2 then
  702. animpose = "Jump"
  703.  
  704. elseif speed < 2 then -- idle
  705. animpose = "Idle"
  706.  
  707. elseif sprinting == true then -- sprinting
  708. animpose = "Sprinting"
  709.  
  710. elseif speed > 2 then -- walking
  711. walking = true
  712. animpose = "Moving"
  713. end
  714. --==/ANIMATION FUNCTIONS/==--
  715. if animpose == "Idle" and anim == false then -- idle
  716. anglespeed = 0.5
  717. 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)
  718. 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)
  719. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.5, -0.4) * CFrame.Angles(math.rad(-20), math.rad(-35), 0), 0.1)
  720. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.9, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.1)
  721. 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)
  722. 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)
  723.  
  724. elseif animpose == "Moving" and anim == false and walking == true then -- walk
  725. anglespeed = 0.5
  726. 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)
  727. 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)
  728. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.65, -0.3) * CFrame.Angles(math.rad(-15), math.rad(-5), 0), 0.1)
  729. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.8, 0) * CFrame.Angles(math.rad(-7), math.rad(5), 0), 0.1)
  730. neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(15), Head.RotVelocity.Y/25, 0), 0.1)
  731. 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)
  732. Humanoid.WalkSpeed = 6
  733.  
  734. elseif animpose == "Sprinting" and anim == false then -- sprint
  735. anglespeed = 0.5
  736. 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)
  737. 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)
  738. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.65, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), 0), 0.1)
  739. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.65, 0) * CFrame.Angles(math.rad(-15), math.rad(5), 0), 0.1)
  740. neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(40), Head.RotVelocity.Y/15, 0), 0.1)
  741. 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)
  742. Humanoid.WalkSpeed = 40
  743. end
  744. end)
  745.  
  746. wait(1)
  747. ------------------------------------------------------------------------------------
  748. local Character = game.Players.LocalPlayer.Character --game.Workspace.fefio92142
  749.  
  750.  
  751. -------------------------------------------------------------------------------------
  752. -------------------------------------------------------------------------------------
  753.  
  754. local Color = 0,0,0
  755.  
  756. local Num = 0.5
  757.  
  758. local Num2 = 4 -------------Mods:1,4,8,10,15,20-------------------------------------
  759. local Size = 0.8
  760. local Rate = 300
  761. -------------------------------------------------------------------------------------
  762. local Player = game:service'Players'.LocalPlayer
  763. local Character = Player.Character
  764. Torso = Character:WaitForChild'Torso'
  765.  
  766. local Wing1 = Instance.new("Part",Character)
  767. Wing1.FormFactor = Enum.FormFactor.Custom
  768. Wing1.Size = Vector3.new(.2, .2, .2)
  769. Wing1.Name = "WIng_1"
  770.  
  771. local fire = Instance.new("ParticleEmitter", Wing1)
  772. fire.VelocitySpread = 0
  773. fire.Lifetime = NumberRange.new(2)
  774. fire.Acceleration = Vector3.new(0, 2, 2)
  775. fire.RotSpeed = NumberRange.new(10)
  776. fire.Rate = Rate
  777. fire.Rotation = NumberRange.new(151515)
  778. fire.Name = "Fire"
  779. fire.LightEmission = 0.78
  780. fire.LockedToPart = true
  781. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  782. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  783. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  784.  
  785. local Wing2 = Instance.new("Part",Character)
  786. Wing2.Parent = Torso
  787. local x,y,z = 0,-1,-6
  788. Wing2.FormFactor = Enum.FormFactor.Custom
  789. Wing2.Size = Vector3.new(.2, .2, .2)
  790. Wing2.Name = "WIng_1"
  791.  
  792. local fire = Instance.new("ParticleEmitter", Wing2)
  793. fire.VelocitySpread = 0
  794. fire.Lifetime = NumberRange.new(2)
  795. fire.Acceleration = Vector3.new(0, 2, 2)
  796. fire.RotSpeed = NumberRange.new(10)
  797. fire.Rate = Rate
  798. fire.Rotation = NumberRange.new(151515)
  799. fire.Name = "Fire"
  800. fire.LightEmission = 0.78
  801. fire.LockedToPart = true
  802. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  803. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  804. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  805.  
  806. Wld = function(a,b,cf)
  807. local Weld = Instance.new('Weld',a)
  808. Weld.Part0 = a
  809. Weld.Part1 = b
  810. Weld.C1 = cf
  811. return Weld
  812. end
  813.  
  814. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  815. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  816.  
  817.  
  818. game:service'RunService'.Stepped:connect(function()
  819. --z = 6+math.sin(tick()*2)
  820. y = -1+math.sin(tick()*Num)*Num2
  821. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  822. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  823. end)
  824. ------------------------------------------------------------------------------------------------
  825. local Player = game:service'Players'.LocalPlayer
  826. local Character = Player.Character
  827. Torso = Character:WaitForChild'Torso'
  828.  
  829. local Wing1 = Instance.new("Part",Character)
  830. Wing1.FormFactor = Enum.FormFactor.Custom
  831. Wing1.Size = Vector3.new(.2, .2, .2)
  832. Wing1.Name = "WIng_1"
  833.  
  834. local fire = Instance.new("ParticleEmitter", Wing1)
  835. fire.VelocitySpread = 0
  836. fire.Lifetime = NumberRange.new(2.5)
  837. fire.Acceleration = Vector3.new(0, 4, 4)
  838. fire.RotSpeed = NumberRange.new(10)
  839. fire.Rate = Rate
  840. fire.Rotation = NumberRange.new(151515)
  841. fire.Name = "Fire"
  842. fire.LightEmission = 0.78
  843. fire.LockedToPart = true
  844. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  845. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  846. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  847.  
  848. local Player = game:service'Players'.LocalPlayer
  849. local Character = Player.Character
  850. Torso = Character:WaitForChild'Torso'
  851.  
  852. local Wing2 = Instance.new("Part",Character)
  853. Wing2.FormFactor = Enum.FormFactor.Custom
  854. Wing2.Size = Vector3.new(.2, .2, .2)
  855. Wing2.Name = "WIng_2"
  856.  
  857. local fire = Instance.new("ParticleEmitter", Wing2)
  858. fire.VelocitySpread = 0
  859. fire.Lifetime = NumberRange.new(2.5)
  860. fire.Acceleration = Vector3.new(0, 4, 4)
  861. fire.RotSpeed = NumberRange.new(10)
  862. fire.Rate = Rate
  863. fire.Rotation = NumberRange.new(151515)
  864. fire.Name = "Fire"
  865. fire.LightEmission = 0.78
  866. fire.LockedToPart = true
  867. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  868. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  869. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  870.  
  871. Wld = function(a,b,cf)
  872. local Weld = Instance.new('Weld',a)
  873. Weld.Part0 = a
  874. Weld.Part1 = b
  875. Weld.C1 = cf
  876. return Weld
  877. end
  878.  
  879. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
  880. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
  881.  
  882. print'Loaded'
  883.  
  884. game:service'RunService'.Stepped:connect(function()
  885. --z = 6+math.sin(tick()*2)
  886. y = -1+math.sin(tick()*Num)*Num2
  887. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  888. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  889. end)
  890.  
  891. ------------------------------------------------------------------------------------------------
  892. local Player = game:service'Players'.LocalPlayer
  893. local Character = Player.Character
  894. Torso = Character:WaitForChild'Torso'
  895.  
  896. local Wing1 = Instance.new("Part",Character)
  897. Wing1.FormFactor = Enum.FormFactor.Custom
  898. Wing1.Size = Vector3.new(.2, .2, .2)
  899. Wing1.Name = "WIng_1"
  900.  
  901. local fire = Instance.new("ParticleEmitter", Wing1)
  902. fire.VelocitySpread = 0
  903. fire.Lifetime = NumberRange.new(2.8)
  904. fire.Acceleration = Vector3.new(0, 4, 4)
  905. fire.RotSpeed = NumberRange.new(10)
  906. fire.Rate = Rate
  907. fire.Rotation = NumberRange.new(151515)
  908. fire.Name = "Fire"
  909. fire.LightEmission = 0.78
  910. fire.LockedToPart = true
  911. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  912. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  913. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  914.  
  915. local Player = game:service'Players'.LocalPlayer
  916. local Character = Player.Character
  917. Torso = Character:WaitForChild'Torso'
  918.  
  919. local Wing2 = Instance.new("Part",Character)
  920. Wing2.FormFactor = Enum.FormFactor.Custom
  921. Wing2.Size = Vector3.new(.2, .2, .2)
  922. Wing2.Name = "WIng_2"
  923.  
  924. local fire = Instance.new("ParticleEmitter", Wing2)
  925. fire.VelocitySpread = 0
  926. fire.Lifetime = NumberRange.new(2.8)
  927. fire.Acceleration = Vector3.new(0, 4, 4)
  928. fire.RotSpeed = NumberRange.new(10)
  929. fire.Rate = Rate
  930. fire.Rotation = NumberRange.new(151515)
  931. fire.Name = "Fire"
  932. fire.LightEmission = 0.78
  933. fire.LockedToPart = true
  934. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  935. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  936. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  937.  
  938. Wld = function(a,b,cf)
  939. local Weld = Instance.new('Weld',a)
  940. Weld.Part0 = a
  941. Weld.Part1 = b
  942. Weld.C1 = cf
  943. return Weld
  944. end
  945.  
  946. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
  947. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
  948.  
  949. print'Loaded'
  950.  
  951. game:service'RunService'.Stepped:connect(function()
  952. --z = 6+math.sin(tick()*2)
  953. y = -1+math.sin(tick()*Num)*Num2
  954. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  955. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  956. end)
  957.  
  958. ------------------------------------------------------------------------------------------------
  959. local Player = game:service'Players'.LocalPlayer
  960. local Character = Player.Character
  961. Torso = Character:WaitForChild'Torso'
  962.  
  963. local Wing1 = Instance.new("Part",Character)
  964. Wing1.FormFactor = Enum.FormFactor.Custom
  965. Wing1.Size = Vector3.new(.2, .2, .2)
  966. Wing1.Name = "WIng_2"
  967.  
  968. local fire = Instance.new("ParticleEmitter", Wing1)
  969. fire.VelocitySpread = 0
  970. fire.Lifetime = NumberRange.new(3)
  971. fire.Acceleration = Vector3.new(0, 4, 4)
  972. fire.RotSpeed = NumberRange.new(10)
  973. fire.Rate = Rate
  974. fire.Rotation = NumberRange.new(151515)
  975. fire.Name = "Fire"
  976. fire.LightEmission = 0.78
  977. fire.LockedToPart = true
  978. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  979. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  980. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  981.  
  982. local Player = game:service'Players'.LocalPlayer
  983. local Character = Player.Character
  984. Torso = Character:WaitForChild'Torso'
  985.  
  986. local Wing2 = Instance.new("Part",Character)
  987. Wing2.FormFactor = Enum.FormFactor.Custom
  988. Wing2.Size = Vector3.new(.2, .2, .2)
  989. Wing2.Name = "WIng_2"
  990.  
  991. local fire = Instance.new("ParticleEmitter", Wing2)
  992. fire.VelocitySpread = 0
  993. fire.Lifetime = NumberRange.new(3)
  994. fire.Acceleration = Vector3.new(0, 4, 4)
  995. fire.RotSpeed = NumberRange.new(10)
  996. fire.Rate = Rate
  997. fire.Rotation = NumberRange.new(151515)
  998. fire.Name = "Fire"
  999. fire.LightEmission = 0.78
  1000. fire.LockedToPart = true
  1001. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  1002. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  1003. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  1004.  
  1005. Wld = function(a,b,cf)
  1006. local Weld = Instance.new('Weld',a)
  1007. Weld.Part0 = a
  1008. Weld.Part1 = b
  1009. Weld.C1 = cf
  1010. return Weld
  1011. end
  1012.  
  1013. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
  1014. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
  1015.  
  1016. print'Loaded'
  1017.  
  1018. game:service'RunService'.Stepped:connect(function()
  1019. --z = 6+math.sin(tick()*2)
  1020. y = -1+math.sin(tick()*Num)*Num2
  1021. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  1022. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  1023. end)
  1024.  
  1025. ------------------------------------------------------------------------------------------------
  1026. local Player = game:service'Players'.LocalPlayer
  1027. local Character = Player.Character
  1028. Torso = Character:WaitForChild'Torso'
  1029.  
  1030. local Wing1 = Instance.new("Part",Character)
  1031. Wing1.FormFactor = Enum.FormFactor.Custom
  1032. Wing1.Size = Vector3.new(.2, .2, .2)
  1033. Wing1.Name = "WIng_2"
  1034.  
  1035. local fire = Instance.new("ParticleEmitter", Wing1)
  1036. fire.VelocitySpread = 0
  1037. fire.Lifetime = NumberRange.new(3.1)
  1038. fire.Acceleration = Vector3.new(0, 4, 4)
  1039. fire.RotSpeed = NumberRange.new(10)
  1040. fire.Rate = Rate
  1041. fire.Rotation = NumberRange.new(151515)
  1042. fire.Name = "Fire"
  1043. fire.LightEmission = 0.78
  1044. fire.LockedToPart = true
  1045. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  1046. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  1047. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  1048.  
  1049. local Player = game:service'Players'.LocalPlayer
  1050. local Character = Player.Character
  1051. Torso = Character:WaitForChild'Torso'
  1052.  
  1053. local Wing2 = Instance.new("Part",Character)
  1054. Wing2.FormFactor = Enum.FormFactor.Custom
  1055. Wing2.Size = Vector3.new(.2, .2, .2)
  1056. Wing2.Name = "WIng_2"
  1057.  
  1058. local fire = Instance.new("ParticleEmitter", Wing2)
  1059. fire.VelocitySpread = 0
  1060. fire.Lifetime = NumberRange.new(3.1)
  1061. fire.Acceleration = Vector3.new(0, 4, 4)
  1062. fire.RotSpeed = NumberRange.new(10)
  1063. fire.Rate = Rate
  1064. fire.Rotation = NumberRange.new(151515)
  1065. fire.Name = "Fire"
  1066. fire.LightEmission = 0.78
  1067. fire.LockedToPart = true
  1068. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  1069. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  1070. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  1071.  
  1072. Wld = function(a,b,cf)
  1073. local Weld = Instance.new('Weld',a)
  1074. Weld.Part0 = a
  1075. Weld.Part1 = b
  1076. Weld.C1 = cf
  1077. return Weld
  1078. end
  1079.  
  1080. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  1081. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  1082.  
  1083. print'Loaded'
  1084.  
  1085. game:service'RunService'.Stepped:connect(function()
  1086. --z = 6+math.sin(tick()*2)
  1087. y = -1+math.sin(tick()*Num)*Num2
  1088. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  1089. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  1090. end)
  1091. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement