Advertisement
ItzInfern

huge dark wings

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