Advertisement
Christoffer07700Extr

Ralsei

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