Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local p = game:service.LocalPlayer
  2. local char = p.Character
  3. local mouse = p:GetMouse()
  4. local larm = char["Left Arm"]
  5. local rarm = char["Right Arm"]
  6. local lleg = char["Left Leg"]
  7. local rleg = char["Right Leg"]
  8. local hed = char.Head
  9. local torso = char.Torso
  10. local hum = char.Humanoid
  11. local cam = game.Workspace.CurrentCamera
  12. local root = char.HumanoidRootPart
  13. local rj = root.RootJoint
  14. local deb = false
  15. local shot = 0
  16. local stanceToggle = "Idle1"
  17. local l = game:GetService("Lighting")
  18. local rs = game:GetService("RunService").RenderStepped
  19. local hb = game:GetService("RunService").Heartbeat
  20. local Stepped = game:GetService("RunService").Stepped
  21. math.randomseed(os.time())
  22. local Transforming = true
  23. hum.WalkSpeed = 0
  24. local fx = Instance.new("Part",torso)
  25. wit = Color3.new(0, 0, 0), Color3.new(0.5, 0, 1)
  26. wit2 = Color3.new(0.5,0,1)
  27. local glowz = Instance.new("ParticleEmitter",fx)
  28. glowz.LightEmission = 1
  29. glowz.Texture = "rbxassetid://280516525"
  30. glowz.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0.5, 0, 1))
  31. glowz.Size = NumberSequence.new(5)
  32. glowz.Speed = NumberRange.new(25,50)
  33. glowz.LockedToPart = false
  34. glowz.Transparency = NumberSequence.new(0.75)
  35. glowz.RotSpeed = NumberRange.new(-2000,2000)
  36. glowz.Lifetime = NumberRange.new(1)
  37. glowz.Rate = 5000
  38. glowz.VelocitySpread = 9001
  39. fx.Anchored = true
  40. fx.Material = "Neon"
  41. fx.CanCollide = false
  42. fx.Locked = true
  43. fx.Transparency = 1
  44. fx.Material = "Neon"
  45. fx.Size = Vector3.new(1,1,1)
  46. fx.TopSurface = "SmoothNoOutlines"
  47. fx.BottomSurface = "SmoothNoOutlines"
  48. fx.BrickColor = BrickColor.new("Really black")
  49. fxm = Instance.new("SpecialMesh",fx)
  50. fxm.MeshType = "Sphere"
  51. local sa2 = Instance.new("Sound",torso)
  52. sa2.SoundId = "rbxassetid://93724183"
  53. sa2.Pitch = 0.5
  54. sa2.Volume = 5
  55. sa2.Looped = false
  56. sa2:Play()
  57. local value = 1
  58. fxm.Scale = Vector3.new(1,1,1)
  59. for i = 1, 20 do rs:wait()
  60. value = value - 0.05
  61. fx.Transparency = fx.Transparency - (1/20)
  62. fx.CFrame = torso.CFrame
  63. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  64. rs:wait()
  65. end
  66. ----------------------------------------------------
  67. GroundWave1 = function()
  68. local Transforming = true
  69. hum.WalkSpeed = 0
  70. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  71. local Colors = {"White", "Really black"}
  72. local wave = Instance.new("Part", torso)
  73. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  74. wave.Anchored = true
  75. wave.CanCollide = false
  76. wave.Locked = true
  77. wave.Size = Vector3.new(1, 1, 1)
  78. wave.TopSurface = "Smooth"
  79. wave.BottomSurface = "Smooth"
  80. wave.Transparency = 0.35
  81. wave.CFrame = HandCF
  82. wm = Instance.new("SpecialMesh", wave)
  83. wm.MeshId = "rbxassetid://3270017"
  84. coroutine.wrap(function()
  85. for i = 1, 30, 1 do
  86. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  87. wave.Size = wm.Scale
  88. wave.CFrame = HandCF
  89. wave.Transparency = i/30
  90. wait()
  91. end
  92. wait()
  93. wave:Destroy()
  94. end)()
  95. end
  96. ----------------------------------------------------
  97. GroundWave = function()
  98. if Transforming == true then
  99. local value = 5
  100. local value2 = 10
  101. local value3 = 20
  102. local sa2 = Instance.new("Sound",torso)
  103. sa2.SoundId = "rbxassetid://413682983"
  104. sa2.Pitch = 1
  105. sa2.Volume = 10
  106. sa2.Looped = false
  107. sa2:Play()
  108. local wave = Instance.new("Part", torso)
  109. local glowz = Instance.new("ParticleEmitter",wave)
  110. glowz.LightEmission = 1
  111. glowz.Texture = "0"
  112. glowz.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0.5, 0, 1))
  113. glowz.Size = NumberSequence.new(30)
  114. glowz.Speed = NumberRange.new(25,100)
  115. glowz.LockedToPart = false
  116. glowz.Transparency = NumberSequence.new(0.75)
  117. glowz.RotSpeed = NumberRange.new(-2000,2000)
  118. glowz.Lifetime = NumberRange.new(1)
  119. glowz.Rate = 5000
  120. glowz.VelocitySpread = 9001
  121.  
  122. wave.BrickColor = BrickColor.new("Really black")
  123. wave.Anchored = true
  124. wave.CanCollide = false
  125. wave.Locked = true
  126. wave.Size = Vector3.new(1, 1, 1)
  127. wave.TopSurface = "Smooth"
  128. wave.BottomSurface = "Smooth"
  129. wave.Transparency = 0.35
  130. wave.CFrame = fx.CFrame
  131. wave.Material = "Neon"
  132. wm = Instance.new("SpecialMesh", wave)
  133. wm.MeshType = "Sphere"
  134. wm.Scale = Vector3.new(1,1,1)
  135. local wave2 = Instance.new("Part", torso)
  136. wave2.BrickColor = BrickColor.new("Really black")
  137. wave2.Anchored = true
  138. wave2.CanCollide = false
  139. wave2.Locked = true
  140. wave2.Size = Vector3.new(1, 1, 1)
  141. wave2.TopSurface = "Smooth"
  142. wave2.BottomSurface = "Smooth"
  143. wave2.Transparency = 0.35
  144. wave2.CFrame = fx.CFrame
  145. wave2.Material = "Neon"
  146. wm2 = Instance.new("SpecialMesh", wave2)
  147. wm2.MeshType = "FileMesh"
  148. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  149. wm2.Scale = Vector3.new(1,1,1)
  150. local wave3 = Instance.new("Part", torso)
  151. wave3.BrickColor = BrickColor.new("Really black")
  152. wave3.Anchored = true
  153. wave3.CanCollide = false
  154. wave3.Locked = true
  155. wave3.Size = Vector3.new(1, 1, 1)
  156. wave3.TopSurface = "Smooth"
  157. wave3.BottomSurface = "Smooth"
  158. wave3.Transparency = 0.35
  159. wave3.CFrame = fx.CFrame
  160. wave3.Material = "Neon"
  161. wm3 = Instance.new("SpecialMesh", wave3)
  162. wm3.MeshType = "FileMesh"
  163. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  164. wm3.Scale = Vector3.new(1,1,1)
  165. coroutine.wrap(function()
  166. for i = 1, 18, 1 do
  167. value = value - 0.5
  168. value2 = value2 - 0.75*1.5
  169. value3 = value3 - 0.475*1.5
  170. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  171. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  172. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  173. --wave.Size = wm.Scale
  174. wave.CFrame = fx.CFrame
  175. wave.Transparency = i/14
  176. --wave2.Size = wm2.Scale
  177. wave2.CFrame = fx.CFrame
  178. wave2.Rotation = Vector3.new(90, 0, 0)
  179. wave2.Transparency = i/14
  180. --wave3.Size = wm3.Scale
  181. wave3.CFrame = fx.CFrame
  182. wave3.Rotation = Vector3.new(90, 0, 0)
  183. wave3.Transparency = i/14
  184. wait()
  185. glowz.Rate = 0
  186.  
  187. end
  188. wait()
  189. wave:Destroy()
  190. wave2:Destroy()
  191. wave3:Destroy()
  192. end)()
  193. elseif Transforming == false then
  194. wait()
  195. end
  196. end
  197.  
  198. for i = 1, 100 do rs:wait()
  199. fx.CFrame = torso.CFrame
  200. end
  201.  
  202. Spawn(function()
  203. while wait(1) do
  204. GroundWave()
  205. end
  206. end)
  207.  
  208. wait(4)
  209.  
  210. Transforming = false
  211.  
  212. local value2 = 1
  213. for i = 1, 20 do rs:wait()
  214. value2 = value2 - 0.05
  215. glowz.Rate = 0
  216.  
  217. fx.Transparency = fx.Transparency + (1/20)
  218. fx.CFrame = torso.CFrame
  219. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  220. rs:wait()
  221. end
  222. glowz:Destroy()
  223.  
  224.  
  225. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  226. local valuer = 5
  227. local valuer2 = 10
  228. local valuer3 = 15
  229. local sa2 = Instance.new("Sound",torso)
  230. sa2.SoundId = "rbxassetid://130972023"
  231. sa2.Pitch = 1
  232. sa2.Volume = 5
  233. sa2.Looped = false
  234. sa2:Play()
  235. local sar2 = Instance.new("Sound",torso)
  236. sar2.SoundId = "rbxassetid://153274423"
  237. sar2.Pitch = 1
  238. sar2.Volume = 5
  239. sar2.Looped = false
  240. sar2:Play()
  241. local wave = Instance.new("Part", torso)
  242. wave.BrickColor = BrickColor.new("Really black")
  243. wave.Anchored = true
  244. wave.CanCollide = false
  245. wave.Locked = true
  246. wave.Size = Vector3.new(1, 1, 1)
  247. wave.TopSurface = "Smooth"
  248. wave.BottomSurface = "Smooth"
  249. wave.Transparency = 0.35
  250. wave.CFrame = HandCF
  251. wm = Instance.new("SpecialMesh", wave)
  252. wm.MeshId = "rbxassetid://3270017"
  253. local wave2 = Instance.new("Part", torso)
  254. wave2.BrickColor = BrickColor.new("Really black")
  255. wave2.Anchored = true
  256. wave2.CanCollide = false
  257. wave2.Locked = true
  258. wave2.Size = Vector3.new(1, 1, 1)
  259. wave2.TopSurface = "Smooth"
  260. wave2.BottomSurface = "Smooth"
  261. wave2.Transparency = 0.35
  262. wave2.CFrame = HandCF
  263. wm2 = Instance.new("SpecialMesh", wave2)
  264. wm2.MeshId = "rbxassetid://3270017"
  265. local wave3 = Instance.new("Part", torso)
  266. wave3.BrickColor = BrickColor.new("Really black")
  267. wave3.Anchored = true
  268. wave3.CanCollide = false
  269. wave3.Locked = true
  270. wave3.Size = Vector3.new(1, 1, 1)
  271. wave3.TopSurface = "Smooth"
  272. wave3.BottomSurface = "Smooth"
  273. wave3.Transparency = 0.35
  274. wave3.CFrame = HandCF
  275. wm3 = Instance.new("SpecialMesh", wave3)
  276. wm3.MeshId = "rbxassetid://3270017"
  277. coroutine.wrap(function()
  278. for i = 1, 14, 1 do
  279. valuer = valuer - 0.35
  280. valuer2 = valuer - 0.45
  281. valuer3 = valuer3 - 0.475
  282. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  283. wave.Size = wm.Scale
  284. wave.CFrame = HandCF
  285. wave.Transparency = i/14
  286. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  287. wave2.Size = wm2.Scale
  288. wave2.CFrame = HandCF
  289. wave2.Transparency = i/14
  290. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  291. wave3.Size = wm2.Scale
  292. wave3.CFrame = HandCF
  293. wave3.Transparency = i/14
  294. wait()
  295. end
  296. wait()
  297. wave:Destroy()
  298. wave2:Destroy()
  299. end)()
  300. hum.WalkSpeed = 16
  301. Player=game:GetService("Players").LocalPlayer
  302. Character=Player.Character
  303. PlayerGui=Player.PlayerGui
  304. Backpack=Player.Backpack
  305. Torso=Character.Torso
  306. Head=Character.Head
  307. Humanoid=Character.Humanoid
  308. m=Instance.new('Model',Character)
  309. LeftArm=Character["Left Arm"]
  310. LeftLeg=Character["Left Leg"]
  311. RightArm=Character["Right Arm"]
  312. RightLeg=Character["Right Leg"]
  313. local BC = Character["Body Colors"]
  314. BC.HeadColor = BrickColor.new("White")
  315. BC.LeftArmColor = BrickColor.new("White")
  316. BC.LeftLegColor = BrickColor.new("White")
  317. BC.RightArmColor = BrickColor.new("White")
  318. BC.RightLegColor = BrickColor.new("White")
  319. BC.TorsoColor = BrickColor.new("White")
  320. LS=Torso["Left Shoulder"]
  321. LH=Torso["Left Hip"]
  322. RS=Torso["Right Shoulder"]
  323. RH=Torso["Right Hip"]
  324. for i,v in pairs(Character:children()) do
  325. if v:IsA("Hat") then
  326. v:Destroy()
  327. end
  328. end
  329. for i,v in pairs(Character:children()) do
  330. if v:IsA("Accessory") then
  331. v:Destroy()
  332. end
  333. end
  334. for i,v in pairs(Character:children()) do
  335. if v:IsA("Hair") then
  336. v:Destroy()
  337. end
  338. end
  339. Character.Head.face.Texture = "rbxassetid://773764264"
  340. Character.Shirt.ShirtTemplate = "rbxassetid://915934654"
  341. Character.Pants.PantsTemplate = "rbxassetid://412219521"
  342. function chatfunc(text)
  343. local chat = coroutine.wrap(function()
  344. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  345. Character:FindFirstChild("TalkingBillBoard"):destroy()
  346. end
  347. local naeeym2 = Instance.new("BillboardGui",Character)
  348. naeeym2.Size = UDim2.new(0,100,0,40)
  349. naeeym2.StudsOffset = Vector3.new(0,3,0)
  350. naeeym2.Adornee = Character.Head
  351. naeeym2.Name = "TalkingBillBoard"
  352. local tecks2 = Instance.new("TextLabel",naeeym2)
  353. tecks2.BackgroundTransparency = 1
  354. tecks2.BorderSizePixel = 0
  355. tecks2.Text = ""
  356. tecks2.Font = "Fantasy"
  357. tecks2.TextSize = 30
  358. tecks2.TextStrokeTransparency = 0
  359. tecks2.TextColor3 = Color3.new(0,0,1)
  360. tecks2.TextStrokeColor3 = Color3.new(0,1,0)
  361. tecks2.Size = UDim2.new(1,0,0.5,0)
  362. local tecks3 = Instance.new("TextLabel",naeeym2)
  363. tecks3.BackgroundTransparency = 1
  364. tecks3.BorderSizePixel = 0
  365. tecks3.Text = ""
  366. tecks3.Font = "Fantasy"
  367. tecks3.TextSize = 30
  368. tecks3.TextStrokeTransparency = 0
  369. tecks3.TextColor3 = Color3.new(122,78,255)
  370. tecks3.TextStrokeColor3 = Color3.new(122,78,255)
  371. tecks3.Size = UDim2.new(1,0,0.5,0)
  372. for i = 1,string.len(text),1 do
  373. tecks2.Text = string.sub(text,1,i)
  374. tecks3.Text = string.sub(text,1,i)
  375. wait(0.01)
  376. end
  377. wait(2)
  378. for i = 1, 50 do
  379. wait(0.0000000000000000000001)
  380. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  381. tecks2.Rotation = tecks2.Rotation - .8
  382. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  383. tecks2.TextTransparency = tecks2.TextTransparency + .04
  384. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  385. tecks3.Rotation = tecks2.Rotation + .8
  386. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  387. tecks3.TextTransparency = tecks2.TextTransparency + .04
  388. end
  389. naeeym2:Destroy()
  390. end)
  391. chat()
  392. end
  393. function onChatted(msg)
  394. chatfunc(msg)
  395. end
  396. Face = Head.face
  397. Neck=Torso.Neck
  398. it=Instance.new
  399. attacktype=1
  400. vt=Vector3.new
  401. cf=CFrame.new
  402. euler=CFrame.fromEulerAnglesXYZ
  403. angles=CFrame.Angles
  404. cloaked=false
  405. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  406. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  407. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  408. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  409. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  410. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  411. RootPart=Character.HumanoidRootPart
  412. RootJoint=RootPart.RootJoint
  413. RootCF=euler(-1.57,0,3.14)
  414. attack = false
  415. attackdebounce = false
  416. deb=false
  417. equipped=true
  418. hand=false
  419. MMouse=nil
  420. combo=0
  421. mana=0
  422. trispeed=1
  423. pathtrans=.7
  424. attackmode='none'
  425. local idle=0
  426. local Anim="Idle"
  427. local Effects={}
  428. local gun=false
  429. local shoot=false
  430. player=nil
  431. cloak=false
  432. lightcolor='Black'
  433.  
  434. local Color1=Torso.BrickColor
  435.  
  436. local Part = Instance.new("Part",Character)
  437. Part.BrickColor = BrickColor.new("Black")
  438. Part.Size = Vector3.new(1,1,1)
  439. Part.CanCollide = false
  440. Part.Material = "Neon"
  441. local M = Instance.new("SpecialMesh",Part)
  442. M.MeshId = "rbxassetid://430440803"
  443. M.Scale = Vector3.new(0.0067,0.0067,0.0067)
  444. local Part2 = Instance.new("Weld",Part)
  445. Part2.Part0 = Character.Head
  446. Part2.Part1 = Part
  447. Part2.C0 = CFrame.new(0,-1.2,0)*CFrame.Angles(0,1.55,0)
  448.  
  449. mouse=Player:GetMouse()
  450. --save shoulders
  451. RSH, LSH=nil, nil
  452. --welds
  453. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  454. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  455. LH=Torso["Left Hip"]
  456. RH=Torso["Right Hip"]
  457. TorsoColor=Torso.BrickColor
  458. function NoOutline(Part)
  459. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  460. end
  461.  
  462.  
  463.  
  464. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  465. local fp=it("Part")
  466. fp.formFactor=formfactor
  467. fp.Parent=parent
  468. fp.Reflectance=reflectance
  469. fp.Transparency=transparency
  470. fp.CanCollide=false
  471. fp.Locked=true
  472. fp.BrickColor=brickcolor
  473. fp.Name=name
  474. fp.Size=size
  475. fp.Position=Torso.Position
  476. NoOutline(fp)
  477. fp.Material="SmoothPlastic"
  478. fp:BreakJoints()
  479. return fp
  480. end
  481.  
  482. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  483. local mesh=it(Mesh)
  484. mesh.Parent=part
  485. if Mesh=="SpecialMesh" then
  486. mesh.MeshType=meshtype
  487. if meshid~="nil" then
  488. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  489. end
  490. end
  491. mesh.Offset=offset
  492. mesh.Scale=scale
  493. return mesh
  494. end
  495.  
  496. function weld(parent,part0,part1,c0)
  497. local weld=it("Weld")
  498. weld.Parent=parent
  499. weld.Part0=part0
  500. weld.Part1=part1
  501. weld.C0=c0
  502. return weld
  503. end
  504.  
  505. local Color1=Torso.BrickColor
  506.  
  507.  
  508.  
  509.  
  510.  
  511. Player=game:GetService('Players').LocalPlayer
  512. Character=Player.Character
  513. Mouse=Player:GetMouse()
  514. m=Instance.new('Model',Character)
  515.  
  516.  
  517. local function weldBetween(a, b)
  518. local weldd = Instance.new("ManualWeld")
  519. weldd.Part0 = a
  520. weldd.Part1 = b
  521. weldd.C0 = CFrame.new()
  522. weldd.C1 = b.CFrame:inverse() * a.CFrame
  523. weldd.Parent = a
  524. return weldd
  525. end
  526.  
  527. it=Instance.new
  528.  
  529. function nooutline(part)
  530. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  531. end
  532.  
  533. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  534. local fp=it("Part")
  535. fp.formFactor=formfactor
  536. fp.Parent=parent
  537. fp.Reflectance=reflectance
  538. fp.Transparency=transparency
  539. fp.CanCollide=false
  540. fp.Locked=true
  541. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  542. fp.Name=name
  543. fp.Size=size
  544. fp.Position=Character.Torso.Position
  545. nooutline(fp)
  546. fp.Material=material
  547. fp:BreakJoints()
  548. return fp
  549. end
  550.  
  551. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  552. local mesh=it(Mesh)
  553. mesh.Parent=part
  554. if Mesh=="SpecialMesh" then
  555. mesh.MeshType=meshtype
  556. mesh.MeshId=meshid
  557. end
  558. mesh.Offset=offset
  559. mesh.Scale=scale
  560. return mesh
  561. end
  562.  
  563. function weld(parent,part0,part1,c0,c1)
  564. local weld=it("Weld")
  565. weld.Parent=parent
  566. weld.Part0=part0
  567. weld.Part1=part1
  568. weld.C0=c0
  569. weld.C1=c1
  570. return weld
  571. end
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581. --------------------------------
  582. local p = game.Players.LocalPlayer
  583. local char = p.Character
  584. local mouse = p:GetMouse()
  585. local larm = char["Left Arm"]
  586. local rarm = char["Right Arm"]
  587. local lleg = char["Left Leg"]
  588. local rleg = char["Right Leg"]
  589. local hed = char.Head
  590. local torso = char.Torso
  591. local hum = char.Humanoid
  592. local cam = game.Workspace.CurrentCamera
  593. local root = char.HumanoidRootPart
  594. local deb = false
  595. local shot = 0
  596. local debris=game:service"Debris"
  597. local l = game:GetService("Lighting")
  598. local rs = game:GetService("RunService").RenderStepped
  599. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  600. math.randomseed(os.time())
  601. for i,v in pairs(char:children()) do
  602. if v:IsA("Hat") then
  603. v:Destroy()
  604. end
  605. end
  606. for i,v in pairs (hed:GetChildren()) do
  607. if v:IsA("Sound") then
  608. v:Destroy()
  609. end
  610. end
  611. ----------------------------------------------------
  612. z = Instance.new("Sound", torso)
  613. z.SoundId = "rbxassetid://255355232" -- Put Music ID Here.
  614. z.Looped = true
  615. z.Volume = 3
  616. wait(.1)
  617. z:Play()
  618. -----------------------------------------------------
  619. Debounces = {
  620. CanAttack = true;
  621. NoIdl = false;
  622. Slashing = false;
  623. Slashed = false;
  624. RPunch = false;
  625. RPunched = false;
  626. LPunch = false;
  627. LPunched = false;
  628. }
  629. local Touche = {char.Name, }
  630. ----------------------------------------------------
  631. ----------------------------------------------------
  632. ----------------------------------------------------
  633. local LocalPlayer = game:GetService("Players").LocalPlayer
  634. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  635.  
  636. ------------------------------------------------------
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643. local m = Instance.new("Model",Character)
  644. m.Name = "WeaponModel"
  645. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  646. handleweld=weld(m,Character.Torso,handle,CFrame.new(0,0,0),CFrame.new(0.4,1.8,0.7)*CFrame.Angles(3.2,0,1))
  647. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  648. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  649. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
  650. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  651. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  652. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
  653. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  654. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  655. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
  656. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  657. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  658. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
  659. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  660. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  661. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
  662. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  663. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  664. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
  665. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  666. Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1, 1.20000005, 1))
  667. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
  668. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  670. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  671. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  673. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  674. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  675. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  676. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  677. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  678. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  679. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  680. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  682. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  683. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  684. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  685. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  686. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  687. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  688. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
  689. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  690. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  691. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
  692. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  693. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  694. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
  695. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  696. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  697. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  698. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  699. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  700. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
  701. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  702. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  703. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
  704. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  705. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  706. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  707. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  708. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  709. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  710. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  711. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  712. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  713. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  714. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  715. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  716. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  717. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  718. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  719. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  720. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Mint","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  721. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  722. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  723. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  724. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
  725. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  726. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  727. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  728. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mint","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  729. EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  730. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  731. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  732. EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742. --------------------------------------------------------
  743. -----------------------------------------------------
  744. local LocalPlayer = game:GetService("Players").LocalPlayer
  745. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  746.  
  747. ----------------------------------------
  748. local p = game.Players.LocalPlayer
  749. local char = p.Character
  750. local mouse = p:GetMouse()
  751. local larm = char["Left Arm"]
  752. local rarm = char["Right Arm"]
  753. local lleg = char["Left Leg"]
  754. local rleg = char["Right Leg"]
  755. local hed = char.Head
  756. local torso = char.Torso
  757. local hum = char.Humanoid
  758. local cam = game.Workspace.CurrentCamera
  759. local root = char.HumanoidRootPart
  760. local rj = root.RootJoint
  761. local deb = false
  762. local shot = 0
  763. local stanceToggle = "Idle1"
  764. local l = game:GetService("Lighting")
  765. local rs = game:GetService("RunService").RenderStepped
  766. local hb = game:GetService("RunService").Heartbeat
  767. local Stepped = game:GetService("RunService").Stepped
  768. math.randomseed(os.time())
  769. ----------------------------------------------------
  770. fat = Instance.new("BindableEvent",script)
  771. fat.Name = "Heartbeat"
  772.  
  773. script:WaitForChild("Heartbeat")
  774.  
  775. frame = 1/30
  776. tf = 0
  777. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  778. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  779. lastframe = tick()
  780. script.Heartbeat:Fire() --ayy lmao
  781.  
  782. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  783. tf = tf + s
  784. if tf >= frame then
  785. if allowframeloss then
  786. script.Heartbeat:Fire()
  787. lastframe=tick()
  788. else
  789. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  790. for i=1, math.floor(tf/frame) do
  791. script.Heartbeat:Fire()
  792. end
  793. lastframe=tick()
  794. end
  795. if tossremainder then
  796. tf = 0
  797. else
  798. tf = tf - frame * math.floor(tf/frame)
  799. end
  800. end
  801. end)
  802. ----------------------------------------------------
  803. for i,v in pairs(char:children()) do
  804. if v:IsA("Hat") then
  805. v:Destroy()
  806. end
  807. end
  808. for i,v in pairs (hed:GetChildren()) do
  809. if v:IsA("Sound") then
  810. v:Destroy()
  811. end
  812. end
  813. ----------------------------------------------------
  814. Debounces = {
  815. CanAttack = true;
  816. CanJoke = true;
  817. NoIdl = false;
  818. Slashing = false;
  819. Slashed = false;
  820. ks = false;
  821. }
  822. ----------------------------------------------------
  823. function weld5(part0, part1, c0, c1)
  824. weeld=Instance.new("Weld", part0)
  825. weeld.Part0=part0
  826. weeld.Part1=part1
  827. weeld.C0=c0
  828. weeld.C1=c1
  829. return weeld
  830. end
  831. ----------------------------------------------------
  832. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  833. local prt=Instance.new("Part")
  834. prt.Parent=prnt
  835. prt.Name="Part"
  836. prt.Size=siz
  837. prt.CanCollide=false
  838. prt.Anchored=anc
  839. prt.Locked=true
  840. prt.Transparency = trans
  841. prt.TopSurface=10
  842. prt.BottomSurface=10
  843. prt.FrontSurface=10
  844. prt.BackSurface=10
  845. prt.LeftSurface=10
  846. prt.RightSurface=10
  847. prt:BreakJoints()
  848. prt.CFrame=cf or CFrame.new(30,10,30)
  849. prt.Material=mat
  850. prt.BrickColor=BrickColor.new(col)
  851. m=Instance.new("SpecialMesh",prt)
  852. m.MeshType=6
  853. return prt
  854. end
  855. ----------------------------------------------------
  856. function lerp(a, b, t) -- Linear interpolation
  857. return a + (b - a)*t
  858. end
  859.  
  860. function slerp(a, b, t) --Spherical interpolation
  861. dot = a:Dot(b)
  862. if dot > 0.99999 or dot < -0.99999 then
  863. return t <= 0.5 and a or b
  864. else
  865. r = math.acos(dot)
  866. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  867. end
  868. end
  869.  
  870. function matrixInterpolate(a, b, t)
  871. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  872. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  873. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  874. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  875. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  876. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  877. local t = v1:Dot(v2)
  878. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  879. return CFrame.new()
  880. end
  881. return CFrame.new(
  882. v0.x, v0.y, v0.z,
  883. v1.x, v1.y, v1.z,
  884. v2.x, v2.y, v2.z,
  885. v3.x, v3.y, v3.z)
  886. end
  887. ----------------------------------------------------
  888. function genWeld(a,b)
  889. local w = Instance.new("Weld",a)
  890. w.Part0 = a
  891. w.Part1 = b
  892. return w
  893. end
  894. function weld(a, b)
  895. local weld = Instance.new("Weld")
  896. weld.Name = "W"
  897. weld.Part0 = a
  898. weld.Part1 = b
  899. weld.C0 = a.CFrame:inverse() * b.CFrame
  900. weld.Parent = a
  901. return weld;
  902. end
  903. ----------------------------------------------------
  904. function Lerp(c1,c2,al)
  905. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  906. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  907. for i,v in pairs(com1) do
  908. com1[i] = v+(com2[i]-v)*al
  909. end
  910. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  911. end
  912. ----------------------------------------------------
  913. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  914. local wld = Instance.new("Weld", wp1)
  915. wld.Part0 = wp0
  916. wld.Part1 = wp1
  917. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  918. end
  919. ----------------------------------------------------
  920. newWeld(torso, larm, -1.5, 0.5, 0)
  921. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  922. newWeld(torso, rarm, 1.5, 0.5, 0)
  923. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  924. newWeld(torso, hed, 0, 1.5, 0)
  925. newWeld(torso, lleg, -0.5, -1, 0)
  926. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  927. newWeld(torso, rleg, 0.5, -1, 0)
  928. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  929. newWeld(root, torso, 0, -1, 0)
  930. torso.Weld.C1 = CFrame.new(0, -1, 0)
  931. ----------------------------------------------------
  932. z = Instance.new("Sound",char) --Smile: print("â?º")
  933. z.SoundId = "rbxassetid://0"--410761150, 411368002
  934. z.Looped = true
  935. z.Pitch = 1
  936. z.Volume = 1
  937. wait(0.1)
  938. z:Play()
  939. ----------------------------------------------------
  940. New = function(Object, Parent, Name, Data)
  941. local Object = Instance.new(Object)
  942. for Index, Value in pairs(Data or {}) do
  943. Object[Index] = Value
  944. end
  945. Object.Parent = Parent
  946. Object.Name = Name
  947. return Object
  948. end
  949. ----------------------------------------------------
  950. --Left Arm
  951. m = Instance.new("Model")
  952. m.Name = "LeftArm"
  953.  
  954. p4 = Instance.new("Part", m)
  955. p4.BrickColor = BrickColor.new("Really black")
  956. p4.Material = Enum.Material.SmoothPlastic
  957. p4.Name = "LeftArmPlate"
  958. p4.Size = Vector3.new(1, 2, 1)
  959. p4.Transparency = 1
  960. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  961. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  962. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  963. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  964. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  965. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  966. b4 = Instance.new("SpecialMesh", p4)
  967. b4.MeshType = Enum.MeshType.Brick
  968. b4.Name = "Mesh"
  969. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  970.  
  971.  
  972.  
  973.  
  974.  
  975. w1 = Instance.new("Weld", p1)
  976. w1.Name = "Part_Weld"
  977. w1.Part0 = p1
  978. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  979. w1.Part1 = p2
  980. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  981. w2 = Instance.new("Weld", p2)
  982. w2.Name = "Part_Weld"
  983. w2.Part0 = p2
  984. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  985. w2.Part1 = p3
  986. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  987. w3 = Instance.new("Weld", p3)
  988. w3.Name = "LeftArmPlate_Weld"
  989. w3.Part0 = p3
  990. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  991. w3.Part1 = p4
  992. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  993. w4 = Instance.new("Weld", p4)
  994. w4.Name = "Part_Weld"
  995. w4.Part0 = p4
  996. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  997. w4.Part1 = p5
  998. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  999. w5 = Instance.new("Weld", p5)
  1000. w5.Name = "Part_Weld"
  1001. w5.Part0 = p5
  1002. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1003. w5.Part1 = p6
  1004. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1005. w6 = Instance.new("Weld", p6)
  1006. w6.Name = "Part_Weld"
  1007. w6.Part0 = p6
  1008. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1009. w6.Part1 = p7
  1010. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1011. w7 = Instance.new("Weld", p7)
  1012. w7.Name = "Part_Weld"
  1013. w7.Part0 = p7
  1014. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1015. w7.Part1 = p8
  1016. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1017. w8 = Instance.new("Weld", p8)
  1018. w8.Name = "Part_Weld"
  1019. w8.Part0 = p8
  1020. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1021. w8.Part1 = p9
  1022. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1023. w9 = Instance.new("Weld", p9)
  1024. w9.Name = "Part_Weld"
  1025. w9.Part0 = p9
  1026. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1027. w9.Part1 = p10
  1028. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1029. w10 = Instance.new("Weld", p10)
  1030. w10.Name = "Part_Weld"
  1031. w10.Part0 = p10
  1032. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1033. w10.Part1 = p11
  1034. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1035. w11 = Instance.new("Weld", p11)
  1036. w11.Name = "Part_Weld"
  1037. w11.Part0 = p11
  1038. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1039. w11.Part1 = p12
  1040. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1041. w12 = Instance.new("Weld", p12)
  1042. w12.Name = "Part_Weld"
  1043. w12.Part0 = p12
  1044. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1045. w12.Part1 = p13
  1046. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1047. w13 = Instance.new("Weld", p13)
  1048. w13.Name = "Part_Weld"
  1049. w13.Part0 = p13
  1050. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1051. w13.Part1 = p14
  1052. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1053. w14 = Instance.new("Weld", p14)
  1054. w14.Name = "Part_Weld"
  1055. w14.Part0 = p14
  1056. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1057. w14.Part1 = p15
  1058. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1059. w15 = Instance.new("Weld", p15)
  1060. w15.Name = "Part_Weld"
  1061. w15.Part0 = p15
  1062. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1063. w15.Part1 = p16
  1064. w15.C1 = CFrame.new(1.49142683, -27.338007, 3.81166649, 1, -2.04123751e-007, -6.57511308e-008, 1.67448022e-007, 0.500000119, 0.866025329, -1.06342185e-007, -0.866025269, 0.5)
  1065.  
  1066. m.Parent = larm
  1067. m:MakeJoints()
  1068. ----------------------------------------------------
  1069. local cor = Instance.new("Part", larm.LeftArm)
  1070. cor.Name = "Thingy"
  1071. cor.Locked = true
  1072. cor.BottomSurface = 0
  1073. cor.CanCollide = false
  1074. cor.Size = Vector3.new(1, 1, 1)
  1075. cor.Transparency = 1
  1076. cor.TopSurface = 0
  1077. corw = Instance.new("Weld", cor)
  1078. corw.Part0 = larm
  1079. corw.Part1 = cor
  1080. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1081. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1082. weld1 = Instance.new("Weld", larm.LeftArm)
  1083. weld1.Part0 = cor
  1084. weld1.Part1 = larm.LeftArm.LeftArmPlate
  1085. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1086. --Right Arm
  1087. m2 = Instance.new("Model")
  1088. m2.Name = "RightArm"
  1089.  
  1090. p7 = Instance.new("Part", m2)
  1091. p7.BrickColor = BrickColor.new("Institutional white")
  1092. p7.Material = Enum.Material.SmoothPlastic
  1093. p7.Transparency = 1
  1094. p7.Name = "RightArmPlate"
  1095. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1096. p7.FormFactor = Enum.FormFactor.Symmetric
  1097. p7.Size = Vector3.new(1, 2, 1)
  1098. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1099. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1100. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1101. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1102. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1103. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1104. b7 = Instance.new("SpecialMesh", p7)
  1105. b7.MeshType = Enum.MeshType.Brick
  1106. b7.Name = "Mesh"
  1107. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  1108.  
  1109.  
  1110. w1 = Instance.new("Weld", p1)
  1111. w1.Name = "Part_Weld"
  1112. w1.Part0 = p1
  1113. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1114. w1.Part1 = p2
  1115. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1116. w2 = Instance.new("Weld", p2)
  1117. w2.Name = "Part_Weld"
  1118. w2.Part0 = p2
  1119. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1120. w2.Part1 = p3
  1121. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1122. w3 = Instance.new("Weld", p3)
  1123. w3.Name = "Part_Weld"
  1124. w3.Part0 = p3
  1125. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1126. w3.Part1 = p4
  1127. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1128. w4 = Instance.new("Weld", p4)
  1129. w4.Name = "Part_Weld"
  1130. w4.Part0 = p4
  1131. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1132. w4.Part1 = p5
  1133. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1134. w5 = Instance.new("Weld", p5)
  1135. w5.Name = "Part_Weld"
  1136. w5.Part0 = p5
  1137. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1138. w5.Part1 = p6
  1139. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1140. w6 = Instance.new("Weld", p6)
  1141. w6.Name = "RightArmPlate_Weld"
  1142. w6.Part0 = p6
  1143. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1144. w6.Part1 = p7
  1145. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1146. w7 = Instance.new("Weld", p7)
  1147. w7.Name = "Part_Weld"
  1148. w7.Part0 = p7
  1149. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1150. w7.Part1 = p8
  1151. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1152. w8 = Instance.new("Weld", p8)
  1153. w8.Name = "Part_Weld"
  1154. w8.Part0 = p8
  1155. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1156. w8.Part1 = p9
  1157. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1158. w9 = Instance.new("Weld", p9)
  1159. w9.Name = "Part_Weld"
  1160. w9.Part0 = p9
  1161. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1162. w9.Part1 = p10
  1163. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1164. w10 = Instance.new("Weld", p10)
  1165. w10.Name = "Part_Weld"
  1166. w10.Part0 = p10
  1167. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1168. w10.Part1 = p11
  1169. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1170. w11 = Instance.new("Weld", p11)
  1171. w11.Name = "Part_Weld"
  1172. w11.Part0 = p11
  1173. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1174. w11.Part1 = p12
  1175. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1176. w12 = Instance.new("Weld", p12)
  1177. w12.Name = "Part_Weld"
  1178. w12.Part0 = p12
  1179. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1180. w12.Part1 = p13
  1181. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1182. w13 = Instance.new("Weld", p13)
  1183. w13.Name = "Part_Weld"
  1184. w13.Part0 = p13
  1185. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1186. w13.Part1 = p14
  1187. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1188. w14 = Instance.new("Weld", p14)
  1189. w14.Name = "Part_Weld"
  1190. w14.Part0 = p14
  1191. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1192. w14.Part1 = p15
  1193. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1194. w15 = Instance.new("Weld", p15)
  1195. w15.Name = "Part_Weld"
  1196. w15.Part0 = p15
  1197. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1198. w15.Part1 = p16
  1199. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1200. w16 = Instance.new("Weld", p16)
  1201. w16.Name = "Part_Weld"
  1202. w16.Part0 = p16
  1203. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1204. w16.Part1 = p17
  1205. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1206. w17 = Instance.new("Weld", p17)
  1207. w17.Name = "Part_Weld"
  1208. w17.Part0 = p17
  1209. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1210. w17.Part1 = p18
  1211. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1212. w18 = Instance.new("Weld", p18)
  1213. w18.Name = "Part_Weld"
  1214. w18.Part0 = p18
  1215. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1216. w18.Part1 = p19
  1217. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1218. m2.Parent = rarm
  1219. m2:MakeJoints()
  1220. ----------------------------------------------------
  1221. local cor2 = Instance.new("Part", rarm.RightArm)
  1222. cor2.Name = "Thingy"
  1223. cor2.Locked = true
  1224. cor2.BottomSurface = 0
  1225. cor2.CanCollide = false
  1226. cor2.Size = Vector3.new(1, 1, 1)
  1227. cor2.Transparency = 1
  1228. cor2.TopSurface = 0
  1229. corw2 = Instance.new("Weld", cor2)
  1230. corw2.Part0 = rarm
  1231. corw2.Part1 = cor2
  1232. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1233. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1234. weld2 = Instance.new("Weld", rarm.RightArm)
  1235. weld2.Part0 = cor2
  1236. weld2.Part1 = rarm.RightArm.RightArmPlate
  1237. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1238.  
  1239.  
  1240. --Zyrodoxa
  1241. m8 = Instance.new("Model")
  1242. m8.Name = "Zyrodoxa"
  1243.  
  1244. p16 = Instance.new("Part", m8)
  1245. p16.BrickColor = BrickColor.new("Instutional white")
  1246. p16.Material = Enum.Material.Metal
  1247. p16.Name = "Handle"
  1248. p16.CFrame = CFrame.new(2.7e-005, -11.8500671, -1.1215378, 1, -4.08902174e-008, -5.95266769e-008, -5.95264673e-008, 4.47054163e-008, -1.00000322, 4.08900469e-008, 1.00000393, 3.27827877e-007)
  1249. p16.CanCollide = false
  1250. p16.Locked = true
  1251. p16.FormFactor = Enum.FormFactor.Custom
  1252. p16.Size = Vector3.new(0, 0, 0)
  1253. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1254. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1255. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1256. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1257. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1258. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1259. b16 = Instance.new("BlockMesh", p16)
  1260. b16.Name = "Mesh"
  1261. b16.Scale = Vector3.new(0, 0, 0)
  1262.  
  1263. w16 = Instance.new("Weld", p16)
  1264. w16.Name = "Block_Weld"
  1265. w16.Part0 = p16
  1266. w16.C0 = CFrame.new(-2.69356715e-005, 1.12153399, 0.310250998, 1, -5.9526446e-008, 4.08900576e-008, -4.08900576e-008, 0, 1, -5.95264495e-008, -1, -2.43403981e-015)
  1267. w16.Part1 = p17
  1268. w16.C1 = CFrame.new(-2.69897973e-005, 0.238820702, 1.16951191, 1, -3.32849588e-008, -1.92696081e-009, -3.32849588e-008, -1, -5.96046448e-007, -1.92694105e-009, 5.96046448e-007, -1)
  1269.  
  1270. m8.Parent = rarm
  1271. m8:MakeJoints()
  1272. ----------------------------------------------------
  1273. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  1274. cor8.Name = "Thingy"
  1275. cor8.Locked = true
  1276. cor8.BottomSurface = 0
  1277. cor8.CanCollide = false
  1278. cor8.Size = Vector3.new(1, 1, 1)
  1279. cor8.Transparency = 1
  1280. cor8.TopSurface = 0
  1281. corw8 = Instance.new("Weld", cor8)
  1282. corw8.Part0 = rarm
  1283. corw8.Part1 = cor8
  1284. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  1285. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1286. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  1287. weld8.Part0 = cor8
  1288. weld8.Part1 = rarm.Zyrodoxa.Handle
  1289. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1290. ----------------------------------------------------
  1291. models = {m,m2,m3,m4,m5,m6,m7,m8}
  1292. parts = {}
  1293. Stepped:connect(function()
  1294. for i,v in pairs(models) do
  1295. for _, a in pairs(v:GetChildren()) do
  1296. if v:IsA("Part") and v.Name ~= "Thingy" then
  1297. table.insert(parts, a)
  1298. for i,v in pairs(parts) do
  1299. v.CanCollide = false
  1300. end
  1301. end
  1302. end
  1303. end
  1304. end)
  1305. ----------------------------------------------------
  1306. local animpose = "Idle1"
  1307. local lastanimpose = "Idle1"
  1308. local grab = false
  1309. local Smooth = 1
  1310. local sine = 0
  1311. local change = 1
  1312. local val = 0
  1313. local ffing = false
  1314. ----------------------------------------------------
  1315. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  1316.  
  1317. function FindHumanoids()
  1318. local function c_region(Position, Size)
  1319. local SizeOffset = Size/2
  1320. local Point1 = Position - SizeOffset
  1321. local Point2 = Position + SizeOffset
  1322. local a = Instance.new("Part", workspace)
  1323. a.Anchored = true
  1324. a.Size = Size
  1325. a.Position = Position
  1326. print("Hey!, I'm making a part!")
  1327. return Region3.new(Point1, Point2)
  1328. end
  1329.  
  1330. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1331. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1332. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1333. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1334.  
  1335. local regions = {a, b, c, d}
  1336.  
  1337. local found_humanoids = {}
  1338. local already_found = {char.Name}
  1339.  
  1340. for _, region in pairs(regions) do
  1341. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  1342. print(part, part.Parent, part.Name) ---nope
  1343. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1344. local humanoid = part.Parent:FindFirstChild("Humanoid")
  1345. local name = humanoid.Parent.Name
  1346. local exists = false
  1347. for _, n in pairs(already_found) do
  1348. if n == name then
  1349. exists = true
  1350. end
  1351. end
  1352. if not exists then
  1353. table.insert(already_found, name)
  1354. table.insert(found_humanoids, humanoid)
  1355. end
  1356. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1357. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  1358. local name = humanoid.Parent.Parent.Name
  1359. local exists = false
  1360. for _, n in pairs(already_found) do
  1361. if n == name then
  1362. exists = true
  1363. end
  1364. end
  1365. if not exists then
  1366. table.insert(already_found, name)
  1367. table.insert(found_humanoids, humanoid)
  1368. end
  1369. end
  1370. end
  1371. end
  1372. return found_humanoids
  1373. end
  1374.  
  1375. local humanoids = FindHumanoids()
  1376. if #humanoids == 0 then
  1377. for i, v in pairs(humanoids) do
  1378. print(v.Parent.Name)
  1379. if Debounces.Slashing == true then
  1380. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  1381. elseif Debounces.Slashing == false then
  1382. wait()
  1383. end
  1384. end
  1385. wait(0.3)
  1386. end]]--
  1387. ----------------------------------------------------
  1388. --[[mouse.KeyDown:connect(function(key)
  1389. if key == "f" then
  1390. if Debounces.CanAttack == true then
  1391. Debounces.CanAttack = false
  1392. Debounces.NoIdl = true
  1393. Debounces.on = true
  1394. for i = 1, 20 do
  1395. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1396. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1397. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  1398. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1399. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1400. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1401. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1402. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6,0.6,-0.2)*CFrame.Angles(math.rad(8),math.rad(22),math.rad(15)), 0.8)
  1403. 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.5)
  1404. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6,0.6,0.2)*CFrame.Angles(math.rad(-8),math.rad(12),math.rad(-12)), 0.8)
  1405. 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)
  1406. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)), 0.5)
  1407. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 0.5)
  1408. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  1409. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  1410. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1)
  1411. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(5)), 0.1)
  1412. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(0)), 0.1)
  1413. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(-5)), 0.1)
  1414. if Debounces.on == false then
  1415. break
  1416. end
  1417. fat.Event:wait()
  1418. end
  1419. end
  1420. end
  1421. end)]]--
  1422. ----------------------------------------------------
  1423. mod4 = Instance.new("Model",char)
  1424.  
  1425. ptez = {0.7, 0.8, 0.9, 1}
  1426.  
  1427. function FindNearestTorso(Position,Distance,SinglePlayer)
  1428. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1429. local List = {}
  1430. for i,v in pairs(workspace:GetChildren())do
  1431. if v:IsA("Model")then
  1432. if v:findFirstChild("Torso")then
  1433. if v ~= char then
  1434. if(v.Torso.Position -Position).magnitude <= Distance then
  1435. table.insert(List,v)
  1436. end
  1437. end
  1438. end
  1439. end
  1440. end
  1441. return List
  1442. end
  1443.  
  1444. function Slam()
  1445. local part=Instance.new('Part',mod4)
  1446. part.Anchored=true
  1447. part.CanCollide=false
  1448. part.FormFactor='Custom'
  1449. part.Size=Vector3.new(.2,.2,.2)
  1450. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1451. part.Transparency=.7
  1452. part.BrickColor=BrickColor.new('Really black')
  1453. mesh=Instance.new('SpecialMesh',part)
  1454. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1455. mesh.Scale=Vector3.new(10,10,10)
  1456. local part2=Instance.new('Part',mod4)
  1457. part2.Anchored=true
  1458. part2.CanCollide=false
  1459. part2.FormFactor='Custom'
  1460. part2.Size=Vector3.new(.2,.2,.2)
  1461. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1462. part2.Transparency=.7
  1463. part2.BrickColor=BrickColor.new('Institutional white')
  1464. mesh2=Instance.new('SpecialMesh',part2)
  1465. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1466. mesh2.Scale=Vector3.new(9,1.5,9)
  1467. x = Instance.new("Sound",larm)
  1468. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1469. x.Pitch = ptez[math.random(1,#ptez)]
  1470. x.Volume = 1
  1471. wait(.1)
  1472. x1 = Instance.new("Sound",larm)
  1473. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1474. x1.Pitch = ptez[math.random(1,#ptez)]
  1475. x1.Volume = 1
  1476. wait(.1)
  1477. x:Play()
  1478. x1:Play()
  1479. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1480. if v:FindFirstChild('Humanoid') then
  1481. v.Humanoid:TakeDamage(math.random(30,45))
  1482. end
  1483. end
  1484. coroutine.resume(coroutine.create(function()
  1485. for i=0,0.62,0.13 do
  1486. wait()
  1487. part.CFrame=part.CFrame
  1488. part.Transparency=i
  1489. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1490. part2.CFrame=part2.CFrame
  1491. part2.Transparency=i
  1492. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1493. end
  1494. part.Parent=nil
  1495. part2.Parent=nil
  1496. x:Destroy()
  1497. end))
  1498. end
  1499. ----------------------------------------------------
  1500. wPart = function(x,y,z,color,tr,cc,an,parent)
  1501. local wp = Instance.new('WedgePart',parent or Weapon)
  1502. wp.formFactor = 'Custom'
  1503. wp.Size = Vector3.new(x,y,z)
  1504. wp.BrickColor = BrickColor.new(color)
  1505. wp.CanCollide = cc
  1506. wp.Transparency = tr
  1507. wp.Anchored = an
  1508. wp.TopSurface,wp.BottomSurface = 0,0
  1509. return wp
  1510. end
  1511.  
  1512. Mesh = function(par,num,x,y,z)
  1513. local msh = _
  1514. if num == 1 then
  1515. msh = Instance.new("CylinderMesh",par)
  1516. elseif num == 2 then
  1517. msh = Instance.new("SpecialMesh",par)
  1518. msh.MeshType = 3
  1519. elseif num == 3 then
  1520. msh = Instance.new("BlockMesh",par)
  1521. elseif num == 4 then
  1522. msh = Instance.new("SpecialMesh",par)
  1523. msh.MeshType = "Torso"
  1524. elseif type(num) == 'string' then
  1525. msh = Instance.new("SpecialMesh",par)
  1526. msh.MeshId = num
  1527. end
  1528. msh.Scale = Vector3.new(x,y,z)
  1529. return msh
  1530. end
  1531.  
  1532. local function CFrameFromTopBack(at, top, back)
  1533. local right = top:Cross(back)
  1534. return CFrame.new(at.x, at.y, at.z,
  1535. right.x, top.x, back.x,
  1536. right.y, top.y, back.y,
  1537. right.z, top.z, back.z)
  1538. end
  1539.  
  1540. function Triangle(a, b, c)
  1541. local edg1 = (c-a):Dot((b-a).unit)
  1542. local edg2 = (a-b):Dot((c-b).unit)
  1543. local edg3 = (b-c):Dot((a-c).unit)
  1544. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1545. a, b, c = a, b, c
  1546. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1547. a, b, c = b, c, a
  1548. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1549. a, b, c = c, a, b
  1550. else
  1551. print("unreachable")
  1552. end
  1553. local len1 = (c-a):Dot((b-a).unit)
  1554. local len2 = (b-a).magnitude - len1
  1555. local width = (a + (b-a).unit*len1 - c).magnitude
  1556. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1557. local list = {}
  1558. if len1 > 0.01 then
  1559. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1560. local sz = Vector3.new(0.2, width, len1)
  1561. w1.Size = sz
  1562. local sp = Mesh(w1,2,0,0,0)
  1563. sp.MeshType='Wedge'
  1564. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  1565. w1:BreakJoints()
  1566. w1.Anchored = true
  1567. w1.Transparency = 0.7
  1568. Spawn(function()
  1569. for i=0,1,0.1 do
  1570. fat.Event:wait()
  1571. w1.Transparency=w1.Transparency+0.03
  1572. end
  1573. end)
  1574. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1575. table.insert(list,w1)
  1576. end
  1577. if len2 > 0.01 then
  1578. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1579. local sz = Vector3.new(0.2, width, len2)
  1580. w2.Size = sz
  1581. local sp = Mesh(w2,2,0,0,0)
  1582. sp.MeshType='Wedge'
  1583. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  1584. w2:BreakJoints()
  1585. w2.Anchored = true
  1586. w2.Transparency = 0.7
  1587. Spawn(function()
  1588. for i=0,1,0.1 do
  1589. fat.Event:wait()
  1590. w2.Transparency=w2.Transparency+0.03
  1591. end
  1592. end)
  1593. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1594. table.insert(list,w2)
  1595. end
  1596. return unpack(list)
  1597. end
  1598.  
  1599. function trail(p,t,h)
  1600. Spawn(function()
  1601. local blcf = p.CFrame
  1602. local scfr = blcf
  1603. for i=1,t do
  1604. local blcf = p.CFrame
  1605. if scfr and (p.Position-scfr.p).magnitude > .1 then
  1606. 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)
  1607. if a then game.Debris:AddItem(a,1) end
  1608. if b then game.Debris:AddItem(b,1) end
  1609. 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)
  1610. if a then game.Debris:AddItem(a,1) end
  1611. if b then game.Debris:AddItem(b,1) end
  1612. scfr = blcf
  1613. elseif not scfr then
  1614. scfr = blcf
  1615. end
  1616. fat.Event:wait()
  1617. end
  1618. scfr=nil
  1619. end)
  1620. end
  1621. --trail(char.Sword.Blade,1e1000,5)
  1622. ----------------------------------------------------
  1623. function Dmg()
  1624. local partofdeath = rarm.Zyrodoxa.Hitbox
  1625. local function CreateRegion3FromLocAndSize(Position, Size)
  1626. local SizeOffset = Size/2
  1627. local Point1 = Position - SizeOffset
  1628. local Point2 = Position + SizeOffset
  1629. return Region3.new(Point1, Point2)
  1630. end
  1631. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  1632. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  1633. Spawn(function()
  1634. if Debounces.Slashing == true and Debounces.Slashed == false then
  1635. Debounces.Slashed = true
  1636. ypcall(function()
  1637. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  1638. humanoid:TakeDamage(math.random(10,18))
  1639. end)
  1640. wait(.4)
  1641. Debounces.Slashed = false
  1642. end
  1643. end)
  1644. end
  1645. end
  1646. ----------------------------------------------------
  1647. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1648. ptz = {0.7, 0.8, 0.9, 1}
  1649. idz = {"161006212", "161006195"}
  1650. function attackone()
  1651. for i = 1, 13 do
  1652. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.3, -1, -0.3) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1653. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  1654. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.5, -0.3)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-10)), 0.3)
  1655. 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.3)
  1656. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0.4)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.5)
  1657. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(-40),math.rad(0)), 0.5)
  1658. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  1659. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  1660. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  1661. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(18), math.rad(0), math.rad(15)), 0.7)
  1662. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.4, -1.3, 0) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0)), 0.5)
  1663. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(15)), 0.5)
  1664. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.7, -0.9, -0.4) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.5)
  1665. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5)
  1666. if Debounces.on == false then
  1667. break
  1668. end
  1669. fat.Event:wait()
  1670. end
  1671. trail(rarm.Zyrodoxa.Hitbox,20,2)
  1672. Debounces.Slashing = true
  1673. wait(0.2)
  1674. --[[z = Instance.new("Sound", hed)
  1675. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1676. z.Pitch = ptz[math.random(1,#ptz)]
  1677. z.Volume = 1
  1678. wait(.01)
  1679. z:Play()]]--
  1680. for i = 1, 14 do
  1681. Dmg()
  1682. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1683. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  1684. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0.4)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(100)), 0.4)
  1685. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), 0.4)
  1686. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, -0.3)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-20)), 0.4)
  1687. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 0.4)
  1688. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  1689. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1690. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  1691. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1692. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.7, -0.9, -0.4) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0)), 0.5)
  1693. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-14), math.rad(0), math.rad(15)), 0.5)
  1694. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.5)
  1695. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(-10)), 0.5)
  1696. if Debounces.on == false then break end
  1697. rs:wait()
  1698. end
  1699. Debounces.Slashing = false
  1700. end
  1701. function attacktwo()
  1702. Debounces.Slashing = true
  1703. for i = 1, 14 do
  1704. Dmg()
  1705. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  1706. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  1707. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(80)), 0.7)
  1708. 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)
  1709. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (-70)), 0.5)
  1710. 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.4)
  1711. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.5)
  1712. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1713. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5)
  1714. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1715. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  1716. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1717. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  1718. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1719. if Debounces.on == false then
  1720. break
  1721. end
  1722. rs:wait()
  1723. end
  1724. end
  1725. ----------------------------------------------------
  1726.  
  1727. ----------------------------------------------------
  1728. definition = 5
  1729. bc = {}
  1730. bezierparts = {}
  1731. function NoOutline(Part)
  1732. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1733. end
  1734. function draw(p,d)
  1735. for i=1,d do
  1736. local t = i/d
  1737. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  1738. end
  1739.  
  1740. Spawn(function() fat.Event:wait()
  1741. for i,v in pairs(bezierparts) do
  1742. v.Transparency = 1
  1743. end
  1744. end)
  1745. end
  1746. --local points = {larm.Position,rarn.Position,invisipart.Position}
  1747. --draw(points,definition)
  1748.  
  1749. fat.Event:wait()
  1750.  
  1751. rpart = Instance.new("Part",rarm)
  1752. NoOutline(rpart)
  1753. rpart.Anchored = false
  1754. rpart.Size = Vector3.new(1,1,1)
  1755. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1756. rpart.Transparency = 1
  1757. newWeld(rarm, rpart, 0, 0, 0)
  1758. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1759. lpart = Instance.new("Part",larm)
  1760. NoOutline(lpart)
  1761. lpart.Anchored = false
  1762. lpart.Size = Vector3.new(1,1,1)
  1763. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  1764. lpart.Transparency = 1
  1765. newWeld(larm, lpart, 0, 0, 0)
  1766. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1767. invisipart = Instance.new("Part",torso)
  1768. NoOutline(invisipart)
  1769. invisipart.Anchored = false
  1770. invisipart.Size = Vector3.new(1,1,1)
  1771. invisipart.Transparency = 1
  1772. invisipart.CFrame = torso.CFrame
  1773. newWeld(torso, invisipart, 0, 0, 0)
  1774. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  1775. table.insert(bezierparts, rpart)
  1776. table.insert(bezierparts, lpart)
  1777. table.insert(bezierparts, invisipart)
  1778. for i = 1, 40 do
  1779. local points = {lpart.Position,invisipart.Position,rpart.Position}
  1780. draw(points,definition)
  1781. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  1782. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.1)
  1783. 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)
  1784. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-90)), 0.1)
  1785. 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)
  1786. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0), math.rad(0)), 0.2)
  1787. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1788. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1789. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1790. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  1791. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1792. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  1793. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1794. if Debounces.on == false then
  1795. break
  1796. end
  1797. fat.Event:wait()
  1798. end
  1799. for i,v in pairs(bezierparts) do
  1800. v:Destroy()
  1801. end
  1802. --draw(points,definition)
  1803. if Debounces.CanAttack == false then
  1804. Debounces.CanAttack = true
  1805. Debounces.NoIdl = false
  1806. Debounces.on = false
  1807. end
  1808.  
  1809. ----------------------------------------------------
  1810. ----------------------------------------------------
  1811. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1812. mouse.KeyDown:connect(function(key)
  1813. if key == "q" then
  1814. if Debounces.CanJoke == true then
  1815. Debounces.CanJoke = false
  1816. u = Instance.new("Sound",char)
  1817. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1818. u.Pitch = pt[math.random(1,#pt)]
  1819. u.Volume = 0.3
  1820. u2 = Instance.new("Sound",char)
  1821. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1822. u2.Pitch = u.Pitch
  1823. u2.Volume = 0.3
  1824. u3 = Instance.new("Sound",char)
  1825. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1826. u3.Pitch = u.Pitch
  1827. u3.Volume = 0.3
  1828. wait(.01)
  1829. u:Play()
  1830. u2:Play()
  1831. u3:Play()
  1832. wait(1.5)
  1833. u:Destroy()
  1834. u2:Destroy()
  1835. u3:Destroy()
  1836. if Debounces.CanJoke == false then
  1837. Debounces.CanJoke = true
  1838. end
  1839. end
  1840. end
  1841. end)
  1842. -----------------------------------------------------
  1843. mouse.KeyDown:connect(function(key)
  1844. if key == "l" then
  1845. Debounces.on = true
  1846. Debounces.NoIdl = true
  1847. Debounces.ks = true
  1848. for i = 1, 20 do
  1849. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(3.,0,0), 0.2)
  1850. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1851. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,-0.5,0),0.2)
  1852. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1853. if Debounces.on == false then break end
  1854. fat.Event:wait()
  1855. end
  1856. handleweld:remove()
  1857. local Weld = Instance.new("Weld",handle)
  1858. Weld.Part0 = Character["Right Arm"]
  1859. Weld.Part1 = handle
  1860. Weld.C0 = CFrame.new(0,-1,-0.2)*CFrame.Angles(-1.55,1.55,0)
  1861. Debounces.on = false
  1862. Debounces.NoIdl = false
  1863. Debounces.ks = false
  1864. WOW:disconnect()
  1865. WOW2:disconnect()
  1866. WOW3:disconnect()
  1867. WOW4:disconnect()
  1868. mouse.Button1Down:connect(function()
  1869. print("IT WORKS LAZY")
  1870. end)
  1871. end
  1872. end)
  1873. ----------------------------------------------------
  1874. WOW = mouse.KeyDown:connect(function(key)
  1875. if key == "x" then
  1876. Character.Humanoid.WalkSpeed = 0
  1877. Debounces.on = true
  1878. Debounces.NoIdl = true
  1879. Debounces.ks = true
  1880. for i = 1, 20 do
  1881. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(2.5,0,1.3), 0.2)
  1882. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1883. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,-1,0),0.2)
  1884. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1885. if Debounces.on == false then break end
  1886. fat.Event:wait()
  1887. end
  1888. local HitBox = Instance.new("Part",Character["Right Arm"])
  1889. HitBox.Size = Vector3.new(3,3,3)
  1890. HitBox.Transparency = 1
  1891. HitBox.CanCollide = false
  1892. local HitBox2 = Instance.new("Weld",HitBox)
  1893. HitBox2.Part0 = Character["Right Arm"]
  1894. HitBox2.Part1 = HitBox
  1895. HitBox2.C0 = CFrame.new(0,-1.1,0)
  1896. HitBox.Touched:connect(function(hit)
  1897. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  1898. HitBox:remove()
  1899. hit.Parent.Head.Transparency = 1e9
  1900. local SFXZ = Instance.new("Sound",hit.Parent.Torso)
  1901. SFXZ.SoundId = "rbxassetid://206082273"
  1902. SFXZ.Volume = 1
  1903. SFXZ.Pitch = 1
  1904. SFXZ.Looped = false
  1905. wait(0.01)
  1906. SFXZ:Play()
  1907. local HitBox = Instance.new("Part",Character["Right Arm"])
  1908. HitBox.Transparency = 0
  1909. HitBox.Size = Vector3.new(1,1,1)
  1910. HitBox.BrickColor = hit.Parent.Head.BrickColor
  1911. HitBox.CanCollide = false
  1912. local HitBoxM = Instance.new("SpecialMesh",HitBox)
  1913. HitBoxM.MeshType = "Head"
  1914. HitBoxM.Scale = Vector3.new(1.25,1.25,1.25)
  1915. local HitBox2 = Instance.new("Weld",HitBox)
  1916. HitBox2.Part0 = Character["Right Arm"]
  1917. HitBox2.Part1 = HitBox
  1918. HitBox2.C0 = CFrame.new(0,-1.1,0)
  1919. local D = Instance.new("Decal",HitBox)
  1920. D.Face = "Front"
  1921. D.Texture = hit.Parent.Head.face.Texture
  1922. hit.Parent.Head.face:remove()
  1923. local partasdeff = Instance.new("ParticleEmitter",hit.Parent.Torso)
  1924. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1925. partasdeff.LightEmission = .1
  1926. partasdeff.Size = NumberSequence.new(0.2)
  1927. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1928. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1929. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1930. partasdeff.Transparency = bbb
  1931. partasdeff.Size = aaa
  1932. partasdeff.ZOffset = .9
  1933. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1934. partasdeff.LockedToPart = false
  1935. partasdeff.EmissionDirection = "Top"
  1936. partasdeff.Lifetime = NumberRange.new(1, 2)
  1937. partasdeff.Rate = 1000
  1938. partasdeff.Rotation = NumberRange.new(-100, 100)
  1939. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1940. partasdeff.Speed = NumberRange.new(10)
  1941. partasdeff.VelocitySpread = 20
  1942. partasdeff.Enabled=true
  1943. hit.Parent.Head:remove()
  1944. wait(1)
  1945. for i = 1, 20 do
  1946. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(1.66,0,-1), 0.2)
  1947. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1948. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,0,0),0.2)
  1949. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1950. if Debounces.on == false then break end
  1951. fat.Event:wait()
  1952. end
  1953. chatfunc("-oh shit, so tasty nom")
  1954. for i = 1,14 do
  1955. HitBoxM.Scale = HitBoxM.Scale - Vector3.new(0.1,0.1,0.1)
  1956. game:GetService("RunService").RenderStepped:wait()
  1957. end
  1958. HitBox:remove()
  1959. wait(0.5)
  1960. partasdeff.Enabled = false
  1961. HitBox:remove()
  1962. Debounces.on = false
  1963. Debounces.NoIdl = false
  1964. Debounces.ks = false
  1965. Character.Humanoid.WalkSpeed = 16
  1966. local a = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
  1967. a.Transparency = 1
  1968. a.Size = Vector3.new(.2,.2,.2)
  1969. local b = Instance.new("Weld",a.Parent.Parent)
  1970. b.Part0 = a
  1971. b.Part1 = a.Parent
  1972. b.C0 = CFrame.new(0,.3,0.65)
  1973. local p2mit = Instance.new("ParticleEmitter",a)
  1974. p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
  1975. p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
  1976. p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)})
  1977. p2mit.Lifetime = NumberRange.new(1)
  1978. p2mit.Rate = 10
  1979. p2mit.VelocitySpread = 10
  1980. p2mit.Acceleration = Vector3.new(0,-10,0)
  1981. p2mit.Speed = NumberRange.new(0)
  1982. coroutine.wrap(function()
  1983. wait(15)
  1984. p2mit.Enabled=false
  1985. game:service'Debris':AddItem(a,2)
  1986. end)()
  1987. end
  1988. end)
  1989. for i = 1, 20 do
  1990. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(2.9,0,0), 0.2)
  1991. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  1992. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,1,0),0.2)
  1993. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  1994. if Debounces.on == false then break end
  1995. fat.Event:wait()
  1996. end
  1997. wait(0.5)
  1998. HitBox:remove()
  1999. wait(3)
  2000. Debounces.on = false
  2001. Debounces.NoIdl = false
  2002. Debounces.ks = false
  2003. Character.Humanoid.WalkSpeed = 16
  2004. end
  2005. end)
  2006. ----------------------------------------------------
  2007. WOW2 = mouse.KeyDown:connect(function(key)
  2008. if key == "z" then
  2009. Character.Humanoid.WalkSpeed = 0
  2010. Debounces.on = true
  2011. Debounces.NoIdl = true
  2012. Debounces.ks = true
  2013. for i = 1, 20 do
  2014. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(2.5,0,1.3), 0.2)
  2015. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  2016. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,-1,0),0.2)
  2017. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  2018. if Debounces.on == false then break end
  2019. fat.Event:wait()
  2020. end
  2021. local HitBox = Instance.new("Part",Character["Right Arm"])
  2022. HitBox.Size = Vector3.new(3,3,3)
  2023. HitBox.Transparency = 1
  2024. HitBox.CanCollide = false
  2025. local HitBox2 = Instance.new("Weld",HitBox)
  2026. HitBox2.Part0 = Character["Right Arm"]
  2027. HitBox2.Part1 = HitBox
  2028. HitBox2.C0 = CFrame.new(0,-1.1,0)
  2029. HitBox.Touched:connect(function(hit)
  2030. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  2031. HitBox:remove()
  2032. local SFXZ = Instance.new("Sound",hit.Parent.Torso)
  2033. SFXZ.SoundId = "rbxassetid://743886825"
  2034. SFXZ.Volume = 1
  2035. SFXZ.Pitch = 1
  2036. SFXZ.Looped = false
  2037. SFXZ:Play()
  2038. hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(1.56,0,0)
  2039. wait(1.5)
  2040. hit.Parent.Torso.Anchored = true
  2041. torso.CFrame = hit.Parent.Torso.CFrame*CFrame.new(0,0,-2)*CFrame.Angles(-1.55,1.55,0)
  2042. Head.Anchored = true
  2043. hit.Parent.Head.Anchored = true
  2044. wait(0.01)
  2045. for i = 1, 20 do
  2046. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(2.4,0,0.5), 0.2)
  2047. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  2048. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(0.8,0,0), 0.2)
  2049. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  2050. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0.3,0,0),0.2)
  2051. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-0.5,0)*CFrame.Angles(0,0,0), 0.5)
  2052. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.3, 0) * CFrame.Angles(-1.56,0,-0.5), 0.2)
  2053. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(0,0,0), 0.4)
  2054. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1.3, 0) * CFrame.Angles(-1.56,0,0.5), 0.2)
  2055. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(0,0,0), 0.4)
  2056. if Debounces.on == false then break end
  2057. fat.Event:wait()
  2058. end
  2059. wait(1.2)
  2060. chatfunc("lol rekt noob")
  2061. for i = 1, 20 do
  2062. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.5,-0.2,-0.8)*CFrame.Angles(0.4,0,-0.5), 0.2)
  2063. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  2064. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(0.8,0,0), 0.2)
  2065. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  2066. if Debounces.on == false then break end
  2067. fat.Event:wait()
  2068. end
  2069. wait(2.5)
  2070. hit.Parent:BreakJoints()
  2071. wait(2.5)
  2072. Head.Anchored = false
  2073. Debounces.on = false
  2074. Debounces.NoIdl = false
  2075. Debounces.ks = false
  2076. Character.Humanoid.WalkSpeed = 16
  2077. end
  2078. end)
  2079. for i = 1, 20 do
  2080. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(1,0,-0.4), 0.2)
  2081. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  2082. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,1.4,0),0.2)
  2083. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  2084. if Debounces.on == false then break end
  2085. fat.Event:wait()
  2086. end
  2087. end
  2088. end)
  2089. ----------------------------------------------------
  2090. WOW3 = mouse.KeyDown:connect(function(key)
  2091. if key == "r" then
  2092. Debounces.on = true
  2093. Debounces.NoIdl = true
  2094. Debounces.ks = true
  2095. for i = 1, 20 do
  2096. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(1.55,0,1.3), 0.2)
  2097. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  2098. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,-1,0),0.2)
  2099. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  2100. if Debounces.on == false then break end
  2101. fat.Event:wait()
  2102. end
  2103. local HitBox = Instance.new("Part",Character["Right Arm"])
  2104. HitBox.Size = Vector3.new(3,3,3)
  2105. HitBox.Transparency = 1
  2106. HitBox.CanCollide = false
  2107. local HitBox2 = Instance.new("Weld",HitBox)
  2108. HitBox2.Part0 = Character["Right Arm"]
  2109. HitBox2.Part1 = HitBox
  2110. HitBox2.C0 = CFrame.new(0,-1.1,0)
  2111. HitBox.Touched:connect(function(hit)
  2112. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  2113. local SFXZ = Instance.new("Sound",hit.Parent.Torso)
  2114. SFXZ.SoundId = "rbxassetid://283674624"
  2115. SFXZ.Volume = 1
  2116. SFXZ.Pitch = 1
  2117. SFXZ.Looped = false
  2118. SFXZ:Play()
  2119. HitBox:remove()
  2120. hit.Parent.Humanoid:TakeDamage(9999999999999)
  2121. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  2122. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2123. Fl.velocity = Character.Torso.CFrame.lookVector*350
  2124. wait(0.1)
  2125. Fl:remove()
  2126. coroutine.resume(coroutine.create(function()
  2127. for i = 1,30 do
  2128. local H = Instance.new("Part",hit.Parent.Head)
  2129. H.Size = Vector3.new(1,1,1)
  2130. H.BrickColor = BrickColor.new("White")
  2131. H.CanCollide = false
  2132. H.Anchored = true
  2133. H.CFrame = hit.Parent.Torso.CFrame*CFrame.new(0,0,1)*CFrame.Angles(0,0,0)
  2134. local H2 = Instance.new("SpecialMesh",H)
  2135. H2.MeshId = "rbxassetid://3270017"
  2136. coroutine.resume(coroutine.create(function()
  2137. for i = 1,200 do
  2138. H2.Scale = H2.Scale + Vector3.new(4,4,4)
  2139. H.Transparency = H.Transparency + 0.09
  2140. wait(0.00000000001)
  2141. end
  2142. end))
  2143. wait(0.0000000000001)
  2144. end
  2145. end))
  2146. end
  2147. end)
  2148. for i = 1, 20 do
  2149. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(1.55,0,-0.4), 0.2)
  2150. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5)
  2151. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,1.4,0),0.2)
  2152. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5)
  2153. if Debounces.on == false then break end
  2154. fat.Event:wait()
  2155. end
  2156. HitBox:remove()
  2157. Debounces.on = false
  2158. Debounces.NoIdl = false
  2159. Debounces.ks = false
  2160.  
  2161. end
  2162. end)
  2163. ----------------------------------------------------
  2164. mouse.KeyDown:connect(function(key)
  2165. if key == "j" then
  2166. if Debounces.CanJoke == true then
  2167. Debounces.CanJoke = false
  2168. z = Instance.new("Sound",hed)
  2169. z.SoundId = "rbxassetid://415859013"
  2170. z.Pitch = pitches[math.random(1,#pitches)]
  2171. z.Volume = 1
  2172. wait()
  2173. z:Play()
  2174. wait(2)
  2175. z:Destroy()
  2176. if Debounces.CanJoke == false then
  2177. Debounces.CanJoke = true
  2178. end
  2179. end
  2180. end
  2181. end)
  2182.  
  2183. ----------------------------------------------------
  2184. Grab = false
  2185. WOW4 = mouse.KeyDown:connect(function(key)
  2186. if key == "e" then
  2187. Debounces.on = true
  2188. Debounces.NoIdl = true
  2189. Debounces.ks = true
  2190. if Grab == false then
  2191. gp = nil
  2192. for i = 1, 20 do
  2193. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  2194. 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.5)
  2195. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
  2196. 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)
  2197. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  2198. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2199. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  2200. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2201. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  2202. 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)
  2203. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  2204. 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)
  2205. if Debounces.on == false then break end
  2206. fat.Event:wait()
  2207. end
  2208. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  2209. ht = hit.Parent
  2210. for i,v in pairs(ht:GetChildren()) do
  2211. if v:IsA("Part") then
  2212. v.CanCollide = false
  2213. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  2214. end
  2215. end
  2216. hum1=ht:FindFirstChild('Humanoid')
  2217. if hum1 ~= nil then
  2218. if Debounces.ks==true then
  2219. z = Instance.new("Sound",hed)
  2220. z.SoundId = "rbxassetid://169380525"
  2221. z.Volume = 1
  2222. z:Play()
  2223. Debounces.ks=false
  2224. end
  2225. hum1.PlatformStand=true
  2226. hum1:ChangeState'Physics'
  2227. gp = ht
  2228. Grab = true
  2229. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  2230. asd.Parent = larm
  2231. asd.Name = "asd"
  2232. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  2233. stanceToggle = "Grabbed"
  2234. --[[elseif hum1 == nil then
  2235. con1:disconnect()
  2236. wait() return]]--
  2237. end
  2238. end)
  2239. for i = 1, 20 do
  2240. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  2241. 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.5)
  2242. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  2243. 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)
  2244. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  2245. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2246. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  2247. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2248. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  2249. 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)
  2250. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  2251. 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)
  2252. if Debounces.on == false then break end
  2253. fat.Event:wait()
  2254. end
  2255. con1:disconnect()
  2256. Debounces.on = false
  2257. Debounces.NoIdl = false
  2258. elseif Grab == true then
  2259. Grab = false
  2260. for i = 1, 16 do
  2261. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.3)
  2262. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.5)
  2263. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), 0.3)
  2264. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(60)), 0.5)
  2265. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  2266. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2267. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  2268. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2269. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  2270. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.4)
  2271. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  2272. 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)
  2273. if Debounces.on == false then end
  2274. rs:wait()
  2275. end
  2276. for i = 1, 12 do
  2277. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.6)
  2278. 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.5)
  2279. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.3,-0.1)*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-32)), 0.6)
  2280. 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)
  2281. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(40), math.rad(14)),0.6)
  2282. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2283. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.6)
  2284. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), 0.5)
  2285. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  2286. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.4)
  2287. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.4, .2, -0.8) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.6)
  2288. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.4)
  2289. if Debounces.on == false then end
  2290. rs:wait()
  2291. end
  2292. Slam()
  2293. if gp ~= nil then
  2294. for i,v in pairs(larm:GetChildren()) do
  2295. if v.Name == "asd" and v:IsA("Weld") then
  2296. v:Remove()
  2297. end
  2298. if v:IsA("Part") then
  2299. v.CanCollide = true
  2300. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  2301. end
  2302. end
  2303. end
  2304. stanceToggle = "Idle1"
  2305. Debounces.on = false
  2306. Debounces.NoIdl = false
  2307. elseif ht == nil then wait()
  2308. Grab = false
  2309. Debounces.on = false
  2310. Debounces.NoIdl = false
  2311. end
  2312. end
  2313. end)
  2314. ----------------------------------------------------
  2315. Change = false
  2316. mouse.KeyDown:connect(function(key)
  2317. if key == "n" then
  2318. if Change == false then
  2319. Change = true
  2320. stanceToggle = "Idle2"
  2321. elseif Change == true then
  2322. Change = false
  2323. stanceToggle = "Idle1"
  2324. end
  2325. end
  2326. end)
  2327. ----------------------------------------------------
  2328. mouse.KeyDown:connect(function(key)
  2329. if string.byte(key) == 48 then
  2330. Swing = 2
  2331. char.Humanoid.WalkSpeed = 28
  2332. end
  2333. end)
  2334. mouse.KeyUp:connect(function(key)
  2335. if string.byte(key) == 48 then
  2336. Swing = 1
  2337. char.Humanoid.WalkSpeed = 16
  2338. end
  2339. end)
  2340. ----------------------------------------------------
  2341.  
  2342. jump = false
  2343. rs:connect(function()
  2344. if char.Humanoid.Jump == true then
  2345. jump = true
  2346. else
  2347. jump = false
  2348. end
  2349. char.Humanoid.FreeFalling:connect(function(f)
  2350. if f then
  2351. ffing = true
  2352. else
  2353. ffing = false
  2354. end
  2355. end)
  2356. sine = sine + change
  2357. if jump == true then
  2358. animpose = "Jumping"
  2359. elseif ffing == true then
  2360. animpose = "Freefalling"
  2361. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2362. animpose = "Idle"
  2363. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2364. animpose = "Walking"
  2365. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2366. animpose = "Running"
  2367. end
  2368. RightLeg = CFrame.new(0.5,-1,0)
  2369. LeftLeg = CFrame.new(-0.5,-1,0)
  2370.  
  2371. lefth = (torso.CFrame*LeftLeg)
  2372. righth = (torso.CFrame*RightLeg)
  2373.  
  2374. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  2375.  
  2376. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  2377.  
  2378. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  2379. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  2380. if animpose ~= lastanimpose then
  2381. sine = 0
  2382. if Debounces.NoIdl == false then
  2383. if stanceToggle == "Idle1" then
  2384. 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)
  2385. 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)
  2386. 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)
  2387. 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)
  2388. 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)
  2389. 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)
  2390. elseif stanceToggle == "Idle2" then
  2391. 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)
  2392. 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)
  2393. 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)
  2394. 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)
  2395. 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)
  2396. 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)
  2397. end
  2398. fat.Event:wait()
  2399. end
  2400. else
  2401. end
  2402. lastanimpose = animpose
  2403. if Debounces.NoIdl == false then
  2404. if animpose == "Idle" then
  2405. change = 0.5
  2406. if stanceToggle == "Idle1" then
  2407. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05+0.03*math.cos(sine/5), 0-0.1*math.cos(sine/10)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2408. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0+8*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.3)
  2409.  
  2410. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8)
  2411. 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.5)
  2412. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8)
  2413. 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)
  2414. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5)
  2415. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.5)
  2416. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1)
  2417. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1)
  2418. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  2419. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1)
  2420. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  2421. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1)
  2422. elseif stanceToggle == "Idle2" then
  2423.  
  2424. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2425. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20-2*math.cos(sine/3))), 0.1)
  2426. 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.2)
  2427. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, -.56) * CFrame.Angles(math.rad(88+4*math.cos(sine/3)), 0, math.rad(45)), 0.6)
  2428. 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.2)
  2429. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8)
  2430. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  2431. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  2432. --hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-5-10*math.cos(sine/18)), math.sin(sine/36)/3, 0), 0.3)
  2433. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2434. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.15) * CFrame.Angles(math.rad(-9-2*math.cos(sine/6)), 0, 0), 0.8)
  2435. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1-0.1*math.cos(sine/3), 0+0.04*math.cos(sine/6)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.8)
  2436. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56-2*math.cos(sine/6)), 0, 0), 0.8)
  2437. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.8)
  2438. elseif stanceToggle == "Grabbed" then
  2439. grab = true
  2440. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2441. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2442. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
  2443. 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.2)
  2444. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(90+4*math.cos(sine/14)),math.rad(0),math.rad(-80+4*math.cos(sine/14))), 0.3)
  2445. 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.2)
  2446. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
  2447. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2448. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2449. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  2450. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  2451. 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)
  2452. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  2453. 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)
  2454. end
  2455. elseif animpose == "Walking" then
  2456. if stanceToggle == "Grabbed" then
  2457. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2458. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2459. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.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)
  2460. 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)
  2461. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120+4*math.cos(sine/2)),math.rad(0),math.rad(-30+4*math.cos(sine/4))), 0.3)
  2462. 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.2)
  2463. 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)
  2464. 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)
  2465. 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)
  2466. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2467. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2468. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.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)
  2469. 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)
  2470. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.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)
  2471. 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)
  2472. elseif stanceToggle ~= "Grabbed" then
  2473. change = 1
  2474. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2475. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2476.  
  2477. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.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)
  2478. 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)
  2479. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.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)
  2480. 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)
  2481. 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)
  2482. 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)
  2483. 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)
  2484. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2485. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2486. --lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.9-0.24*math.cos(sine/4)/2.8, -0.05 + math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)-math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
  2487. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.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)
  2488. 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)
  2489. --rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.9+0.24*math.cos(sine/4)/2.8, -0.05 + -math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)+math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
  2490. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.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)
  2491. 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)
  2492. end
  2493. elseif animpose == "Running" then
  2494. change = 1
  2495. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2496. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2497.  
  2498. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.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(0), math.rad(-20+70*math.cos(sine/4))), 0.2)
  2499. 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)
  2500. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.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(0), math.rad(20+70*math.cos(sine/4))), 0.2)
  2501. 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)
  2502. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.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)
  2503. 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)
  2504. 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)
  2505. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2506. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.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), .8)
  2507. 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)
  2508. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.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), .8)
  2509. 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)
  2510. elseif animpose == "Jumping" then
  2511.  
  2512. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2513. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2514. 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)
  2515. 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)
  2516. 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)
  2517. 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)
  2518. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  2519. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2520. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2521. 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)
  2522. 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)
  2523. 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)
  2524. 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)
  2525. elseif animpose == "Freefalling" then
  2526.  
  2527. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2528. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2529. 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)
  2530. 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)
  2531. 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)
  2532. 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)
  2533. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  2534. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  2535. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2536. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, 0.2) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2)
  2537. 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)
  2538. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.6) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.2)
  2539. 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)
  2540. end
  2541. end
  2542. end)
  2543. hum.MaxHealth = math.huge
  2544. wait(3)
  2545. hum.Health = math.huge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement