SHARE
TWEET

vapor edit

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