Advertisement
memberhero

FE Claws

Aug 8th, 2018
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 81.82 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.Version = "v1.0.0"
  2. do
  3. script.Parent = InternalData.RealOwner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function createObject (connections, index)
  6. local proxy = newproxy (true);local meta = getmetatable (proxy);
  7. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8. while (#connections > 0) do connections [table.remove (connections, 1)] = Instance.new ('BindableEvent');end;
  9. meta.__index = function (self, i)
  10. if (i == 'TriggerEvent') then return runbind end;
  11. return connections[i] and connections[i].Event or index[i];
  12. end;
  13. meta.__newindex = index;meta.__metatable = false;return proxy
  14. end;
  15. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  17. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  18. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  19. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  20. Event.OnServerEvent:Connect(function(FiredBy,Input)
  21. if FiredBy.Name ~= InternalData.RealOwner.Name then return end
  22. if Input.MouseEvent then
  23. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  24. else
  25. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  26. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  27. for _,Action in pairs(ContextActionService.Actions) do
  28. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  29. end
  30. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  31. end
  32. end)
  33. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  34. Event.Parent = NLS([[
  35. local Player = owner;
  36. local Event = script:WaitForChild("UserInput");
  37. local UserInputService = game:GetService("UserInputService");
  38. local Mouse = Player:GetMouse();
  39. local Input = function(Input,gameProcessedEvent)
  40. if gameProcessedEvent then return end
  41. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  42. end
  43. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  44. local Hit,Target
  45. while wait(1/60) do
  46. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  47. Hit = Mouse.Hit;Target = Mouse.Target;
  48. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  49. end
  50. end
  51. ]],InternalData.RealOwner.Character)
  52. end
  53. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  54. __index = function (self,Index)
  55. if Index:lower() == 'new' then
  56. return function (Type, Parent)
  57. local Real = InternalData.RealInstance.new(Type,Parent)
  58. if not Type then return end
  59. if Type == "BillboardGui" then
  60. return setmetatable({},{
  61. __index = function (self,Index)
  62. return Real[Index]
  63. end;
  64. __newindex = function (self,Index,Value)
  65. if Index:lower() == "playertohidefrom" then
  66. if Value.Name == owner.Name then Real[Index] = InternalData.RealOwner else Real[Index] = Value end
  67. else
  68. Real[Index] = Value
  69. end
  70. end;
  71. __tostring = function(self) return tostring(Real) end;
  72. })
  73. end
  74. return Real
  75. end
  76. end
  77. return InternalData.RealInstance[Index]
  78. end;
  79. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  80. });
  81. InternalData.RealGame = game;game = setmetatable({},{
  82. __index = function (self,Index)
  83. local Sandbox = function (Thing)
  84. if Thing:IsA("Player") then
  85. local RealPlayer = Thing
  86. return setmetatable({},{
  87. __index = function (self,Index)
  88. local Type = type(RealPlayer[Index])
  89. if Type == "function" then
  90. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  91. return function (self)return InternalData["Mouse"] end
  92. end
  93. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  94. elseif Index == "FakePlayer" then
  95. return true
  96. end
  97. return RealPlayer[Index]
  98. end;
  99. __tostring = function(self) return tostring(RealPlayer) end
  100. })
  101. end
  102. end
  103. if InternalData.RealGame[Index] then
  104. local Type = type(InternalData.RealGame[Index])
  105. if Type == "function" then
  106. if Index:lower() == "getservice" or Index:lower() == "service" then
  107. return function (self,Service)
  108. local FakeServices = {
  109. ["players"] = function()
  110. return setmetatable({},{
  111. __index = function (self2,Index2)
  112. local RealService = InternalData.RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...)end
  116. else
  117. if Index2:lower() == "localplayer" then return Sandbox(InternalData.RealOwner) end
  118. return RealService[Index2]
  119. end
  120. end;
  121. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  122. })
  123. end;
  124. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  125. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  126. ["runservice"] = function()
  127. return setmetatable({},{
  128. __index = function(self2,Index2)
  129. local RealService = InternalData.RealGame:GetService(Service)
  130. local Type2 = type(Index2)
  131. if Type2 == "function" then
  132. return function (self,...) return RealService[Index2](RealService,...) end
  133. else
  134. local RunServices = {
  135. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  136. ["renderstepped"] = function() return RealService["Stepped"] end
  137. }
  138. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  139. return RealService[Index2]
  140. end
  141. end;
  142. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  143. })
  144. end
  145. }
  146. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  147. return InternalData.RealGame:GetService(Service)
  148. end
  149. end
  150. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  151. else
  152. if game:GetService(Index) then return game:GetService(Index) end
  153. return InternalData.RealGame[Index]
  154. end
  155. end
  156. return nil
  157. end;
  158. __tostring = function(self) return tostring(InternalData.game) end
  159. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  160.  
  161. --//Paste script below this line.
  162. wait(1)
  163. Effects = { }
  164. local Player = game.Players.LocalPlayer
  165. local Mouse = Player:GetMouse()
  166. local Character = Player.Character
  167. local Humanoid = Character.Humanoid
  168. local Head = Character.Head
  169. local RootPart = Character.HumanoidRootPart
  170. local Torso = Character.Torso
  171. local LeftArm = Character["Left Arm"]
  172. local RightArm = Character["Right Arm"]
  173. local LeftLeg = Character["Left Leg"]
  174. local RightLeg = Character["Right Leg"]
  175. local Camera = game.Workspace.CurrentCamera
  176. local RootJoint = RootPart.RootJoint
  177. local Equipped = false
  178. local Attack = false
  179. local Anim = 'Idle'
  180. local Idle = 0
  181. local Combo = 1
  182. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  183. local Velocity = RootPart.Velocity.y
  184. local Sine = 0
  185. local Change = 1
  186. local UIS = game:GetService("UserInputService")
  187.  
  188. local Climbing = false
  189. local ClimbPos;
  190.  
  191. spawn(function()
  192. while true do
  193. swait()
  194. Sine = Sine + Change
  195. end
  196. end)
  197.  
  198. local RbxUtility = LoadLibrary("RbxUtility")
  199. local Create = RbxUtility.Create
  200.  
  201. Humanoid.WalkSpeed = 35
  202. Humanoid.JumpPower = 70
  203. Humanoid.Animator.Parent = nil
  204. Character.Animate.Parent = nil
  205.  
  206. local newMotor = function(part0, part1, c0, c1)
  207. local w = Create('Motor'){
  208. Parent = part0,
  209. Part0 = part0,
  210. Part1 = part1,
  211. C0 = c0,
  212. C1 = c1,
  213. }
  214. return w
  215. end
  216.  
  217.  
  218.  
  219. function clerp(a, b, t)
  220. return a:lerp(b, t)
  221. end
  222.  
  223. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  224. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  225.  
  226. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  227. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  228. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  229. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  230. RootJoint.C1 = CFrame.new(0, 0, 0)
  231. RootJoint.C0 = CFrame.new(0, 0, 0)
  232. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  233. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  234.  
  235. local rarmc1 = RW.C1
  236. local larmc1 = LW.C1
  237. local rlegc1 = RH.C1
  238. local llegc1 = LH.C1
  239.  
  240. local resetc1 = false
  241.  
  242. function PlayAnimationFromTable(table, speed, bool)
  243. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  244. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  245. RW.C0 = clerp(RW.C0, table[3], speed)
  246. LW.C0 = clerp(LW.C0, table[4], speed)
  247. RH.C0 = clerp(RH.C0, table[5], speed)
  248. LH.C0 = clerp(LH.C0, table[6], speed)
  249. if bool == true then
  250. if resetc1 == false then
  251. resetc1 = true
  252. RootJoint.C1 = RootJoint.C1
  253. Torso.Neck.C1 = Torso.Neck.C1
  254. RW.C1 = rarmc1
  255. LW.C1 = larmc1
  256. RH.C1 = rlegc1
  257. LH.C1 = llegc1
  258. end
  259. end
  260. end
  261.  
  262. ArtificialHB = Create("BindableEvent"){
  263. Parent = script,
  264. Name = "Heartbeat",
  265. }
  266.  
  267. script:WaitForChild("Heartbeat")
  268.  
  269. frame = 1 / 60
  270. tf = 0
  271. allowframeloss = false
  272. tossremainder = false
  273. lastframe = tick()
  274. script.Heartbeat:Fire()
  275.  
  276. game:GetService("RunService").Heartbeat:connect(function(s, p)
  277. tf = tf + s
  278. if tf >= frame then
  279. if allowframeloss then
  280. script.Heartbeat:Fire()
  281. lastframe = tick()
  282. else
  283. for i = 1, math.floor(tf / frame) do
  284. script.Heartbeat:Fire()
  285. end
  286. lastframe = tick()
  287. end
  288. if tossremainder then
  289. tf = 0
  290. else
  291. tf = tf - frame * math.floor(tf / frame)
  292. end
  293. end
  294. end)
  295.  
  296. function swait(num)
  297. if num == 0 or num == nil then
  298. ArtificialHB.Event:wait()
  299. else
  300. for i = 0, num do
  301. ArtificialHB.Event:wait()
  302. end
  303. end
  304. end
  305.  
  306. local m = Create("Model"){
  307. Parent = Character,
  308. Name = "WeaponModel"
  309. }
  310.  
  311.  
  312.  
  313. function RemoveOutlines(part)
  314. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  315. end
  316.  
  317. CFuncs = {
  318. Part = {
  319. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  320. local Part = Create("Part"){
  321. Parent = Parent,
  322. Reflectance = Reflectance,
  323. Transparency = Transparency,
  324. CanCollide = false,
  325. Locked = true,
  326. BrickColor = BrickColor.new(tostring(BColor)),
  327. Name = Name,
  328. Size = Size,
  329. Material = Material,
  330. }
  331. RemoveOutlines(Part)
  332. if Size == Vector3.new() then
  333. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  334. else
  335. Part.Size = Size
  336. end
  337. return Part
  338. end;
  339. };
  340.  
  341. Mesh = {
  342. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  343. local Msh = Create(Mesh){
  344. Parent = Part,
  345. Offset = OffSet,
  346. Scale = Scale,
  347. }
  348. if Mesh == "SpecialMesh" then
  349. Msh.MeshType = MeshType
  350. Msh.MeshId = MeshId
  351. end
  352. return Msh
  353. end;
  354. };
  355.  
  356. Weld = {
  357. Create = function(Parent, Part0, Part1, C0, C1)
  358. local Weld = Create("Weld"){
  359. Parent = Parent,
  360. Part0 = Part0,
  361. Part1 = Part1,
  362. C0 = C0,
  363. C1 = C1,
  364. }
  365. return Weld
  366. end;
  367. };
  368.  
  369. Sound = {
  370. Create = function(id, par, vol, pit)
  371. coroutine.resume(coroutine.create(function()
  372. local S = Create("Sound"){
  373. Volume = vol,
  374. Pitch = pit or 1,
  375. SoundId = "rbxassetid://" .. id,
  376. Parent = par or workspace,
  377. }
  378. wait()
  379. S:play()
  380. game:GetService("Debris"):AddItem(S, 10)
  381. end))
  382. end;
  383. };
  384.  
  385. ParticleEmitter = {
  386. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  387. local Particle = Create("ParticleEmitter"){
  388. Parent = Parent,
  389. Color = ColorSequence.new(Color1, Color2),
  390. LightEmission = LightEmission,
  391. Size = Size,
  392. Texture = Texture,
  393. Transparency = Transparency,
  394. ZOffset = ZOffset,
  395. Acceleration = Accel,
  396. Drag = Drag,
  397. LockedToPart = LockedToPart,
  398. VelocityInheritance = VelocityInheritance,
  399. EmissionDirection = EmissionDirection,
  400. Enabled = Enabled,
  401. Lifetime = LifeTime,
  402. Rate = Rate,
  403. Rotation = Rotation,
  404. RotSpeed = RotSpeed,
  405. Speed = Speed,
  406. VelocitySpread = VelocitySpread,
  407. }
  408. return Particle
  409. end;
  410. };
  411.  
  412. CreateTemplate = {
  413.  
  414. };
  415. }
  416.  
  417.  
  418. rCHandle2=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","CHandle2",Vector3.new(0.430001736, 0.679999948, 0.299999684))
  419. 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))
  420. CHandle2=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","CHandle2",Vector3.new(0.430001736, 0.679999948, 0.299999684))
  421. 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))
  422. Claw2=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Claw2",Vector3.new(0.430001736, 0.829999924, 1.31999958))
  423. 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))
  424. CFuncs.Mesh.Create("SpecialMesh",Claw2,Enum.MeshType.FileMesh,"rbxassetid://10681506",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.800000012))
  425.  
  426.  
  427. rCHandle1=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","CHandle1",Vector3.new(0.430001736, 0.679999948, 0.299999684))
  428. 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))
  429. CHandle1=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","CHandle1",Vector3.new(0.430001736, 0.679999948, 0.299999684))
  430. 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))
  431. Claw1=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Claw1",Vector3.new(0.430001736, 0.829999924, 1.31999958))
  432. 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))
  433. CFuncs.Mesh.Create("SpecialMesh",Claw1,Enum.MeshType.FileMesh,"rbxassetid://10681506",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.800000012))
  434.  
  435. function RayCast(Position, Direction, Range, Ignore)
  436. return workspace:FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  437. end
  438.  
  439. function RayCastWithList(Position, Direction, Range, Ignore)
  440. return workspace:FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  441. end
  442.  
  443. function GetTorso(char)
  444. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso'
  445. end
  446.  
  447. FindNearestTorso = function(pos,range)
  448. local torso,dist=nil,nil or range;
  449. for _,v in next, workspace:children() do
  450. 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
  451. if v:FindFirstChildOfClass('Humanoid').Health > 0 then
  452. if((pos-GetTorso(v).Position).magnitude < dist)then
  453. torso = GetTorso(v)
  454. dist = (pos-GetTorso(v).Position).magnitude
  455. end
  456. end
  457. end
  458. end
  459. return torso, dist
  460. end
  461.  
  462. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  463. if hit.Parent == nil then
  464. return
  465. end
  466. local h = hit.Parent:FindFirstChild("Humanoid")
  467. for _, v in pairs(hit.Parent:children()) do
  468. if v:IsA("Humanoid") then
  469. h = v
  470. end
  471. end
  472. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  473. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  474. if hit.Parent.DebounceHit.Value == true then
  475. return
  476. end
  477. end
  478. local c = Create("ObjectValue"){
  479. Name = "creator",
  480. Value = game:service("Players").LocalPlayer,
  481. Parent = h,
  482. }
  483. game:GetService("Debris"):AddItem(c, .5)
  484. if HitSound ~= nil and HitPitch ~= nil then
  485. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  486. end
  487. local Damage = math.random(minim, maxim)
  488. local blocked = false
  489. local block = hit.Parent:findFirstChild("Block")
  490. if block ~= nil then
  491. if block.className == "IntValue" then
  492. if block.Value > 0 then
  493. blocked = true
  494. block.Value = block.Value - 1
  495. print(block.Value)
  496. end
  497. end
  498. end
  499. if blocked == false then
  500. h.Health = h.Health - Damage
  501. 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)
  502. else
  503. h.Health = h.Health - (Damage / 2)
  504. 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)
  505. end
  506. if Type == "Knockdown" then
  507. local hum = hit.Parent.Humanoid
  508. hum.PlatformStand = true
  509. coroutine.resume(coroutine.create(function(HHumanoid)
  510. swait(1)
  511. HHumanoid.PlatformStand = false
  512. end), hum)
  513. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  514. local bodvol = Create("BodyVelocity"){
  515. velocity = angle * knockback,
  516. P = 5000,
  517. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  518. Parent = hit,
  519. }
  520. local rl = Create("BodyAngularVelocity"){
  521. P = 3000,
  522. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  523. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  524. Parent = hit,
  525. }
  526. game:GetService("Debris"):AddItem(bodvol, .5)
  527. game:GetService("Debris"):AddItem(rl, .5)
  528. elseif Type == "Normal" then
  529. local vp = Create("BodyVelocity"){
  530. P = 500,
  531. maxForce = Vector3.new(math.huge, 0, math.huge),
  532. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  533. }
  534. if knockback > 0 then
  535. vp.Parent = hit.Parent.Torso
  536. end
  537.  
  538. elseif Type == "Up" then
  539. local bodyVelocity = Create("BodyVelocity"){
  540. velocity = Vector3.new(0, 20, 0),
  541. P = 5000,
  542. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  543. Parent = hit,
  544. }
  545. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  546. elseif Type == "DarkUp" then
  547. coroutine.resume(coroutine.create(function()
  548. for i = 0, 1, 0.1 do
  549. swait()
  550. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  551. end
  552. end))
  553. local bodyVelocity = Create("BodyVelocity"){
  554. velocity = Vector3.new(0, 20, 0),
  555. P = 5000,
  556. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  557. Parent = hit,
  558. }
  559. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  560. elseif Type == "Snare" then
  561. local bp = Create("BodyPosition"){
  562. P = 2000,
  563. D = 100,
  564. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  565. position = hit.Parent.Torso.Position,
  566. Parent = hit.Parent.Torso,
  567. }
  568. game:GetService("Debris"):AddItem(bp, 1)
  569. elseif Type == "Freeze" then
  570. local BodPos = Create("BodyPosition"){
  571. P = 50000,
  572. D = 1000,
  573. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  574. position = hit.Parent.Torso.Position,
  575. Parent = hit.Parent.Torso,
  576. }
  577. local BodGy = Create("BodyGyro") {
  578. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  579. P = 20e+003,
  580. Parent = hit.Parent.Torso,
  581. cf = hit.Parent.Torso.CFrame,
  582. }
  583. hit.Parent.Torso.Anchored = true
  584. coroutine.resume(coroutine.create(function(Part)
  585. swait(1.5)
  586. Part.Anchored = false
  587. end), hit.Parent.Torso)
  588. game:GetService("Debris"):AddItem(BodPos, 3)
  589. game:GetService("Debris"):AddItem(BodGy, 3)
  590. end
  591. local debounce = Create("BoolValue"){
  592. Name = "DebounceHit",
  593. Parent = hit.Parent,
  594. Value = true,
  595. }
  596. game:GetService("Debris"):AddItem(debounce, Delay)
  597. c = Create("ObjectValue"){
  598. Name = "creator",
  599. Value = Player,
  600. Parent = h,
  601. }
  602. game:GetService("Debris"):AddItem(c, .5)
  603. end
  604. end
  605.  
  606. function ShowDamage(Pos, Text, Time, Color)
  607. local Rate = (1 / 30)
  608. local Pos = (Pos or Vector3.new(0, 0, 0))
  609. local Text = (Text or "")
  610. local Time = (Time or 2)
  611. local Color = (Color or Color3.new(1, 0, 1))
  612. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  613. EffectPart.Anchored = true
  614. local BillboardGui = Create("BillboardGui"){
  615. Size = UDim2.new(3, 0, 3, 0),
  616. Adornee = EffectPart,
  617. Parent = EffectPart,
  618. }
  619. local TextLabel = Create("TextLabel"){
  620. BackgroundTransparency = 1,
  621. Size = UDim2.new(1, 0, 1, 0),
  622. Text = Text,
  623. Font = "SciFi",
  624. TextColor3 = Color,
  625. TextScaled = true,
  626. Parent = BillboardGui,
  627. }
  628. game.Debris:AddItem(EffectPart, (Time))
  629. EffectPart.Parent = game:GetService("Workspace")
  630. delay(0, function()
  631. local Frames = (Time / Rate)
  632. for Frame = 1, Frames do
  633. wait(Rate)
  634. local Percent = (Frame / Frames)
  635. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  636. TextLabel.TextTransparency = Percent
  637. end
  638. if EffectPart and EffectPart.Parent then
  639. EffectPart:Destroy()
  640. end
  641. end)
  642. end
  643.  
  644. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  645. for _, c in pairs(workspace:children()) do
  646. local hum = c:findFirstChild("Humanoid")
  647. if hum ~= nil then
  648. local head = c:findFirstChild("Torso")
  649. if head ~= nil then
  650. local targ = head.Position - Part.Position
  651. local mag = targ.magnitude
  652. if mag <= Magnitude and c.Name ~= Player.Name then
  653. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  654. end
  655. end
  656. end
  657. end
  658. end
  659.  
  660. EffectModel = Create("Model"){
  661. Parent = Character,
  662. Name = "EffectModel",
  663. }
  664.  
  665. Effects = {
  666. Block = {
  667. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  668. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  669. prt.Anchored = true
  670. prt.CFrame = cframe
  671. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  672. game:GetService("Debris"):AddItem(prt, 10)
  673. if Type == 1 or Type == nil then
  674. table.insert(Effects, {
  675. prt,
  676. "Block1",
  677. delay,
  678. x3,
  679. y3,
  680. z3,
  681. msh
  682. })
  683. elseif Type == 2 then
  684. table.insert(Effects, {
  685. prt,
  686. "Block2",
  687. delay,
  688. x3,
  689. y3,
  690. z3,
  691. msh
  692. })
  693. elseif Type == 3 then
  694. table.insert(Effects, {
  695. prt,
  696. "Block3",
  697. delay,
  698. x3,
  699. y3,
  700. z3,
  701. msh,
  702. Part
  703. })
  704. elseif Type == 4 then
  705. table.insert(Effects, {
  706. prt,
  707. "Block2Fire",
  708. delay,
  709. x3,
  710. y3,
  711. z3,
  712. msh
  713. })
  714. end
  715. end
  716. };
  717.  
  718. Sphere = {
  719. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  720. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  721. prt.Anchored = true
  722. prt.CFrame = cframe
  723. if parent == nil then
  724. prt.Parent = workspace
  725. else
  726. prt.Parent = parent
  727. end
  728. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  729. game:GetService("Debris"):AddItem(prt, 10)
  730. table.insert(Effects, {
  731. prt,
  732. "Cylinder",
  733. delay,
  734. x3,
  735. y3,
  736. z3,
  737. msh
  738. })
  739. end
  740. };
  741.  
  742. Blood = {
  743. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  744. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  745. prt.Anchored = true
  746. prt.CFrame = cframe
  747. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  748. game:GetService("Debris"):AddItem(prt, 10)
  749. table.insert(Effects, {
  750. prt,
  751. "Blood",
  752. delay,
  753. x3,
  754. y3,
  755. z3,
  756. msh
  757. })
  758. end
  759. };
  760.  
  761. Blast = {
  762. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  763. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  764. prt.Anchored = true
  765. prt.CFrame = cframe
  766. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  767. game:GetService("Debris"):AddItem(prt, 10)
  768. table.insert(Effects, {
  769. prt,
  770. "Block4",
  771. delay,
  772. x3,
  773. y3,
  774. z3,
  775. msh,
  776. Part
  777. })
  778. end
  779. };
  780.  
  781. Ring = {
  782. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  783. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  784. prt.Anchored = true
  785. prt.CFrame = cframe
  786. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  787. game:GetService("Debris"):AddItem(prt, 10)
  788. table.insert(Effects, {
  789. prt,
  790. "Cylinder",
  791. delay,
  792. x3,
  793. y3,
  794. z3,
  795. msh
  796. })
  797. end
  798. };
  799.  
  800. Cylinder = {
  801. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  802. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  803. prt.Anchored = true
  804. prt.CFrame = cframe
  805. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  806. game:GetService("Debris"):AddItem(prt, 10)
  807. table.insert(Effects, {
  808. prt,
  809. "Cylinder",
  810. delay,
  811. x3,
  812. y3,
  813. z3,
  814. msh
  815. })
  816. end
  817. };
  818.  
  819. Head = {
  820. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  821. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  822. prt.Anchored = true
  823. prt.CFrame = cframe
  824. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  825. game:GetService("Debris"):AddItem(prt, 10)
  826. table.insert(Effects, {
  827. prt,
  828. "Cylinder",
  829. delay,
  830. x3,
  831. y3,
  832. z3,
  833. msh
  834. })
  835. end
  836. };
  837.  
  838. Wave = {
  839. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  840. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  841. prt.Anchored = true
  842. prt.CFrame = cframe
  843. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  844. game:GetService("Debris"):AddItem(prt, 10)
  845. table.insert(Effects, {
  846. prt,
  847. "Cylinder",
  848. delay,
  849. x3,
  850. y3,
  851. z3,
  852. msh
  853. })
  854. end
  855. };
  856.  
  857. Break = {
  858. Create = function(brickcolor, cframe, x1, y1, z1)
  859. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  860. prt.Anchored = true
  861. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  862. game:GetService("Debris"):AddItem(prt, 10)
  863. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  864. local num = math.random(10, 50) / 1000
  865. table.insert(Effects, {
  866. prt,
  867. "Shatter",
  868. num,
  869. prt.CFrame,
  870. math.random() - math.random(),
  871. 0,
  872. math.random(50, 100) / 100
  873. })
  874. end
  875. };
  876.  
  877. Elec = {
  878. Create = function(brickcolor, cff, x, y, z)
  879. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  880. prt.Anchored = true
  881. 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)
  882. prt.CFrame = CFrame.new(prt.Position)
  883. game:GetService("Debris"):AddItem(prt, 10)
  884. xval = math.random() / 9
  885. yval = math.random() / 9
  886. zval = math.random() / 9
  887. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  888. eul1 = math.random(-50, 50)
  889. eul2 = math.random(-50, 50)
  890. eul3 = math.random(-50, 50)
  891. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  892. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  893. table.insert(Effects, {
  894. prt,
  895. "Elec",
  896. .05,
  897. x,
  898. y,
  899. z,
  900. xval,
  901. yval,
  902. zval,
  903. msh,
  904. euld,
  905. euld2
  906. })
  907. end
  908. };
  909.  
  910. Elec2 = {
  911. Create = function(brickcolor, cff, x, y, z)
  912. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  913. prt.Anchored = true
  914. 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)
  915. prt.CFrame = CFrame.new(prt.Position)
  916. game:GetService("Debris"):AddItem(prt, 10)
  917. xval = math.random() / 7
  918. yval = math.random() / 7
  919. zval = math.random() / 7
  920. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  921. eul1 = math.random(-50, 50)
  922. eul2 = math.random(-50, 50)
  923. eul3 = math.random(-50, 50)
  924. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  925. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  926. table.insert(Effects, {
  927. prt,
  928. "Elec",
  929. .1,
  930. x,
  931. y,
  932. z,
  933. xval,
  934. yval,
  935. zval,
  936. msh,
  937. euld,
  938. euld2
  939. })
  940. end
  941. };
  942.  
  943. Clone = {
  944. Create = function()
  945. for _, v in pairs(Torso.Parent:children()) do
  946. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  947. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  948. c.Anchored = true
  949. c.CFrame = v.CFrame
  950. game:GetService("Debris"):AddItem(c, 5)
  951. local cmsh = nil
  952. if v.Name == "Head" then
  953. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  954. else
  955. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  956. end
  957. table.insert(Effects, {
  958. c,
  959. "Cylinder",
  960. 0.05,
  961. 0.1,
  962. 0.1,
  963. 0.1,
  964. cmsh
  965. })
  966. end
  967. end
  968. end
  969. };
  970.  
  971. EffectTemplate = {
  972.  
  973. };
  974. }
  975.  
  976. function Attackone()
  977. Attack = true
  978. for i = 0, 1, 0.1 do
  979. swait()
  980. PlayAnimationFromTable({
  981. CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  982. CFrame.new(0, 1.5, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  983. CFrame.new(1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  984. CFrame.new(-1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  985. CFrame.new(0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  986. CFrame.new(-0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  987. }, .3, false)
  988. end
  989. Attack = false
  990. end
  991.  
  992. Humanoid.WalkSpeed = 0
  993. Humanoid.JumpPower = 0
  994.  
  995. --Intro bit
  996. ripntear=Instance.new("Sound", Torso)
  997. ripntear.SoundId = "rbxassetid://1289912324"
  998. ripntear.TimePosition = 9.2
  999. ripntear.Looped = true
  1000. ripntear:Play()
  1001. if(not game:GetService('RunService'):IsStudio() )then
  1002. for i = 0, 15, 0.1 do
  1003. swait()
  1004. PlayAnimationFromTable({
  1005. 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),
  1006. 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),
  1007. 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),
  1008. 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),
  1009. 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),
  1010. 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),
  1011. }, .3, false)
  1012. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1013. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1014. end
  1015. CFuncs.Sound.Create("1499494641", CHandle1, 1, 1)
  1016. for i = 0, 3, 0.1 do
  1017. swait()
  1018. PlayAnimationFromTable({
  1019. 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),
  1020. 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),
  1021. 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),
  1022. 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),
  1023. 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),
  1024. 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),
  1025. }, .2, false)
  1026. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1027. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1028. end
  1029. CFuncs.Sound.Create("1499494641", CHandle2, 1, .9)
  1030. for i = 0, 3, 0.1 do
  1031. swait()
  1032. PlayAnimationFromTable({
  1033. 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),
  1034. 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),
  1035. 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),
  1036. 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),
  1037. 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),
  1038. 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),
  1039. }, .2, false)
  1040. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1041. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1042. end
  1043.  
  1044. for i = 0, 2, 0.1 do
  1045. swait()
  1046. PlayAnimationFromTable({
  1047. 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),
  1048. 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),
  1049. 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),
  1050. 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),
  1051. 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),
  1052. 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),
  1053. }, .3, false)
  1054. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1055. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1056. end
  1057. CFuncs.Sound.Create("834658541", Torso, 5, .8)
  1058. for i = 0, 1, 0.1 do
  1059. swait()
  1060. PlayAnimationFromTable({
  1061. 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),
  1062. 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),
  1063. 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),
  1064. 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),
  1065. 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),
  1066. 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),
  1067. }, .3, false)
  1068. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1069. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, 0, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1070. end
  1071.  
  1072. for i = 0, 20, 0.1 do
  1073. swait()
  1074. PlayAnimationFromTable({
  1075. 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),
  1076. 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),
  1077. 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),
  1078. 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),
  1079. 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),
  1080. 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),
  1081. }, .3, false)
  1082. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), .3)
  1083. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), .3)
  1084. end
  1085.  
  1086. end
  1087.  
  1088. Humanoid.WalkSpeed = 35
  1089. Humanoid.JumpPower = 70
  1090.  
  1091. --Start neccessary functions here
  1092.  
  1093. function TraceThing(COLOR,PLACE2) -- thanks shack dadi
  1094. local FADE = EffectModel
  1095. for _, c in pairs(Character:GetChildren()) do
  1096. if c:IsA'BasePart' and c ~= RootPart then
  1097. local DIST = (c.Position-PLACE2).magnitude
  1098. local FADER = c:Clone()
  1099. FADER.Color = COLOR
  1100. FADER.Size = Vector3.new(FADER.Size.X,FADER.Size.Y,DIST)
  1101. FADER.CFrame = CFrame.new(c.Position,PLACE2) * CFrame.new(0,0,-DIST/2)
  1102. FADER.Parent = FADE
  1103. FADER.Anchored = true
  1104. FADER.Transparency = 0.25
  1105. FADER:BreakJoints()
  1106. FADER.Material = "Glass"
  1107. FADER.CanCollide = false
  1108. FADER:ClearAllChildren()
  1109.  
  1110. if FADER.Name == "Head" then
  1111. FADER.Size = Vector3.new(1,1,1)
  1112. end
  1113. table.insert(Effects,{FADER,'Disappear',.01})
  1114. end
  1115. end
  1116.  
  1117. end
  1118.  
  1119.  
  1120.  
  1121. function Shadowdash()
  1122. local target = Mouse.Target;
  1123. if(target and target.Parent and GetTorso(target.Parent))then
  1124. local torso = GetTorso(target.Parent)
  1125. target = target.Parent;
  1126.  
  1127. Attack = true
  1128. for _, c in pairs(Character:children()) do
  1129. if c.ClassName == "Part" and c ~= RootPart then
  1130. c.Transparency = 1
  1131. elseif(c:FindFirstChild'Handle')then
  1132. c.Handle.Transparency = 1
  1133. end
  1134. end
  1135. Claw1.Transparency = 1
  1136. Claw2.Transparency = 1
  1137.  
  1138.  
  1139. TraceThing(Color3.new(0,0,0),torso.Position)
  1140.  
  1141. for i = 0, 1, 0.1 do
  1142. swait()
  1143. PlayAnimationFromTable({
  1144. CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1145. CFrame.new(0, 1.5, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1146. CFrame.new(1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1147. CFrame.new(-1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1148. CFrame.new(0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1149. CFrame.new(-0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1150. }, .3, false)
  1151. end
  1152. Attack = false
  1153. end
  1154. end
  1155.  
  1156. function bulgelocated()
  1157. Attack = true
  1158. for i = 0, 1, 0.1 do
  1159. swait()
  1160. PlayAnimationFromTable({
  1161. 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),
  1162. 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),
  1163. 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),
  1164. 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),
  1165. 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),
  1166. 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),
  1167. }, .3, false)
  1168. end
  1169. local Grabbed,Root,RootWeld,GrabWeld;
  1170. Torso.Velocity = RootPart.CFrame.lookVector * 150
  1171. for i = 0, 3, 0.1 do
  1172. swait()
  1173. if(not Grabbed)then
  1174. Grabbed = FindNearestTorso(Torso.Position,5)
  1175. if(Grabbed)then
  1176. print'owo'
  1177. local torso = Grabbed
  1178. Grabbed=Grabbed.Parent
  1179. local Root = Grabbed:FindFirstChild'HumanoidRootPart'
  1180. local RootWeld
  1181. 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)}
  1182. --GrabWeld.C0 = clerp(GrabWeld.C0, CFrame.new(0, -.8, 2) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 1)
  1183. if(Root)then
  1184. Root.Parent = nil
  1185. RootWeld = (function()
  1186. for _,v in next, Grabbed:GetDescendants() do
  1187. if(v:IsA'JointInstance' and (v.Part0 == Root or v.Part1 == Root))then
  1188. return {v,v.Part0,v.Part1,v.Parent}
  1189. end;
  1190. end
  1191. end)()
  1192.  
  1193. end
  1194. end
  1195. end
  1196. PlayAnimationFromTable({
  1197. 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),
  1198. 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),
  1199. 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),
  1200. 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),
  1201. 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),
  1202. 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),
  1203. }, .2, false)
  1204. end
  1205. if(Grabbed)then
  1206. Humanoid.AutoRotate = false
  1207. Humanoid.WalkSpeed = 0
  1208. Humanoid.JumpPower = 0
  1209. local torso = GetTorso(Grabbed)
  1210. 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
  1211.  
  1212. Torso.Velocity = RootPart.CFrame.upVector * 0
  1213. RootPart.Anchored = true
  1214.  
  1215. for i = 0, 4, 0.1 do
  1216. swait()
  1217. GrabWeld.C0 = GrabWeld.C0:lerp(CFrame.new(0, -.8, -1.4) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0),0),.2)
  1218. PlayAnimationFromTable({
  1219. 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),
  1220. 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),
  1221. 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),
  1222. 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),
  1223. 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),
  1224. 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),
  1225. }, .2, false)
  1226. end
  1227.  
  1228. GetTorso(Grabbed).Anchored = true
  1229. --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
  1230. if(GrabWeld)then GrabWeld:destroy() end
  1231. for i = 0, 2, 0.1 do
  1232. swait()
  1233. PlayAnimationFromTable({
  1234. 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),
  1235. 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),
  1236. 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),
  1237. 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),
  1238. 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),
  1239. 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),
  1240. }, .2, false)
  1241. end
  1242. local gag=Instance.new("Sound", Torso)
  1243. gag.SoundId = "rbxassetid://418658161"
  1244. gag.TimePosition = 2.5
  1245. gag.Pitch = .7
  1246. gag:Play()
  1247. CFuncs.Sound.Create("429400881", GetTorso(Grabbed), .5, 1)
  1248. local gib=CFuncs.Part.Create(Torso, "Plastic", 0, .9, BrickColor.new("Crimson"), "gib", Vector3.new(.8,.1,.1))
  1249. gib.Anchored=true
  1250. gib.CanCollide=true
  1251. local smonk2 = Instance.new("ParticleEmitter",gib)
  1252. smonk2.LightEmission = .1
  1253. smonk2.Size = NumberSequence.new(0.2)
  1254. smonk2.Texture = "http://www.roblox.com/asset/?ID=256293532"
  1255. aaa2 = NumberSequence.new({NumberSequenceKeypoint.new(0, .6),NumberSequenceKeypoint.new(1, 1)})
  1256. bbb2 = NumberSequence.new({NumberSequenceKeypoint.new(0, .5),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1257. smonk2.Transparency = bbb2
  1258. smonk2.Size = aaa2
  1259. smonk2.ZOffset = 0
  1260. smonk2.Acceleration = Vector3.new(0, 5, 0)
  1261. smonk2.LockedToPart = false
  1262. smonk2.EmissionDirection = "Back"
  1263. smonk2.Lifetime = NumberRange.new(.2, .5)
  1264. smonk2.Rate = 50
  1265. smonk2.Rotation = NumberRange.new(-50, 50)
  1266. smonk2.RotSpeed = NumberRange.new(-50, 50)
  1267. smonk2.Speed = NumberRange.new(5)
  1268. smonk2.VelocitySpread = 50
  1269. smonk2.Enabled=true
  1270. game:GetService("Debris"):AddItem(smonk2, 1)
  1271. local smonk = Instance.new("ParticleEmitter",gib)
  1272. smonk.LightEmission = .1
  1273. smonk.Size = NumberSequence.new(0.2)
  1274. smonk.Texture = "http://www.roblox.com/asset/?ID=256293532"
  1275. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .5),NumberSequenceKeypoint.new(1, 1)})
  1276. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .5),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1277. smonk.Transparency = bbb
  1278. smonk.Size = aaa
  1279. smonk.ZOffset = 0
  1280. smonk.Acceleration = Vector3.new(0, 0, 0)
  1281. smonk.LockedToPart = false
  1282. smonk.EmissionDirection = "Back"
  1283. smonk.Lifetime = NumberRange.new(.5, .5)
  1284. smonk.Rate = 50
  1285. smonk.Rotation = NumberRange.new(-50, 50)
  1286. smonk.RotSpeed = NumberRange.new(-50, 50)
  1287. smonk.Speed = NumberRange.new(0)
  1288. smonk.VelocitySpread = 0
  1289. smonk.Enabled=true
  1290. for i = 0, 3, 0.1 do
  1291. swait()
  1292. PlayAnimationFromTable({
  1293. 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),
  1294. 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),
  1295. 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),
  1296. 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),
  1297. 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),
  1298. 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),
  1299. }, .2, false)
  1300. gib.CFrame = Head.CFrame * CFrame.new(0,-.2,-.65)
  1301. end
  1302. Grabbed:FindFirstChild'Head':BreakJoints()
  1303. for i = 0, 2, 0.1 do
  1304. swait()
  1305. PlayAnimationFromTable({
  1306. 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),
  1307. 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),
  1308. 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),
  1309. 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),
  1310. 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),
  1311. 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),
  1312. }, .3, false)
  1313. gib.CFrame = Head.CFrame * CFrame.new(0,-.2,-.65)
  1314. end
  1315. gag:Destroy()
  1316. CFuncs.Sound.Create("350906125", Head, 2, 1)
  1317. gib.Velocity = Head.CFrame.lookVector * 30
  1318. gib.Anchored=false
  1319. game:GetService("Debris"):AddItem(gib, 2)
  1320. for i = 0, 2, 0.1 do
  1321. swait()
  1322. PlayAnimationFromTable({
  1323. 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),
  1324. 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),
  1325. 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),
  1326. 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),
  1327. 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),
  1328. 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),
  1329. }, .3, false)
  1330. end
  1331. torso.Anchored = false
  1332. end
  1333. Humanoid.WalkSpeed = 35
  1334. Humanoid.JumpPower = 70
  1335. Humanoid.AutoRotate = true
  1336. Attack = false
  1337. end
  1338.  
  1339.  
  1340.  
  1341. function backhop()
  1342. Attack = true
  1343. RootPart.Anchored = false
  1344. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1345. Torso.Velocity=RootPart.CFrame.upVector*130
  1346. for i = 0, .5, 0.1 do
  1347. swait()
  1348. PlayAnimationFromTable({
  1349. 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),
  1350. 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),
  1351. 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),
  1352. 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),
  1353. 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),
  1354. 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),
  1355. }, .3, false)
  1356. end
  1357. Torso.Velocity=RootPart.CFrame.lookVector*-100
  1358. for i = 0, .5, 0.1 do
  1359. swait()
  1360. PlayAnimationFromTable({
  1361. 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),
  1362. 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),
  1363. 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),
  1364. 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),
  1365. 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),
  1366. 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),
  1367. }, .4, false)
  1368. end
  1369. Attack = false
  1370. end
  1371.  
  1372. function righthop()
  1373. Attack = true
  1374. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1375. Humanoid.Jump = true
  1376. Torso.Velocity=RootPart.CFrame.upVector*130
  1377. for i = 0, .5, 0.1 do
  1378. swait()
  1379. PlayAnimationFromTable({
  1380. 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),
  1381. 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),
  1382. 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),
  1383. 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),
  1384. 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),
  1385. 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),
  1386. }, .3, false)
  1387. end
  1388. Torso.Velocity=RootPart.CFrame.rightVector*100
  1389. for i = 0, .5, 0.1 do
  1390. swait()
  1391. PlayAnimationFromTable({
  1392. 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),
  1393. 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),
  1394. 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),
  1395. 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),
  1396. 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),
  1397. 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),
  1398. }, .4, false)
  1399. end
  1400. Attack = false
  1401. end
  1402.  
  1403.  
  1404. function lefthop()
  1405. Attack = true
  1406. Humanoid.Jump = true
  1407. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1408. Torso.Velocity=RootPart.CFrame.upVector*130
  1409. for i = 0, .5, 0.1 do
  1410. swait()
  1411. PlayAnimationFromTable({
  1412. 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),
  1413. 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),
  1414. 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),
  1415. 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),
  1416. 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),
  1417. 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),
  1418. }, .3, false)
  1419. end
  1420. Torso.Velocity=RootPart.CFrame.rightVector*-100
  1421. for i = 0, .5, 0.1 do
  1422. swait()
  1423. PlayAnimationFromTable({
  1424. 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),
  1425. 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),
  1426. 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),
  1427. 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),
  1428. 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),
  1429. 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),
  1430. }, .4, false)
  1431. end
  1432. Attack = false
  1433. end
  1434.  
  1435.  
  1436. Mouse.KeyDown:connect(function(Key)
  1437. Key = Key:lower()
  1438. if Attack == false and Key == 'z' then
  1439. bulgelocated()
  1440. elseif Attack == false and Key == 'v' then
  1441. Shadowdash()
  1442.  
  1443. elseif UIS:IsKeyDown(Enum.KeyCode.Space) and Attack == false and hit2 ~= nil then
  1444. backhop()
  1445. elseif UIS:IsKeyDown(Enum.KeyCode.Space) and Attack == false and hit4 ~= nil then
  1446. righthop()
  1447. elseif UIS:IsKeyDown(Enum.KeyCode.Space) and Attack == false and hit3 ~= nil then
  1448. lefthop()
  1449. end
  1450. end)
  1451.  
  1452.  
  1453.  
  1454.  
  1455. while true do
  1456. swait()
  1457. for i, v in pairs(Character:GetChildren()) do
  1458. if v:IsA("Part") then
  1459. v.Material = "SmoothPlastic"
  1460. elseif v:IsA("Accessory") then
  1461. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1462. end
  1463. end
  1464. for i, v in pairs(Character:GetChildren()) do
  1465. if v:IsA'Model' then
  1466. for _, c in pairs(v:GetChildren()) do
  1467. if c:IsA'Part' then
  1468. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1469. end
  1470. end
  1471. end
  1472. end
  1473. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1474. Velocity = RootPart.Velocity.y
  1475. hit2, pos2 = RayCast(RootPart.Position, RootPart.CFrame.lookVector, 2.5, Character)
  1476. hit3, pos3 = RayCast(RootPart.Position, RootPart.CFrame.rightVector, 2.5, Character)
  1477. hit4, pos4 = RayCast(RootPart.Position, RootPart.CFrame.rightVector*-1, 2.5, Character)
  1478. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1479. if RootPart.Velocity.y > 1 and hit == nil then
  1480. Anim = "Jump"
  1481. if Attack == false then
  1482. Change = 1
  1483. PlayAnimationFromTable({
  1484. 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),
  1485. 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),
  1486. 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),
  1487. 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),
  1488. 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),
  1489. 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),
  1490. }, .1, false)
  1491. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1492. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1493. end
  1494. elseif RootPart.Velocity.y < -1 and hit == nil then
  1495. Anim = "Fall"
  1496. if Attack == false then
  1497. PlayAnimationFromTable({
  1498. 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),
  1499. 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),
  1500. 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),
  1501. 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),
  1502. 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),
  1503. 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),
  1504. }, .2, false)
  1505. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1506. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1507. end
  1508. elseif TorsoVelocity < 1 and hit ~= nil then
  1509. Anim = "Idle"
  1510. if Attack == false then
  1511. Change = 1
  1512. PlayAnimationFromTable({
  1513. 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),
  1514. 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),
  1515. 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),
  1516. 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),
  1517. 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),
  1518. 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),
  1519. }, .2, false)
  1520. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1521. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1522. end
  1523. elseif TorsoVelocity > 2 and hit ~= nil then
  1524. Anim = "Walk"
  1525. if Attack == false then
  1526. PlayAnimationFromTable({
  1527. 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),
  1528. 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),
  1529. 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),
  1530. 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),
  1531. 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)),
  1532. 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)
  1533. rCHandle2Weld.C0 = clerp(rCHandle2Weld.C0, CFrame.new(0, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1534. rCHandle1Weld.C0 = clerp(rCHandle1Weld.C0, CFrame.new(.1, -1.5, .5) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 1)
  1535. end
  1536. end
  1537. if #Effects > 0 then
  1538. for e = 1, #Effects do
  1539. if Effects[e] ~= nil then
  1540. local Thing = Effects[e]
  1541. if Thing ~= nil then
  1542. local Part = Thing[1]
  1543. local Mode = Thing[2]
  1544. local Delay = Thing[3]
  1545. local IncX = Thing[4]
  1546. local IncY = Thing[5]
  1547. if Thing[1].Transparency <= 1 then
  1548. if Thing[2] == "Block1" then
  1549. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1550. Mesh = Thing[7]
  1551. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1552. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1553. elseif Thing[2] == "Ice" then
  1554. if Thing[6] <= Thing[5] then
  1555. Thing[6] = Thing[6] + .05
  1556. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1557. else
  1558. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1559. end
  1560. elseif Thing[2] == "Shatter" then
  1561. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1562. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1563. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1564. Thing[6] = Thing[6] + Thing[5]
  1565. elseif Thing[2] == "Block2" then
  1566. Thing[1].CFrame = Thing[1].CFrame
  1567. Mesh = Thing[7]
  1568. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1569. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1570. elseif Thing[2] == "Block3" then
  1571. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1572. Mesh = Thing[7]
  1573. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1574. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1575. elseif Thing[2] == "Block4" then
  1576. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1577. Mesh = Thing[7]
  1578. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1579. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1580. elseif Thing[2] == "Block2Fire" then
  1581. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1582. Mesh = Thing[7]
  1583. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1584. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1585. if Thing[1].Transparency >= .3 then
  1586. Thing[1].BrickColor = BrickColor.new("Bright red")
  1587. else
  1588. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1589. end
  1590. elseif Thing[2] == "Cylinder" then
  1591. Mesh = Thing[7]
  1592. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1593. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1594. elseif Thing[2] == "Blood" then
  1595. Mesh = Thing[7]
  1596. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1597. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1598. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1599. elseif Thing[2] == "Elec" then
  1600. Mesh = Thing[10]
  1601. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1602. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1603. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  1604. Thing[1].Rotation = Vector3.new(0, 0, 0)
  1605. elseif Thing[2] == "Disappear" then
  1606. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1607. end
  1608. else
  1609. Part.Parent = nil
  1610. table.remove(Effects, e)
  1611. end
  1612. end
  1613. end
  1614. end
  1615. end
  1616. Humanoid.Health = math.huge
  1617. if Attack == false and hit == nil and hit2 ~= nil then
  1618. Torso.Velocity=RootPart.CFrame.upVector*55
  1619. --[[RootPart.Anchored = true
  1620. Humanoid.AutoRotate = false
  1621. local nPos = RootPart.CFrame
  1622. if(UIS:IsKeyDown(Enum.KeyCode.W))then
  1623. nPos = nPos * CFrame.new(0,.5,0)
  1624. end
  1625. if(UIS:IsKeyDown(Enum.KeyCode.A))then
  1626. nPos = nPos * CFrame.new(-.5,0,0)
  1627. end
  1628. if(UIS:IsKeyDown(Enum.KeyCode.S))then
  1629. nPos = nPos * CFrame.new(0,-.5,0)
  1630. end
  1631. if(UIS:IsKeyDown(Enum.KeyCode.D))then
  1632. nPos = nPos * CFrame.new(.5,0,0)
  1633. end
  1634. if(nPos == RootPart.CFrame)then
  1635. nPos = nPos * CFrame.new(0,-.05,0)
  1636. end
  1637. RootPart.CFrame = nPos
  1638. Humanoid.Jump = false]]
  1639. elseif Attack == false and hit == nil and hit3 ~= nil or hit4 ~= nil then
  1640. Torso.Velocity=RootPart.CFrame.lookVector*35
  1641. Humanoid.Jump = false
  1642. elseif Attack == false then
  1643. Humanoid.AutoRotate = true
  1644. RootPart.Anchored = false
  1645. end
  1646. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement