Advertisement
Black_Magic

nep

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