Advertisement
MysteriousL

FelWiTest5

Jul 22nd, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 108.33 KB | None | 0 0
  1. --[[Name:The Jully Of Death]]--
  2. --[[Create:KingAbsalom]]--
  3. --[[Edit:Skrubl0rdzI]]--
  4. local p = game.Players.LocalPlayer
  5. local char = p.Character
  6. local mouse = p:GetMouse()
  7. local larm = char["Left Arm"]
  8. local rarm = char["Right Arm"]
  9. local lleg = char["Left Leg"]
  10. local rleg = char["Right Leg"]
  11. local hed = char.Head
  12. local torso = char.Torso
  13. local hum = char.Humanoid
  14. local cam = game.Workspace.CurrentCamera
  15. local root = char.HumanoidRootPart
  16. local rj = root.RootJoint
  17. local deb = false
  18. local shot = 0
  19. local stanceToggle = "Idle1"
  20. local l = game:GetService("Lighting")
  21. local rs = game:GetService("RunService").RenderStepped
  22. local hb = game:GetService("RunService").Heartbeat
  23. local Stepped = game:GetService("RunService").Stepped
  24. TorsoColor = torso.BrickColor
  25. hed.face:Destroy()
  26. local glowz = Instance.new("Fire",torso)
  27. glowz.Size = 15
  28. glowz.Heat = 0
  29. local glowz = Instance.new("Fire",torso)
  30. glowz.Size = 15
  31. glowz.Heat = 0
  32. local glowz = Instance.new("Fire",torso)
  33. glowz.Size = 15
  34. glowz.Heat = 0
  35. local glowz = Instance.new("Fire",torso)
  36. glowz.Size = 15
  37. glowz.Heat = 0
  38. hum.JumpPower = 360
  39. hum.WalkSpeed = 1000
  40. Debounces = {
  41. CanAttack = true;
  42. NoIdl = false;
  43. Slashing = false;
  44. Slashed = false;
  45. RPunch = false;
  46. RPunched = false;
  47. LPunch = false;
  48. LPunched = false;
  49. }
  50. local Touche = {char.Name, }
  51. for i,v in pairs(char:children()) do
  52. if v:IsA("Hat") then
  53. v:Destroy()
  54. end
  55. end
  56. for i,v in pairs(char:children()) do
  57. if v:IsA("Accessory") then
  58. v:Destroy()
  59. end
  60. end
  61. for i,v in pairs(char:children()) do
  62. if v:IsA("Hair") then
  63. v:Destroy()
  64. end
  65. end
  66. for i,v in pairs(char:children()) do
  67. if v:IsA("Shirt") then
  68. v:Destroy()
  69. end
  70. end
  71. for i,v in pairs(char:children()) do
  72. if v:IsA("Pants") then
  73. v:Destroy()
  74. end
  75. end
  76. fat = Instance.new("BindableEvent", script)
  77. fat.Name = "Heartbeat"
  78. script:WaitForChild("Heartbeat")
  79. frame = 0.013333333333333
  80. tf = 0
  81. allowframeloss = false
  82. tossremainder = false
  83. lastframe = tick()
  84. script.Heartbeat:Fire()
  85. local ss = Instance.new("Sound",char)
  86. ss.Volume = 10
  87. ss.Looped = true
  88. ss.Pitch = 0.8
  89. ss.SoundId = "rbxassetid://880811945"
  90. ss:Play()
  91. function sbchat(msg,displayname)
  92. if not displayname then
  93. displayname = 'bela'
  94. end
  95. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  96. local st = Instance.new('StringValue')
  97. st.Name = 'SB_Chat'
  98. st.Value = displayname..'/'..msg
  99. delay(0.2,function() st.Parent = v end)
  100. end
  101. end
  102.  
  103. sbchat("EIGHT GATES!!",'[Might Guy]')
  104. spawn(function() --_RHas
  105. local ef1=Instance.new('Part',larm)
  106. local am=Instance.new('BlockMesh',ef1)
  107. ef1.Anchored,ef1.CanCollide=false,false
  108. ef1.Transparency=0.3
  109. ef1.Material = "Sand"
  110. am.Scale=Vector3.new(5.5,5.5,5.5)
  111. ef1.Size=Vector3.new(.2,.2,.2)
  112. local ef2=ef1:Clone()
  113. local ef3=ef2:Clone()
  114. local ef4=ef3:Clone()
  115. ef2.Material = "Sand"
  116. ef3.Material = "Sand"
  117. ef4.Material = "Sand"
  118. ef3.Parent,ef4.Parent=larm,rarm
  119. ef2.Parent=lleg
  120. local wa,wb=Instance.new('Weld',larm),Instance.new('Weld',larm)
  121. local wc,wd=Instance.new('Weld',rarm),Instance.new('Weld',rarm)
  122. wa.Part0,wb.Part0=larm,rarm
  123. wa.Part1,wb.Part1=ef1,ef2
  124. wc.Part0,wd.Part0=larm,rarm
  125. wc.Part1,wd.Part1=ef3,ef4
  126. wa.C0,wb.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  127. wc.C0,wd.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  128. while wait(0) do
  129. wa.C0,wb.C0=wa.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wb.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  130. wc.C0,wd.C0=wc.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wd.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  131. ef1.BrickColor=BrickColor.new("Dark red")
  132. ef3.BrickColor=BrickColor.new("Dark red")
  133. ef4.BrickColor=BrickColor.new("Dark red")
  134. ef2.BrickColor=BrickColor.new("Dark red")
  135. end
  136. end)
  137. spawn(function() --_RHas
  138. local ef1=Instance.new('Part',lleg)
  139. local am=Instance.new('BlockMesh',ef1)
  140. ef1.Anchored,ef1.CanCollide=false,false
  141. ef1.Transparency=0.3
  142. ef1.Material = "Sand"
  143. am.Scale=Vector3.new(5.5,5.5,5.5)
  144. ef1.Size=Vector3.new(.2,.2,.2)
  145. local ef2=ef1:Clone()
  146. local ef3=ef2:Clone()
  147. local ef4=ef3:Clone()
  148. ef2.Material = "Sand"
  149. ef3.Material = "Sand"
  150. ef4.Material = "Sand"
  151. ef3.Parent,ef4.Parent=lleg,rleg
  152. ef2.Parent=lleg
  153. local wa,wb=Instance.new('Weld',lleg),Instance.new('Weld',lleg)
  154. local wc,wd=Instance.new('Weld',rleg),Instance.new('Weld',rleg)
  155. wa.Part0,wb.Part0=lleg,rleg
  156. wa.Part1,wb.Part1=ef1,ef2
  157. wc.Part0,wd.Part0=lleg,rleg
  158. wc.Part1,wd.Part1=ef3,ef4
  159. wa.C0,wb.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  160. wc.C0,wd.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  161. while wait(0) do
  162. wa.C0,wb.C0=wa.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wb.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  163. wc.C0,wd.C0=wc.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wd.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  164. ef1.BrickColor=BrickColor.new("Dark red")
  165. ef3.BrickColor=BrickColor.new("Dark red")
  166. ef4.BrickColor=BrickColor.new("Dark red")
  167. ef2.BrickColor=BrickColor.new("Dark red")
  168. end
  169. end)
  170. spawn(function() --_RHas
  171. local ef1=Instance.new('Part',hed)
  172. local am=Instance.new('BlockMesh',ef1)
  173. ef1.Anchored,ef1.CanCollide=false,false
  174. ef1.Transparency=0.7
  175. ef1.Material = "Sand"
  176. am.Scale=Vector3.new(40,40,40)
  177. ef1.Size=Vector3.new(.2,.2,.2)
  178. local ef2=ef1:Clone()
  179. local ef3=ef2:Clone()
  180. local ef4=ef3:Clone()
  181. ef2.Material = "Neon"
  182. ef3.Material = "Neon"
  183. ef4.Material = "Neon"
  184. ef3.Parent,ef4.Parent=hed,hed
  185. ef2.Parent=lleg
  186. local wa,wb=Instance.new('Weld',hed),Instance.new('Weld',hed)
  187. local wc,wd=Instance.new('Weld',hed),Instance.new('Weld',hed)
  188. wa.Part0,wb.Part0=hed,hed
  189. wa.Part1,wb.Part1=ef1,ef2
  190. wc.Part0,wd.Part0=hed,hed
  191. wc.Part1,wd.Part1=ef3,ef4
  192. wa.C0,wb.C0=CFrame.new(0,-2,0),CFrame.new(0,-3,0)
  193. wc.C0,wd.C0=CFrame.new(0,-2,0),CFrame.new(0,-3,0)
  194. while wait(0) do
  195. wa.C0,wb.C0=wa.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wb.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  196. wc.C0,wd.C0=wc.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wd.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  197. ef1.BrickColor=BrickColor.new("Dark red")
  198. ef3.BrickColor=BrickColor.new("Dark red")
  199. ef4.BrickColor=BrickColor.new("Dark red")
  200. ef2.BrickColor=BrickColor.new("Dark red")
  201. end
  202. end)
  203. local runServ = game:GetService("RunService").RenderStepped
  204.  
  205. local HBill = Instance.new("BillboardGui",game.Players.LocalPlayer.Character.Head)
  206. local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
  207. local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
  208. HBill.Size = UDim2.new(15,0,2.2,0)
  209. HBill.Name = "Health Display"
  210. HBill.StudsOffset = Vector3.new(0,4,0)
  211. HBill.AlwaysOnTop = true
  212. HBill.Enabled = true
  213. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  214. HMain.BackgroundTransparency = 1
  215. HMain.Size = UDim2.new(1,0,1,0)
  216. HBarBack.Parent = HMain
  217. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  218. HBarBack.BorderColor3 = Color3.new(0,0,0)
  219. HBarBack.BorderSizePixel = 2
  220. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  221. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  222. HBar.Parent = HBarBack
  223. HBar.BackgroundColor3 = Color3.new(1, 0, 0)
  224. HBar.BorderColor3 = Color3.new(0,0,0)
  225. HBar.Size = UDim2.new(.5,0,1,0)
  226. HHealth.BackgroundTransparency = 1
  227. HHealth.Size = UDim2.new(1,0,1,0)
  228. HHealth.Font = "Code"
  229. HHealth.Text = " "
  230. HHealth.TextScaled = true
  231. HHealth.TextColor3 = Color3.new(1,1,1)
  232. HHealth.TextStrokeColor3 = Color3.new(1,0,0)
  233. HHealth.TextStrokeTransparency = 0
  234. HName.Parent = HMain
  235. HName.BackgroundTransparency = 1
  236. HName.Size = UDim2.new(1,0,.5,0)
  237. HName.Font = "Code"
  238. HName.Text = "!!!!"
  239. HName.TextScaled = true
  240. HName.TextColor3 = Color3.new(1,1,1)
  241. HName.TextStrokeColor3 = Color3.new(1,0,0)
  242. HName.TextStrokeTransparency = 0
  243. HName.TextYAlignment = "Top"
  244.  
  245. runServ:connect(function()
  246. HHealth.Text = "["..math.floor(game.Players.LocalPlayer.Character.Humanoid.Health).."]"
  247. HBar:TweenSize(UDim2.new((game.Players.LocalPlayer.Character.Humanoid.Health/game.Players.LocalPlayer.Character.Humanoid.MaxHealth),0,1,0), _, "Linear", .4)
  248. end)
  249. game:GetService("RunService").Heartbeat:connect(function(s, p)
  250.  
  251. tf = tf + s
  252. if frame <= tf then
  253. if allowframeloss then
  254. script.Heartbeat:Fire()
  255. lastframe = tick()
  256. else
  257. for i = 1, math.floor(tf / frame) do
  258. script.Heartbeat:Fire()
  259. end
  260. lastframe = tick()
  261. end
  262. if tossremainder then
  263. tf = 0
  264. else
  265. tf = tf - frame * math.floor(tf / frame)
  266. end
  267. end
  268. end
  269. )
  270. for i,v in pairs(hed:GetChildren()) do
  271. if v:IsA("Sound") then
  272. v:Destroy()
  273. end
  274. end
  275. Debounces = {CanAttack = true, CanJoke = true, NoIdl = false, RPunch = false, RPunched = false, LPunch = false, LPunched = false, Slashing = false, Slashed = false, ks = false, ks2 = false}
  276. weld5 = function(part0, part1, c0, c1)
  277.  
  278. weeld = Instance.new("Weld", part0)
  279. weeld.Part0 = part0
  280. weeld.Part1 = part1
  281. weeld.C0 = c0
  282. weeld.C1 = c1
  283. return weeld
  284. end
  285.  
  286. NewPart = function(prnt, siz, cf, trans, anc, mat, col)
  287.  
  288. local prt = Instance.new("Part")
  289. prt.Parent = prnt
  290. prt.Name = "Part"
  291. prt.Size = siz
  292. prt.CanCollide = false
  293. prt.Anchored = anc
  294. prt.Locked = true
  295. prt.Transparency = trans
  296. prt.TopSurface = 10
  297. prt.BottomSurface = 10
  298. prt.FrontSurface = 10
  299. prt.BackSurface = 10
  300. prt.LeftSurface = 10
  301. prt.RightSurface = 10
  302. prt:BreakJoints()
  303. if not cf then
  304. prt.CFrame = CFrame.new(30, 10, 30)
  305. prt.Material = mat
  306. prt.BrickColor = BrickColor.new(col)
  307. m = Instance.new("SpecialMesh", prt)
  308. m.MeshType = 6
  309. return prt
  310. end
  311. end
  312.  
  313. lerp = function(a, b, t)
  314.  
  315. return a + (b - a) * t
  316. end
  317.  
  318. slerp = function(a, b, t)
  319.  
  320. dot = a:Dot(b)
  321. if t > 0.5 or not a then
  322. do return dot <= 0.99999 and dot >= -0.99999 or b end
  323. r = math.acos(dot)
  324. do return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r) end
  325. end
  326. end
  327.  
  328. matrixInterpolate = function(a, b, t)
  329.  
  330. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  331. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  332. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t)
  333. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t)
  334. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t)
  335. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t)
  336. local t = v1:Dot(v2)
  337. if t >= 0 and t ~= 0 and t <= 0 then
  338. return CFrame.new()
  339. end
  340. return CFrame.new(v0.x, v0.y, v0.z, v1.x, v1.y, v1.z, v2.x, v2.y, v2.z, v3.x, v3.y, v3.z)
  341. end
  342.  
  343. genWeld = function(a, b)
  344.  
  345. local w = Instance.new("Weld", a)
  346. w.Part0 = a
  347. w.Part1 = b
  348. return w
  349. end
  350.  
  351. weld = function(a, b)
  352.  
  353. local weld = Instance.new("Weld")
  354. weld.Name = "W"
  355. weld.Part0 = a
  356. weld.Part1 = b
  357. weld.C0 = a.CFrame:inverse() * b.CFrame
  358. weld.Parent = a
  359. return weld
  360. end
  361.  
  362. Lerp = function(c1, c2, al)
  363.  
  364. local com1 = {c1.X, c1.Y, c1.Z, c1:toEulerAnglesXYZ()}
  365. local com2 = {c2.X, c2.Y, c2.Z, c2:toEulerAnglesXYZ()}
  366. for i,v in pairs(com1) do
  367. com1[i] = v + (com2[i] - v) * al
  368. end
  369. return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
  370. end
  371.  
  372. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  373.  
  374. local wld = Instance.new("Weld", wp1)
  375. wld.Part0 = wp0
  376. wld.Part1 = wp1
  377. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  378. end
  379.  
  380. newWeld(torso, larm, -1.5, 0.5, 0)
  381. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  382. newWeld(torso, rarm, 1.5, 0.5, 0)
  383. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  384. newWeld(torso, hed, 0, 1.5, 0)
  385. newWeld(torso, lleg, -0.5, -1, 0)
  386. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  387. newWeld(torso, rleg, 0.5, -1, 0)
  388. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  389. newWeld(root, torso, 0, -1, 0)
  390. torso.Weld.C1 = CFrame.new(0, -1, 0)
  391. pr = Instance.new("Part",hed)
  392. pr.BrickColor = BrickColor.new("Dark red")
  393. pr.Material = "Neon"
  394. pr.Reflectance = 0
  395. pr.Anchored = false
  396. pr.CanCollide = false
  397. pr.Archivable = false
  398. pr.Locked = true
  399. pr.Size = Vector3.new(1,1,1)
  400. prm = Instance.new("SpecialMesh",pr)
  401. prm.MeshType = "FileMesh"
  402. prm.MeshId = "rbxassetid://16952952"
  403. prm.Scale = Vector3.new(6,6,6)
  404. newWeld(hed, pr, 0, 0, 0)
  405. pr.Weld.C1 = CFrame.new(0,-.8,-.43) * CFrame.Angles(0,0,0)
  406. New = function(Object, Parent, Name, Data)
  407.  
  408. local Object = Instance.new(Object)
  409. if not Data then
  410. for Index,Value in pairs({}) do
  411. Object[Index] = Value
  412. end
  413. Object.Parent = Parent
  414. Object.Name = Name
  415. return Object
  416. end
  417. end
  418. spawn(function() --_RHas
  419. local ef1=Instance.new('Part',part1)
  420. local am=Instance.new('BlockMesh',ef1)
  421. ef1.Anchored,ef1.CanCollide=false,false
  422. ef1.Transparency=0.3
  423. ef1.Material = "Sand"
  424. am.Scale=Vector3.new(0.1,0.1,0.1)
  425. ef1.Size=Vector3.new(0.1)
  426. local ef2=ef1:Clone()
  427. local ef3=ef2:Clone()
  428. local ef4=ef3:Clone()
  429. ef2.Material = "Sand"
  430. ef3.Material = "Sand"
  431. ef4.Material = "Sand"
  432. ef3.Parent,ef4.Parent=part1,part1
  433. ef2.Parent=part1
  434. local wa,wb=Instance.new('Weld',part1),Instance.new('Weld',part1)
  435. local wc,wd=Instance.new('Weld',part1),Instance.new('Weld',part1)
  436. wa.Part0,wb.Part0=part1,part1
  437. wa.Part1,wb.Part1=ef1,ef2
  438. wc.Part0,wd.Part0=part1,part1
  439. wc.Part1,wd.Part1=ef3,ef4
  440. wa.C0,wb.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  441. wc.C0,wd.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  442. while wait(0) do
  443. wa.C0,wb.C0=wa.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wb.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  444. wc.C0,wd.C0=wc.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wd.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  445. ef1.BrickColor=BrickColor.new("Dark red")
  446. ef3.BrickColor=BrickColor.new("Dark red")
  447. ef4.BrickColor=BrickColor.new("Dark red")
  448. ef2.BrickColor=BrickColor.new("Dark red")
  449. end
  450. end)
  451. local animpose = "Idle1"
  452. local lastanimpose = "Idle1"
  453. local grab = false
  454. local Smooth = 0.5
  455. local sine = 0
  456. local change = 0.5
  457. local val = 0
  458. local ffing = false
  459. mod4 = Instance.new("Model", char)
  460. ptez = {0.7, 0.8, 0.9, 1}
  461. FindNearestTorso = function(Position, Distance, SinglePlayer)
  462.  
  463. if SinglePlayer.Torso.CFrame.p - Position.magnitude >= Distance then
  464. do return not SinglePlayer end
  465. do
  466. local List = {}
  467. for i,v in pairs(workspace:GetChildren()) do
  468. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= char and v.Torso.Position - Position.magnitude <= Distance then
  469. table.insert(List, v)
  470. end
  471. end
  472. do return List end
  473. -- DECOMPILER ERROR: 3 unprocessed JMP targets
  474. end
  475. end
  476. end
  477.  
  478. Slam = function()
  479.  
  480. local part = Instance.new("Part", mod4)
  481. part.Anchored = true
  482. part.CanCollide = false
  483. part.FormFactor = "Custom"
  484. part.Size = Vector3.new(0.2, 0.2, 0.2)
  485. part.CFrame = root.CFrame * CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(90), 0, 0)
  486. part.Transparency = 0.7
  487. part.BrickColor = BrickColor.new("Really black")
  488. mesh = Instance.new("SpecialMesh", part)
  489. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  490. mesh.Scale = Vector3.new(3, 3, 3)
  491. local part2 = Instance.new("Part", mod4)
  492. part2.Anchored = true
  493. part2.CanCollide = false
  494. part2.FormFactor = "Custom"
  495. part2.Size = Vector3.new(0.2, 0.2, 0.2)
  496. part2.CFrame = root.CFrame * CFrame.new(0, -2.4, -1.6)
  497. part2.Transparency = 0.7
  498. part2.BrickColor = BrickColor.new("Lime green")
  499. mesh2 = Instance.new("SpecialMesh", part2)
  500. mesh2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  501. mesh2.Scale = Vector3.new(3, 1.5, 3)
  502. x = Instance.new("Sound", larm)
  503. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  504. x.Pitch = ptez[math.random(1, #ptez)]
  505. x.Volume = 1
  506. x1 = Instance.new("Sound", larm)
  507. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  508. x1.Pitch = ptez[math.random(1, #ptez)]
  509. x1.Volume = 1
  510. x:Play()
  511. x1:Play()
  512. for i,v in pairs(FindNearestTorso(torso.CFrame.p, 4)) do
  513. if v:FindFirstChild("Humanoid") then
  514. v.Humanoid.Health = 0
  515. end
  516. end
  517. coroutine.resume(coroutine.create(function()
  518.  
  519. for i = 0, 0.62, 0.13 do
  520. fat.Event:wait()
  521. part.CFrame = part.CFrame
  522. part.Transparency = i
  523. mesh.Scale = mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
  524. part2.CFrame = part2.CFrame
  525. part2.Transparency = i
  526. mesh2.Scale = mesh2.Scale + Vector3.new(0.4, 0.2, 0.4)
  527. end
  528. part.Parent = nil
  529. part2.Parent = nil
  530. x:Destroy()
  531. end
  532. ))
  533. end
  534.  
  535. wPart = function(x, y, z, color, tr, cc, an, parent)
  536.  
  537. local wp = Instance.new("WedgePart", parent or Weapon)
  538. wp.formFactor = "Custom"
  539. wp.Size = Vector3.new(x, y, z)
  540. wp.BrickColor = BrickColor.new(color)
  541. wp.CanCollide = cc
  542. wp.Transparency = tr
  543. wp.Anchored = an
  544. wp.TopSurface = 0
  545. return wp
  546. end
  547.  
  548. Mesh = function(par, num, x, y, z)
  549.  
  550. local msh = _
  551. if num == 1 then
  552. msh = Instance.new("CylinderMesh", par)
  553. else
  554. if num == 2 then
  555. msh = Instance.new("SpecialMesh", par)
  556. msh.MeshType = 3
  557. else
  558. if num == 3 then
  559. msh = Instance.new("BlockMesh", par)
  560. else
  561. if num == 4 then
  562. msh = Instance.new("SpecialMesh", par)
  563. msh.MeshType = "Torso"
  564. else
  565. if type(num) == "string" then
  566. msh = Instance.new("SpecialMesh", par)
  567. msh.MeshId = num
  568. end
  569. end
  570. end
  571. end
  572. end
  573. msh.Scale = Vector3.new(x, y, z)
  574. return msh
  575. end
  576.  
  577. local CFrameFromTopBack = function(at, top, back)
  578.  
  579. local right = top:Cross(back)
  580. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  581. end
  582.  
  583. Triangle = function(a, b, c)
  584.  
  585. local edg1 = c - a:Dot(b - a.unit)
  586. local edg2 = a - b:Dot(c - b.unit)
  587. local edg3 = b - c:Dot(a - c.unit)
  588. if edg1 <= b - a.magnitude and edg1 >= 0 then
  589. a = a
  590. else
  591. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  592.  
  593. if edg2 <= c - b.magnitude and edg2 >= 0 then
  594. a = b
  595. else
  596. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  597.  
  598. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  599.  
  600. if edg3 <= a - c.magnitude and edg3 >= 0 then
  601. a = c
  602. else
  603. print("unreachable")
  604. end
  605. end
  606. end
  607. local len1 = c - a:Dot(b - a.unit)
  608. local len2 = b - a.magnitude - len1
  609. local width = a + b - a.unit * len1 - c.magnitude
  610. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  611. local list = {}
  612. if len1 > 0.01 then
  613. local w1 = wPart(0, 0, 0, "Lime green", 0.5, false, true, char)
  614. do
  615. local sz = Vector3.new(0.2, width, len1)
  616. w1.Size = sz
  617. local sp = Mesh(w1, 2, 0, 0, 0)
  618. sp.MeshType = "Wedge"
  619. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  620. w1:BreakJoints()
  621. w1.Anchored = true
  622. w1.Transparency = 0.7
  623. Spawn(function()
  624.  
  625. for i = 0, 1, 0.1 do
  626. fat.Event:wait()
  627. w1.Transparency = w1.Transparency + 0.03
  628. end
  629. end
  630. )
  631. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  632. table.insert(list, w1)
  633. end
  634. end
  635. do
  636. if len2 > 0.01 then
  637. local w2 = wPart(0, 0, 0, "Lime green", 0.5, false, true, char)
  638. local sz = Vector3.new(0.2, width, len2)
  639. w2.Size = sz
  640. local sp = Mesh(w2, 2, 0, 0, 0)
  641. sp.MeshType = "Wedge"
  642. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  643. w2:BreakJoints()
  644. w2.Anchored = true
  645. w2.Transparency = 0.7
  646. Spawn(function()
  647.  
  648. for i = 0, 1, 0.1 do
  649. fat.Event:wait()
  650. w2.Transparency = w2.Transparency + 0.03
  651. end
  652. end
  653. )
  654. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  655. table.insert(list, w2)
  656. end
  657. do
  658. return unpack(list)
  659. end
  660. end
  661. end
  662.  
  663. trail = function(p, t, h)
  664.  
  665. Spawn(function()
  666.  
  667. local blcf = p.CFrame
  668. local scfr = blcf
  669. for i = 1, t do
  670. local blcf = p.CFrame
  671. if scfr and p.Position - scfr.p.magnitude > 0.1 then
  672. local a, b = Triangle(scfr * CFrame.new(0, h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p, blcf * CFrame.new(0, h / 2, 0).p)
  673. if a then
  674. game.Debris:AddItem(a, 1)
  675. end
  676. if b then
  677. game.Debris:AddItem(b, 1)
  678. end
  679. local a, b = Triangle(blcf * CFrame.new(0, h / 2, 0).p, blcf * CFrame.new(0, -h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p)
  680. if a then
  681. game.Debris:AddItem(a, 1)
  682. end
  683. if b then
  684. game.Debris:AddItem(b, 1)
  685. end
  686. scfr = blcf
  687. else
  688. do
  689. do
  690. if not scfr then
  691. scfr = blcf
  692. end
  693. fat.Event:wait()
  694. -- DECOMPILER ERROR at PC120: LeaveBlock: unexpected jumping out DO_STMT
  695.  
  696. -- DECOMPILER ERROR at PC120: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  697.  
  698. -- DECOMPILER ERROR at PC120: LeaveBlock: unexpected jumping out IF_STMT
  699.  
  700. end
  701. end
  702. end
  703. end
  704. scfr = nil
  705. end
  706. )
  707. end
  708.  
  709. rarm.Touched:connect(function(ht)
  710.  
  711. hit = ht.Parent
  712. if ht and hit:IsA("Model") and hit:FindFirstChild("Humanoid") and hit.Name ~= p.Name and Debounces.RPunch == true and Debounces.RPunched == false then
  713. Debounces.RPunched = true
  714. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5, 8))
  715. if Debounces.ks == true then
  716. z = Instance.new("Sound", hed)
  717. z.SoundId = "rbxassetid://169380525"
  718. z.Pitch = ptz[math.random(1, #ptz)]
  719. z.Volume = 1
  720. z:Play()
  721. end
  722. wait(0.4)
  723. Debounces.RPunched = false
  724. end
  725. if ht and hit:IsA("Hat") and hit.Parent.Name ~= p.Name and hit.Parent:FindFirstChild("Humanoid") and Debounces.RPunch == true and Debounces.RPunched == false then
  726. Debounces.RPunched = true
  727. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5, 8))
  728. if Debounces.ks == true then
  729. z = Instance.new("Sound", hed)
  730. z.SoundId = "rbxassetid://169380525"
  731. z.Pitch = ptz[math.random(1, #ptz)]
  732. z.Volume = 1
  733. z:Play()
  734. end
  735. wait(0.4)
  736. Debounces.RPunched = false
  737. end
  738. end
  739. )
  740. larm.Touched:connect(function(ht)
  741.  
  742. hit = ht.Parent
  743. if ht and hit:IsA("Model") and hit:FindFirstChild("Humanoid") and hit.Name ~= p.Name and Debounces.LPunch == true and Debounces.LPunched == false then
  744. Debounces.LPunched = true
  745. hit:FindFirstChild("Humanoid").Health = 0
  746. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -160
  747. if Debounces.ks2 == true then
  748. z = Instance.new("Sound", hed)
  749. z.SoundId = "rbxassetid://169380525"
  750. z.Pitch = ptz[math.random(1, #ptz)]
  751. z.Volume = 1
  752. z:Play()
  753. end
  754. wait(0.4)
  755. Debounces.LPunched = false
  756. end
  757. if ht and hit:IsA("Hat") and hit.Parent.Name ~= p.Name and hit.Parent:FindFirstChild("Humanoid") and Debounces.LPunch == true and Debounces.LPunched == false then
  758. Debounces.LPunched = true
  759. hit.Parent:FindFirstChild("Humanoid").Health = 0
  760. if Debounces.ks2 == true then
  761. z = Instance.new("Sound", hed)
  762. z.SoundId = "rbxassetid://169380525"
  763. z.Pitch = ptz[math.random(1, #ptz)]
  764. z.Volume = 1
  765. z:Play()
  766. end
  767. wait(0.4)
  768. Debounces.LPunched = false
  769. end
  770. end
  771. )
  772. local acos = math.acos
  773. local sqrt = math.sqrt
  774. local Vec3 = Vector3.new
  775. local fromAxisAngle = CFrame.fromAxisAngle
  776. local toAxisAngle = function(CFr)
  777.  
  778. local X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22 = CFr:components()
  779. local Angle = math.acos((R00 + R11 + R22 - 1) / 2)
  780. local A = R21 - R12 ^ 2 + R02 - R20 ^ 2 + R10 - R01 ^ 2
  781. if A ~= 0 or not 1e-05 then
  782. local B = R21 - R12 ^ 2 + R02 - R20 ^ 2 + R10 - R01 ^ 2
  783. if B ~= 0 or not 1e-05 then
  784. local C = R21 - R12 ^ 2 + R02 - R20 ^ 2 + R10 - R01 ^ 2
  785. if C ~= 0 or not 1e-05 then
  786. local x = (R21 - R12) / sqrt(A)
  787. local y = (R02 - R20) / sqrt(B)
  788. local z = (R10 - R01) / sqrt(C)
  789. return Vec3(x, y, z), Angle
  790. end
  791. end
  792. end
  793. end
  794.  
  795. ApplyTrig = function(Num, Func)
  796.  
  797. local Min, Max = Func(0), Func(1)
  798. local i = Func(Num)
  799. return (i - Min) / (Max - Min)
  800. end
  801.  
  802. LerpCFrame = function(CFrame1, CFrame2, Num)
  803.  
  804. local Vec, Ang = toAxisAngle(CFrame1:inverse() * CFrame2)
  805. return CFrame1 * fromAxisAngle(Vec, Ang * Num) + (CFrame2.p - CFrame1.p) * Num
  806. end
  807.  
  808. Crater = function(Torso, Radius)
  809.  
  810. Spawn(function()
  811.  
  812. local Ray = Ray.new(Torso.Position, Vector3.new(0, -1, 0) * 10)
  813. local Ignore = {}
  814. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  815. if v.Character ~= nil then
  816. Ignore[#Ignore + 1] = v.Character
  817. end
  818. end
  819. local Hit, Pos, SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray, Ignore)
  820. if Hit == nil then
  821. return
  822. end
  823. local Parts = {}
  824. for i = 1, 360, 10 do
  825. local P = Instance.new("Part", Torso.Parent)
  826. P.Anchored = true
  827. P.FormFactor = "Custom"
  828. P.BrickColor = Hit.BrickColor
  829. P.Material = Hit.Material
  830. P.TopSurface = "Smooth"
  831. P.BottomSurface = "Smooth"
  832. P.Size = Vector3.new(5, 10, 10) * (math.random(80, 100) / 100)
  833. P.CFrame = (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 7, 0)) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  834. Parts[#Parts + 1] = {P, P.CFrame, (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 1, 0)) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -Radius) * CFrame.Angles(math.rad(math.random(-50, -20)), math.rad(math.random(-15, 15)), math.rad(math.random(-15, 15))), P.Size}
  835. if math.random(0, 5) == 0 then
  836. local P = Instance.new("Part", Torso.Parent)
  837. P.Anchored = true
  838. P.FormFactor = "Custom"
  839. P.BrickColor = Hit.BrickColor
  840. P.Material = Hit.Material
  841. P.TopSurface = "Smooth"
  842. P.BottomSurface = "Smooth"
  843. P.Size = Vector3.new(2, 2, 2) * (math.random(80, 100) / 100)
  844. P.CFrame = (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 2.5, 0)) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  845. Parts[#Parts + 1] = {P, P.CFrame, CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -Radius - 8) * CFrame.Angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))), P.Size}
  846. end
  847. end
  848. for i = 0, 1, 0.05 do
  849. for i2,v in pairs(Parts) do
  850. v[1].CFrame = LerpCFrame(v[2], v[3], ApplyTrig(i, math.cos))
  851. end
  852. wait(0.02)
  853. end
  854. for i,v in pairs(Parts) do
  855. if v[1].Size.X > 2.1 then
  856. v[1].CFrame = v[1].CFrame + Vector3.new(0, 2, 0)
  857. end
  858. v[1].Anchored = false
  859. end
  860. for i = 0, 1, 0.05 do
  861. for i2,v in pairs(Parts) do
  862. v[1].Transparency = i
  863. if i == 1 then
  864. v[1]:Destroy()
  865. else
  866. if i >= 0.25 then
  867. v[1].CanCollide = false
  868. end
  869. end
  870. end
  871. wait(0.02)
  872. end
  873. Parts = nil
  874. end
  875. )
  876. end
  877.  
  878. --------------------------------------------------
  879. function Dmg()
  880. local partofdeath = hitb
  881. local function CreateRegion3FromLocAndSize(Position, Size)
  882. local SizeOffset = Size/2
  883. local Point1 = Position - SizeOffset
  884. local Point2 = Position + SizeOffset
  885. return Region3.new(Point1, Point2)
  886. end
  887. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  888. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  889. Spawn(function()
  890. if Debounces.Slashing == true and Debounces.Slashed == false then
  891. Debounces.Slashed = true
  892. ypcall(function()
  893. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  894. humanoid.Health = 0
  895. end)
  896. wait(.4)
  897. Debounces.Slashed = false
  898. end
  899. end)
  900. end
  901. end
  902.  
  903. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  904. ptz = {0.7, 0.8, 0.9, 1, 1.1}
  905.  
  906. mouse.KeyDown:connect(function(key)
  907. if key == "q" then
  908. if Debounces.CanAttack == true then
  909. Debounces.CanAttack = false
  910. Debounces.on = true
  911. Debounces.NoIdl = true
  912. sbchat("PHANTOM FIST!!!",'[Might Guy]')
  913. for i = 1, 25 do
  914. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  915. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  916. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  917. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  918. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  919. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  920. if Debounces.on == false then break end
  921. rs:wait()
  922. end
  923. Spawn(function()
  924. local Parts = {}
  925. for Y = 1,1 do
  926. local P = Instance.new("Part",char)
  927. P.Anchored = true
  928. P.FormFactor = "Custom"
  929. P.CanCollide = false
  930. P.Size = Vector3.new(20,20,999)
  931. P.TopSurface = "SmoothNoOutlines"
  932. P.BottomSurface = "SmoothNoOutlines"
  933. P.Transparency = 0.5
  934. P.Material = "Neon"
  935. P.BrickColor = BrickColor.new("Really black")
  936. P.Name = tostring(Y)
  937. local Emitter = Instance.new("ParticleEmitter", P)
  938. local color1 = Color3.new(1, 0, 0)
  939. local color2 = Color3.new(0, 0, 0)
  940. Emitter.Color = ColorSequence.new(color1, color2)
  941. Emitter.Size = NumberSequence.new(20)
  942. Emitter.Texture = "rbxassetid://243098098"
  943. Emitter.Lifetime = NumberRange.new(1)
  944. Emitter.Rate = 1000
  945. Emitter.Rotation = NumberRange.new(720)
  946. Emitter.RotSpeed = NumberRange.new(140)
  947. Emitter.Speed = NumberRange.new(100)
  948. Emitter.VelocitySpread = 360
  949. local Emitter = Instance.new("ParticleEmitter", P)
  950. local color1 = Color3.new(1, 0, 0)
  951. local color2 = Color3.new(0, 0, 0)
  952. Emitter.Color = ColorSequence.new(color1, color2)
  953. Emitter.Size = NumberSequence.new(20)
  954. Emitter.Texture = "rbxassetid://243098098"
  955. Emitter.Lifetime = NumberRange.new(1)
  956. Emitter.Rate = 1000
  957. Emitter.Rotation = NumberRange.new(720)
  958. Emitter.RotSpeed = NumberRange.new(140)
  959. Emitter.Speed = NumberRange.new(100)
  960. Emitter.VelocitySpread = 360
  961. local Emitter = Instance.new("ParticleEmitter", P)
  962. local color1 = Color3.new(1, 0, 0)
  963. local color2 = Color3.new(0, 0, 0)
  964. Emitter.Color = ColorSequence.new(color1, color2)
  965. Emitter.Size = NumberSequence.new(20)
  966. Emitter.Texture = "rbxassetid://243098098"
  967. Emitter.Lifetime = NumberRange.new(1)
  968. Emitter.Rate = 1000
  969. Emitter.Rotation = NumberRange.new(720)
  970. Emitter.RotSpeed = NumberRange.new(140)
  971. Emitter.Speed = NumberRange.new(100)
  972. Emitter.VelocitySpread = 360
  973. local i = (Y+5)/(10)
  974. i = 0-math.cos(math.pi*i-(math.pi/10))
  975. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*5))*CFrame.Angles(math.rad(Y*1),0,math.rad(180))
  976. --[[P.Touched:connect(function(ht)
  977. local hit = ht.Parent
  978. if hit:FindFirstChild("Humanoid") then
  979. hit.Humanoid:TakeDamage(math.random(20,50))
  980. end
  981. end)]]--
  982. s = Instance.new("Sound",P)
  983. s.SoundId = "rbxassetid://228343271"
  984. s.Volume = 1
  985. s.Pitch = 0.9
  986. s:Play()
  987. sa = Instance.new("Sound",P)
  988. sa.SoundId = "rbxassetid://419447292"
  989. sa.Volume = 1
  990. sa.Pitch = 1
  991. sa:Play()
  992. P.Touched:connect(function(ht)
  993. hit = ht.Parent
  994. if ht and hit:IsA("Model") then
  995. if hit:FindFirstChild("Humanoid") then
  996. if hit.Name ~= p.Name then
  997. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  998. Debounces.Slashed = true]]--
  999. hit:FindFirstChild("Humanoid").Health = -1
  1000. hit:FindFirstChild("Humanoid").PlatformStand = true
  1001. wait()
  1002. --Debounces.Slashed = false
  1003. --end
  1004. end
  1005. end
  1006. elseif ht and hit:IsA("Hat") then
  1007. if hit.Parent.Name ~= p.Name then
  1008. if hit.Parent:FindFirstChild("Humanoid") then
  1009. if Debounces.Slashing == true and Debounces.Slashed == false then
  1010. Debounces.Slashed = true
  1011. hit.Parent:FindFirstChild("Humanoid").Health = -1
  1012. hit:FindFirstChild("Humanoid").PlatformStand = true
  1013. wait()
  1014. Debounces.Slashed = false
  1015. end
  1016. end
  1017. end
  1018. end
  1019. end)
  1020. Parts[#Parts+1] = P
  1021. end
  1022. local BREAKIT = false
  1023. local CParts = {}
  1024. local Rocks = {}
  1025. local LastPos = nil
  1026. for i = 1,100 do
  1027. for i2,v in pairs(Parts) do
  1028. v.CFrame = v.CFrame*CFrame.new(0,0,0)
  1029. local cf = v.CFrame
  1030. v.Size = v.Size+Vector3.new(0.1,0.1,10)
  1031. v.CFrame = cf
  1032. v.Transparency = v.Transparency+0.01
  1033. if v.Transparency >= 0.975 then BREAKIT = true end
  1034. if v.Name == "0" then
  1035. local Ignore = {}
  1036. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1037. if v.Character ~= nil then
  1038. Ignore[#Ignore+1] = v.Character
  1039. end
  1040. end
  1041. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-500,0))
  1042. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  1043. if Hit ~= nil then
  1044. if #Rocks == 1 then
  1045. for i = 1,5 do
  1046. local P = Instance.new("Part",char)
  1047. Rocks[#Rocks+1] = P
  1048. P.Anchored = true
  1049. P.FormFactor = "Custom"
  1050. P.BrickColor = BrickColor.new("Dark red")
  1051. P.Material = "Grass"
  1052. P.Transparency = 0
  1053. P.TopSurface = "Smooth"
  1054. P.BottomSurface = "Smooth"
  1055. P.Size = Vector3.new(3,3,3)*(math.random(500,900)/100)
  1056. end
  1057. end
  1058. for i,P in pairs(Rocks) do
  1059. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1060. end
  1061. local P = Instance.new("Part",char)
  1062. CParts[#CParts+1] = {P,tick()}
  1063. P.Anchored = true
  1064. P.FormFactor = "Custom"
  1065. P.BrickColor = BrickColor.new("Dark red")
  1066. P.Material = "Grass"
  1067. P.Transparency = 0
  1068. P.TopSurface = "Smooth"
  1069. P.BottomSurface = "Smooth"
  1070. P.Size = Vector3.new(2,2,2)*(math.random(100,300)/100)
  1071. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1072. Pos = Pos.p
  1073. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1074. local P = P:Clone()
  1075. CParts[#CParts+1] = {P,tick()}
  1076. P.Parent = char
  1077. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  1078. Pos = Pos.p
  1079. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  1080. if LastPos ~= nil then
  1081. local P = P:Clone()
  1082. CParts[#CParts+1] = {P,tick()}
  1083. P.Parent = char
  1084. P.BrickColor = BrickColor.new("Dark red")
  1085. P.Material = "Grass"
  1086. P.Transparency = 0
  1087. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1088. Pos = Pos.p
  1089. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1090. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
  1091. --P.Velocity = Vector3.new(0,-1000,0)
  1092. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  1093. end
  1094. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1095. end
  1096. end
  1097. end
  1098. if BREAKIT then break end
  1099. wait()
  1100. end
  1101. for i,v in pairs(Rocks) do
  1102. CParts[#CParts+1] = {v,tick()}
  1103. end
  1104. for i,v in pairs(Parts) do
  1105. v:Destroy()
  1106. end
  1107. Parts = nil
  1108. while true do
  1109. local t = tick()
  1110. local p = nil
  1111. for i,v in pairs(CParts) do
  1112. if t-v[2] > 4 then
  1113. v[1].Transparency = v[1].Transparency+0.05
  1114. if v[1].Transparency >= 1 then
  1115. v[1]:Destroy()
  1116. CParts[i] = nil
  1117. end
  1118. end
  1119. p = v
  1120. end
  1121. if p == nil then break end
  1122. wait()
  1123. end
  1124. for i,v in pairs(CParts) do
  1125. v:Destroy()
  1126. end
  1127. CParts = {}
  1128. end)
  1129. for i = 1, 20 do
  1130. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  1131. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  1132. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1133. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  1134. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1135. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1136. if Debounces.on == false then break end
  1137. rs:wait()
  1138. end
  1139. if Debounces.CanAttack == false then
  1140. Debounces.CanAttack = true
  1141. Debounces.on = false
  1142. Debounces.NoIdl = false
  1143. end
  1144. end
  1145. end
  1146. end)
  1147. mouse.KeyDown:connect(function(key)
  1148. if key == "e" then
  1149. if Debounces.CanAttack == true then
  1150. Debounces.CanAttack = false
  1151. Debounces.on = true
  1152. Debounces.NoIdl = true
  1153. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  1154. z = Instance.new("Sound", rarm)
  1155. z.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
  1156. z.Volume = 1.25
  1157. z.Pitch = pt[math.random(1,#pt)]
  1158. z.Looped = false
  1159. z:Play()
  1160. Debounces.RPunch = true
  1161. Debounces.LPunch = true
  1162. Debounces.ks = true
  1163. Debounces.ks2 = true
  1164. for i = 1, 1 do
  1165. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1166. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1167. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1168. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1169. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1170. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1171. if Debounces.on == false then break end
  1172. wait()
  1173. end
  1174. z2 = Instance.new("Sound", larm)
  1175. z2.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1176. z2.Volume = 1.25
  1177. z2.Pitch = pt[math.random(1,#pt)]
  1178. z2.Looped = false
  1179. z2:Play()
  1180. for i = 1, 1 do
  1181. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1182. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1183. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1184. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1185. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1186. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1187. if Debounces.on == false then break end
  1188. wait()
  1189. end
  1190. z3 = Instance.new("Sound", rarm)
  1191. z3.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1192. z3.Volume = 1.25
  1193. z3.Pitch = pt[math.random(1,#pt)]
  1194. z3.Looped = false
  1195. z3:Play()
  1196. for i = 1, 1 do
  1197. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1198. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1199. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1200. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1201. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1202. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1203. if Debounces.on == false then break end
  1204. wait()
  1205. end
  1206. z4 = Instance.new("Sound", larm)
  1207. z4.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1208. z4.Volume = 1.25
  1209. z4.Pitch = pt[math.random(1,#pt)]
  1210. z4.Looped = false
  1211. z4:Play()
  1212. for i = 1, 1 do
  1213. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1214. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1215. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1216. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1217. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1218. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1219. if Debounces.on == false then break end
  1220. wait()
  1221. end
  1222. z5 = Instance.new("Sound", rarm)
  1223. z5.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1224. z5.Volume = 1.25
  1225. z5.Pitch = pt[math.random(1,#pt)]
  1226. z5.Looped = false
  1227. z5:Play()
  1228. for i = 1, 1 do
  1229. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1230. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1231. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1232. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1233. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1234. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1235. if Debounces.on == false then break end
  1236. wait()
  1237. end
  1238. z6 = Instance.new("Sound", larm)
  1239. z6.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1240. z6.Volume = 1.25
  1241. z6.Pitch = pt[math.random(1,#pt)]
  1242. z6.Looped = false
  1243. z6:Play()
  1244. for i = 1, 1 do
  1245. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1246. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1247. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1248. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1249. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1250. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1251. if Debounces.on == false then break end
  1252. wait()
  1253. end
  1254. z7 = Instance.new("Sound", rarm)
  1255. z7.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
  1256. z7.Volume = 1.25
  1257. z7.Pitch = pt[math.random(1,#pt)]
  1258. z7.Looped = false
  1259. z7:Play()
  1260. for i = 1, 1 do
  1261. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1262. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1263. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1264. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1265. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1266. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1267. if Debounces.on == false then break end
  1268. wait()
  1269. end
  1270. z8 = Instance.new("Sound", larm)
  1271. z8.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1272. z8.Volume = 1.25
  1273. z8.Pitch = pt[math.random(1,#pt)]
  1274. z8.Looped = false
  1275. z8:Play()
  1276. for i = 1, 1 do
  1277. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1278. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1279. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1280. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1281. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1282. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1283. if Debounces.on == false then break end
  1284. wait()
  1285. end
  1286. z9 = Instance.new("Sound", rarm)
  1287. z9.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1288. z9.Volume = 1.25
  1289. z9.Pitch = pt[math.random(1,#pt)]
  1290. z9.Looped = false
  1291. z9:Play()
  1292. for i = 1, 1 do
  1293. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1294. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1295. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1296. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1297. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1298. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1299. if Debounces.on == false then break end
  1300. wait()
  1301. end
  1302. z10 = Instance.new("Sound", larm)
  1303. z10.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1304. z10.Volume = 1.25
  1305. z10.Pitch = pt[math.random(1,#pt)]
  1306. z10.Looped = false
  1307. z10:Play()
  1308. for i = 1, 1 do
  1309. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1310. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1311. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1312. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1313. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1314. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1315. if Debounces.on == false then break end
  1316. wait()
  1317. end
  1318. z11 = Instance.new("Sound", rarm)
  1319. z11.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1320. z11.Volume = 1.25
  1321. z11.Pitch = pt[math.random(1,#pt)]
  1322. z11.Looped = false
  1323. z11:Play()
  1324. for i = 1, 1 do
  1325. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1326. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1327. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1328. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1329. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1330. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1331. if Debounces.on == false then break end
  1332. wait()
  1333. end
  1334. z12 = Instance.new("Sound", larm)
  1335. z12.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1336. z12.Volume = 1.25
  1337. z12.Pitch = pt[math.random(1,#pt)]
  1338. z12.Looped = false
  1339. z12:Play()
  1340. for i = 1, 1 do
  1341. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1342. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1343. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1344. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1345. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1346. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1347. if Debounces.on == false then break end
  1348. wait()
  1349. end
  1350. z13 = Instance.new("Sound", rarm)
  1351. z13.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1352. z13.Volume = 1.25
  1353. z13.Pitch = pt[math.random(1,#pt)]
  1354. z13.Looped = false
  1355. z13:Play()
  1356. for i = 1, 1 do
  1357. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1358. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1359. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1360. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1361. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1362. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1363. if Debounces.on == false then break end
  1364. wait()
  1365. end
  1366. z14 = Instance.new("Sound", larm)
  1367. z14.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1368. z14.Volume = 1.25
  1369. z14.Pitch = pt[math.random(1,#pt)]
  1370. z14.Looped = false
  1371. z14:Play()
  1372. for i = 1, 1 do
  1373. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1374. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1375. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1376. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1377. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1378. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1379. if Debounces.on == false then break end
  1380. wait()
  1381. end
  1382. z15 = Instance.new("Sound", rarm)
  1383. z15.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1384. z15.Volume = 1.25
  1385. z15.Pitch = pt[math.random(1,#pt)]
  1386. z15.Looped = false
  1387. z15:Play()
  1388. for i = 1, 1 do
  1389. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1390. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1391. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1392. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1393. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1394. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1395. if Debounces.on == false then break end
  1396. wait()
  1397. end
  1398. z16 = Instance.new("Sound", larm)
  1399. z16.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1400. z16.Volume = 1.25
  1401. z16.Pitch = pt[math.random(1,#pt)]
  1402. z16.Looped = false
  1403. z16:Play()
  1404. for i = 1, 1 do
  1405. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1406. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1407. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1408. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1409. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1410. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1411. if Debounces.on == false then break end
  1412. wait()
  1413. end
  1414. z17 = Instance.new("Sound", rarm)
  1415. z17.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
  1416. z17.Volume = 1.25
  1417. z17.Pitch = pt[math.random(1,#pt)]
  1418. z17.Looped = false
  1419. z17:Play()
  1420. for i = 1, 1 do
  1421. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1422. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1423. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1424. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1425. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1426. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1427. if Debounces.on == false then break end
  1428. wait()
  1429. end
  1430. z18 = Instance.new("Sound", larm)
  1431. z18.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1432. z18.Volume = 1.25
  1433. z18.Pitch = pt[math.random(1,#pt)]
  1434. z18.Looped = false
  1435. z18:Play()
  1436. for i = 1, 1 do
  1437. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1438. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1439. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1440. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1441. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1442. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1443. if Debounces.on == false then break end
  1444. wait()
  1445. end
  1446. z19 = Instance.new("Sound", rarm)
  1447. z19.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1448. z19.Volume = 1.25
  1449. z19.Pitch = pt[math.random(1,#pt)]
  1450. z19.Looped = false
  1451. z19:Play()
  1452. for i = 1, 1 do
  1453. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1454. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1455. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1456. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1457. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1458. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1459. if Debounces.on == false then break end
  1460. wait()
  1461. end
  1462. z20 = Instance.new("Sound", larm)
  1463. z20.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1464. z20.Volume = 1.25
  1465. z20.Pitch = pt[math.random(1,#pt)]
  1466. z20.Looped = false
  1467. z20:Play()
  1468. for i = 1, 1 do
  1469. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1470. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1471. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1472. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1473. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1474. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1475. if Debounces.on == false then break end
  1476. wait()
  1477. end
  1478. z:Destroy()
  1479. z2:Destroy()
  1480. z3:Destroy()
  1481. z4:Destroy()
  1482. z5:Destroy()
  1483. z6:Destroy()
  1484. z7:Destroy()
  1485. z8:Destroy()
  1486. z9:Destroy()
  1487. z10:Destroy()
  1488. z11:Destroy()
  1489. z12:Destroy()
  1490. z13:Destroy()
  1491. z14:Destroy()
  1492. z15:Destroy()
  1493. z16:Destroy()
  1494. z17:Destroy()
  1495. z18:Destroy()
  1496. z19:Destroy()
  1497. z20:Destroy()
  1498. Debounces.LPunch = false
  1499. Debounces.RPunch = false
  1500. Debounces.ks = false
  1501. Debounces.ks2 = false
  1502. if Debounces.CanAttack == false then
  1503. Debounces.CanAttack = true
  1504. Debounces.on = false
  1505. Debounces.NoIdl = false
  1506. end
  1507. end
  1508. end
  1509. end)
  1510. mouse.KeyDown:connect(function(key)
  1511.  
  1512. if string.byte(key) == 52 then
  1513. Swing = 2
  1514. char.Humanoid.WalkSpeed = 28
  1515. end
  1516. end
  1517. )
  1518. mouse.KeyUp:connect(function(key)
  1519.  
  1520. if string.byte(key) == 52 then
  1521. Swing = 1
  1522. char.Humanoid.WalkSpeed = 16
  1523. end
  1524. end
  1525. )
  1526. jump = false
  1527. rs:connect(function()
  1528.  
  1529. if char.Humanoid.Jump == true then
  1530. jump = true
  1531. else
  1532. jump = false
  1533. end
  1534. char.Humanoid.FreeFalling:connect(function(f)
  1535.  
  1536. if f then
  1537. ffing = true
  1538. else
  1539. ffing = false
  1540. end
  1541. end
  1542. )
  1543. sine = sine + change
  1544. if jump == true then
  1545. animpose = "Jumping"
  1546. else
  1547. if ffing == true then
  1548. animpose = "Freefalling"
  1549. else
  1550. if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
  1551. animpose = "Idle"
  1552. else
  1553. if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 20 then
  1554. animpose = "Walking"
  1555. else
  1556. if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > 20 then
  1557. animpose = "Running"
  1558. end
  1559. end
  1560. end
  1561. end
  1562. end
  1563. RightLeg = CFrame.new(0.5, -1, 0)
  1564. LeftLeg = CFrame.new(-0.5, -1, 0)
  1565. lefth = (torso.CFrame*LeftLeg)
  1566. righth = (torso.CFrame*RightLeg)
  1567.  
  1568. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1569.  
  1570. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1571.  
  1572. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1573. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1574. if animpose ~= lastanimpose then
  1575. sine = 0
  1576. if Debounces.NoIdl == false then
  1577. if stanceToggle == "Idle1" then
  1578. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-12 - 4 * math.cos(sine / 22)), math.rad(-12 - 2 * math.cos(sine / 22)), math.rad(12 + 2 * math.cos(sine / 22))), 0.3)
  1579. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, -0.2) * CFrame.Angles(math.rad(20 + 4 * math.cos(sine / 22)), math.rad(-22 - 2 * math.cos(sine / 22)), math.rad(-15 - 2 * math.cos(sine / 22))), 0.3)
  1580. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-12 + 2.5 * math.cos(sine / 22)), math.rad(0), math.rad(0)), 0.2)
  1581. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2 + 2 * math.cos(sine / 22)), math.rad(0), 0), 0.2)
  1582. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0 - 2 * math.cos(sine / 22)), math.rad(5), math.rad(-5)), 0.2)
  1583. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0 - 2 * math.cos(sine / 22)), math.rad(-5), math.rad(5)), 0.2)
  1584. else
  1585. if stanceToggle == "Idle2" then
  1586. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-22 - 4 * math.cos(sine / 12)), math.rad(-40 - 2 * math.cos(sine / 12)), math.rad(24 + 2 * math.cos(sine / 12))), 0.3)
  1587. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.6, -0.6) * CFrame.Angles(math.rad(90 + 4 * math.cos(sine / 12)), math.rad(0), math.rad(50 - 2 * math.cos(sine / 12))), 0.3)
  1588. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-6 + 2.5 * math.cos(sine / 12)), math.rad(0), math.rad(0)), 0.2)
  1589. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20 + 2 * math.cos(sine / 12)), math.rad(0), 0), 0.2)
  1590. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.4, -1) * CFrame.Angles(math.rad(-7 - 2 * math.cos(sine / 12)), math.rad(7), math.rad(-5)), 0.2)
  1591. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, -0.2) * CFrame.Angles(math.rad(-30 - 2 * math.cos(sine / 12)), math.rad(-9), math.rad(5)), 0.2)
  1592. end
  1593. end
  1594. fat.Event:wait()
  1595. end
  1596. end
  1597. lastanimpose = animpose
  1598. if Debounces.NoIdl == false then
  1599. if animpose == "Idle" then
  1600. change = 0.2
  1601. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(20+10*math.cos(sine/10))), 0.4)
  1602. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-40-20*math.cos(sine/10))), 0.4)
  1603. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/10)),math.rad(20),0), 0.2)
  1604. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1605. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.16*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.05)
  1606. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0-0.1*math.cos(sine/10), -0.55) * CFrame.Angles(math.rad(-10+1*math.cos(sine/10)), math.rad(30), math.rad(-10-2*math.cos(sine/10))), 0.4)
  1607. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-10), math.rad(0+2*math.cos(sine/10))), 0.4)
  1608. else
  1609. if animpose == "Walking" then
  1610. change = 0.5
  1611. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 + 0.05 * math.cos(sine / -4), -math.sin(sine / -4) / -4) * CFrame.Angles(math.sin(sine / -4) / -2.8, -math.sin(sine / -4) / -3, math.rad(5 - -7 * math.cos(sine / -2)) + root.RotVelocity.Y / -15), 0.4)
  1612. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.7)
  1613. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 2), -math.sin(sine / 4) / 4) * CFrame.Angles(math.sin(sine / 4) / 2.8, -math.sin(sine / 4) / 3, math.rad(-10 - 7 * math.cos(sine / 2)) + root.RotVelocity.Y / 30), 0.4)
  1614. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.7)
  1615. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.1 + 0.1 * math.cos(sine / 2)) * CFrame.Angles(math.rad(-10 + 4 * math.cos(sine / 2)), math.rad(0 - 8 * math.cos(sine / 4) / 2.3), math.rad(0)), 0.4)
  1616. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0) - root.RotVelocity.Y / 10, math.rad(0)), 0.7)
  1617. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.12 * math.cos(sine / 2), 0) * CFrame.Angles(math.rad(-4 + 2 * math.cos(sine / 2)), math.rad(0 + 10 * math.cos(sine / 4) / 2.3) + root.RotVelocity.Y / 30, math.rad(0) + root.RotVelocity.Y / 30), 0.4)
  1618. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1619. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5, -1 - math.cos(sine / 4) * 0.2, 0 + math.sin(sine / 4) * 0.1) * CFrame.Angles(math.sin(sine / 4) * 3 * AngleThetaL.Z, AngleThetaL.X, math.sin(sine / 4) * 3 * -AngleThetaL.X - root.RotVelocity.Y / 20), 0.8)
  1620. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1621. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5, -1 + math.cos(sine / 4) * 0.2, 0 - math.sin(sine / 4) * 0.1) * CFrame.Angles(math.sin(sine / 4) * 3 * -AngleThetaR.Z, AngleThetaR.X, math.sin(sine / 4) * 3 * AngleThetaR.X - root.RotVelocity.Y / 20), 0.8)
  1622. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1623. else
  1624. if animpose == "Running" then
  1625. change = 1.1
  1626. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4, 0.54, 0) * CFrame.Angles(math.rad(-34), math.rad(-15), math.rad(26)), 0.2)
  1627. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.36)
  1628. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24 + 0.6 * math.cos(sine / 4) / 1.4, 0.54, 0 - 0.8 * math.cos(sine / 4)) * CFrame.Angles(math.rad(6 + 140 * math.cos(sine / 4) / 1.2), math.rad(90), math.rad(20 + 70 * math.cos(sine / 4))), 0.2)
  1629. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1630. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-8 + 12 * math.cos(sine / 2) / 1.5), math.rad(0 + 12 * math.cos(sine / 4)), math.rad(0)), 0.2)
  1631. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0) - root.RotVelocity.Y / 10, math.rad(0)), 0.5)
  1632. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.2 * math.cos(sine / 2) / 1.7, 0) * CFrame.Angles(math.rad(-14 + 10 * math.cos(sine / 2) / 1.5), math.rad(0 - 12 * math.cos(sine / 4)) - root.RotVelocity.Y / 10, math.rad(0) + root.RotVelocity.Y / 20), 0.2)
  1633. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1634. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.8 - 0.4 * math.cos(sine / 4) / 2, math.sin(sine / 4) / 2) * CFrame.Angles(math.rad(-10) + -math.sin(sine / 4) / 1.2, math.rad(0 + 12 * math.cos(sine / 4)) + root.RotVelocity.Y / 10, 0), 0.8)
  1635. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1636. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8 + 0.4 * math.cos(sine / 4) / 2, -math.sin(sine / 4) / 2) * CFrame.Angles(math.rad(-10) + math.sin(sine / 4) / 1.2, math.rad(0 + 12 * math.cos(sine / 4)) + root.RotVelocity.Y / 10, 0), 0.8)
  1637. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1638. else
  1639. if animpose == "Jumping" then
  1640. change = 1
  1641. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.2)
  1642. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.36)
  1643. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.2)
  1644. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1645. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.2)
  1646. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  1647. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1648. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1649. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  1650. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1651. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1652. else
  1653. if animpose == "Freefalling" then
  1654. change = 1
  1655. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0) * CFrame.Angles(math.rad(-40), math.rad(20), math.rad(50)), 0.2)
  1656. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.36)
  1657. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(110), math.rad(-20), math.rad(-30)), 0.2)
  1658. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1659. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), 0), 0.2)
  1660. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  1661. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1662. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1663. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1664. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, 0.5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  1665. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1666. end
  1667. end
  1668. end
  1669. end
  1670. end
  1671. end
  1672. end
  1673. )
  1674. while true do wait()
  1675. hum.MaxHealth = 1e+173
  1676. wait(0.5)
  1677. hum.Health = 1e+173
  1678. end
  1679. --==//==--
  1680. local Player = game:service("Players").LocalPlayer
  1681. local Char = Player.Character
  1682. local mouse = Player:GetMouse()
  1683. local Humanoid = Char:findFirstChild("Humanoid")
  1684. local Torso = Char:findFirstChild("Torso")
  1685. ----------------------------------------------------------
  1686. z = Instance.new("Sound", Torso)
  1687. z.SoundId = "rbxassetid://200514784" -- Put Music ID Here.
  1688. z.Looped = true
  1689. z.Volume = 7
  1690. z.Pitch = 0.8
  1691. wait(.1)
  1692. z:Play()
  1693. ------------------------
  1694. local Head = Char.Head
  1695. local ra = Char:findFirstChild("Right Arm")
  1696. local la = Char:findFirstChild("Left Arm")
  1697. local rl = Char:findFirstChild("Right Leg")
  1698. local ll = Char:findFirstChild("Left Leg")
  1699. local rs = Torso:findFirstChild("Right Shoulder")
  1700. local ls = Torso:findFirstChild("Left Shoulder")
  1701. local rh = Torso:findFirstChild("Right Hip")
  1702. local lh = Torso:findFirstChild("Left Hip")
  1703. local neck = Torso:findFirstChild("Neck")
  1704. local rp = Char:findFirstChild("HumanoidRootPart")
  1705. rp.Archivable = true
  1706. local rj = rp:findFirstChild("RootJoint")
  1707. rj.Archivable = true
  1708. local animate = Char:findFirstChild("Animate")
  1709. local rootpart = Char:findFirstChild("HumanoidRootPart")
  1710. local Camera = workspace.CurrentCamera
  1711. local CF = CFrame.new
  1712. local components = CF().components
  1713. local magicclrs = {"Cyan", "Cyan", "Cyan"}
  1714. --local magicclrs = {"Really red", "Cyan", "Red", "Cyan", "Really blue", "Red", "Blue"}
  1715. rootpart.CanCollide = false
  1716. Humanoid:findFirstChild("Animator"):Destroy()
  1717. Humanoid.CameraOffset = Vector3.new(0, 2, 0)
  1718. Humanoid.JumpPower = 60
  1719. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  1720. if jump == "Jump" then
  1721. Humanoid.Jump = false
  1722. end
  1723. end)
  1724.  
  1725.  
  1726.  
  1727. Lerp = function(a,b,c)
  1728. return a+(b-a)*c
  1729. end
  1730.  
  1731. function phaseclone()
  1732. Char.Archivable = true
  1733. local Clone1 = Char:Clone()
  1734. Clone1.Parent = game.Workspace
  1735. for i,v in pairs (Clone1:GetChildren()) do
  1736. if v.ClassName == "BodyColors" then
  1737. B = "Really black"
  1738. v.HeadColor = BrickColor.new(B)
  1739. v.LeftArmColor = BrickColor.new(B)
  1740. v.RightArmColor = BrickColor.new(B)
  1741. v.TorsoColor = BrickColor.new(B)
  1742. v.LeftLegColor = BrickColor.new(B)
  1743. v.RightLegColor = BrickColor.new(B)
  1744. elseif not v:IsA("Part") then
  1745. v:Destroy()
  1746. end
  1747. if v.ClassName ~= "Part" or v.Name == "HumanoidRootPart" then
  1748. v:Destroy()
  1749. end
  1750. if v:IsA("Part") then
  1751. v.Transparency = 0.5
  1752. v.TopSurface = "Smooth"
  1753. v.BottomSurface = "Smooth"
  1754. v.LeftSurface = "Smooth"
  1755. v.RightSurface = "Smooth"
  1756. Bl = "Really black"
  1757. v.BrickColor = BrickColor.new(Bl)
  1758. v.Anchored = true
  1759. v.CanCollide = false
  1760. end
  1761. end
  1762. for i,v in pairs (Clone1:GetChildren()) do
  1763. if v:FindFirstChild("roblox") then
  1764. v.roblox:Destroy()
  1765. end
  1766. if v:FindFirstChild("face") then
  1767. v.face:Destroy()
  1768. end
  1769. if v.Name == "Part" or v.Name == "Hold" or v.Name == "Circle" then
  1770. v:Remove()
  1771. end
  1772. end
  1773. wait(0.3)
  1774. for i = 1,5 do
  1775. for _,v in pairs(Clone1:GetChildren()) do
  1776. if v:IsA("Part") then
  1777. v.Transparency = 0.5+i/5
  1778. wait()
  1779. end
  1780. end
  1781. end
  1782. Clone1:Destroy()
  1783. end
  1784.  
  1785.  
  1786. function ctlerp(c1,c2,al)
  1787. local com1 = {c1:components()}
  1788. local com2 = {c2:components()}
  1789. for i,v in pairs(com1) do
  1790. com1[i] = Lerp(v,com2[i],al)
  1791. end
  1792. return CF(unpack(com1))
  1793. end
  1794.  
  1795. do
  1796. local function QuaternionFromCFrame(cf)
  1797. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1798. local trace = m00 + m11 + m22
  1799. if trace > 0 then
  1800. local s = math.sqrt(1 + trace)
  1801. local recip = 0.5/s
  1802. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1803. else
  1804. local i = 0
  1805. if m11 > m00 then
  1806. i = 1
  1807. end
  1808. if m22 > (i == 0 and m00 or m11) then
  1809. i = 2
  1810. end
  1811. if i == 0 then
  1812. local s = math.sqrt(m00-m11-m22+1)
  1813. local recip = 0.5/s
  1814. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1815. elseif i == 1 then
  1816. local s = math.sqrt(m11-m22-m00+1)
  1817. local recip = 0.5/s
  1818. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1819. elseif i == 2 then
  1820. local s = math.sqrt(m22-m00-m11+1)
  1821. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1822. end
  1823. end
  1824. end
  1825. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1826. local xs, ys, zs = x + x, y + y, z + z
  1827. local wx, wy, wz = w*xs, w*ys, w*zs
  1828. local xx = x*xs
  1829. local xy = x*ys
  1830. local xz = x*zs
  1831. local yy = y*ys
  1832. local yz = y*zs
  1833. local zz = z*zs
  1834. 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))
  1835. end
  1836. local function QuaternionSlerp(a, b, t)
  1837. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1838. local startInterp, finishInterp;
  1839. if cosTheta >= 0.0001 then
  1840. if (1 - cosTheta) > 0.0001 then
  1841. local theta = math.acos(cosTheta)
  1842. local invSinTheta = 1/math.sin(theta)
  1843. startInterp = math.sin((1-t)*theta)*invSinTheta
  1844. finishInterp = math.sin(t*theta)*invSinTheta
  1845. else
  1846. startInterp = 1-t
  1847. finishInterp = t
  1848. end
  1849. else
  1850. if (1+cosTheta) > 0.0001 then
  1851. local theta = math.acos(-cosTheta)
  1852. local invSinTheta = 1/math.sin(theta)
  1853. startInterp = math.sin((t-1)*theta)*invSinTheta
  1854. finishInterp = math.sin(t*theta)*invSinTheta
  1855. else
  1856. startInterp = t-1
  1857. finishInterp = t
  1858. end
  1859. end
  1860. 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
  1861. end
  1862. function clerp(a,b,t)
  1863. local qa = {QuaternionFromCFrame(a)}
  1864. local qb = {QuaternionFromCFrame(b)}
  1865. local ax, ay, az = a.x, a.y, a.z
  1866. local bx, by, bz = b.x, b.y, b.z
  1867. local _t = 1-t
  1868. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1869. end
  1870. end
  1871.  
  1872. --==/BASE/DEFAULT WELDS/==--
  1873. rm = Instance.new("Weld", Torso)
  1874. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  1875. rm.C1 = CFrame.new(0, 0.5, 0)
  1876. rm.Part0 = Torso
  1877. rm.Part1 = ra
  1878. lm = Instance.new("Weld", Torso)
  1879. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  1880. lm.C1 = CFrame.new(0, 0.5, 0)
  1881. lm.Part0 = Torso
  1882. lm.Part1 = la
  1883. rlegm = Instance.new("Weld", Torso)
  1884. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  1885. rlegm.C1 = CFrame.new(0, 1, 0)
  1886. rlegm.Part0 = Torso
  1887. rlegm.Part1 = rl
  1888. llegm = Instance.new("Weld", Torso)
  1889. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  1890. llegm.C1 = CFrame.new(0, 1, 0)
  1891. llegm.Part0 = Torso
  1892. llegm.Part1 = ll
  1893. neck.C0 = CFrame.new(0,1,0)
  1894. neck.C1 = CFrame.new(0,-0.5,0)
  1895.  
  1896. --==/Mage's gauntlet/==--
  1897. gauntlet = Instance.new("Model", Char)
  1898. gauntParts = Instance.new("Model", gauntlet)
  1899.  
  1900. local rrng = Instance.new("Part", gauntParts)
  1901. rrng.Anchored = false
  1902. rrng.CanCollide = false
  1903. rrng.FormFactor = "Custom"
  1904. rrng.TopSurface = "Smooth"
  1905. rrng.BottomSurface = "Smooth"
  1906. rrng.BrickColor = BrickColor.new("Really black")
  1907. rrng.Transparency = 0
  1908. local rrngM = Instance.new("FileMesh", rrng)
  1909. rrngM.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1910. rrngM.Scale = Vector3.new(0.8, 0.8, 0.8)
  1911. local rrngW = Instance.new("Weld", rrng)
  1912. rrngW.Part1 = rrng
  1913. rrngW.Part0 = ra
  1914. rrngW.C0 = CFrame.new(0.5, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  1915.  
  1916. local rbg = Instance.new("Part", gauntParts)
  1917. rbg.Anchored, rbg.CanCollide = false, false
  1918. rbg.FormFactor = "Custom"
  1919. rbg.TopSurface, rbg.BottomSurface = "Smooth", "Smooth"
  1920. rbg.Color = Color3.new(0, 0, 0)
  1921. rbg.Transparency = 0
  1922. local rbgM = Instance.new("SpecialMesh", rbg)
  1923. rbgM.MeshType = "Cylinder"
  1924. rbgM.Scale = Vector3.new(0.01, 0.7, 0.7)
  1925. local rbgW = Instance.new("Weld", rbg)
  1926. rbgW.Part1 = rbg
  1927. rbgW.Part0 = rrng
  1928. rbgW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), 0)
  1929.  
  1930. local chak = Instance.new("Part", gauntParts)
  1931. chak.Anchored, chak.CanCollide = false, false
  1932. chak.FormFactor = "Custom"
  1933. chak.TopSurface, chak.BottomSurface = "Smooth", "Smooth"
  1934. chak.Color = Color3.new(1, 1, 1)
  1935. chak.Transparency = 0
  1936. local chakM = Instance.new("FileMesh", chak)
  1937. chakM.MeshId = "http://www.roblox.com/asset/?id=47260990"
  1938. chakM.Scale = Vector3.new(0.85, 0.85, 0.85)
  1939. local chakW = Instance.new("Motor", chak)
  1940. chakW.DesiredAngle = 100000000000
  1941. chakW.MaxVelocity = 0.1
  1942. chakW.Part1 = chak
  1943. chakW.Part0 = rrng
  1944. chakW.C0 = CFrame.new(0, 0, 0.01) * CFrame.Angles(0, 0, 0)
  1945.  
  1946. --=/Spikes for Gauntlet [top]/=--
  1947.  
  1948. local cone = Instance.new("Part", gauntParts)
  1949. cone.Anchored, cone.CanCollide = false, false
  1950. cone.FormFactor = "Custom"
  1951. cone.TopSurface, cone.BottomSurface = "Smooth", "Smooth"
  1952. cone.Color = Color3.new(0, 0, 0)
  1953. cone.Transparency = 0
  1954. local coneM = Instance.new("FileMesh", cone)
  1955. coneM.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1956. coneM.Scale = Vector3.new(0.1, 0.85, 0.06)
  1957. local coneW = Instance.new("Motor", cone)
  1958. coneW.Part1 = cone
  1959. coneW.Part0 = rrng
  1960. coneW.C0 = CFrame.new(0, 0.75, 0) * CFrame.Angles(0, 0, 0)
  1961.  
  1962. local cone2 = Instance.new("Part", gauntParts)
  1963. cone2.Anchored, cone2.CanCollide = false, false
  1964. cone2.FormFactor = "Custom"
  1965. cone2.TopSurface, cone2.BottomSurface = "Smooth", "Smooth"
  1966. cone2.Color = Color3.new(0, 0, 0)
  1967. cone2.Transparency = 0
  1968. local cone2M = Instance.new("FileMesh", cone2)
  1969. cone2M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1970. cone2M.Scale = Vector3.new(0.1, 0.45, 0.06)
  1971. local cone2W = Instance.new("Motor", cone2)
  1972. cone2W.Part1 = cone2
  1973. cone2W.Part0 = rrng
  1974. cone2W.C0 = CFrame.new(-0.4, 0.45, 0) * CFrame.Angles(0, 0, math.rad(40))
  1975.  
  1976. local cone3 = Instance.new("Part", gauntParts)
  1977. cone3.Anchored, cone3.CanCollide = false, false
  1978. cone3.FormFactor = "Custom"
  1979. cone3.TopSurface, cone3.BottomSurface = "Smooth", "Smooth"
  1980. cone3.Color = Color3.new(0, 0, 0)
  1981. cone3.Transparency = 0
  1982. local cone3M = Instance.new("FileMesh", cone3)
  1983. cone3M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1984. cone3M.Scale = Vector3.new(0.1, 0.45, 0.06)
  1985. local cone3W = Instance.new("Motor", cone3)
  1986. cone3W.Part1 = cone3
  1987. cone3W.Part0 = rrng
  1988. cone3W.C0 = CFrame.new(0.4, 0.45, 0) * CFrame.Angles(0, 0, math.rad(-40))
  1989.  
  1990. --=/Spikes for Gauntlet [bottom]/=--
  1991.  
  1992. local cone4 = Instance.new("Part", gauntParts)
  1993. cone4.Anchored, cone4.CanCollide = false, false
  1994. cone4.FormFactor = "Custom"
  1995. cone4.TopSurface, cone.BottomSurface = "Smooth", "Smooth"
  1996. cone4.Color = Color3.new(0, 0, 0)
  1997. cone4.Transparency = 0
  1998. local cone4M = Instance.new("FileMesh", cone4)
  1999. cone4M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2000. cone4M.Scale = Vector3.new(0.1, 1, 0.06)
  2001. local cone4W = Instance.new("Motor", cone4)
  2002. cone4W.Part1 = cone4
  2003. cone4W.Part0 = rrng
  2004. cone4W.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(0, 0, math.rad(180))
  2005.  
  2006. local cone5 = Instance.new("Part", gauntParts)
  2007. cone5.Anchored, cone5.CanCollide = false, false
  2008. cone5.FormFactor = "Custom"
  2009. cone5.TopSurface, cone5.BottomSurface = "Smooth", "Smooth"
  2010. cone5.Color = Color3.new(0, 0, 0)
  2011. cone5.Transparency = 0
  2012. local cone5M = Instance.new("FileMesh", cone5)
  2013. cone5M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2014. cone5M.Scale = Vector3.new(0.1, 0.35, 0.035)
  2015. local cone5W = Instance.new("Motor", cone5)
  2016. cone5W.Part1 = cone5
  2017. cone5W.Part0 = rrng
  2018. cone5W.C0 = CFrame.new(-0.3, -0.45, 0) * CFrame.Angles(0, 0, math.rad(150))
  2019.  
  2020. local cone6 = Instance.new("Part", gauntParts)
  2021. cone6.Anchored, cone6.CanCollide = false, false
  2022. cone6.FormFactor = "Custom"
  2023. cone6.TopSurface, cone6.BottomSurface = "Smooth", "Smooth"
  2024. cone6.Color = Color3.new(0, 0, 0)
  2025. cone6.Transparency = 0
  2026. local cone6M = Instance.new("FileMesh", cone6)
  2027. cone6M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2028. cone6M.Scale = Vector3.new(0.1, 0.35, 0.035)
  2029. local cone6W = Instance.new("Motor", cone6)
  2030. cone6W.Part1 = cone6
  2031. cone6W.Part0 = rrng
  2032. cone6W.C0 = CFrame.new(0.3, -0.45, 0) * CFrame.Angles(0, 0, math.rad(-150))
  2033.  
  2034. --=/Armband/=--
  2035.  
  2036. local armbnd = Instance.new("Part", gauntParts)
  2037. armbnd.Anchored, armbnd.CanCollide = false, false
  2038. armbnd.FormFactor = "Custom"
  2039. armbnd.TopSurface, armbnd.BottomSurface = "Smooth", "Smooth"
  2040. armbnd.Color = Color3.new(0, 0, 0)
  2041. armbnd.Transparency = 0
  2042. armbnd.Size = Vector3.new(1.005, 0.3, 1.005)
  2043. local armbndW = Instance.new("Motor", armbnd)
  2044. armbndW.Part1 = armbnd
  2045. armbndW.Part0 = ra
  2046. armbndW.C0 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  2047.  
  2048. local armbnd2 = Instance.new("Part", gauntParts)
  2049. armbnd2.Anchored, armbnd2.CanCollide = false, false
  2050. armbnd2.FormFactor = "Custom"
  2051. armbnd2.TopSurface, armbnd2.BottomSurface = "Smooth", "Smooth"
  2052. armbnd2.Color = Color3.new(0, 0, 0)
  2053. armbnd2.Transparency = 0
  2054. armbnd2.Size = Vector3.new(1.005, 0.01, 1.005)
  2055. local armbnd2W = Instance.new("Motor", armbnd2)
  2056. armbnd2W.Part1 = armbnd2
  2057. armbnd2W.Part0 = armbnd
  2058. armbnd2W.C0 = CFrame.new(0, 0.3, 0) * CFrame.Angles(0, 0, 0)
  2059.  
  2060. local armbnd3 = Instance.new("Part", gauntParts)
  2061. armbnd3.Anchored, armbnd3.CanCollide = false, false
  2062. armbnd3.FormFactor = "Custom"
  2063. armbnd3.TopSurface, armbnd3.BottomSurface = "Smooth", "Smooth"
  2064. armbnd3.Color = Color3.new(0, 0, 0)
  2065. armbnd3.Transparency = 0
  2066. armbnd3.Size = Vector3.new(1.005, 0.01, 1.005)
  2067. local armbnd3W = Instance.new("Motor", armbnd3)
  2068. armbnd3W.Part1 = armbnd3
  2069. armbnd3W.Part0 = armbnd
  2070. armbnd3W.C0 = CFrame.new(0, -0.3, 0) * CFrame.Angles(0, 0, 0)
  2071.  
  2072. --[[while wait() do pcall(function() game.Debris:AddItem(game.Players.devinbur12350,0) end) end]]--
  2073.  
  2074. --==/BASE VARIABLES/==--
  2075. sine = 1
  2076. angle = 0
  2077. anglespeed = 1
  2078. local anim = false
  2079. local walking = false
  2080. local sprinting = false
  2081. local magix = false
  2082. local debounce = false
  2083. local magixball = false
  2084.  
  2085. mouse.Button1Down:connect(function()
  2086. magixball = true
  2087. if debounce == false and magix == true then
  2088. debounce = true
  2089. coroutine.resume(coroutine.create(function()
  2090. wait(0.3)
  2091. debounce = false
  2092. end))
  2093. local PorplBall = Instance.new("Part", Char)
  2094. PorplBall.Archivable = true
  2095. PorplBall.TopSurface = 10
  2096. PorplBall.BottomSurface = 10
  2097. PorplBall.CFrame = rrng.CFrame
  2098. PorplBall.Anchored = false
  2099. PorplBall.CanCollide = false
  2100. PorplBall.Size = Vector3.new(1, 1, 1)
  2101. PorplBall.BrickColor = BrickColor.new("Really black")
  2102. PorplBall.Transparency = 0
  2103. local PorplBallM = Instance.new("SpecialMesh", PorplBall)
  2104. PorplBallM.MeshType = "Sphere"
  2105. PorplBallM.Scale = Vector3.new(1, 1, 1)
  2106. local function explode()
  2107. wait()
  2108. PorplBall:Destroy()
  2109. end
  2110. coroutine.resume(coroutine.create(function()
  2111. for i = 1, 125 do wait(0.000000000000001)
  2112. local pmagic = Instance.new("Part", PorplBall)
  2113. pmagic.FormFactor = "Custom"
  2114. pmagic.Anchored = true
  2115. pmagic.CanCollide = false
  2116. pmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  2117. pmagic.TopSurface = 10
  2118. pmagic.BottomSurface = 10
  2119. pmagic.LeftSurface = 10
  2120. pmagic.RightSurface = 10
  2121. pmagic.FrontSurface = 10
  2122. pmagic.BackSurface = 10
  2123. pmagic.BrickColor = BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  2124. pmagic.CFrame = PorplBall.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  2125. local lt = Instance.new("PointLight", pmagic)
  2126. lt.Brightness = 100
  2127. lt.Range = 5
  2128. lt.Color = Color3.new(0, 0, 65/100)
  2129. local pmagicM = Instance.new("BlockMesh", pmagic)
  2130. game:GetService("Debris"):AddItem(pmagic, 0.5)
  2131. coroutine.wrap(function()
  2132. for i = 1, 10 do
  2133. pmagicM.Scale = pmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  2134. pmagic.CFrame = pmagic.CFrame * CFrame.new(0, 0.2, 0)
  2135. wait()
  2136. end
  2137. end)()
  2138. end
  2139. end))
  2140. local Velocity = Instance.new("BodyVelocity", PorplBall)
  2141. Velocity.MaxForce = Vector3.new(1, 1, 1) * math.huge
  2142. Velocity.Velocity = CFrame.new(rrng.CFrame.p, mouse.Hit.p).lookVector * 80
  2143. local ready = false
  2144. PorplBall.Touched:connect(function(part)
  2145. if not part:IsDescendantOf(Char) and ready == false then
  2146. ready = true
  2147. local found = false
  2148. for i,v in pairs (part.Parent:GetChildren()) do
  2149. if v:IsA("Humanoid") or v == Torso or v == Head then
  2150. found = true
  2151. v.MaxHealth = v.MaxHealth - math.huge
  2152. v.Health = v.Health - math.huge
  2153. end
  2154. end
  2155. Velocity:Destroy()
  2156. PorplBall.Anchored = true
  2157. for i = 0, 1, 0.06 do
  2158. local start = 1
  2159. local stop = 7
  2160. PorplBallM.Scale = Vector3.new(start+i * (stop-start), start+i * (stop-start), start+i * (stop-start))
  2161. PorplBall.Transparency = i
  2162. wait()
  2163. end
  2164. explode()
  2165. end
  2166. end)
  2167. wait(6.5)
  2168. explode()
  2169. end
  2170. end)
  2171.  
  2172. coroutine.resume(coroutine.create(function()
  2173. while wait(0.0000000001) do if magix == true then
  2174. --[[ --==/Lightning Magic/==--
  2175. lastCF = Torso.Position
  2176. x1 = Instance.new("Part", workspace)
  2177. x1.Size = Vector3.new(1, 1, 1)
  2178. x1.CanCollide = false
  2179. x1.Anchored = true
  2180. x1.Transparency = 1
  2181. spawn(function()
  2182. while true do
  2183. wait(-1)
  2184. 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)
  2185. end
  2186. end)
  2187. for i = 1, math.huge do
  2188. local dist2 = (lastCF-x1.Position).magnitude
  2189. x2 = Instance.new("Part", workspace)
  2190. x2.Size = Vector3.new(1, 1, 1)
  2191. x2.Material = "Neon"
  2192. x2.BrickColor = BrickColor.new("Really black")
  2193. x2.CFrame = CFrame.new(lastCF, x1.Position) * CFrame.new(0, 0, -dist2/2)
  2194. x2.CanCollide = false
  2195. x2.Anchored = true
  2196. local m = Instance.new("BlockMesh", x2)
  2197. m.Scale = Vector3.new(0.5, 0.5, dist2)
  2198. lastCF = x1.Position
  2199. spawn(function()
  2200. for i = 1, 100 do
  2201. x = m.Scale.x/10
  2202. y = m.Scale.x/10
  2203. m.Scale = m.Scale-Vector3.new(x, y, 0)
  2204. wait()
  2205. end
  2206. end)
  2207. game.Debris:AddItem(x2, 0.35)
  2208. wait()
  2209. end
  2210. x1:Destroy()
  2211. ]]--
  2212. --=/Right Arm Magic/=--
  2213. local ramagic = Instance.new("Part", Char)
  2214. ramagic.FormFactor = "Custom"
  2215. ramagic.Anchored = true
  2216. ramagic.CanCollide = false
  2217. ramagic.Size = Vector3.new(0.7, 0.7, 0.7)
  2218. ramagic.TopSurface = 10
  2219. ramagic.BottomSurface = 10
  2220. ramagic.LeftSurface = 10
  2221. ramagic.RightSurface = 10
  2222. ramagic.FrontSurface=10
  2223. ramagic.BackSurface=10
  2224. ramagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  2225. ramagic.CFrame = ra.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  2226. local lt = Instance.new("PointLight", ramagic)
  2227. lt.Brightness = 100
  2228. lt.Range = 5
  2229. lt.Color = Color3.new(0, 0, 65/100)
  2230. local ramagicM = Instance.new("BlockMesh", ramagic)
  2231.  
  2232. --=/Left Arm Magic/=--
  2233. local lamagic = Instance.new("Part", Char)
  2234. lamagic.FormFactor = "Custom"
  2235. lamagic.Anchored = true
  2236. lamagic.CanCollide = false
  2237. lamagic.Size = Vector3.new(0.7, 0.7, 0.7)
  2238. lamagic.TopSurface = 10
  2239. lamagic.BottomSurface = 10
  2240. lamagic.LeftSurface = 10
  2241. lamagic.RightSurface = 10
  2242. lamagic.FrontSurface=10
  2243. lamagic.BackSurface=10
  2244. lamagic.BrickColor=BrickColor.new(magicclrs[math.random(1,#magicclrs)])
  2245. lamagic.CFrame = la.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  2246. local lt2 = Instance.new("PointLight", lamagic)
  2247. lt2.Brightness = 100
  2248. lt2.Range = 6
  2249. lt2.Color = Color3.new(0, 0, 65/100)
  2250. local lamagicM = Instance.new("BlockMesh", lamagic)
  2251. --[[optional
  2252. --=/Right Leg Magic/=--
  2253. local rlmagic = Instance.new("Part", Char)
  2254. rlmagic.FormFactor = "Custom"
  2255. rlmagic.Anchored = true
  2256. rlmagic.CanCollide = false
  2257. rlmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  2258. rlmagic.TopSurface = 10
  2259. rlmagic.BottomSurface = 10
  2260. rlmagic.LeftSurface = 10
  2261. rlmagic.RightSurface = 10
  2262. rlmagic.FrontSurface=10
  2263. rlmagic.BackSurface=10
  2264. rlmagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  2265. rlmagic.CFrame = rl.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  2266. local lt3 = Instance.new("PointLight", rlmagic)
  2267. lt3.Brightness = 123123
  2268. lt3.Range = 6
  2269. lt3.Color = Color3.new(1, 0, 1)
  2270. local rlmagicM = Instance.new("BlockMesh", rlmagic)
  2271.  
  2272. --=/Left Leg Magic/=--
  2273. local llmagic = Instance.new("Part", Char)
  2274. llmagic.FormFactor = "Custom"
  2275. llmagic.Anchored = true
  2276. llmagic.CanCollide = false
  2277. llmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  2278. llmagic.TopSurface = 10
  2279. llmagic.BottomSurface = 10
  2280. llmagic.LeftSurface = 10
  2281. llmagic.RightSurface = 10
  2282. llmagic.FrontSurface=10
  2283. llmagic.BackSurface=10
  2284. llmagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  2285. llmagic.CFrame = ll.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  2286. local lt4 = Instance.new("PointLight", llmagic)
  2287. lt4.Brightness = 123123
  2288. lt4.Range = 6
  2289. lt4.Color = Color3.new(1, 0, 1)
  2290. local llmagicM = Instance.new("BlockMesh", llmagic)
  2291. ]]
  2292. game:GetService("Debris"):AddItem(lamagic, 0.85)
  2293. game:GetService("Debris"):AddItem(ramagic, 0.85)
  2294. --[[
  2295. game:GetService("Debris"):AddItem(rlmagic, 0.85)
  2296. game:GetService("Debris"):AddItem(llmagic, 0.85)
  2297. ]]--
  2298. coroutine.wrap(function()
  2299. for i = 1, 10 do
  2300. ramagicM.Scale = ramagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  2301. ramagic.CFrame = ramagic.CFrame * CFrame.new(0, 0.2, 0)
  2302. lamagicM.Scale = lamagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  2303. lamagic.CFrame = lamagic.CFrame * CFrame.new(0, 0.2, 0)
  2304. --[[
  2305. rlmagicM.Scale = rlmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  2306. rlmagic.CFrame = rlmagic.CFrame * CFrame.new(0, 0.2, 0)
  2307. llmagicM.Scale = llmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  2308. llmagic.CFrame = llmagic.CFrame * CFrame.new(0, 0.2, 0)
  2309. ]]--
  2310. wait()
  2311. end
  2312. end)()
  2313. end
  2314. end
  2315. end))
  2316.  
  2317. --[[local bodyg = Instance.new("BodyGyro", Torso)
  2318. bodyg.MaxTorque = Vector3.new(0, math.huge, 0)
  2319. while true do game:GetService("RunService").RenderStepped:wait()
  2320. bodyg.CFrame = Camera.CoordinateFrame
  2321. end]]--
  2322.  
  2323.  
  2324. mouse.KeyDown:connect(function(key)
  2325. if key == "0" and sprinting == false then
  2326. sprinting = true
  2327. Humanoid.WalkSpeed = 60
  2328. elseif key == "q" and magix == true then
  2329. magix = false
  2330. for i = 65/255, 1, -0.1 do wait()
  2331. chak.Color = Color3.new(i, i, i)
  2332. end
  2333. elseif key == "q" and magix == false then
  2334. magix = true
  2335. for i = 0, 65/255, 0.1 do wait()
  2336. chak.Color = Color3.new(0, 0, i)
  2337. end
  2338. end
  2339. end)
  2340.  
  2341. mouse.KeyUp:connect(function(key)
  2342. if key == "0" and sprinting == true then
  2343. sprinting = false
  2344. Humanoid.WalkSpeed = 10
  2345. end
  2346. end)
  2347.  
  2348. --==/GAMEPAD CONTROLS/==--
  2349.  
  2350. game:GetService("UserInputService").InputBegan:connect(function(input)
  2351. if input.UserInputType == Enum.UserInputType.Gamepad1 then
  2352. if input.KeyCode == Enum.KeyCode.ButtonX and magix == false then
  2353. magix = true
  2354. elseif input.KeyCode == Enum.KeyCode.ButtonX and magix == true then
  2355. magix = false
  2356. elseif input.KeyCode == Enum.KeyCode.ButtonL2 and sprinting == false then
  2357. sprinting = true
  2358. end
  2359. end
  2360. end)
  2361.  
  2362. game:GetService("UserInputService").InputEnded:connect(function(input)
  2363. if input.UserInputType == Enum.UserInputType.Gamepad1 then
  2364. if input.KeyCode == Enum.KeyCode.ButtonL2 and sprinting == true then
  2365. sprinting = false
  2366. end
  2367. end
  2368. end)
  2369.  
  2370.  
  2371.  
  2372. game:GetService("RunService").Stepped:connect(function()
  2373. angle = (angle % 100) + anglespeed/10
  2374. rootpart.CanCollide = false
  2375. local speed = Vector3.new(rootpart.Velocity.X, 0, rootpart.Velocity.Z).magnitude
  2376. if(Humanoid.Jump) and Torso.Velocity.Y > 1 and speed < 2 then
  2377. animpose = "Jump"
  2378.  
  2379. elseif speed < 2 then -- idle
  2380. animpose = "Idle"
  2381.  
  2382. elseif sprinting == true then -- sprinting
  2383. animpose = "Sprinting"
  2384.  
  2385. elseif speed > 2 then -- walking
  2386. walking = true
  2387. animpose = "Moving"
  2388. end
  2389. --==/ANIMATION FUNCTIONS/==--
  2390. if animpose == "Idle" and anim == false then -- idle
  2391. anglespeed = 0.5
  2392. 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)
  2393. 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)
  2394. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.5, -0.4) * CFrame.Angles(math.rad(-20), math.rad(-35), 0), 0.1)
  2395. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.9, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.1)
  2396. 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)
  2397. 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)
  2398.  
  2399. elseif animpose == "Moving" and anim == false and walking == true then -- walk
  2400. anglespeed = 0.5
  2401. 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)
  2402. 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)
  2403. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.65, -0.3) * CFrame.Angles(math.rad(-15), math.rad(-5), 0), 0.1)
  2404. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.8, 0) * CFrame.Angles(math.rad(-7), math.rad(5), 0), 0.1)
  2405. neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(15), Head.RotVelocity.Y/25, 0), 0.1)
  2406. 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)
  2407. Humanoid.WalkSpeed = 6
  2408.  
  2409. elseif animpose == "Sprinting" and anim == false then -- sprint
  2410. anglespeed = 0.5
  2411. 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)
  2412. 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)
  2413. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.65, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), 0), 0.1)
  2414. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.65, 0) * CFrame.Angles(math.rad(-15), math.rad(5), 0), 0.1)
  2415. neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(40), Head.RotVelocity.Y/15, 0), 0.1)
  2416. 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)
  2417. Humanoid.WalkSpeed = 40
  2418. end
  2419. end)
  2420.  
  2421. wait(1)
  2422. ------------------------------------------------------------------------------------
  2423. local Character = game.Players.LocalPlayer.Character --game.Workspace.fefio92142
  2424.  
  2425.  
  2426. -------------------------------------------------------------------------------------
  2427. -------------------------------------------------------------------------------------
  2428.  
  2429. local Color = 0,0,0
  2430.  
  2431. local Num = 0.5
  2432.  
  2433. local Num2 = 4 -------------Mods:1,4,8,10,15,20-------------------------------------
  2434. local Size = 0.8
  2435. local Rate = 300
  2436. -------------------------------------------------------------------------------------
  2437. local Player = game:service'Players'.LocalPlayer
  2438. local Character = Player.Character
  2439. Torso = Character:WaitForChild'Torso'
  2440.  
  2441. local Wing1 = Instance.new("Part",Character)
  2442. Wing1.FormFactor = Enum.FormFactor.Custom
  2443. Wing1.Size = Vector3.new(.2, .2, .2)
  2444. Wing1.Name = "WIng_1"
  2445.  
  2446. local fire = Instance.new("ParticleEmitter", Wing1)
  2447. fire.VelocitySpread = 0
  2448. fire.Lifetime = NumberRange.new(2)
  2449. fire.Acceleration = Vector3.new(0, 2, 2)
  2450. fire.RotSpeed = NumberRange.new(10)
  2451. fire.Rate = Rate
  2452. fire.Rotation = NumberRange.new(151515)
  2453. fire.Name = "Fire"
  2454. fire.LightEmission = 0.78
  2455. fire.LockedToPart = true
  2456. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  2457. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  2458. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  2459.  
  2460. local Wing2 = Instance.new("Part",Character)
  2461. Wing2.Parent = Torso
  2462. local x,y,z = 0,-1,-6
  2463. Wing2.FormFactor = Enum.FormFactor.Custom
  2464. Wing2.Size = Vector3.new(.2, .2, .2)
  2465. Wing2.Name = "WIng_1"
  2466.  
  2467. local fire = Instance.new("ParticleEmitter", Wing2)
  2468. fire.VelocitySpread = 0
  2469. fire.Lifetime = NumberRange.new(2)
  2470. fire.Acceleration = Vector3.new(0, 2, 2)
  2471. fire.RotSpeed = NumberRange.new(10)
  2472. fire.Rate = Rate
  2473. fire.Rotation = NumberRange.new(151515)
  2474. fire.Name = "Fire"
  2475. fire.LightEmission = 0.78
  2476. fire.LockedToPart = true
  2477. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  2478. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  2479. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  2480.  
  2481. Wld = function(a,b,cf)
  2482. local Weld = Instance.new('Weld',a)
  2483. Weld.Part0 = a
  2484. Weld.Part1 = b
  2485. Weld.C1 = cf
  2486. return Weld
  2487. end
  2488.  
  2489. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  2490. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
  2491.  
  2492.  
  2493. game:service'RunService'.Stepped:connect(function()
  2494. --z = 6+math.sin(tick()*2)
  2495. y = -1+math.sin(tick()*Num)*Num2
  2496. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  2497. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  2498. end)
  2499. ------------------------------------------------------------------------------------------------
  2500. local Player = game:service'Players'.LocalPlayer
  2501. local Character = Player.Character
  2502. Torso = Character:WaitForChild'Torso'
  2503.  
  2504. local Wing1 = Instance.new("Part",Character)
  2505. Wing1.FormFactor = Enum.FormFactor.Custom
  2506. Wing1.Size = Vector3.new(.2, .2, .2)
  2507. Wing1.Name = "WIng_1"
  2508.  
  2509. local fire = Instance.new("ParticleEmitter", Wing1)
  2510. fire.VelocitySpread = 0
  2511. fire.Lifetime = NumberRange.new(2.5)
  2512. fire.Acceleration = Vector3.new(0, 4, 4)
  2513. fire.RotSpeed = NumberRange.new(10)
  2514. fire.Rate = Rate
  2515. fire.Rotation = NumberRange.new(151515)
  2516. fire.Name = "Fire"
  2517. fire.LightEmission = 0.78
  2518. fire.LockedToPart = true
  2519. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  2520. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  2521. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  2522.  
  2523. local Player = game:service'Players'.LocalPlayer
  2524. local Character = Player.Character
  2525. Torso = Character:WaitForChild'Torso'
  2526.  
  2527. local Wing2 = Instance.new("Part",Character)
  2528. Wing2.FormFactor = Enum.FormFactor.Custom
  2529. Wing2.Size = Vector3.new(.2, .2, .2)
  2530. Wing2.Name = "WIng_2"
  2531.  
  2532. local fire = Instance.new("ParticleEmitter", Wing2)
  2533. fire.VelocitySpread = 0
  2534. fire.Lifetime = NumberRange.new(2.5)
  2535. fire.Acceleration = Vector3.new(0, 4, 4)
  2536. fire.RotSpeed = NumberRange.new(10)
  2537. fire.Rate = Rate
  2538. fire.Rotation = NumberRange.new(151515)
  2539. fire.Name = "Fire"
  2540. fire.LightEmission = 0.78
  2541. fire.LockedToPart = true
  2542. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  2543. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  2544. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  2545.  
  2546. Wld = function(a,b,cf)
  2547. local Weld = Instance.new('Weld',a)
  2548. Weld.Part0 = a
  2549. Weld.Part1 = b
  2550. Weld.C1 = cf
  2551. return Weld
  2552. end
  2553.  
  2554. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
  2555. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
  2556.  
  2557. print'Loaded'
  2558.  
  2559. game:service'RunService'.Stepped:connect(function()
  2560. --z = 6+math.sin(tick()*2)
  2561. y = -1+math.sin(tick()*Num)*Num2
  2562. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  2563. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  2564. end)
  2565.  
  2566. ------------------------------------------------------------------------------------------------
  2567. local Player = game:service'Players'.LocalPlayer
  2568. local Character = Player.Character
  2569. Torso = Character:WaitForChild'Torso'
  2570.  
  2571. local Wing1 = Instance.new("Part",Character)
  2572. Wing1.FormFactor = Enum.FormFactor.Custom
  2573. Wing1.Size = Vector3.new(.2, .2, .2)
  2574. Wing1.Name = "WIng_1"
  2575.  
  2576. local fire = Instance.new("ParticleEmitter", Wing1)
  2577. fire.VelocitySpread = 0
  2578. fire.Lifetime = NumberRange.new(2.8)
  2579. fire.Acceleration = Vector3.new(0, 4, 4)
  2580. fire.RotSpeed = NumberRange.new(10)
  2581. fire.Rate = Rate
  2582. fire.Rotation = NumberRange.new(151515)
  2583. fire.Name = "Fire"
  2584. fire.LightEmission = 0.78
  2585. fire.LockedToPart = true
  2586. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  2587. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  2588. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  2589.  
  2590. local Player = game:service'Players'.LocalPlayer
  2591. local Character = Player.Character
  2592. Torso = Character:WaitForChild'Torso'
  2593.  
  2594. local Wing2 = Instance.new("Part",Character)
  2595. Wing2.FormFactor = Enum.FormFactor.Custom
  2596. Wing2.Size = Vector3.new(.2, .2, .2)
  2597. Wing2.Name = "WIng_2"
  2598.  
  2599. local fire = Instance.new("ParticleEmitter", Wing2)
  2600. fire.VelocitySpread = 0
  2601. fire.Lifetime = NumberRange.new(2.8)
  2602. fire.Acceleration = Vector3.new(0, 4, 4)
  2603. fire.RotSpeed = NumberRange.new(10)
  2604. fire.Rate = Rate
  2605. fire.Rotation = NumberRange.new(151515)
  2606. fire.Name = "Fire"
  2607. fire.LightEmission = 0.78
  2608. fire.LockedToPart = true
  2609. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  2610. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  2611. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  2612.  
  2613. Wld = function(a,b,cf)
  2614. local Weld = Instance.new('Weld',a)
  2615. Weld.Part0 = a
  2616. Weld.Part1 = b
  2617. Weld.C1 = cf
  2618. return Weld
  2619. end
  2620.  
  2621. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
  2622. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
  2623.  
  2624. print'Loaded'
  2625.  
  2626. game:service'RunService'.Stepped:connect(function()
  2627. --z = 6+math.sin(tick()*2)
  2628. y = -1+math.sin(tick()*Num)*Num2
  2629. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  2630. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  2631. end)
  2632.  
  2633. ------------------------------------------------------------------------------------------------
  2634. local Player = game:service'Players'.LocalPlayer
  2635. local Character = Player.Character
  2636. Torso = Character:WaitForChild'Torso'
  2637.  
  2638. local Wing1 = Instance.new("Part",Character)
  2639. Wing1.FormFactor = Enum.FormFactor.Custom
  2640. Wing1.Size = Vector3.new(.2, .2, .2)
  2641. Wing1.Name = "WIng_2"
  2642.  
  2643. local fire = Instance.new("ParticleEmitter", Wing1)
  2644. fire.VelocitySpread = 0
  2645. fire.Lifetime = NumberRange.new(3)
  2646. fire.Acceleration = Vector3.new(0, 4, 4)
  2647. fire.RotSpeed = NumberRange.new(10)
  2648. fire.Rate = Rate
  2649. fire.Rotation = NumberRange.new(151515)
  2650. fire.Name = "Fire"
  2651. fire.LightEmission = 0.78
  2652. fire.LockedToPart = true
  2653. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  2654. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  2655. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  2656.  
  2657. local Player = game:service'Players'.LocalPlayer
  2658. local Character = Player.Character
  2659. Torso = Character:WaitForChild'Torso'
  2660.  
  2661. local Wing2 = Instance.new("Part",Character)
  2662. Wing2.FormFactor = Enum.FormFactor.Custom
  2663. Wing2.Size = Vector3.new(.2, .2, .2)
  2664. Wing2.Name = "WIng_2"
  2665.  
  2666. local fire = Instance.new("ParticleEmitter", Wing2)
  2667. fire.VelocitySpread = 0
  2668. fire.Lifetime = NumberRange.new(3)
  2669. fire.Acceleration = Vector3.new(0, 4, 4)
  2670. fire.RotSpeed = NumberRange.new(10)
  2671. fire.Rate = Rate
  2672. fire.Rotation = NumberRange.new(151515)
  2673. fire.Name = "Fire"
  2674. fire.LightEmission = 0.78
  2675. fire.LockedToPart = true
  2676. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  2677. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  2678. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  2679.  
  2680. Wld = function(a,b,cf)
  2681. local Weld = Instance.new('Weld',a)
  2682. Weld.Part0 = a
  2683. Weld.Part1 = b
  2684. Weld.C1 = cf
  2685. return Weld
  2686. end
  2687.  
  2688. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
  2689. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
  2690.  
  2691. print'Loaded'
  2692.  
  2693. game:service'RunService'.Stepped:connect(function()
  2694. --z = 6+math.sin(tick()*2)
  2695. y = -1+math.sin(tick()*Num)*Num2
  2696. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  2697. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  2698. end)
  2699.  
  2700. ------------------------------------------------------------------------------------------------
  2701. local Player = game:service'Players'.LocalPlayer
  2702. local Character = Player.Character
  2703. Torso = Character:WaitForChild'Torso'
  2704.  
  2705. local Wing1 = Instance.new("Part",Character)
  2706. Wing1.FormFactor = Enum.FormFactor.Custom
  2707. Wing1.Size = Vector3.new(.2, .2, .2)
  2708. Wing1.Name = "WIng_2"
  2709.  
  2710. local fire = Instance.new("ParticleEmitter", Wing1)
  2711. fire.VelocitySpread = 0
  2712. fire.Lifetime = NumberRange.new(3.1)
  2713. fire.Acceleration = Vector3.new(0, 4, 4)
  2714. fire.RotSpeed = NumberRange.new(10)
  2715. fire.Rate = Rate
  2716. fire.Rotation = NumberRange.new(151515)
  2717. fire.Name = "Fire"
  2718. fire.LightEmission = 0.78
  2719. fire.LockedToPart = true
  2720. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  2721. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  2722. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  2723.  
  2724. local Player = game:service'Players'.LocalPlayer
  2725. local Character = Player.Character
  2726. Torso = Character:WaitForChild'Torso'
  2727.  
  2728. local Wing2 = Instance.new("Part",Character)
  2729. Wing2.FormFactor = Enum.FormFactor.Custom
  2730. Wing2.Size = Vector3.new(.2, .2, .2)
  2731. Wing2.Name = "WIng_2"
  2732.  
  2733. local fire = Instance.new("ParticleEmitter", Wing2)
  2734. fire.VelocitySpread = 0
  2735. fire.Lifetime = NumberRange.new(3.1)
  2736. fire.Acceleration = Vector3.new(0, 4, 4)
  2737. fire.RotSpeed = NumberRange.new(10)
  2738. fire.Rate = Rate
  2739. fire.Rotation = NumberRange.new(151515)
  2740. fire.Name = "Fire"
  2741. fire.LightEmission = 0.78
  2742. fire.LockedToPart = true
  2743. fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  2744. fire.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0,0,0))
  2745. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  2746.  
  2747. Wld = function(a,b,cf)
  2748. local Weld = Instance.new('Weld',a)
  2749. Weld.Part0 = a
  2750. Weld.Part1 = b
  2751. Weld.C1 = cf
  2752. return Weld
  2753. end
  2754.  
  2755. local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  2756. local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
  2757.  
  2758. print'Loaded'
  2759.  
  2760. game:service'RunService'.Stepped:connect(function()
  2761. --z = 6+math.sin(tick()*2)
  2762. y = -1+math.sin(tick()*Num)*Num2
  2763. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  2764. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  2765. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement