Advertisement
yeetusFE

FE brutal furry

Oct 14th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.45 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  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 UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  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. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. --[wip]--
  87.  
  88. --[[ The Brutal Furry (DEMO .1), by SezHu and Nebula_Zorua ]]--
  89. --[[ Animation work by SezHu, attacks by Nebula_Zorua ]]--
  90.  
  91. --[[ I also made some things less stiff ~Nebula ]]--
  92.  
  93. wait(1 / 60)
  94. Effects = { }
  95. local Player = owner
  96. local Character = Player.Character
  97. local Humanoid = Character.Humanoid
  98. local Head = Character.Head
  99. local RootPart = Character.HumanoidRootPart
  100. local Torso = Character.Torso
  101. local LeftArm = Character["Left Arm"]
  102. local RightArm = Character["Right Arm"]
  103. local LeftLeg = Character["Left Leg"]
  104. local RightLeg = Character["Right Leg"]
  105. local Camera = game.Workspace.CurrentCamera
  106. local RootJoint = RootPart.RootJoint
  107. local Equipped = false
  108. local Attack = false
  109. local Anim = 'Idle'
  110. local Idle = 0
  111. local Combo = 1
  112. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  113. local Velocity = RootPart.Velocity.y
  114. local Sine = 0
  115. local Change = 1
  116. local UIS = game:GetService("UserInputService")
  117.  
  118. local Climbing = false
  119. local ClimbPos;
  120.  
  121. spawn(function()
  122. while true do
  123. swait()
  124. Sine = Sine + Change
  125. end
  126. end)
  127.  
  128. local RbxUtility = LoadLibrary("RbxUtility")
  129. local Create = RbxUtility.Create
  130.  
  131. Humanoid.WalkSpeed = 35
  132. Humanoid.JumpPower = 70
  133. Humanoid.Animator.Parent = nil
  134. Character.Animate.Parent = nil
  135.  
  136. local newMotor = function(part0, part1, c0, c1)
  137. local w = Create('Motor'){
  138. Parent = part0,
  139. Part0 = part0,
  140. Part1 = part1,
  141. C0 = c0,
  142. C1 = c1,
  143. }
  144. return w
  145. end
  146.  
  147.  
  148.  
  149. function clerp(a, b, t)
  150. return a:lerp(b, t)
  151. end
  152.  
  153. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  154. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  155.  
  156. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  157. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  158. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  159. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  160. RootJoint.C1 = CFrame.new(0, 0, 0)
  161. RootJoint.C0 = CFrame.new(0, 0, 0)
  162. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  163. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  164.  
  165. local rarmc1 = RW.C1
  166. local larmc1 = LW.C1
  167. local rlegc1 = RH.C1
  168. local llegc1 = LH.C1
  169.  
  170. local resetc1 = false
  171.  
  172. function PlayAnimationFromTable(table, speed, bool)
  173. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  174. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  175. RW.C0 = clerp(RW.C0, table[3], speed)
  176. LW.C0 = clerp(LW.C0, table[4], speed)
  177. RH.C0 = clerp(RH.C0, table[5], speed)
  178. LH.C0 = clerp(LH.C0, table[6], speed)
  179. if bool == true then
  180. if resetc1 == false then
  181. resetc1 = true
  182. RootJoint.C1 = RootJoint.C1
  183. Torso.Neck.C1 = Torso.Neck.C1
  184. RW.C1 = rarmc1
  185. LW.C1 = larmc1
  186. RH.C1 = rlegc1
  187. LH.C1 = llegc1
  188. end
  189. end
  190. end
  191.  
  192. ArtificialHB = Create("BindableEvent"){
  193. Parent = script,
  194. Name = "Heartbeat",
  195. }
  196.  
  197. script:WaitForChild("Heartbeat")
  198.  
  199. frame = 1 / 60
  200. tf = 0
  201. allowframeloss = false
  202. tossremainder = false
  203. lastframe = tick()
  204. script.Heartbeat:Fire()
  205.  
  206. game:GetService("RunService").Heartbeat:connect(function(s, p)
  207. tf = tf + s
  208. if tf >= frame then
  209. if allowframeloss then
  210. script.Heartbeat:Fire()
  211. lastframe = tick()
  212. else
  213. for i = 1, math.floor(tf / frame) do
  214. script.Heartbeat:Fire()
  215. end
  216. lastframe = tick()
  217. end
  218. if tossremainder then
  219. tf = 0
  220. else
  221. tf = tf - frame * math.floor(tf / frame)
  222. end
  223. end
  224. end)
  225.  
  226. function swait(num)
  227. if num == 0 or num == nil then
  228. ArtificialHB.Event:wait()
  229. else
  230. for i = 0, num do
  231. ArtificialHB.Event:wait()
  232. end
  233. end
  234. end
  235.  
  236. local m = Create("Model"){
  237. Parent = Character,
  238. Name = "WeaponModel"
  239. }
  240.  
  241.  
  242.  
  243. function RemoveOutlines(part)
  244. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  245. end
  246.  
  247. CFuncs = {
  248. Part = {
  249. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  250. local Part = Create("Part"){
  251. Parent = Parent,
  252. Reflectance = Reflectance,
  253. Transparency = Transparency,
  254. CanCollide = false,
  255. Locked = true,
  256. BrickColor = BrickColor.new(tostring(BColor)),
  257. Name = Name,
  258. Size = Size,
  259. Material = Material,
  260. }
  261. RemoveOutlines(Part)
  262. if Size == Vector3.new() then
  263. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  264. else
  265. Part.Size = Size
  266. end
  267. return Part
  268. end;
  269. };
  270.  
  271. Mesh = {
  272. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  273. local Msh = Create(Mesh){
  274. Parent = Part,
  275. Offset = OffSet,
  276. Scale = Scale,
  277. }
  278. if Mesh == "SpecialMesh" then
  279. Msh.MeshType = MeshType
  280. Msh.MeshId = MeshId
  281. end
  282. return Msh
  283. end;
  284. };
  285.  
  286. Weld = {
  287. Create = function(Parent, Part0, Part1, C0, C1)
  288. local Weld = Create("Weld"){
  289. Parent = Parent,
  290. Part0 = Part0,
  291. Part1 = Part1,
  292. C0 = C0,
  293. C1 = C1,
  294. }
  295. return Weld
  296. end;
  297. };
  298.  
  299. Sound = {
  300. Create = function(id, par, vol, pit)
  301. coroutine.resume(coroutine.create(function()
  302. local S = Create("Sound"){
  303. Volume = vol,
  304. Pitch = pit or 1,
  305. SoundId = "rbxassetid://" .. id,
  306. Parent = par or workspace,
  307. }
  308. wait()
  309. S:play()
  310. game:GetService("Debris"):AddItem(S, 10)
  311. end))
  312. end;
  313. };
  314.  
  315. ParticleEmitter = {
  316. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  317. local Particle = Create("ParticleEmitter"){
  318. Parent = Parent,
  319. Color = ColorSequence.new(Color1, Color2),
  320. LightEmission = LightEmission,
  321. Size = Size,
  322. Texture = Texture,
  323. Transparency = Transparency,
  324. ZOffset = ZOffset,
  325. Acceleration = Accel,
  326. Drag = Drag,
  327. LockedToPart = LockedToPart,
  328. VelocityInheritance = VelocityInheritance,
  329. EmissionDirection = EmissionDirection,
  330. Enabled = Enabled,
  331. Lifetime = LifeTime,
  332. Rate = Rate,
  333. Rotation = Rotation,
  334. RotSpeed = RotSpeed,
  335. Speed = Speed,
  336. VelocitySpread = VelocitySpread,
  337. }
  338. return Particle
  339. end;
  340. };
  341.  
  342. CreateTemplate = {
  343.  
  344. };
  345. }
  346.  
  347.  
  348. rCHandle2=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","CHandle2",Vector3.new(0.430001736, 0.679999948, 0.299999684))
  349. rCHandle2Weld=CFuncs.Weld.Create(m,Character["Left Arm"],rCHandle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0650009513, -0.0299911499, 0.555044532, 0, 0, 1, 1, 0, 0, 0, 1, 0))
  350. CHandle2=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","CHandle2",Vector3.new(0.430001736, 0.679999948, 0.299999684))
  351. CHandle2Weld=CFuncs.Weld.Create(m,rCHandle2,CHandle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0650009513, -0.0299911499, 0.555044532, 0, 0, 1, 1, 0, 0, 0, 1, 0))
  352. Claw2=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Claw2",Vector3.new(0.430001736, 0.829999924, 1.31999958))
  353. Claw2Weld=CFuncs.Weld.Create(m,CHandle2,Claw2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.414048076, -0.0255355835, 0.581350505, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  354. CFuncs.Mesh.Create("SpecialMesh",Claw2,Enum.MeshType.FileMesh,"rbxassetid://10681506",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.800000012))
  355.  
  356.  
  357. rCHandle1=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","CHandle1",Vector3.new(0.430001736, 0.679999948, 0.299999684))
  358. rCHandle1Weld=CFuncs.Weld.Create(m,Character["Right Arm"],rCHandle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0650009513, -0.00206756592, 0.555044532, 0, 0, 1, 1, 0, 0, 0, 1, 0))
  359. CHandle1=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","CHandle1",Vector3.new(0.430001736, 0.679999948, 0.299999684))
  360. CHandle1Weld=CFuncs.Weld.Create(m,rCHandle1,CHandle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0650009513, -0.00206756592, 0.555044532, 0, 0, 1, 1, 0, 0, 0, 1, 0))
  361. Claw1=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Claw1",Vector3.new(0.430001736, 0.829999924, 1.31999958))
  362. Claw1Weld=CFuncs.Weld.Create(m,CHandle1,Claw1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.414048076, -0.0255355835, 0.581350505, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  363. CFuncs.Mesh.Create("SpecialMesh",Claw1,Enum.MeshType.FileMesh,"rbxassetid://10681506",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.800000012))
  364.  
  365. function RayCast(Position, Direction, Range, Ignore)
  366. return workspace:FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  367. end
  368.  
  369. function RayCastWithList(Position, Direction, Range, Ignore)
  370. return workspace:FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  371. end
  372.  
  373. function GetTorso(char)
  374. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso'
  375. end
  376.  
  377. FindNearestTorso = function(pos,range)
  378. local torso,dist=nil,nil or range;
  379. for _,v in next, workspace:children() do
  380. if(v.Name ~= 'CKbackup' and v.Name ~= 'SezHu' and v.Name ~= 'Salvo_Starly' and v.Name ~= 'Nebula_Zorua' and v ~= Character and GetTorso(v) and v:FindFirstChildOfClass'Humanoid')then
  381. if v:FindFirstChildOfClass('Humanoid').Health > 0 then
  382. if((pos-GetTorso(v).Position).magnitude < dist)then
  383. torso = GetTorso(v)
  384. dist = (pos-GetTorso(v).Position).magnitude
  385. end
  386. end
  387. end
  388. end
  389. return torso, dist
  390. end
  391.  
  392. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  393. if hit.Parent == nil then
  394. return
  395. end
  396. local h = hit.Parent:FindFirstChild("Humanoid")
  397. for _, v in pairs(hit.Parent:children()) do
  398. if v:IsA("Humanoid") then
  399. h = v
  400. end
  401. end
  402. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  403. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  404. if hit.Parent.DebounceHit.Value == true then
  405. return
  406. end
  407. end
  408. local c = Create("ObjectValue"){
  409. Name = "creator",
  410. Value = owner
  411. Parent = h,
  412. }
  413. game:GetService("Debris"):AddItem(c, .5)
  414. if HitSound ~= nil and HitPitch ~= nil then
  415. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  416. end
  417. local Damage = math.random(minim, maxim)
  418. local blocked = false
  419. local block = hit.Parent:findFirstChild("Block")
  420. if block ~= nil then
  421. if block.className == "IntValue" then
  422. if block.Value > 0 then
  423. blocked = true
  424. block.Value = block.Value - 1
  425. print(block.Value)
  426. end
  427. end
  428. end
  429. if blocked == false then
  430. h.Health = h.Health - Damage
  431. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  432. else
  433. h.Health = h.Health - (Damage / 2)
  434. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  435. end
  436. if Type == "Knockdown" then
  437. local hum = hit.Parent.Humanoid
  438. hum.PlatformStand = true
  439. coroutine.resume(coroutine.create(function(HHumanoid)
  440. swait(1)
  441. HHumanoid.PlatformStand = false
  442. end), hum)
  443. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  444. local bodvol = Create("BodyVelocity"){
  445. velocity = angle * knockback,
  446. P = 5000,
  447. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  448. Parent = hit,
  449. }
  450. local rl = Create("BodyAngularVelocity"){
  451. P = 3000,
  452. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  453. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  454. Parent = hit,
  455. }
  456. game:GetService("Debris"):AddItem(bodvol, .5)
  457. game:GetService("Debris"):AddItem(rl, .5)
  458. elseif Type == "Normal" then
  459. local vp = Create("BodyVelocity"){
  460. P = 500,
  461. maxForce = Vector3.new(math.huge, 0, math.huge),
  462. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  463. }
  464. if knockback > 0 then
  465. vp.Parent = hit.Parent.Torso
  466. end
  467.  
  468. elseif Type == "Up" then
  469. local bodyVelocity = Create("BodyVelocity"){
  470. velocity = Vector3.new(0, 20, 0),
  471. P = 5000,
  472. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  473. Parent = hit,
  474. }
  475. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  476. elseif Type == "DarkUp" then
  477. coroutine.resume(coroutine.create(function()
  478. for i = 0, 1, 0.1 do
  479. swait()
  480. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  481. end
  482. end))
  483. local bodyVelocity = Create("BodyVelocity"){
  484. velocity = Vector3.new(0, 20, 0),
  485. P = 5000,
  486. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  487. Parent = hit,
  488. }
  489. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  490. elseif Type == "Snare" then
  491. local bp = Create("BodyPosition"){
  492. P = 2000,
  493. D = 100,
  494. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  495. position = hit.Parent.Torso.Position,
  496. Parent = hit.Parent.Torso,
  497. }
  498. game:GetService("Debris"):AddItem(bp, 1)
  499. elseif Type == "Freeze" then
  500. local BodPos = Create("BodyPosition"){
  501. P = 50000,
  502. D = 1000,
  503. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  504. position = hit.Parent.Torso.Position,
  505. Parent = hit.Parent.Torso,
  506. }
  507. local BodGy = Create("BodyGyro") {
  508. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  509. P = 20e+003,
  510. Parent = hit.Parent.Torso,
  511. cf = hit.Parent.Torso.CFrame,
  512. }
  513. hit.Parent.Torso.Anchored = true
  514. coroutine.resume(coroutine.create(function(Part)
  515. swait(1.5)
  516. Part.Anchored = false
  517. end), hit.Parent.Torso)
  518. game:GetService("Debris"):AddItem(BodPos, 3)
  519. game:GetService("Debris"):AddItem(BodGy, 3)
  520. end
  521. local debounce = Create("BoolValue"){
  522. Name = "DebounceHit",
  523. Parent = hit.Parent,
  524. Value = true,
  525. }
  526. game:GetService("Debris"):AddItem(debounce, Delay)
  527. c = Create("ObjectValue"){
  528. Name = "creator",
  529. Value = Player,
  530. Parent = h,
  531. }
  532. game:GetService("Debris"):AddItem(c, .5)
  533. end
  534. end
  535.  
  536. function ShowDamage(Pos, Text, Time, Color)
  537. local Rate = (1 / 30)
  538. local Pos = (Pos or Vector3.new(0, 0, 0))
  539. local Text = (Text or "")
  540. local Time = (Time or 2)
  541. local Color = (Color or Color3.new(1, 0, 1))
  542. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  543. EffectPart.Anchored = true
  544. local BillboardGui = Create("BillboardGui"){
  545. Size = UDim2.new(3, 0, 3, 0),
  546. Adornee = EffectPart,
  547. Parent = EffectPart,
  548. }
  549. local TextLabel = Create("TextLabel"){
  550. BackgroundTransparency = 1,
  551. Size = UDim2.new(1, 0, 1, 0),
  552. Text = Text,
  553. Font = "SciFi",
  554. TextColor3 = Color,
  555. TextScaled = true,
  556. Parent = BillboardGui,
  557. }
  558. game.Debris:AddItem(EffectPart, (Time))
  559. EffectPart.Parent = game:GetService("Workspace")
  560. delay(0, function()
  561. local Frames = (Time / Rate)
  562. for Frame = 1, Frames do
  563. wait(Rate)
  564. local Percent = (Frame / Frames)
  565. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  566. TextLabel.TextTransparency = Percent
  567. end
  568. if EffectPart and EffectPart.Parent then
  569. EffectPart:Destroy()
  570. end
  571. end)
  572. end
  573.  
  574. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  575. for _, c in pairs(workspace:children()) do
  576. local hum = c:findFirstChild("Humanoid")
  577. if hum ~= nil then
  578. local head = c:findFirstChild("Torso")
  579. if head ~= nil then
  580. local targ = head.Position - Part.Position
  581. local mag = targ.magnitude
  582. if mag <= Magnitude and c.Name ~= Player.Name then
  583. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  584. end
  585. end
  586. end
  587. end
  588. end
  589.  
  590. EffectModel = Create("Model"){
  591. Parent = Character,
  592. Name = "EffectModel",
  593. }
  594.  
  595. Effects = {
  596. Block = {
  597. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  598. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  599. prt.Anchored = true
  600. prt.CFrame = cframe
  601. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  602. game:GetService("Debris"):AddItem(prt, 10)
  603. if Type == 1 or Type == nil then
  604. table.insert(Effects, {
  605. prt,
  606. "Block1",
  607. delay,
  608. x3,
  609. y3,
  610. z3,
  611. msh
  612. })
  613. elseif Type == 2 then
  614. table.insert(Effects, {
  615. prt,
  616. "Block2",
  617. delay,
  618. x3,
  619. y3,
  620. z3,
  621. msh
  622. })
  623. elseif Type == 3 then
  624. table.insert(Effects, {
  625. prt,
  626. "Block3",
  627. delay,
  628. x3,
  629. y3,
  630. z3,
  631. msh,
  632. Part
  633. })
  634. elseif Type == 4 then
  635. table.insert(Effects, {
  636. prt,
  637. "Block2Fire",
  638. delay,
  639. x3,
  640. y3,
  641. z3,
  642. msh
  643. })
  644. end
  645. end
  646. };
  647.  
  648. Sphere = {
  649. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  650. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  651. prt.Anchored = true
  652. prt.CFrame = cframe
  653. if parent == nil then
  654. prt.Parent = workspace
  655. else
  656. prt.Parent = parent
  657. end
  658. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  659. game:GetService("Debris"):AddItem(prt, 10)
  660. table.insert(Effects, {
  661. prt,
  662. "Cylinder",
  663. delay,
  664. x3,
  665. y3,
  666. z3,
  667. msh
  668. })
  669. end
  670. };
  671.  
  672. Blood = {
  673. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  674. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  675. prt.Anchored = true
  676. prt.CFrame = cframe
  677. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  678. game:GetService("Debris"):AddItem(prt, 10)
  679. table.insert(Effects, {
  680. prt,
  681. "Blood",
  682. delay,
  683. x3,
  684. y3,
  685. z3,
  686. msh
  687. })
  688. end
  689. };
  690.  
  691. Blast = {
  692. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  693. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  694. prt.Anchored = true
  695. prt.CFrame = cframe
  696. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  697. game:GetService("Debris"):AddItem(prt, 10)
  698. table.insert(Effects, {
  699. prt,
  700. "Block4",
  701. delay,
  702. x3,
  703. y3,
  704. z3,
  705. msh,
  706. Part
  707. })
  708. end
  709. };
  710.  
  711. Ring = {
  712. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  713. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  714. prt.Anchored = true
  715. prt.CFrame = cframe
  716. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  717. game:GetService("Debris"):AddItem(prt, 10)
  718. table.insert(Effects, {
  719. prt,
  720. "Cylinder",
  721. delay,
  722. x3,
  723. y3,
  724. z3,
  725. msh
  726. })
  727. end
  728. };
  729.  
  730. Cylinder = {
  731. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  732. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  733. prt.Anchored = true
  734. prt.CFrame = cframe
  735. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  736. game:GetService("Debris"):AddItem(prt, 10)
  737. table.insert(Effects, {
  738. prt,
  739. "Cylinder",
  740. delay,
  741. x3,
  742. y3,
  743. z3,
  744. msh
  745. })
  746. end
  747. };
  748.  
  749. Head = {
  750. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  751. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  752. prt.Anchored = true
  753. prt.CFrame = cframe
  754. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  755. game:GetService("Debris"):AddItem(prt, 10)
  756. table.insert(Effects, {
  757. prt,
  758. "Cylinder",
  759. delay,
  760. x3,
  761. y3,
  762. z3,
  763. msh
  764. })
  765. end
  766. };
  767.  
  768. Wave = {
  769. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  770. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  771. prt.Anchored = true
  772. prt.CFrame = cframe
  773. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  774. game:GetService("Debris"):AddItem(prt, 10)
  775. table.insert(Effects, {
  776. prt,
  777. "Cylinder",
  778. delay,
  779. x3,
  780. y3,
  781. z3,
  782. msh
  783. })
  784. end
  785. };
  786.  
  787. Break = {
  788. Create = function(brickcolor, cframe, x1, y1, z1)
  789. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  790. prt.Anchored = true
  791. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  792. game:GetService("Debris"):AddItem(prt, 10)
  793. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  794. local num = math.random(10, 50) / 1000
  795. table.insert(Effects, {
  796. prt,
  797. "Shatter",
  798. num,
  799. prt.CFrame,
  800. math.random() - math.random(),
  801. 0,
  802. math.random(50, 100) / 100
  803. })
  804. end
  805. };
  806.  
  807. Elec = {
  808. Create = function(brickcolor, cff, x, y, z)
  809. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  810. prt.Anchored = true
  811. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  812. prt.CFrame = CFrame.new(prt.Position)
  813. game:GetService("Debris"):AddItem(prt, 10)
  814. xval = math.random() / 9
  815. yval = math.random() / 9
  816. zval = math.random() / 9
  817. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  818. eul1 = math.random(-50, 50)
  819. eul2 = math.random(-50, 50)
  820. eul3 = math.random(-50, 50)
  821. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  822. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  823. table.insert(Effects, {
  824. prt,
  825. "Elec",
  826. .05,
  827. x,
  828. y,
  829. z,
  830. xval,
  831. yval,
  832. zval,
  833. msh,
  834. euld,
  835. euld2
  836. })
  837. end
  838. };
  839.  
  840. Elec2 = {
  841. Create = function(brickcolor, cff, x, y, z)
  842. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  843. prt.Anchored = true
  844. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  845. prt.CFrame = CFrame.new(prt.Position)
  846. game:GetService("Debris"):AddItem(prt, 10)
  847. xval = math.random() / 7
  848. yval = math.random() / 7
  849. zval = math.random() / 7
  850. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  851. eul1 = math.random(-50, 50)
  852. eul2 = math.random(-50, 50)
  853. eul3 = math.random(-50, 50)
  854. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  855. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  856. table.insert(Effects, {
  857. prt,
  858. "Elec",
  859. .1,
  860. x,
  861. y,
  862. z,
  863. xval,
  864. yval,
  865. zval,
  866. msh,
  867. euld,
  868. euld2
  869. })
  870. end
  871. };
  872.  
  873. Clone = {
  874. Create = function()
  875. for _, v in pairs(Torso.Parent:children()) do
  876. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  877. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  878. c.Anchored = true
  879. c.CFrame = v.CFrame
  880. game:GetService("Debris"):AddItem(c, 5)
  881. local cmsh = nil
  882. if v.Name == "Head" then
  883. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  884. else
  885. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  886. end
  887. table.insert(Effects, {
  888. c,
  889. "Cylinder",
  890. 0.05,
  891. 0.1,
  892. 0.1,
  893. 0.1,
  894. cmsh
  895. })
  896. end
  897. end
  898. end
  899. };
  900.  
  901. EffectTemplate = {
  902.  
  903. };
  904. }
  905.  
  906. function Attackone()
  907. Attack = true
  908. for i = 0, 1, 0.1 do
  909. swait()
  910. PlayAnimationFromTable({
  911. CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  912. CFrame.new(0, 1.5, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  913. CFrame.new(1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  914. CFrame.new(-1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  915. CFrame.new(0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  916. CFrame.new(-0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  917. }, .3, false)
  918. end
  919. Attack = false
  920. end
  921.  
  922. Humanoid.WalkSpeed = 0
  923. Humanoid.JumpPower = 0
  924.  
  925. --Intro bit
  926. ripntear=Instance.new("Sound", Torso)
  927. ripntear.SoundId = "rbxassetid://1289912324"
  928. ripntear.TimePosition = 9.2
  929. ripntear.Looped = true
  930. ripntear:Play()
  931. if(not game:GetService('RunService'):IsStudio() )then
  932. for i = 0, 15, 0.1 do
  933. swait()
  934. PlayAnimationFromTable({
  935. CFrame.new(-0, -0.05818367, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  936. CFrame.new(0, 1.55817556, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  937. CFrame.new(1.61094332, 0.142581686, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1) * CFrame.new(0, 0 + .03 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  938. CFrame.new(-1.61001778, 0.148382559, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, -0, 0, 1) * CFrame.new(0, 0 + .03 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  939. CFrame.new(0.593397617, -1.93364203, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  940. CFrame.new(-0.535535276, -1.93870413, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661, 0, -0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  941. }, .3, false)
  942. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  943. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  944. end
  945. CFuncs.Sound.Create("1499494641", CHandle1, 1, 1)
  946. for i = 0, 3, 0.1 do
  947. swait()
  948. PlayAnimationFromTable({
  949. CFrame.new(8.69583914e-07, -0.0581835881, 9.53695611e-09, 1.00000954, 1.44541673e-06, -8.33538607e-08, 1.44541673e-06, 1.00000024, -1.63912858e-07, -8.33538607e-08, -1.63912858e-07, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  950. CFrame.new(-0.116701782, 1.56846416, -0.0424783528, 0.935734272, -0.321394563, 0.145314857, 0.296198726, 0.939692676, 0.17100963, -0.191512048, -0.116977088, 0.974494457) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  951. CFrame.new(0.817323148, 0.233033627, -0.785861373, 0.185918838, 0.948464036, 0.256631851, -0.054367777, 0.270715863, -0.96112299, -0.981059968, 0.164737463, 0.101896688) * CFrame.new(0, 0 + .1 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  952. CFrame.new(-0.729675174, 0.474314064, -0.926509023, 0.0858333781, -0.981064856, -0.173649207, -0.0151340002, 0.172986239, -0.984808147, 0.996194661, 0.0871570408, 7.3356756e-07) * CFrame.new(0, 0 - .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  953. CFrame.new(0.593403578, -1.9336412, 9.73475267e-07, 0.996204436, -0.0871553719, -8.33538607e-08, 0.0871574283, 0.99619478, -1.63912858e-07, -1.08093566e-07, -1.53640599e-07, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  954. CFrame.new(-0.53555274, -1.93870628, 5.9665399e-07, 0.996204019, 0.087158218, -8.33538607e-08, -0.0871545449, 0.996194959, -1.63912858e-07, -6.140138e-08, -1.69793566e-07, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  955. }, .2, false)
  956. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  957. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  958. end
  959. CFuncs.Sound.Create("1499494641", CHandle2, 1, .9)
  960. for i = 0, 3, 0.1 do
  961. swait()
  962. PlayAnimationFromTable({
  963. CFrame.new(-0, -0.05818367, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  964. CFrame.new(5.96046448e-07, 1.5581758, 8.94069672e-08, 0.813797593, 0.296197921, -0.500000417, -0.342019856, 0.939692736, 1.5155652e-07, 0.469846755, 0.171009943, 0.866025269) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  965. CFrame.new(0.817315936, 0.23303245, -0.785861254, 0.185915083, 0.891520321, -0.41307044, -0.0543710254, -0.410421133, -0.91027379, -0.981060445, 0.19169265, -0.0278306026) * CFrame.new(0, 0 - .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  966. CFrame.new(-0.895561576, 0.130057484, -0.917444825, 0.08583197, -0.981286108, 0.172367394, -0.0151339946, -0.174270019, -0.98458159, 0.996194661, 0.0818999708, -0.029808715) * CFrame.new(0, 0 + .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  967. CFrame.new(0.593397737, -1.93364227, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  968. CFrame.new(-0.535535693, -1.93870425, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661, 0, -0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  969. }, .2, false)
  970. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  971. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  972. end
  973.  
  974. for i = 0, 2, 0.1 do
  975. swait()
  976. PlayAnimationFromTable({
  977. CFrame.new(1.18533473e-15, -0.0581837296, 0, 1, -2.03722706e-14, -1.03739239e-11, -2.03722706e-14, 1, 0, -1.03739239e-11, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  978. CFrame.new(-0.044387538, 1.57391107, -0.046982944, 0.999063015, 0.000371292757, -0.043279916, 0.00926879048, 0.974929214, 0.222322285, 0.0422773995, -0.222515106, 0.974012196) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  979. CFrame.new(0.961016774, 0.457461864, -0.771075964, 0.185922489, 0.633421421, -0.751139224, -0.0543839224, -0.756662488, -0.651540041, -0.9810583, 0.161985859, -0.106232598) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  980. CFrame.new(-0.729675055, 0.474317312, -0.926513851, 0.230951563, -0.530287445, 0.815755367, 0.197466299, -0.795426488, -0.572978079, 0.95271641, 0.293414325, -0.0789910555) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  981. CFrame.new(0.593410492, -1.93365169, 2.15977366e-07, 0.99619478, -0.0871552229, 3.30831256e-08, 0.0871552229, 0.99619472, -1.44655488e-09, -3.28516023e-08, 4.32621761e-09, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  982. CFrame.new(-0.535539329, -1.93871331, -2.33122776e-07, 0.99619472, 0.0871552229, 1.4071702e-08, -0.0871552229, 0.99619472, -1.1611867e-09, -1.41399426e-08, -7.14521775e-11, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  983. }, .3, false)
  984. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  985. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  986. end
  987. CFuncs.Sound.Create("834658541", Torso, 5, .8)
  988. for i = 0, 1, 0.1 do
  989. swait()
  990. PlayAnimationFromTable({
  991. CFrame.new(1.18533473e-15, -0.0581837296, 0, 1, -2.03722706e-14, -1.03739239e-11, -2.03722706e-14, 1, 0, -1.03739239e-11, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  992. CFrame.new(-0.044387538, 1.57391107, -0.046982944, 0.999063015, 0.000371292757, -0.043279916, 0.00926879048, 0.974929214, 0.222322285, 0.0422773995, -0.222515106, 0.974012196) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  993. CFrame.new(0.961016774, 0.457461864, -0.771075964, 0.185922489, 0.633421421, -0.751139224, -0.0543839224, -0.756662488, -0.651540041, -0.9810583, 0.161985859, -0.106232598) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  994. CFrame.new(-0.729675055, 0.474317312, -0.926513851, 0.230951563, -0.530287445, 0.815755367, 0.197466299, -0.795426488, -0.572978079, 0.95271641, 0.293414325, -0.0789910555) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  995. CFrame.new(0.593410492, -1.93365169, 2.15977366e-07, 0.99619478, -0.0871552229, 3.30831256e-08, 0.0871552229, 0.99619472, -1.44655488e-09, -3.28516023e-08, 4.32621761e-09, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  996. CFrame.new(-0.535539329, -1.93871331, -2.33122776e-07, 0.99619472, 0.0871552229, 1.4071702e-08, -0.0871552229, 0.99619472, -1.1611867e-09, -1.41399426e-08, -7.14521775e-11, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  997. }, .3, false)
  998. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  999. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1000. end
  1001.  
  1002. for i = 0, 20, 0.1 do
  1003. swait()
  1004. PlayAnimationFromTable({
  1005. CFrame.new(4.59512179e-08, -0.0581841692, -5.25265932e-07, 1, -4.84756754e-07, -7.39878601e-07, 7.8975097e-07, 0.866025388, 0.500000298, 3.98364676e-07, -0.500000298, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1006. CFrame.new(-0.0125848781, 1.5465194, 0.0267901421, 0.999062896, 0.00414320733, -0.0430841409, -0.0131131858, 0.977599382, -0.210065722, 0.0412486866, 0.210433811, 0.976737618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1007. CFrame.new(1.82518578, 0.223591149, 0.169353649, 0.508977115, -0.858815074, 0.0581299476, 0.772701919, 0.426095456, -0.47050482, 0.379307687, 0.284393311, 0.880480766) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1008. CFrame.new(-1.73227763, 0.286245912, 0.248502895, 0.480647117, 0.87672931, 0.0180043653, -0.732817888, 0.412857741, -0.540857434, -0.481618822, 0.246767595, 0.84092176) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1009. CFrame.new(0.681391835, -1.88535416, -0.586378455, 0.996194661, -0.087155968, 0, 0.0754792839, 0.862729847, -0.500000238, 0.0435780063, 0.498097569, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1010. CFrame.new(-0.606260061, -1.88110352, -0.606883287, 0.996194661, 0.0871560127, 4.12446752e-07, -0.0754791126, 0.862729847, -0.500000298, -0.04357839, 0.498097569, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1011. }, .3, false)
  1012. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), .3)
  1013. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), .3)
  1014. end
  1015.  
  1016. end
  1017.  
  1018. Humanoid.WalkSpeed = 35
  1019. Humanoid.JumpPower = 70
  1020.  
  1021. --Start neccessary functions here
  1022.  
  1023. function TraceThing(COLOR,PLACE2) -- thanks shack dadi
  1024. local FADE = EffectModel
  1025. for _, c in pairs(Character:GetChildren()) do
  1026. if c:IsA'BasePart' and c ~= RootPart then
  1027. local DIST = (c.Position-PLACE2).magnitude
  1028. local FADER = c:Clone()
  1029. FADER.Color = COLOR
  1030. FADER.Size = Vector3.new(FADER.Size.X,FADER.Size.Y,DIST)
  1031. FADER.CFrame = CFrame.new(c.Position,PLACE2) * CFrame.new(0,0,-DIST/2)
  1032. FADER.Parent = FADE
  1033. FADER.Anchored = true
  1034. FADER.Transparency = 0.25
  1035. FADER:BreakJoints()
  1036. FADER.Material = "Glass"
  1037. FADER.CanCollide = false
  1038. FADER:ClearAllChildren()
  1039.  
  1040. if FADER.Name == "Head" then
  1041. FADER.Size = Vector3.new(1,1,1)
  1042. end
  1043. table.insert(Effects,{FADER,'Disappear',.01})
  1044. end
  1045. end
  1046.  
  1047. end
  1048.  
  1049.  
  1050.  
  1051. function Shadowdash()
  1052. local target = Mouse.Target;
  1053. if(target and target.Parent and GetTorso(target.Parent))then
  1054. local torso = GetTorso(target.Parent)
  1055. target = target.Parent;
  1056.  
  1057. Attack = true
  1058. for _, c in pairs(Character:children()) do
  1059. if c.ClassName == "Part" and c ~= RootPart then
  1060. c.Transparency = 1
  1061. elseif(c:FindFirstChild'Handle')then
  1062. c.Handle.Transparency = 1
  1063. end
  1064. end
  1065. Claw1.Transparency = 1
  1066. Claw2.Transparency = 1
  1067.  
  1068.  
  1069. TraceThing(Color3.new(0,0,0),torso.Position)
  1070.  
  1071. for i = 0, 1, 0.1 do
  1072. swait()
  1073. PlayAnimationFromTable({
  1074. CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1075. CFrame.new(0, 1.5, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1076. CFrame.new(1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1077. CFrame.new(-1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1078. CFrame.new(0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1079. CFrame.new(-0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1080. }, .3, false)
  1081. end
  1082. Attack = false
  1083. end
  1084. end
  1085.  
  1086. function bulgelocated()
  1087. Attack = true
  1088. for i = 0, 1, 0.1 do
  1089. swait()
  1090. PlayAnimationFromTable({
  1091. CFrame.new(-1.08663478e-07, -0.206274316, -0.136812046, 1.00000417, 3.29175322e-07, 4.04612052e-07, 7.4505806e-07, 0.642787039, 0.766044915, -8.52160156e-08, -0.766045034, 0.64278692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1092. CFrame.new(0, 1.55548012, 0.123723119, 1, 0, 0, 0, 0.965925813, -0.258819401, 0, 0.258819401, 0.965925813) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1093. CFrame.new(1.57330072, 0.258584112, 0.288092852, 0.984807849, -0.0996005088, -0.142243534, 0.157378256, 0.858128428, 0.488720447, 0.0733864158, -0.503681719, 0.860766649) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1094. CFrame.new(-1.59246635, 0.145089045, 0.275537103, 0.984809101, 0.0995962769, 0.142238334, -0.157372132, 0.85812825, 0.488722742, -0.0733837485, -0.503682971, 0.860766172) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1095. CFrame.new(0.593403816, -1.75248098, -0.817190289, 0.996194661, -0.0841870308, -0.0225579366, 0.0789908618, 0.981476307, -0.174541742, 0.0368342325, 0.172095656, 0.984391332) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1096. CFrame.new(-0.53553468, -1.75706613, -0.81932497, 0.996194899, 0.0858291388, 0.0151346531, -0.0789874196, 0.96252948, -0.259418607, -0.0368332267, 0.257236063, 0.965646386) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1097. }, .3, false)
  1098. end
  1099. local Grabbed,Root,RootWeld,GrabWeld;
  1100. Torso.Velocity = RootPart.CFrame.lookVector * 150
  1101. for i = 0, 3, 0.1 do
  1102. swait()
  1103. if(not Grabbed)then
  1104. Grabbed = FindNearestTorso(Torso.Position,5)
  1105. if(Grabbed)then
  1106. print'owo'
  1107. local torso = Grabbed
  1108. Grabbed=Grabbed.Parent
  1109. local Root = Grabbed:FindFirstChild'HumanoidRootPart'
  1110. local RootWeld
  1111. GrabWeld = Create("Weld"){Parent=torso,Part0=torso,Part1=Torso,C0=CFrame.new(0, -.8, -2) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0),0)}
  1112. --GrabWeld.C0 = clerp(GrabWeld.C0, CFrame.new(0, -.8, 2) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 1)
  1113. if(Root)then
  1114. Root.Parent = nil
  1115. RootWeld = (function()
  1116. for _,v in next, Grabbed:GetDescendants() do
  1117. if(v:IsA'JointInstance' and (v.Part0 == Root or v.Part1 == Root))then
  1118. return {v,v.Part0,v.Part1,v.Parent}
  1119. end;
  1120. end
  1121. end)()
  1122.  
  1123. end
  1124. end
  1125. end
  1126. PlayAnimationFromTable({
  1127. CFrame.new(-1.73916547e-07, -0.333895028, 0.0282058977, 1.00000417, -7.91624188e-09, 5.21540642e-07, 7.4505806e-07, 6.70552254e-08, 1, -8.52160156e-08, -1, -7.63684511e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1128. CFrame.new(0, 1.45356226, 0.517724574, 1, 0, 0, 0, 0.422620863, -0.906306684, 0, 0.906306684, 0.422620863) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1129. CFrame.new(1.34678912, 1.80891263, 0.00318957865, -0.984810352, 0.142212093, -0.0996212065, -0.157350063, -0.973534882, 0.165743217, -0.0734140277, 0.178901002, 0.981124341) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1130. CFrame.new(-1.35190487, 1.71961701, 0.127221942, -0.973497868, -0.150360048, 0.172318682, 0.163750991, -0.984274864, 0.0662473366, 0.159647986, 0.0927089974, 0.982811153) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1131. CFrame.new(0.593404055, -1.7524848, -0.817189932, 0.996194661, -0.0841871127, -0.0225576442, 0.0789909735, 0.981476247, -0.174542084, 0.0368339866, 0.172096044, 0.984391332) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1132. CFrame.new(-0.488922983, -1.54355264, -0.0163928568, 0.996195018, 0.0667625517, 0.0560212247, -0.0789870024, 0.963284433, 0.256601483, -0.0368329994, -0.260050058, 0.964892447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1133. }, .2, false)
  1134. end
  1135. if(Grabbed)then
  1136. Humanoid.AutoRotate = false
  1137. Humanoid.WalkSpeed = 0
  1138. Humanoid.JumpPower = 0
  1139. local torso = GetTorso(Grabbed)
  1140. repeat swait() local hit, pos = RayCastWithList(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, {Character,Grabbed}) until hit
  1141.  
  1142. Torso.Velocity = RootPart.CFrame.upVector * 0
  1143. RootPart.Anchored = true
  1144.  
  1145. for i = 0, 4, 0.1 do
  1146. swait()
  1147. GrabWeld.C0 = GrabWeld.C0:lerp(CFrame.new(0, -.8, -1.4) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0),0),.2)
  1148. PlayAnimationFromTable({
  1149. CFrame.new(-9.70123892e-07, -1.45215521, -0.52420032, 1.00000417, -7.91624188e-09, 5.21540642e-07, 7.4505806e-07, 6.70552254e-08, 1, -8.52160156e-08, -1, -7.63684511e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1150. CFrame.new(0, 1.73141003, 0.08559376, 1, 0, 0, 0, 0.906306684, -0.422620863, 0, 0.422620863, 0.906306684) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1151. CFrame.new(1.52372789, 0.87177819, -0.912220836, -0.984809101, -0.0734127834, -0.157358661, -0.150361016, -0.0927229673, 0.984273374, -0.086849004, 0.99298197, 0.0802759901) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1152. CFrame.new(-1.61212981, 0.866454244, -0.944487214, -0.973499656, 0.158554643, 0.164799243, 0.149206936, -0.105748929, 0.983134985, 0.17330794, 0.981670916, 0.0792890862) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1153. CFrame.new(0.489993542, -1.28771627, -1.02503252, 0.999861896, -0.016504975, -0.0019627281, 0.0164339989, 0.999355972, -0.0319016613, 0.00248799985, 0.0318650007, 0.999489129) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1154. CFrame.new(-0.522175074, -1.35971284, -1.0364182, 0.998982906, -0.0116342641, 0.0435651727, 0.0117169991, 0.999930024, -0.00164423091, -0.043542996, 0.0021530115, 0.999049246) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1155. }, .2, false)
  1156. end
  1157.  
  1158. GetTorso(Grabbed).Anchored = true
  1159. --if(Root)then Root.Parent = Grabbed if(RootWeld)then RootWeld[1].Parent = RootWeld[4] RootWeld[1].Part0 = RootWeld[2] RootWeld[1].Part1 = RootWeld[3] end end
  1160. if(GrabWeld)then GrabWeld:destroy() end
  1161. for i = 0, 2, 0.1 do
  1162. swait()
  1163. PlayAnimationFromTable({
  1164. CFrame.new(-9.70122869e-07, -1.4521533, -0.524203837, 1.00000417, 3.2917589e-07, 4.04611598e-07, 7.4505806e-07, 0.642788112, 0.76604408, -8.52160156e-08, -0.766044199, 0.642787993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1165. CFrame.new(0, 1.57221174, 0.216903687, 1, 0, 0, 0, 0.906307459, -0.422618926, 0, 0.422618926, 0.906307459) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1166. CFrame.new(1.52372789, 0.081455946, -1.25917006, -0.984809101, -0.0734127834, -0.157358661, -0.171008676, 0.567247033, 0.805597305, 0.0301200971, 0.820269227, -0.571184218) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1167. CFrame.new(-1.40030229, 0.0340056717, -1.28360021, -0.994232476, 0.0721763074, 0.0793256387, 0.106234752, 0.561393857, 0.820701718, 0.0147023089, 0.824395418, -0.565823495) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1168. CFrame.new(0.489993542, -1.64532626, 0.0425084829, 0.999861896, -0.016504975, -0.0019627281, 0.0141884256, 0.786033213, 0.618021607, -0.00865766034, -0.617964089, 0.7861588) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1169. CFrame.new(-0.522175074, -1.70779729, 0.0800650716, 0.998982906, -0.0116342641, 0.0435651727, -0.0190131795, 0.767374456, 0.640917361, -0.0408874042, -0.641093731, 0.76637274) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1170. }, .2, false)
  1171. end
  1172. local gag=Instance.new("Sound", Torso)
  1173. gag.SoundId = "rbxassetid://418658161"
  1174. gag.TimePosition = 2.5
  1175. gag.Pitch = .7
  1176. gag:Play()
  1177. CFuncs.Sound.Create("429400881", GetTorso(Grabbed), .5, 1)
  1178. local gib=CFuncs.Part.Create(Torso, "Plastic", 0, .9, BrickColor.new("Crimson"), "gib", Vector3.new(.8,.1,.1))
  1179. gib.Anchored=true
  1180. gib.CanCollide=true
  1181. local smonk2 = Instance.new("ParticleEmitter",gib)
  1182. smonk2.LightEmission = .1
  1183. smonk2.Size = NumberSequence.new(0.2)
  1184. smonk2.Texture = "http://www.roblox.com/asset/?ID=256293532"
  1185. aaa2 = NumberSequence.new({NumberSequenceKeypoint.new(0, .6),NumberSequenceKeypoint.new(1, 1)})
  1186. bbb2 = NumberSequence.new({NumberSequenceKeypoint.new(0, .5),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1187. smonk2.Transparency = bbb2
  1188. smonk2.Size = aaa2
  1189. smonk2.ZOffset = 0
  1190. smonk2.Acceleration = Vector3.new(0, 5, 0)
  1191. smonk2.LockedToPart = false
  1192. smonk2.EmissionDirection = "Back"
  1193. smonk2.Lifetime = NumberRange.new(.2, .5)
  1194. smonk2.Rate = 50
  1195. smonk2.Rotation = NumberRange.new(-50, 50)
  1196. smonk2.RotSpeed = NumberRange.new(-50, 50)
  1197. smonk2.Speed = NumberRange.new(5)
  1198. smonk2.VelocitySpread = 50
  1199. smonk2.Enabled=true
  1200. game:GetService("Debris"):AddItem(smonk2, 1)
  1201. local smonk = Instance.new("ParticleEmitter",gib)
  1202. smonk.LightEmission = .1
  1203. smonk.Size = NumberSequence.new(0.2)
  1204. smonk.Texture = "http://www.roblox.com/asset/?ID=256293532"
  1205. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .5),NumberSequenceKeypoint.new(1, 1)})
  1206. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .5),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1207. smonk.Transparency = bbb
  1208. smonk.Size = aaa
  1209. smonk.ZOffset = 0
  1210. smonk.Acceleration = Vector3.new(0, 0, 0)
  1211. smonk.LockedToPart = false
  1212. smonk.EmissionDirection = "Back"
  1213. smonk.Lifetime = NumberRange.new(.5, .5)
  1214. smonk.Rate = 50
  1215. smonk.Rotation = NumberRange.new(-50, 50)
  1216. smonk.RotSpeed = NumberRange.new(-50, 50)
  1217. smonk.Speed = NumberRange.new(0)
  1218. smonk.VelocitySpread = 0
  1219. smonk.Enabled=true
  1220. for i = 0, 3, 0.1 do
  1221. swait()
  1222. PlayAnimationFromTable({
  1223. CFrame.new(-1.39723795e-06, -2.26530323, -0.906234562, 1.00000417, -7.91624188e-09, 5.21540642e-07, 7.4505806e-07, 6.70552254e-08, 1, -8.52160156e-08, -1, -7.63684511e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1224. CFrame.new(-0.1869829, 1.45231867, -0.342143714, 0.766043186, -0.556672871, -0.321392655, 0.582564116, 0.812565804, -0.0188681856, 0.271656066, -0.172777966, 0.946758091) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1225. CFrame.new(1.54931295, 0.522058249, -0.445071995, -0.984809101, -0.0734127834, -0.157358661, -0.150361016, -0.0927229673, 0.984273374, -0.086849004, 0.99298197, 0.0802759901) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1226. CFrame.new(-1.42533684, 0.503732979, -0.492479533, -0.994232476, 0.0721763074, 0.0793256387, 0.0719300359, -0.0998590589, 0.992398202, 0.0795490369, 0.992380381, 0.0940914676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1227. CFrame.new(0.490656108, -1.65896344, -0.550197124, 0.999861896, -0.016504975, -0.0019627281, 0.0164339989, 0.999355972, -0.0319016613, 0.00248799985, 0.0318650007, 0.999489129) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1228. CFrame.new(-0.537289202, -1.74116123, -0.569836617, 0.998982906, -0.0116342641, 0.0435651727, 0.0117169991, 0.999930024, -0.00164423091, -0.043542996, 0.0021530115, 0.999049246) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1229. }, .2, false)
  1230. gib.CFrame = Head.CFrame * CFrame.new(0,-.2,-.65)
  1231. end
  1232. Grabbed:FindFirstChild'Head':BreakJoints()
  1233. for i = 0, 2, 0.1 do
  1234. swait()
  1235. PlayAnimationFromTable({
  1236. CFrame.new(0.0646195412, -2.14434299, -0.804755151, 0.866028905, -6.39425798e-06, -0.500002384, 0.38303867, 0.642760158, 0.663431108, 0.321375936, -0.766067684, 0.55664885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1237. CFrame.new(-0.165143013, 1.56247377, -0.141641736, 0.69066757, -0.423842132, -0.585949183, 0.329746336, 0.905689478, -0.266446948, 0.643619418, -0.00918829441, 0.765290678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1238. CFrame.new(0.990657806, 0.313646466, -1.20178688, -0.837813437, 0.346571505, -0.421849668, -0.171003163, 0.567217588, 0.80561924, 0.518485129, 0.747096121, -0.4159576) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1239. CFrame.new(-1.71981192, 0.0693554878, 0.00111401081, -0.853676558, 0.474718243, -0.214194372, 0.106240898, 0.56136322, 0.820721865, 0.509852469, 0.677874684, -0.529656947) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1240. CFrame.new(0.612413466, -1.6245271, 0.208686799, 0.861576974, -0.323257267, 0.391395003, 0.014182019, 0.786055923, 0.617992878, -0.507428944, -0.526897609, 0.681832016) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1241. CFrame.new(-0.291646302, -1.85773659, 0.554903328, 0.904961646, -0.330603123, 0.267854929, 0.0925588906, 0.767398, 0.634455264, -0.415304095, -0.549365103, 0.725065827) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1242. }, .3, false)
  1243. gib.CFrame = Head.CFrame * CFrame.new(0,-.2,-.65)
  1244. end
  1245. gag:Destroy()
  1246. CFuncs.Sound.Create("350906125", Head, 2, 1)
  1247. gib.Velocity = Head.CFrame.lookVector * 30
  1248. gib.Anchored=false
  1249. game:GetService("Debris"):AddItem(gib, 2)
  1250. for i = 0, 2, 0.1 do
  1251. swait()
  1252. PlayAnimationFromTable({
  1253. CFrame.new(0.0646212101, -2.14434872, -0.804751337, 0.852872849, 0.150377154, -0.500003099, 0.265605658, 0.699510276, 0.663429797, 0.449520022, -0.698622048, 0.556649804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1254. CFrame.new(-0.0920849219, 1.52588749, -0.308856517, 0.622915268, -0.232293427, -0.747005165, 0.444671035, 0.890768468, 0.0938047767, 0.643618345, -0.390603781, 0.658167362) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1255. CFrame.new(1.24259305, 0.193697155, -0.882544816, -0.79538995, 0.0908054039, -0.599257469, -0.313889712, 0.784080684, 0.5354352, 0.5184865, 0.613980532, -0.595146894) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1256. CFrame.new(-1.6633426, -0.157583565, 0.0787617415, -0.859155536, 0.370026827, -0.353457391, -0.0436116196, 0.63526994, 0.771057844, 0.509853005, 0.677873433, -0.529658079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1257. CFrame.new(0.885205626, -1.49350178, 0.208688766, 0.846024811, -0.4548437, 0.278135866, 0.163576931, 0.717979968, 0.676570356, -0.507429719, -0.526898563, 0.681830764) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1258. CFrame.new(0.0353773236, -1.88015628, 0.554906487, 0.875140369, -0.458838046, 0.15361397, 0.248296916, 0.698329866, 0.671330154, -0.415305018, -0.549366057, 0.725064695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1259. }, .3, false)
  1260. end
  1261. torso.Anchored = false
  1262. end
  1263. Humanoid.WalkSpeed = 35
  1264. Humanoid.JumpPower = 70
  1265. Humanoid.AutoRotate = true
  1266. Attack = false
  1267. end
  1268.  
  1269.  
  1270.  
  1271. function backhop()
  1272. Attack = true
  1273. RootPart.Anchored = false
  1274. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1275. Torso.Velocity=RootPart.CFrame.upVector*130
  1276. for i = 0, .5, 0.1 do
  1277. swait()
  1278. PlayAnimationFromTable({
  1279. CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1280. CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1281. CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1282. CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1283. CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1284. CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1285. }, .3, false)
  1286. end
  1287. Torso.Velocity=RootPart.CFrame.lookVector*-100
  1288. for i = 0, .5, 0.1 do
  1289. swait()
  1290. PlayAnimationFromTable({
  1291. CFrame.new(-0.0724115372, 0.127895057, 0.313171744, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1292. CFrame.new(0.0169060901, 1.6077503, -0.180746168, 0.995960236, -0.0868240073, -0.0229110774, 0.089483425, 0.938373208, 0.333839238, -0.00748612173, -0.334540784, 0.94235158) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1293. CFrame.new(1.70837259, 0.360651702, -0.922262371, 0.97732687, -0.133022964, 0.16473335, 0.196574748, 0.280932844, -0.939380288, 0.0786801279, 0.95046401, 0.300712109) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1294. CFrame.new(-1.48861361, 0.317329109, -0.925790071, 0.994410336, -0.000923748419, -0.105581462, -0.100659929, 0.293561995, -0.950625718, 0.0318728462, 0.955939651, 0.291828096) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1295. CFrame.new(0.604445279, -1.94474173, -0.43701914, 0.94886601, -0.0119064255, -0.315454632, -0.0935085714, 0.943841219, -0.316891491, 0.301512092, 0.330185235, 0.894465506) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1296. CFrame.new(-0.577895403, -1.96714401, -0.475817055, 0.982055664, -0.0277231932, 0.186542824, 0.0885364786, 0.941134036, -0.326233506, -0.166517526, 0.336895287, 0.926700354) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1297. }, .4, false)
  1298. end
  1299. Attack = false
  1300. end
  1301.  
  1302. function righthop()
  1303. Attack = true
  1304. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1305. Humanoid.Jump = true
  1306. Torso.Velocity=RootPart.CFrame.upVector*130
  1307. for i = 0, .5, 0.1 do
  1308. swait()
  1309. PlayAnimationFromTable({
  1310. CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1311. CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1312. CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1313. CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1314. CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1315. CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1316. }, .3, false)
  1317. end
  1318. Torso.Velocity=RootPart.CFrame.rightVector*100
  1319. for i = 0, .5, 0.1 do
  1320. swait()
  1321. PlayAnimationFromTable({
  1322. CFrame.new(0.708232701, 0.127894983, 0.246774122, 0.76604414, -0.111618884, 0.633022666, 0, 0.984807849, 0.173648044, -0.642788053, -0.13302207, 0.754406214) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1323. CFrame.new(0.0324593484, 1.43977821, -0.119624585, 0.995960355, -0.0868238062, -0.0229113102, 0.0894833133, 0.938373625, 0.333838284, -0.00748568773, -0.334539831, 0.942351937) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1324. CFrame.new(1.69410944, 0.329396009, -0.667013586, 0.977326989, -0.133022755, 0.164733544, 0.196574897, 0.280932605, -0.939380229, 0.0786799788, 0.95046401, 0.30071193) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1325. CFrame.new(-1.50714529, 0.0157378055, -0.431941032, 0.884520769, 0.235685706, -0.402585804, -0.362369925, 0.890611291, -0.274772465, 0.29378742, 0.388926923, 0.873169541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1326. CFrame.new(0.618915975, -1.85825384, -0.515439391, 0.98480773, 0.173648864, -1.81794167e-06, -0.17101045, 0.969846725, 0.173646331, 0.0301553011, -0.171007901, 0.984808087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1327. CFrame.new(-0.523646474, -1.39458823, -0.171092927, 0.939692676, 0.342020273, 3.57627869e-07, -0.262003183, 0.719847083, 0.642786682, 0.219845772, -0.604022026, 0.766045213) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1328. }, .4, false)
  1329. end
  1330. Attack = false
  1331. end
  1332.  
  1333.  
  1334. function lefthop()
  1335. Attack = true
  1336. Humanoid.Jump = true
  1337. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1338. Torso.Velocity=RootPart.CFrame.upVector*130
  1339. for i = 0, .5, 0.1 do
  1340. swait()
  1341. PlayAnimationFromTable({
  1342. CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1343. CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1344. CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1345. CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1346. CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1347. CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1348. }, .3, false)
  1349. end
  1350. Torso.Velocity=RootPart.CFrame.rightVector*-100
  1351. for i = 0, .5, 0.1 do
  1352. swait()
  1353. PlayAnimationFromTable({
  1354. CFrame.new(-0.0850991905, 0.127894506, -0.50492847, 0.866025388, 0.0868241936, -0.492404073, 0, 0.98480773, 0.173648342, 0.500000238, -0.150383845, 0.852868438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1355. CFrame.new(0.0324628651, 1.43977714, -0.119621098, 0.928060651, -0.0868241191, -0.362167478, 0.198266238, 0.938373506, 0.283100247, 0.315268338, -0.334539741, 0.888081789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1356. CFrame.new(1.82837343, 0.425938904, -0.29435727, 0.642787039, -0.663414657, 0.383022308, 0.754407167, 0.635036588, -0.166127652, -0.133021653, 0.395739436, 0.908677995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1357. CFrame.new(-0.822531939, 0.843190134, -1.47252464, 0.884521008, -0.355543315, -0.30201298, -0.362369865, -0.115946069, -0.924794376, 0.293787181, 0.927440405, -0.231394917) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1358. CFrame.new(0.63746208, -1.78279781, -0.693231404, 0.984807849, -0.173648208, -1.1920929e-07, 0.171010107, 0.969846427, 0.173647493, -0.0301534832, -0.171009362, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1359. CFrame.new(-0.471737981, -1.40906096, -0.158949912, 1.00000012, 7.15255737e-07, -5.96046448e-07, -1.56462193e-07, 0.766044557, 0.642787457, 8.64267349e-07, -0.642787457, 0.766044617) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1360. }, .4, false)
  1361. end
  1362. Attack = false
  1363. end
  1364.  
  1365.  
  1366. Mouse.KeyDown:connect(function(Key)
  1367. Key = Key:lower()
  1368. if Attack == false and Key == 'z' then
  1369. bulgelocated()
  1370. elseif Attack == false and Key == 'v' then
  1371. Shadowdash()
  1372.  
  1373. elseif UIS:IsKeyDown(Enum.KeyCode.Space) and Attack == false and hit2 ~= nil then
  1374. backhop()
  1375. elseif UIS:IsKeyDown(Enum.KeyCode.Space) and Attack == false and hit4 ~= nil then
  1376. righthop()
  1377. elseif UIS:IsKeyDown(Enum.KeyCode.Space) and Attack == false and hit3 ~= nil then
  1378. lefthop()
  1379. end
  1380. end)
  1381.  
  1382.  
  1383.  
  1384.  
  1385. while true do
  1386. swait()
  1387. for i, v in pairs(Character:GetChildren()) do
  1388. if v:IsA("Part") then
  1389. v.Material = "SmoothPlastic"
  1390. elseif v:IsA("Accessory") then
  1391. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1392. end
  1393. end
  1394. for i, v in pairs(Character:GetChildren()) do
  1395. if v:IsA'Model' then
  1396. for _, c in pairs(v:GetChildren()) do
  1397. if c:IsA'Part' then
  1398. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1399. end
  1400. end
  1401. end
  1402. end
  1403. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1404. Velocity = RootPart.Velocity.y
  1405. hit2, pos2 = RayCast(RootPart.Position, RootPart.CFrame.lookVector, 2.5, Character)
  1406. hit3, pos3 = RayCast(RootPart.Position, RootPart.CFrame.rightVector, 2.5, Character)
  1407. hit4, pos4 = RayCast(RootPart.Position, RootPart.CFrame.rightVector*-1, 2.5, Character)
  1408. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1409. if RootPart.Velocity.y > 1 and hit == nil then
  1410. Anim = "Jump"
  1411. if Attack == false then
  1412. Change = 1
  1413. PlayAnimationFromTable({
  1414. CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1415. CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1416. CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1417. CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1418. CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1419. CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1420. }, .1, false)
  1421. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1422. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1423. end
  1424. elseif RootPart.Velocity.y < -1 and hit == nil then
  1425. Anim = "Fall"
  1426. if Attack == false then
  1427. PlayAnimationFromTable({
  1428. CFrame.new(-2.52783309e-07, -0.458231509, -0.301980734, 1.00000429, 4.77244157e-07, 2.760749e-07, 7.4505806e-07, 0.866025507, 0.500000238, -9.0803951e-08, -0.500000298, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1429. CFrame.new(0, 1.58647513, 0.183157548, 1, 0, 0, 0, 0.999881387, -0.0154127777, 0, 0.0154127777, 0.999881387) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1430. CFrame.new(1.5891608, 0.361017317, -0.212302506, 0.984807849, -0.173521757, 0.0066198064, 0.150383562, 0.83318758, -0.532149851, 0.0868240371, 0.525060833, 0.846624494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1431. CFrame.new(-1.60230875, 0.275375485, -0.212160379, 0.984799087, 0.173571184, 0.00662776129, -0.150421292, 0.871290267, -0.467147648, -0.0868580788, 0.459049612, 0.884154558) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1432. CFrame.new(0.561567485, -1.34639406, -0.926938355, 0.996194661, -0.0871569663, 0, 0.0754801482, 0.862729847, -0.500000238, 0.0435785055, 0.498097569, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1433. CFrame.new(-0.52978605, -1.61792982, 0.214719117, 0.996196747, 0.0413986593, 0.0766689852, -0.0754585043, 0.849865317, 0.521569967, -0.0435660109, -0.525371671, 0.849756956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1434. }, .2, false)
  1435. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1436. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1437. end
  1438. elseif TorsoVelocity < 1 and hit ~= nil then
  1439. Anim = "Idle"
  1440. if Attack == false then
  1441. Change = 1
  1442. PlayAnimationFromTable({
  1443. CFrame.new(-5.67257132e-07, -0.45822984+.1*math.cos(Sine/8), -0.301978469, 1.00000858, 1.24809378e-06, 3.60371928e-07, 1.29640421e-06, 0.939693034, 0.342019886, -9.0338709e-08, -0.342020005, 0.939692616) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0 + 5 * math.cos(Sine/8)), 0, 0),
  1444. CFrame.new(7.63999651e-07, 1.46904099, 0.0165809691, 1.00000429, 5.49886977e-07, 4.0045915e-08, 7.30156898e-07, 0.961822271, -0.273675978, 1.71363354e-07, 0.273675948, 0.961821973) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0 - 10 * math.cos(Sine/8)), 0, 0),
  1445. CFrame.new(1.62868655, 0.111030877+.1*math.cos(Sine/8), -0.35657984, 0.9848122, -0.173521966, 0.00661981478, 0.163176492, 0.911705673, -0.377050072, 0.0593912303, 0.372401953, 0.926169157) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1446. CFrame.new(-1.64265788, 0.0163868144+.1*math.cos(Sine/8), -0.326656789, 0.9848032, 0.173572466, 0.00662781065, -0.163218126, 0.93776685, -0.306518316, -0.0594178699, 0.300777197, 0.951841593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1447. CFrame.new(0.561572433, -1.5318737-.1*math.cos(Sine/8), -0.555493951+math.rad(0 + 5 * math.cos(Sine/8)), 0.996203482, -0.0868237838, -0.00759620313, 0.0819010884, 0.962364078, -0.259130269, 0.0298094228, 0.257522076, 0.965812385) * CFrame.Angles(math.rad(0 - 5 * math.cos(Sine/8)), 0, 0),
  1448. CFrame.new(-0.554138422, -1.84922051-.1*math.cos(Sine/8)+math.rad(0 + 5 * math.cos(Sine/8)), 0.483894289+math.rad(0 + 5 * math.cos(Sine/8)), 0.996200979, 0.0651250109, 0.0578867495, -0.0818765685, 0.926896632, 0.366277635, -0.0298006982, -0.369623899, 0.928703368) * CFrame.Angles(math.rad(0 - 5 * math.cos(Sine/8)), 0, 0),
  1449. }, .2, false)
  1450. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1451. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1452. end
  1453. elseif TorsoVelocity > 2 and hit ~= nil then
  1454. Anim = "Walk"
  1455. if Attack == false then
  1456. PlayAnimationFromTable({
  1457. CFrame.new(2.77100942e-09, 0.00148168206, -0.301976591, 1.00000024, 2.79512946e-08, 5.46405587e-10, 2.23517453e-08, 0.939692974, 0.342020005, -1.49011612e-08, -0.342019856, 0.939692736) * CFrame.new(0, 0+.1*math.cos(Sine/4), 0) * CFrame.Angles(0, 0 + .2 * math.cos(Sine/8), 0),
  1458. CFrame.new(4.8082363e-08, 1.5315367, 0.0343731791, 1.00000024, 3.09263193e-08, -5.39672307e-09, 2.79512946e-08, 0.984808028, -0.173648089, 5.46405587e-10, 0.173648283, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0 - 2 * math.cos(Sine/15)), 0, 0),
  1459. CFrame.new(1.66816366, 0.125450149, 0.167713135, 0.975411952, -0.217704624, -0.0342991352, 0.22028406, 0.9678877, 0.12111339, 0.0068307519, -0.125690982, 0.992045999) * CFrame.new(0, .1, 0 - 2 * math.cos(Sine/8)/2) * CFrame.Angles(math.rad(0 + 160 * math.cos(Sine/8)/2), 0, 0),
  1460. CFrame.new(-1.58983934, 0.0268005617, -0.146883398, 0.986049891, 0.166255936, -0.00805497169, -0.16625604, 0.981399775, -0.0959867239, -0.00805321336, 0.0959868878, 0.995350063) * CFrame.new(0, .1, 0 + 2 * math.cos(Sine/8)/2) * CFrame.Angles(math.rad(0 - 160 * math.cos(Sine/8)/2), 0, 0),
  1461. CFrame.new(.5, -1.64 - 1 * math.cos(Sine / 6) / 2 -.1*math.cos(Sine/4), 0 + 3 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(-90 * math.sin(Sine / 6)), math.rad(-3), math.rad(0)),
  1462. CFrame.new(-.5, -1.64 + 1 * math.cos(Sine / 6) / 2 -.1*math.cos(Sine/4), 0 - 3 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(90 * math.sin(Sine / 6)), math.rad(3), math.rad(0)),}, .2, false)
  1463. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1464. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1465. end
  1466. end
  1467. if #Effects > 0 then
  1468. for e = 1, #Effects do
  1469. if Effects[e] ~= nil then
  1470. local Thing = Effects[e]
  1471. if Thing ~= nil then
  1472. local Part = Thing[1]
  1473. local Mode = Thing[2]
  1474. local Delay = Thing[3]
  1475. local IncX = Thing[4]
  1476. local IncY = Thing[5]
  1477. if Thing[1].Transparency <= 1 then
  1478. if Thing[2] == "Block1" then
  1479. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1480. Mesh = Thing[7]
  1481. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1482. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1483. elseif Thing[2] == "Ice" then
  1484. if Thing[6] <= Thing[5] then
  1485. Thing[6] = Thing[6] + .05
  1486. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1487. else
  1488. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1489. end
  1490. elseif Thing[2] == "Shatter" then
  1491. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1492. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1493. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1494. Thing[6] = Thing[6] + Thing[5]
  1495. elseif Thing[2] == "Block2" then
  1496. Thing[1].CFrame = Thing[1].CFrame
  1497. Mesh = Thing[7]
  1498. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1499. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1500. elseif Thing[2] == "Block3" then
  1501. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1502. Mesh = Thing[7]
  1503. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1504. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1505. elseif Thing[2] == "Block4" then
  1506. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1507. Mesh = Thing[7]
  1508. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1509. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1510. elseif Thing[2] == "Block2Fire" then
  1511. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1512. Mesh = Thing[7]
  1513. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1514. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1515. if Thing[1].Transparency >= .3 then
  1516. Thing[1].BrickColor = BrickColor.new("Bright red")
  1517. else
  1518. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1519. end
  1520. elseif Thing[2] == "Cylinder" then
  1521. Mesh = Thing[7]
  1522. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1523. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1524. elseif Thing[2] == "Blood" then
  1525. Mesh = Thing[7]
  1526. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1527. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1528. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1529. elseif Thing[2] == "Elec" then
  1530. Mesh = Thing[10]
  1531. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1532. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1533. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  1534. Thing[1].Rotation = Vector3.new(0, 0, 0)
  1535. elseif Thing[2] == "Disappear" then
  1536. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1537. end
  1538. else
  1539. Part.Parent = nil
  1540. table.remove(Effects, e)
  1541. end
  1542. end
  1543. end
  1544. end
  1545. end
  1546. Humanoid.Health = math.huge
  1547. if Attack == false and hit == nil and hit2 ~= nil then
  1548. Torso.Velocity=RootPart.CFrame.upVector*55
  1549. --[[RootPart.Anchored = true
  1550. Humanoid.AutoRotate = false
  1551. local nPos = RootPart.CFrame
  1552. if(UIS:IsKeyDown(Enum.KeyCode.W))then
  1553. nPos = nPos * CFrame.new(0,.5,0)
  1554. end
  1555. if(UIS:IsKeyDown(Enum.KeyCode.A))then
  1556. nPos = nPos * CFrame.new(-.5,0,0)
  1557. end
  1558. if(UIS:IsKeyDown(Enum.KeyCode.S))then
  1559. nPos = nPos * CFrame.new(0,-.5,0)
  1560. end
  1561. if(UIS:IsKeyDown(Enum.KeyCode.D))then
  1562. nPos = nPos * CFrame.new(.5,0,0)
  1563. end
  1564. if(nPos == RootPart.CFrame)then
  1565. nPos = nPos * CFrame.new(0,-.05,0)
  1566. end
  1567. RootPart.CFrame = nPos
  1568. Humanoid.Jump = false]]
  1569. elseif Attack == false and hit == nil and hit3 ~= nil or hit4 ~= nil then
  1570. Torso.Velocity=RootPart.CFrame.lookVector*35
  1571. Humanoid.Jump = false
  1572. elseif Attack == false then
  1573. Humanoid.AutoRotate = true
  1574. RootPart.Anchored = false
  1575. end
  1576. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement