StarzoZero

leaked b

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