Advertisement
Guest User

HeavenlyBoi

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