Advertisement
antgame11

Untitled

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