DarkScriptZEditors

Black Dead

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