SHARE
TWEET

Untitled

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