Advertisement
DarkScriptZEditors

Hammer 22

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