Advertisement
idkwhatiam

meme new

Apr 13th, 2019
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 50.47 KB | None | 0 0
  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. --TEH SCRIPT M8--
  89.  
  90. --hi fat
  91. --why did i make this? because I'm BORED.
  92. --also i took the base for this script from memeusv2 so if it's simular you know why
  93. wait()
  94. local Player = owner
  95. local Character = Player.Character
  96. local plr = owner
  97. local Humanoid = Character.Humanoid
  98. local char = plr.Character
  99. local hum = char.Humanoid
  100. local ra = char["Right Arm"]
  101. local la= char["Left Arm"]
  102. local rl= char["Right Leg"]
  103. local ll = char["Left Leg"]
  104. local hed = char.Head
  105. local root = char.HumanoidRootPart
  106. local rootj = root.RootJoint
  107. local tors = char.Torso
  108. local mouse = plr:GetMouse()
  109. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  110. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  111. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  112. local cam = game.Workspace.CurrentCamera
  113. trazx = Instance.new("ParticleEmitter")
  114. c = owner.Character
  115. local sine=0
  116. Character.Head.face.Texture = "rbxassetid://183225545"
  117.  
  118. -------------------------------------------------------
  119. --Start Good Stuff--
  120. -------------------------------------------------------
  121. CF = CFrame.new
  122. angles = CFrame.Angles
  123. attack = false
  124. timetofly = true
  125. Euler = CFrame.fromEulerAnglesXYZ
  126. Rad = math.rad
  127. IT = Instance.new
  128. BrickC = BrickColor.new
  129. Cos = math.cos
  130. Acos = math.acos
  131. Sin = math.sin
  132. Asin = math.asin
  133. Abs = math.abs
  134. Mrandom = math.random
  135. Floor = math.floor
  136. random = math.random
  137. radian = math.rad
  138. Vec3 = Vector3.new
  139. cFrame = CFrame.new
  140. Euler = CFrame.fromEulerAnglesXYZ
  141. -------------------------------------------------------
  142. --End Good Stuff--
  143. -------------------------------------------------------
  144. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  145. RSH, LSH = nil, nil
  146. RW = Instance.new("Weld")
  147. LW = Instance.new("Weld")
  148. RH = tors["Right Hip"]
  149. LH = tors["Left Hip"]
  150. RSH = tors["Right Shoulder"]
  151. LSH = tors["Left Shoulder"]
  152. RSH.Parent = nil
  153. LSH.Parent = nil
  154. RW.Name = "RW"
  155. RW.Part0 = tors
  156. RW.C0 = CF(1.5, 0.5, 0)
  157. RW.C1 = CF(0, 0.5, 0)
  158. RW.Part1 = ra
  159. RW.Parent = tors
  160. LW.Name = "LW"
  161. LW.Part0 = tors
  162. LW.C0 = CF(-1.5, 0.5, 0)
  163. LW.C1 = CF(0, 0.5, 0)
  164. LW.Part1 = la
  165. LW.Parent = tors
  166. Effects = {}
  167.  
  168. -------------------------------------------------------
  169. --Start HeartBeat--
  170. -------------------------------------------------------
  171. ArtificialHB = Instance.new("BindableEvent", script)
  172. ArtificialHB.Name = "Heartbeat"
  173. script:WaitForChild("Heartbeat")
  174.  
  175. frame = 1 / 60
  176. tf = 0
  177. allowframeloss = false
  178. tossremainder = false
  179.  
  180.  
  181. lastframe = tick()
  182. script.Heartbeat:Fire()
  183.  
  184.  
  185. game:GetService("RunService").Heartbeat:connect(function(s, p)
  186.     tf = tf + s
  187.     if tf >= frame then
  188.         if allowframeloss then
  189.             script.Heartbeat:Fire()
  190.             lastframe = tick()
  191.         else
  192.             for i = 1, math.floor(tf / frame) do
  193.                 script.Heartbeat:Fire()
  194.             end
  195.             lastframe = tick()
  196.         end
  197.         if tossremainder then
  198.             tf = 0
  199.         else
  200.             tf = tf - frame * math.floor(tf / frame)
  201.         end
  202.     end
  203. end)
  204. -------------------------------------------------------
  205. --End HeartBeat--
  206. -------------------------------------------------------
  207.  
  208. function CameraEnshaking(Length, Intensity) --Took Straight from StarGlitcher!
  209.     coroutine.resume(coroutine.create(function()
  210.         local intensity = 1 * Intensity
  211.         local rotM = 0.01 * Intensity
  212.         for i = 0, Length, 0.1 do
  213.             swait()
  214.             intensity = intensity - 0.05 * Intensity / Length
  215.             rotM = rotM - 5.0E-4 * Intensity / Length
  216.             hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  217.             cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  218.         end
  219.         Humanoid.CameraOffset = Vec3(0, 0, 0)
  220.     end))
  221. end
  222.  
  223.         local joyemoji = Instance.new('ParticleEmitter', tors)
  224.         joyemoji.VelocitySpread = 2000
  225.         joyemoji.Lifetime = NumberRange.new(1)
  226.         joyemoji.Speed = NumberRange.new(40)
  227. joy= {}
  228. for i=0, 19 do
  229.   joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  230. end
  231. joyemoji.Size = NumberSequence.new(joy)
  232.         joyemoji.Rate = 0
  233.         joyemoji.LockedToPart = false
  234.         joyemoji.LightEmission = 0
  235.         joyemoji.Texture = "rbxassetid://1176402123"
  236.         joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  237.  
  238.  
  239.         local LIT = Instance.new('ParticleEmitter', tors)
  240.         LIT.VelocitySpread = 2000
  241.         LIT.Lifetime = NumberRange.new(1)
  242.         LIT.Speed = NumberRange.new(45)
  243. nani= {}
  244. for i=0, 19 do
  245.   nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  246. end
  247. LIT.Size = NumberSequence.new(nani)
  248.         LIT.Rate = 0
  249.         LIT.LockedToPart = false
  250.         LIT.LightEmission = 0
  251.         LIT.Texture = "rbxassetid://1492670151"
  252.         LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  253.  
  254.         local toast = Instance.new('ParticleEmitter', tors)
  255.         toast.VelocitySpread = 2000
  256.         toast.Lifetime = NumberRange.new(1)
  257.         toast.Speed = NumberRange.new(60)
  258. toasterstoasttoast= {}
  259. for i=0, 19 do
  260.   toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  261. end
  262. toast.Size = NumberSequence.new(toasterstoasttoast)
  263.         toast.Rate = 0
  264.         toast.LockedToPart = false
  265.         toast.LightEmission = 0
  266.         toast.Texture = "rbxassetid://436096230"
  267.         toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  268.  
  269.         local ok = Instance.new('ParticleEmitter', tors)
  270.         ok.VelocitySpread = 2000
  271.         ok.Lifetime = NumberRange.new(1)
  272.         ok.Speed = NumberRange.new(50)
  273. cool= {}
  274. for i=0, 19 do
  275.   cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  276. end
  277. ok.Size = NumberSequence.new(cool)
  278.         ok.Rate = 0
  279.         ok.LockedToPart = false
  280.         ok.LightEmission = 0
  281.         ok.Texture = "rbxassetid://636768448"
  282.         ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  283.  
  284. -------------------------------------------------------
  285. --Start Kyu's shitty stuff--
  286. -------------------------------------------------------
  287.  
  288. function ragdoll(model)
  289.     local char = model
  290.     torso = char.HumanoidRootPart
  291.     torso2 = char.Torso
  292.     LW.Parent = nil
  293.     RW.Parent = nil
  294.     LH.Parent = nil
  295.     RH.Parent = nil
  296.         if hum ~= nil then
  297.         hum.PlatformStand = true
  298.         end
  299.  
  300.         local Head = char:FindFirstChild("Head")
  301.         if Head then
  302.             local Neck = Instance.new("Weld")
  303.             Neck.Name = "Neck"
  304.             Neck.Part0 = torso
  305.             Neck.Part1 = Head
  306.             Neck.C0 = CFrame.new(0, 1.5, 0)
  307.             Neck.C1 = CFrame.new()
  308.             Neck.Parent = torso
  309.         end
  310.         local Limb = char:FindFirstChild("Right Arm")
  311.         if Limb then
  312.  
  313.             Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0)
  314.             local Joint = Instance.new("Glue")
  315.             Joint.Name = "RightShoulder"
  316.             Joint.Part0 = torso
  317.             Joint.Part1 = Limb
  318.             Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  319.             Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  320.             Joint.Parent = torso
  321.  
  322.             local B = Instance.new("Part")
  323.             B.TopSurface = 0
  324.             B.BottomSurface = 0
  325.             B.formFactor = "Symmetric"
  326.             B.Size = Vector3.new(1, 1, 1)
  327.             B.Transparency = 1
  328.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  329.             B.Parent = char
  330.             local W = Instance.new("Weld")
  331.             W.Part0 = Limb
  332.             W.Part1 = B
  333.             W.C0 = CFrame.new(0, -0.5, 0)
  334.             W.Parent = Limb
  335.  
  336.         end
  337.         local Limb = char:FindFirstChild("Left Arm")
  338.         if Limb then
  339.  
  340.             Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0)
  341.             local Joint = Instance.new("Glue")
  342.             Joint.Name = "LeftShoulder"
  343.             Joint.Part0 = torso
  344.             Joint.Part1 = Limb
  345.             Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  346.             Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  347.             Joint.Parent = torso
  348.  
  349.             local B = Instance.new("Part")
  350.             B.TopSurface = 0
  351.             B.BottomSurface = 0
  352.             B.formFactor = "Symmetric"
  353.             B.Size = Vector3.new(1, 1, 1)
  354.             B.Transparency = 1
  355.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  356.             B.Parent = char
  357.             local W = Instance.new("Weld")
  358.             W.Part0 = Limb
  359.             W.Part1 = B
  360.             W.C0 = CFrame.new(0, -0.5, 0)
  361.             W.Parent = Limb
  362.  
  363.         end
  364.         local Limb = char:FindFirstChild("Right Leg")
  365.         if Limb then
  366.  
  367.             Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
  368.             local Joint = Instance.new("Glue")
  369.             Joint.Name = "RightHip"
  370.             Joint.Part0 = torso
  371.             Joint.Part1 = Limb
  372.             Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  373.             Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  374.             Joint.Parent = torso
  375.  
  376.             local B = Instance.new("Part")
  377.             B.TopSurface = 0
  378.             B.BottomSurface = 0
  379.             B.formFactor = "Symmetric"
  380.             B.Size = Vector3.new(1, 1, 1)
  381.             B.Transparency = 1
  382.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  383.             B.Parent = char
  384.             local W = Instance.new("Weld")
  385.             W.Part0 = Limb
  386.             W.Part1 = B
  387.             W.C0 = CFrame.new(0, -0.5, 0)
  388.             W.Parent = Limb
  389.  
  390.         end
  391.         local Limb = char:FindFirstChild("Left Leg")
  392.         if Limb then
  393.  
  394.             Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
  395.             local Joint = Instance.new("Glue")
  396.             Joint.Name = "LeftHip"
  397.             Joint.Part0 = torso
  398.             Joint.Part1 = Limb
  399.             Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  400.             Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  401.             Joint.Parent = torso
  402.  
  403.             local B = Instance.new("Part")
  404.             B.TopSurface = 0
  405.             B.BottomSurface = 0
  406.             B.formFactor = "Symmetric"
  407.             B.Size = Vector3.new(1, 1, 1)
  408.             B.Transparency = 1
  409.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  410.             B.Parent = char
  411.             local W = Instance.new("Weld")
  412.             W.Part0 = Limb
  413.             W.Part1 = B
  414.             W.C0 = CFrame.new(0, -0.5, 0)
  415.             W.Parent = Limb
  416.  
  417.         end
  418.         --[
  419.         local Bar = Instance.new("Part")
  420.         Bar.TopSurface = 0
  421.         Bar.BottomSurface = 0
  422.         Bar.formFactor = "Symmetric"
  423.         Bar.Size = Vector3.new(1, 1, 1)
  424.         Bar.Transparency = 1
  425.         Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0)
  426.         Bar.Parent = char
  427.         local Weld = Instance.new("Weld")
  428.         Weld.Part0 = torso
  429.         Weld.Part1 = Bar
  430.         Weld.C0 = CFrame.new(0, 0.5, 0)
  431.         Weld.Parent = torso
  432.         --]]
  433.  
  434. torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z))
  435.  
  436. end
  437.  
  438. -------------------------------------------------------
  439. --End Kyu's shitty stuff--
  440. -------------------------------------------------------
  441.  
  442. -------------------------------------------------------
  443. --Start Important Functions--
  444. -------------------------------------------------------
  445. function swait(num)
  446.     if num == 0 or num == nil then
  447.         game:service("RunService").Stepped:wait(0)
  448.     else
  449.         for i = 0, num do
  450.             game:service("RunService").Stepped:wait(0)
  451.         end
  452.     end
  453. end
  454. function thread(f)
  455.     coroutine.resume(coroutine.create(f))
  456. end
  457. function clerp(a, b, t)
  458.     local qa = {
  459.         QuaternionFromCFrame(a)
  460.     }
  461.     local qb = {
  462.         QuaternionFromCFrame(b)
  463.     }
  464.     local ax, ay, az = a.x, a.y, a.z
  465.     local bx, by, bz = b.x, b.y, b.z
  466.     local _t = 1 - t
  467.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  468. end
  469. function QuaternionFromCFrame(cf)
  470.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  471.     local trace = m00 + m11 + m22
  472.     if trace > 0 then
  473.         local s = math.sqrt(1 + trace)
  474.         local recip = 0.5 / s
  475.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  476.     else
  477.         local i = 0
  478.         if m00 < m11 then
  479.             i = 1
  480.         end
  481.         if m22 > (i == 0 and m00 or m11) then
  482.             i = 2
  483.         end
  484.         if i == 0 then
  485.             local s = math.sqrt(m00 - m11 - m22 + 1)
  486.             local recip = 0.5 / s
  487.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  488.         elseif i == 1 then
  489.             local s = math.sqrt(m11 - m22 - m00 + 1)
  490.             local recip = 0.5 / s
  491.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  492.         elseif i == 2 then
  493.             local s = math.sqrt(m22 - m00 - m11 + 1)
  494.             local recip = 0.5 / s
  495.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  496.         end
  497.     end
  498. end
  499. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  500.     local xs, ys, zs = x + x, y + y, z + z
  501.     local wx, wy, wz = w * xs, w * ys, w * zs
  502.     local xx = x * xs
  503.     local xy = x * ys
  504.     local xz = x * zs
  505.     local yy = y * ys
  506.     local yz = y * zs
  507.     local zz = z * zs
  508.     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))
  509. end
  510. function QuaternionSlerp(a, b, t)
  511.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  512.     local startInterp, finishInterp
  513.     if cosTheta >= 1.0E-4 then
  514.         if 1 - cosTheta > 1.0E-4 then
  515.             local theta = math.acos(cosTheta)
  516.             local invSinTheta = 1 / Sin(theta)
  517.             startInterp = Sin((1 - t) * theta) * invSinTheta
  518.             finishInterp = Sin(t * theta) * invSinTheta
  519.         else
  520.             startInterp = 1 - t
  521.             finishInterp = t
  522.         end
  523.     elseif 1 + cosTheta > 1.0E-4 then
  524.         local theta = math.acos(-cosTheta)
  525.         local invSinTheta = 1 / Sin(theta)
  526.         startInterp = Sin((t - 1) * theta) * invSinTheta
  527.         finishInterp = Sin(t * theta) * invSinTheta
  528.     else
  529.         startInterp = t - 1
  530.         finishInterp = t
  531.     end
  532.     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
  533. end
  534. function rayCast(Position, Direction, Range, Ignore)
  535.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  536. end
  537. local RbxUtility = LoadLibrary("RbxUtility")
  538. local Create = RbxUtility.Create
  539.  
  540. -------------------------------------------------------
  541. --Start Damage Function--
  542. -------------------------------------------------------
  543. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  544.     if hit.Parent == nil then
  545.         return
  546.     end
  547.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  548.     for _, v in pairs(hit.Parent:children()) do
  549.         if v:IsA("Humanoid") then
  550.             h = v
  551.         end
  552.     end
  553.          if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  554.          warn'No R15 allowed'
  555.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  556.          end
  557.  
  558.     if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  559.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  560.             if hit.Parent.DebounceHit.Value == true then
  561.                 return
  562.             end
  563.         end
  564.          if insta == true then
  565.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  566.          end
  567.         local c = Create("ObjectValue"){
  568.             Name = "creator",
  569.             Value = game:service("Players").LocalPlayer,
  570.             Parent = h,
  571.         }
  572.         game:GetService("Debris"):AddItem(c, .5)
  573.         if HitSound ~= nil and HitPitch ~= nil then
  574.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  575.         end
  576.         local Damage = math.random(minim, maxim)
  577.         local blocked = false
  578.         local block = hit.Parent:findFirstChild("Block")
  579.         if block ~= nil then
  580.             if block.className == "IntValue" then
  581.                 if block.Value > 0 then
  582.                     blocked = true
  583.                     block.Value = block.Value - 1
  584.                     print(block.Value)
  585.                 end
  586.             end
  587.         end
  588.         if blocked == false then
  589.             h.Health = h.Health - Damage
  590.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  591.         else
  592.             h.Health = h.Health - (Damage / 2)
  593.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  594.         end
  595.         if Type == "Knockdown" then
  596.             local hum = hit.Parent.Humanoid
  597.             hum.PlatformStand = true
  598.             coroutine.resume(coroutine.create(function(HHumanoid)
  599.                 swait(1)
  600.                 HHumanoid.PlatformStand = false
  601.             end), hum)
  602.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  603.             local bodvol = Create("BodyVelocity"){
  604.                 velocity = angle * knockback,
  605.                 P = 5000,
  606.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  607.                 Parent = hit,
  608.             }
  609.             local rl = Create("BodyAngularVelocity"){
  610.                 P = 3000,
  611.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  612.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  613.                 Parent = hit,
  614.             }
  615.             game:GetService("Debris"):AddItem(bodvol, .5)
  616.             game:GetService("Debris"):AddItem(rl, .5)
  617.         elseif Type == "Normal" then
  618.             local vp = Create("BodyVelocity"){
  619.                 P = 500,
  620.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  621.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  622.             }
  623.             if knockback > 0 then
  624.                 vp.Parent = hit.Parent.Torso
  625.             end
  626.             game:GetService("Debris"):AddItem(vp, .5)
  627.         elseif Type == "Up" then
  628.             local bodyVelocity = Create("BodyVelocity"){
  629.                 velocity = Vector3.new(0, 20, 0),
  630.                 P = 5000,
  631.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  632.                 Parent = hit,
  633.             }
  634.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  635.         elseif Type == "DarkUp" then
  636.             coroutine.resume(coroutine.create(function()
  637.                 for i = 0, 1, 0.1 do
  638.                     swait()
  639.                     Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  640.                 end
  641.             end))
  642.             local bodyVelocity = Create("BodyVelocity"){
  643.                 velocity = Vector3.new(0, 20, 0),
  644.                 P = 5000,
  645.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  646.                 Parent = hit,
  647.             }
  648.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  649.         elseif Type == "Snare" then
  650.             local bp = Create("BodyPosition"){
  651.                 P = 2000,
  652.                 D = 100,
  653.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  654.                 position = hit.Parent.Torso.Position,
  655.                 Parent = hit.Parent.Torso,
  656.             }
  657.             game:GetService("Debris"):AddItem(bp, 1)
  658.         elseif Type == "Freeze" then
  659.             local BodPos = Create("BodyPosition"){
  660.                 P = 50000,
  661.                 D = 1000,
  662.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  663.                 position = hit.Parent.Torso.Position,
  664.                 Parent = hit.Parent.Torso,
  665.             }
  666.             local BodGy = Create("BodyGyro") {
  667.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  668.                 P = 20e+003,
  669.                 Parent = hit.Parent.Torso,
  670.                 cframe = hit.Parent.Torso.CFrame,
  671.             }
  672.             hit.Parent.Torso.Anchored = true
  673.             coroutine.resume(coroutine.create(function(Part)
  674.                 swait(1.5)
  675.                 Part.Anchored = false
  676.             end), hit.Parent.Torso)
  677.             game:GetService("Debris"):AddItem(BodPos, 3)
  678.             game:GetService("Debris"):AddItem(BodGy, 3)
  679.         end
  680.         local debounce = Create("BoolValue"){
  681.             Name = "DebounceHit",
  682.             Parent = hit.Parent,
  683.             Value = true,
  684.         }
  685.         game:GetService("Debris"):AddItem(debounce, Delay)
  686.         c = Create("ObjectValue"){
  687.             Name = "creator",
  688.             Value = Player,
  689.             Parent = h,
  690.         }
  691.         game:GetService("Debris"):AddItem(c, .5)
  692.     end
  693. end
  694. -------------------------------------------------------
  695. --End Damage Function--
  696. -------------------------------------------------------
  697.  
  698. -------------------------------------------------------
  699. --Start Damage Function Customization--
  700. -------------------------------------------------------
  701. function ShowDamage(Pos, Text, Time, Color)
  702.     local Rate = (1 / 30)
  703.     local Pos = (Pos or Vector3.new(0, 0, 0))
  704.     local Text = (Text or "")
  705.     local Time = (Time or 2)
  706.     local Color = (Color or Color3.new(1, 0, 1))
  707.     local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  708.     EffectPart.Anchored = true
  709.     local BillboardGui = Create("BillboardGui"){
  710.         Size = UDim2.new(3, 0, 3, 0),
  711.         Adornee = EffectPart,
  712.         Parent = EffectPart,
  713.     }
  714.     local TextLabel = Create("TextLabel"){
  715.         BackgroundTransparency = 1,
  716.         Size = UDim2.new(1, 0, 1, 0),
  717.         Text = Text,
  718.         Font = "Highway",
  719.         TextColor3 = Color,
  720.         TextScaled = true,
  721.         Parent = BillboardGui,
  722.     }
  723.     game.Debris:AddItem(EffectPart, (Time))
  724.     EffectPart.Parent = game:GetService("Workspace")
  725.     delay(0, function()
  726.         local Frames = (Time / Rate)
  727.         for Frame = 1, Frames do
  728.             wait(Rate)
  729.             local Percent = (Frame / Frames)
  730.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  731.             TextLabel.TextTransparency = Percent
  732.         end
  733.         if EffectPart and EffectPart.Parent then
  734.             EffectPart:Destroy()
  735.         end
  736.     end)
  737. end
  738. -------------------------------------------------------
  739. --End Damage Function Customization--
  740. -------------------------------------------------------
  741.  
  742. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  743.   for _, c in pairs(workspace:children()) do
  744.     local hum = c:findFirstChild("Humanoid")
  745.     if hum ~= nil then
  746.       local head = c:findFirstChild("Head")
  747.       if head ~= nil then
  748.         local targ = head.Position - Part.Position
  749.         local mag = targ.magnitude
  750.         if magni >= mag and c.Name ~= plr.Name then
  751.           Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  752.         end
  753.       end
  754.     end
  755.   end
  756. end
  757.  
  758.  
  759. CFuncs = {
  760.     Part = {
  761.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  762.             local Part = Create("Part")({
  763.                 Parent = Parent,
  764.                 Reflectance = Reflectance,
  765.                 Transparency = Transparency,
  766.                 CanCollide = false,
  767.                 Locked = true,
  768.                 BrickColor = BrickColor.new(tostring(BColor)),
  769.                 Name = Name,
  770.                 Size = Size,
  771.                 Material = Material
  772.             })
  773.             RemoveOutlines(Part)
  774.             return Part
  775.         end
  776.     },
  777.     Mesh = {
  778.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  779.             local Msh = Create(Mesh)({
  780.                 Parent = Part,
  781.                 Offset = OffSet,
  782.                 Scale = Scale
  783.             })
  784.             if Mesh == "SpecialMesh" then
  785.                 Msh.MeshType = MeshType
  786.                 Msh.MeshId = MeshId
  787.             end
  788.             return Msh
  789.         end
  790.     },
  791.     Mesh = {
  792.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  793.             local Msh = Create(Mesh)({
  794.                 Parent = Part,
  795.                 Offset = OffSet,
  796.                 Scale = Scale
  797.             })
  798.             if Mesh == "SpecialMesh" then
  799.                 Msh.MeshType = MeshType
  800.                 Msh.MeshId = MeshId
  801.             end
  802.             return Msh
  803.         end
  804.     },
  805.     Weld = {
  806.         Create = function(Parent, Part0, Part1, C0, C1)
  807.             local Weld = Create("Weld")({
  808.                 Parent = Parent,
  809.                 Part0 = Part0,
  810.                 Part1 = Part1,
  811.                 C0 = C0,
  812.                 C1 = C1
  813.             })
  814.             return Weld
  815.         end
  816.     },
  817.     Sound = {
  818.         Create = function(id, par, vol, pit)
  819.             coroutine.resume(coroutine.create(function()
  820.                 local S = Create("Sound")({
  821.                     Volume = vol,
  822.                     Pitch = pit or 1,
  823.                     SoundId = id,
  824.                     Parent = par or workspace
  825.                 })
  826.                 wait()
  827.                 S:play()
  828.                 game:GetService("Debris"):AddItem(S, 6)
  829.             end))
  830.         end
  831.     },
  832.     ParticleEmitter = {
  833.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  834.             local fp = Create("ParticleEmitter")({
  835.                 Parent = Parent,
  836.                 Color = ColorSequence.new(Color1, Color2),
  837.                 LightEmission = LightEmission,
  838.                 Size = Size,
  839.                 Texture = Texture,
  840.                 Transparency = Transparency,
  841.                 ZOffset = ZOffset,
  842.                 Acceleration = Accel,
  843.                 Drag = Drag,
  844.                 LockedToPart = LockedToPart,
  845.                 VelocityInheritance = VelocityInheritance,
  846.                 EmissionDirection = EmissionDirection,
  847.                 Enabled = Enabled,
  848.                 Lifetime = LifeTime,
  849.                 Rate = Rate,
  850.                 Rotation = Rotation,
  851.                 RotSpeed = RotSpeed,
  852.                 Speed = Speed,
  853.                 VelocitySpread = VelocitySpread
  854.             })
  855.             return fp
  856.         end
  857.     }
  858. }
  859. function RemoveOutlines(part)
  860.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  861. end
  862. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  863.     local Part = Create("Part")({
  864.         formFactor = FormFactor,
  865.         Parent = Parent,
  866.         Reflectance = Reflectance,
  867.         Transparency = Transparency,
  868.         CanCollide = false,
  869.         Locked = true,
  870.         BrickColor = BrickColor.new(tostring(BColor)),
  871.         Name = Name,
  872.         Size = Size,
  873.         Material = Material
  874.     })
  875.     RemoveOutlines(Part)
  876.     return Part
  877. end
  878. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  879.     local Msh = Create(Mesh)({
  880.         Parent = Part,
  881.         Offset = OffSet,
  882.         Scale = Scale
  883.     })
  884.     if Mesh == "SpecialMesh" then
  885.         Msh.MeshType = MeshType
  886.         Msh.MeshId = MeshId
  887.     end
  888.     return Msh
  889. end
  890. function CreateWeld(Parent, Part0, Part1, C0, C1)
  891.     local Weld = Create("Weld")({
  892.         Parent = Parent,
  893.         Part0 = Part0,
  894.         Part1 = Part1,
  895.         C0 = C0,
  896.         C1 = C1
  897.     })
  898.     return Weld
  899. end
  900.  
  901.  
  902. -------------------------------------------------------
  903. --Start Effect Function--
  904. -------------------------------------------------------
  905. EffectModel = Instance.new("Model", char)
  906. Effects = {
  907.   Block = {
  908.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  909.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  910.       prt.Anchored = true
  911.       prt.CFrame = cframe
  912.       local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  913.       game:GetService("Debris"):AddItem(prt, 10)
  914.       if Type == 1 or Type == nil then
  915.         table.insert(Effects, {
  916.           prt,
  917.           "Block1",
  918.           delay,
  919.           x3,
  920.           y3,
  921.           z3,
  922.           msh
  923.         })
  924.       elseif Type == 2 then
  925.         table.insert(Effects, {
  926.           prt,
  927.           "Block2",
  928.           delay,
  929.           x3,
  930.           y3,
  931.           z3,
  932.           msh
  933.         })
  934.       else
  935.         table.insert(Effects, {
  936.           prt,
  937.           "Block3",
  938.           delay,
  939.           x3,
  940.           y3,
  941.           z3,
  942.           msh
  943.         })
  944.       end
  945.     end
  946.   },
  947.   Sphere = {
  948.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  949.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  950.       prt.Anchored = true
  951.       prt.CFrame = cframe
  952.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0,0,0), Vector3.new(x1, y1, z1))
  953.       game:GetService("Debris"):AddItem(prt, 10)
  954.       table.insert(Effects, {
  955.         prt,
  956.         "Cylinder",
  957.         delay,
  958.         x3,
  959.         y3,
  960.         z3,
  961.         msh
  962.       })
  963.     end
  964.   },
  965.   Cylinder = {
  966.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  967.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  968.       prt.Anchored = true
  969.       prt.CFrame = cframe
  970.       local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  971.       game:GetService("Debris"):AddItem(prt, 10)
  972.       table.insert(Effects, {
  973.         prt,
  974.         "Cylinder",
  975.         delay,
  976.         x3,
  977.         y3,
  978.         z3,
  979.         msh
  980.       })
  981.     end
  982.   },
  983.   Wave = {
  984.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  985.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  986.       prt.Anchored = true
  987.       prt.CFrame = cframe
  988.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  989.       game:GetService("Debris"):AddItem(prt, 10)
  990.       table.insert(Effects, {
  991.         prt,
  992.         "Cylinder",
  993.         delay,
  994.         x3 / 60,
  995.         y3 / 60,
  996.         z3 / 60,
  997.         msh
  998.       })
  999.     end
  1000.   },
  1001.   Ring = {
  1002.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1003.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1004.       prt.Anchored = true
  1005.       prt.CFrame = cframe
  1006.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1007.       game:GetService("Debris"):AddItem(prt, 10)
  1008.       table.insert(Effects, {
  1009.         prt,
  1010.         "Cylinder",
  1011.         delay,
  1012.         x3,
  1013.         y3,
  1014.         z3,
  1015.         msh
  1016.       })
  1017.     end
  1018.   },
  1019.   Break = {
  1020.     Create = function(brickcolor, cframe, x1, y1, z1)
  1021.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1022.       prt.Anchored = true
  1023.       prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1024.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1025.       local num = math.random(10, 50) / 1000
  1026.       game:GetService("Debris"):AddItem(prt, 10)
  1027.       table.insert(Effects, {
  1028.         prt,
  1029.         "Shatter",
  1030.         num,
  1031.         prt.CFrame,
  1032.         math.random() - math.random(),
  1033.         0,
  1034.         math.random(50, 100) / 100
  1035.       })
  1036.     end
  1037.   },
  1038. Spiral = {
  1039.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1040.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1041.       prt.Anchored = true
  1042.       prt.CFrame = cframe
  1043.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1044.       game:GetService("Debris"):AddItem(prt, 10)
  1045.       table.insert(Effects, {
  1046.         prt,
  1047.         "Cylinder",
  1048.         delay,
  1049.         x3,
  1050.         y3,
  1051.         z3,
  1052.         msh
  1053.       })
  1054.     end
  1055.   },
  1056. Push = {
  1057.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1058.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1059.       prt.Anchored = true
  1060.       prt.CFrame = cframe
  1061.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1062.       game:GetService("Debris"):AddItem(prt, 10)
  1063.       table.insert(Effects, {
  1064.         prt,
  1065.         "Cylinder",
  1066.         delay,
  1067.         x3,
  1068.         y3,
  1069.         z3,
  1070.         msh
  1071.       })
  1072.     end
  1073.   }
  1074. }
  1075. -------------------------------------------------------
  1076. --End Effect Function--
  1077. -------------------------------------------------------
  1078.  
  1079. function CreateSound(ID, PARENT, VOLUME, PITCH) --Very important.
  1080.     local NSound = nil
  1081.     coroutine.resume(coroutine.create(function()
  1082.         NSound = Instance.new("Sound", PARENT)
  1083.         NSound.Volume = VOLUME
  1084.         NSound.Pitch = PITCH
  1085.         NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1086.         swait()
  1087.         NSound:play()
  1088.         game:GetService("Debris"):AddItem(NSound, 10)
  1089.     end))
  1090.     return NSound
  1091. end
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097. -------------------------------------------------------
  1098. --End Important Functions--
  1099. -------------------------------------------------------
  1100.  
  1101. NEWS = Instance.new("Sound", tors) --O NO
  1102. NEWS.SoundId = "http://www.roblox.com/asset/?id=1742986731"
  1103. NEWS.Volume = 100
  1104. NEWS.Pitch = 1
  1105. NEWS.Looped = false
  1106. NEWS.TimePosition = 1
  1107.  
  1108. AAAAA = Instance.new("Sound", tors) --aaa
  1109. AAAAA.SoundId = "http://www.roblox.com/asset/?id=0"
  1110. AAAAA.Volume = 10
  1111. AAAAA.Pitch = 1
  1112. AAAAA.Looped = false
  1113. AAAAA.TimePosition = 1
  1114.  
  1115. MERKIO = Instance.new("Sound", tors) --why
  1116. MERKIO.SoundId = "http://www.roblox.com/asset/?id=1003012899"
  1117. MERKIO.Volume = 10
  1118. MERKIO.Pitch = 1
  1119. MERKIO.Looped = false
  1120. MERKIO.TimePosition = 0
  1121.  
  1122. -------------------------------------------------------
  1123. --Start Music Option--
  1124. -------------------------------------------------------
  1125. local Music = Instance.new("Sound",tors)
  1126. Music.Volume = 2.5
  1127. Music.SoundId = "rbxassetid://"
  1128. Music.Looped = true
  1129. Music.Pitch = 1 --Pitcher
  1130. Music:Play()
  1131. -------------------------------------------------------
  1132. --End Music Option--
  1133. -------------------------------------------------------
  1134. --hi fat >:)
  1135. -------------------------------------------------------
  1136. --Start Attacks N Stuff--
  1137. -------------------------------------------------------
  1138.  
  1139. function THEBESTOVERUSEDJOKEEVER() --oh god why did i make this a thing jeezus help me pls
  1140.     attack = true
  1141.     hum.WalkSpeed = 16
  1142.         Character.Head.face.Texture = "rbxassetid://183225545"
  1143.         NEWS:Play()
  1144.         repeat
  1145.                 NEWS.Parent = tors
  1146.         swait()
  1147.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1148.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
  1149.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1150.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1151.         RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  1152.         LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  1153.     until NEWS.Playing == false
  1154.         game.Players.LocalPlayer.Character:BreakJoints()
  1155.         local S = Instance.new("Explosion",workspace)    
  1156.         S.Position = tors.Position
  1157.         S.BlastPressure = 9
  1158.         S.BlastRadius = 30
  1159.         S.ExplosionType = 0
  1160.     attack = false
  1161.     hum.WalkSpeed = 16
  1162.         Character.Head.face.Texture = "rbxassetid://295197013"
  1163.     attack = false
  1164.     hum.WalkSpeed = 16
  1165. end
  1166.  
  1167. function sneakonehundred()
  1168.     attack = true
  1169.     hum.WalkSpeed = 0.03
  1170.         Character.Head.face.Texture = "rbxassetid://183225545"
  1171.         CreateSound("1542642349", tors, 10, 1.05)
  1172.     for i = 0,20,0.1 do
  1173.         swait()
  1174.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1175.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
  1176.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1177.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1178.         RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(-180)), 0.4)
  1179.         LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(180)), 0.4)
  1180.     end
  1181.         CreateSound("138093919", tors, 10, 1.05)
  1182.         wait(0.25)
  1183.         Character.Head.face.Texture = "rbxassetid://1223903433"
  1184.     for i = 0,7,0.1 do
  1185.         swait()
  1186.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1187.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
  1188.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1189.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1190.         RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-180)), 0.4)
  1191.         LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(180)), 0.4)
  1192.     end
  1193.         Character.Head.face.Texture = "rbxassetid://183225545"
  1194.     attack = false
  1195.     hum.WalkSpeed = 16
  1196. end
  1197.  
  1198. function DANCEFORME()
  1199.     attack = true
  1200.         Character.Head.face.Texture = "rbxassetid://183225545"
  1201.         MERKIO:Play()
  1202.         repeat
  1203.     for i = 0,0.7,0.2 do
  1204.         swait()
  1205.                 MERKIO.Parent = tors
  1206.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1207.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1208.         RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1209.         LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1210.         RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(115)), 0.77)
  1211.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67)
  1212.     end
  1213.         for i = 0,0.7,0.2 do
  1214.                 swait()
  1215.                 MERKIO.Parent = tors
  1216.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1217.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1218.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1219.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1220.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
  1221.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.7)
  1222.         end
  1223.         until MERKIO.Playing == false
  1224.         MERKIO:Stop()
  1225.         Character.Head.face.Texture = "rbxassetid://183225545"
  1226.     attack = false
  1227.     hum.WalkSpeed = 16
  1228. end
  1229.  
  1230. function takethat()
  1231.         attack = true
  1232.         hum.WalkSpeed = 0
  1233.         CreateSound("1238240145", tors, 10, 1.05)
  1234.     for i = 0,8.3,0.1 do
  1235.         swait()
  1236.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
  1237.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.7)
  1238.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  1239.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  1240.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(0)), 0.7)
  1241.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.7)
  1242.         end
  1243.         CreateSound("135165859", tors, 10, 1.05)
  1244.     for i = 0,6,0.1 do
  1245.         swait()
  1246.             rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1247.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.85)
  1248.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.7)
  1249.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  1250.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  1251.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-.6), Rad(0)), 0.7)
  1252.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(-.6), Rad(0 - 4.5 * Sin(sine / 20))), 0.7)
  1253.         end
  1254.         attack = false
  1255.         hum.WalkSpeed = 16
  1256. end
  1257. function SCREAM()
  1258.     attack = true
  1259.     hum.WalkSpeed = 16
  1260.         Character.Head.face.Texture = "rbxassetid://183225545"
  1261.         local A = math.random(1,13)
  1262.         if A == 1 then
  1263.             AAAAA.SoundId = "rbxassetid://1213175909"
  1264.             AAAAA.TimePosition = 0
  1265.         end
  1266.         if A == 2 then
  1267.             AAAAA.SoundId = "rbxassetid://1439720915"
  1268.             AAAAA.TimePosition = 0
  1269.         end
  1270.         if A == 3 then
  1271.             AAAAA.SoundId = "rbxassetid://1213179504"
  1272.             AAAAA.TimePosition = 0
  1273.         end
  1274.         if A == 4 then
  1275.             AAAAA.SoundId = "rbxassetid://1129186687"
  1276.             AAAAA.TimePosition = 0
  1277.         end
  1278.         if A == 5 then
  1279.             AAAAA.SoundId = "rbxassetid://1163493843"
  1280.             AAAAA.TimePosition = 0
  1281.         end
  1282.         if A == 6 then
  1283.             AAAAA.SoundId = "rbxassetid://1163494840"
  1284.             AAAAA.TimePosition = 0
  1285.         end
  1286.         if A == 7 then
  1287.             AAAAA.SoundId = "rbxassetid://963936697"
  1288.             AAAAA.TimePosition = 0
  1289.         end
  1290.         if A == 8 then
  1291.             AAAAA.SoundId = "rbxassetid://1494176499"
  1292.             AAAAA.TimePosition = 1
  1293.         end
  1294.         if A == 9 then
  1295.             AAAAA.SoundId = "rbxassetid://1591656314"
  1296.             AAAAA.TimePosition = 0
  1297.         end
  1298.         if A == 10 then
  1299.             AAAAA.SoundId = "rbxassetid://130767645"
  1300.             AAAAA.TimePosition = 0
  1301.         end
  1302.         if A == 11 then
  1303.             AAAAA.SoundId = "rbxassetid://172818886"
  1304.             AAAAA.TimePosition = 0
  1305.         end
  1306.         if A == 12 then
  1307.             AAAAA.SoundId = "rbxassetid://1402021995"
  1308.             AAAAA.TimePosition = 0
  1309.         end
  1310.         if A == 13 then
  1311.             AAAAA.SoundId = "rbxassetid://130766856"
  1312.             AAAAA.TimePosition = 0
  1313.         end
  1314.         AAAAA:Play()
  1315.         repeat
  1316.         swait()
  1317.                 AAAAA.Parent = tors
  1318.             rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1319.     until AAAAA.Playing == false
  1320.     hum.WalkSpeed = 16
  1321.     attack = false
  1322.     hum.WalkSpeed = 16
  1323. end
  1324.  
  1325. MoreTaunts = false
  1326. mouse.KeyDown:connect(function(key)
  1327.     if attack == false then
  1328.         if MoreTaunts == false then
  1329.         if key == 'q' then
  1330.             THEBESTOVERUSEDJOKEEVER()
  1331.         elseif key == 'e' then
  1332.             SCREAM()
  1333.         elseif key == 'r' then
  1334.                         sneakonehundred()
  1335.         elseif key == 't' then
  1336.                         DANCEFORME()
  1337.         elseif key == 'y' then
  1338.                         takethat()
  1339.         end
  1340.         end
  1341.         end
  1342.     end)
  1343.  
  1344. -------------------------------------------------------
  1345. --End Attacks N Stuff--
  1346. -------------------------------------------------------
  1347.  
  1348.  
  1349.  
  1350.  
  1351. while jumping do
  1352.  Humanoid.Jump = true
  1353.  wait(0.9)
  1354. end
  1355.  
  1356.  
  1357.  
  1358.  
  1359. -------------------------------------------------------
  1360. --Start Animations--
  1361. -------------------------------------------------------
  1362. local equipped = false
  1363. local idle = 0
  1364. local change = 1
  1365. local val = 0
  1366. local toim = 0
  1367. local idleanim = 0.4
  1368. hum.Animator.Parent = nil
  1369. while true do
  1370.     swait()
  1371.     sine = sine + change
  1372.     local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1373.     local velderp = root.Velocity.y
  1374.     hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1375.     if equipped == true or equipped == false then
  1376.         if attack == false then
  1377.             idle = idle + 1
  1378.         else
  1379.             idle = 0
  1380.         end
  1381.         if 1 < root.Velocity.y and hitfloor == nil then
  1382.             Anim = "Jump"
  1383.             if attack == false then
  1384.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(60)), 0.15)
  1385.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1386.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1387.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1388.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1389.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  1390.             end
  1391.         elseif -1 > root.Velocity.y and hitfloor == nil then
  1392.             Anim = "Fall"
  1393.             if attack == false then
  1394.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(180), Rad(0), Rad(0)), 0.15)
  1395.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1396.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1397.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1398.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1399.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  1400.             end
  1401.         elseif torvel < 1 and hitfloor ~= nil then
  1402.             Anim = "Idle"
  1403.             change = 1
  1404.             if attack == false then
  1405.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1406.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1407.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1408.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1409.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1410.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  1411.             end
  1412.         elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  1413.             Anim = "Walk"
  1414.             change = 1
  1415.             if attack == false then
  1416.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0-255.45), Rad(0), Rad(0)), 0.15)
  1417.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1418.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1419.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1420.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1421.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  1422.             end
  1423.         end
  1424.     end
  1425.     if 0 < #Effects then
  1426.         for e = 1, #Effects do
  1427.             if Effects[e] ~= nil then
  1428.                 local Thing = Effects[e]
  1429.                 if Thing ~= nil then
  1430.                     local Part = Thing[1]
  1431.                     local Mode = Thing[2]
  1432.                     local Delay = Thing[3]
  1433.                     local IncX = Thing[4]
  1434.                     local IncY = Thing[5]
  1435.                     local IncZ = Thing[6]
  1436.                     if 1 >= Thing[1].Transparency then
  1437.                         if Thing[2] == "Block1" then
  1438.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1439.                             local Mesh = Thing[1].Mesh
  1440.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1441.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1442.                         elseif Thing[2] == "Block2" then
  1443.                             Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1444.                             local Mesh = Thing[7]
  1445.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1446.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1447.                         elseif Thing[2] == "Block3" then
  1448.                             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)
  1449.                             local Mesh = Thing[7]
  1450.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1451.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1452.                         elseif Thing[2] == "Cylinder" then
  1453.                             local Mesh = Thing[1].Mesh
  1454.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1455.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1456.                         elseif Thing[2] == "Blood" then
  1457.                             local Mesh = Thing[7]
  1458.                             Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1459.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1460.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1461.                         elseif Thing[2] == "Elec" then
  1462.                             local Mesh = Thing[1].Mesh
  1463.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1464.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1465.                         elseif Thing[2] == "Disappear" then
  1466.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1467.                         elseif Thing[2] == "Shatter" then
  1468.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1469.                             Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1470.                             Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1471.                             Thing[6] = Thing[6] + Thing[5]
  1472.                         end
  1473.                     else
  1474.                         Part.Parent = nil
  1475.                         table.remove(Effects, e)
  1476.                     end
  1477.                 end
  1478.             end
  1479.         end
  1480.     end
  1481. end
  1482. -------------------------------------------------------
  1483. --End Animations And Script--
  1484. -------------------------------------------------------
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492. --boom why u still reading lol--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement