Advertisement
Void_scripter0

ink monster

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