Ban43_GodOfEdits

speedster

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