XSleepyDemonX_17

the creator

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