voidscriptbuilderr

FE ban hammer

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