Advertisement
antgame11

Untitled

May 3rd, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.13 KB | None | 0 0
  1.  
  2. -----------------------
  3. --[[ Name : Inked Monster ]]--
  4. -------------------------------------------------------
  5. --A script By makhail07
  6.  
  7. --Discord Creterisk#2958
  8.  
  9. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  10. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  11. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  12. --YOU FUCKING SKIDS,
  13. --For Those who log/decompile this, If you sell or trade this,
  14. --and I find out who you are, i will take massive action.
  15.  
  16. -------------------------------------------------------
  17.  
  18. local FavIDs = {
  19. 340106355, --Nefl Crystals
  20. 927529620, --Dimension
  21. 876981900, --Fantasy
  22. 398987889, --Ordinary Days
  23. 1117396305, --Oh wait, it's you.
  24. 885996042, --Action Winter Journey
  25. 919231299, --Sprawling Idiot Effigy
  26. 743466274, --Good Day Sunshine
  27. 727411183, --Knife Fight
  28. 1402748531, --The Earth Is Counting On You!
  29. 595230126 --Robot Language
  30. }
  31.  
  32.  
  33.  
  34. --The reality of my life isn't real but a Universe -makhail07
  35. wait(0.2)
  36. local plr = game:service'Players'.LocalPlayer
  37. print('Local User is '..plr.Name)
  38. print('Inked Monster Loaded')
  39. print('Wat')
  40. local char = plr.Character
  41. local hum = char.Humanoid
  42. local hed = char.Head
  43. local root = char.HumanoidRootPart
  44. local rootj = root.RootJoint
  45. local tors = char.Torso
  46. local ra = char["Right Arm"]
  47. local la = char["Left Arm"]
  48. local rl = char["Right Leg"]
  49. local ll = char["Left Leg"]
  50. local neck = tors["Neck"]
  51. local mouse = plr:GetMouse()
  52. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  53. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  54. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  55. local maincolor = BrickColor.new("Institutional white")
  56. -------------------------------------------------------
  57. --Start Whitelist and Invincibility--
  58. -------------------------------------------------------
  59. ff = Instance.new("ForceField",char)
  60. ff.Visible = false
  61. hum.Name = "Base"
  62. hum.MaxHealth = 1.0E298
  63. hum.Health = 1.0E298
  64. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  65. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  66. hum.MaxHealth = 1.0E298
  67. hum.Health = 1.0E298
  68. end
  69. end)
  70. -------------------------------------------------------
  71. --End Whitelist and Invincibility--
  72. -------------------------------------------------------
  73.  
  74. -------------------------------------------------------
  75. --Start Good Stuff--
  76. -------------------------------------------------------
  77. cam = game.Workspace.CurrentCamera
  78. CF = CFrame.new
  79. angles = CFrame.Angles
  80. attack = false
  81. Euler = CFrame.fromEulerAnglesXYZ
  82. Rad = math.rad
  83. IT = Instance.new
  84. BrickC = BrickColor.new
  85. Cos = math.cos
  86. Acos = math.acos
  87. Sin = math.sin
  88. Asin = math.asin
  89. Abs = math.abs
  90. Mrandom = math.random
  91. Floor = math.floor
  92. -------------------------------------------------------
  93. --End Good Stuff--
  94. -------------------------------------------------------
  95. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  96. RSH, LSH = nil, nil
  97. RW = Instance.new("Weld")
  98. LW = Instance.new("Weld")
  99. RH = tors["Right Hip"]
  100. LH = tors["Left Hip"]
  101. RSH = tors["Right Shoulder"]
  102. LSH = tors["Left Shoulder"]
  103. RSH.Parent = nil
  104. LSH.Parent = nil
  105. RW.Name = "RW"
  106. RW.Part0 = tors
  107. RW.C0 = CF(1.5, 0.5, 0)
  108. RW.C1 = CF(0, 0.5, 0)
  109. RW.Part1 = ra
  110. RW.Parent = tors
  111. LW.Name = "LW"
  112. LW.Part0 = tors
  113. LW.C0 = CF(-1.5, 0.5, 0)
  114. LW.C1 = CF(0, 0.5, 0)
  115. LW.Part1 = la
  116. LW.Parent = tors
  117. Effects = {}
  118. -------------------------------------------------------
  119. --Start HeartBeat--
  120. -------------------------------------------------------
  121. ArtificialHB = Instance.new("BindableEvent", script)
  122. ArtificialHB.Name = "Heartbeat"
  123. script:WaitForChild("Heartbeat")
  124.  
  125. frame = 1 / 60
  126. tf = 0
  127. allowframeloss = false
  128. tossremainder = false
  129.  
  130.  
  131. lastframe = tick()
  132. script.Heartbeat:Fire()
  133.  
  134.  
  135. game:GetService("RunService").Heartbeat:connect(function(s, p)
  136. tf = tf + s
  137. if tf >= frame then
  138. if allowframeloss then
  139. script.Heartbeat:Fire()
  140. lastframe = tick()
  141. else
  142. for i = 1, math.floor(tf / frame) do
  143. script.Heartbeat:Fire()
  144. end
  145. lastframe = tick()
  146. end
  147. if tossremainder then
  148. tf = 0
  149. else
  150. tf = tf - frame * math.floor(tf / frame)
  151. end
  152. end
  153. end)
  154. -------------------------------------------------------
  155. --End HeartBeat--
  156. -------------------------------------------------------
  157.  
  158. -------------------------------------------------------
  159. --Start Important Functions--
  160. -------------------------------------------------------
  161. function swait(num)
  162. if num == 0 or num == nil then
  163. game:service("RunService").Stepped:wait(0)
  164. else
  165. for i = 0, num do
  166. game:service("RunService").Stepped:wait(0)
  167. end
  168. end
  169. end
  170. function thread(f)
  171. coroutine.resume(coroutine.create(f))
  172. end
  173. function clerp(a, b, t)
  174. local qa = {
  175. QuaternionFromCFrame(a)
  176. }
  177. local qb = {
  178. QuaternionFromCFrame(b)
  179. }
  180. local ax, ay, az = a.x, a.y, a.z
  181. local bx, by, bz = b.x, b.y, b.z
  182. local _t = 1 - t
  183. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  184. end
  185. function QuaternionFromCFrame(cf)
  186. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  187. local trace = m00 + m11 + m22
  188. if trace > 0 then
  189. local s = math.sqrt(1 + trace)
  190. local recip = 0.5 / s
  191. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  192. else
  193. local i = 0
  194. if m00 < m11 then
  195. i = 1
  196. end
  197. if m22 > (i == 0 and m00 or m11) then
  198. i = 2
  199. end
  200. if i == 0 then
  201. local s = math.sqrt(m00 - m11 - m22 + 1)
  202. local recip = 0.5 / s
  203. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  204. elseif i == 1 then
  205. local s = math.sqrt(m11 - m22 - m00 + 1)
  206. local recip = 0.5 / s
  207. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  208. elseif i == 2 then
  209. local s = math.sqrt(m22 - m00 - m11 + 1)
  210. local recip = 0.5 / s
  211. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  212. end
  213. end
  214. end
  215. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  216. local xs, ys, zs = x + x, y + y, z + z
  217. local wx, wy, wz = w * xs, w * ys, w * zs
  218. local xx = x * xs
  219. local xy = x * ys
  220. local xz = x * zs
  221. local yy = y * ys
  222. local yz = y * zs
  223. local zz = z * zs
  224. 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))
  225. end
  226. function QuaternionSlerp(a, b, t)
  227. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  228. local startInterp, finishInterp
  229. if cosTheta >= 1.0E-4 then
  230. if 1 - cosTheta > 1.0E-4 then
  231. local theta = math.acos(cosTheta)
  232. local invSinTheta = 1 / Sin(theta)
  233. startInterp = Sin((1 - t) * theta) * invSinTheta
  234. finishInterp = Sin(t * theta) * invSinTheta
  235. else
  236. startInterp = 1 - t
  237. finishInterp = t
  238. end
  239. elseif 1 + cosTheta > 1.0E-4 then
  240. local theta = math.acos(-cosTheta)
  241. local invSinTheta = 1 / Sin(theta)
  242. startInterp = Sin((t - 1) * theta) * invSinTheta
  243. finishInterp = Sin(t * theta) * invSinTheta
  244. else
  245. startInterp = t - 1
  246. finishInterp = t
  247. end
  248. 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
  249. end
  250. function rayCast(Position, Direction, Range, Ignore)
  251. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  252. end
  253. local RbxUtility = LoadLibrary("RbxUtility")
  254. local Create = RbxUtility.Create
  255.  
  256. -------------------------------------------------------
  257. --Start Damage Function--
  258. -------------------------------------------------------
  259. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  260. if hit.Parent == nil then
  261. return
  262. end
  263. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  264. for _, v in pairs(hit.Parent:children()) do
  265. if v:IsA("Humanoid") then
  266. h = v
  267. end
  268. end
  269. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  270.  
  271. hit.Parent:FindFirstChild("Head"):BreakJoints()
  272. end
  273.  
  274. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  275. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  276. if hit.Parent.DebounceHit.Value == true then
  277. return
  278. end
  279. end
  280. if insta == true then
  281. hit.Parent:FindFirstChild("Head"):BreakJoints()
  282. end
  283. local c = Create("ObjectValue"){
  284. Name = "creator",
  285. Value = game:service("Players").LocalPlayer,
  286. Parent = h,
  287. }
  288. game:GetService("Debris"):AddItem(c, .5)
  289. if HitSound ~= nil and HitPitch ~= nil then
  290. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  291. end
  292. local Damage = math.random(minim, maxim)
  293. local blocked = false
  294. local block = hit.Parent:findFirstChild("Block")
  295. if block ~= nil then
  296. if block.className == "IntValue" then
  297. if block.Value > 0 then
  298. blocked = true
  299. block.Value = block.Value - 1
  300. print(block.Value)
  301. end
  302. end
  303. end
  304. if blocked == false then
  305. h.Health = h.Health - Damage
  306. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  307. else
  308. h.Health = h.Health - (Damage / 2)
  309. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  310. end
  311. if Type == "Knockdown" then
  312. local hum = hit.Parent.Humanoid
  313. hum.PlatformStand = true
  314. coroutine.resume(coroutine.create(function(HHumanoid)
  315. swait(1)
  316. HHumanoid.PlatformStand = false
  317. end), hum)
  318. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  319. local bodvol = Create("BodyVelocity"){
  320. velocity = angle * knockback,
  321. P = 5000,
  322. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  323. Parent = hit,
  324. }
  325. local rl = Create("BodyAngularVelocity"){
  326. P = 3000,
  327. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  328. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  329. Parent = hit,
  330. }
  331. game:GetService("Debris"):AddItem(bodvol, .5)
  332. game:GetService("Debris"):AddItem(rl, .5)
  333. elseif Type == "Normal" then
  334. local vp = Create("BodyVelocity"){
  335. P = 500,
  336. maxForce = Vector3.new(math.huge, 0, math.huge),
  337. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  338. }
  339. if knockback > 0 then
  340. vp.Parent = hit.Parent.Torso
  341. end
  342. game:GetService("Debris"):AddItem(vp, .5)
  343. elseif Type == "Up" then
  344. local bodyVelocity = Create("BodyVelocity"){
  345. velocity = Vector3.new(0, 20, 0),
  346. P = 5000,
  347. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  348. Parent = hit,
  349. }
  350. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  351. elseif Type == "DarkUp" then
  352. coroutine.resume(coroutine.create(function()
  353. for i = 0, 1, 0.1 do
  354. swait()
  355. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  356. end
  357. end))
  358. local bodyVelocity = Create("BodyVelocity"){
  359. velocity = Vector3.new(0, 20, 0),
  360. P = 5000,
  361. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  362. Parent = hit,
  363. }
  364. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  365. elseif Type == "Snare" then
  366. local bp = Create("BodyPosition"){
  367. P = 2000,
  368. D = 100,
  369. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  370. position = hit.Parent.Torso.Position,
  371. Parent = hit.Parent.Torso,
  372. }
  373. game:GetService("Debris"):AddItem(bp, 1)
  374. elseif Type == "Freeze" then
  375. local BodPos = Create("BodyPosition"){
  376. P = 50000,
  377. D = 1000,
  378. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  379. position = hit.Parent.Torso.Position,
  380. Parent = hit.Parent.Torso,
  381. }
  382. local BodGy = Create("BodyGyro") {
  383. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  384. P = 20e+003,
  385. Parent = hit.Parent.Torso,
  386. cframe = hit.Parent.Torso.CFrame,
  387. }
  388. hit.Parent.Torso.Anchored = true
  389. coroutine.resume(coroutine.create(function(Part)
  390. swait(1.5)
  391. Part.Anchored = false
  392. end), hit.Parent.Torso)
  393. game:GetService("Debris"):AddItem(BodPos, 3)
  394. game:GetService("Debris"):AddItem(BodGy, 3)
  395. end
  396. local debounce = Create("BoolValue"){
  397. Name = "DebounceHit",
  398. Parent = hit.Parent,
  399. Value = true,
  400. }
  401. game:GetService("Debris"):AddItem(debounce, Delay)
  402. c = Create("ObjectValue"){
  403. Name = "creator",
  404. Value = Player,
  405. Parent = h,
  406. }
  407. game:GetService("Debris"):AddItem(c, .5)
  408. end
  409. end
  410. -------------------------------------------------------
  411. --End Damage Function--
  412. -------------------------------------------------------
  413.  
  414. -------------------------------------------------------
  415. --Start Damage Function Customization--
  416. -------------------------------------------------------
  417. function ShowDamage(Pos, Text, Time, Color)
  418. local Rate = (1 / 30)
  419. local Pos = (Pos or Vector3.new(0, 0, 0))
  420. local Text = (Text or "")
  421. local Time = (Time or 2)
  422. local Color = (Color or Color3.new(1, 0, 1))
  423. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  424. EffectPart.Anchored = true
  425. local BillboardGui = Create("BillboardGui"){
  426. Size = UDim2.new(3, 0, 3, 0),
  427. Adornee = EffectPart,
  428. Parent = EffectPart,
  429. }
  430. local TextLabel = Create("TextLabel"){
  431. BackgroundTransparency = 1,
  432. Size = UDim2.new(1, 0, 1, 0),
  433. Text = Text,
  434. Font = "Bodoni",
  435. TextColor3 = Color,
  436. TextScaled = true,
  437. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  438. Parent = BillboardGui,
  439. }
  440. game.Debris:AddItem(EffectPart, (Time))
  441. EffectPart.Parent = game:GetService("Workspace")
  442. delay(0, function()
  443. local Frames = (Time / Rate)
  444. for Frame = 1, Frames do
  445. wait(Rate)
  446. local Percent = (Frame / Frames)
  447. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  448. TextLabel.TextTransparency = Percent
  449. end
  450. if EffectPart and EffectPart.Parent then
  451. EffectPart:Destroy()
  452. end
  453. end)
  454. end
  455. -------------------------------------------------------
  456. --End Damage Function Customization--
  457. -------------------------------------------------------
  458.  
  459. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  460. for _, c in pairs(workspace:children()) do
  461. local hum = c:findFirstChild("Humanoid")
  462. if hum ~= nil then
  463. local head = c:findFirstChild("Head")
  464. if head ~= nil then
  465. local targ = head.Position - Part.Position
  466. local mag = targ.magnitude
  467. if magni >= mag and c.Name ~= plr.Name then
  468. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  469. end
  470. end
  471. end
  472. end
  473. end
  474.  
  475.  
  476. CFuncs = {
  477. Part = {
  478. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  479. local Part = Create("Part")({
  480. Parent = Parent,
  481. Reflectance = Reflectance,
  482. Transparency = Transparency,
  483. CanCollide = false,
  484. Locked = true,
  485. BrickColor = BrickColor.new(tostring(BColor)),
  486. Name = Name,
  487. Size = Size,
  488. Material = Material
  489. })
  490. RemoveOutlines(Part)
  491. return Part
  492. end
  493. },
  494. Mesh = {
  495. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  496. local Msh = Create(Mesh)({
  497. Parent = Part,
  498. Offset = OffSet,
  499. Scale = Scale
  500. })
  501. if Mesh == "SpecialMesh" then
  502. Msh.MeshType = MeshType
  503. Msh.MeshId = MeshId
  504. end
  505. return Msh
  506. end
  507. },
  508. Mesh = {
  509. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  510. local Msh = Create(Mesh)({
  511. Parent = Part,
  512. Offset = OffSet,
  513. Scale = Scale
  514. })
  515. if Mesh == "SpecialMesh" then
  516. Msh.MeshType = MeshType
  517. Msh.MeshId = MeshId
  518. end
  519. return Msh
  520. end
  521. },
  522. Weld = {
  523. Create = function(Parent, Part0, Part1, C0, C1)
  524. local Weld = Create("Weld")({
  525. Parent = Parent,
  526. Part0 = Part0,
  527. Part1 = Part1,
  528. C0 = C0,
  529. C1 = C1
  530. })
  531. return Weld
  532. end
  533. },
  534. Sound = {
  535. Create = function(id, par, vol, pit)
  536. coroutine.resume(coroutine.create(function()
  537. local S = Create("Sound")({
  538. Volume = vol,
  539. Pitch = pit or 1,
  540. SoundId = id,
  541. Parent = par or workspace
  542. })
  543. wait()
  544. S:play()
  545. game:GetService("Debris"):AddItem(S, 6)
  546. end))
  547. end
  548. },
  549. ParticleEmitter = {
  550. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  551. local fp = Create("ParticleEmitter")({
  552. Parent = Parent,
  553. Color = ColorSequence.new(Color1, Color2),
  554. LightEmission = LightEmission,
  555. Size = Size,
  556. Texture = Texture,
  557. Transparency = Transparency,
  558. ZOffset = ZOffset,
  559. Acceleration = Accel,
  560. Drag = Drag,
  561. LockedToPart = LockedToPart,
  562. VelocityInheritance = VelocityInheritance,
  563. EmissionDirection = EmissionDirection,
  564. Enabled = Enabled,
  565. Lifetime = LifeTime,
  566. Rate = Rate,
  567. Rotation = Rotation,
  568. RotSpeed = RotSpeed,
  569. Speed = Speed,
  570. VelocitySpread = VelocitySpread
  571. })
  572. return fp
  573. end
  574. }
  575. }
  576. function RemoveOutlines(part)
  577. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  578. end
  579. function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  580. local Part = Create("Part")({
  581. formFactor = FormFactor,
  582. Parent = Parent,
  583. Reflectance = Reflectance,
  584. Transparency = Transparency,
  585. CanCollide = false,
  586. Locked = true,
  587. BrickColor = BrickColor.new(tostring(BColor)),
  588. Name = Name,
  589. Size = Size,
  590. Material = Material
  591. })
  592. RemoveOutlines(Part)
  593. return Part
  594. end
  595. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  596. local NEWPART = IT("Part")
  597. NEWPART.formFactor = FORMFACTOR
  598. NEWPART.Reflectance = REFLECTANCE
  599. NEWPART.Transparency = TRANSPARENCY
  600. NEWPART.CanCollide = false
  601. NEWPART.Locked = true
  602. NEWPART.Anchored = true
  603. if ANCHOR == false then
  604. NEWPART.Anchored = false
  605. end
  606. NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
  607. NEWPART.Name = NAME
  608. NEWPART.Size = SIZE
  609. NEWPART.Position = tors.Position
  610. NEWPART.Material = MATERIAL
  611. NEWPART:BreakJoints()
  612. NEWPART.Parent = PARENT
  613. return NEWPART
  614. end
  615. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  616. local Msh = Create(Mesh)({
  617. Parent = Part,
  618. Offset = OffSet,
  619. Scale = Scale
  620. })
  621. if Mesh == "SpecialMesh" then
  622. Msh.MeshType = MeshType
  623. Msh.MeshId = MeshId
  624. end
  625. return Msh
  626. end
  627. function CreateWeld(Parent, Part0, Part1, C0, C1)
  628. local Weld = Create("Weld")({
  629. Parent = Parent,
  630. Part0 = Part0,
  631. Part1 = Part1,
  632. C0 = C0,
  633. C1 = C1
  634. })
  635. return Weld
  636. end
  637.  
  638.  
  639. -------------------------------------------------------
  640. --Start Effect Function--
  641. -------------------------------------------------------
  642. EffectModel = Instance.new("Model", char)
  643. Effects = {
  644. Block = {
  645. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  646. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  647. prt.Anchored = true
  648. prt.CFrame = cframe
  649. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  650. game:GetService("Debris"):AddItem(prt, 10)
  651. if Type == 1 or Type == nil then
  652. table.insert(Effects, {
  653. prt,
  654. "Block1",
  655. delay,
  656. x3,
  657. y3,
  658. z3,
  659. msh
  660. })
  661. elseif Type == 2 then
  662. table.insert(Effects, {
  663. prt,
  664. "Block2",
  665. delay,
  666. x3,
  667. y3,
  668. z3,
  669. msh
  670. })
  671. else
  672. table.insert(Effects, {
  673. prt,
  674. "Block3",
  675. delay,
  676. x3,
  677. y3,
  678. z3,
  679. msh
  680. })
  681. end
  682. end
  683. },
  684. Sphere = {
  685. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  686. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  687. prt.Anchored = true
  688. prt.CFrame = cframe
  689. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  690. game:GetService("Debris"):AddItem(prt, 10)
  691. table.insert(Effects, {
  692. prt,
  693. "Cylinder",
  694. delay,
  695. x3,
  696. y3,
  697. z3,
  698. msh
  699. })
  700. end
  701. },
  702. Cylinder = {
  703. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  704. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  705. prt.Anchored = true
  706. prt.CFrame = cframe
  707. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  708. game:GetService("Debris"):AddItem(prt, 10)
  709. table.insert(Effects, {
  710. prt,
  711. "Cylinder",
  712. delay,
  713. x3,
  714. y3,
  715. z3,
  716. msh
  717. })
  718. end
  719. },
  720. Wave = {
  721. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  722. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  723. prt.Anchored = true
  724. prt.CFrame = cframe
  725. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  726. game:GetService("Debris"):AddItem(prt, 10)
  727. table.insert(Effects, {
  728. prt,
  729. "Cylinder",
  730. delay,
  731. x3 / 60,
  732. y3 / 60,
  733. z3 / 60,
  734. msh
  735. })
  736. end
  737. },
  738. Ring = {
  739. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  740. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  741. prt.Anchored = true
  742. prt.CFrame = cframe
  743. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  744. game:GetService("Debris"):AddItem(prt, 10)
  745. table.insert(Effects, {
  746. prt,
  747. "Cylinder",
  748. delay,
  749. x3,
  750. y3,
  751. z3,
  752. msh
  753. })
  754. end
  755. },
  756. Break = {
  757. Create = function(brickcolor, cframe, x1, y1, z1)
  758. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  759. prt.Anchored = true
  760. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  761. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  762. local num = math.random(10, 50) / 1000
  763. game:GetService("Debris"):AddItem(prt, 10)
  764. table.insert(Effects, {
  765. prt,
  766. "Shatter",
  767. num,
  768. prt.CFrame,
  769. math.random() - math.random(),
  770. 0,
  771. math.random(50, 100) / 100
  772. })
  773. end
  774. },
  775. Spiral = {
  776. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  777. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  778. prt.Anchored = true
  779. prt.CFrame = cframe
  780. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  781. game:GetService("Debris"):AddItem(prt, 10)
  782. table.insert(Effects, {
  783. prt,
  784. "Cylinder",
  785. delay,
  786. x3,
  787. y3,
  788. z3,
  789. msh
  790. })
  791. end
  792. },
  793. Push = {
  794. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  795. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  796. prt.Anchored = true
  797. prt.CFrame = cframe
  798. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  799. game:GetService("Debris"):AddItem(prt, 10)
  800. table.insert(Effects, {
  801. prt,
  802. "Cylinder",
  803. delay,
  804. x3,
  805. y3,
  806. z3,
  807. msh
  808. })
  809. end
  810. }
  811. }
  812. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  813. local fp = IT("Part")
  814. fp.formFactor = formfactor
  815. fp.Parent = parent
  816. fp.Reflectance = reflectance
  817. fp.Transparency = transparency
  818. fp.CanCollide = false
  819. fp.Locked = true
  820. fp.BrickColor = brickcolor
  821. fp.Name = name
  822. fp.Size = size
  823. fp.Position = tors.Position
  824. RemoveOutlines(fp)
  825. fp.Material = "SmoothPlastic"
  826. fp:BreakJoints()
  827. return fp
  828. end
  829.  
  830. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  831. local mesh = IT(Mesh)
  832. mesh.Parent = part
  833. if Mesh == "SpecialMesh" then
  834. mesh.MeshType = meshtype
  835. if meshid ~= "nil" then
  836. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  837. end
  838. end
  839. mesh.Offset = offset
  840. mesh.Scale = scale
  841. return mesh
  842. end
  843.  
  844. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  845. local type = type
  846. local rng = Instance.new("Part", char)
  847. rng.Anchored = true
  848. rng.BrickColor = color
  849. rng.CanCollide = false
  850. rng.FormFactor = 3
  851. rng.Name = "Ring"
  852. rng.Material = "Neon"
  853. rng.Size = Vector3.new(1, 1, 1)
  854. rng.Transparency = 0
  855. rng.TopSurface = 0
  856. rng.BottomSurface = 0
  857. rng.CFrame = pos
  858. local rngm = Instance.new("SpecialMesh", rng)
  859. rngm.MeshType = MType
  860. rngm.Scale = scale
  861. local scaler2 = 1
  862. if type == "Add" then
  863. scaler2 = 1 * value
  864. elseif type == "Divide" then
  865. scaler2 = 1 / value
  866. end
  867. coroutine.resume(coroutine.create(function()
  868. for i = 0, 10 / bonuspeed, 0.1 do
  869. swait()
  870. if type == "Add" then
  871. scaler2 = scaler2 - 0.01 * value / bonuspeed
  872. elseif type == "Divide" then
  873. scaler2 = scaler2 - 0.01 / value * bonuspeed
  874. end
  875. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  876. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  877. end
  878. rng:Destroy()
  879. end))
  880. end
  881.  
  882. function Eviscerate(dude)
  883. if dude.Name ~= char then
  884. local bgf = IT("BodyGyro", dude.Head)
  885. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  886. local val = IT("BoolValue", dude)
  887. val.Name = "IsHit"
  888. local ds = coroutine.wrap(function()
  889. dude:WaitForChild("Head"):BreakJoints()
  890. wait(0.5)
  891. target = nil
  892. coroutine.resume(coroutine.create(function()
  893. for i, v in pairs(dude:GetChildren()) do
  894. if v:IsA("Accessory") then
  895. v:Destroy()
  896. end
  897. if v:IsA("Humanoid") then
  898. v:Destroy()
  899. end
  900. if v:IsA("CharacterMesh") then
  901. v:Destroy()
  902. end
  903. if v:IsA("Model") then
  904. v:Destroy()
  905. end
  906. if v:IsA("Part") or v:IsA("MeshPart") then
  907. for x, o in pairs(v:GetChildren()) do
  908. if o:IsA("Decal") then
  909. o:Destroy()
  910. end
  911. end
  912. coroutine.resume(coroutine.create(function()
  913. v.Material = "Neon"
  914. v.CanCollide = false
  915. local PartEmmit1 = IT("ParticleEmitter", v)
  916. PartEmmit1.LightEmission = 1
  917. PartEmmit1.Texture = "rbxassetid://284205403"
  918. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  919. PartEmmit1.Rate = 150
  920. PartEmmit1.Lifetime = NumberRange.new(1)
  921. PartEmmit1.Size = NumberSequence.new({
  922. NumberSequenceKeypoint.new(0, 0.75, 0),
  923. NumberSequenceKeypoint.new(1, 0, 0)
  924. })
  925. PartEmmit1.Transparency = NumberSequence.new({
  926. NumberSequenceKeypoint.new(0, 0, 0),
  927. NumberSequenceKeypoint.new(1, 1, 0)
  928. })
  929. PartEmmit1.Speed = NumberRange.new(0, 0)
  930. PartEmmit1.VelocitySpread = 30000
  931. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  932. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  933. local BodPoss = IT("BodyPosition", v)
  934. BodPoss.P = 3000
  935. BodPoss.D = 1000
  936. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  937. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  938. v.Color = maincolor.Color
  939. coroutine.resume(coroutine.create(function()
  940. for i = 0, 49 do
  941. swait(1)
  942. v.Transparency = v.Transparency + 0.08
  943. end
  944. wait(0.5)
  945. PartEmmit1.Enabled = false
  946. wait(3)
  947. v:Destroy()
  948. dude:Destroy()
  949. end))
  950. end))
  951. end
  952. end
  953. end))
  954. end)
  955. ds()
  956. end
  957. end
  958.  
  959. function FindNearestHead(Position, Distance, SinglePlayer)
  960. if SinglePlayer then
  961. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  962. end
  963. local List = {}
  964. for i, v in pairs(workspace:GetChildren()) do
  965. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  966. table.insert(List, v)
  967. end
  968. end
  969. return List
  970. end
  971.  
  972. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  973. local type = type
  974. local rng = Instance.new("Part", char)
  975. rng.Anchored = true
  976. rng.BrickColor = color
  977. rng.CanCollide = false
  978. rng.FormFactor = 3
  979. rng.Name = "Ring"
  980. rng.Material = "Neon"
  981. rng.Size = Vector3.new(1, 1, 1)
  982. rng.Transparency = 0
  983. rng.TopSurface = 0
  984. rng.BottomSurface = 0
  985. rng.CFrame = pos
  986. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  987. local rngm = Instance.new("SpecialMesh", rng)
  988. rngm.MeshType = MType
  989. rngm.Scale = Vector3.new(x1, y1, z1)
  990. local scaler2 = 1
  991. local speeder = FastSpeed
  992. if type == "Add" then
  993. scaler2 = 1 * value
  994. elseif type == "Divide" then
  995. scaler2 = 1 / value
  996. end
  997. coroutine.resume(coroutine.create(function()
  998. for i = 0, 10 / bonuspeed, 0.1 do
  999. swait()
  1000. if type == "Add" then
  1001. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1002. elseif type == "Divide" then
  1003. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1004. end
  1005. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1006. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1007. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1008. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1009. end
  1010. rng:Destroy()
  1011. end))
  1012. end
  1013.  
  1014. function SoulSteal(dude)
  1015. if dude.Name ~= char then
  1016. local bgf = IT("BodyGyro", dude.Head)
  1017. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1018. local val = IT("BoolValue", dude)
  1019. val.Name = "IsHit"
  1020. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1021. local soulst = coroutine.wrap(function()
  1022. local soul = Instance.new("Part",dude)
  1023. soul.Size = Vector3.new(1,1,1)
  1024. soul.CanCollide = false
  1025. soul.Anchored = false
  1026. soul.Position = torso.Position
  1027. soul.Transparency = 1
  1028. local PartEmmit1 = IT("ParticleEmitter", soul)
  1029. PartEmmit1.LightEmission = 1
  1030. PartEmmit1.Texture = "rbxassetid://569507414"
  1031. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1032. PartEmmit1.Rate = 250
  1033. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1034. PartEmmit1.Size = NumberSequence.new({
  1035. NumberSequenceKeypoint.new(0, 1, 0),
  1036. NumberSequenceKeypoint.new(1, 0, 0)
  1037. })
  1038. PartEmmit1.Transparency = NumberSequence.new({
  1039. NumberSequenceKeypoint.new(0, 0, 0),
  1040. NumberSequenceKeypoint.new(1, 1, 0)
  1041. })
  1042. PartEmmit1.Speed = NumberRange.new(0, 0)
  1043. PartEmmit1.VelocitySpread = 30000
  1044. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1045. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1046. local BodPoss = IT("BodyPosition", soul)
  1047. BodPoss.P = 3000
  1048. BodPoss.D = 1000
  1049. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1050. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1051. wait(1.6)
  1052. soul.Touched:connect(function(hit)
  1053. if hit.Parent == char then
  1054. soul:Destroy()
  1055. end
  1056. end)
  1057. wait(1.2)
  1058. while soul do
  1059. swait()
  1060. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1061. BodPoss.Position = tors.Position
  1062. end
  1063. end)
  1064. soulst()
  1065. end
  1066. end
  1067. function FaceMouse()
  1068. local Cam = workspace.CurrentCamera
  1069. return {
  1070. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1071. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1072. }
  1073. end
  1074. -------------------------------------------------------
  1075. --End Effect Function--
  1076. -------------------------------------------------------
  1077. function Cso(ID, PARENT, VOLUME, PITCH)
  1078. local NSound = nil
  1079. coroutine.resume(coroutine.create(function()
  1080. NSound = IT("Sound", PARENT)
  1081. NSound.Volume = VOLUME
  1082. NSound.Pitch = PITCH
  1083. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1084. swait()
  1085. NSound:play()
  1086. game:GetService("Debris"):AddItem(NSound, 10)
  1087. end))
  1088. return NSound
  1089. end
  1090. function CameraEnshaking(Length, Intensity)
  1091. coroutine.resume(coroutine.create(function()
  1092. local intensity = 1 * Intensity
  1093. local rotM = 0.01 * Intensity
  1094. for i = 0, Length, 0.1 do
  1095. swait()
  1096. intensity = intensity - 0.05 * Intensity / Length
  1097. rotM = rotM - 5.0E-4 * Intensity / Length
  1098. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1099. 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)
  1100. end
  1101. hum.CameraOffset = Vector3.new(0, 0, 0)
  1102. end))
  1103. end
  1104.  
  1105. local Particle = IT("ParticleEmitter",nil)
  1106. Particle.Enabled = false
  1107. --Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  1108. Particle.LightEmission = 0.5
  1109. Particle.Rate = 150
  1110. Particle.ZOffset = 1
  1111. Particle.Rotation = NumberRange.new(-180, 180)
  1112. Particle.RotSpeed = NumberRange.new(-180, 180)
  1113. Particle.Texture = "http://www.roblox.com/asset/?id=284205403"
  1114. Particle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
  1115.  
  1116. function ParticleEmitter(Table)
  1117. local PRTCL = Particle:Clone()
  1118. local Speed = Table.Speed or 5
  1119. local Drag = Table.Drag or 0
  1120. local Size1 = Table.Size1 or 1
  1121. local Size2 = Table.Size2 or 5
  1122. local Lifetime1 = Table.Lifetime1 or 1
  1123. local Lifetime2 = Table.Lifetime2 or 1.5
  1124. local Parent = Table.Parent or tors
  1125. local Emit = Table.Emit or 100
  1126. local Offset = Table.Offset or 360
  1127. local Acel = Table.Acel or Vector3.new(0,-50,0)
  1128. local Enabled = Table.Enabled or false
  1129. PRTCL.Parent = Parent
  1130. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1131. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1132. PRTCL.Speed = NumberRange.new(Speed)
  1133. PRTCL.VelocitySpread = Offset
  1134. PRTCL.Drag = Drag
  1135. PRTCL.Acceleration = Acel
  1136. if Enabled == false then
  1137. PRTCL:Emit(Emit)
  1138. game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
  1139. else
  1140. PRTCL.Enabled = true
  1141. end
  1142. return PRTCL
  1143. end
  1144. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = rl, Emit = 900, Offset = 360, Enabled = true})
  1145. --PRT.LockedToPart = true
  1146. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = ll, Emit = 900, Offset = 360, Enabled = true})
  1147. --PRT.LockedToPart = true
  1148. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = tors, Emit = 900, Offset = 360, Enabled = true})
  1149. --PRT.LockedToPart = true
  1150. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = ra, Emit = 900, Offset = 360, Enabled = true})
  1151. --PRT.LockedToPart = true
  1152. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = la, Emit = 900, Offset = 360, Enabled = true})
  1153. --PRT.LockedToPart = true
  1154. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1155. local NEWWELD = IT(TYPE)
  1156. NEWWELD.Part0 = PART0
  1157. NEWWELD.Part1 = PART1
  1158. NEWWELD.C0 = C0
  1159. NEWWELD.C1 = C1
  1160. NEWWELD.Parent = PARENT
  1161. return NEWWELD
  1162. end
  1163.  
  1164. function MakeForm(PART,TYPE)
  1165. local MSH = nil
  1166. if TYPE == "Cyl" then
  1167. MSH = IT("CylinderMesh",PART)
  1168. elseif TYPE == "Ball" then
  1169. MSH = IT("SpecialMesh",PART)
  1170. MSH.MeshType = "Sphere"
  1171. elseif TYPE == "Wedge" then
  1172. MSH = IT("SpecialMesh",PART)
  1173. MSH.MeshType = "Wedge"
  1174. elseif TYPE == "Block" then
  1175. MSH = IT("SpecialMesh",PART)
  1176. MSH.MeshType = "Brick"
  1177. end
  1178. return MSH
  1179. end
  1180.  
  1181. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1182. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1183. end
  1184.  
  1185. function Sink(position,radius)
  1186. for i,v in ipairs(workspace:GetChildren()) do
  1187. if v:FindFirstChild("Hit2By"..plr.Name) == nil then
  1188. local body = v:GetChildren()
  1189. for part = 1, #body do
  1190. if(v:FindFirstChild("Hit2By"..plr.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= char) then
  1191. if(body[part].Position - position).Magnitude < radius then
  1192. if v.ClassName == "Model" then
  1193. v:FindFirstChildOfClass("Humanoid").Name = "Humanoid"
  1194. if v:FindFirstChild("Humanoid") then
  1195. local defence = Instance.new("BoolValue",v)
  1196. defence.Name = ("Hit2By"..plr.Name)
  1197. if v.Humanoid.Health ~= 0 then
  1198. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1199. if TORS ~= nil then
  1200. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + Vector3.new(0, -1, 0))).lookVector, 25 * TORS.Size.Y/2, v)
  1201. coroutine.resume(coroutine.create(function()
  1202. if HITFLOOR2 ~= nil then
  1203. TORS.Anchored = true
  1204. local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4))
  1205. Hole2.Color = Color3.new(0,0,0)
  1206. local MESH = MakeForm(Hole2,"Cyl")
  1207. MESH.Scale = Vector3.new(0,1,0)
  1208. Hole2.CFrame = CF(HITPOS2)
  1209. for i = 1, 10 do
  1210. swait()
  1211. MESH.Scale = MESH.Scale + Vector3.new(0.1,0,0.1)
  1212. end
  1213. --Cso("160440683", v:FindFirstChild("Head"), 10, .8)
  1214. Cso("154955269", v:FindFirstChild("Head"), 10, 1)
  1215. repeat
  1216. swait()
  1217. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  1218. --MESH.Scale = MESH.Scale + Vector3.new(0,1.6,0)
  1219. until TORS.Position.Y<position.Y-4
  1220. v:remove()
  1221. for i = 1, 10 do
  1222. swait()
  1223. MESH.Scale = MESH.Scale - Vector3.new(0.1,0,0.1)
  1224. end
  1225. Hole2:remove()
  1226. end
  1227. end))
  1228. end
  1229. end
  1230. end
  1231. end
  1232. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1233. end
  1234. end
  1235. end
  1236. end
  1237. end
  1238. end
  1239. function Trail(Part)
  1240. local TRAIL = Part:Clone()
  1241. TRAIL.CanCollide = false
  1242. TRAIL.Anchored = true
  1243. TRAIL.Parent = EffectModel
  1244. TRAIL.Name = "Trail"
  1245. local TRANS = Part.Transparency
  1246. coroutine.resume(coroutine.create(function()
  1247. for i = 1, 20 do
  1248. swait()
  1249. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  1250. end
  1251. TRAIL:remove()
  1252. end))
  1253. end
  1254. function getRegion(point,range,ignore)
  1255. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
  1256. end
  1257.  
  1258. function GetTorso(char)
  1259. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1260. end
  1261.  
  1262. 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}
  1263.  
  1264. NewInstance = function(instance,parent,properties)
  1265. local inst = Instance.new(instance)
  1266. inst.Parent = parent
  1267. if(properties)then
  1268. for i,v in next, properties do
  1269. pcall(function() inst[i] = v end)
  1270. end
  1271. end
  1272. return inst;
  1273. end
  1274.  
  1275. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1276. local part = Instance.new("Part")
  1277. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0)
  1278. part.Material = material or Enum.Material.SmoothPlastic
  1279. part.TopSurface,part.BottomSurface=10,10
  1280. part.Size = size or Vector3.new(1,1,1)
  1281. part.CFrame = cframe or CF(0,0,0)
  1282. part.Anchored = anchored or true
  1283. part.CanCollide = cancollide or false
  1284. part.Parent = parent or char
  1285. return part
  1286. end
  1287. -------------------------------------------------------
  1288. --End Important Functions--
  1289. -------------------------------------------------------
  1290.  
  1291.  
  1292. -------------------------------------------------------
  1293. --Start Customization--
  1294. -------------------------------------------------------
  1295. local Player_Size = 1
  1296. if Player_Size ~= 1 then
  1297. root.Size = root.Size * Player_Size
  1298. tors.Size = tors.Size * Player_Size
  1299. hed.Size = hed.Size * Player_Size
  1300. ra.Size = ra.Size * Player_Size
  1301. la.Size = la.Size * Player_Size
  1302. rl.Size = rl.Size * Player_Size
  1303. ll.Size = ll.Size * Player_Size
  1304. ----------------------------------------------------------------------------------
  1305. rootj.Parent = root
  1306. neck.Parent = tors
  1307. RW.Parent = tors
  1308. LW.Parent = tors
  1309. RH.Parent = tors
  1310. LH.Parent = tors
  1311. ----------------------------------------------------------------------------------
  1312. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1313. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1314. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1315. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1316. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1317. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1318. ----------------------------------------------------------------------------------
  1319. 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))
  1320. 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))
  1321. 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))
  1322. 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))
  1323. --hat.Parent = Character
  1324. end
  1325. ----------------------------------------------------------------------------------
  1326. local SONG = 660140936
  1327. local SONG2 = 0
  1328. local Music = Instance.new("Sound",tors)
  1329. Music.Volume = 2.5
  1330. Music.Looped = true
  1331. Music.Pitch = 1 --Pitcher
  1332. ----------------------------------------------------------------------------------
  1333. local equipped = false
  1334. local idle = 0
  1335. local change = 1
  1336. local val = 0
  1337. local toim = 0
  1338. local idleanim = 0.4
  1339. local sine = 0
  1340. local Sit = 1
  1341. local Mode = "Normal"
  1342. ----------------------------------------------------------------------------------
  1343. hum.WalkSpeed = 16
  1344. hum.JumpPower = 57
  1345. --hum.Animator.Parent = nil
  1346. ----------------------------------------------------------------------------------
  1347. local Hole = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(5,0,5))
  1348. local MESH = MakeForm(Hole,"Cyl")
  1349. local ROBLOXIDLEANIMATION = IT("Animation")
  1350. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1351. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1352. local ANIMATOR = hum.Animator
  1353. local ANIMATE = char.Animate
  1354. -------------------------------------------------------
  1355. --End Customization--
  1356. -------------------------------------------------------
  1357.  
  1358.  
  1359. -------------------------------------------------------
  1360. --Start Attacks N Stuff--
  1361. -------------------------------------------------------
  1362. function InkyWarp()
  1363. attack = true
  1364. attack = true
  1365. hum.WalkSpeed = 0
  1366. root.Anchored = true
  1367. for i = 0, 4, 0.1 do
  1368. swait()
  1369. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1370. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1371. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1372. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1373. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1374. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1375. end
  1376. for i = 0, 2, 0.1 do
  1377. swait()
  1378. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, -15 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1379. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1380. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1381. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1382. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1383. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1384. end
  1385. for i = 1, 50 do
  1386. swait()
  1387. Trail(Hole)
  1388. MESH.Scale = MESH.Scale - Vector3.new(0.02,0,0.02)
  1389. end
  1390. local ORIGINPOS = root.Position
  1391. root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  1392. Cso("154955269", tors, 10, .8)
  1393. for i = 1, 50 do
  1394. swait()
  1395. MESH.Scale = MESH.Scale + Vector3.new(0.02,0,0.02)
  1396. end
  1397. for i = 0, 4, 0.1 do
  1398. swait()
  1399. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1400. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1401. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1402. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1403. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1404. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1405. end
  1406. attack = false
  1407. hum.WalkSpeed = 16
  1408. root.Anchored = false
  1409. end
  1410.  
  1411. -------------------------------------------------------
  1412. --End Attacks N Stuff--
  1413. -------------------------------------------------------
  1414. mouse.KeyDown:connect(function(key)
  1415. if attack == false then
  1416. if key == 'z' then
  1417. InkyWarp()
  1418. elseif key == 'p' and Mode == "Normal" then
  1419. Mode = "Chase"
  1420. SONG = 1634663187
  1421. hum.WalkSpeed = 28
  1422. elseif key == 'p' and Mode == "Chase" then
  1423. Mode = "Normal"
  1424. SONG = 660140936
  1425. hum.WalkSpeed = 16
  1426. end
  1427. end
  1428. end)
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437. -------------------------------------------------------
  1438. --Start Animations--
  1439. -------------------------------------------------------
  1440. print("By Makhail07")
  1441. coroutine.resume(coroutine.create(function()
  1442. while wait() do
  1443. if hitfloor ~= nil then
  1444. Hole.CFrame = CF(posfloor)
  1445. end
  1446. Sink(Hole.Position, Hole.Size.X/2.2 * MESH.Scale.X)
  1447. Hole.Color = Color3.new(0,0,0)
  1448. Trail(Hole)
  1449. end
  1450. end))
  1451. while true do
  1452. swait()
  1453. sine = sine + change
  1454. ANIMATE.Parent = nil
  1455. local IDLEANIMATION = hum:LoadAnimation(ROBLOXIDLEANIMATION)
  1456. IDLEANIMATION:Play()
  1457. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1458. local velderp = root.Velocity.y
  1459. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4 * Player_Size, char)
  1460. if equipped == true or equipped == false then
  1461. if attack == false then
  1462. idle = idle + 1
  1463. else
  1464. idle = 0
  1465. end
  1466. if 1 < root.Velocity.y and hitfloor == nil then
  1467. Anim = "Jump"
  1468. if attack == false then
  1469. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1470. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1471. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1472. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1473. 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)
  1474. 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)
  1475. end
  1476. elseif -1 > root.Velocity.y and hitfloor == nil then
  1477. Anim = "Fall"
  1478. if attack == false then
  1479. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(15), Rad(0), Rad(0)), 0.15)
  1480. 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)
  1481. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-9.5), Rad(0), Rad(20)), 0.15)
  1482. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.4 - 0.1 * Cos(sine / 20)* Player_Size, -.5* Player_Size) * LHCF * angles(Rad(-9.5), Rad(0), Rad(20)), 0.15)
  1483. 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(75 + 4.5 * Sin(sine / 20))), 0.1)
  1484. 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(-75 - 4.5 * Sin(sine / 20))), 0.1)
  1485. end
  1486. elseif torvel < 1 and hitfloor ~= nil then
  1487. Anim = "Idle"
  1488. change = 1
  1489. if attack == false then
  1490. if Mode == "Normal" then
  1491. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1492. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1493. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1494. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1495. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1496. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1497. elseif Mode == "Chase" then
  1498. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1499. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Cos(sine / 12)), Rad(10), Rad(0)), 0.3)
  1500. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1501. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1502. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(5)), 0.1)
  1503. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-5)), 0.1)
  1504. end
  1505. end
  1506. elseif (tors.Velocity).magnitude < 200 and hitfloor ~= nil then
  1507. Anim = "Walk"
  1508. change = 1.1
  1509. if attack == false then
  1510. if Mode == "Normal" then
  1511. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.13 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15)
  1512. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1513. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1514. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1515. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(10) - ra.RotVelocity.Y / 75), 0.1)
  1516. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  1517. elseif Mode == "Chase" then
  1518. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.13 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(17 + 8 * Cos(sine / 7))), 0.15)
  1519. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(-17) - hed.RotVelocity.Y / 15), 0.3)
  1520. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1521. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1522. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(90) , Rad(10 * Cos(sine / 7)), Rad(28) - ra.RotVelocity.Y / 75), 0.1)
  1523. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  1524. end
  1525. end
  1526. end
  1527. end
  1528. for _, c in pairs(char:GetDescendants()) do
  1529. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1530. c.Material = "Neon"
  1531. c.Color = Color3.new(0,0,0)
  1532. if c:FindFirstChildOfClass("SpecialMesh") then
  1533. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1534. end
  1535. if c == hed then
  1536. if c:FindFirstChild("face") then
  1537. c.face:remove()
  1538. end
  1539. end
  1540. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1541. c.Color = Color3.new(1,0,0)
  1542. c.Material = "Neon"
  1543. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1544. c:remove()
  1545. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1546. c:remove()
  1547. end
  1548. end
  1549. Music.SoundId = "rbxassetid://"..SONG
  1550. Music.Looped = true
  1551. Music.Pitch = 1
  1552. Music.Volume = 5
  1553. Music.Parent = tors
  1554. Music:Resume()
  1555. if 0 < #Effects then
  1556. for e = 1, #Effects do
  1557. if Effects[e] ~= nil then
  1558. local Thing = Effects[e]
  1559. if Thing ~= nil then
  1560. local Part = Thing[1]
  1561. local Mode = Thing[2]
  1562. local Delay = Thing[3]
  1563. local IncX = Thing[4]
  1564. local IncY = Thing[5]
  1565. local IncZ = Thing[6]
  1566. if 1 >= Thing[1].Transparency then
  1567. if Thing[2] == "Block1" then
  1568. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1569. local Mesh = Thing[1].Mesh
  1570. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1571. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1572. elseif Thing[2] == "Block2" then
  1573. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1574. local Mesh = Thing[7]
  1575. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1576. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1577. elseif Thing[2] == "Block3" then
  1578. 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)
  1579. local Mesh = Thing[7]
  1580. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1581. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1582. elseif Thing[2] == "Cylinder" then
  1583. local Mesh = Thing[1].Mesh
  1584. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1585. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1586. elseif Thing[2] == "Blood" then
  1587. local Mesh = Thing[7]
  1588. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1589. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1590. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1591. elseif Thing[2] == "Elec" then
  1592. local Mesh = Thing[1].Mesh
  1593. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1594. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1595. elseif Thing[2] == "Disappear" then
  1596. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1597. elseif Thing[2] == "Shatter" then
  1598. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1599. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1600. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1601. Thing[6] = Thing[6] + Thing[5]
  1602. end
  1603. else
  1604. Part.Parent = nil
  1605. table.remove(Effects, e)
  1606. end
  1607. end
  1608. end
  1609. end
  1610. end
  1611. end
  1612. -------------------------------------------------------
  1613. --End Animations And Script--
  1614. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement