Advertisement
Bendy928443534

Untitled

Aug 2nd, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 122.00 KB | None | 0 0
  1. ------>>Bendy (WIP)<<----------
  2. ----
  3. ----------------------------------------------------------------
  4. print([[
  5. --made by Makhail07
  6. --FE code by Mokiros
  7. --Edited by XKxngSupremeX--
  8. --Discord: OofCopSupreme#1765
  9. --The Sing Move Is By 1nd1k!
  10. --------------------------------
  11. hello good sir
  12. Don't leak pls
  13. Enjoy ;)
  14. --------------------------------
  15. ]])
  16.  
  17. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  18. local Player,game,owner = owner,game
  19. local RealPlayer = Player
  20. do
  21. local rp = RealPlayer
  22. script.Parent = rp.Character
  23.  
  24. --RemoteEvent for communicating
  25. local Event = Instance.new("RemoteEvent")
  26. Event.Name = "UserInput_Event"
  27.  
  28. --Fake event to make stuff like Mouse.KeyDown work
  29. local function fakeEvent()
  30. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  31. t.connect = t.Connect
  32. return t
  33. end
  34.  
  35. --Creating fake input objects with fake variables
  36. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  37. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  38. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  39. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  40. end}
  41. --Merged 2 functions into one by checking amount of arguments
  42. CAS.UnbindAction = CAS.BindAction
  43.  
  44. --This function will trigger the events that have been :Connect()'ed
  45. local function te(self,ev,...)
  46. local t = m[ev]
  47. if t and t._fakeEvent then
  48. for _,f in pairs(t.Functions) do
  49. f(...)
  50. end
  51. end
  52. end
  53. m.TrigEvent = te
  54. UIS.TrigEvent = te
  55.  
  56. Event.OnServerEvent:Connect(function(plr,io)
  57. if plr~=rp then return end
  58. m.Target = io.Target
  59. m.Hit = io.Hit
  60. if not io.isMouse then
  61. local b = io.UserInputState == Enum.UserInputState.Begin
  62. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  63. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[
  77. local Player = game:GetService("Players").LocalPlayer
  78. local Event = script:WaitForChild("UserInput_Event")
  79.  
  80. local Mouse = Player:GetMouse()
  81. local UIS = game:GetService("UserInputService")
  82. local input = function(io,a)
  83. if a then return end
  84. --Since InputObject is a client-side instance, we create and pass table instead
  85. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  86. end
  87. UIS.InputBegan:Connect(input)
  88. UIS.InputEnded:Connect(input)
  89.  
  90. local h,t
  91. --Give the server mouse data 30 times every second, but only if the values changed
  92. --If player is not moving their mouse, client won't fire events
  93. while wait(1/30) do
  94. if h~=Mouse.Hit or t~=Mouse.Target then
  95. h,t=Mouse.Hit,Mouse.Target
  96. Event:FireServer({isMouse=true,Target=t,Hit=h})
  97. end
  98. end]==],Player.Character)
  99.  
  100. ----Sandboxed game object that allows the usage of client-side methods and services
  101. --Real game object
  102. local _rg = game
  103.  
  104. --Metatable for fake service
  105. local fsmt = {
  106. __index = function(self,k)
  107. local s = rawget(self,"_RealService")
  108. if s then return s[k] end
  109. end,
  110. __newindex = function(self,k,v)
  111. local s = rawget(self,"_RealService")
  112. if s then s[k]=v end
  113. end,
  114. __call = function(self,...)
  115. local s = rawget(self,"_RealService")
  116. if s then return s(...) end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  121. return setmetatable(t,fsmt)
  122. end
  123.  
  124. --Fake game object
  125. local g = {
  126. GetService = function(self,s)
  127. return self[s]
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. }
  135. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  136. g.service = g.GetService
  137.  
  138. g.RunService = FakeService({
  139. RenderStepped = _rg:GetService("RunService").Heartbeat,
  140. BindToRenderStep = function(self,name,_,fun)
  141. self._btrs[name] = self.Heartbeat:Connect(fun)
  142. end,
  143. UnbindFromRenderStep = function(self,name)
  144. self._btrs[name]:Disconnect()
  145. end,
  146. },"RunService")
  147.  
  148. setmetatable(g,{
  149. __index=function(self,s)
  150. return _rg:GetService(s) or typeof(_rg[s])=="function"
  151. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  152. end,
  153. __newindex = fsmt.__newindex,
  154. __call = fsmt.__call
  155. })
  156. --Changing owner to fake player object to support owner:GetMouse()
  157. game,owner = g,g.Players.LocalPlayer
  158. end
  159.  
  160. Player = owner
  161. PlayerGui = Player.PlayerGui
  162. Cam = workspace.CurrentCamera
  163. Backpack = Player.Backpack
  164. Character = Player.Character
  165. Humanoid = Character.Humanoid
  166. Mouse = Player:GetMouse()
  167. RootPart = Character["HumanoidRootPart"]
  168. Torso = Character["Torso"]
  169. Head = Character["Head"]
  170. RightArm = Character["Right Arm"]
  171. LeftArm = Character["Left Arm"]
  172. RightLeg = Character["Right Leg"]
  173. LeftLeg = Character["Left Leg"]
  174. RootJoint = RootPart["RootJoint"]
  175. Neck = Torso["Neck"]
  176. RightShoulder = Torso["Right Shoulder"]
  177. LeftShoulder = Torso["Left Shoulder"]
  178. RightHip = Torso["Right Hip"]
  179. LeftHip = Torso["Left Hip"]
  180.  
  181. KEYHOLD = false
  182. IT = Instance.new
  183. CF = CFrame.new
  184. VT = Vector3.new
  185. RAD = math.rad
  186. C3 = Color3.new
  187. UD2 = UDim2.new
  188. BRICKC = BrickColor.new
  189. ANGLES = CFrame.Angles
  190. EULER = CFrame.fromEulerAnglesXYZ
  191. COS = math.cos
  192. ACOS = math.acos
  193. SIN = math.sin
  194. ASIN = math.asin
  195. ABS = math.abs
  196. MRANDOM = math.random
  197. FLOOR = math.floor
  198.  
  199. Character = Player.Character
  200. Humanoid = Character.Humanoid
  201. ---------
  202. plr = game.Players.LocalPlayer
  203. chara = plr.Character
  204. mouse = plr:GetMouse()
  205. Create = Instance.new
  206. Huge = math.huge
  207.  
  208.  
  209. Player = game:GetService("Players").LocalPlayer
  210. PlayerGui = Player.PlayerGui
  211. Cam = workspace.CurrentCamera
  212. Backpack = Player.Backpack
  213. Character = Player.Character
  214. char = Player.Character
  215. Humanoid = Character.Humanoid
  216. Mouse = Player:GetMouse()
  217. RootPart = Character["HumanoidRootPart"]
  218. Torso = Character["Torso"]
  219. Head = Character["Head"]
  220. RightArm = Character["Right Arm"]
  221. LeftArm = Character["Left Arm"]
  222. RightLeg = Character["Right Leg"]
  223. LeftLeg = Character["Left Leg"]
  224. RootJoint = RootPart["RootJoint"]
  225. Neck = Torso["Neck"]
  226. RightShoulder = Torso["Right Shoulder"]
  227. LeftShoulder = Torso["Left Shoulder"]
  228. RightHip = Torso["Right Hip"]
  229. LeftHip = Torso["Left Hip"]
  230.  
  231.  
  232.  
  233.  
  234. function weld(a, b, acf)
  235. local w = Instance.new("Weld", a)
  236. w.Part0 = a
  237. w.Part1 = b
  238. w.C0 = acf
  239. end
  240. --------------------------------
  241. char.Head.face.Texture = "rbxassetid://2220728729"
  242. --------------------------------
  243.  
  244. -------------------------------------------------------
  245.  
  246. local FavIDs = {
  247. 340106355, --Nefl Crystals
  248. 927529620, --Dimension
  249. 876981900, --Fantasy
  250. 398987889, --Ordinary Days
  251. 1117396305, --Oh wait, it's you.
  252. 885996042, --Action Winter Journey
  253. 919231299, --Sprawling Idiot Effigy
  254. 743466274, --Good Day Sunshine
  255. 727411183, --Knife Fight
  256. 1402748531, --The Earth Is Counting On You!
  257. 595230126 --Robot Language
  258. }
  259.  
  260.  
  261.  
  262. --The reality of my life isn't real but a Universe -makhail07
  263. wait(0.2)
  264. local plr = game:service'Players'.LocalPlayer
  265. print('Local User is '..plr.Name)
  266. print('SCRIPTNAME Loaded')
  267. print('SCRIPT DESCRIPTION')
  268. local char = plr.Character
  269. local hum = char.Humanoid
  270. local hed = char.Head
  271. local root = char.HumanoidRootPart
  272. local rootj = root.RootJoint
  273. local tors = char.Torso
  274. local ra = char["Right Arm"]
  275. local la = char["Left Arm"]
  276. local rl = char["Right Leg"]
  277. local ll = char["Left Leg"]
  278. local neck = tors["Neck"]
  279. local mouse = plr:GetMouse()
  280. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  281. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  282. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  283. local maincolor = BrickColor.new("Really black")
  284.  
  285. -------------------------------------------------------
  286. --Start Good Stuff--
  287. -------------------------------------------------------
  288. cam = game.Workspace.CurrentCamera
  289. CF = CFrame.new
  290. angles = CFrame.Angles
  291. attack = false
  292. Euler = CFrame.fromEulerAnglesXYZ
  293. Rad = math.rad
  294. IT = Instance.new
  295. BrickC = BrickColor.new
  296. Cos = math.cos
  297. Acos = math.acos
  298. Sin = math.sin
  299. Asin = math.asin
  300. Abs = math.abs
  301. Mrandom = math.random
  302. Floor = math.floor
  303. -------------------------------------------------------
  304. --End Good Stuff--
  305. -------------------------------------------------------
  306. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  307. RSH, LSH = nil, nil
  308. RW = Instance.new("Weld")
  309. LW = Instance.new("Weld")
  310. RH = tors["Right Hip"]
  311. LH = tors["Left Hip"]
  312. RSH = tors["Right Shoulder"]
  313. LSH = tors["Left Shoulder"]
  314. RSH.Parent = nil
  315. LSH.Parent = nil
  316. RW.Name = "RW"
  317. RW.Part0 = tors
  318. RW.C0 = CF(1.5, 0.5, 0)
  319. RW.C1 = CF(0, 0.5, 0)
  320. RW.Part1 = ra
  321. RW.Parent = tors
  322. LW.Name = "LW"
  323. LW.Part0 = tors
  324. LW.C0 = CF(-1.5, 0.5, 0)
  325. LW.C1 = CF(0, 0.5, 0)
  326. LW.Part1 = la
  327. LW.Parent = tors
  328. Effects = {}
  329. -------------------------------------------------------
  330. --Start HeartBeat--
  331. -------------------------------------------------------
  332. ArtificialHB = Instance.new("BindableEvent", script)
  333. ArtificialHB.Name = "Heartbeat"
  334. script:WaitForChild("Heartbeat")
  335.  
  336. frame = 1 / 60
  337. tf = 0
  338. allowframeloss = false
  339. tossremainder = false
  340.  
  341.  
  342. lastframe = tick()
  343. script.Heartbeat:Fire()
  344.  
  345.  
  346. game:GetService("RunService").Heartbeat:connect(function(s, p)
  347. tf = tf + s
  348. if tf >= frame then
  349. if allowframeloss then
  350. script.Heartbeat:Fire()
  351. lastframe = tick()
  352. else
  353. for i = 1, math.floor(tf / frame) do
  354. script.Heartbeat:Fire()
  355. end
  356. lastframe = tick()
  357. end
  358. if tossremainder then
  359. tf = 0
  360. else
  361. tf = tf - frame * math.floor(tf / frame)
  362. end
  363. end
  364. end)
  365. -------------------------------------------------------
  366. --End HeartBeat--
  367. -------------------------------------------------------
  368. local joyemoji = Instance.new('ParticleEmitter', tors)
  369. joyemoji.VelocitySpread = 2000
  370. joyemoji.Lifetime = NumberRange.new(1)
  371. joyemoji.Speed = NumberRange.new(40)
  372. joy= {}
  373. for i=0, 19 do
  374. joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  375. end
  376. joyemoji.Size = NumberSequence.new(joy)
  377. joyemoji.Rate = 0
  378. joyemoji.LockedToPart = false
  379. joyemoji.LightEmission = 0
  380. joyemoji.Texture = "rbxassetid://73623723"
  381. joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  382.  
  383. -------------------------------------------------------
  384. --Start Important Functions--
  385. -------------------------------------------------------
  386.  
  387.  
  388. function swait(num)
  389. if num == 0 or num == nil then
  390. game:service("RunService").Stepped:wait(0)
  391. else
  392. for i = 0, num do
  393. game:service("RunService").Stepped:wait(0)
  394. end
  395. end
  396. end
  397. function thread(f)
  398. coroutine.resume(coroutine.create(f))
  399. end
  400. function clerp(a, b, t)
  401. local qa = {
  402. QuaternionFromCFrame(a)
  403. }
  404. local qb = {
  405. QuaternionFromCFrame(b)
  406. }
  407. local ax, ay, az = a.x, a.y, a.z
  408. local bx, by, bz = b.x, b.y, b.z
  409. local _t = 1 - t
  410. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  411. end
  412. function QuaternionFromCFrame(cf)
  413. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  414. local trace = m00 + m11 + m22
  415. if trace > 0 then
  416. local s = math.sqrt(1 + trace)
  417. local recip = 0.5 / s
  418. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  419. else
  420. local i = 0
  421. if m00 < m11 then
  422. i = 1
  423. end
  424. if m22 > (i == 0 and m00 or m11) then
  425. i = 2
  426. end
  427. if i == 0 then
  428. local s = math.sqrt(m00 - m11 - m22 + 1)
  429. local recip = 0.5 / s
  430. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  431. elseif i == 1 then
  432. local s = math.sqrt(m11 - m22 - m00 + 1)
  433. local recip = 0.5 / s
  434. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  435. elseif i == 2 then
  436. local s = math.sqrt(m22 - m00 - m11 + 1)
  437. local recip = 0.5 / s
  438. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  439. end
  440. end
  441. end
  442. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  443. local xs, ys, zs = x + x, y + y, z + z
  444. local wx, wy, wz = w * xs, w * ys, w * zs
  445. local xx = x * xs
  446. local xy = x * ys
  447. local xz = x * zs
  448. local yy = y * ys
  449. local yz = y * zs
  450. local zz = z * zs
  451. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  452. end
  453. function QuaternionSlerp(a, b, t)
  454. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  455. local startInterp, finishInterp
  456. if cosTheta >= 1.0E-4 then
  457. if 1 - cosTheta > 1.0E-4 then
  458. local theta = math.acos(cosTheta)
  459. local invSinTheta = 1 / Sin(theta)
  460. startInterp = Sin((1 - t) * theta) * invSinTheta
  461. finishInterp = Sin(t * theta) * invSinTheta
  462. else
  463. startInterp = 1 - t
  464. finishInterp = t
  465. end
  466. elseif 1 + cosTheta > 1.0E-4 then
  467. local theta = math.acos(-cosTheta)
  468. local invSinTheta = 1 / Sin(theta)
  469. startInterp = Sin((t - 1) * theta) * invSinTheta
  470. finishInterp = Sin(t * theta) * invSinTheta
  471. else
  472. startInterp = t - 1
  473. finishInterp = t
  474. end
  475. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  476. end
  477. function rayCast(Position, Direction, Range, Ignore)
  478. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  479. end
  480. local RbxUtility = LoadLibrary("RbxUtility")
  481. local Create = RbxUtility.Create
  482.  
  483. function getRegion(point,range,ignore)
  484. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
  485. end
  486.  
  487. function GetTorso(char)
  488. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  489. end
  490.  
  491. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  492. -------------------------------------------------------
  493. --Start Damage Function--
  494. -------------------------------------------------------
  495. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  496. if hit.Parent == nil then
  497. return
  498. end
  499. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  500. for _, v in pairs(hit.Parent:children()) do
  501. if v:IsA("Humanoid") then
  502. h = v
  503. end
  504. end
  505. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  506.  
  507. hit.Parent:FindFirstChild("Head"):BreakJoints()
  508. end
  509.  
  510. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  511. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  512. if hit.Parent.DebounceHit.Value == true then
  513. return
  514. end
  515. end
  516. if insta == true then
  517. hit.Parent:FindFirstChild("Head"):BreakJoints()
  518. end
  519. local c = Create("ObjectValue"){
  520. Name = "creator",
  521. Value = game:service("Players").LocalPlayer,
  522. Parent = h,
  523. }
  524. game:GetService("Debris"):AddItem(c, .5)
  525. if HitSound ~= nil and HitPitch ~= nil then
  526. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  527. end
  528. local Damage = math.random(minim, maxim)
  529. local blocked = false
  530. local block = hit.Parent:findFirstChild("Block")
  531. if block ~= nil then
  532. if block.className == "IntValue" then
  533. if block.Value > 0 then
  534. blocked = true
  535. block.Value = block.Value - 1
  536. print(block.Value)
  537. end
  538. end
  539. end
  540. if blocked == false then
  541. h.Health = h.Health - Damage
  542. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  543. else
  544. h.Health = h.Health - (Damage / 2)
  545. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  546. end
  547. if Type == "Knockdown" then
  548. local hum = hit.Parent.Humanoid
  549. hum.PlatformStand = true
  550. coroutine.resume(coroutine.create(function(HHumanoid)
  551. swait(1)
  552. HHumanoid.PlatformStand = false
  553. end), hum)
  554. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  555. local bodvol = Create("BodyVelocity"){
  556. velocity = angle * knockback,
  557. P = 5000,
  558. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  559. Parent = hit,
  560. }
  561. local rl = Create("BodyAngularVelocity"){
  562. P = 3000,
  563. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  564. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  565. Parent = hit,
  566. }
  567. game:GetService("Debris"):AddItem(bodvol, .5)
  568. game:GetService("Debris"):AddItem(rl, .5)
  569. elseif Type == "Normal" then
  570. local vp = Create("BodyVelocity"){
  571. P = 500,
  572. maxForce = Vector3.new(math.huge, 0, math.huge),
  573. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  574. }
  575. if knockback > 0 then
  576. vp.Parent = hit.Parent.Torso
  577. end
  578. game:GetService("Debris"):AddItem(vp, .5)
  579. elseif Type == "Up" then
  580. local bodyVelocity = Create("BodyVelocity"){
  581. velocity = Vector3.new(0, 20, 0),
  582. P = 5000,
  583. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  584. Parent = hit,
  585. }
  586. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  587. elseif Type == "DarkUp" then
  588. coroutine.resume(coroutine.create(function()
  589. for i = 0, 1, 0.1 do
  590. swait()
  591. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  592. end
  593. end))
  594. local bodyVelocity = Create("BodyVelocity"){
  595. velocity = Vector3.new(0, 20, 0),
  596. P = 5000,
  597. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  598. Parent = hit,
  599. }
  600. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  601. elseif Type == "Snare" then
  602. local bp = Create("BodyPosition"){
  603. P = 2000,
  604. D = 100,
  605. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  606. position = hit.Parent.Torso.Position,
  607. Parent = hit.Parent.Torso,
  608. }
  609. game:GetService("Debris"):AddItem(bp, 1)
  610. elseif Type == "Freeze" then
  611. local BodPos = Create("BodyPosition"){
  612. P = 50000,
  613. D = 1000,
  614. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  615. position = hit.Parent.Torso.Position,
  616. Parent = hit.Parent.Torso,
  617. }
  618. local BodGy = Create("BodyGyro") {
  619. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  620. P = 20e+003,
  621. Parent = hit.Parent.Torso,
  622. cframe = hit.Parent.Torso.CFrame,
  623. }
  624. hit.Parent.Torso.Anchored = true
  625. coroutine.resume(coroutine.create(function(Part)
  626. swait(1.5)
  627. Part.Anchored = false
  628. end), hit.Parent.Torso)
  629. game:GetService("Debris"):AddItem(BodPos, 3)
  630. game:GetService("Debris"):AddItem(BodGy, 3)
  631. end
  632. local debounce = Create("BoolValue"){
  633. Name = "DebounceHit",
  634. Parent = hit.Parent,
  635. Value = true,
  636. }
  637. game:GetService("Debris"):AddItem(debounce, Delay)
  638. c = Create("ObjectValue"){
  639. Name = "creator",
  640. Value = Player,
  641. Parent = h,
  642. }
  643. game:GetService("Debris"):AddItem(c, .5)
  644. end
  645. end
  646. -------------------------------------------------------
  647. --End Damage Function--
  648. -------------------------------------------------------
  649.  
  650. -------------------------------------------------------
  651. --Start Damage Function Customization--
  652. -------------------------------------------------------
  653. function ShowDamage(Pos, Text, Time, Color)
  654. local Rate = (1 / 30)
  655. local Pos = (Pos or Vector3.new(0, 0, 0))
  656. local Text = (Text or "")
  657. local Time = (Time or 2)
  658. local Color = (Color or Color3.new(255, 255, 1))
  659. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  660. EffectPart.Anchored = true
  661. local BillboardGui = Create("BillboardGui"){
  662. Size = UDim2.new(3, 0, 3, 0),
  663. Adornee = EffectPart,
  664. Parent = EffectPart,
  665. }
  666. local TextLabel = Create("TextLabel"){
  667. BackgroundTransparency = 1,
  668. Size = UDim2.new(1, 0, 1, 0),
  669. Text = Text,
  670. Font = "Bodoni",
  671. TextColor3 = Color,
  672. TextScaled = true,
  673. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  674. Parent = BillboardGui,
  675. }
  676. game.Debris:AddItem(EffectPart, (Time))
  677. EffectPart.Parent = game:GetService("Workspace")
  678. delay(0, function()
  679. local Frames = (Time / Rate)
  680. for Frame = 1, Frames do
  681. wait(Rate)
  682. local Percent = (Frame / Frames)
  683. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  684. TextLabel.TextTransparency = Percent
  685. end
  686. if EffectPart and EffectPart.Parent then
  687. EffectPart:Destroy()
  688. end
  689. end)
  690. end
  691. -------------------------------------------------------
  692. --End Damage Function Customization--
  693. -------------------------------------------------------
  694.  
  695. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  696. for _, c in pairs(workspace:children()) do
  697. local hum = c:findFirstChild("Humanoid")
  698. if hum ~= nil then
  699. local head = c:findFirstChild("Head")
  700. if head ~= nil then
  701. local targ = head.Position - Part.Position
  702. local mag = targ.magnitude
  703. if magni >= mag and c.Name ~= plr.Name then
  704. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  705. end
  706. end
  707. end
  708. end
  709. end
  710.  
  711.  
  712. CFuncs = {
  713. Part = {
  714. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  715. local Part = Create("Part")({
  716. Parent = Parent,
  717. Reflectance = Reflectance,
  718. Transparency = Transparency,
  719. CanCollide = false,
  720. Locked = true,
  721. BrickColor = BrickColor.new(tostring(BColor)),
  722. Name = Name,
  723. Size = Size,
  724. Material = Material
  725. })
  726. RemoveOutlines(Part)
  727. return Part
  728. end
  729. },
  730. Mesh = {
  731. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  732. local Msh = Create(Mesh)({
  733. Parent = Part,
  734. Offset = OffSet,
  735. Scale = Scale
  736. })
  737. if Mesh == "SpecialMesh" then
  738. Msh.MeshType = MeshType
  739. Msh.MeshId = MeshId
  740. end
  741. return Msh
  742. end
  743. },
  744. Mesh = {
  745. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  746. local Msh = Create(Mesh)({
  747. Parent = Part,
  748. Offset = OffSet,
  749. Scale = Scale
  750. })
  751. if Mesh == "SpecialMesh" then
  752. Msh.MeshType = MeshType
  753. Msh.MeshId = MeshId
  754. end
  755. return Msh
  756. end
  757. },
  758. Weld = {
  759. Create = function(Parent, Part0, Part1, C0, C1)
  760. local Weld = Create("Weld")({
  761. Parent = Parent,
  762. Part0 = Part0,
  763. Part1 = Part1,
  764. C0 = C0,
  765. C1 = C1
  766. })
  767. return Weld
  768. end
  769. },
  770. Sound = {
  771. Create = function(id, par, vol, pit)
  772. coroutine.resume(coroutine.create(function()
  773. local S = Create("Sound")({
  774. Volume = vol,
  775. Pitch = pit or 1,
  776. SoundId = id,
  777. Parent = par or workspace
  778. })
  779. wait()
  780. S:play()
  781. game:GetService("Debris"):AddItem(S, 6)
  782. end))
  783. end
  784. },
  785. ParticleEmitter = {
  786. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  787. local fp = Create("ParticleEmitter")({
  788. Parent = Parent,
  789. Color = ColorSequence.new(Color1, Color2),
  790. LightEmission = LightEmission,
  791. Size = Size,
  792. Texture = Texture,
  793. Transparency = Transparency,
  794. ZOffset = ZOffset,
  795. Acceleration = Accel,
  796. Drag = Drag,
  797. LockedToPart = LockedToPart,
  798. VelocityInheritance = VelocityInheritance,
  799. EmissionDirection = EmissionDirection,
  800. Enabled = Enabled,
  801. Lifetime = LifeTime,
  802. Rate = Rate,
  803. Rotation = Rotation,
  804. RotSpeed = RotSpeed,
  805. Speed = Speed,
  806. VelocitySpread = VelocitySpread
  807. })
  808. return fp
  809. end
  810. }
  811. }
  812. function RemoveOutlines(part)
  813. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  814. end
  815. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  816. local Part = Create("Part")({
  817. formFactor = FormFactor,
  818. Parent = Parent,
  819. Reflectance = Reflectance,
  820. Transparency = Transparency,
  821. CanCollide = false,
  822. Locked = true,
  823. BrickColor = BrickColor.new(tostring(BColor)),
  824. Name = Name,
  825. Size = Size,
  826. Material = Material
  827. })
  828. RemoveOutlines(Part)
  829. return Part
  830. end
  831. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  832. local Msh = Create(Mesh)({
  833. Parent = Part,
  834. Offset = OffSet,
  835. Scale = Scale
  836. })
  837. if Mesh == "SpecialMesh" then
  838. Msh.MeshType = MeshType
  839. Msh.MeshId = MeshId
  840. end
  841. return Msh
  842. end
  843. function CreateWeld(Parent, Part0, Part1, C0, C1)
  844. local Weld = Create("Weld")({
  845. Parent = Parent,
  846. Part0 = Part0,
  847. Part1 = Part1,
  848. C0 = C0,
  849. C1 = C1
  850. })
  851. return Weld
  852. end
  853.  
  854.  
  855. -------------------------------------------------------
  856. --Start Effect Function--
  857. -------------------------------------------------------
  858. EffectModel = Instance.new("Model", char)
  859. Effects = {
  860. Block = {
  861. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  862. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  863. prt.Anchored = true
  864. prt.CFrame = cframe
  865. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  866. game:GetService("Debris"):AddItem(prt, 10)
  867. if Type == 1 or Type == nil then
  868. table.insert(Effects, {
  869. prt,
  870. "Block1",
  871. delay,
  872. x3,
  873. y3,
  874. z3,
  875. msh
  876. })
  877. elseif Type == 2 then
  878. table.insert(Effects, {
  879. prt,
  880. "Block2",
  881. delay,
  882. x3,
  883. y3,
  884. z3,
  885. msh
  886. })
  887. else
  888. table.insert(Effects, {
  889. prt,
  890. "Block3",
  891. delay,
  892. x3,
  893. y3,
  894. z3,
  895. msh
  896. })
  897. end
  898. end
  899. },
  900. Sphere = {
  901. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  902. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  903. prt.Anchored = true
  904. prt.CFrame = cframe
  905. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  906. game:GetService("Debris"):AddItem(prt, 10)
  907. table.insert(Effects, {
  908. prt,
  909. "Cylinder",
  910. delay,
  911. x3,
  912. y3,
  913. z3,
  914. msh
  915. })
  916. end
  917. },
  918. Cylinder = {
  919. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  920. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  921. prt.Anchored = true
  922. prt.CFrame = cframe
  923. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  924. game:GetService("Debris"):AddItem(prt, 10)
  925. table.insert(Effects, {
  926. prt,
  927. "Cylinder",
  928. delay,
  929. x3,
  930. y3,
  931. z3,
  932. msh
  933. })
  934. end
  935. },
  936. Wave = {
  937. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  938. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  939. prt.Anchored = true
  940. prt.CFrame = cframe
  941. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  942. game:GetService("Debris"):AddItem(prt, 10)
  943. table.insert(Effects, {
  944. prt,
  945. "Cylinder",
  946. delay,
  947. x3 / 60,
  948. y3 / 60,
  949. z3 / 60,
  950. msh
  951. })
  952. end
  953. },
  954. Ring = {
  955. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  956. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  957. prt.Anchored = true
  958. prt.CFrame = cframe
  959. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  960. game:GetService("Debris"):AddItem(prt, 10)
  961. table.insert(Effects, {
  962. prt,
  963. "Cylinder",
  964. delay,
  965. x3,
  966. y3,
  967. z3,
  968. msh
  969. })
  970. end
  971. },
  972. Break = {
  973. Create = function(brickcolor, cframe, x1, y1, z1)
  974. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  975. prt.Anchored = true
  976. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  977. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  978. local num = math.random(10, 50) / 1000
  979. game:GetService("Debris"):AddItem(prt, 10)
  980. table.insert(Effects, {
  981. prt,
  982. "Shatter",
  983. num,
  984. prt.CFrame,
  985. math.random() - math.random(),
  986. 0,
  987. math.random(50, 100) / 100
  988. })
  989. end
  990. },
  991. Spiral = {
  992. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  993. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  994. prt.Anchored = true
  995. prt.CFrame = cframe
  996. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  997. game:GetService("Debris"):AddItem(prt, 10)
  998. table.insert(Effects, {
  999. prt,
  1000. "Cylinder",
  1001. delay,
  1002. x3,
  1003. y3,
  1004. z3,
  1005. msh
  1006. })
  1007. end
  1008. },
  1009. Push = {
  1010. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1011. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1012. prt.Anchored = true
  1013. prt.CFrame = cframe
  1014. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1015. game:GetService("Debris"):AddItem(prt, 10)
  1016. table.insert(Effects, {
  1017. prt,
  1018. "Cylinder",
  1019. delay,
  1020. x3,
  1021. y3,
  1022. z3,
  1023. msh
  1024. })
  1025. end
  1026. }
  1027. }
  1028. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1029. local fp = IT("Part")
  1030. fp.formFactor = formfactor
  1031. fp.Parent = parent
  1032. fp.Reflectance = reflectance
  1033. fp.Transparency = transparency
  1034. fp.CanCollide = false
  1035. fp.Locked = true
  1036. fp.BrickColor = brickcolor
  1037. fp.Name = name
  1038. fp.Size = size
  1039. fp.Position = tors.Position
  1040. RemoveOutlines(fp)
  1041. fp.Material = "SmoothPlastic"
  1042. fp:BreakJoints()
  1043. return fp
  1044. end
  1045.  
  1046. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1047. local mesh = IT(Mesh)
  1048. mesh.Parent = part
  1049. if Mesh == "SpecialMesh" then
  1050. mesh.MeshType = meshtype
  1051. if meshid ~= "nil" then
  1052. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1053. end
  1054. end
  1055. mesh.Offset = offset
  1056. mesh.Scale = scale
  1057. return mesh
  1058. end
  1059.  
  1060. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1061. local type = type
  1062. local rng = Instance.new("Part", char)
  1063. rng.Anchored = true
  1064. rng.BrickColor = color
  1065. rng.CanCollide = false
  1066. rng.FormFactor = 3
  1067. rng.Name = "Ring"
  1068. rng.Material = "Neon"
  1069. rng.Size = Vector3.new(1, 1, 1)
  1070. rng.Transparency = 0
  1071. rng.TopSurface = 0
  1072. rng.BottomSurface = 0
  1073. rng.CFrame = pos
  1074. local rngm = Instance.new("SpecialMesh", rng)
  1075. rngm.MeshType = MType
  1076. rngm.Scale = scale
  1077. local scaler2 = 1
  1078. if type == "Add" then
  1079. scaler2 = 1 * value
  1080. elseif type == "Divide" then
  1081. scaler2 = 1 / value
  1082. end
  1083. coroutine.resume(coroutine.create(function()
  1084. for i = 0, 10 / bonuspeed, 0.1 do
  1085. swait()
  1086. if type == "Add" then
  1087. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1088. elseif type == "Divide" then
  1089. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1090. end
  1091. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1092. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1093. end
  1094. rng:Destroy()
  1095. end))
  1096. end
  1097.  
  1098. function Eviscerate(dude)
  1099. if dude.Name ~= char then
  1100. local bgf = IT("BodyGyro", dude.Head)
  1101. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1102. local val = IT("BoolValue", dude)
  1103. val.Name = "IsHit"
  1104. local ds = coroutine.wrap(function()
  1105. dude:WaitForChild("Head"):BreakJoints()
  1106. wait(0.5)
  1107. target = nil
  1108. coroutine.resume(coroutine.create(function()
  1109. for i, v in pairs(dude:GetChildren()) do
  1110. if v:IsA("Accessory") then
  1111. v:Destroy()
  1112. end
  1113. if v:IsA("Humanoid") then
  1114. v:Destroy()
  1115. end
  1116. if v:IsA("CharacterMesh") then
  1117. v:Destroy()
  1118. end
  1119. if v:IsA("Model") then
  1120. v:Destroy()
  1121. end
  1122. if v:IsA("Part") or v:IsA("MeshPart") then
  1123. for x, o in pairs(v:GetChildren()) do
  1124. if o:IsA("Decal") then
  1125. o:Destroy()
  1126. end
  1127. end
  1128. coroutine.resume(coroutine.create(function()
  1129. v.Material = "Neon"
  1130. v.CanCollide = false
  1131. local PartEmmit1 = IT("ParticleEmitter", reye)
  1132. PartEmmit1.LightEmission = 1
  1133. PartEmmit1.Texture = "rbxassetid://284205403"
  1134. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1135. PartEmmit1.Rate = 150
  1136. PartEmmit1.Lifetime = NumberRange.new(1)
  1137. PartEmmit1.Size = NumberSequence.new({
  1138. NumberSequenceKeypoint.new(0, 0.75, 0),
  1139. NumberSequenceKeypoint.new(1, 0, 0)
  1140. })
  1141. PartEmmit1.Transparency = NumberSequence.new({
  1142. NumberSequenceKeypoint.new(0, 0, 0),
  1143. NumberSequenceKeypoint.new(1, 1, 0)
  1144. })
  1145. PartEmmit1.Speed = NumberRange.new(0, 0)
  1146. PartEmmit1.VelocitySpread = 30000
  1147. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1148. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1149. local BodPoss = IT("BodyPosition", v)
  1150. BodPoss.P = 3000
  1151. BodPoss.D = 1000
  1152. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1153. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1154. v.Color = maincolor.Color
  1155. coroutine.resume(coroutine.create(function()
  1156. for i = 0, 49 do
  1157. swait(1)
  1158. v.Transparency = v.Transparency + 0.08
  1159. end
  1160. wait(0.5)
  1161. PartEmmit1.Enabled = false
  1162. wait(3)
  1163. v:Destroy()
  1164. dude:Destroy()
  1165. end))
  1166. end))
  1167. end
  1168. end
  1169. end))
  1170. end)
  1171. ds()
  1172. end
  1173. end
  1174.  
  1175. function FindNearestHead(Position, Distance, SinglePlayer)
  1176. if SinglePlayer then
  1177. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1178. end
  1179. local List = {}
  1180. for i, v in pairs(workspace:GetChildren()) do
  1181. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1182. table.insert(List, v)
  1183. end
  1184. end
  1185. return List
  1186. end
  1187.  
  1188. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1189. local type = type
  1190. local rng = Instance.new("Part", char)
  1191. rng.Anchored = true
  1192. rng.BrickColor = color
  1193. rng.CanCollide = false
  1194. rng.FormFactor = 3
  1195. rng.Name = "Ring"
  1196. rng.Material = "Neon"
  1197. rng.Size = Vector3.new(1, 1, 1)
  1198. rng.Transparency = 0
  1199. rng.TopSurface = 0
  1200. rng.BottomSurface = 0
  1201. rng.CFrame = pos
  1202. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1203. local rngm = Instance.new("SpecialMesh", rng)
  1204. rngm.MeshType = MType
  1205. rngm.Scale = Vector3.new(x1, y1, z1)
  1206. local scaler2 = 1
  1207. local speeder = FastSpeed
  1208. if type == "Add" then
  1209. scaler2 = 1 * value
  1210. elseif type == "Divide" then
  1211. scaler2 = 1 / value
  1212. end
  1213. coroutine.resume(coroutine.create(function()
  1214. for i = 0, 10 / bonuspeed, 0.1 do
  1215. swait()
  1216. if type == "Add" then
  1217. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1218. elseif type == "Divide" then
  1219. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1220. end
  1221. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1222. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1223. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1224. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1225. end
  1226. rng:Destroy()
  1227. end))
  1228. end
  1229.  
  1230. function SoulSteal(dude)
  1231. if dude.Name ~= char then
  1232. local bgf = IT("BodyGyro", dude.Head)
  1233. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1234. local val = IT("BoolValue", dude)
  1235. val.Name = "IsHit"
  1236. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1237. local soulst = coroutine.wrap(function()
  1238. local soul = Instance.new("Part",dude)
  1239. soul.Size = Vector3.new(1,1,1)
  1240. soul.CanCollide = false
  1241. soul.Anchored = false
  1242. soul.Position = torso.Position
  1243. soul.Transparency = 1
  1244. local PartEmmit1 = IT("ParticleEmitter", soul)
  1245. PartEmmit1.LightEmission = 1
  1246. PartEmmit1.Texture = "rbxassetid://569507414"
  1247. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1248. PartEmmit1.Rate = 250
  1249. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1250. PartEmmit1.Size = NumberSequence.new({
  1251. NumberSequenceKeypoint.new(0, 1, 0),
  1252. NumberSequenceKeypoint.new(1, 0, 0)
  1253. })
  1254. PartEmmit1.Transparency = NumberSequence.new({
  1255. NumberSequenceKeypoint.new(0, 0, 0),
  1256. NumberSequenceKeypoint.new(1, 1, 0)
  1257. })
  1258. PartEmmit1.Speed = NumberRange.new(0, 0)
  1259. PartEmmit1.VelocitySpread = 30000
  1260. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1261. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1262. local BodPoss = IT("BodyPosition", soul)
  1263. BodPoss.P = 3000
  1264. BodPoss.D = 1000
  1265. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1266. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1267. wait(1.6)
  1268. soul.Touched:connect(function(hit)
  1269. if hit.Parent == char then
  1270. soul:Destroy()
  1271. end
  1272. end)
  1273. wait(1.2)
  1274. while soul do
  1275. swait()
  1276. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1277. BodPoss.Position = tors.Position
  1278. end
  1279. end)
  1280. soulst()
  1281. end
  1282. end
  1283. function FaceMouse()
  1284. local Cam = workspace.CurrentCamera
  1285. return {
  1286. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1287. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1288. }
  1289. end
  1290.  
  1291. BTAUNT2 = Instance.new("Sound", char)
  1292. BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=0"
  1293. BTAUNT2.Volume = 20
  1294. BTAUNT2.Pitch = 1
  1295. BTAUNT2.Looped = true
  1296.  
  1297. BTAUNT3 = Instance.new("Sound", char)
  1298. BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=1090127517"
  1299. BTAUNT3.Volume = 2
  1300. BTAUNT3.Pitch = 1
  1301. BTAUNT3.Looped = true
  1302.  
  1303. BTAUNT4 = Instance.new("Sound", char.Torso)
  1304. BTAUNT4.SoundId = "http://www.roblox.com/asset/?id=320356734"
  1305. BTAUNT4.Volume = 10
  1306. BTAUNT4.Pitch = 1
  1307. BTAUNT4.Looped = true
  1308.  
  1309. BTAUNT5 = Instance.new("Sound", char.Torso)
  1310. BTAUNT5.SoundId = "http://www.roblox.com/asset/?id=1470848774"
  1311. BTAUNT5.Volume = 5
  1312. BTAUNT5.Pitch = 1
  1313. BTAUNT5.Looped = true
  1314.  
  1315. TEST = Instance.new("Sound", tors)
  1316. TEST.SoundId = "http://www.roblox.com/asset/?id=2324298559"
  1317. TEST.Volume = 25
  1318. TEST.Pitch = 1
  1319. TEST.Looped = false
  1320. -------------------------------------------------------
  1321. --End Effect Function--
  1322. -------------------------------------------------------
  1323.  
  1324. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1325. local NEWMESH = IT(MESH)
  1326. if MESH == "SpecialMesh" then
  1327. NEWMESH.MeshType = MESHTYPE
  1328. if MESHID ~= "nil" and MESHID ~= "" then
  1329. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1330. end
  1331. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1332. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1333. end
  1334. end
  1335. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1336. NEWMESH.Scale = SCALE
  1337. NEWMESH.Parent = PARENT
  1338. return NEWMESH
  1339. end
  1340.  
  1341. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  1342. local NEWPART = IT("Part")
  1343. NEWPART.formFactor = FORMFACTOR
  1344. NEWPART.Reflectance = REFLECTANCE
  1345. NEWPART.Transparency = TRANSPARENCY
  1346. NEWPART.CanCollide = false
  1347. NEWPART.Locked = true
  1348. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1349. NEWPART.Name = NAME
  1350. NEWPART.Size = SIZE
  1351. NEWPART.Position = Torso.Position
  1352. NEWPART.Material = MATERIAL
  1353. NEWPART:BreakJoints()
  1354. NEWPART.Parent = PARENT
  1355. return NEWPART
  1356. end
  1357.  
  1358. function MakeForm(PART,TYPE)
  1359. local MSH = nil
  1360. if TYPE == "Cyl" then
  1361. MSH = IT("CylinderMesh",PART)
  1362. elseif TYPE == "Ball" then
  1363. MSH = IT("SpecialMesh",PART)
  1364. MSH.MeshType = "Sphere"
  1365. elseif TYPE == "Wedge" then
  1366. MSH = IT("SpecialMesh",PART)
  1367. MSH.MeshType = "Wedge"
  1368. elseif TYPE == "Block" then
  1369. MSH = IT("SpecialMesh",PART)
  1370. MSH.MeshType = "Brick"
  1371. end
  1372. return MSH
  1373. end
  1374.  
  1375. function Cso(ID, PARENT, VOLUME, PITCH)
  1376. local NSound = nil
  1377. coroutine.resume(coroutine.create(function()
  1378. NSound = IT("Sound", PARENT)
  1379. NSound.Volume = VOLUME
  1380. NSound.Pitch = PITCH
  1381. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1382. swait()
  1383. NSound:play()
  1384. game:GetService("Debris"):AddItem(NSound, 50)
  1385. end))
  1386. return NSound
  1387. end
  1388. function CameraEnshaking(Length, Intensity)
  1389. coroutine.resume(coroutine.create(function()
  1390. local intensity = 1 * Intensity
  1391. local rotM = 0.01 * Intensity
  1392. for i = 0, Length, 0.1 do
  1393. swait()
  1394. intensity = intensity - 0.05 * Intensity / Length
  1395. rotM = rotM - 5.0E-4 * Intensity / Length
  1396. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1397. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1398. end
  1399. hum.CameraOffset = Vector3.new(0, 0, 0)
  1400. end))
  1401. end
  1402.  
  1403.  
  1404. function Sink(position,radius)
  1405. for i,v in ipairs(workspace:GetChildren()) do
  1406. if v:FindFirstChild("Hit2By"..plr.Name) == nil then
  1407. local body = v:GetChildren()
  1408. for part = 1, #body do
  1409. if(v:FindFirstChild("Hit2By"..plr.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= char) then
  1410. if(body[part].Position - position).Magnitude < radius then
  1411. if v.ClassName == "Model" then
  1412. v:FindFirstChildOfClass("Humanoid").Name = "Humanoid"
  1413. if v:FindFirstChild("Humanoid") then
  1414. local defence = Instance.new("BoolValue",v)
  1415. defence.Name = ("Hit2By"..plr.Name)
  1416. if v.Humanoid.Health ~= 0 then
  1417. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1418. if TORS ~= nil then
  1419. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + Vector3.new(0, -1, 0))).lookVector, 25 * TORS.Size.Y/2, v)
  1420. coroutine.resume(coroutine.create(function()
  1421. if HITFLOOR2 ~= nil then
  1422. TORS.Anchored = true
  1423. local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4))
  1424. Hole2.Color = Color3.new(0,0,0)
  1425. local MESH = MakeForm(Hole2,"Cyl")
  1426. MESH.Scale = Vector3.new(0,1,0)
  1427. Hole2.CFrame = CF(HITPOS2)
  1428. for i = 1, 10 do
  1429. swait()
  1430. MESH.Scale = MESH.Scale + Vector3.new(0.1,0,0.1)
  1431. end
  1432. --Cso("160440683", v:FindFirstChild("Head"), 10, .8)
  1433. Cso("154955269", v:FindFirstChild("Head"), 10, 1)
  1434. repeat
  1435. swait()
  1436. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  1437. --MESH.Scale = MESH.Scale + Vector3.new(0,1.6,0)
  1438. until TORS.Position.Y<position.Y-4
  1439. v:remove()
  1440. for i = 1, 10 do
  1441. swait()
  1442. MESH.Scale = MESH.Scale - Vector3.new(0.1,0,0.1)
  1443. end
  1444. Hole2:remove()
  1445. end
  1446. end))
  1447. end
  1448. end
  1449. end
  1450. end
  1451. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1452. end
  1453. end
  1454. end
  1455. end
  1456. end
  1457. end
  1458. function Trail(Part)
  1459. local TRAIL = Part:Clone()
  1460. TRAIL.CanCollide = false
  1461. TRAIL.Anchored = true
  1462. TRAIL.Parent = EffectModel
  1463. TRAIL.Name = "Trail"
  1464. local TRANS = Part.Transparency
  1465. coroutine.resume(coroutine.create(function()
  1466. for i = 1, 20 do
  1467. swait()
  1468. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  1469. end
  1470. TRAIL:remove()
  1471. end))
  1472. end
  1473. function getRegion(point,range,ignore)
  1474. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
  1475. end
  1476.  
  1477. function GetTorso(char)
  1478. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1479. end
  1480.  
  1481. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  1482.  
  1483. function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  1484. local type = type
  1485. local rng = Instance.new("Part", char)
  1486. rng.Anchored = true
  1487. rng.BrickColor = color
  1488. rng.CanCollide = false
  1489. rng.FormFactor = 3
  1490. rng.Name = "Ring"
  1491. rng.Material = "Neon"
  1492. rng.Size = Vector3.new(1, 1, 1)
  1493. rng.Transparency = 0
  1494. rng.TopSurface = 0
  1495. rng.BottomSurface = 0
  1496. rng.CFrame = pos
  1497. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1498. local rngm = Instance.new("SpecialMesh", rng)
  1499. rngm.MeshType = "Sphere"
  1500. rngm.Scale = Vector3.new(x1, y1, z1)
  1501. local scaler2 = 1
  1502. local speeder = FastSpeed
  1503. if type == "Add" then
  1504. scaler2 = 1 * value
  1505. elseif type == "Divide" then
  1506. scaler2 = 1 / value
  1507. end
  1508. coroutine.resume(coroutine.create(function()
  1509. for i = 0, 10 / bonuspeed, 0.1 do
  1510. swait()
  1511. if type == "Add" then
  1512. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1513. elseif type == "Divide" then
  1514. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1515. end
  1516. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1517. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1518. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1519. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1520. end
  1521. rng:Destroy()
  1522. end))
  1523. end
  1524.  
  1525.  
  1526. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1527. local NSound = nil
  1528. coroutine.resume(coroutine.create(function()
  1529. NSound = Instance.new("Sound", PARENT)
  1530. NSound.Volume = VOLUME
  1531. NSound.Pitch = PITCH
  1532. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1533. swait()
  1534. NSound:play()
  1535. game:GetService("Debris"):AddItem(NSound, 10)
  1536. end))
  1537. return NSound
  1538. end
  1539.  
  1540. -------------------------------------------------------
  1541. --End Important Functions--
  1542. -------------------------------------------------------
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548. -------------------------------------------------------
  1549. --Start Customization--
  1550. -------------------------------------------------------
  1551. local Player_Size = 1
  1552. if Player_Size ~= 1 then
  1553. root.Size = root.Size * Player_Size
  1554. tors.Size = tors.Size * Player_Size
  1555. hed.Size = hed.Size * Player_Size
  1556. ra.Size = ra.Size * Player_Size
  1557. la.Size = la.Size * Player_Size
  1558. rl.Size = rl.Size * Player_Size
  1559. ll.Size = ll.Size * Player_Size
  1560. ----------------------------------------------------------------------------------
  1561. rootj.Parent = root
  1562. neck.Parent = tors
  1563. RW.Parent = tors
  1564. LW.Parent = tors
  1565. RH.Parent = tors
  1566. LH.Parent = tors
  1567. ----------------------------------------------------------------------------------
  1568. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1569. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1570. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1571. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1572. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1573. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1574. ----------------------------------------------------------------------------------
  1575. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1576. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1577. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1578. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1579. --hat.Parent = Character
  1580. end
  1581. ----------------------------------------------------------------------------------
  1582. ----------------------------------------------------------------------------------
  1583. local equipped = false
  1584. local idle = 0
  1585. local change = 1
  1586. local val = 0
  1587. local toim = 0
  1588. local idleanim = 0.3
  1589. local sine = 0
  1590. local Sit = 1
  1591. ----------------------------------------------------------------------------------
  1592. hum.WalkSpeed = 16
  1593. hum.JumpPower = 57
  1594. hum.Animator.Parent = nil
  1595. ----------------------------------------------------------------------------------
  1596. local Hole = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(5,0,5))
  1597. local MESH = MakeForm(Hole,"Cyl")
  1598.  
  1599.  
  1600. -------------------------------------------------------
  1601. --End Customization--
  1602. -------------------------------------------------------
  1603. local Blobby = Instance.new("Part", char)
  1604. Blobby.Name = "Blob"
  1605. Blobby.CanCollide = false
  1606. Blobby.BrickColor = BrickColor.new("Really black")
  1607. Blobby.Transparency = 0
  1608. Blobby.Material = "Plastic"
  1609. Blobby.Size = Vector3.new(1, 1, 2)
  1610. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1611. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1612.  
  1613. local Weld = Instance.new("Weld", Blobby)
  1614. Weld.Part0 = ra
  1615. Weld.Part1 = Blobby
  1616. Weld.C1 = CFrame.new(0, 0.8, 0)
  1617. Weld.C0 = CFrame.Angles(Rad(-180),0,135)
  1618.  
  1619. local M2 = Instance.new("SpecialMesh")
  1620. M2.Parent = Blobby
  1621. M2.MeshId = "rbxassetid://0"
  1622. M2.TextureId = "rbxassetid://102396405"
  1623. M2.Scale = Vector3.new(1, 0.8, 1)
  1624.  
  1625. --[[local naeeym2 = Instance.new("BillboardGui",char)
  1626. naeeym2.AlwaysOnTop = true
  1627. naeeym2.Size = UDim2.new(5,35,2,15)
  1628. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1629. naeeym2.Adornee = hed
  1630. naeeym2.Name = "Name"
  1631. --naeeym2.PlayerToHideFrom = Player
  1632. local tecks2 = Instance.new("TextLabel",naeeym2)
  1633. tecks2.BackgroundTransparency = 1
  1634. tecks2.TextScaled = true
  1635. tecks2.BorderSizePixel = 0
  1636. tecks2.Text = "Fight Me"
  1637. tecks2.Font = Enum.Font.Bodoni
  1638. tecks2.TextSize = 30
  1639. tecks2.TextStrokeTransparency = 0
  1640. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1641. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  1642. tecks2.Size = UDim2.new(1,0,0.5,0)
  1643. tecks2.Parent = naeeym2]]
  1644. ----------------------------------------------------------------------------------
  1645. local AddInstance = function(Object, ...)
  1646. local Obj = Instance.new(Object)
  1647. for i,v in next,(...) do
  1648. Obj[i] = v
  1649. end
  1650. return Obj
  1651. end
  1652. -------------------------------------------------------
  1653. local Reaper = AddInstance("Part",{
  1654. Parent = hed,
  1655. CFrame = hed.CFrame,
  1656. formFactor = "Symmetric",
  1657. Size = Vector3.new(1, 1, 1),
  1658. CanCollide = false,
  1659. TopSurface = "Smooth",
  1660. BottomSurface = "Smooth",
  1661. Locked = true,
  1662. })
  1663. local Weld = AddInstance("Weld",{
  1664. Parent = Reaper,
  1665. Part0 = hed,
  1666. C0 = CFrame.new(0, 0.9, 0.4)*CFrame.Angles(0, 0, 0),
  1667. Part1 = Reaper,
  1668. })
  1669. local Mesh = AddInstance("SpecialMesh",{
  1670. Parent = Reaper,
  1671. MeshId = "rbxassetid://291954550",
  1672. TextureId = "rbxassetid://3577605158",
  1673. Scale = Vector3.new(3.5, 3.5, 3.3),
  1674. VertexColor = Vector3.new(1, 1, 1),
  1675. })
  1676. local Reaper = AddInstance("Part",{
  1677. Parent = hed,
  1678. CFrame = hed.CFrame,
  1679. formFactor = "Symmetric",
  1680. Size = Vector3.new(1, 1, 1),
  1681. CanCollide = false,
  1682. TopSurface = "Smooth",
  1683. BottomSurface = "Smooth",
  1684. Locked = true,
  1685. })
  1686. local Weld = AddInstance("Weld",{
  1687. Parent = Reaper,
  1688. Part0 = tors,
  1689. C0 = CFrame.new(0, -0.9, 0.5)*CFrame.Angles(0, 0, 110.001),
  1690. Part1 = Reaper,
  1691. })
  1692. local Mesh = AddInstance("SpecialMesh",{
  1693. Parent = Reaper,
  1694. MeshId = "rbxassetid://63717022",
  1695. TextureId = "rbxassetid://50252366",
  1696. Scale = Vector3.new(1.7,2.5,1.7),
  1697. VertexColor = Vector3.new(1,1,1),
  1698. })
  1699. -------------------------------------------------------
  1700. ----------------------------------------------------------------------------------
  1701. local AddInstance = function(Object, ...)
  1702. local Obj = Instance.new(Object)
  1703. for i,v in next,(...) do
  1704. Obj[i] = v
  1705. end
  1706. return Obj
  1707. end
  1708.  
  1709. --------------------------
  1710. ----------------------------
  1711.  
  1712. i_new = Instance.new
  1713.  
  1714. function nooutline(part)
  1715. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1716. end
  1717. function perts(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1718. local fp=it("Part")
  1719. fp.formFactor=formfactor
  1720. fp.Parent=parent
  1721. fp.Reflectance=reflectance
  1722. fp.Transparency=transparency
  1723. fp.CanCollide=false
  1724. fp.Locked=true
  1725. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1726. fp.Name=name
  1727. fp.Size=size
  1728. fp.Position=Character.Torso.Position
  1729. nooutline(fp)
  1730. fp.Material=material
  1731. fp:BreakJoints()
  1732. return fp
  1733. end
  1734.  
  1735. function mush(Mesh,part,meshtype,meshid,offset,scale)
  1736. local mush=it(Mesh)
  1737. mush.Parent=part
  1738. if Mesh=="SpecialMesh" then
  1739. mush.MeshType=meshtype
  1740. mush.MeshId=meshid
  1741. end
  1742. mush.Offset=offset
  1743. mush.Scale=scale
  1744. return mush
  1745. end
  1746.  
  1747. function wald2(parent,part0,part1,c0,c1)
  1748. local wald2=it("Weld")
  1749. wald2.Parent=parent
  1750. wald2.Part0=part0
  1751. wald2.Part1=part1
  1752. wald2.C0=c0
  1753. wald2.C1=c1
  1754. return wald2
  1755. end
  1756.  
  1757. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  1758. local mesh = i_new(Mesh)
  1759. mesh.Parent = part
  1760. if Mesh == "SpecialMesh" then
  1761. mesh.MeshType = meshtype
  1762. mesh.MeshId = meshid
  1763. end
  1764. mesh.Offset = offset
  1765. mesh.Scale = scale
  1766. return mesh
  1767. end
  1768.  
  1769.  
  1770.  
  1771.  
  1772. local Right_Arm = Character:FindFirstChild("Right Arm")
  1773. local Left_Arm = Character:FindFirstChild("Left Arm")
  1774. local Right_Leg = Character:FindFirstChild("Right Leg")
  1775. local Left_Leg = Character:FindFirstChild("Left Leg")
  1776. local Right_Shoulder = Torso:FindFirstChild("Right Shoulder")
  1777. local Left_Shoulder = Torso:FindFirstChild("Left Shoulder")
  1778. local Right_Hip = Torso:FindFirstChild("Right Hip")
  1779. local Left_Hip = Torso:FindFirstChild("Left Hip")
  1780.  
  1781. Clothes = Instance.new("Model",Character)
  1782. Clothes.Name = "Clothing"
  1783. ------------------------------------------
  1784.  
  1785.  
  1786. BTAUNT = Instance.new("Sound", char.Torso)
  1787. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=2750713957"
  1788. BTAUNT.Volume = 10
  1789. BTAUNT.Pitch = 1
  1790. BTAUNT.Looped = true
  1791. BTAUNT.TimePosition = 0.2
  1792. BTAUNT:Play()
  1793.  
  1794. -------------------------------------------------------
  1795. BTAUNT99 = Instance.new("Sound", char.Torso)
  1796. BTAUNT99.SoundId = "http://www.roblox.com/asset/?id=577165693"
  1797. BTAUNT99.Volume = 10
  1798. BTAUNT99.Pitch = 2
  1799. BTAUNT99.Looped = true
  1800. ---------------------------------------
  1801. wait(1)
  1802. plr = game.Players.LocalPlayer
  1803. char = plr.Character
  1804. mouse = plr:GetMouse()
  1805. whitecolor = Color3.new(255,255,1)
  1806. epicmode = false
  1807. normal = true
  1808. for i,v in pairs(char:GetChildren()) do
  1809. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  1810. v:Destroy()
  1811. end
  1812. end
  1813. local shirt = Instance.new("Shirt",char)
  1814. shirt.ShirtTemplate = "rbxassetid://3298825099"
  1815. local pants = Instance.new("Pants",char)
  1816. pants.PantsTemplate = "rbxassetid://3577605654"
  1817. local bdycolors = char["Body Colors"]
  1818. bdycolors.HeadColor3 = whitecolor
  1819. bdycolors.LeftArmColor3 = whitecolor
  1820. bdycolors.LeftLegColor3 = whitecolor
  1821. bdycolors.RightArmColor3 = whitecolor
  1822. bdycolors.RightLegColor3 = whitecolor
  1823. bdycolors.TorsoColor3 = whitecolor
  1824. for i,v in pairs(char:GetChildren()) do
  1825. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  1826. v:Destroy()
  1827. end
  1828. end
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834. local BC = Character["Body Colors"]
  1835. BC.HeadColor = BrickColor.new("Really black")
  1836. BC.LeftArmColor = BrickColor.new("Really black")
  1837. BC.LeftLegColor = BrickColor.new("Really black")
  1838. BC.RightArmColor = BrickColor.new("Really black")
  1839. BC.RightLegColor = BrickColor.new("Really black")
  1840. BC.TorsoColor = BrickColor.new("Really black")
  1841. -------------------------------------------------------
  1842. --Start Attacks N Stuff--
  1843. -------------------------------------------------------
  1844.  
  1845.  
  1846. local naeeym2 = Instance.new("BillboardGui",char)
  1847. naeeym2.AlwaysOnTop = true
  1848. naeeym2.Size = UDim2.new(5,35,2,35)
  1849. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1850. naeeym2.Adornee = hed
  1851. naeeym2.Name = "Name"
  1852.  
  1853. local tecks2 = Instance.new("TextLabel",naeeym2)
  1854. tecks2.BackgroundTransparency = 1
  1855. tecks2.TextScaled = true
  1856. tecks2.BorderSizePixel = 0
  1857. tecks2.Font = "Cartoon"
  1858. tecks2.TextSize = 30
  1859. tecks2.TextStrokeTransparency = 0
  1860. tecks2.TextColor3 = BrickColor.new('Really red').Color
  1861. tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
  1862. tecks2.Size = UDim2.new(1,0,0.5,0)
  1863. tecks2.Parent = naeeym2
  1864. textfag = tecks2
  1865. tecks2.Text = "Bendy"
  1866. BTAUNT2:Play()
  1867. coroutine.resume(coroutine.create(function()
  1868. while textfag ~= nil do
  1869. swait()
  1870. textfag.Position = UDim2.new(math.random(-0.1,0.1),math.random(-3,3),.05,math.random(-3,3))
  1871. textfag.Rotation = math.random(-0.1,0.1)
  1872. end
  1873. end))
  1874.  
  1875.  
  1876.  
  1877. function die()
  1878. attack = true
  1879. M2.MeshId = "rbxassetid://28140935"
  1880. M2.TextureId = "rbxassetid://102396405"
  1881. for i = 0, 2.6, 0.1 do
  1882. swait()
  1883. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1884. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1885. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1886. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
  1887. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1888. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
  1889. end
  1890. Cso("2545008459", tors, 10, 1)
  1891. CameraEnshaking(2, 15)
  1892. Effects.Wave.Create(BrickColor.new("Royal purple"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1893. Effects.Wave.Create(BrickColor.new("Royal purple"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1894. Effects.Wave.Create(BrickColor.new("Royal purple"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1895. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  1896. if v:FindFirstChild("Head") then
  1897. Eviscerate(v)
  1898. end
  1899. end
  1900. for i = 0, 3, 0.1 do
  1901. swait()
  1902. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1903. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  1904. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  1905. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1906. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  1907. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  1908. end
  1909. attack = false
  1910. M2.MeshId = "rbxassetid://0"
  1911. M2.TextureId = "rbxassetid://0"
  1912. end
  1913.  
  1914. function dance()
  1915. attack = true
  1916. hum.WalkSpeed = 0
  1917. CFuncs.Sound.Create("rbxassetid://2545008459", head, 100, 1)
  1918. for i = 0, 2, 0.1 do
  1919. swait()
  1920. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  1921. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1922. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1923. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1924. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1925. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1926. end
  1927. for i = 0, 6, 0.1 do
  1928. swait()
  1929. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  1930. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15)
  1931. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1932. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1933. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1934. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1935. end
  1936. for i = 0, 2, 0.1 do
  1937. swait()
  1938. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  1939. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1940. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1941. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1942. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1943. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1944. end
  1945. attack = false
  1946. hum.WalkSpeed = 8
  1947. end
  1948.  
  1949. function aaa()
  1950. attack = true
  1951. hum.WalkSpeed = 0
  1952. for i = 0,20, 0.1 do
  1953. swait()
  1954. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  1955. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1956. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  1957. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  1958. RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
  1959. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
  1960. end
  1961. hum.WalkSpeed = 16
  1962. attack = false
  1963. end
  1964.  
  1965. function ohp()
  1966. attack = true
  1967. M2.MeshId = "rbxassetid://0"
  1968. M2.TextureId = "rbxassetid://0"
  1969. for i = 0,4,0.1 do
  1970. swait()
  1971. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1972. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0 * Sin(sine / 7), 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(1 + 0 * Sin(sine / 7)), Rad(0)), 0.3)
  1973. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1974. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1975. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1976. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1977. end
  1978. for i = 1, 4 do
  1979. local model = Instance.new("Model")
  1980. model.Name = "Spades"
  1981. model.Parent = char
  1982. local mainpart = Instance.new("Part")
  1983. mainpart.Transparency = 1
  1984. mainpart.CanCollide = false
  1985. mainpart.Anchored = true
  1986. mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
  1987. mainpart.Parent = model
  1988. model.PrimaryPart = mainpart
  1989. local spades = {}
  1990. for i = 1, 10 do
  1991. local spade = Instance.new("Part")
  1992. spade.Name = "Spade"
  1993. spade.Transparency = 0
  1994. spade.Anchored = true
  1995. spade.CanCollide = false
  1996. spade.Size = Vector3.new(2, 0.05, 2)
  1997. spade.Parent = model
  1998. local debounce = false
  1999. local decal1 = Instance.new("SpecialMesh",spade)
  2000. decal1.MeshId = "https://roblox.com/asset/?id=2760895053"
  2001. decal1.TextureId = "https://roblox.com/asset/?id=57327924"
  2002. decal1.Scale = Vector3.new(1,1,1)
  2003. local decal2 = Instance.new("SpecialMesh",spade)
  2004. decal2.MeshId = "https://roblox.com/asset/?id=2760895053"
  2005. decal2.TextureId = "https://roblox.com/asset/?id=102397435"
  2006. decal2.Scale = Vector3.new(1,1,1)
  2007. local debounce = false
  2008. spade.Touched:Connect(function(hit)
  2009. end)
  2010. table.insert(spades, spade)
  2011. end
  2012. for i = 1, #spades do
  2013. spades[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-20, 0, 0)
  2014. end
  2015. for x = 20, 10, -0.5 do
  2016. game:GetService("RunService").Stepped:Wait()
  2017. mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
  2018. for i = 1, #spades do
  2019. for i,v in pairs(spades[i]:GetChildren()) do
  2020. if v:IsA("Decal") then
  2021. v.Transparency = v.Transparency - 0.05
  2022. end
  2023. end
  2024. spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-x, 0, 0), 0.15)
  2025. end
  2026. end
  2027. for i = 1, 35 do
  2028. game:GetService("RunService").Stepped:Wait()
  2029. mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
  2030. for i = 1, #spades do
  2031. spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-10, 0, 0), 0.15)
  2032. end
  2033. end
  2034. coroutine.resume(coroutine.create(function()
  2035. for i = 1, #spades do
  2036. coroutine.resume(coroutine.create(function()
  2037. for x = 10, 13, 0.3 do
  2038. game:GetService("RunService").Stepped:Wait()
  2039. spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-x, 0, 0), 0.15)
  2040. end
  2041. for x = 1, 15 do
  2042. game:GetService("RunService").Stepped:Wait()
  2043. spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-13, 0, 0), 0.15)
  2044. end
  2045. local debounce = false
  2046. for x = 0, 0.5, 0.025 do
  2047. game:GetService("RunService").Stepped:Wait()
  2048. for i,v in pairs(spades[i]:GetTouchingParts()) do
  2049. if not v:IsDescendantOf(char) and debounce == false then
  2050. if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
  2051. debounce = true
  2052. v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 20
  2053. coroutine.resume(coroutine.create(function()
  2054. wait(0.4)
  2055. debounce = false
  2056. end))
  2057. end
  2058. end
  2059. end
  2060. spades[i].CFrame = spades[i].CFrame * CFrame.new(x, 0, 0)
  2061. end
  2062. for x = 0.5, 1, 0.025 do
  2063. game:GetService("RunService").Stepped:Wait()
  2064. for i,v in pairs(spades[i]:GetChildren()) do
  2065. if v:IsA("Mesh") then
  2066. v.Transparency = v.Transparency + 0.05
  2067. end
  2068. end
  2069. for i,v in pairs(spades[i]:GetTouchingParts()) do
  2070. if not v:IsDescendantOf(char) and debounce == false then
  2071. if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
  2072. debounce = true
  2073. v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 5
  2074. coroutine.resume(coroutine.create(function()
  2075. wait(0.4)
  2076. debounce = false
  2077. end))
  2078. end
  2079. end
  2080. end
  2081. spades[i].CFrame = spades[i].CFrame * CFrame.new(x, 0, 0)
  2082. end
  2083. spades[i]:Destroy()
  2084. end))
  2085. wait(0.05)
  2086. end
  2087. end))
  2088. wait(1)
  2089. coroutine.resume(coroutine.create(function()
  2090. wait(1.4)
  2091. model:Destroy()
  2092. end))
  2093. end
  2094. attack = false
  2095. end
  2096.  
  2097.  
  2098. function axes()
  2099. attack = true
  2100. spawn(function()
  2101. local p = Instance.new("Part",char)
  2102. p.Anchored = true
  2103. p.CanCollide = false
  2104. p.CFrame = CFrame.new(mouse.Hit.p+Vector3.new(0,100,0))
  2105. local m = Instance.new("SpecialMesh",p)
  2106. m.MeshId = "http://www.roblox.com/asset/?id=28140935"
  2107. m.TextureId = "http://www.roblox.com/asset/?id=102396405"
  2108. m.Scale = Vector3.new(0.9, 0.9, 0.9)
  2109. for i=1,30 do
  2110. p.CFrame = p.CFrame-Vector3.new(0,3.3333,0)
  2111. p.CFrame = p.CFrame * CFrame.Angles(0.5,0,0)
  2112. wait()
  2113. end
  2114. local beam = Instance.new("Part",char)
  2115. beam.Anchored = true
  2116. beam.CanCollide = false
  2117. beam.BrickColor = BrickColor.new("Really red")
  2118. beam.Material = Enum.Material.Neon
  2119. beam.Size = Vector3.new(1,1,1)
  2120. beam.Position = p.Position+Vector3.new(0,1000,0)
  2121. beam.CFrame = beam.CFrame * CFrame.Angles(0,0,89.5354)
  2122. local m = Instance.new("SpecialMesh",beam)
  2123. m.MeshType = "Cylinder"
  2124. m.Scale = Vector3.new(2000,15,15)
  2125. damage(6,20,35,p.Position)
  2126. p.Transparency = 1
  2127. CFuncs.Sound.Create("rbxassetid://440145223", p, 10, 1)
  2128. for i=1,10 do
  2129. m.Scale = m.Scale-Vector3.new(0,1,1)
  2130. beam.Transparency = i / 10
  2131. wait()
  2132. end
  2133. p:Destroy()
  2134. end)
  2135. attack = false
  2136. end
  2137.  
  2138. function beam()
  2139. attack = true
  2140. hum.WalkSpeed = 0
  2141. local Ring1 = Instance.new("Part", char)
  2142. Ring1.Anchored = true
  2143. Ring1.BrickColor = maincolor
  2144. Ring1.CanCollide = false
  2145. Ring1.FormFactor = 3
  2146. Ring1.Name = "Ring"
  2147. Ring1.Material = "Neon"
  2148. Ring1.Size = Vector3.new(1, 0.05, 1)
  2149. Ring1.Transparency = 1
  2150. Ring1.TopSurface = 0
  2151. Ring1.BottomSurface = 0
  2152. local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
  2153. Ring1Mesh.MeshType = "Brick"
  2154. Ring1Mesh.Name = "SizeMesh"
  2155. Ring1Mesh.Scale = Vector3.new(0, 1, 0)
  2156. local InnerRing1 = Ring1:Clone()
  2157. InnerRing1.Parent = char
  2158. InnerRing1.Transparency = 0
  2159. InnerRing1.BrickColor = BrickColor.new("New Yeller")
  2160. InnerRing1.Size = Vector3.new(1, 1, 1)
  2161. local InnerRing1Mesh = InnerRing1.SizeMesh
  2162. InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
  2163. InnerRing1Mesh.MeshType = "Sphere"
  2164. Ring1:Destroy()
  2165. for i = 0, 6, 0.1 do
  2166. swait()
  2167. --orb.CFrame = Pupil.CFrame
  2168. Aura(7, 0.12, "Add", Head.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere")
  2169. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2170. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2171. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2172. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2173. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
  2174. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
  2175. end
  2176. InnerRing1.Transparency = 1
  2177. InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 5
  2178. Cso("2545012765", char, 10, 1)
  2179. Cso("2606661976", char, 2.3, 1)
  2180. local a = IT("Part", char)
  2181. a.Name = "Direction"
  2182. a.Anchored = true
  2183. a.BrickColor = BrickC("Pastel violet")
  2184. a.Material = "SmoothPlastic"
  2185. a.Transparency = 0
  2186. a.Shape = "Cylinder"
  2187. a.CanCollide = false
  2188. local a2 = IT("Part", char)
  2189. a2.Name = "Direction"
  2190. a2.Anchored = true
  2191. a2.BrickColor = maincolor
  2192. a2.Color = maincolor.Color
  2193. a2.Material = "Neon"
  2194. a2.Transparency = 0.7
  2195. a2.Shape = "Cylinder"
  2196. a2.CanCollide = false
  2197. local ba = IT("Part", char)
  2198. ba.Name = "HitDirect"
  2199. ba.Anchored = true
  2200. ba.BrickColor = maincolor
  2201. ba.Material = "Neon"
  2202. ba.Transparency = 1
  2203. ba.CanCollide = false
  2204. local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  2205. local ignore = char
  2206. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2207. a.BottomSurface = 10
  2208. a.TopSurface = 10
  2209. a2.BottomSurface = 10
  2210. a2.TopSurface = 10
  2211. local distance = (InnerRing1.CFrame.p - position).magnitude
  2212. a.Size = Vector3.new(distance, 1, 1)
  2213. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2214. a2.Size = Vector3.new(distance, 1, 1)
  2215. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2216. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  2217. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  2218. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  2219. game:GetService("Debris"):AddItem(a, 20)
  2220. game:GetService("Debris"):AddItem(a2, 20)
  2221. game:GetService("Debris"):AddItem(ba, 20)
  2222. local msh = Instance.new("SpecialMesh", a)
  2223. msh.MeshType = "Brick"
  2224. msh.Scale = Vector3.new(1, 5, 5)
  2225. local msh2 = Instance.new("SpecialMesh", a2)
  2226. msh2.MeshType = "Brick"
  2227. msh2.Scale = Vector3.new(1, 7, 7)
  2228. for i = 0, 10, 0.1 do
  2229. swait()
  2230. CameraEnshaking(1, 5)
  2231. a2.Color = maincolor.Color
  2232. root.CFrame = FaceMouse()[1]
  2233. InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 4
  2234. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  2235. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2236. distance = (InnerRing1.CFrame.p - position).magnitude
  2237. a.Size = Vector3.new(distance, 1, 1)
  2238. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2239. a2.Size = Vector3.new(distance, 1, 1)
  2240. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2241. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  2242. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  2243. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  2244. msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05)
  2245. msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03)
  2246. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  2247. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  2248. if v:FindFirstChild("Head") then
  2249. Eviscerate(v)
  2250. end
  2251. end
  2252. end
  2253. a:Destroy()
  2254. a2:Destroy()
  2255. ba:Destroy()
  2256. InnerRing1:Destroy()
  2257. attack = false
  2258. hum.WalkSpeed = 10
  2259. hum.CameraOffset = Vector3.new(0,0,0)
  2260. end
  2261.  
  2262. function Call_Upon_The_Eyes()
  2263. attack = true
  2264. hum.WalkSpeed = 0
  2265. for i = 0, 6, 0.1 do
  2266. swait()
  2267. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2268. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2269. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2270. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2271. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12)
  2272. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2273. end
  2274. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  2275. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  2276. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  2277. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  2278. CameraEnshaking(4, 25)
  2279. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  2280. if v:FindFirstChild("Head") then
  2281. Eviscerate(v)
  2282. end
  2283. end
  2284. for i = 0, 6, 0.1 do
  2285. swait()
  2286. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2287. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2288. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2289. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2290. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2)
  2291. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2292. end
  2293. attack = false
  2294. hum.WalkSpeed = 10
  2295. end
  2296.  
  2297. function CHAOS()
  2298. attack = true
  2299. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  2300. Cso("2545012765", hed, 10, 1)
  2301. Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01)
  2302.  
  2303. Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  2304. Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  2305. Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  2306.  
  2307. PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2308. PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2309. PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2310. PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2311. PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2312. PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2313. PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2314. PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2315. PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2316. PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2317. PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2318. PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2319. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  2320. if v:FindFirstChild("Head") then
  2321. Eviscerate(v)
  2322. end
  2323. end
  2324. attack = false
  2325. end
  2326. function Chain2()
  2327. if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2328. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2329. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2330. local HEAD = HUM.Parent:FindFirstChild("Head")
  2331. local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm")
  2332. local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm")
  2333. if HEAD and TORSO and HUM.Health > 0 then
  2334. local GYRO = IT("BodyGyro",root)
  2335. GYRO.D = 275
  2336. GYRO.P = 20000
  2337. GYRO.MaxTorque = Vector3.new(0,40000,0)
  2338. attack = true
  2339. hum.WalkSpeed = 0
  2340. local hit,pos,hummie;
  2341. local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  2342. Hook2.Transparency = 1
  2343. local A2 = NewInstance("Attachment",Hook2)
  2344. local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  2345. local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
  2346. for i = 0, 2.3, .1 do
  2347. swait()
  2348. GYRO.cframe = CF(root.Position,TORSO.Position)
  2349. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2350. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2351. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
  2352. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2353. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2354. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2355. end
  2356. Cso("169105657", ra, 7, 1.2)
  2357. for i = 0, 5, .1 do
  2358. if(hit)then break end
  2359. swait()
  2360. GYRO.cframe = CF(root.Position,TORSO.Position)
  2361. Hook2.CFrame = TORSO.CFrame
  2362. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2363. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2364. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2365. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
  2366. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2367. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2368. end
  2369. Cso("169105657", ra, 5, .8)
  2370. Cso("2545211765", char, 7, 1)
  2371. GYRO:remove()
  2372. TORSO:BreakJoints()
  2373. for i = 0, 6, .1 do
  2374. swait()
  2375. Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2)
  2376. if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new()
  2377. end
  2378. if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then
  2379. break
  2380. end
  2381. Chain2.TextureLength = 4
  2382. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2383. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2384. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(90)), 0.15)
  2385. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2386. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2387. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2388. end
  2389. hum.WalkSpeed = 16
  2390. attack = false
  2391. Hook2:Destroy()
  2392. end
  2393. end
  2394. end
  2395.  
  2396. function dejzrXD()
  2397. attack = true
  2398. hum.WalkSpeed = 20
  2399. for i = 0, 4, 0.1 do
  2400. swait()
  2401. Cso("2545012765", char, 10, 1)
  2402. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  2403. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2404. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  2405. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  2406. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  2407. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  2408. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  2409. end
  2410. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  2411. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  2412. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  2413. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  2414. CameraEnshaking(4, 5)
  2415. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  2416. if v:FindFirstChild("Head") then
  2417. Eviscerate(v)
  2418. end
  2419. end
  2420. for i = 0, 2, 0.1 do
  2421. swait()
  2422. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  2423. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2424. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  2425. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  2426. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  2427. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  2428. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  2429. end
  2430. attack = false
  2431. Speed = 20
  2432. end
  2433.  
  2434. function specialchaos()
  2435. wait(0)
  2436. CHOICE = 6
  2437. Cso("2545018472", hed, 10, 1)
  2438. local killsky = Instance.new('Sky', game:GetService'Lighting')
  2439. killsky.SkyboxBk = "rbxassetid://2579814215"
  2440. killsky.SkyboxDn = "rbxassetid://1539341292"
  2441. killsky.SkyboxFt = "rbxassetid://2579814215"
  2442. killsky.SkyboxLf = "rbxassetid://2579814215"
  2443. killsky.SkyboxRt = "rbxassetid://2579814215"
  2444. killsky.SkyboxUp = "rbxassetid://1539341292"
  2445. ---
  2446. killsky.StarCount = 0
  2447. killsky.SunAngularSize = 0
  2448. killsky.MoonAngularSize = 0
  2449. killsky.MoonTextureId = ""
  2450. killsky.CelestialBodiesShown = false
  2451. if HITFLOOR ~= nil then
  2452. ATTACK = false
  2453. Rooted = false
  2454. local RINGSPIN = true
  2455. local CONSTRUCTING = true
  2456. local RING = CreatePart(3, Effects, "Neon", 0, 10, "Royal purple", "Ring", VT(0,0,0))
  2457. RING.Color = C3(0,0,0)
  2458. MakeForm(RING,"Cyl")
  2459. RING.CFrame = CF(HITPOS)
  2460. coroutine.resume(coroutine.create(function()
  2461. repeat
  2462. Swait()
  2463. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2464. until CONSTRUCTING == false
  2465. repeat
  2466. Swait()
  2467. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2468. until RINGSPIN == false
  2469. for i = 1, 25 do
  2470. Swait()
  2471. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2472. RING.Size = RING.Size - VT(0.15,0,0.15)
  2473. --DECAL.Transparency = DECAL.Transparency + 1/25
  2474. RING.Transparency = RING.Transparency + 1/25
  2475. end
  2476. RING:remove()
  2477. end))
  2478. for i = 1, 15 do
  2479. Swait()
  2480. RING.Size = RING.Size + VT(0,0,0)
  2481. RING.Transparency = RING.Transparency - 1/15
  2482. end
  2483. end
  2484. hum.WalkSpeed = 10
  2485. attack = false
  2486. end
  2487. function icando()
  2488. attack = true
  2489. hum.WalkSpeed = 0
  2490. TEST.Pitch = 0.7
  2491. TEST:Remove()
  2492. TEST:Play()
  2493. repeat
  2494. for i = 0,4,0.1 do
  2495. swait()
  2496. TEST.Parent = tors
  2497. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2498. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
  2499. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2500. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2501. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-76)), 0.1)
  2502. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(56)), 0.1)
  2503. end
  2504. until TEST.Playing == false
  2505. TEST:Stop()
  2506. TEST:Play()
  2507. TEST.Pitch = 1
  2508. TEST:Remove()
  2509. print('I CAN DO ANYTHING')
  2510. attack = false
  2511. hum.WalkSpeed = 8
  2512. end
  2513.  
  2514. function finalChaos2()
  2515. attack = true
  2516. M2.MeshId = "http://www.roblox.com/asset/?id=28140935"
  2517. M2.TextureId = "http://www.roblox.com/asset/?id=50252366"
  2518. M2.Scale = Vector3.new(5, 5, 5)
  2519. Cso("2545018472", hed, 10, 1)
  2520. for i = 0, 15, 0.1 do
  2521. swait()
  2522. hum.CameraOffset = Vector3.new(0, 8, 0)
  2523. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2524. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2525. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2)
  2526. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2)
  2527. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0), Rad(15)), 0.2)
  2528. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2)
  2529. end
  2530. Cso("483458132", char, 10, .7)
  2531. Cso("483458132", char, 10, 1)
  2532. CameraEnshaking(6, 65)
  2533. Effects.Wave.Create(BrickColor.new("Royal Purple"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2534. Effects.Wave.Create(BrickColor.new("Really white"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2535. Effects.Wave.Create(BrickColor.new("Royal Purple"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2536. Effects.Ring.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
  2537. Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  2538. Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  2539. Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  2540. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Royal Purple"), "Sphere")
  2541. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Royal Purple"), "Sphere")
  2542. Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really white"), "Sphere")
  2543. Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really white"), "Sphere")
  2544. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do
  2545. if v:FindFirstChild("Head") then
  2546. Eviscerate(v)
  2547. end
  2548. end
  2549. for i = 0, 15, 0.1 do
  2550. swait()
  2551. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2552. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2553. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  2554. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  2555. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2)
  2556. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2)
  2557. end
  2558. M2.Scale = Vector3.new(1, 1, 1)
  2559. M2.MeshId = "http://www.roblox.com/asset/?id=0"
  2560. M2.TextureId = "http://www.roblox.com/asset/?id=0"
  2561. attack = false
  2562. end
  2563.  
  2564. function DRAG_THEM_TO_HELL()
  2565. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2566. local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2567. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2568. local HEAD = HUM.Parent:FindFirstChild("Head")
  2569. if HEAD and TORSO and HUM.Health > 0 then
  2570. local GYRO = IT("BodyGyro",root)
  2571. GYRO.D = 275
  2572. GYRO.P = 20000
  2573. GYRO.MaxTorque = Vector3.new(0,40000,0)
  2574. attack = true
  2575. hum.WalkSpeed = 0
  2576. local hit,pos,hummie;
  2577. local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  2578. Hook.Transparency = 1
  2579. local A = NewInstance("Attachment",Hook)
  2580. local B = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  2581. local Chain = NewInstance("Beam",Hook,{Attachment0 = A,Attachment1=B,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
  2582. local POS = mouse.Hit.p
  2583. local CHAINS = false
  2584. local CHAINLINKS = {}
  2585. local A = IT("Attachment",la)
  2586. A.Position = Vector3.new(1,-1,0)*Player_Size
  2587. A.Orientation = Vector3.new(-90, -89.982, 0)
  2588. local B = IT("Attachment",la)
  2589. B.Position = Vector3.new(-1,-1,0)*Player_Size
  2590. B.Orientation = Vector3.new(-90, 89.988, 0)
  2591. local C = IT("Attachment",la)
  2592. C.Position = Vector3.new(0.5,-1.3,0)*Player_Size
  2593. C.Orientation = Vector3.new(-90, -89.982, 0)
  2594. local D = IT("Attachment",la)
  2595. D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size
  2596. D.Orientation = Vector3.new(-90, 89.988, 0)
  2597. local LIGHT = IT("Attachment",la)
  2598. LIGHT.Position = Vector3.new(0,-1,0)*Player_Size
  2599. local LIGHT2 = IT("PointLight",LIGHT)
  2600. LIGHT2.Range = 7
  2601. LIGHT2.Brightness = 5
  2602. LIGHT2.Color = Color3.new(0,0,0)
  2603. for i = 1, 2 do
  2604. local TWIST = -2
  2605. local START = A
  2606. local END = B
  2607. if i == 1 then
  2608. START = B
  2609. END = A
  2610. end
  2611. local ChainLink = IT("Beam",tors)
  2612. ChainLink.Texture = "rbxassetid://73042633"
  2613. ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
  2614. ChainLink.TextureSpeed = 1
  2615. ChainLink.Width0 = 1
  2616. ChainLink.Width1 = 1
  2617. ChainLink.TextureLength = 2.5
  2618. ChainLink.Attachment0 = START
  2619. ChainLink.Attachment1 = END
  2620. ChainLink.CurveSize0 = TWIST
  2621. ChainLink.CurveSize1 = TWIST
  2622. --ChainLink.FaceCamera = true
  2623. ChainLink.Segments = 45
  2624. ChainLink.Transparency = NumberSequence.new(0.25)
  2625. table.insert(CHAINLINKS,ChainLink)
  2626. end
  2627. for i = 1, 2 do
  2628. local TWIST = -1
  2629. local START = C
  2630. local END = D
  2631. if i == 1 then
  2632. START = D
  2633. END = C
  2634. end
  2635. local ChainLink = IT("Beam",tors)
  2636. ChainLink.Texture = "rbxassetid://73042633"
  2637. ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
  2638. ChainLink.TextureSpeed = 1
  2639. ChainLink.Width0 = 1
  2640. ChainLink.Width1 = 1
  2641. ChainLink.TextureLength = 5
  2642. ChainLink.Attachment0 = START
  2643. ChainLink.Attachment1 = END
  2644. ChainLink.CurveSize0 = TWIST
  2645. ChainLink.CurveSize1 = TWIST
  2646. --ChainLink.FaceCamera = true
  2647. ChainLink.Segments = 25
  2648. ChainLink.LightEmission = 0.5
  2649. ChainLink.Transparency = NumberSequence.new(0.25)
  2650. table.insert(CHAINLINKS,ChainLink)
  2651. end
  2652. for i = 0, 2.3, .1 do
  2653. swait()
  2654. GYRO.cframe = CF(root.Position,TORSO.Position)
  2655. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2656. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2657. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
  2658. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2659. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2660. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2661. end
  2662. Cso("169105657", ra, 7, 1.2)
  2663. for i = 0, 4, .1 do
  2664. if(hit)then break end
  2665. swait()
  2666. GYRO.cframe = CF(root.Position,TORSO.Position)
  2667. Hook.CFrame = HEAD.CFrame
  2668. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2669. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2670. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2671. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
  2672. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2673. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2674. end
  2675. for _,v in next, getRegion(Hook.Position,1,{char}) do
  2676. if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
  2677. hit = GetTorso(v.Parent);
  2678. hummie = v.Parent:FindFirstChildOfClass'Humanoid';
  2679. break;
  2680. end
  2681. end
  2682. Cso("169105657", ra, 5, .8)
  2683. Cso("131228548", tors, 2, 1.1)
  2684. GYRO:remove()
  2685. for i = 0, 3, .1 do
  2686. swait()
  2687. HUM.PlatformStand = true
  2688. Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2)
  2689. if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new()
  2690. end
  2691. if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then
  2692. break
  2693. end
  2694. Chain.TextureLength = 4
  2695. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2696. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(45)), 0.3)
  2697. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15)
  2698. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15)
  2699. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(45)), 0.1)
  2700. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(30), Rad(-.6), Rad(-25)), 0.1)
  2701. end
  2702. hum.WalkSpeed = 16
  2703. attack = false
  2704. Hook:Destroy()
  2705. A:remove()
  2706. B:remove()
  2707. C:remove()
  2708. D:remove()
  2709. end
  2710. end
  2711. end
  2712.  
  2713. -------------------------------------------------------
  2714. --End Attacks N Stuff--
  2715. -------------------------------------------------------
  2716.  
  2717. mouse.KeyDown:connect(function(key)
  2718. if attack == false then
  2719. if key == "c" then
  2720. axes()
  2721. elseif key == 'x' then
  2722. icando()
  2723. elseif key == 'v' then
  2724. die()
  2725. elseif key == 'f' then
  2726. Cso("446961725", tors, 10, 1)
  2727. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  2728. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  2729. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  2730. end
  2731. end
  2732. end)
  2733.  
  2734. mouse.Button1Down:connect(function(key)
  2735. if attack == false then
  2736. ohp()
  2737. end
  2738. end)
  2739.  
  2740.  
  2741.  
  2742. -------------------------------------------------------
  2743. --Start Damage Function--
  2744. -------------------------------------------------------
  2745.  
  2746.  
  2747. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
  2748. local type = type
  2749. local rng = Instance.new("Part", char)
  2750. rng.Anchored = true
  2751. rng.BrickColor = color
  2752. rng.CanCollide = false
  2753. rng.FormFactor = 3
  2754. rng.Name = "Ring"
  2755. rng.Material = "Neon"
  2756. rng.Size = Vector3.new(1, 1, 1)
  2757. rng.Transparency = 0
  2758. rng.TopSurface = 0
  2759. rng.BottomSurface = 0
  2760. rng.CFrame = pos
  2761. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2762. local rngm = Instance.new("SpecialMesh", rng)
  2763. rngm.MeshType = "Brick"
  2764. if rainbowmode == true then
  2765. rng.Color = Color3.new(r/255,g/255,b/255)
  2766. end
  2767. local scaler2 = 1
  2768. local speeder = FastSpeed/10
  2769. if type == "Add" then
  2770. scaler2 = 1*value
  2771. elseif type == "Divide" then
  2772. scaler2 = 1/value
  2773. end
  2774. coroutine.resume(coroutine.create(function()
  2775. for i = 0,10/bonuspeed,0.1 do
  2776. swait()
  2777. if type == "Add" then
  2778. scaler2 = scaler2 - 0.01*value/bonuspeed
  2779. elseif type == "Divide" then
  2780. scaler2 = scaler2 - 0.01/value*bonuspeed
  2781. end
  2782. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2783. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2784. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2785. end
  2786. rng:Destroy()
  2787. end))
  2788. end
  2789.  
  2790. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2791. if hit.Parent == nil then
  2792. return
  2793. end
  2794. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2795. for _, v in pairs(hit.Parent:children()) do
  2796. if v:IsA("Humanoid") then
  2797. h = v
  2798. end
  2799. end
  2800. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  2801.  
  2802. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2803. end
  2804.  
  2805. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2806. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2807. if hit.Parent.DebounceHit.Value == true then
  2808. return
  2809. end
  2810. end
  2811. if insta == true then
  2812. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2813. end
  2814. local c = Create("ObjectValue"){
  2815. Name = "creator",
  2816. Value = game:service("Players").LocalPlayer,
  2817. Parent = h,
  2818. }
  2819. game:GetService("Debris"):AddItem(c, .5)
  2820. if HitSound ~= nil and HitPitch ~= nil then
  2821. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2822. end
  2823. local Damage = math.random(minim, maxim)
  2824. local blocked = false
  2825. local block = hit.Parent:findFirstChild("Block")
  2826. if block ~= nil then
  2827. if block.className == "IntValue" then
  2828. if block.Value > 0 then
  2829. blocked = true
  2830. block.Value = block.Value - 1
  2831. print(block.Value)
  2832. end
  2833. end
  2834. end
  2835. if blocked == false then
  2836. h.Health = h.Health - Damage
  2837. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2838. else
  2839. h.Health = h.Health - (Damage / 2)
  2840. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2841. end
  2842. if Type == "Knockdown" then
  2843. local hum = hit.Parent.Humanoid
  2844. hum.PlatformStand = true
  2845. coroutine.resume(coroutine.create(function(HHumanoid)
  2846. swait(1)
  2847. HHumanoid.PlatformStand = false
  2848. end), hum)
  2849. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  2850. local bodvol = Create("BodyVelocity"){
  2851. velocity = angle * knockback,
  2852. P = 5000,
  2853. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2854. Parent = hit,
  2855. }
  2856. local rl = Create("BodyAngularVelocity"){
  2857. P = 3000,
  2858. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2859. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2860. Parent = hit,
  2861. }
  2862. game:GetService("Debris"):AddItem(bodvol, .5)
  2863. game:GetService("Debris"):AddItem(rl, .5)
  2864. elseif Type == "Normal" then
  2865. local vp = Create("BodyVelocity"){
  2866. P = 500,
  2867. maxForce = Vector3.new(math.huge, 0, math.huge),
  2868. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2869. }
  2870. if knockback > 0 then
  2871. vp.Parent = hit.Parent.Torso
  2872. end
  2873. game:GetService("Debris"):AddItem(vp, .5)
  2874. elseif Type == "Up" then
  2875. local bodyVelocity = Create("BodyVelocity"){
  2876. velocity = Vector3.new(0, 20, 0),
  2877. P = 5000,
  2878. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2879. Parent = hit,
  2880. }
  2881. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2882. elseif Type == "DarkUp" then
  2883. coroutine.resume(coroutine.create(function()
  2884. for i = 0, 1, 0.1 do
  2885. swait()
  2886. Effects.Block.Create(BrickColor.new("Royal purple"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2887. end
  2888. end))
  2889. local bodyVelocity = Create("BodyVelocity"){
  2890. velocity = Vector3.new(0, 20, 0),
  2891. P = 5000,
  2892. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2893. Parent = hit,
  2894. }
  2895. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2896. elseif Type == "Snare" then
  2897. local bp = Create("BodyPosition"){
  2898. P = 2000,
  2899. D = 100,
  2900. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2901. position = hit.Parent.Torso.Position,
  2902. Parent = hit.Parent.Torso,
  2903. }
  2904. game:GetService("Debris"):AddItem(bp, 1)
  2905. elseif Type == "Freeze" then
  2906. local BodPos = Create("BodyPosition"){
  2907. P = 50000,
  2908. D = 1000,
  2909. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2910. position = hit.Parent.Torso.Position,
  2911. Parent = hit.Parent.Torso,
  2912. }
  2913. local BodGy = Create("BodyGyro") {
  2914. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2915. P = 20e+003,
  2916. Parent = hit.Parent.Torso,
  2917. cframe = hit.Parent.Torso.CFrame,
  2918. }
  2919. hit.Parent.Torso.Anchored = true
  2920. coroutine.resume(coroutine.create(function(Part)
  2921. swait(1.5)
  2922. Part.Anchored = false
  2923. end), hit.Parent.Torso)
  2924. game:GetService("Debris"):AddItem(BodPos, 3)
  2925. game:GetService("Debris"):AddItem(BodGy, 3)
  2926. end
  2927. local debounce = Create("BoolValue"){
  2928. Name = "DebounceHit",
  2929. Parent = hit.Parent,
  2930. Value = true,
  2931. }
  2932. game:GetService("Debris"):AddItem(debounce, Delay)
  2933. c = Create("ObjectValue"){
  2934. Name = "creator",
  2935. Value = Player,
  2936. Parent = h,
  2937. }
  2938. game:GetService("Debris"):AddItem(c, .5)
  2939. end
  2940. end
  2941.  
  2942. function damage(range,mindam,maxdam,pos)
  2943. for i,v in ipairs(workspace:GetChildren()) do
  2944. if v:IsA("Model") then
  2945. if v.Name ~= Player.Name then
  2946. if v:FindFirstChildOfClass("Humanoid") then
  2947. if v:FindFirstChild("Head") then
  2948. if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then
  2949. if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else
  2950. v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam)
  2951. end
  2952. end
  2953. end
  2954. end
  2955. end
  2956. end
  2957. end
  2958. end
  2959. -------------------------------------------------------
  2960. --End Damage Function--
  2961. -------------------------------------------------------
  2962.  
  2963. -------------------------------------------------------
  2964. --Start Animations--
  2965. -------------------------------------------------------
  2966. print("By Makhail07")
  2967. while true do
  2968. swait()
  2969. sine = sine + change
  2970. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2971. local velderp = root.Velocity.y
  2972. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2973. if equipped == true or equipped == false then
  2974. if attack == false then
  2975. idle = idle + 1
  2976. else
  2977. idle = 0
  2978. end
  2979. if 1 < root.Velocity.y and hitfloor == nil then
  2980. Anim = "Jump"
  2981. if attack == false then
  2982. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  2983. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2984. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2985. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2986. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2987. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2988. end
  2989. elseif -1 > root.Velocity.y and hitfloor == nil then
  2990. Anim = "Fall"
  2991. if attack == false then
  2992. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  2993. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2994. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2995. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2996. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2997. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2998. end
  2999. elseif torvel < 1 and hitfloor ~= nil then
  3000. Anim = "Idle"
  3001. change = 1
  3002. if attack == false then
  3003. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  3004. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0 * Sin(sine / 7), 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(1 + 0 * Sin(sine / 7)), Rad(0)), 0.3)
  3005. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  3006. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  3007. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  3008. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  3009. end
  3010. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  3011. Anim = "Walk"
  3012. change = 1
  3013. if attack == false then
  3014. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.5 * Cos(sine / 3.5) / 20 + -Sin(sine / 3.5) / 20 * Player_Size) * angles(Rad(3 - 0 * Cos(sine / 3.5)), Rad(0), Rad(-3 * Cos(sine / 7))), 1)
  3015. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3016. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2.5* Player_Size, 0.6 * Cos(sine / 7) / 1.3* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 1)
  3017. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2.5* Player_Size, -0.6 * Cos(sine / 7) / 1.3* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 1)
  3018. RW.C0 = clerp(RW.C0, CF(1.2* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, .5* Player_Size) * angles(Rad(-25), Rad(0 + 0 * Sin(sine / 20)), Rad(-45 + 0 * Sin(sine / 20))), 0.12)
  3019. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, .5* Player_Size) * angles(Rad(-25), Rad(0 + 0 * Sin(sine / 20)), Rad(45 + 0 * Sin(sine / 20))), 0.12)
  3020. end
  3021. elseif torvel >= 25 and hitfloor ~= nil then
  3022. Anim = "Sprint"
  3023. change = 1.35
  3024. if attack == false then
  3025. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.13 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(23 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  3026. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3027. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3)
  3028. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3)
  3029. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(0) - ra.RotVelocity.Y / 75), 0.1)
  3030. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(0) + la.RotVelocity.Y / 75), 0.1)
  3031. end
  3032. end
  3033. end
  3034. if 0 < #Effects then
  3035. for e = 1, #Effects do
  3036. if Effects[e] ~= nil then
  3037. local Thing = Effects[e]
  3038. if Thing ~= nil then
  3039. local Part = Thing[1]
  3040. local Mode = Thing[2]
  3041. local Delay = Thing[3]
  3042. local IncX = Thing[4]
  3043. local IncY = Thing[5]
  3044. local IncZ = Thing[6]
  3045. if 1 >= Thing[1].Transparency then
  3046. if Thing[2] == "Block1" then
  3047. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3048. local Mesh = Thing[1].Mesh
  3049. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3050. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3051. elseif Thing[2] == "Block2" then
  3052. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3053. local Mesh = Thing[7]
  3054. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3055. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3056. elseif Thing[2] == "Block3" then
  3057. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  3058. local Mesh = Thing[7]
  3059. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3060. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3061. elseif Thing[2] == "Cylinder" then
  3062. local Mesh = Thing[1].Mesh
  3063. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3064. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3065. elseif Thing[2] == "Blood" then
  3066. local Mesh = Thing[7]
  3067. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3068. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3069. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3070. elseif Thing[2] == "Elec" then
  3071. local Mesh = Thing[1].Mesh
  3072. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3073. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3074. elseif Thing[2] == "Disappear" then
  3075. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3076. elseif Thing[2] == "Shatter" then
  3077. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3078. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3079. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3080. Thing[6] = Thing[6] + Thing[5]
  3081. end
  3082. else
  3083. Part.Parent = nil
  3084. table.remove(Effects, e)
  3085. end
  3086. end
  3087. end
  3088. end
  3089. end
  3090. end
  3091. -----------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement