Ban43_GodOfEdits

fklashd

Jul 18th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 128.77 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. mana=0
  43. trispeed=1
  44. pathtrans=.7
  45. attackmode='none'
  46. local idle=0
  47. local Anim="Idle"
  48. local Effects={}
  49. local gun=false
  50. local shoot=false
  51. player=nil
  52. cloak=false
  53. lightcolor='Bright blue'
  54.  
  55. local Color1=Torso.BrickColor
  56.  
  57.  
  58. mouse=Player:GetMouse()
  59. --save shoulders
  60. RSH, LSH=nil, nil
  61. --welds
  62. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  63. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  64. LH=Torso["Left Hip"]
  65. RH=Torso["Right Hip"]
  66. TorsoColor=Torso.BrickColor
  67. function NoOutline(Part)
  68. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  69. end
  70.  
  71.  
  72.  
  73. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  74. local fp=it("Part")
  75. fp.formFactor=formfactor
  76. fp.Parent=parent
  77. fp.Reflectance=reflectance
  78. fp.Transparency=transparency
  79. fp.CanCollide=false
  80. fp.Locked=true
  81. fp.BrickColor=brickcolor
  82. fp.Name=name
  83. fp.Size=size
  84. fp.Position=Torso.Position
  85. NoOutline(fp)
  86. fp.Material="SmoothPlastic"
  87. fp:BreakJoints()
  88. return fp
  89. end
  90.  
  91.  
  92.  
  93. function weld(parent,part0,part1,c0)
  94. local weld=it("Weld")
  95. weld.Parent=parent
  96. weld.Part0=part0
  97. weld.Part1=part1
  98. weld.C0=c0
  99. return weld
  100. end
  101.  
  102. local Color1=Torso.BrickColor
  103.  
  104.  
  105.  
  106.  
  107.  
  108. Player=game:GetService('Players').LocalPlayer
  109. Character=Player.Character
  110. Mouse=Player:GetMouse()
  111. m=Instance.new('Model',Character)
  112.  
  113.  
  114. local function weldBetween(a, b)
  115. local weldd = Instance.new("ManualWeld")
  116. weldd.Part0 = a
  117. weldd.Part1 = b
  118. weldd.C0 = CFrame.new()
  119. weldd.C1 = b.CFrame:inverse() * a.CFrame
  120. weldd.Parent = a
  121. return weldd
  122. end
  123.  
  124. it=Instance.new
  125.  
  126. function nooutline(part)
  127. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  128. end
  129.  
  130. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  131. local fp=it("Part")
  132. fp.formFactor=formfactor
  133. fp.Parent=parent
  134. fp.Reflectance=reflectance
  135. fp.Transparency=transparency
  136. fp.CanCollide=false
  137. fp.Locked=true
  138. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  139. fp.Name=name
  140. fp.Size=size
  141. fp.Position=Character.Torso.Position
  142. nooutline(fp)
  143. fp.Material=material
  144. fp:BreakJoints()
  145. return fp
  146. end
  147.  
  148. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  149. local mesh=it(Mesh)
  150. mesh.Parent=part
  151. if Mesh=="SpecialMesh" then
  152. mesh.MeshType=meshtype
  153. mesh.MeshId=meshid
  154. end
  155. mesh.Offset=offset
  156. mesh.Scale=scale
  157. return mesh
  158. end
  159.  
  160. function weld(parent,part0,part1,c0,c1)
  161. local weld=it("Weld")
  162. weld.Parent=parent
  163. weld.Part0=part0
  164. weld.Part1=part1
  165. weld.C0=c0
  166. weld.C1=c1
  167. return weld
  168. end
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178. --------------------------------
  179. local p = game.Players.LocalPlayer
  180. local char = p.Character
  181. local mouse = p:GetMouse()
  182. local larm = char["Left Arm"]
  183. local rarm = char["Right Arm"]
  184. local lleg = char["Left Leg"]
  185. local rleg = char["Right Leg"]
  186. local hed = char.Head
  187. local torso = char.Torso
  188. local hum = char.Humanoid
  189. local cam = game.Workspace.CurrentCamera
  190. local root = char.HumanoidRootPart
  191. local deb = false
  192. local shot = 0
  193. local debris=game:service"Debris"
  194. local l = game:GetService("Lighting")
  195. local rs = game:GetService("RunService").RenderStepped
  196. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  197. math.randomseed(os.time())
  198. for i,v in pairs(char:children()) do
  199. if v:IsA("Hat") then
  200. v:Destroy()
  201. end
  202. end
  203. for i,v in pairs (hed:GetChildren()) do
  204. if v:IsA("Sound") then
  205. v:Destroy()
  206. end
  207. end
  208. ----------------------Clothes-------------------------------
  209. --[Quicksilver edit by Bannaboy43 (only make edits cant stcipt ihml if this gets leaked tell people to send me scripts to make edits)
  210. wait(1 / 60)
  211. p = game.Players.LocalPlayer
  212. char = p.Character
  213. torso = char.Torso
  214. neck = char.Torso.Neck
  215. hum = char.Humanoid
  216.  
  217. wait()
  218.  
  219. char.Head.face.Texture = "rbxassetid://339199908"
  220.  
  221.  
  222.  
  223. z = Instance.new("Sound",char)
  224. z.SoundId = "rbxassetid://214465446" -- Put Music ID Here.
  225. z.Looped = true
  226. z.Volume = 3
  227. wait(.1)
  228. z:Play()
  229.  
  230.  
  231.  
  232. ----------------------------------------------------
  233. -------------cowl 1---------------------------------
  234. char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
  235.  
  236. Head = Instance.new("Part", char)
  237. Head.Size = Vector3.new(1,1,1)
  238. Headmesh = Instance.new("SpecialMesh", Head)
  239. Headmesh.MeshId = "rbxassetid://2094837820"
  240. Headmesh.Scale = Vector3.new(1,1,1)
  241. Headmesh.TextureId = "rbxassetid://257258036"
  242. Head.Transparency = 0
  243. Head.CanCollide = false
  244. Head.Name = "plrHead"
  245. Head.Anchored = false
  246. Head.BrickColor = BrickColor.new("Really black")
  247. Weld = Instance.new("Weld", char)
  248. Weld.Part0 = char["Head"]
  249. Weld.Part1 = Head
  250. Weld.C1 = CFrame.new(0,0,0)*CFrame.Angles(0,3.14,0)
  251. -------------cowl 2---------------------------------
  252. char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
  253.  
  254. Head = Instance.new("Part", char)
  255. Head.Size = Vector3.new(1,1,1)
  256. Headmesh = Instance.new("SpecialMesh", Head)
  257. Headmesh.MeshId = "rbxassetid://2094921878"
  258. Headmesh.Scale = Vector3.new(1.05,1,1)
  259.  
  260. Head.Transparency = 0
  261. Head.CanCollide = false
  262. Head.Name = "plrHead"
  263. Head.Anchored = false
  264. Head.BrickColor = BrickColor.new("Cork")
  265. Weld = Instance.new("Weld", char)
  266. Weld.Part0 = char["Head"]
  267. Weld.Part1 = Head
  268. Weld.C1 = CFrame.new(0,-.21,.051)*CFrame.Angles(0,3.14,0)
  269. -------------cowl 1---------------------------------
  270. char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
  271.  
  272. Head = Instance.new("Part", char)
  273. Head.Size = Vector3.new(1,1,1)
  274. Headmesh = Instance.new("SpecialMesh", Head)
  275. Headmesh.MeshId = "rbxassetid://2095005080"
  276. Headmesh.Scale = Vector3.new(1,1,1)
  277. Head.Transparency = 0
  278. Head.CanCollide = false
  279. Head.Name = "plrHead"
  280. Head.Anchored = false
  281. Head.BrickColor = BrickColor.new("Cork")
  282. Weld = Instance.new("Weld", char)
  283. Weld.Part0 = char["Torso"]
  284. Weld.Part1 = Head
  285. Weld.C1 = CFrame.new(-0.52, -0.39, 0)*CFrame.Angles(0,-1.55,0)
  286. -------------cowl 2---------------------------------
  287. char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
  288.  
  289. Head = Instance.new("Part", char)
  290. Head.Size = Vector3.new(1,1,1)
  291. Headmesh = Instance.new("SpecialMesh", Head)
  292. Headmesh.MeshId = "rbxassetid://2095078494"
  293. Headmesh.Scale = Vector3.new(1,1,1)
  294. Head.Transparency = 0
  295. Head.CanCollide = false
  296. Head.Name = "plrHead"
  297. Head.Anchored = false
  298. Head.BrickColor = BrickColor.new("Institutional white")
  299. Weld = Instance.new("Weld", char)
  300. Weld.Part0 = char["Torso"]
  301. Weld.Part1 = Head
  302. Weld.C1 = CFrame.new(-0.51, -0.38, 0)*CFrame.Angles(0,-1.55,0)
  303.  
  304. for _, a in pairs(char:children()) do
  305. if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Pants' or a:IsA'Shirt' then
  306. a:Destroy()
  307. end
  308. end
  309. local s = Instance.new('Shirt', char)
  310. s.ShirtTemplate = "rbxassetid://181732140"
  311. local p = Instance.new('Pants', char)
  312. p.PantsTemplate = "rbxassetid://181732392"
  313.  
  314. Instance.new("ForceField",char).Visible = false
  315. local poo = Instance.new("IntValue",char)
  316. poo.Name = "haha nope"
  317.  
  318. wait()
  319.  
  320. Instance.new("ForceField",char).Visible = false
  321.  
  322. --Converted with ttyyuu12345's model to script plugin v4
  323. function sandbox(var,func)
  324. local env = getfenv(func)
  325. local newenv = setmetatable({},{
  326. __index = function(self,k)
  327. if k=="script" then
  328. return var
  329. else
  330. return env[k]
  331. end
  332. end,
  333. })
  334. setfenv(func,newenv)
  335. return func
  336. end
  337. cors = {}
  338. mas = Instance.new("Model",game:GetService("Lighting"))
  339. GuiMain0 = Instance.new("GuiMain")
  340. ImageLabel1 = Instance.new("ImageLabel")
  341. Script2 = Instance.new("Script")
  342. Script3 = Instance.new("Script")
  343. ScreenGui4 = Instance.new("ScreenGui")
  344. ImageLabel5 = Instance.new("ImageLabel")
  345. TextLabel6 = Instance.new("TextLabel")
  346. Script7 = Instance.new("Script")
  347. TextLabel8 = Instance.new("TextLabel")
  348. Script9 = Instance.new("Script")
  349. TextLabel10 = Instance.new("TextLabel")
  350. ImageLabel11 = Instance.new("ImageLabel")
  351. TextLabel12 = Instance.new("TextLabel")
  352. Script13 = Instance.new("Script")
  353. ScreenGui14 = Instance.new("ScreenGui")
  354. Frame15 = Instance.new("Frame")
  355. ImageLabel16 = Instance.new("ImageLabel")
  356. ImageLabel17 = Instance.new("ImageLabel")
  357. ImageLabel18 = Instance.new("ImageLabel")
  358. ImageLabel19 = Instance.new("ImageLabel")
  359. GuiMain0.Parent = mas
  360. ImageLabel1.Name = "Health"
  361. ImageLabel1.Parent = GuiMain0
  362. ImageLabel1.Position = UDim2.new(0, 0, -0.0500000007, 0)
  363. ImageLabel1.Visible = false
  364. ImageLabel1.Size = UDim2.new(1.10000002, 0, 1.22000003, 0)
  365. ImageLabel1.BackgroundColor = BrickColor.new("Maroon")
  366. ImageLabel1.BackgroundColor3 = Color3.new(0.454902, 0, 0.0941177)
  367. ImageLabel1.BackgroundTransparency = 1
  368. ImageLabel1.Image = "http://www.roblox.com/asset/?id=16232221"
  369. Script2.Name = "Monitor"
  370. Script2.Parent = ImageLabel1
  371. table.insert(cors,sandbox(Script2,function()
  372. Player = script.Parent.Parent.Parent.Parent.Character
  373. s = Player.Humanoid
  374. while true do
  375. if s.Health <= 20 then
  376. script.Parent.Visible = true
  377. script.Parent.Pain.Disabled=false
  378. end
  379. if s.Health >= 20 then
  380. script.Parent.Visible = false
  381. end
  382. wait()
  383. end
  384.  
  385.  
  386.  
  387. end))
  388. Script3.Name = "Pain"
  389. Script3.Parent = ImageLabel1
  390. table.insert(cors,sandbox(Script3,function()
  391. s=script.Parent
  392. while true do
  393. s.BackgroundTransparency=1
  394. wait(.05)
  395. s.BackgroundTransparency=.9
  396. wait(.05)
  397. s.BackgroundTransparency=.8
  398. wait(.05)
  399. s.BackgroundTransparency=.7
  400. wait(.05)
  401. s.BackgroundTransparency=.6
  402. wait(.05)
  403. s.BackgroundTransparency=.7
  404. wait(.05)
  405. s.BackgroundTransparency=.8
  406. wait(.05)
  407. s.BackgroundTransparency=.9
  408. wait(.05)
  409. end
  410.  
  411. end))
  412. ScreenGui4.Name = "HUD"
  413. ScreenGui4.Parent = mas
  414. ImageLabel5.Name = "SpeedStatus"
  415. ImageLabel5.Parent = ScreenGui4
  416. ImageLabel5.Position = UDim2.new(0.991146505, -100, 0.980733514, -100)
  417. ImageLabel5.Rotation = 4
  418. ImageLabel5.Size = UDim2.new(0, 41, 0, 46)
  419. ImageLabel5.BackgroundColor = BrickColor.new("Maroon")
  420. ImageLabel5.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  421. ImageLabel5.BackgroundTransparency = 0.20000000298023
  422. ImageLabel5.BorderSizePixel = 0
  423. ImageLabel5.Image = "http://www.roblox.com/asset/?id=71659683"
  424. TextLabel6.Name = "Value"
  425. TextLabel6.Parent = ImageLabel5
  426. TextLabel6.Position = UDim2.new(0, -275, 0, 4)
  427. TextLabel6.Size = UDim2.new(0, 275, 0, 44)
  428. TextLabel6.BackgroundColor = BrickColor.new("Maroon")
  429. TextLabel6.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  430. TextLabel6.BackgroundTransparency = 0.20000000298023
  431. TextLabel6.BorderSizePixel = 0
  432. TextLabel6.Font = Enum.Font.SourceSansBold
  433. TextLabel6.FontSize = Enum.FontSize.Size14
  434. TextLabel6.Text = "0 "
  435. TextLabel6.TextColor = BrickColor.new("Institutional white")
  436. TextLabel6.TextColor3 = Color3.new(1, 1, 1)
  437. TextLabel6.TextScaled = true
  438. TextLabel6.TextSize = 14
  439. TextLabel6.TextWrap = true
  440. TextLabel6.TextWrapped = true
  441. TextLabel6.TextXAlignment = Enum.TextXAlignment.Right
  442. Script7.Name = "tracker"
  443. Script7.Parent = TextLabel6
  444. table.insert(cors,sandbox(Script7,function()
  445. local GUI = script.Parent
  446. local player = script.Parent.Parent.Parent.Parent.Parent
  447. local torso = player.Character.Torso
  448. local speed = 0
  449.  
  450. while wait(0.1) do
  451. speed = math.floor(math.sqrt((torso.Velocity.x^2)+(torso.Velocity.y^2)+(torso.Velocity.z^2)))
  452. GUI.Text = speed
  453. end
  454.  
  455. end))
  456. TextLabel8.Name = "Bar"
  457. TextLabel8.Parent = ImageLabel5
  458. TextLabel8.Position = UDim2.new(-2.51219511, -170, 1.05383611, -2)
  459. TextLabel8.Size = UDim2.new(0, 315, 0, 2)
  460. TextLabel8.BackgroundColor = BrickColor.new("Institutional white")
  461. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  462. TextLabel8.BorderSizePixel = 0
  463. TextLabel8.Font = Enum.Font.SourceSansBold
  464. TextLabel8.FontSize = Enum.FontSize.Size14
  465. TextLabel8.Text = ""
  466. TextLabel8.TextColor = BrickColor.new("Institutional white")
  467. TextLabel8.TextColor3 = Color3.new(1, 1, 1)
  468. TextLabel8.TextScaled = true
  469. TextLabel8.TextSize = 14
  470. TextLabel8.TextWrap = true
  471. TextLabel8.TextWrapped = true
  472. TextLabel8.TextXAlignment = Enum.TextXAlignment.Left
  473. Script9.Name = "tracker"
  474. Script9.Parent = TextLabel8
  475. table.insert(cors,sandbox(Script9,function()
  476. local GUI = script.Parent
  477. local player = script.Parent.Parent.Parent.Parent.Parent
  478. local torso = player.Character.Torso
  479. local speed = 0
  480.  
  481. while wait(0.1) do
  482. speed = math.floor(math.sqrt((torso.Velocity.x^2)+(torso.Velocity.y^2)+(torso.Velocity.z^2)))
  483. GUI.Size = UDim2.new(0, speed,0, 2)
  484. end
  485.  
  486. end))
  487. TextLabel10.Name = "VersionTitle"
  488. TextLabel10.Parent = ScreenGui4
  489. TextLabel10.Position = UDim2.new(0.0702446699, 0, 0.0880195573, 0)
  490. TextLabel10.Rotation = -2
  491. TextLabel10.Size = UDim2.new(0, 253, 0, 30)
  492. TextLabel10.BackgroundColor = BrickColor.new("Maroon")
  493. TextLabel10.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  494. TextLabel10.BackgroundTransparency = 0.20000000298023
  495. TextLabel10.BorderSizePixel = 0
  496. TextLabel10.Font = Enum.Font.SourceSansBold
  497. TextLabel10.FontSize = Enum.FontSize.Size24
  498. TextLabel10.Text = "Fhash script from bannaboy43"
  499. TextLabel10.TextColor = BrickColor.new("Institutional white")
  500. TextLabel10.TextColor3 = Color3.new(1, 1, 1)
  501. TextLabel10.TextScaled = true
  502. TextLabel10.TextSize = 21
  503. TextLabel10.TextWrap = true
  504. TextLabel10.TextWrapped = true
  505. ImageLabel11.Name = "HealthStatus"
  506. ImageLabel11.Parent = ScreenGui4
  507. ImageLabel11.Position = UDim2.new(0, 100, 0.990394711, -100)
  508. ImageLabel11.Rotation = -4
  509. ImageLabel11.Size = UDim2.new(0, 44, 0, 38)
  510. ImageLabel11.BackgroundColor = BrickColor.new("Maroon")
  511. ImageLabel11.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  512. ImageLabel11.BackgroundTransparency = 0.20000000298023
  513. ImageLabel11.BorderSizePixel = 0
  514. ImageLabel11.Image = "http://www.roblox.com/asset/?id=181035744"
  515. TextLabel12.Name = "Health"
  516. TextLabel12.Parent = ImageLabel11
  517. TextLabel12.Position = UDim2.new(1.06818175, -1, -0.0797448158, 0)
  518. TextLabel12.Size = UDim2.new(0, 293, 0, 39)
  519. TextLabel12.BackgroundColor = BrickColor.new("Maroon")
  520. TextLabel12.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  521. TextLabel12.BackgroundTransparency = 0.20000000298023
  522. TextLabel12.BorderSizePixel = 0
  523. TextLabel12.Font = Enum.Font.SourceSansBold
  524. TextLabel12.FontSize = Enum.FontSize.Size14
  525. TextLabel12.Text = " 100"
  526. TextLabel12.TextColor = BrickColor.new("Institutional white")
  527. TextLabel12.TextColor3 = Color3.new(1, 1, 1)
  528. TextLabel12.TextScaled = true
  529. TextLabel12.TextSize = 14
  530. TextLabel12.TextWrap = true
  531. TextLabel12.TextWrapped = true
  532. TextLabel12.TextXAlignment = Enum.TextXAlignment.Left
  533. Script13.Parent = TextLabel12
  534. table.insert(cors,sandbox(Script13,function()
  535. -- Made by Fireball2350 :3
  536. -- Edited by bjj34 & XxrockatackxX
  537. while true do
  538. script.Parent.Text = "Health: " .. math.floor(script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health) .. "/" .. math.floor(script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.MaxHealth)
  539. wait(0.1)
  540. end
  541.  
  542. end))
  543. ScreenGui14.Name = "Shadow"
  544. ScreenGui14.Parent = mas
  545. Frame15.Name = "Shadow"
  546. Frame15.Parent = ScreenGui14
  547. Frame15.Size = UDim2.new(1, 0, 1, 0)
  548. Frame15.BackgroundTransparency = 1
  549. Frame15.BorderSizePixel = 0
  550. ImageLabel16.Name = "BLS"
  551. ImageLabel16.Parent = Frame15
  552. ImageLabel16.Position = UDim2.new(0, 0, 0.5, 0)
  553. ImageLabel16.Size = UDim2.new(0.5, 0, 0.5, 0)
  554. ImageLabel16.BackgroundTransparency = 1
  555. ImageLabel16.BorderSizePixel = 0
  556. ImageLabel16.Image = "http://www.roblox.com/asset/?id=84197255"
  557. ImageLabel17.Name = "BRS"
  558. ImageLabel17.Parent = Frame15
  559. ImageLabel17.Position = UDim2.new(0.5, 0, 0.5, 0)
  560. ImageLabel17.Size = UDim2.new(0.5, 0, 0.5, 0)
  561. ImageLabel17.BackgroundTransparency = 1
  562. ImageLabel17.BorderSizePixel = 0
  563. ImageLabel17.Image = "http://www.roblox.com/asset/?id=84197271"
  564. ImageLabel18.Name = "TLS"
  565. ImageLabel18.Parent = Frame15
  566. ImageLabel18.Position = UDim2.new(0, 0, 0, -1)
  567. ImageLabel18.Size = UDim2.new(0.5, 0, 0.5, 1)
  568. ImageLabel18.BackgroundTransparency = 1
  569. ImageLabel18.BorderSizePixel = 0
  570. ImageLabel18.Image = "http://www.roblox.com/asset/?id=84197205"
  571. ImageLabel19.Name = "TRS"
  572. ImageLabel19.Parent = Frame15
  573. ImageLabel19.Position = UDim2.new(0.5, 0, 0, -1)
  574. ImageLabel19.Size = UDim2.new(0.5, 0, 0.5, 1)
  575. ImageLabel19.BackgroundTransparency = 1
  576. ImageLabel19.BorderSizePixel = 0
  577. ImageLabel19.Image = "http://www.roblox.com/asset/?id=84197228"
  578. for i,v in pairs(mas:GetChildren()) do
  579. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  580. pcall(function() v:MakeJoints() end)
  581. end
  582. mas:Destroy()
  583. for i,v in pairs(cors) do
  584. spawn(function()
  585. pcall(v)
  586. end)
  587. end
  588.  
  589. --Converted with ttyyuu12345's model to script plugin v4
  590. function sandbox(var,func)
  591. local env = getfenv(func)
  592. local newenv = setmetatable({},{
  593. __index = function(self,k)
  594. if k=="script" then
  595. return var
  596. else
  597. return env[k]
  598. end
  599. end,
  600. })
  601. setfenv(func,newenv)
  602. return func
  603. end
  604. cors = {}
  605. mas = Instance.new("Model",game:GetService("Lighting"))
  606. LocalScript0 = Instance.new("LocalScript")
  607. BoolValue1 = Instance.new("BoolValue")
  608. ParticleEmitter2 = Instance.new("ParticleEmitter")
  609. LocalScript0.Name = "Phase"
  610. LocalScript0.Parent = mas
  611. table.insert(cors,sandbox(LocalScript0,function()
  612. wait(5)
  613. lp = game.Players.LocalPlayer
  614. char = lp.Character
  615. hum = char.Humanoid
  616. tor = char.HumanoidRootPart
  617. mouse = lp:GetMouse()
  618. phasing = script.Phasing
  619.  
  620. sguis = {}
  621.  
  622. ds = {}
  623.  
  624. script.Phasing.Changed:connect(function()
  625. while phasing.Value == true do
  626. tor.CFrame = tor.CFrame + (tor.CFrame.lookVector*2)
  627. wait(0.02)
  628. end
  629. end)
  630.  
  631. mbs = {}
  632.  
  633. mouse.KeyDown:connect(function(key)
  634. if key == 'f' then
  635. tor.Anchored = false
  636. phasing.Value = true
  637. cc = char:GetChildren()
  638. for i, v in pairs(cc) do
  639. if v:IsA('Part') or v:IsA('UnionOperation') or v:IsA('Decal') then
  640. v.Transparency = v.Transparency + .5
  641. mb = script.MotionBlur:Clone()
  642. mb.Parent = v
  643. table.insert(mbs, mb)
  644. ccv2 = v:GetChildren()
  645. for i, d in pairs(ccv2) do
  646. if d:IsA('Decal') and d.Transparency < 1 then
  647. d.Transparency = d.Transparency + .5
  648. table.insert(ds, d)
  649. end
  650. end
  651. elseif v:IsA('Model') or v:IsA('Hat') then
  652. cv = v:GetChildren()
  653. for i, v2 in pairs(cv) do
  654. if v2:IsA('Part') or v2:IsA('UnionOperation') or v2:IsA('Decal') then
  655. v2.Transparency = v2.Transparency + .5
  656. ccv = v2:GetChildren()
  657. for i, v3 in pairs(ccv) do
  658. if v3:IsA('SurfaceGui') and v3.Enabled then
  659. v3.Enabled = false
  660. table.insert(sguis, v3)
  661. end
  662. end
  663. end
  664. end
  665. end
  666. end
  667. end
  668. end)
  669.  
  670. mouse.KeyUp:connect(function(key)
  671. if key == 'f' then
  672. tor.Anchored = false
  673. phasing.Value = false
  674. for i, v in pairs(cc) do
  675. if v:IsA('Part') or v:IsA('UnionOperation') or v:IsA('Decal') then
  676. v.Transparency = v.Transparency - .5
  677. table.insert(mbs, mb)
  678. for i, d in pairs(ds) do
  679. if d:IsA('Decal') then
  680. d.Transparency = d.Transparency - .5
  681. end
  682. end
  683. elseif v:IsA('Model') or v:IsA('Hat') then
  684. cv = v:GetChildren()
  685. for i, v2 in pairs(cv) do
  686. if v2:IsA('Part') or v2:IsA('UnionOperation') or v2:IsA('Decal') then
  687. v2.Transparency = v2.Transparency - .5
  688. for i, v3 in pairs(sguis) do
  689. if v3:IsA('SurfaceGui') then
  690. v3.Enabled = true
  691. end
  692. end
  693. end
  694. end
  695. end
  696. end
  697. for i, v in pairs(mbs) do
  698. v:remove()
  699. end
  700. end
  701. end)
  702. end))
  703. BoolValue1.Name = "Phasing"
  704. BoolValue1.Parent = LocalScript0
  705. ParticleEmitter2.Name = "MotionBlur"
  706. ParticleEmitter2.Parent = LocalScript0
  707. ParticleEmitter2.Speed = NumberRange.new(-2, 2)
  708. ParticleEmitter2.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  709. ParticleEmitter2.Texture = "http://www.roblox.com/asset/?id=447773099"
  710. ParticleEmitter2.Transparency = NumberSequence.new(0.5,0.5)
  711. ParticleEmitter2.Size = NumberSequence.new(0.80000001192093,0.80000001192093)
  712. ParticleEmitter2.Lifetime = NumberRange.new(0.0099999997764826, 0.0099999997764826)
  713. ParticleEmitter2.LockedToPart = true
  714. ParticleEmitter2.Rate = 200
  715. ParticleEmitter2.RotSpeed = NumberRange.new(-20, 20)
  716. ParticleEmitter2.SpreadAngle = Vector2.new(360, 360)
  717. ParticleEmitter2.VelocitySpread = 360
  718. for i,v in pairs(mas:GetChildren()) do
  719. v.Parent = game:GetService("Players").LocalPlayer.Character
  720. pcall(function() v:MakeJoints() end)
  721. end
  722. mas:Destroy()
  723. for i,v in pairs(cors) do
  724. spawn(function()
  725. pcall(v)
  726. end)
  727. end
  728.  
  729.  
  730. i = 0
  731. j = 0
  732. z = 0
  733. w = 0
  734. a = 0
  735. s = 0
  736. d = 0
  737. mouse = game.Players.LocalPlayer:GetMouse()
  738. player = game.Players.LocalPlayer
  739.  
  740. function onKeyDown(key)
  741. if (key~=nil) then
  742. key:lower()
  743. repeat
  744. if (key == "q") and player.Character.Humanoid.WalkSpeed<750 and script.Active.Value == true then
  745. i = 1
  746. wait(0.001)
  747. player.Character.Humanoid.WalkSpeed = player.Character.Humanoid.WalkSpeed+25
  748. else
  749. break
  750. end
  751. until i == 0
  752. end
  753. end
  754.  
  755. local running = false
  756.  
  757. function getTool()
  758. for _, kid in ipairs(script.Parent:GetChildren()) do
  759. if kid.className == "Tool" then return kid end
  760. end
  761. return nil
  762. end
  763.  
  764.  
  765. mouse.KeyDown:connect(function (key) -- Run function
  766. key = string.lower(key)
  767. if string.byte(key) == 48 then
  768. running = true
  769. local keyConnection = mouse.KeyUp:connect(function (key)
  770. if string.byte(key) == 48 then
  771. running = false
  772. end
  773. end)
  774. for i = 1,5 do
  775. game.Workspace.CurrentCamera.FieldOfView = (70+(i*2))
  776. wait()
  777. end
  778. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 400
  779. repeat wait () until running == false
  780. keyConnection:disconnect()
  781. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  782. for i = 1,5 do
  783. game.Workspace.CurrentCamera.FieldOfView = (80-(i*2))
  784. wait()
  785. end
  786. end
  787. end)
  788. --[[
  789. ______ __ __ ____ __ ______
  790. / _/ _/ / \/ \ / __/___ __ _______/ /_ / / /
  791. / // / / /\/ /\ \ __/ /_/ __ \/ / / / ___/ __ \ / // /
  792. / // / / / /_/ \ \/_ __/ /_/ / /_/ / / / /_/ / / // /
  793. / // / /_/ \_\/_/ \____/\__,_/_/ /_.___/ _/ // /
  794. /__/__/ /__/__/
  795.  
  796. --]]
  797.  
  798. wait()
  799. Player = game.Players.LocalPlayer
  800. Object = Player.Character.HumanoidRootPart
  801. Arm1 = Player.Character["Right Arm"]
  802. PreviousA1 = Arm1.CFrame.p
  803. Arm2 = Player.Character["Left Arm"]
  804. PreviousA2 = Arm2.CFrame.p
  805.  
  806. Leg1 = Player.Character["Right Leg"]
  807. PreviousL1 = Leg1.CFrame.p
  808. Leg2 = Player.Character["Left Leg"]
  809. PreviousL2 = Leg2.CFrame.p
  810. head1 = Player.Character["Head"]
  811. PreviousHl = head1.CFrame.p
  812.  
  813. Run = game["Run Service"]
  814.  
  815. PreviousP = Object.CFrame.p
  816. Running = false
  817. Phase = false
  818. PhaseActive = false
  819. Morph = false
  820. MorphActive = false
  821. Tornado = false
  822. TornadoRadius = 50
  823. TornadoActive = false
  824. Portal = false
  825. PortalEnd = false
  826. MaxZ = 0
  827. MinZ = 0
  828. LightMaxX =0
  829. LightMinX = 0
  830. LightMaxX2 = 0
  831. LightMinX2 = 0
  832. LightMaxY =0
  833. LightMinY = 0
  834. Rotation = 0
  835. Length = 0
  836. Color = BrickColor.Gray()
  837. PColor = Color3.new(255,255,0)
  838. PrevPoint1 = nil
  839. PrevPoint2 = nil
  840. PrevPoint3 = nil
  841. PrevPoint4 = nil
  842. PrevPoint5 = nil
  843. PrevPoint6 = nil
  844. PrevPoint7 = nil
  845. PrevPoint8 = nil
  846. PrevPoint9 = nil
  847. PrevPoint10 = nil
  848. PrevPoint11 = nil
  849. PrevPoint12 = nil
  850. angle = 0
  851. Mouse = Player:GetMouse()
  852. Player.Character.Humanoid.WalkSpeed = 16
  853.  
  854. Nil = function()
  855. PrevPoint1 = "Empty"
  856. PrevPoint2 = "Empty"
  857. PrevPoint3 = "Empty"
  858. PrevPoint4 = "Empty"
  859. PrevPoint5 = "Empty"
  860. PrevPoint6 = "Empty"
  861. PrevPoint7 = "Empty"
  862. PrevPoint8 = "Empty"
  863. PrevPoint9 = "Empty"
  864. PrevPoint10 = "Empty"
  865. PrevPoint11 = "Empty"
  866. PrevPoint12 = "Empty"
  867. end
  868.  
  869. local Lightning = coroutine.wrap(function()
  870. while wait() do
  871. if Portal == false then
  872. angle = angle + 0.6
  873. local Model = Instance.new("Model",workspace)
  874. Model.Name = "Lightning"
  875. local Point1 = Instance.new("Part",Model)
  876. Point1.Transparency = 1
  877. Point1.Size = Vector3.new(0.2,0.2,0.2)
  878. Point1.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point1.Size.Z/2))
  879. Point1.Anchored = true
  880. Point1.CanCollide = false
  881. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  882.  
  883. local Point2 = Instance.new("Part",Model)
  884. Point2.Transparency = 1
  885. Point2.Size = Vector3.new(0.2,0.2,0.2)
  886. Point2.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point2.Size.Z/2))
  887. Point2.Anchored = true
  888. Point2.CanCollide = false
  889. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  890.  
  891. local Point3 = Instance.new("Part",Model)
  892. Point3.Transparency = 1
  893. Point3.Size = Vector3.new(0.2,0.2,0.2)
  894. Point3.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point3.Size.Z/2))
  895. Point3.Anchored = true
  896. Point3.CanCollide = false
  897. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  898.  
  899. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  900. local Light = Instance.new("Part",Model)
  901. local PointLight = Instance.new("PointLight",Light)
  902. PointLight.Range = 5
  903. PointLight.Color = PColor
  904. Light.Transparency = 1
  905. Light.BrickColor = Color
  906. Light.Material = "Neon"
  907. Light.Size = Vector3.new(0.25,0.25,distance)
  908. Light.Anchored = true
  909. Light.CanCollide = false
  910. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  911.  
  912. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  913. local Light = Instance.new("Part",Model)
  914. local PointLight = Instance.new("PointLight",Light)
  915. PointLight.Range = 5
  916. PointLight.Color = PColor
  917. Light.Transparency = 1
  918. Light.BrickColor = Color
  919. Light.Material = "Neon"
  920. Light.Size = Vector3.new(0.25,0.25,distance2)
  921. Light.Anchored = true
  922. Light.CanCollide = false
  923. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  924.  
  925. local Point1 = Instance.new("Part",Model)
  926. Point1.Transparency = 1
  927. Point1.Size = Vector3.new(0.2,0.2,0.2)
  928. Point1.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point1.Size.Z/2))
  929. Point1.Anchored = true
  930. Point1.CanCollide = false
  931. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  932.  
  933. local Point2 = Instance.new("Part",Model)
  934. Point2.Transparency = 1
  935. Point2.Size = Vector3.new(0.2,0.2,0.2)
  936. Point2.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point2.Size.Z/2))
  937. Point2.Anchored = true
  938. Point2.CanCollide = false
  939. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  940.  
  941. local Point3 = Instance.new("Part",Model)
  942. Point3.Transparency = 1
  943. Point3.Size = Vector3.new(0.2,0.2,0.2)
  944. Point3.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point3.Size.Z/2))
  945. Point3.Anchored = true
  946. Point3.CanCollide = false
  947. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  948.  
  949. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  950. local Light = Instance.new("Part",Model)
  951. local PointLight = Instance.new("PointLight",Light)
  952. PointLight.Range = 5
  953. PointLight.Color = PColor
  954. Light.Transparency = 1
  955. Light.BrickColor = Color
  956. Light.Material = "Neon"
  957. Light.Size = Vector3.new(0.25,0.25,distance)
  958. Light.Anchored = true
  959. Light.CanCollide = false
  960. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  961.  
  962. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  963. local Light = Instance.new("Part",Model)
  964. local PointLight = Instance.new("PointLight",Light)
  965. PointLight.Range = 5
  966. PointLight.Color = PColor
  967. Light.Transparency = 1
  968. Light.BrickColor = Color
  969. Light.Material = "Neon"
  970. Light.Size = Vector3.new(0.3,0.3,distance2)
  971. Light.Anchored = true
  972. Light.CanCollide = false
  973. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  974.  
  975. local Point1 = Instance.new("Part",Model)
  976. Point1.Transparency = 1
  977. Point1.Size = Vector3.new(0.2,0.2,0.2)
  978. Point1.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  979. Point1.Anchored = true
  980. Point1.CanCollide = false
  981. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  982.  
  983. local Point2 = Instance.new("Part",Model)
  984. Point2.Transparency = 1
  985. Point2.Size = Vector3.new(0.2,0.2,0.2)
  986. Point2.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  987. Point2.Anchored = true
  988. Point2.CanCollide = false
  989. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  990.  
  991. local Point3 = Instance.new("Part",Model)
  992. Point3.Transparency = 1
  993. Point3.Size = Vector3.new(0.2,0.2,0.2)
  994. Point3.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  995. Point3.Anchored = true
  996. Point3.CanCollide = false
  997. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  998.  
  999. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  1000. local Light = Instance.new("Part",Model)
  1001. local PointLight = Instance.new("PointLight",Light)
  1002. PointLight.Range = 5
  1003. PointLight.Color = PColor
  1004. Light.Transparency = 1
  1005. Light.BrickColor = Color
  1006. Light.Material = "Neon"
  1007. Light.Size = Vector3.new(0.25,0.25,distance)
  1008. Light.Anchored = true
  1009. Light.CanCollide = false
  1010. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  1011.  
  1012. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  1013. local Light = Instance.new("Part",Model)
  1014. local PointLight = Instance.new("PointLight",Light)
  1015. PointLight.Range = 5
  1016. PointLight.Color = PColor
  1017. Light.Transparency = 1
  1018. Light.BrickColor = Color
  1019. Light.Material = "Neon"
  1020. Light.Size = Vector3.new(0.25,0.25,distance2)
  1021. Light.Anchored = true
  1022. Light.CanCollide = false
  1023. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  1024.  
  1025. local Point1 = Instance.new("Part",Model)
  1026. Point1.Transparency = 1
  1027. Point1.Size = Vector3.new(0.2,0.2,0.2)
  1028. Point1.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  1029. Point1.Anchored = true
  1030. Point1.CanCollide = false
  1031. Point1.CFrame = Point1.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  1032.  
  1033. local Point2 = Instance.new("Part",Model)
  1034. Point2.Transparency = 1
  1035. Point2.Size = Vector3.new(0.2,0.2,0.2)
  1036. Point2.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  1037. Point2.Anchored = true
  1038. Point2.CanCollide = false
  1039. Point2.CFrame = Point2.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  1040.  
  1041. local Point3 = Instance.new("Part",Model)
  1042. Point3.Transparency = 1
  1043. Point3.Size = Vector3.new(0.2,0.2,0.2)
  1044. Point3.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  1045. Point3.Anchored = true
  1046. Point3.CanCollide = false
  1047. Point3.CFrame = Point3.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  1048.  
  1049. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  1050. local Light = Instance.new("Part",Model)
  1051. local PointLight = Instance.new("PointLight",Light)
  1052. PointLight.Range = 0
  1053. PointLight.Color = PColor
  1054. Light.Transparency = 1
  1055. Light.BrickColor = Color
  1056. Light.Material = "Neon"
  1057. Light.Size = Vector3.new(0.25,0.25,distance)
  1058. Light.Anchored = true
  1059. Light.CanCollide = false
  1060. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  1061.  
  1062. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  1063. local Light = Instance.new("Part",Model)
  1064. local PointLight = Instance.new("PointLight",Light)
  1065. PointLight.Range = 0
  1066. PointLight.Color = PColor
  1067. Light.Transparency = 1
  1068. Light.BrickColor = Color
  1069. Light.Material = "Neon"
  1070. Light.Size = Vector3.new(0.25,0.25,distance2)
  1071. Light.Anchored = true
  1072. Light.CanCollide = false
  1073. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  1074.  
  1075. local Children = Model:GetChildren()
  1076. wait(0.1)
  1077. for i = 1,#Children do
  1078. if Children[i]:IsA("Part") then
  1079. Children[i].Transparency = 1
  1080. end
  1081. game.Debris:AddItem(Children[i],0)
  1082. end
  1083.  
  1084. end
  1085. end
  1086. end)
  1087. Lightning()
  1088.  
  1089. TornadoFunction = function()
  1090. local TornadoModel = Instance.new("Model",workspace)
  1091. local Center = Instance.new("Part",TornadoModel)
  1092. Center.Anchored = true
  1093. Center.CanCollide = false
  1094. Center.Transparency = 1
  1095. Center.Size = Vector3.new(2,2,2)
  1096. Center.CFrame = Object.CFrame * CFrame.new(0,0,-20)
  1097. local Death = Instance.new("Part",TornadoModel)
  1098. Death.Anchored = true
  1099. Death.CanCollide = false
  1100. Death.Transparency = 1
  1101. Death.Size = Vector3.new(TornadoRadius+10,TornadoRadius+10,TornadoRadius+10)
  1102. Death.CFrame = Center.CFrame
  1103. Death.Touched:connect(function(Touch)
  1104. if Touch.Parent:FindFirstChild("Humanoid") ~= nil and Touch.Parent.Name ~= Player.Name then
  1105. Touch.Parent.Humanoid.Health = 0
  1106. end
  1107. end)
  1108. local TornadoFunc = function()
  1109. local Tornanimation = coroutine.wrap(function()
  1110. while Run.Stepped:wait() do
  1111. if Tornado == false then Death:Destroy() break end
  1112. angle = angle + 0.1
  1113. Object.Anchored = false
  1114. Object.CFrame = Center.CFrame * CFrame.Angles(0,angle,0) * CFrame.new(0,0,TornadoRadius)
  1115. Object.CFrame = Object.CFrame * CFrame.Angles(0,-math.rad(90),0)
  1116. end
  1117. end)
  1118. Tornanimation()
  1119. end
  1120. TornadoFunc()
  1121. end
  1122.  
  1123. PhaseFunction = function()
  1124. local Phase = coroutine.wrap(function()
  1125. while wait() do
  1126. if Phase == false then break end
  1127. if Player.Character.Humanoid.WalkSpeed > 50 and Phase == true then
  1128. Object.CFrame = Object.CFrame * CFrame.new(0,0,-Player.Character.Humanoid.WalkSpeed/20)
  1129. end
  1130. end
  1131. end)
  1132. Phase()
  1133. end
  1134.  
  1135.  
  1136. PortalFunction = function()
  1137. local PortalBlock = Instance.new("Part",workspace)
  1138. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,-100)
  1139. PortalBlock.Transparency = 1
  1140. PortalBlock.Anchored = true
  1141. PortalBlock.CanCollide = false
  1142. PortalBlock.Size = Vector3.new(20,20,0.2)
  1143. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  1144. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1145. local Img = Instance.new("ImageLabel",Gui)
  1146. Img.Size = UDim2.new(2,0,2,0)
  1147. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1148. Img.Transparency = 1
  1149. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1150. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1151. Gui.Face = "Back"
  1152. local Img = Instance.new("ImageLabel",Gui)
  1153. Img.Size = UDim2.new(2,0,2,0)
  1154. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1155. Img.Transparency = 1
  1156. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1157. Object.CFrame = PortalBlock.CFrame
  1158. local Face = Object.Parent.Head.face.Texture
  1159. local ObjectC = Object.Parent:GetChildren()
  1160. for i = 1,#ObjectC do
  1161. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  1162. ObjectC[i].Transparency = 1
  1163. elseif ObjectC[i]:IsA("Hat") then
  1164. ObjectC[i].Handle.Transparency = 1
  1165. end
  1166. if ObjectC[i].Name == "Head" then
  1167. ObjectC[i].face.Texture = ""
  1168. end
  1169. end
  1170.  
  1171. local PortalR = coroutine.wrap(function()
  1172. wait(0.1)
  1173. Portal = true
  1174. PortalEnd = true
  1175. while wait(0.001) do
  1176. if Portal == false then
  1177. break
  1178. end
  1179. Nil()
  1180. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.Angles(0,0,-0.1)
  1181. wait(0.01)
  1182. end
  1183. PortalBlock:Destroy()
  1184. for i = 1,#ObjectC do
  1185. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  1186. ObjectC[i].Transparency = 0
  1187. elseif ObjectC[i]:IsA("Hat") then
  1188. ObjectC[i].Handle.Transparency = 0
  1189. end
  1190. if ObjectC[i].Name == "Head" then
  1191. ObjectC[i].face.Texture = Face
  1192. end
  1193. end
  1194. game.Players.LocalPlayer.Character.Part.Transparency = 1
  1195. local PortalBlock = Instance.new("Part",workspace)
  1196. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,0)
  1197. PortalBlock.Transparency = 1
  1198. PortalBlock.Anchored = true
  1199. PortalBlock.CanCollide = false
  1200. PortalBlock.Size = Vector3.new(20,20,0.2)
  1201. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  1202. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1203. local Img = Instance.new("ImageLabel",Gui)
  1204. Img.Size = UDim2.new(2,0,2,0)
  1205. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1206. Img.Transparency = 1
  1207. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1208. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1209. Gui.Face = "Back"
  1210. local Img = Instance.new("ImageLabel",Gui)
  1211. Img.Size = UDim2.new(2,0,2,0)
  1212. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1213. Img.Transparency = 1
  1214. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1215. Object.CFrame = PortalBlock.CFrame
  1216. PreviousA1 = Arm1.CFrame.p
  1217. PreviousA2 = Arm2.CFrame.p
  1218. PreviousL1 = Leg1.CFrame.p
  1219. PreviousL2 = Leg2.CFrame.p
  1220. PreviousP = Object.CFrame.p
  1221. PortalEnd = false
  1222. wait(2)
  1223. PortalBlock:Destroy()
  1224. end)
  1225. PortalR()
  1226. end
  1227.  
  1228. MorphFunction = function()
  1229. local MaxX = 100
  1230. local MinX = -100
  1231. local MaxY = 100
  1232. local MinY = -100
  1233. local MaxZ = 100
  1234. local MinZ = -100
  1235. local Morph = coroutine.wrap(function()
  1236. while Run.Stepped:wait(0.1) do
  1237. if Morph == false then break end
  1238. local Model = Instance.new("Model",workspace)
  1239.  
  1240. if Player.Character:FindFirstChild("Pants") then
  1241. local Pants = Player.Character.Pants:Clone()
  1242. Pants.Parent = Model
  1243. end
  1244. local Humanoid = Instance.new("Humanoid",Model)
  1245. local LeftArm = Player.Character["Left Arm"]:Clone()
  1246. LeftArm.Parent = Model
  1247. LeftArm.Transparency = 0.4
  1248. LeftArm.Anchored = true
  1249. LeftArm.CFrame = Player.Character["Left Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1250. local RightArm = Player.Character["Right Arm"]:Clone()
  1251. RightArm.Parent = Model
  1252. RightArm.Transparency = 0.4
  1253. RightArm.Anchored = true
  1254. RightArm.CFrame = Player.Character["Right Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1255. local LeftLeg = Player.Character["Left Leg"]:Clone()
  1256. LeftLeg.Parent = Model
  1257. LeftLeg.Transparency = 0.4
  1258. LeftLeg.Anchored = true
  1259. LeftLeg.CFrame = Player.Character["Left Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1260. local RightLeg = Player.Character["Right Leg"]:Clone()
  1261. RightLeg.Parent = Model
  1262. RightLeg.Transparency = 0.4
  1263. RightLeg.Anchored = true
  1264. RightLeg.CFrame = Player.Character["Right Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1265. local Children = Model:GetChildren()
  1266. wait(0.01)
  1267. for i = 1,#Children do
  1268. if Children[i]:IsA("Part") then
  1269. Children[i].Transparency = 1
  1270. end
  1271. game.Debris:AddItem(Children[i],0)
  1272. end
  1273. end
  1274. end)
  1275. Morph()
  1276. end
  1277.  
  1278. local Guis = coroutine.wrap(function()
  1279. local Gui = Instance.new("ScreenGui",Player.PlayerGui)
  1280.  
  1281. local Radius = Instance.new("TextBox",Gui)
  1282. Radius.Text = "Tornado Radius"
  1283. Radius.BackgroundColor3 = Color3.new(.385, 0, 0)
  1284. Radius.BorderColor3 = Color3.new(.385, 0, 0)
  1285. Radius.Size = UDim2.new(.2,1,0.08,1)
  1286. Radius.Position = UDim2.new(0, 5.5,0.6, 0)
  1287. Radius.BackgroundTransparency = 0.20000000298023
  1288. Radius.FocusLost:connect(function(EnterPressed)
  1289. if EnterPressed then
  1290. TornadoRadius = Radius.Text
  1291. end
  1292. end)
  1293. Mouse.KeyDown:connect(function(Key)
  1294. if Key == "" then
  1295. if Portal == false then
  1296. PortalFunction()
  1297. Nil()
  1298. else
  1299. Portal = false
  1300. end
  1301. end
  1302.  
  1303. if Key == "t" then
  1304. if Tornado == false then
  1305. Tornado = true
  1306. TornadoFunction()
  1307. else
  1308. Tornado = false
  1309. end
  1310. end
  1311. if Key == "y" then
  1312. if Morph == false then
  1313. Morph = true
  1314. MorphFunction()
  1315. else
  1316. Morph = false
  1317. end
  1318. end
  1319. end)
  1320. end)
  1321. Guis()
  1322.  
  1323. Run.RenderStepped:connect(function()
  1324. if (Object.CFrame.p - PreviousP).magnitude > 7 and Player.Character.Humanoid.WalkSpeed > 25 and Portal == false and PortalEnd == false then
  1325. local Model = Instance.new("Model",workspace)
  1326. Model.Name = "Ray"
  1327. local Humanoid = Instance.new("Humanoid",Model)
  1328. if Player.Character:FindFirstChild("Shirt") ~= nil then
  1329. Player.Character.Shirt:Clone().Parent = Model
  1330. end
  1331. if Player.Character:FindFirstChild("Pants") ~= nil then
  1332. Player.Character.Pants:Clone().Parent = Model
  1333. end
  1334. local distance = (Object.CFrame.p - PreviousP).magnitude
  1335. local Light = Instance.new("Part",Model)
  1336. Light.Anchored = true
  1337. Light.CanCollide = false
  1338. Light.TopSurface = "SmoothNoOutlines"
  1339. Light.BottomSurface = "SmoothNoOutlines"
  1340. Light.BackSurface = "SmoothNoOutlines"
  1341. Light.FrontSurface = "SmoothNoOutlines"
  1342. Light.LeftSurface = "SmoothNoOutlines"
  1343. Light.RightSurface = "SmoothNoOutlines"
  1344. Light.Transparency = 1
  1345. Light.BrickColor = BrickColor.new("Gold")
  1346. Light.Material = "Neon"
  1347. Light.Size = Vector3.new(2,2,distance)
  1348. Light.CFrame = CFrame.new(Object.CFrame.p , PreviousP) * CFrame.new(0,0,-distance/2)
  1349.  
  1350. local PointLight = Instance.new("PointLight",Light)
  1351. PointLight.Range = 0
  1352. PointLight.Brightness = 0
  1353. PointLight.Color = PColor
  1354.  
  1355. local distance = (Arm1.CFrame.p - PreviousA1).magnitude
  1356.  
  1357. local Arm1Light = Instance.new("Part",Model)
  1358. Arm1Light.Name = "Right Arm"
  1359. Arm1Light.Anchored = true
  1360. Arm1Light.CanCollide = false
  1361. Arm1Light.TopSurface = "SmoothNoOutlines"
  1362. Arm1Light.BottomSurface = "SmoothNoOutlines"
  1363. Arm1Light.BackSurface = "SmoothNoOutlines"
  1364. Arm1Light.FrontSurface = "SmoothNoOutlines"
  1365. Arm1Light.LeftSurface = "SmoothNoOutlines"
  1366. Arm1Light.RightSurface = "SmoothNoOutlines"
  1367. Arm1Light.Transparency = 0.7
  1368. Arm1Light.BrickColor = BrickColor.new("Gold")
  1369. Arm1Light.Material = "Neon"
  1370. Arm1Light.Size = Vector3.new(.3,.3,distance)
  1371. Arm1Light.CFrame = CFrame.new(Arm1.CFrame.p , PreviousA1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1372.  
  1373. local distance = (Arm2.CFrame.p - PreviousA2).magnitude
  1374.  
  1375. local Arm2Light = Instance.new("Part",Model)
  1376. Arm2Light.Name = "Left Arm"
  1377. Arm2Light.Anchored = true
  1378. Arm2Light.CanCollide = false
  1379. Arm2Light.TopSurface = "SmoothNoOutlines"
  1380. Arm2Light.BottomSurface = "SmoothNoOutlines"
  1381. Arm2Light.BackSurface = "SmoothNoOutlines"
  1382. Arm2Light.FrontSurface = "SmoothNoOutlines"
  1383. Arm2Light.LeftSurface = "SmoothNoOutlines"
  1384. Arm2Light.RightSurface = "SmoothNoOutlines"
  1385. Arm2Light.Transparency = 0.5
  1386. Arm2Light.BrickColor = BrickColor.new("Gold")
  1387. Arm2Light.Material = "Neon"
  1388. Arm2Light.Size = Vector3.new(.3,.3,distance)
  1389. Arm2Light.CFrame = CFrame.new(Arm2.CFrame.p , PreviousA2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1390.  
  1391. local distance = (Leg1.CFrame.p - PreviousL1).magnitude
  1392.  
  1393. local Leg1Light = Instance.new("Part",Model)
  1394. Leg1Light.Name = "Right Leg"
  1395. Leg1Light.Anchored = true
  1396. Leg1Light.CanCollide = false
  1397. Leg1Light.TopSurface = "SmoothNoOutlines"
  1398. Leg1Light.BottomSurface = "SmoothNoOutlines"
  1399. Leg1Light.BackSurface = "SmoothNoOutlines"
  1400. Leg1Light.FrontSurface = "SmoothNoOutlines"
  1401. Leg1Light.LeftSurface = "SmoothNoOutlines"
  1402. Leg1Light.RightSurface = "SmoothNoOutlines"
  1403. Leg1Light.Transparency = 0.5
  1404. Leg1Light.BrickColor = BrickColor.new("Gold")
  1405. Leg1Light.Material = "Neon"
  1406. Leg1Light.Size = Vector3.new(.3,.3,distance)
  1407. Leg1Light.CFrame = CFrame.new(Leg1.CFrame.p , PreviousL1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1408.  
  1409. local distance = (Leg2.CFrame.p - PreviousL2).magnitude
  1410.  
  1411. local Leg1Light = Instance.new("Part",Model)
  1412. Leg1Light.Name = "Left Leg"
  1413. Leg1Light.Anchored = true
  1414. Leg1Light.CanCollide = false
  1415. Leg1Light.TopSurface = "SmoothNoOutlines"
  1416. Leg1Light.BottomSurface = "SmoothNoOutlines"
  1417. Leg1Light.BackSurface = "SmoothNoOutlines"
  1418. Leg1Light.FrontSurface = "SmoothNoOutlines"
  1419. Leg1Light.LeftSurface = "SmoothNoOutlines"
  1420. Leg1Light.RightSurface = "SmoothNoOutlines"
  1421. Leg1Light.Transparency = 0.5
  1422. Leg1Light.BrickColor = BrickColor.new("Gold")
  1423. Leg1Light.Material = "Neon"
  1424. Leg1Light.Size = Vector3.new(.3,.3,distance)
  1425. Leg1Light.CFrame = CFrame.new(Leg2.CFrame.p , PreviousL2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1426.  
  1427. local distance = (Leg2.CFrame.p - PreviousL2).magnitude
  1428.  
  1429. -- local HeadLight = Instance.new("Part",Model)
  1430. -- HeadLight.Name = "Head"
  1431. -- HeadLight.Anchored = true
  1432. -- HeadLight.CanCollide = false
  1433. -- HeadLight.TopSurface = "SmoothNoOutlines"
  1434. -- HeadLight.BottomSurface = "SmoothNoOutlines"
  1435. -- HeadLight.BackSurface = "SmoothNoOutlines"
  1436. -- HeadLight.FrontSurface = "SmoothNoOutlines"
  1437. -- HeadLight.LeftSurface = "SmoothNoOutlines"
  1438. -- HeadLight.RightSurface = "SmoothNoOutlines"
  1439. -- HeadLight.Transparency = 0.5
  1440. -- HeadLight.BrickColor = BrickColor.new("Gold")
  1441. -- HeadLight.Material = "Neon"
  1442. -- HeadLight.Size = Vector3.new(.3,.3,distance)
  1443. -- HeadLight.CFrame = CFrame.new(head1.CFrame.p , PreviousHl) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1444. --
  1445. -- local distance = (head1.CFrame.p - PreviousHl).magnitude
  1446.  
  1447. local Point1 = Instance.new("Part",Model)
  1448. Point1.Transparency = 1
  1449. Point1.Anchored = true
  1450. Point1.CanCollide = false
  1451. Point1.Size = Vector3.new(0.2,0.2,0.2)
  1452. Point1.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1453. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1454. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1455. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1456.  
  1457. local Point2 = Instance.new("Part",Model)
  1458. Point2.Transparency = 1
  1459. Point2.Anchored = true
  1460. Point2.CanCollide = false
  1461. Point2.Size = Vector3.new(0.2,0.2,0.2)
  1462. Point2.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1463. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1464. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1465. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1466.  
  1467. local Point5 = Instance.new("Part",Model)
  1468. Point5.Transparency = 1
  1469. Point5.Anchored = true
  1470. Point5.CanCollide = false
  1471. Point5.Size = Vector3.new(0.2,0.2,0.2)
  1472. Point5.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1473. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1474. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1475. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1476.  
  1477. local Point6 = Instance.new("Part",Model)
  1478. Point6.Transparency = 1
  1479. Point6.Anchored = true
  1480. Point6.CanCollide = false
  1481. Point6.Size = Vector3.new(0.2,0.2,0.2)
  1482. Point6.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1483. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1484. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1485. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1486.  
  1487. local Point3 = Instance.new("Part",Model)
  1488. Point3.Transparency = 1
  1489. Point3.Anchored = true
  1490. Point3.CanCollide = false
  1491. Point3.Size = Vector3.new(0.2,0.2,0.2)
  1492. Point3.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1493. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1494. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1495. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1496.  
  1497. local Point4 = Instance.new("Part",Model)
  1498. Point4.Transparency = 1
  1499. Point4.Anchored = true
  1500. Point4.CanCollide = false
  1501. Point4.Size = Vector3.new(0.2,0.2,0.2)
  1502. Point4.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1503. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1504. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1505. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1506.  
  1507. local Point7 = Instance.new("Part",Model)
  1508. Point7.Transparency = 1
  1509. Point7.Anchored = true
  1510. Point7.CanCollide = false
  1511. Point7.Size = Vector3.new(0.2,0.2,0.2)
  1512. Point7.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1513. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1514. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1515. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1516.  
  1517. local Point8 = Instance.new("Part",Model)
  1518. Point8.Transparency = 1
  1519. Point8.Anchored = true
  1520. Point8.CanCollide = false
  1521. Point8.Size = Vector3.new(0.2,0.2,0.2)
  1522. Point8.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1523. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1524. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1525. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1526.  
  1527. local Point9 = Instance.new("Part",Model)
  1528. Point9.Transparency = 1
  1529. Point9.Anchored = true
  1530. Point9.CanCollide = false
  1531. Point9.Size = Vector3.new(0.2,0.2,0.2)
  1532. Point9.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  1533. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  1534. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1535. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1536.  
  1537. local Point10 = Instance.new("Part",Model)
  1538. Point10.Transparency = 1
  1539. Point10.Anchored = true
  1540. Point10.CanCollide = false
  1541. Point10.Size = Vector3.new(0.2,0.2,0.2)
  1542. Point10.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  1543. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1544. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1545. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1546.  
  1547. local Point11 = Instance.new("Part",Model)
  1548. Point11.Transparency = 1
  1549. Point11.Anchored = true
  1550. Point11.CanCollide = false
  1551. Point11.Size = Vector3.new(0.2,0.2,0.2)
  1552. Point11.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  1553. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  1554. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1555. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1556.  
  1557. local Point12 = Instance.new("Part",Model)
  1558. Point12.Transparency = 1
  1559. Point12.Anchored = true
  1560. Point12.CanCollide = false
  1561. Point12.Size = Vector3.new(0.2,0.2,0.2)
  1562. Point12.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  1563. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  1564. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1565. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1566.  
  1567. if PrevPoint2 == nil or PrevPoint2 == "Empty" then
  1568. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  1569. local Light = Instance.new("Part",Model)
  1570. Light.Anchored = true
  1571. Light.CanCollide = false
  1572. Light.TopSurface = "SmoothNoOutlines"
  1573. Light.BottomSurface = "SmoothNoOutlines"
  1574. Light.BackSurface = "SmoothNoOutlines"
  1575. Light.FrontSurface = "SmoothNoOutlines"
  1576. Light.LeftSurface = "SmoothNoOutlines"
  1577. Light.RightSurface = "SmoothNoOutlines"
  1578. Light.Transparency = 1
  1579. Light.Size = Vector3.new(0.4,0.4,distance)
  1580. Light.Material = "Neon"
  1581. Light.BrickColor = Color
  1582. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  1583. end
  1584. PreviousP = Object.CFrame.p
  1585. PreviousA1 = Arm1.CFrame.p
  1586. PreviousA2 = Arm2.CFrame.p
  1587. PreviousL1 = Leg1.CFrame.p
  1588. PreviousL2 = Leg2.CFrame.p
  1589. PreviousHl = Leg2.CFrame.p
  1590. PrevPoint1 = Point1.CFrame.p
  1591. PrevPoint2 = Point2.CFrame.p
  1592. PrevPoint3 = Point3.CFrame.p
  1593. PrevPoint4 = Point4.CFrame.p
  1594. PrevPoint5 = Point5.CFrame.p
  1595. PrevPoint6 = Point6.CFrame.p
  1596. PrevPoint7 = Point7.CFrame.p
  1597. PrevPoint8 = Point8.CFrame.p
  1598. PrevPoint9 = Point9.CFrame.p
  1599. PrevPoint10 = Point10.CFrame.p
  1600. PrevPoint11 = Point11.CFrame.p
  1601. PrevPoint12 = Point12.CFrame.p
  1602. local Children = Model:GetChildren()
  1603. wait(0.01)
  1604. for i = 1,10 do
  1605. local Remove = coroutine.wrap(function()
  1606. for i = 1,#Children do
  1607. if Children[i]:IsA("Part") then
  1608. Children[i].Transparency = Children[i].Transparency + 0.1
  1609. if Children[i].Transparency >= 1 and Children[i] ~= Light and Children[i] ~= Point1 and Children[i] ~= Point2 and Children[i] ~= Point3
  1610. and Children[i] ~= Point4 and Children[i] ~= Point5 and Children[i] ~= Point6 and Children[i] ~= Point7 and Children[i] ~= Point8
  1611. and Children[i] ~= Point9 and Children[i] ~= Point10 and Children[i] ~= Point11 and Children[i] ~= Point12 then
  1612. game.Debris:AddItem(Children[i],0)
  1613. end
  1614. end
  1615. if Children[i].ClassName ~= "Part" then
  1616. game.Debris:AddItem(Children[i],0)
  1617. end
  1618. end
  1619. end)
  1620. Remove()
  1621. wait(0)
  1622. end
  1623. game.Debris:AddItem(Light,0)
  1624. game.Debris:AddItem(Point1,0)
  1625. game.Debris:AddItem(Point2,0)
  1626. game.Debris:AddItem(Point3,0)
  1627. game.Debris:AddItem(Point4,0)
  1628. game.Debris:AddItem(Point5,0)
  1629. game.Debris:AddItem(Point6,0)
  1630. game.Debris:AddItem(Point7,0)
  1631. game.Debris:AddItem(Point8,0)
  1632. game.Debris:AddItem(Point9,0)
  1633. game.Debris:AddItem(Point10,0)
  1634. game.Debris:AddItem(Point11,0)
  1635. game.Debris:AddItem(Point12,0)
  1636. end
  1637. end)
  1638. ----------------------------------------------------
  1639. z = Instance.new("Sound", torso)
  1640. z.SoundId = "rbxassetid://506033751" -- Put Music ID Here.
  1641. z.Looped = true
  1642. z.Volume = 1
  1643. wait(.1)
  1644. z:Play()
  1645. -----------------------------------------------------
  1646. Debounces = {
  1647. CanAttack = true;
  1648. NoIdl = false;
  1649. Slashing = false;
  1650. Slashed = false;
  1651. RPunch = false;
  1652. RPunched = false;
  1653. LPunch = false;
  1654. LPunched = false;
  1655. }
  1656. local Touche = {char.Name, }
  1657. ----------------------------------------------------h
  1658. ----------------------------------------------------
  1659. local LocalPlayer = game:GetService("Players").LocalPlayer
  1660. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  1661.  
  1662.  
  1663. ---------------------
  1664. local LocalPlayer = game:GetService("Players").LocalPlayer
  1665. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  1666.  
  1667.  
  1668. ----------------------------------------
  1669. local p = game.Players.LocalPlayer
  1670. local char = p.Character
  1671. local mouse = p:GetMouse()
  1672. local larm = char["Left Arm"]
  1673. local rarm = char["Right Arm"]
  1674. local lleg = char["Left Leg"]
  1675. local rleg = char["Right Leg"]
  1676. local hed = char.Head
  1677. local torso = char.Torso
  1678. local hum = char.Humanoid
  1679. local cam = game.Workspace.CurrentCamera
  1680. local root = char.HumanoidRootPart
  1681. local rj = root.RootJoint
  1682. local deb = false
  1683. local shot = 0
  1684. local stanceToggle = "Idle1"
  1685. local l = game:GetService("Lighting")
  1686. local rs = game:GetService("RunService").RenderStepped
  1687. local hb = game:GetService("RunService").Heartbeat
  1688. local Stepped = game:GetService("RunService").Stepped
  1689. math.randomseed(os.time())
  1690. hum.JumpPower = 100
  1691.  
  1692. ----------------------------------------------------
  1693. fat = Instance.new("BindableEvent",script)
  1694. fat.Name = "Heartbeat"
  1695.  
  1696. script:WaitForChild("Heartbeat")
  1697.  
  1698. frame = 1/30
  1699. tf = 0
  1700. 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.
  1701. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  1702. lastframe = tick()
  1703. script.Heartbeat:Fire() --ayy lmao
  1704.  
  1705. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  1706. tf = tf + s
  1707. if tf >= frame then
  1708. if allowframeloss then
  1709. script.Heartbeat:Fire()
  1710. lastframe=tick()
  1711. else
  1712. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  1713. for i=1, math.floor(tf/frame) do
  1714. script.Heartbeat:Fire()
  1715. end
  1716. lastframe=tick()
  1717. end
  1718. if tossremainder then
  1719. tf = 0
  1720. else
  1721. tf = tf - frame * math.floor(tf/frame)
  1722. end
  1723. end
  1724. end)
  1725. ----------------------------------------------------
  1726. for i,v in pairs(char:children()) do
  1727. if v:IsA("Hat") then
  1728. v:Destroy()
  1729. end
  1730. end
  1731. for i,v in pairs (hed:GetChildren()) do
  1732. if v:IsA("Sound") then
  1733. v:Destroy()
  1734. end
  1735. end
  1736. ----------------------------------------------------
  1737. Debounces = {
  1738. CanAttack = true;
  1739. CanJoke = true;
  1740. NoIdl = false;
  1741. Slashing = false;
  1742. Slashed = false;
  1743. ks = false;
  1744. }
  1745. ----------------------------------------------------
  1746. function weld5(part0, part1, c0, c1)
  1747. weeld=Instance.new("Weld", part0)
  1748. weeld.Part0=part0
  1749. weeld.Part1=part1
  1750. weeld.C0=c0
  1751. weeld.C1=c1
  1752. return weeld
  1753. end
  1754. ----------------------------------------------------
  1755. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  1756. local prt=Instance.new("Part")
  1757. prt.Parent=prnt
  1758. prt.Name="Part"
  1759. prt.Size=siz
  1760. prt.CanCollide=false
  1761. prt.Anchored=anc
  1762. prt.Locked=true
  1763. prt.Transparency = trans
  1764. prt.TopSurface=10
  1765. prt.BottomSurface=10
  1766. prt.FrontSurface=10
  1767. prt.BackSurface=10
  1768. prt.LeftSurface=10
  1769. prt.RightSurface=10
  1770. prt:BreakJoints()
  1771. prt.CFrame=cf or CFrame.new(30,10,30)
  1772. prt.Material=mat
  1773. prt.BrickColor=BrickColor.new(col)
  1774. m=Instance.new("SpecialMesh",prt)
  1775. m.MeshType=6
  1776. return prt
  1777. end
  1778. ----------------------------------------------------
  1779. function lerp(a, b, t) -- Linear interpolation
  1780. return a + (b - a)*t
  1781. end
  1782.  
  1783. function slerp(a, b, t) --Spherical interpolation
  1784. dot = a:Dot(b)
  1785. if dot > 0.99999 or dot < -0.99999 then
  1786. return t <= 0.5 and a or b
  1787. else
  1788. r = math.acos(dot)
  1789. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1790. end
  1791. end
  1792.  
  1793. function matrixInterpolate(a, b, t)
  1794. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1795. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1796. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1797. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1798. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1799. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1800. local t = v1:Dot(v2)
  1801. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1802. return CFrame.new()
  1803. end
  1804. return CFrame.new(
  1805. v0.x, v0.y, v0.z,
  1806. v1.x, v1.y, v1.z,
  1807. v2.x, v2.y, v2.z,
  1808. v3.x, v3.y, v3.z)
  1809. end
  1810. ----------------------------------------------------
  1811. function genWeld(a,b)
  1812. local w = Instance.new("Weld",a)
  1813. w.Part0 = a
  1814. w.Part1 = b
  1815. return w
  1816. end
  1817. function weld(a, b)
  1818. local weld = Instance.new("Weld")
  1819. weld.Name = "W"
  1820. weld.Part0 = a
  1821. weld.Part1 = b
  1822. weld.C0 = a.CFrame:inverse() * b.CFrame
  1823. weld.Parent = a
  1824. return weld;
  1825. end
  1826. ----------------------------------------------------
  1827. function Lerp(c1,c2,al)
  1828. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1829. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1830. for i,v in pairs(com1) do
  1831. com1[i] = v+(com2[i]-v)*al
  1832. end
  1833. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1834. end
  1835. ----------------------------------------------------
  1836. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1837. local wld = Instance.new("Weld", wp1)
  1838. wld.Part0 = wp0
  1839. wld.Part1 = wp1
  1840. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1841. end
  1842. ----------------------------------------------------
  1843. newWeld(torso, larm, -1.5, 0.5, 0)
  1844. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1845. newWeld(torso, rarm, 1.5, 0.5, 0)
  1846. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1847. newWeld(torso, hed, 0, 1.5, 0)
  1848. newWeld(torso, lleg, -0.5, -1, 0)
  1849. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1850. newWeld(torso, rleg, 0.5, -1, 0)
  1851. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1852. newWeld(root, torso, 0, -1, 0)
  1853. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1854. ----------------------------------------------------
  1855. z = Instance.new("Sound",char) --Smile: print("�?�?�?�??�?�? â�?��?��?�?â�?� �?¢â�??¬â�??¢�?�?�?�??�?¢â�??¬ �?�?�?¢�?¢â�?�š�?¬�?¢â�?�ž�?¢�?�?�?�??�?�? â�?��?��?�?�?¢�?¢â�?�š�?¬�?�?��?¡�?�?�?�??�?¢â�??¬�?¡�?�?â�?�š�?�??�?¢?�?�?�?�??�?�? â�?��?��?�?â�?� �?¢â�??¬â�??¢�?�?�?�??�?�??�?¢�?�?�?¢�?¢â�??¬�?¡�?�??�?¬�?�?â�?�¦�?�??�?¡�?�?�?�??�?�? â�?��?��?�?�?¢�?¢â�?�š�?¬�?�?��?¡�?�?�?�??�?¢â�??¬�?¡�?�?â�?�š�?�??�?º")
  1856. z.SoundId = "rbxassetid://0"--410761150, 411368002
  1857. z.Looped = true
  1858. z.Pitch = 1
  1859. z.Volume = 1
  1860. wait(0.1)
  1861. z:Play()
  1862. ----------------------------------------------------
  1863. New = function(Object, Parent, Name, Data)
  1864. local Object = Instance.new(Object)
  1865. for Index, Value in pairs(Data or {}) do
  1866. Object[Index] = Value
  1867. end
  1868. Object.Parent = Parent
  1869. Object.Name = Name
  1870. return Object
  1871. end
  1872. ----------------------------------------------------
  1873. --Left Arm
  1874. m = Instance.new("Model")
  1875. m.Name = "LeftArm"
  1876.  
  1877. p4 = Instance.new("Part", m)
  1878. p4.BrickColor = BrickColor.new("Really black")
  1879. p4.Material = Enum.Material.SmoothPlastic
  1880. p4.Name = "LeftArmPlate"
  1881. p4.Size = Vector3.new(1, 2, 1)
  1882. p4.Transparency = 1
  1883. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1884. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1885. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1886. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1887. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1888. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1889. b4 = Instance.new("SpecialMesh", p4)
  1890. b4.MeshType = Enum.MeshType.Brick
  1891. b4.Name = "Mesh"
  1892. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898. w1 = Instance.new("Weld", p1)
  1899. w1.Name = "Part_Weld"
  1900. w1.Part0 = p1
  1901. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1902. w1.Part1 = p2
  1903. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1904. w2 = Instance.new("Weld", p2)
  1905. w2.Name = "Part_Weld"
  1906. w2.Part0 = p2
  1907. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1908. w2.Part1 = p3
  1909. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1910. w3 = Instance.new("Weld", p3)
  1911. w3.Name = "LeftArmPlate_Weld"
  1912. w3.Part0 = p3
  1913. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1914. w3.Part1 = p4
  1915. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1916. w4 = Instance.new("Weld", p4)
  1917. w4.Name = "Part_Weld"
  1918. w4.Part0 = p4
  1919. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1920. w4.Part1 = p5
  1921. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1922. w5 = Instance.new("Weld", p5)
  1923. w5.Name = "Part_Weld"
  1924. w5.Part0 = p5
  1925. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1926. w5.Part1 = p6
  1927. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1928. w6 = Instance.new("Weld", p6)
  1929. w6.Name = "Part_Weld"
  1930. w6.Part0 = p6
  1931. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1932. w6.Part1 = p7
  1933. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1934. w7 = Instance.new("Weld", p7)
  1935. w7.Name = "Part_Weld"
  1936. w7.Part0 = p7
  1937. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1938. w7.Part1 = p8
  1939. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1940. w8 = Instance.new("Weld", p8)
  1941. w8.Name = "Part_Weld"
  1942. w8.Part0 = p8
  1943. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1944. w8.Part1 = p9
  1945. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1946. w9 = Instance.new("Weld", p9)
  1947. w9.Name = "Part_Weld"
  1948. w9.Part0 = p9
  1949. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1950. w9.Part1 = p10
  1951. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1952. w10 = Instance.new("Weld", p10)
  1953. w10.Name = "Part_Weld"
  1954. w10.Part0 = p10
  1955. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1956. w10.Part1 = p11
  1957. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1958. w11 = Instance.new("Weld", p11)
  1959. w11.Name = "Part_Weld"
  1960. w11.Part0 = p11
  1961. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1962. w11.Part1 = p12
  1963. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1964. w12 = Instance.new("Weld", p12)
  1965. w12.Name = "Part_Weld"
  1966. w12.Part0 = p12
  1967. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1968. w12.Part1 = p13
  1969. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1970. w13 = Instance.new("Weld", p13)
  1971. w13.Name = "Part_Weld"
  1972. w13.Part0 = p13
  1973. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1974. w13.Part1 = p14
  1975. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1976. w14 = Instance.new("Weld", p14)
  1977. w14.Name = "Part_Weld"
  1978. w14.Part0 = p14
  1979. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1980. w14.Part1 = p15
  1981. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1982. w15 = Instance.new("Weld", p15)
  1983. w15.Name = "Part_Weld"
  1984. w15.Part0 = p15
  1985. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1986. w15.Part1 = p16
  1987. 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)
  1988.  
  1989. m.Parent = larm
  1990. m:MakeJoints()
  1991. ----------------------------------------------------
  1992. local cor = Instance.new("Part", larm.LeftArm)
  1993. cor.Name = "Thingy"
  1994. cor.Locked = true
  1995. cor.BottomSurface = 0
  1996. cor.CanCollide = false
  1997. cor.Size = Vector3.new(1, 1, 1)
  1998. cor.Transparency = 1
  1999. cor.TopSurface = 0
  2000. corw = Instance.new("Weld", cor)
  2001. corw.Part0 = larm
  2002. corw.Part1 = cor
  2003. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2004. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2005. weld1 = Instance.new("Weld", larm.LeftArm)
  2006. weld1.Part0 = cor
  2007. weld1.Part1 = larm.LeftArm.LeftArmPlate
  2008. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2009. --Right Arm
  2010. m2 = Instance.new("Model")
  2011. m2.Name = "RightArm"
  2012.  
  2013. p7 = Instance.new("Part", m2)
  2014. p7.BrickColor = BrickColor.new("Institutional white")
  2015. p7.Material = Enum.Material.SmoothPlastic
  2016. p7.Transparency = 1
  2017. p7.Name = "RightArmPlate"
  2018. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2019. p7.FormFactor = Enum.FormFactor.Symmetric
  2020. p7.Size = Vector3.new(1, 2, 1)
  2021. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2022. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2023. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2024. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2025. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2026. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2027. b7 = Instance.new("SpecialMesh", p7)
  2028. b7.MeshType = Enum.MeshType.Brick
  2029. b7.Name = "Mesh"
  2030. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  2031.  
  2032.  
  2033. w1 = Instance.new("Weld", p1)
  2034. w1.Name = "Part_Weld"
  2035. w1.Part0 = p1
  2036. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2037. w1.Part1 = p2
  2038. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2039. w2 = Instance.new("Weld", p2)
  2040. w2.Name = "Part_Weld"
  2041. w2.Part0 = p2
  2042. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2043. w2.Part1 = p3
  2044. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2045. w3 = Instance.new("Weld", p3)
  2046. w3.Name = "Part_Weld"
  2047. w3.Part0 = p3
  2048. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2049. w3.Part1 = p4
  2050. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2051. w4 = Instance.new("Weld", p4)
  2052. w4.Name = "Part_Weld"
  2053. w4.Part0 = p4
  2054. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2055. w4.Part1 = p5
  2056. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2057. w5 = Instance.new("Weld", p5)
  2058. w5.Name = "Part_Weld"
  2059. w5.Part0 = p5
  2060. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2061. w5.Part1 = p6
  2062. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2063. w6 = Instance.new("Weld", p6)
  2064. w6.Name = "RightArmPlate_Weld"
  2065. w6.Part0 = p6
  2066. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2067. w6.Part1 = p7
  2068. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2069. w7 = Instance.new("Weld", p7)
  2070. w7.Name = "Part_Weld"
  2071. w7.Part0 = p7
  2072. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2073. w7.Part1 = p8
  2074. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2075. w8 = Instance.new("Weld", p8)
  2076. w8.Name = "Part_Weld"
  2077. w8.Part0 = p8
  2078. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2079. w8.Part1 = p9
  2080. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2081. w9 = Instance.new("Weld", p9)
  2082. w9.Name = "Part_Weld"
  2083. w9.Part0 = p9
  2084. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2085. w9.Part1 = p10
  2086. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2087. w10 = Instance.new("Weld", p10)
  2088. w10.Name = "Part_Weld"
  2089. w10.Part0 = p10
  2090. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2091. w10.Part1 = p11
  2092. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2093. w11 = Instance.new("Weld", p11)
  2094. w11.Name = "Part_Weld"
  2095. w11.Part0 = p11
  2096. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2097. w11.Part1 = p12
  2098. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2099. w12 = Instance.new("Weld", p12)
  2100. w12.Name = "Part_Weld"
  2101. w12.Part0 = p12
  2102. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2103. w12.Part1 = p13
  2104. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2105. w13 = Instance.new("Weld", p13)
  2106. w13.Name = "Part_Weld"
  2107. w13.Part0 = p13
  2108. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2109. w13.Part1 = p14
  2110. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2111. w14 = Instance.new("Weld", p14)
  2112. w14.Name = "Part_Weld"
  2113. w14.Part0 = p14
  2114. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2115. w14.Part1 = p15
  2116. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2117. w15 = Instance.new("Weld", p15)
  2118. w15.Name = "Part_Weld"
  2119. w15.Part0 = p15
  2120. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2121. w15.Part1 = p16
  2122. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2123. w16 = Instance.new("Weld", p16)
  2124. w16.Name = "Part_Weld"
  2125. w16.Part0 = p16
  2126. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2127. w16.Part1 = p17
  2128. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2129. w17 = Instance.new("Weld", p17)
  2130. w17.Name = "Part_Weld"
  2131. w17.Part0 = p17
  2132. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2133. w17.Part1 = p18
  2134. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2135. w18 = Instance.new("Weld", p18)
  2136. w18.Name = "Part_Weld"
  2137. w18.Part0 = p18
  2138. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2139. w18.Part1 = p19
  2140. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2141. m2.Parent = rarm
  2142. m2:MakeJoints()
  2143. ----------------------------------------------------
  2144. local cor2 = Instance.new("Part", rarm.RightArm)
  2145. cor2.Name = "Thingy"
  2146. cor2.Locked = true
  2147. cor2.BottomSurface = 0
  2148. cor2.CanCollide = false
  2149. cor2.Size = Vector3.new(1, 1, 1)
  2150. cor2.Transparency = 1
  2151. cor2.TopSurface = 0
  2152. corw2 = Instance.new("Weld", cor2)
  2153. corw2.Part0 = rarm
  2154. corw2.Part1 = cor2
  2155. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2156. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2157. weld2 = Instance.new("Weld", rarm.RightArm)
  2158. weld2.Part0 = cor2
  2159. weld2.Part1 = rarm.RightArm.RightArmPlate
  2160. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2161.  
  2162.  
  2163. --Zyrodoxa
  2164. m8 = Instance.new("Model")
  2165. m8.Name = "Zyrodoxa"
  2166.  
  2167. p16 = Instance.new("Part", m8)
  2168. p16.BrickColor = BrickColor.new("Instutional white")
  2169. p16.Material = Enum.Material.Metal
  2170. p16.Name = "Handle"
  2171. 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)
  2172. p16.CanCollide = false
  2173. p16.Locked = true
  2174. p16.FormFactor = Enum.FormFactor.Custom
  2175. p16.Size = Vector3.new(0, 0, 0)
  2176. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2177. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2178. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2179. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2180. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2181. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2182. b16 = Instance.new("BlockMesh", p16)
  2183. b16.Name = "Mesh"
  2184. b16.Scale = Vector3.new(0, 0, 0)
  2185.  
  2186. w16 = Instance.new("Weld", p16)
  2187. w16.Name = "Block_Weld"
  2188. w16.Part0 = p16
  2189. 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)
  2190. w16.Part1 = p17
  2191. 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)
  2192.  
  2193. m8.Parent = rarm
  2194. m8:MakeJoints()
  2195. ----------------------------------------------------
  2196. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  2197. cor8.Name = "Thingy"
  2198. cor8.Locked = true
  2199. cor8.BottomSurface = 0
  2200. cor8.CanCollide = false
  2201. cor8.Size = Vector3.new(1, 1, 1)
  2202. cor8.Transparency = 1
  2203. cor8.TopSurface = 0
  2204. corw8 = Instance.new("Weld", cor8)
  2205. corw8.Part0 = rarm
  2206. corw8.Part1 = cor8
  2207. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  2208. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2209. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  2210. weld8.Part0 = cor8
  2211. weld8.Part1 = rarm.Zyrodoxa.Handle
  2212. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2213. ----------------------------------------------------
  2214. models = {m,m2,m3,m4,m5,m6,m7,m8}
  2215. parts = {}
  2216. Stepped:connect(function()
  2217. for i,v in pairs(models) do
  2218. for _, a in pairs(v:GetChildren()) do
  2219. if v:IsA("Part") and v.Name ~= "Thingy" then
  2220. table.insert(parts, a)
  2221. for i,v in pairs(parts) do
  2222. v.CanCollide = false
  2223. end
  2224. end
  2225. end
  2226. end
  2227. end)
  2228. ----------------------------------------------------
  2229. local animpose = "Idle1"
  2230. local lastanimpose = "Idle1"
  2231. local grab = false
  2232. local Smooth = 1
  2233. local sine = 0
  2234. local change = 1
  2235. local val = 0
  2236. local ffing = false
  2237. ----------------------------------------------------
  2238. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  2239.  
  2240. function FindHumanoids()
  2241. local function c_region(Position, Size)
  2242. local SizeOffset = Size/2
  2243. local Point1 = Position - SizeOffset
  2244. local Point2 = Position + SizeOffset
  2245. local a = Instance.new("Part", workspace)
  2246. a.Anchored = true
  2247. a.Size = Size
  2248. a.Position = Position
  2249. print("Hey!, I'm making a part!")
  2250. return Region3.new(Point1, Point2)
  2251. end
  2252.  
  2253. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  2254. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  2255. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  2256. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  2257.  
  2258. local regions = {a, b, c, d}
  2259.  
  2260. local found_humanoids = {}
  2261. local already_found = {char.Name}
  2262.  
  2263. for _, region in pairs(regions) do
  2264. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  2265. print(part, part.Parent, part.Name) ---nope
  2266. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  2267. local humanoid = part.Parent:FindFirstChild("Humanoid")
  2268. local name = humanoid.Parent.Name
  2269. local exists = false
  2270. for _, n in pairs(already_found) do
  2271. if n == name then
  2272. exists = true
  2273. end
  2274. end
  2275. if not exists then
  2276. table.insert(already_found, name)
  2277. table.insert(found_humanoids, humanoid)
  2278. end
  2279. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  2280. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  2281. local name = humanoid.Parent.Parent.Name
  2282. local exists = false
  2283. for _, n in pairs(already_found) do
  2284. if n == name then
  2285. exists = true
  2286. end
  2287. end
  2288. if not exists then
  2289. table.insert(already_found, name)
  2290. table.insert(found_humanoids, humanoid)
  2291. end
  2292. end
  2293. end
  2294. end
  2295. return found_humanoids
  2296. end
  2297.  
  2298. local humanoids = FindHumanoids()
  2299. if #humanoids == 0 then
  2300. for i, v in pairs(humanoids) do
  2301. print(v.Parent.Name)
  2302. if Debounces.Slashing == true then
  2303. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  2304. elseif Debounces.Slashing == false then
  2305. wait()
  2306. end
  2307. end
  2308. wait(0.3)
  2309. end]]--
  2310. ----------------------------------------------------
  2311. --[[mouse.KeyDown:connect(function(key)
  2312. if key == "f" then
  2313. if Debounces.CanAttack == true then
  2314. Debounces.CanAttack = false
  2315. Debounces.NoIdl = true
  2316. Debounces.on = true
  2317. for i = 1, 20 do
  2318. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2319. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2320. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  2321. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  2322. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  2323. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  2324. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  2325. 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)
  2326. 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)
  2327. 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)
  2328. 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)
  2329. 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)
  2330. 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)
  2331. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  2332. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  2333. 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)
  2334. 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)
  2335. 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)
  2336. 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)
  2337. if Debounces.on == false then
  2338. break
  2339. end
  2340. fat.Event:wait()
  2341. end
  2342. end
  2343. end
  2344. end)]]--
  2345. ----------------------------------------------------
  2346. mod4 = Instance.new("Model",char)
  2347.  
  2348. ptez = {0.7, 0.8, 0.9, 1}
  2349.  
  2350. function FindNearestTorso(Position,Distance,SinglePlayer)
  2351. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2352. local List = {}
  2353. for i,v in pairs(workspace:GetChildren())do
  2354. if v:IsA("Model")then
  2355. if v:findFirstChild("Torso")then
  2356. if v ~= char then
  2357. if(v.Torso.Position -Position).magnitude <= Distance then
  2358. table.insert(List,v)
  2359. end
  2360. end
  2361. end
  2362. end
  2363. end
  2364. return List
  2365. end
  2366.  
  2367. function Slam()
  2368. local part=Instance.new('Part',mod4)
  2369. part.Anchored=true
  2370. part.CanCollide=false
  2371. part.FormFactor='Custom'
  2372. part.Size=Vector3.new(.2,.2,.2)
  2373. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  2374. part.Transparency=.7
  2375. part.BrickColor=BrickColor.new('Really black')
  2376. mesh=Instance.new('SpecialMesh',part)
  2377. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  2378. mesh.Scale=Vector3.new(3,3,3)
  2379. local part2=Instance.new('Part',mod4)
  2380. part2.Anchored=true
  2381. part2.CanCollide=false
  2382. part2.FormFactor='Custom'
  2383. part2.Size=Vector3.new(.2,.2,.2)
  2384. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  2385. part2.Transparency=.7
  2386. part2.BrickColor=BrickColor.new('Institutional white')
  2387. mesh2=Instance.new('SpecialMesh',part2)
  2388. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  2389. mesh2.Scale=Vector3.new(3,1.5,3)
  2390. x = Instance.new("Sound",larm)
  2391. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  2392. x.Pitch = ptez[math.random(1,#ptez)]
  2393. x.Volume = 1
  2394. wait(.1)
  2395. x1 = Instance.new("Sound",larm)
  2396. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  2397. x1.Pitch = ptez[math.random(1,#ptez)]
  2398. x1.Volume = 1
  2399. wait(.1)
  2400. x:Play()
  2401. x1:Play()
  2402. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  2403. if v:FindFirstChild('Humanoid') then
  2404. v.Humanoid:TakeDamage(math.random(300,450))
  2405. end
  2406. end
  2407. coroutine.resume(coroutine.create(function()
  2408. for i=0,0.62,0.13 do
  2409. wait()
  2410. part.CFrame=part.CFrame
  2411. part.Transparency=i
  2412. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  2413. part2.CFrame=part2.CFrame
  2414. part2.Transparency=i
  2415. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  2416. end
  2417. part.Parent=nil
  2418. part2.Parent=nil
  2419. x:Destroy()
  2420. end))
  2421. end
  2422. ----------------------------------------------------
  2423. wPart = function(x,y,z,color,tr,cc,an,parent)
  2424. local wp = Instance.new('WedgePart',parent or Weapon)
  2425. wp.formFactor = 'Custom'
  2426. wp.Size = Vector3.new(x,y,z)
  2427. wp.BrickColor = BrickColor.new(color)
  2428. wp.CanCollide = cc
  2429. wp.Transparency = tr
  2430. wp.Anchored = an
  2431. wp.TopSurface,wp.BottomSurface = 0,0
  2432. return wp
  2433. end
  2434.  
  2435. Mesh = function(par,num,x,y,z)
  2436. local msh = _
  2437. if num == 1 then
  2438. msh = Instance.new("CylinderMesh",par)
  2439. elseif num == 2 then
  2440. msh = Instance.new("SpecialMesh",par)
  2441. msh.MeshType = 3
  2442. elseif num == 3 then
  2443. msh = Instance.new("BlockMesh",par)
  2444. elseif num == 4 then
  2445. msh = Instance.new("SpecialMesh",par)
  2446. msh.MeshType = "Torso"
  2447. elseif type(num) == 'string' then
  2448. msh = Instance.new("SpecialMesh",par)
  2449. msh.MeshId = num
  2450. end
  2451. msh.Scale = Vector3.new(x,y,z)
  2452. return msh
  2453. end
  2454.  
  2455. local function CFrameFromTopBack(at, top, back)
  2456. local right = top:Cross(back)
  2457. return CFrame.new(at.x, at.y, at.z,
  2458. right.x, top.x, back.x,
  2459. right.y, top.y, back.y,
  2460. right.z, top.z, back.z)
  2461. end
  2462.  
  2463. function Triangle(a, b, c)
  2464. local edg1 = (c-a):Dot((b-a).unit)
  2465. local edg2 = (a-b):Dot((c-b).unit)
  2466. local edg3 = (b-c):Dot((a-c).unit)
  2467. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2468. a, b, c = a, b, c
  2469. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2470. a, b, c = b, c, a
  2471. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2472. a, b, c = c, a, b
  2473. else
  2474. print("unreachable")
  2475. end
  2476. local len1 = (c-a):Dot((b-a).unit)
  2477. local len2 = (b-a).magnitude - len1
  2478. local width = (a + (b-a).unit*len1 - c).magnitude
  2479. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2480. local list = {}
  2481. if len1 > 0.01 then
  2482. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  2483. local sz = Vector3.new(0.2, width, len1)
  2484. w1.Size = sz
  2485. local sp = Mesh(w1,2,0,0,0)
  2486. sp.MeshType='Wedge'
  2487. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  2488. w1:BreakJoints()
  2489. w1.Anchored = true
  2490. w1.Transparency = 0.7
  2491. Spawn(function()
  2492. for i=0,1,0.1 do
  2493. fat.Event:wait()
  2494. w1.Transparency=w1.Transparency+0.03
  2495. end
  2496. end)
  2497. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2498. table.insert(list,w1)
  2499. end
  2500. if len2 > 0.01 then
  2501. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  2502. local sz = Vector3.new(0.2, width, len2)
  2503. w2.Size = sz
  2504. local sp = Mesh(w2,2,0,0,0)
  2505. sp.MeshType='Wedge'
  2506. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  2507. w2:BreakJoints()
  2508. w2.Anchored = true
  2509. w2.Transparency = 0.7
  2510. Spawn(function()
  2511. for i=0,1,0.1 do
  2512. fat.Event:wait()
  2513. w2.Transparency=w2.Transparency+0.03
  2514. end
  2515. end)
  2516. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2517. table.insert(list,w2)
  2518. end
  2519. return unpack(list)
  2520. end
  2521.  
  2522. function trail(p,t,h)
  2523. Spawn(function()
  2524. local blcf = p.CFrame
  2525. local scfr = blcf
  2526. for i=1,t do
  2527. local blcf = p.CFrame
  2528. if scfr and (p.Position-scfr.p).magnitude > .1 then
  2529. 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)
  2530. if a then game.Debris:AddItem(a,1) end
  2531. if b then game.Debris:AddItem(b,1) end
  2532. 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)
  2533. if a then game.Debris:AddItem(a,1) end
  2534. if b then game.Debris:AddItem(b,1) end
  2535. scfr = blcf
  2536. elseif not scfr then
  2537. scfr = blcf
  2538. end
  2539. fat.Event:wait()
  2540. end
  2541. scfr=nil
  2542. end)
  2543. end
  2544. --trail(char.Sword.Blade,1e1000,5)
  2545. ----------------------------------------------------
  2546. function Dmg()
  2547. local partofdeath = rarm.Zyrodoxa.Hitbox
  2548. local function CreateRegion3FromLocAndSize(Position, Size)
  2549. local SizeOffset = Size/2
  2550. local Point1 = Position - SizeOffset
  2551. local Point2 = Position + SizeOffset
  2552. return Region3.new(Point1, Point2)
  2553. end
  2554. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  2555. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  2556. Spawn(function()
  2557. if Debounces.Slashing == true and Debounces.Slashed == false then
  2558. Debounces.Slashed = true
  2559. ypcall(function()
  2560. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  2561. humanoid:TakeDamage(math.random(10,50))
  2562. end)
  2563. wait(.4)
  2564. Debounces.Slashed = false
  2565. end
  2566. end)
  2567. end
  2568. end
  2569. ----------------------------------------------------
  2570. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  2571. ptz = {0.7, 0.8, 0.9, 1}
  2572. idz = {"161006212", "161006195"}
  2573. function attackone()
  2574. for i = 1, 13 do
  2575. 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)
  2576. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  2577. 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)
  2578. 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)
  2579. 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)
  2580. 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)
  2581. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  2582. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  2583. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  2584. 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)
  2585. 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)
  2586. 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)
  2587. 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)
  2588. 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)
  2589. if Debounces.on == false then
  2590. break
  2591. end
  2592. fat.Event:wait()
  2593. end
  2594. trail(rarm.Zyrodoxa.Hitbox,20,2)
  2595. Debounces.Slashing = true
  2596. wait(0.2)
  2597. --[[z = Instance.new("Sound", hed)
  2598. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  2599. z.Pitch = ptz[math.random(1,#ptz)]
  2600. z.Volume = 1
  2601. wait(.01)
  2602. z:Play()]]--
  2603. for i = 1, 14 do
  2604. Dmg()
  2605. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  2606. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  2607. 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)
  2608. 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)
  2609. 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)
  2610. 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)
  2611. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  2612. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  2613. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  2614. 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)
  2615. 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)
  2616. 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)
  2617. 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)
  2618. 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)
  2619. if Debounces.on == false then break end
  2620. rs:wait()
  2621. end
  2622. Debounces.Slashing = false
  2623. end
  2624. function attacktwo()
  2625. Debounces.Slashing = true
  2626. for i = 1, 14 do
  2627. Dmg()
  2628. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  2629. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  2630. 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)
  2631. 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)
  2632. 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)
  2633. 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)
  2634. 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)
  2635. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  2636. 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)
  2637. 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)
  2638. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  2639. 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)
  2640. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  2641. 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)
  2642. if Debounces.on == false then
  2643. break
  2644. end
  2645. rs:wait()
  2646. end
  2647. end
  2648. ----------------------------------------------------
  2649.  
  2650. ----------------------------------------------------
  2651. definition = 5
  2652. bc = {}
  2653. bezierparts = {}
  2654. function NoOutline(Part)
  2655. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2656. end
  2657. function draw(p,d)
  2658. for i=1,d do
  2659. local t = i/d
  2660. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  2661. end
  2662.  
  2663. Spawn(function() fat.Event:wait()
  2664. for i,v in pairs(bezierparts) do
  2665. v.Transparency = 1
  2666. end
  2667. end)
  2668. end
  2669. --local points = {larm.Position,rarn.Position,invisipart.Position}
  2670. --draw(points,definition)
  2671.  
  2672. fat.Event:wait()
  2673.  
  2674. rpart = Instance.new("Part",rarm)
  2675. NoOutline(rpart)
  2676. rpart.Anchored = false
  2677. rpart.Size = Vector3.new(1,1,1)
  2678. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2679. rpart.Transparency = 1
  2680. newWeld(rarm, rpart, 0, 0, 0)
  2681. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  2682. lpart = Instance.new("Part",larm)
  2683. NoOutline(lpart)
  2684. lpart.Anchored = false
  2685. lpart.Size = Vector3.new(1,1,1)
  2686. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2687. lpart.Transparency = 1
  2688. newWeld(larm, lpart, 0, 0, 0)
  2689. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  2690. invisipart = Instance.new("Part",torso)
  2691. NoOutline(invisipart)
  2692. invisipart.Anchored = false
  2693. invisipart.Size = Vector3.new(1,1,1)
  2694. invisipart.Transparency = 1
  2695. invisipart.CFrame = torso.CFrame
  2696. newWeld(torso, invisipart, 0, 0, 0)
  2697. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  2698. table.insert(bezierparts, rpart)
  2699. table.insert(bezierparts, lpart)
  2700. table.insert(bezierparts, invisipart)
  2701. for i = 1, 40 do
  2702. local points = {lpart.Position,invisipart.Position,rpart.Position}
  2703. draw(points,definition)
  2704. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  2705. 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)
  2706. 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)
  2707. 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)
  2708. 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)
  2709. 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)
  2710. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  2711. 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)
  2712. 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)
  2713. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  2714. 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)
  2715. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  2716. 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)
  2717. if Debounces.on == false then
  2718. break
  2719. end
  2720. fat.Event:wait()
  2721. end
  2722. for i,v in pairs(bezierparts) do
  2723. v:Destroy()
  2724. end
  2725. --draw(points,definition)
  2726. if Debounces.CanAttack == false then
  2727. Debounces.CanAttack = true
  2728. Debounces.NoIdl = false
  2729. Debounces.on = false
  2730. end
  2731.  
  2732. ----------------------------------------------------
  2733. ----------------------------------------------------
  2734.  
  2735. ----------------------------------------------------
  2736. ----------------------------------------------------
  2737. mouse.KeyDown:connect(function(key)
  2738. if key == "j" then
  2739. if Debounces.CanJoke == true then
  2740. Debounces.CanJoke = false
  2741. z = Instance.new("Sound",hed)
  2742. z.SoundId = "rbxassetid://415859013"
  2743. z.Pitch = pitches[math.random(1,#pitches)]
  2744. z.Volume = 1
  2745. wait()
  2746. z:Play()
  2747. wait(2)
  2748. z:Destroy()
  2749. if Debounces.CanJoke == false then
  2750. Debounces.CanJoke = true
  2751. end
  2752. end
  2753. end
  2754. end)
  2755.  
  2756. ----------------------------------------------------
  2757. Grab = false
  2758. mouse.KeyDown:connect(function(key)
  2759. if key == "r" then
  2760. Debounces.on = true
  2761. Debounces.NoIdl = true
  2762. Debounces.ks = true
  2763. if Grab == false then
  2764. gp = nil
  2765. for i = 1, 20 do
  2766. 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)
  2767. 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)
  2768. 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)
  2769. 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)
  2770. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  2771. 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)
  2772. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  2773. 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)
  2774. 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)
  2775. 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)
  2776. 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)
  2777. 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)
  2778. if Debounces.on == false then break end
  2779. fat.Event:wait()
  2780. end
  2781. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  2782. ht = hit.Parent
  2783. for i,v in pairs(ht:GetChildren()) do
  2784. if v:IsA("Part") then
  2785. v.CanCollide = false
  2786. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  2787. end
  2788. end
  2789. hum1=ht:FindFirstChild('Humanoid')
  2790. if hum1 ~= nil then
  2791. if Debounces.ks==true then
  2792. z = Instance.new("Sound",hed)
  2793. z.SoundId = "rbxassetid://169380525"
  2794. z.Volume = 1
  2795. z:Play()
  2796. Debounces.ks=false
  2797. end
  2798. hum1.PlatformStand=true
  2799. hum1:ChangeState'Physics'
  2800. gp = ht
  2801. Grab = true
  2802. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  2803. asd.Parent = larm
  2804. asd.Name = "asd"
  2805. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  2806. stanceToggle = "Grabbed"
  2807. --[[elseif hum1 == nil then
  2808. con1:disconnect()
  2809. wait() return]]--
  2810. end
  2811. end)
  2812. for i = 1, 20 do
  2813. 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)
  2814. 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)
  2815. 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)
  2816. 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)
  2817. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  2818. 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)
  2819. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  2820. 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)
  2821. 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)
  2822. 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)
  2823. 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)
  2824. 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)
  2825. if Debounces.on == false then break end
  2826. fat.Event:wait()
  2827. end
  2828. con1:disconnect()
  2829. Debounces.on = false
  2830. Debounces.NoIdl = false
  2831. elseif Grab == true then
  2832. Grab = false
  2833. --[[for i = 1, 16 do
  2834. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
  2835. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
  2836. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  2837. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2838. 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)
  2839. 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)
  2840. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  2841. if Debounces.on == false then end
  2842. rs:wait()
  2843. end]]--
  2844. for i = 1, 16 do
  2845. 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)
  2846. 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)
  2847. 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)
  2848. 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)
  2849. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  2850. 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)
  2851. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  2852. 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)
  2853. 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)
  2854. 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)
  2855. 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)
  2856. 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)
  2857. if Debounces.on == false then end
  2858. rs:wait()
  2859. end
  2860. for i = 1, 12 do
  2861. 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)
  2862. 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)
  2863. 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)
  2864. 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)
  2865. 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)
  2866. 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)
  2867. 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)
  2868. 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)
  2869. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  2870. 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)
  2871. 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)
  2872. 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)
  2873. if Debounces.on == false then end
  2874. rs:wait()
  2875. end
  2876. Slam()
  2877. if gp ~= nil then
  2878. for i,v in pairs(larm:GetChildren()) do
  2879. if v.Name == "asd" and v:IsA("Weld") then
  2880. v:Remove()
  2881. end
  2882. if v:IsA("Part") then
  2883. v.CanCollide = true
  2884. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  2885. end
  2886. end
  2887. end
  2888. stanceToggle = "Idle1"
  2889. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2890. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2891. bv.P = 125000
  2892. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  2893. ht=nil
  2894. Debounces.on = false
  2895. Debounces.NoIdl = false
  2896. elseif ht == nil then wait()
  2897. Grab = false
  2898. Debounces.on = false
  2899. Debounces.NoIdl = false
  2900. end
  2901. end
  2902. end)
  2903. ----------------------------------------------------
  2904. Change = false
  2905. mouse.KeyDown:connect(function(key)
  2906. if key == "n" then
  2907. if Change == false then
  2908. Change = true
  2909. stanceToggle = "Idle2"
  2910. elseif Change == true then
  2911. Change = false
  2912. stanceToggle = "Idle1"
  2913. end
  2914. end
  2915. end)
  2916. ----------------------------------------------------
  2917. mouse.KeyDown:connect(function(key)
  2918. if string.byte(key) == 52 then
  2919. Swing = 2
  2920. char.Humanoid.WalkSpeed = 28
  2921. end
  2922. end)
  2923. mouse.KeyUp:connect(function(key)
  2924. if string.byte(key) == 52 then
  2925. Swing = 1
  2926. char.Humanoid.WalkSpeed = 16
  2927. end
  2928. end)
  2929. ----------------------------------------------------
  2930.  
  2931. jump = false
  2932. rs:connect(function()
  2933. if char.Humanoid.Jump == true then
  2934. jump = true
  2935. else
  2936. jump = false
  2937. end
  2938. char.Humanoid.FreeFalling:connect(function(f)
  2939. if f then
  2940. ffing = true
  2941. else
  2942. ffing = false
  2943. end
  2944. end)
  2945. sine = sine + change
  2946. if jump == true then
  2947. animpose = "Jumping"
  2948. elseif ffing == true then
  2949. animpose = "Freefalling"
  2950. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2951. animpose = "Idle"
  2952. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2953. animpose = "Walking"
  2954. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2955. animpose = "Running"
  2956. end
  2957. RightLeg = CFrame.new(0.5,-1,0)
  2958. LeftLeg = CFrame.new(-0.5,-1,0)
  2959.  
  2960. lefth = (torso.CFrame*LeftLeg)
  2961. righth = (torso.CFrame*RightLeg)
  2962.  
  2963. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  2964.  
  2965. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  2966.  
  2967. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  2968. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  2969. if animpose ~= lastanimpose then
  2970. sine = 0
  2971. if Debounces.NoIdl == false then
  2972. if stanceToggle == "Idle1" then
  2973. 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)
  2974. 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)
  2975. 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)
  2976. 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)
  2977. 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)
  2978. 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)
  2979. elseif stanceToggle == "Idle2" then
  2980. 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)
  2981. 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)
  2982. 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)
  2983. 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)
  2984. 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)
  2985. 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)
  2986. end
  2987. fat.Event:wait()
  2988. end
  2989. else
  2990. end
  2991. lastanimpose = animpose
  2992. if Debounces.NoIdl == false then
  2993. if animpose == "Idle" then
  2994. change = 0.5
  2995. if stanceToggle == "Idle1" then
  2996. 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)
  2997. 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)
  2998.  
  2999. 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)
  3000. 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)
  3001. 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)
  3002. 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)
  3003. 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)
  3004. 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)
  3005. 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)
  3006. 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)
  3007. 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)
  3008. 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)
  3009. 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)
  3010. 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)
  3011. elseif stanceToggle == "Idle2" then
  3012.  
  3013. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3014. 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)
  3015. 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)
  3016. 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)
  3017. 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)
  3018. 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)
  3019. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  3020. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  3021. --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)
  3022. 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)
  3023. 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)
  3024. 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)
  3025. 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)
  3026. 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)
  3027. elseif stanceToggle == "Grabbed" then
  3028. grab = true
  3029. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3030. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3031. 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)
  3032. 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)
  3033. 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)
  3034. 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)
  3035. 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)
  3036. 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)
  3037. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  3038. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  3039. 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)
  3040. 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)
  3041. 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)
  3042. 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)
  3043. end
  3044. elseif animpose == "Walking" then
  3045. if stanceToggle == "Grabbed" then
  3046. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3047. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3048. 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)
  3049. 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)
  3050. 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)
  3051. 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)
  3052. 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)
  3053. 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)
  3054. 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)
  3055. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  3056. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  3057. 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)
  3058. 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)
  3059. 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)
  3060. 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)
  3061. elseif stanceToggle ~= "Grabbed" then
  3062. change = 1
  3063. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3064. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3065.  
  3066. 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)
  3067. 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)
  3068. 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)
  3069. 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)
  3070. 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)
  3071. 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)
  3072. 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)
  3073. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  3074. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  3075. --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)
  3076. 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)
  3077. 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)
  3078. --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)
  3079. 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)
  3080. 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)
  3081. end
  3082. elseif animpose == "Running" then
  3083. change = 1
  3084. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3085. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3086.  
  3087. 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)
  3088. 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)
  3089. 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)
  3090. 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)
  3091. 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)
  3092. 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)
  3093. 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)
  3094. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  3095. 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)
  3096. 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)
  3097. 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)
  3098. 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)
  3099. elseif animpose == "Jumping" then
  3100.  
  3101.  
  3102. local rlegray = Ray.new(rleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
  3103. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  3104.  
  3105. local llegray = Ray.new(lleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
  3106. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  3107.  
  3108. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3109. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3110. 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)
  3111. 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)
  3112. 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)
  3113. 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)
  3114. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  3115. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  3116. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  3117. 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)
  3118. 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)
  3119. 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)
  3120. 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)
  3121. elseif animpose == "Freefalling" then
  3122. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
  3123. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0),0.1)
  3124. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-50-1*math.cos(sine/8))), 0.2)
  3125. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(50+1*math.cos(sine/8))), 0.2)
  3126. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
  3127. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(-35-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
  3128. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0+0.1*math.cos(sine/16),-0.8)*CFrame.Angles(math.rad(-25+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
  3129. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then
  3130. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
  3131. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-15),0,0),0.1)
  3132. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-5-1*math.cos(sine/8))), 0.2)
  3133. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(5+1*math.cos(sine/8))), 0.2)
  3134. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
  3135. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
  3136. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
  3137.  
  3138. end
  3139. end
  3140. end)
Add Comment
Please, Sign In to add comment