Advertisement
Infintyboy

f o o x

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