Advertisement
Void_scripter0

Sky monster

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