Advertisement
MysteriousL

GhostWings2

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