SHARE
TWEET

should be the final one

SHADOWCRAFTER666 Aug 25th, 2018 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -----------------------
  2. --Voodoo gay--
  3. -------------------------------------------------------
  4. --NO
  5. --DGHEUHFWEIFJEUWJAFSN------------------------
  6.  
  7. --https://github.com/Mokiros/roblox-FE-compatibility
  8. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  9. local Player,game,owner = owner,game
  10. local RealPlayer = Player
  11. do
  12.     print("you got the big gay!")
  13.     local rp = RealPlayer
  14.     script.Parent = rp.Character
  15.    
  16.     --RemoteEvent for communicating
  17.     local Event = Instance.new("RemoteEvent")
  18.     Event.Name = "UserInput_Event"
  19.  
  20.     --Fake event to make stuff like Mouse.KeyDown work
  21.     local function fakeEvent()
  22.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  23.         t.connect = t.Connect
  24.         return t
  25.     end
  26.  
  27.     --Creating fake input objects with fake variables
  28.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  29.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  30.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  31.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  32.     end}
  33.     --Merged 2 functions into one by checking amount of arguments
  34.     CAS.UnbindAction = CAS.BindAction
  35.  
  36.     --This function will trigger the events that have been :Connect()'ed
  37.     local function te(self,ev,...)
  38.         local t = m[ev]
  39.         if t and t._fakeEvent then
  40.             for _,f in pairs(t.Functions) do
  41.                 f(...)
  42.             end
  43.         end
  44.     end
  45.     m.TrigEvent = te
  46.     UIS.TrigEvent = te
  47.  
  48.     Event.OnServerEvent:Connect(function(plr,io)
  49.         if plr~=rp then return end
  50.         m.Target = io.Target
  51.         m.Hit = io.Hit
  52.         if not io.isMouse then
  53.             local b = io.UserInputState == Enum.UserInputState.Begin
  54.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  55.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  56.             end
  57.             if io.UserInputType == Enum.UserInputType.MouseButton2 then
  58.                 return m:TrigEvent(b and "Button2Down" or "Button2Up")
  59.             end
  60.             for _,t in pairs(CAS.Actions) do
  61.                 for _,k in pairs(t.Keys) do
  62.                     if k==io.KeyCode then
  63.                         t.Function(t.Name,io.UserInputState,io)
  64.                     end
  65.                 end
  66.             end
  67.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  68.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  69.         end
  70.     end)
  71.     Event.Parent = NLS([==[
  72.     local Player = game:GetService("Players").LocalPlayer
  73.     local Event = script:WaitForChild("UserInput_Event")
  74.  
  75.     local Mouse = Player:GetMouse()
  76.     local UIS = game:GetService("UserInputService")
  77.     local input = function(io,a)
  78.         if a then return end
  79.         --Since InputObject is a client-side instance, we create and pass table instead
  80.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  81.     end
  82.     UIS.InputBegan:Connect(input)
  83.     UIS.InputEnded:Connect(input)
  84.  
  85.     local h,t
  86.     --Give the server mouse data 30 times every second, but only if the values changed
  87.     --If player is not moving their mouse, client won't fire events
  88.     while wait(1/30) do
  89.         if h~=Mouse.Hit or t~=Mouse.Target then
  90.             h,t=Mouse.Hit,Mouse.Target
  91.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  92.         end
  93.     end]==],Player.Character)
  94.  
  95.     ----Sandboxed game object that allows the usage of client-side methods and services
  96.     --Real game object
  97.     local _rg = game
  98.  
  99.     --Metatable for fake service
  100.     local fsmt = {
  101.         __index = function(self,k)
  102.             local s = rawget(self,"_RealService")
  103.             if s then
  104.                 return typeof(s[k])=="function"
  105.                 and function(_,...)return s[k](s,...)end or s[k]
  106.             end
  107.         end,
  108.         __newindex = function(self,k,v)
  109.             local s = rawget(self,"_RealService")
  110.             if s then s[k]=v end
  111.         end
  112.     }
  113.     local function FakeService(t,RealService)
  114.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  115.         return setmetatable(t,fsmt)
  116.     end
  117.  
  118.     --Fake game object
  119.     local g = {
  120.         GetService = function(self,s)
  121.             return rawget(self,s) or _rg:GetService(s)
  122.         end,
  123.         Players = FakeService({
  124.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  125.         },"Players"),
  126.         UserInputService = FakeService(UIS,"UserInputService"),
  127.         ContextActionService = FakeService(CAS,"ContextActionService"),
  128.         RunService = FakeService({
  129.             _btrs = {},
  130.             RenderStepped = _rg:GetService("RunService").Heartbeat,
  131.             BindToRenderStep = function(self,name,_,fun)
  132.                 self._btrs[name] = self.Heartbeat:Connect(fun)
  133.             end,
  134.             UnbindFromRenderStep = function(self,name)
  135.                 self._btrs[name]:Disconnect()
  136.             end,
  137.         },"RunService")
  138.     }
  139.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  140.     g.service = g.GetService
  141.     FakeService(g,game)
  142.     --Changing owner to fake player object to support owner:GetMouse()
  143.     game,owner = g,g.Players.LocalPlayer
  144. end
  145.  
  146. local FavIDs = {
  147.     340106355, --Nefl Crystals
  148.     927529620, --Dimension
  149.     876981900, --Fantasy
  150.     398987889, --Ordinary Days
  151.     1117396305, --Oh wait, it's you.
  152.     885996042, --Action Winter Journey
  153.     919231299, --Sprawling Idiot Effigy
  154.     743466274, --Good Day Sunshine
  155.     727411183, --Knife Fight
  156.     1402748531, --The Earth Is Counting On You!
  157.     595230126 --Robot Language
  158.     }
  159.  
  160.  
  161.  
  162. --The reality of my life isn't real but a Universe -makhail07
  163. wait()
  164. local plr = owner
  165. print('Local User is '..plr.Name)
  166. local char = plr.Character
  167. local hum = char.Humanoid
  168. local ra = char["Right Arm"]
  169. local la= char["Left Arm"]
  170. local rl= char["Right Leg"]
  171. local ll = char["Left Leg"]
  172. local hed = char.Head
  173. local root = char.HumanoidRootPart
  174. local rootj = root.RootJoint
  175. local tors = char.Torso
  176. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  177. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  178. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  179.  
  180.  
  181. -------------------------------------------------------
  182. --Start Good Stuff--
  183. -------------------------------------------------------
  184. CF = CFrame.new
  185. angles = CFrame.Angles
  186. attack = false
  187. Euler = CFrame.fromEulerAnglesXYZ
  188. Rad = math.rad
  189. IT = Instance.new
  190. BrickC = BrickColor.new
  191. Cos = math.cos
  192. Acos = math.acos
  193. Sin = math.sin
  194. Asin = math.asin
  195. Abs = math.abs
  196. Mrandom = math.random
  197. Floor = math.floor
  198. -------------------------------------------------------
  199. --End Good Stuff--
  200. -------------------------------------------------------
  201. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  202. RSH, LSH = nil, nil
  203. RW = Instance.new("Weld")
  204. LW = Instance.new("Weld")
  205. RH = tors["Right Hip"]
  206. LH = tors["Left Hip"]
  207. RSH = tors["Right Shoulder"]
  208. LSH = tors["Left Shoulder"]
  209. RSH.Parent = nil
  210. LSH.Parent = nil
  211. RW.Name = "RW"
  212. RW.Part0 = tors
  213. RW.C0 = CF(1.5, 0.5, 0)
  214. RW.C1 = CF(0, 0.5, 0)
  215. RW.Part1 = ra
  216. RW.Parent = tors
  217. LW.Name = "LW"
  218. LW.Part0 = tors
  219. LW.C0 = CF(-1.5, 0.5, 0)
  220. LW.C1 = CF(0, 0.5, 0)
  221. LW.Part1 = la
  222. LW.Parent = tors
  223. Effects = {}
  224.  
  225. -------------------------------------------------------
  226. --Start HeartBeat--
  227. -------------------------------------------------------
  228. ArtificialHB = Instance.new("BindableEvent", script)
  229. ArtificialHB.Name = "Heartbeat"
  230. script:WaitForChild("Heartbeat")
  231.  
  232. frame = 1 / 60
  233. tf = 0
  234. allowframeloss = false
  235. tossremainder = false
  236.  
  237.  
  238. lastframe = tick()
  239. script.Heartbeat:Fire()
  240.  
  241.  
  242. game:GetService("RunService").Heartbeat:connect(function(s, p)
  243.     tf = tf + s
  244.     if tf >= frame then
  245.         if allowframeloss then
  246.             script.Heartbeat:Fire()
  247.             lastframe = tick()
  248.         else
  249.             for i = 1, math.floor(tf / frame) do
  250.                 script.Heartbeat:Fire()
  251.             end
  252.             lastframe = tick()
  253.         end
  254.         if tossremainder then
  255.             tf = 0
  256.         else
  257.             tf = tf - frame * math.floor(tf / frame)
  258.         end
  259.     end
  260. end)
  261. -------------------------------------------------------
  262. --End HeartBeat--
  263. -------------------------------------------------------
  264.  
  265. -------------------------------------------------------
  266. --Start Important Functions--
  267. -------------------------------------------------------
  268. function swait(num)
  269.     if num == 0 or num == nil then
  270.         game:service("RunService").Stepped:wait(0)
  271.     else
  272.         for i = 0, num do
  273.             game:service("RunService").Stepped:wait(0)
  274.         end
  275.     end
  276. end
  277. function thread(f)
  278.     coroutine.resume(coroutine.create(f))
  279. end
  280. function clerp(a, b, t)
  281.     local qa = {
  282.         QuaternionFromCFrame(a)
  283.     }
  284.     local qb = {
  285.         QuaternionFromCFrame(b)
  286.     }
  287.     local ax, ay, az = a.x, a.y, a.z
  288.     local bx, by, bz = b.x, b.y, b.z
  289.     local _t = 1 - t
  290.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  291. end
  292. function QuaternionFromCFrame(cf)
  293.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  294.     local trace = m00 + m11 + m22
  295.     if trace > 0 then
  296.         local s = math.sqrt(1 + trace)
  297.         local recip = 0.5 / s
  298.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  299.     else
  300.         local i = 0
  301.         if m00 < m11 then
  302.             i = 1
  303.         end
  304.         if m22 > (i == 0 and m00 or m11) then
  305.             i = 2
  306.         end
  307.         if i == 0 then
  308.             local s = math.sqrt(m00 - m11 - m22 + 1)
  309.             local recip = 0.5 / s
  310.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  311.         elseif i == 1 then
  312.             local s = math.sqrt(m11 - m22 - m00 + 1)
  313.             local recip = 0.5 / s
  314.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  315.         elseif i == 2 then
  316.             local s = math.sqrt(m22 - m00 - m11 + 1)
  317.             local recip = 0.5 / s
  318.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  319.         end
  320.     end
  321. end
  322. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  323.     local xs, ys, zs = x + x, y + y, z + z
  324.     local wx, wy, wz = w * xs, w * ys, w * zs
  325.     local xx = x * xs
  326.     local xy = x * ys
  327.     local xz = x * zs
  328.     local yy = y * ys
  329.     local yz = y * zs
  330.     local zz = z * zs
  331.     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))
  332. end
  333. function QuaternionSlerp(a, b, t)
  334.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  335.     local startInterp, finishInterp
  336.     if cosTheta >= 1.0E-4 then
  337.         if 1 - cosTheta > 1.0E-4 then
  338.             local theta = math.acos(cosTheta)
  339.             local invSinTheta = 1 / Sin(theta)
  340.             startInterp = Sin((1 - t) * theta) * invSinTheta
  341.             finishInterp = Sin(t * theta) * invSinTheta
  342.         else
  343.             startInterp = 1 - t
  344.             finishInterp = t
  345.         end
  346.     elseif 1 + cosTheta > 1.0E-4 then
  347.         local theta = math.acos(-cosTheta)
  348.         local invSinTheta = 1 / Sin(theta)
  349.         startInterp = Sin((t - 1) * theta) * invSinTheta
  350.         finishInterp = Sin(t * theta) * invSinTheta
  351.     else
  352.         startInterp = t - 1
  353.         finishInterp = t
  354.     end
  355.     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
  356. end
  357. function rayCast(Position, Direction, Range, Ignore)
  358.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  359. end
  360. local RbxUtility = LoadLibrary("RbxUtility")
  361. local Create = RbxUtility.Create
  362.  
  363. -------------------------------------------------------
  364. --Start Damage Function--
  365. -------------------------------------------------------
  366. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  367.     if hit.Parent == nil then
  368.         return
  369.     end
  370.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  371.     for _, v in pairs(hit.Parent:children()) do
  372.         if v:IsA("Humanoid") then
  373.             h = v
  374.         end
  375.     end
  376.          if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  377.    
  378.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  379.          end
  380.  
  381.     if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  382.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  383.             if hit.Parent.DebounceHit.Value == true then
  384.                 return
  385.             end
  386.         end
  387.          if insta == true then
  388.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  389.          end
  390.         local c = Create("ObjectValue"){
  391.             Name = "creator",
  392.             Value = game:service("Players").LocalPlayer,
  393.             Parent = h,
  394.         }
  395.         game:GetService("Debris"):AddItem(c, .5)
  396.         if HitSound ~= nil and HitPitch ~= nil then
  397.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  398.         end
  399.         local Damage = math.random(minim, maxim)
  400.         local blocked = false
  401.         local block = hit.Parent:findFirstChild("Block")
  402.         if block ~= nil then
  403.             if block.className == "IntValue" then
  404.                 if block.Value > 0 then
  405.                     blocked = true
  406.                     block.Value = block.Value - 1
  407.                     print(block.Value)
  408.                 end
  409.             end
  410.         end
  411.         if blocked == false then
  412.             h.Health = h.Health - Damage
  413.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  414.         else
  415.             h.Health = h.Health - (Damage / 2)
  416.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  417.         end
  418.         if Type == "Knockdown" then
  419.             local hum = hit.Parent.Humanoid
  420.             hum.PlatformStand = true
  421.             coroutine.resume(coroutine.create(function(HHumanoid)
  422.                 swait(1)
  423.                 HHumanoid.PlatformStand = false
  424.             end), hum)
  425.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  426.             local bodvol = Create("BodyVelocity"){
  427.                 velocity = angle * knockback,
  428.                 P = 5000,
  429.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  430.                 Parent = hit,
  431.             }
  432.             local rl = Create("BodyAngularVelocity"){
  433.                 P = 3000,
  434.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  435.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  436.                 Parent = hit,
  437.             }
  438.             game:GetService("Debris"):AddItem(bodvol, .5)
  439.             game:GetService("Debris"):AddItem(rl, .5)
  440.         elseif Type == "Normal" then
  441.             local vp = Create("BodyVelocity"){
  442.                 P = 500,
  443.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  444.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  445.             }
  446.             if knockback > 0 then
  447.                 vp.Parent = hit.Parent.Torso
  448.             end
  449.             game:GetService("Debris"):AddItem(vp, .5)
  450.         elseif Type == "Up" then
  451.             local bodyVelocity = Create("BodyVelocity"){
  452.                 velocity = Vector3.new(0, 20, 0),
  453.                 P = 5000,
  454.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  455.                 Parent = hit,
  456.             }
  457.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  458.         elseif Type == "DarkUp" then
  459.             coroutine.resume(coroutine.create(function()
  460.                 for i = 0, 1, 0.1 do
  461.                     swait()
  462.                     Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  463.                 end
  464.             end))
  465.             local bodyVelocity = Create("BodyVelocity"){
  466.                 velocity = Vector3.new(0, 20, 0),
  467.                 P = 5000,
  468.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  469.                 Parent = hit,
  470.             }
  471.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  472.         elseif Type == "Snare" then
  473.             local bp = Create("BodyPosition"){
  474.                 P = 2000,
  475.                 D = 100,
  476.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  477.                 position = hit.Parent.Torso.Position,
  478.                 Parent = hit.Parent.Torso,
  479.             }
  480.             game:GetService("Debris"):AddItem(bp, 1)
  481.         elseif Type == "Freeze" then
  482.             local BodPos = Create("BodyPosition"){
  483.                 P = 50000,
  484.                 D = 1000,
  485.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  486.                 position = hit.Parent.Torso.Position,
  487.                 Parent = hit.Parent.Torso,
  488.             }
  489.             local BodGy = Create("BodyGyro") {
  490.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  491.                 P = 20e+003,
  492.                 Parent = hit.Parent.Torso,
  493.                 cframe = hit.Parent.Torso.CFrame,
  494.             }
  495.             hit.Parent.Torso.Anchored = true
  496.             coroutine.resume(coroutine.create(function(Part)
  497.                 swait(1.5)
  498.                 Part.Anchored = false
  499.             end), hit.Parent.Torso)
  500.             game:GetService("Debris"):AddItem(BodPos, 3)
  501.             game:GetService("Debris"):AddItem(BodGy, 3)
  502.         end
  503.         local debounce = Create("BoolValue"){
  504.             Name = "DebounceHit",
  505.             Parent = hit.Parent,
  506.             Value = true,
  507.         }
  508.         game:GetService("Debris"):AddItem(debounce, Delay)
  509.         c = Create("ObjectValue"){
  510.             Name = "creator",
  511.             Value = Player,
  512.             Parent = h,
  513.         }
  514.         game:GetService("Debris"):AddItem(c, .5)
  515.     end
  516. end
  517. -------------------------------------------------------
  518. --End Damage Function--
  519. -------------------------------------------------------
  520.  
  521. -------------------------------------------------------
  522. --Start Damage Function Customization--
  523. -------------------------------------------------------
  524. function ShowDamage(Pos, Text, Time, Color)
  525.     local Rate = (1 / 30)
  526.     local Pos = (Pos or Vector3.new(0, 0, 0))
  527.     local Text = (Text or "")
  528.     local Time = (Time or 2)
  529.     local Color = (Color or Color3.new(1, 0, 1))
  530.     local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  531.     EffectPart.Anchored = true
  532.     local BillboardGui = Create("BillboardGui"){
  533.         Size = UDim2.new(3, 0, 3, 0),
  534.         Adornee = EffectPart,
  535.         Parent = EffectPart,
  536.     }
  537.     local TextLabel = Create("TextLabel"){
  538.         BackgroundTransparency = 1,
  539.         Size = UDim2.new(1, 0, 1, 0),
  540.         Text = Text,
  541.         Font = "Bodoni",
  542.         TextColor3 = Color,
  543.         TextScaled = true,
  544.         TextStrokeColor3 = Color3.fromRGB(0,0,0),
  545.         Parent = BillboardGui,
  546.     }
  547.     game.Debris:AddItem(EffectPart, (Time))
  548.     EffectPart.Parent = game:GetService("Workspace")
  549.     delay(0, function()
  550.         local Frames = (Time / Rate)
  551.         for Frame = 1, Frames do
  552.             wait(Rate)
  553.             local Percent = (Frame / Frames)
  554.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  555.             TextLabel.TextTransparency = Percent
  556.         end
  557.         if EffectPart and EffectPart.Parent then
  558.             EffectPart:Destroy()
  559.         end
  560.     end)
  561. end
  562. -------------------------------------------------------
  563. --End Damage Function Customization--
  564. -------------------------------------------------------
  565.  
  566. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  567.   for _, c in pairs(workspace:children()) do
  568.     local hum = c:findFirstChild("Humanoid")
  569.     if hum ~= nil then
  570.       local head = c:findFirstChild("Head")
  571.       if head ~= nil then
  572.         local targ = head.Position - Part.Position
  573.         local mag = targ.magnitude
  574.         if magni >= mag and c.Name ~= plr.Name then
  575.           Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  576.         end
  577.       end
  578.     end
  579.   end
  580. end
  581.  
  582.  
  583. CFuncs = {
  584.     Part = {
  585.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  586.             local Part = Create("Part")({
  587.                 Parent = Parent,
  588.                 Reflectance = Reflectance,
  589.                 Transparency = Transparency,
  590.                 CanCollide = false,
  591.                 Locked = true,
  592.                 BrickColor = BrickColor.new(tostring(BColor)),
  593.                 Name = Name,
  594.                 Size = Size,
  595.                 Material = Material
  596.             })
  597.             RemoveOutlines(Part)
  598.             return Part
  599.         end
  600.     },
  601.     Mesh = {
  602.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  603.             local Msh = Create(Mesh)({
  604.                 Parent = Part,
  605.                 Offset = OffSet,
  606.                 Scale = Scale
  607.             })
  608.             if Mesh == "SpecialMesh" then
  609.                 Msh.MeshType = MeshType
  610.                 Msh.MeshId = MeshId
  611.             end
  612.             return Msh
  613.         end
  614.     },
  615.     Mesh = {
  616.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  617.             local Msh = Create(Mesh)({
  618.                 Parent = Part,
  619.                 Offset = OffSet,
  620.                 Scale = Scale
  621.             })
  622.             if Mesh == "SpecialMesh" then
  623.                 Msh.MeshType = MeshType
  624.                 Msh.MeshId = MeshId
  625.             end
  626.             return Msh
  627.         end
  628.     },
  629.     Weld = {
  630.         Create = function(Parent, Part0, Part1, C0, C1)
  631.             local Weld = Create("Weld")({
  632.                 Parent = Parent,
  633.                 Part0 = Part0,
  634.                 Part1 = Part1,
  635.                 C0 = C0,
  636.                 C1 = C1
  637.             })
  638.             return Weld
  639.         end
  640.     },
  641.     Sound = {
  642.         Create = function(id, par, vol, pit)
  643.             coroutine.resume(coroutine.create(function()
  644.                 local S = Create("Sound")({
  645.                     Volume = vol,
  646.                     Pitch = pit or 1,
  647.                     SoundId = id,
  648.                     Parent = par or workspace
  649.                 })
  650.                 wait()
  651.                 S:play()
  652.                 game:GetService("Debris"):AddItem(S, 6)
  653.             end))
  654.         end
  655.     },
  656.     ParticleEmitter = {
  657.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  658.             local fp = Create("ParticleEmitter")({
  659.                 Parent = Parent,
  660.                 Color = ColorSequence.new(Color1, Color2),
  661.                 LightEmission = LightEmission,
  662.                 Size = Size,
  663.                 Texture = Texture,
  664.                 Transparency = Transparency,
  665.                 ZOffset = ZOffset,
  666.                 Acceleration = Accel,
  667.                 Drag = Drag,
  668.                 LockedToPart = LockedToPart,
  669.                 VelocityInheritance = VelocityInheritance,
  670.                 EmissionDirection = EmissionDirection,
  671.                 Enabled = Enabled,
  672.                 Lifetime = LifeTime,
  673.                 Rate = Rate,
  674.                 Rotation = Rotation,
  675.                 RotSpeed = RotSpeed,
  676.                 Speed = Speed,
  677.                 VelocitySpread = VelocitySpread
  678.             })
  679.             return fp
  680.         end
  681.     }
  682. }
  683. function RemoveOutlines(part)
  684.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  685. end
  686. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  687.     local Part = Create("Part")({
  688.         formFactor = FormFactor,
  689.         Parent = Parent,
  690.         Reflectance = Reflectance,
  691.         Transparency = Transparency,
  692.         CanCollide = false,
  693.         Locked = true,
  694.         BrickColor = BrickColor.new(tostring(BColor)),
  695.         Name = Name,
  696.         Size = Size,
  697.         Material = Material
  698.     })
  699.     RemoveOutlines(Part)
  700.     return Part
  701. end
  702. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  703.     local Msh = Create(Mesh)({
  704.         Parent = Part,
  705.         Offset = OffSet,
  706.         Scale = Scale
  707.     })
  708.     if Mesh == "SpecialMesh" then
  709.         Msh.MeshType = MeshType
  710.         Msh.MeshId = MeshId
  711.     end
  712.     return Msh
  713. end
  714. function CreateWeld(Parent, Part0, Part1, C0, C1)
  715.     local Weld = Create("Weld")({
  716.         Parent = Parent,
  717.         Part0 = Part0,
  718.         Part1 = Part1,
  719.         C0 = C0,
  720.         C1 = C1
  721.     })
  722.     return Weld
  723. end
  724.  
  725.  
  726. -------------------------------------------------------
  727. --Start Effect Function--
  728. -------------------------------------------------------
  729. EffectModel = Instance.new("Model", char)
  730. Effects = {
  731.   Block = {
  732.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  733.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  734.       prt.Anchored = true
  735.       prt.CFrame = cframe
  736.       local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  737.       game:GetService("Debris"):AddItem(prt, 10)
  738.       if Type == 1 or Type == nil then
  739.         table.insert(Effects, {
  740.           prt,
  741.           "Block1",
  742.           delay,
  743.           x3,
  744.           y3,
  745.           z3,
  746.           msh
  747.         })
  748.       elseif Type == 2 then
  749.         table.insert(Effects, {
  750.           prt,
  751.           "Block2",
  752.           delay,
  753.           x3,
  754.           y3,
  755.           z3,
  756.           msh
  757.         })
  758.       else
  759.         table.insert(Effects, {
  760.           prt,
  761.           "Block3",
  762.           delay,
  763.           x3,
  764.           y3,
  765.           z3,
  766.           msh
  767.         })
  768.       end
  769.     end
  770.   },
  771.   Sphere = {
  772.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  773.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  774.       prt.Anchored = true
  775.       prt.CFrame = cframe
  776.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  777.       game:GetService("Debris"):AddItem(prt, 10)
  778.       table.insert(Effects, {
  779.         prt,
  780.         "Cylinder",
  781.         delay,
  782.         x3,
  783.         y3,
  784.         z3,
  785.         msh
  786.       })
  787.     end
  788.   },
  789.   Cylinder = {
  790.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  791.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  792.       prt.Anchored = true
  793.       prt.CFrame = cframe
  794.       local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  795.       game:GetService("Debris"):AddItem(prt, 10)
  796.       table.insert(Effects, {
  797.         prt,
  798.         "Cylinder",
  799.         delay,
  800.         x3,
  801.         y3,
  802.         z3,
  803.         msh
  804.       })
  805.     end
  806.   },
  807.   Wave = {
  808.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  809.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  810.       prt.Anchored = true
  811.       prt.CFrame = cframe
  812.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  813.       game:GetService("Debris"):AddItem(prt, 10)
  814.       table.insert(Effects, {
  815.         prt,
  816.         "Cylinder",
  817.         delay,
  818.         x3 / 60,
  819.         y3 / 60,
  820.         z3 / 60,
  821.         msh
  822.       })
  823.     end
  824.   },
  825.   Ring = {
  826.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  827.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  828.       prt.Anchored = true
  829.       prt.CFrame = cframe
  830.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  831.       game:GetService("Debris"):AddItem(prt, 10)
  832.       table.insert(Effects, {
  833.         prt,
  834.         "Cylinder",
  835.         delay,
  836.         x3,
  837.         y3,
  838.         z3,
  839.         msh
  840.       })
  841.     end
  842.   },
  843.   Break = {
  844.     Create = function(brickcolor, cframe, x1, y1, z1)
  845.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  846.       prt.Anchored = true
  847.       prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  848.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  849.       local num = math.random(10, 50) / 1000
  850.       game:GetService("Debris"):AddItem(prt, 10)
  851.       table.insert(Effects, {
  852.         prt,
  853.         "Shatter",
  854.         num,
  855.         prt.CFrame,
  856.         math.random() - math.random(),
  857.         0,
  858.         math.random(50, 100) / 100
  859.       })
  860.     end
  861.   },
  862. Spiral = {
  863.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  864.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  865.       prt.Anchored = true
  866.       prt.CFrame = cframe
  867.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  868.       game:GetService("Debris"):AddItem(prt, 10)
  869.       table.insert(Effects, {
  870.         prt,
  871.         "Cylinder",
  872.         delay,
  873.         x3,
  874.         y3,
  875.         z3,
  876.         msh
  877.       })
  878.     end
  879.   },
  880. Push = {
  881.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  882.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  883.       prt.Anchored = true
  884.       prt.CFrame = cframe
  885.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  886.       game:GetService("Debris"):AddItem(prt, 10)
  887.       table.insert(Effects, {
  888.         prt,
  889.         "Cylinder",
  890.         delay,
  891.         x3,
  892.         y3,
  893.         z3,
  894.         msh
  895.       })
  896.     end
  897.   }
  898. }
  899. -------------------------------------------------------
  900. --End Effect Function--
  901. -------------------------------------------------------
  902.  
  903. function CreateSound(ID, PARENT, VOLUME, PITCH)
  904.     local NSound = nil
  905.     coroutine.resume(coroutine.create(function()
  906.         NSound = Instance.new("Sound", PARENT)
  907.         NSound.Volume = VOLUME
  908.         NSound.Pitch = PITCH
  909.         NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  910.         swait()
  911.         NSound:play()
  912.         game:GetService("Debris"):AddItem(NSound, 10)
  913.     end))
  914.     return NSound
  915. end
  916.  
  917. --Very lazi from here to below except the animations but who cares /shrug
  918. function chatfunc(text)
  919. local chat = coroutine.wrap(function()
  920. if char:FindFirstChild("TalkingBillBoard")~= nil then
  921. char:FindFirstChild("TalkingBillBoard"):destroy()
  922. end
  923. local naeeym2 = Instance.new("BillboardGui",char)
  924. naeeym2.Size = UDim2.new(0,100,0,40)
  925. naeeym2.StudsOffset = Vector3.new(0,3,0)
  926. naeeym2.Adornee = char.Head
  927. naeeym2.Name = "TalkingBillBoard"
  928. local tecks2 = Instance.new("TextLabel",naeeym2)
  929. tecks2.BackgroundTransparency = 1
  930. tecks2.BorderSizePixel = 0
  931. tecks2.Text = ""
  932. tecks2.Font = "Bodoni"
  933. tecks2.TextSize = 30
  934. tecks2.TextStrokeTransparency = 0
  935. tecks2.TextColor3 = Color3.new(255,0,0)
  936. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  937. tecks2.Size = UDim2.new(1,0,0.5,0)
  938. local tecks3 = Instance.new("TextLabel",naeeym2)
  939. tecks3.BackgroundTransparency = 1
  940. tecks3.BorderSizePixel = 0
  941. tecks3.Text = ""
  942. tecks3.Font = "Bodoni"
  943. tecks3.TextSize = 30
  944. tecks3.TextStrokeTransparency = 0
  945. tecks3.TextColor3 = Color3.new(255,0,0)
  946. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  947. tecks3.Size = UDim2.new(1,0,0.5,0)
  948. coroutine.resume(coroutine.create(function()
  949.     while tecks3 ~= nil do
  950.         swait()
  951.         tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))   
  952.         tecks3.Rotation = math.random(-3,3)
  953.         tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0)
  954.         tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0)
  955.     end
  956. end))
  957. for i = 1,string.len(text),1 do
  958. tecks2.Text = string.sub(text,1,i)
  959. tecks3.Text = string.sub(text,1,i)
  960. wait(0.01)
  961. end
  962. wait(2)
  963. for i = 1, 50 do
  964. swait()
  965. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  966. tecks2.Rotation = tecks2.Rotation - .8
  967. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  968. tecks2.TextTransparency = tecks2.TextTransparency + .04
  969. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  970. tecks3.Rotation = tecks2.Rotation + .8
  971. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  972. tecks3.TextTransparency = tecks2.TextTransparency + .04
  973. end
  974. naeeym2:Destroy()
  975. end)
  976. chat()
  977. end
  978. function onChatted(msg)
  979. chatfunc(msg)
  980. end
  981. --plr.Chatted:connect(onChatted)
  982.  
  983. abss = Instance.new("BillboardGui",char)
  984. abss.Size = UDim2.new(10,0,10,0)
  985. abss.Enabled = false
  986. imgl = Instance.new("ImageLabel",abss)
  987. imgl.Position = UDim2.new(0,0,0,0)
  988. imgl.Size = UDim2.new(1,0,1,0)
  989. imgl.Image = "rbxassetid://153485522"
  990. imgl.BackgroundTransparency = 1
  991. imgl.ImageColor3 = Color3.new(.9,0,0)
  992. img2 = Instance.new("ImageLabel",abss)
  993. img2.Position = UDim2.new(0,0,0,0)
  994. img2.Size = UDim2.new(1,0,1,0)
  995. img2.Image = "rbxassetid://153485522"
  996. img2.BackgroundTransparency = 1
  997. img2.ImageColor3 = Color3.new(.9,0,0)
  998.  
  999. function TargetSelect(person)
  1000. local dd=coroutine.wrap(function()
  1001. if targetted ~= person then
  1002. targetted = person
  1003. img2.Size = UDim2.new(1,0,1,0)
  1004. img2.ImageTransparency = 0
  1005. img2.Position = UDim2.new(0,0,0,0)
  1006. for i = 0, 2, 0.1 do
  1007. swait()
  1008. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1009. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1010. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1011. end
  1012. end
  1013. end)
  1014. dd()
  1015. end
  1016.  
  1017. function dmg(dude)
  1018. if dude.Name ~= char then
  1019. dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1020. local bgf = Instance.new("BodyGyro",dude.Head)
  1021. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1022. local val = Instance.new("BoolValue",dude)
  1023. val.Name = "IsHit"
  1024. local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
  1025. local partasdeff = Instance.new("ParticleEmitter",torsy)
  1026. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1027. partasdeff.LightEmission = .1
  1028. partasdeff.Size = NumberSequence.new(0.2)
  1029. partasdeff.Texture = "rbxassetid://771221224"
  1030. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1031. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1032. partasdeff.Transparency = bbb
  1033. partasdeff.Size = aaa
  1034. partasdeff.ZOffset = .9
  1035. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1036. partasdeff.LockedToPart = false
  1037. partasdeff.EmissionDirection = "Back"
  1038. partasdeff.Lifetime = NumberRange.new(1, 2)
  1039. partasdeff.Rate = 1000
  1040. partasdeff.Rotation = NumberRange.new(-100, 100)
  1041. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1042. partasdeff.Speed = NumberRange.new(6)
  1043. partasdeff.VelocitySpread = 10000
  1044. partasdeff.Enabled=false
  1045. partasdeff:Emit(30)
  1046. coroutine.wrap(function()
  1047. targetted = nil
  1048. swait(30)
  1049. dude:BreakJoints()
  1050. swait(5)
  1051. dude:FindFirstChildOfClass("Humanoid"):Destroy()
  1052. for i=0,1,.05 do
  1053. for a,v in pairs(dude:GetChildren()) do
  1054. if v:IsA("BasePart") then
  1055. v.Transparency = i
  1056. end
  1057. end
  1058. swait()
  1059. end
  1060. for a,v in pairs(dude:GetChildren()) do
  1061. if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
  1062. v.ParticleEmitter.Enabled = false
  1063. end
  1064. game:service'Debris':AddItem(v,2)
  1065. end
  1066. end)()
  1067. end
  1068. end
  1069.  
  1070. --lazi
  1071. function kdown(dd)
  1072. if dd.Name ~= char then
  1073. dd.Humanoid.PlatformStand = true
  1074. local bgf = Instance.new("BodyGyro",dd.Head)
  1075. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1076. local val = Instance.new("BoolValue",dd)
  1077. val.Name = "IsHit"
  1078. end
  1079. end
  1080.  
  1081. function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1082.     --local buddy
  1083.     for _, c in pairs(workspace:children()) do
  1084.         local hum = c:findFirstChild("Humanoid")
  1085.         if hum ~= nil then
  1086.             local head = c:findFirstChild("Torso")
  1087.             if head ~= nil then
  1088.                 local targ = head.Position - Part.Position
  1089.                 local mag = targ.magnitude
  1090.                 if mag <= Magnitude and c.Name ~= plr.Name then
  1091.                 if c.Name ~= char then
  1092.                 if c.Name ~= "makhail07" and c.Name ~= "Nebula_Zorua" and c.Name ~= "KillerDarkness0105" and c.Name ~= "Salvo_Starly" then
  1093.             local asd = Instance.new("ParticleEmitter",c.Torso)
  1094.             asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1095.             asd.LightEmission = .1
  1096.             asd.Size = NumberSequence.new(0.2)
  1097.             asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1098.             aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1099.             bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1100.             asd.Transparency = bbb
  1101.             asd.Size = aaa
  1102.             asd.ZOffset = .9
  1103.             asd.Acceleration = Vector3.new(0, -5, 0)
  1104.             asd.LockedToPart = false
  1105.             asd.EmissionDirection = "Back"
  1106.             asd.Lifetime = NumberRange.new(1, 2)
  1107.             asd.Rate = 1000
  1108.             asd.Rotation = NumberRange.new(-100, 100)
  1109.             asd.RotSpeed = NumberRange.new(-100, 100)
  1110.             asd.Speed = NumberRange.new(6)
  1111.             asd.VelocitySpread = 10000
  1112.             asd.Enabled=true
  1113.                     --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1114.                     dmg(c)
  1115.                     CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
  1116.                     coroutine.wrap(function()
  1117.                     wait(.2)
  1118.                     asd.Enabled = false
  1119.                     wait(2)
  1120.                     asd:Remove()
  1121.                     end)()
  1122.                        else
  1123.         CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3))      
  1124.         Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1125.  
  1126.                     end
  1127.                 end
  1128.             end
  1129.         end
  1130.     end
  1131.     end
  1132. end
  1133.  
  1134. -------------------------------------------------------
  1135. --End Important Functions--
  1136. -------------------------------------------------------
  1137.  
  1138. --[[
  1139.         Thanks for using Build-To-Lua by jarredbcv.
  1140. ]]--
  1141.  
  1142. New = function(Object, Parent, Name, Data)
  1143.     local Object = Instance.new(Object)
  1144.     for Index, Value in pairs(Data or {}) do
  1145.         Object[Index] = Value
  1146.     end
  1147.     Object.Parent = Parent
  1148.     Object.Name = Name
  1149.     return Object
  1150. end
  1151.    
  1152. Doll = New("Model",char,"Doll",{})
  1153. Handle = New("Part",Doll,"Handle",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.755005181, 0.52783519, 0.664805532),CFrame = CFrame.new(17.7066402, 4.04866695, 4.38868618, -0.408491671, 0.666965187, -0.623126268, 0.353551745, 0.745008111, 0.565648913, 0.841502249, 0.0107554942, -0.540138841),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1154. Mesh = New("CylinderMesh",Handle,"Mesh",{})
  1155. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1156. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1157. --Decal = New("Decal",Handle,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1158. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1159. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1160. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1161. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.8601875, 3.91987228, 3.94369364, 0.725253046, -0.0676794797, 0.685131192, -0.652452052, -0.385200739, 0.652613878, 0.219753951, -0.920328677, -0.3235268),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1162. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1163. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1164. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1165. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1166. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1167. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1168. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1169. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.725257337, -0.652455866, 0.219753742, -0.0676780641, -0.385204077, -0.920336843, 0.685135007, 0.652616382, -0.323529661),C1 = CFrame.new(-0.482725382, 0.00167179108, 0.0718259811, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1170. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.834486, 3.79168725, 3.64936543, 0.0676793754, -0.685130835, 0.725253344, 0.385200799, -0.652614176, -0.652451873, 0.920328736, 0.323526919, 0.219753981),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1171. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1172. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1173. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1174. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1175. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1176. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1177. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779449, 0.385204136, 0.920336902, -0.685134649, -0.65261662, 0.32352975, 0.725257695, -0.652455688, 0.219753742),C1 = CFrame.new(-0.765227079, -0.114135742, 0.174312592, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1178. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.469902, 4.25766516, 4.74769306, 0.445832253, 0.789082885, 0.422561586, -0.410611928, -0.239177942, 0.879868925, 0.795366764, -0.565779567, 0.217372388),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1179. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1180. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1181. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1182. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1183. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1184. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1185. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1186. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.445833862, -0.410613358, 0.795372128, 0.789088428, -0.239180744, -0.565785825, 0.422562867, 0.879873633, 0.217374772),C1 = CFrame.new(0.472706556, 0.0016708374, 0.0718240738, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1187. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.1839867, 3.98582673, 3.75731707, 0.429396152, -0.706048965, 0.563108683, -0.389012426, -0.70731467, -0.590215027, 0.815025091, 0.0343795903, -0.578376234),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1188. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1189. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1190. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1191. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1192. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1193. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1194. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.429397583, -0.389013648, 0.815030634, -0.706052482, -0.707317889, 0.0343799815, 0.563113213, -0.590219498, -0.57838279),C1 = CFrame.new(-0.340019703, -0.402200699, 0.631163597, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1195. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.3263435, 3.86502314, 4.01973581, 0.563109279, -0.429397821, 0.706047297, -0.590211987, 0.389013797, 0.707316399, -0.578378439, -0.815023482, -0.0343782082),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1196. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1197. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1198. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1199. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1200. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1201. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1202. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1203. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.563113868, -0.590216458, -0.578384995, -0.429399252, 0.389015079, -0.815029025, 0.706050813, 0.707319558, -0.0343785957),C1 = CFrame.new(-0.220053911, -0.394431114, 0.332381248, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1204. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.1463699, 4.02708626, 4.39648008, 0.0949088037, -0.73499012, 0.671386242, -0.165235519, 0.653441608, 0.738708198, -0.981658518, -0.181056261, -0.0594294369),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1205. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1206. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1207. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1208. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1209. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1210. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1211. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1212. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0949110687, -0.165237904, -0.981667101, -0.734994531, 0.653445482, -0.181055605, 0.67138958, 0.738711536, -0.0594298989),C1 = CFrame.new(0.227796555, -0.389676094, 0.33270359, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1213. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(16.9056702, 4.23298216, 4.33822775, 0.734989643, -0.671386659, 0.0949084461, -0.65344131, -0.738707781, -0.165238559, 0.18105793, 0.0594319291, -0.981658101),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1214. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1215. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1216. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1217. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1218. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1219. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1220. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.734994054, -0.653445184, 0.181057304, -0.671389878, -0.738711119, 0.0594324097, 0.0949106514, -0.165240943, -0.981666625),C1 = CFrame.new(0.349896908, -0.397447586, 0.630620956, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1221. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.668146014, 0.668146014, 0.668146014),CFrame = CFrame.new(17.5317345, 3.8532939, 4.38586617, -0.408485681, -0.666960537, 0.62312144, 0.353546619, -0.745002985, -0.565644801, 0.841490149, -0.01075528, 0.540134549),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1222. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1223. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1224. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1225. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1226. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1227. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1228. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.408489615, 0.353550047, 0.841498256, -0.666963577, -0.745006442, -0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(2.38418579e-07, -0.262242317, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1229. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.2187252, 4.32988024, 4.93205738, 0.445832521, -0.422561586, 0.789083481, -0.410612077, -0.879869342, -0.239178166, 0.795367122, -0.217372417, -0.565779924),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1230. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1231. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1232. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1233. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1234. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1235. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1236. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.4458341, -0.410613567, 0.795372486, -0.422562897, -0.879873991, -0.217374831, 0.789088964, -0.239180893, -0.565786123),C1 = CFrame.new(0.755987883, -0.110072136, 0.169605255, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1237. Part = New("Part",Doll,"Part",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.668145955, 0.668145835, 0.668145955),CFrame = CFrame.new(18.08988, 4.4767499, 4.39486742, 0.408485681, 0.666960537, 0.62312144, -0.353546619, 0.745002985, -0.565644801, -0.841490149, 0.01075528, 0.540134549),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1238. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.267258376, 0.267258346, 0.267258376),MeshId = "rbxassetid://511959728",TextureId = "rbxassetid://511959832",MeshType = Enum.MeshType.FileMesh,})
  1239. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.408489615, -0.353550047, -0.841498256, 0.666963577, 0.745006442, 0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(7.15255737e-07, 0.574602127, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1240. ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.9875202, 4.01644802, 3.77061558, -0.0676794201, -0.685131192, -0.725253105, -0.385200799, -0.652613878, 0.652452171, -0.920328856, 0.3235268, -0.219753891),CanCollide = false,})
  1241. Mesh = New("SpecialMesh",ConeMesh,"Mesh",{Scale = Vector3.new(0.0100221895, 0.334072918, 0.0100221895),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,})
  1242. mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0676780194, -0.385204077, -0.920336962, -0.685135007, -0.652616382, 0.323529661, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.646242142, 0.156686783, 0.14059639, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1243. ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.5272255, 4.25228214, 4.19855928, 0.0679666698, 0.36827448, 0.927217185, -0.212974086, -0.902587652, 0.374107033, 0.974675775, -0.222893685, 0.017090857),CanCollide = false,})
  1244. Mesh = New("SpecialMesh",ConeMesh,"Mesh",{Scale = Vector3.new(0.0100221895, 0.334072918, 0.0100221895),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,})
  1245. mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.368277669, -0.902593136, -0.22289744, 0.927222073, 0.374108285, 0.0170900673),C1 = CFrame.new(-0.0147144794, 0.0299873352, 0.329668999, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1246. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Bright red"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(18.0725803, 4.09775925, 3.73087263, 0.0676794201, 0.685131252, -0.725253105, 0.385200679, 0.652613938, 0.652452171, 0.920328856, -0.32352671, -0.219753891),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
  1247. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
  1248. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779896, 0.385204017, 0.920336962, 0.685135067, 0.652616382, -0.323529571, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.685684681, 0.273569107, 0.155054092, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1249. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Bright red"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(17.4762096, 4.37637663, 4.2292285, 0.0679666698, 0.927216947, -0.368275285, -0.212974086, 0.374107838, 0.902587295, 0.974675775, 0.0170910954, 0.222893804),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
  1250. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
  1251. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.927221835, 0.374109089, 0.0170903057, -0.368278474, 0.902592778, 0.22289747),C1 = CFrame.new(0.0758080482, 0.0887422562, 0.4150877, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1252.  
  1253. --lazi xd
  1254. Needle = New("Model",char,"Needle",{})
  1255. Handle2 = New("Part",Needle,"Handle2",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 2.4000001, 1),CFrame = CFrame.new(16.3492584, 4.78270006, 4.07852173, 0.0870969296, 0.578728557, -0.810855865, 0.54097569, -0.710955501, -0.449318945, -0.836516261, -0.399518967, -0.375000119),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
  1256. Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(0.100000001, 0.800000012, 0.100000001),MeshId = "http://www.roblox.com/asset/?id=1082802",MeshType = Enum.MeshType.FileMesh,})
  1257.  
  1258.  
  1259. for _, v in pairs(Doll:GetChildren()) do
  1260.     if v:IsA'BasePart' then
  1261.     v.CanCollide = false
  1262. end
  1263. end
  1264.  
  1265. for _, v in pairs(Needle:GetChildren()) do
  1266.     if v:IsA'BasePart' then
  1267.     v.CanCollide = false
  1268. end
  1269. end
  1270.  
  1271.  
  1272. local NewInstance = function(instance,parent,properties)
  1273.     local inst = Instance.new(instance,parent)
  1274.     if(properties)then
  1275.         for i,v in next, properties do
  1276.             pcall(function() inst[i] = v end)
  1277.         end
  1278.     end
  1279.     return inst;
  1280. end
  1281. local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(-.2,-.8,-.4)*CFrame.Angles(math.rad(-30),math.rad(220),math.rad(65))})
  1282.  
  1283. local HW2 = NewInstance('Weld',char,{Part0=la,Part1=Handle2,C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(125),math.rad(90))})
  1284.  
  1285.  
  1286.  
  1287. -------------------------------------------------------
  1288. --Start Music Option--
  1289. -------------------------------------------------------
  1290. local Music = Instance.new("Sound",tors)
  1291. Music.Volume = 2.5
  1292. Music.SoundId = "rbxassetid://803936798" --536675558 1470848774
  1293. Music.Looped = true
  1294. Music.Pitch = .9 --Pitcher
  1295. Music:Play()
  1296. -------------------------------------------------------
  1297. --End Music Option--
  1298. -------------------------------------------------------
  1299.  
  1300.  
  1301. -------------------------------------------------------
  1302. --Start Attacks N Stuff--
  1303. -------------------------------------------------------
  1304. local sine=0
  1305. function LockOn()
  1306. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1307. TargetSelect(mouse.Target.Parent)
  1308. CreateSound("743521450", char, 1, .8)
  1309. end
  1310. end
  1311.  
  1312.  
  1313.  
  1314. function Stab_Them_For_FUN()
  1315.     attack = true
  1316.     hum.WalkSpeed = 0
  1317.     if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
  1318.         local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1319.             local partasdeff = Instance.new("ParticleEmitter",torsy)
  1320.             partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1321.             partasdeff.LightEmission = .1
  1322.             partasdeff.Size = NumberSequence.new(0.2)
  1323.             partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1324.             aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1325.             bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1326.             partasdeff.Transparency = bbb
  1327.             partasdeff.Size = aaa
  1328.             partasdeff.ZOffset = .9
  1329.             partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1330.             partasdeff.LockedToPart = false
  1331.             partasdeff.EmissionDirection = "Back"
  1332.             partasdeff.Lifetime = NumberRange.new(1, 2)
  1333.             partasdeff.Rate = 1000
  1334.             partasdeff.Rotation = NumberRange.new(-100, 100)
  1335.             partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1336.             partasdeff.Speed = NumberRange.new(6)
  1337.             partasdeff.VelocitySpread = 10000
  1338.             partasdeff.Enabled=false
  1339.     for i = 0, 1.4, 0.1 do
  1340.         swait()
  1341.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1342.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
  1343.         if Mrandom(1,15) == 1 then
  1344.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1345.         end
  1346.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1347.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1348.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1349.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1350.     end
  1351.     dmg(targetted)
  1352.     partasdeff.Enabled=true
  1353. CreateSound("429400881", torsy, 10, .8)
  1354.     for i = 0, 1.4, 0.1 do
  1355.         swait()
  1356.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1357.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1358.         if Mrandom(1,15) == 1 then
  1359.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1360.         end
  1361.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1362.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1363.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1364.         LW.C0 = clerp(LW.C0, CF(-.4, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(65)), 0.1)
  1365.     end
  1366.     partasdeff.Enabled=false
  1367.     for i = 0, 1.4, 0.1 do
  1368.         swait()
  1369.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1370.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
  1371.         if Mrandom(1,15) == 1 then
  1372.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1373.         end
  1374.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1375.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1376.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1377.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1378.         end
  1379.     attack = false
  1380.     hum.WalkSpeed = 8
  1381.     elseif targetted.Name == "makhail07" then
  1382.     for i = 0, 2.4, 0.1 do
  1383.         swait()
  1384.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1385.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1386.         if Mrandom(1,15) == 1 then
  1387.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1388.         end
  1389.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1390.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1391.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1392.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1393.     end
  1394.     for i = 0, 2.4, 0.1 do
  1395.         swait()
  1396.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1397.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1398.         if Mrandom(1,15) == 1 then
  1399.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1400.         end
  1401.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1402.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1403.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1404.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1405.     end
  1406.     coroutine.wrap(function()
  1407.     wait(2)
  1408.     --partasdeff:Remove()
  1409.     end)()
  1410.     local sel = Mrandom(1,3)
  1411.     if sel == 1 then   
  1412.     chatfunc("Hmhmhm, Why try?")
  1413.     elseif sel == 2 then   
  1414.     chatfunc("Stop it that's my creator.")
  1415.     elseif sel == 3 then
  1416.     chatfunc("I can't do that...")
  1417.     end
  1418.     wait(2)
  1419.     hum.WalkSpeed = 8
  1420.     attack = false
  1421.     elseif targetted.Name == "Salvo_Starly" then
  1422.         for i = 0, 2.4, 0.1 do
  1423.         swait()
  1424.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1425.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1426.         if Mrandom(1,15) == 1 then
  1427.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1428.         end
  1429.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1430.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1431.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1432.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1433.     end
  1434.         for i = 0, 2.4, 0.1 do
  1435.         swait()
  1436.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1437.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1438.         if Mrandom(1,15) == 1 then
  1439.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1440.         end
  1441.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1442.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1443.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1444.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1445.     end
  1446.     coroutine.wrap(function()
  1447.     wait(2)
  1448.     --partasdeff:Remove()
  1449.     end)()
  1450.     local sel = Mrandom(1,3)
  1451.     if sel == 1 then   
  1452.     chatfunc("Sorry about that.")
  1453.     elseif sel == 2 then   
  1454.     chatfunc("H-Hello. I almost killed you.")
  1455.     elseif sel == 3 then
  1456.     chatfunc("OwO?")
  1457.     end
  1458.     wait(2)
  1459.     hum.WalkSpeed = 8
  1460.     attack = false
  1461.     elseif targetted.Name == "Nebula_Zorua" then
  1462.         for i = 0, 2.4, 0.1 do
  1463.         swait()
  1464.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1465.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1466.         if Mrandom(1,15) == 1 then
  1467.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1468.         end
  1469.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1470.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1471.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1472.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1473.     end
  1474.         for i = 0, 2.4, 0.1 do
  1475.         swait()
  1476.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1477.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1478.         if Mrandom(1,15) == 1 then
  1479.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1480.         end
  1481.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1482.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1483.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1484.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1485.     end
  1486.     coroutine.wrap(function()
  1487.     wait(2)
  1488.     --partasdeff:Remove()
  1489.     end)()
  1490.     local sel = Mrandom(1,3)
  1491.     if sel == 1 then   
  1492.     chatfunc("Sorry, Nebula.")
  1493.     elseif sel == 2 then   
  1494.     chatfunc("Theres no need to harm you. Yet...")
  1495.     elseif sel == 3 then
  1496.     chatfunc("My mistake.")
  1497.     end
  1498.     wait(2)
  1499.     hum.WalkSpeed = 8
  1500.     attack = false
  1501.     elseif targetted.Name == "KillerDarkness0105" then
  1502.         for i = 0, 2.4, 0.1 do
  1503.         swait()
  1504.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1505.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1506.         if Mrandom(1,15) == 1 then
  1507.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1508.         end
  1509.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1510.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1511.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1512.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1513.     end
  1514.         for i = 0, 2.4, 0.1 do
  1515.         swait()
  1516.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1517.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1518.         if Mrandom(1,15) == 1 then
  1519.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1520.         end
  1521.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1522.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1523.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1524.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1525.     end
  1526.     coroutine.wrap(function()
  1527.     wait(2)
  1528.     --partasdeff:Remove()
  1529.     end)()
  1530.     local sel = Mrandom(1,3)
  1531.     if sel == 1 then   
  1532.     chatfunc("Hm, Killer it's been a while.")
  1533.     elseif sel == 2 then   
  1534.     chatfunc("No need for this.")
  1535.     elseif sel == 3 then
  1536.     chatfunc("Hello, sorry.")
  1537.     end
  1538.     wait(2)
  1539.     hum.WalkSpeed = 8
  1540.     attack = false
  1541.     end
  1542. end
  1543.  
  1544. function Oh_No_AN_ERROR_Has_OcccccccurrEEEED()
  1545.     attack = true
  1546.     hum.WalkSpeed = 0
  1547.     if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
  1548.     local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1549.     local partasdeff = Instance.new("ParticleEmitter",torsy)
  1550.             partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1551.             partasdeff.LightEmission = .1
  1552.             partasdeff.Size = NumberSequence.new(0.2)
  1553.             partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1554.             aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1555.             bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1556.             partasdeff.Transparency = bbb
  1557.             partasdeff.Size = aaa
  1558.             partasdeff.ZOffset = .9
  1559.             partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1560.             partasdeff.LockedToPart = false
  1561.             partasdeff.EmissionDirection = "Back"
  1562.             partasdeff.Lifetime = NumberRange.new(1, 2)
  1563.             partasdeff.Rate = 1000
  1564.             partasdeff.Rotation = NumberRange.new(-100, 100)
  1565.             partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1566.             partasdeff.Speed = NumberRange.new(6)
  1567.             partasdeff.VelocitySpread = 10000
  1568.             partasdeff.Enabled=false
  1569.     for i = 0, 1.2, 0.1 do
  1570.         swait()
  1571.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1572.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1573.         if Mrandom(1,15) == 1 then
  1574.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1575.         end
  1576.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1577.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1578.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1579.         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(-5)), 0.1)
  1580.         end
  1581.     HW.Part0 = root
  1582.     for i = 0, 1.8, 0.1 do
  1583.         swait()
  1584.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1585.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1586.         if Mrandom(1,15) == 1 then
  1587.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1588.         end
  1589.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1590.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1591.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(5)), 0.1)
  1592.         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(-5)), 0.1)
  1593.         HW.C0 = clerp(HW.C0, CF(1,-2.9,-.7) * angles(Rad(-90), Rad(0), Rad(0)), 0.1)
  1594.         end
  1595.     kdown(targetted)
  1596.     for i = 0, 1.6, 0.1 do
  1597.         swait()
  1598.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1599.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1600.         if Mrandom(1,15) == 1 then
  1601.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1602.         end
  1603.         RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.8 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1604.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1605.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1606.         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(-5)), 0.1)
  1607.       end
  1608.     for i = 1,7 do
  1609.         partasdeff.Enabled = false
  1610.         for i = 0, 1.6, 0.1 do
  1611.         swait()
  1612.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  1613.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1614.         if Mrandom(1,15) == 1 then
  1615.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1616.         end
  1617.         RH.C0 = clerp(RH.C0, CF(1, -0.1 - 0.1 * Cos(sine / 20), -.8 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1618.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1619.         RW.C0 = clerp(RW.C0, CF(1.5, 0.3 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(15)), 0.1)
  1620.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.3 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
  1621.     end
  1622. CreateSound("429400881", torsy, 10, 1)
  1623.     partasdeff.Enabled = true
  1624.     for i = 0, 1.6, 0.1 do
  1625.         swait()
  1626.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1627.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1628.         if Mrandom(1,15) == 1 then
  1629.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1630.         end
  1631.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(10)), 0.15)
  1632.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1633.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(15)), 0.1)
  1634.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
  1635.     end
  1636.         end
  1637.     partasdeff.Enabled = false
  1638.     dmg(targetted)
  1639.     attack = false
  1640.     HW.Part0 = ra
  1641.     HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  1642.     hum.WalkSpeed = 8
  1643.     elseif targetted.Name == "makhail07" then
  1644.     for i = 0, 3.2, 0.1 do
  1645.         swait()
  1646.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1647.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1648.         if Mrandom(1,15) == 1 then
  1649.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1650.         end
  1651.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1652.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1653.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1654.         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(-5)), 0.1)
  1655.         end
  1656.     for i = 0, 1.8, 0.1 do
  1657.         swait()
  1658.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1659.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1660.         if Mrandom(1,15) == 1 then
  1661.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1662.         end
  1663.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1664.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1665.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1666.         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(-5)), 0.1)
  1667.             end
  1668.         coroutine.wrap(function()
  1669.     wait(2)
  1670.     --partasdeff:Remove()
  1671.     end)()
  1672.     local sel = Mrandom(1,3)
  1673.     if sel == 1 then   
  1674.     chatfunc("Hah you tried.")
  1675.     elseif sel == 2 then   
  1676.     chatfunc("No,no that's wrong.")
  1677.     elseif sel == 3 then
  1678.     chatfunc("Oops, I almost smashed myself to pieces.")
  1679.     end
  1680.     wait(2)
  1681.     hum.WalkSpeed = 8
  1682.     attack = false
  1683.     elseif targetted.Name == "Salvo_Starly" then
  1684.     for i = 0, 3.2, 0.1 do
  1685.         swait()
  1686.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1687.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1688.         if Mrandom(1,15) == 1 then
  1689.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1690.         end
  1691.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1692.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1693.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1694.         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(-5)), 0.1)
  1695.         end
  1696.     for i = 0, 1.8, 0.1 do
  1697.         swait()
  1698.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1699.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1700.         if Mrandom(1,15) == 1 then
  1701.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1702.         end
  1703.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1704.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1705.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1706.         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(-5)), 0.1)
  1707.             end
  1708.         coroutine.wrap(function()
  1709.     wait(2)
  1710.     --partasdeff:Remove()
  1711.     end)()
  1712.     local sel = Mrandom(1,3)
  1713.     if sel == 1 then   
  1714.     chatfunc("Ooooopsy.")
  1715.     elseif sel == 2 then   
  1716.     chatfunc("OOF I almost smashed you.")
  1717.     elseif sel == 3 then
  1718.     chatfunc("Give me, wait...Salvo?")
  1719.     end
  1720.     wait(2)
  1721.     hum.WalkSpeed = 8
  1722.     attack = false
  1723.     elseif targetted.Name == "Nebula_Zorua" then
  1724.     for i = 0, 3.2, 0.1 do
  1725.         swait()
  1726.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1727.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1728.         if Mrandom(1,15) == 1 then
  1729.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1730.         end
  1731.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1732.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1733.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1734.         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(-5)), 0.1)
  1735.         end
  1736.     for i = 0, 1.8, 0.1 do
  1737.         swait()
  1738.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1739.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1740.         if Mrandom(1,15) == 1 then
  1741.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1742.         end
  1743.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1744.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1745.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1746.         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(-5)), 0.1)
  1747.             end
  1748.         coroutine.wrap(function()
  1749.     wait(2)
  1750.     --partasdeff:Remove()
  1751.     end)()
  1752.     local sel = Mrandom(1,3)
  1753.     if sel == 1 then   
  1754.     chatfunc("Lucky I know you...")
  1755.     elseif sel == 2 then   
  1756.     chatfunc("Nebu?")
  1757.     elseif sel == 3 then
  1758.     chatfunc("VSB = Bad, GSB = Good")
  1759.     end
  1760.     wait(2)
  1761.     hum.WalkSpeed = 8
  1762.     attack = false
  1763.     elseif targetted.Name == "KillerDarkness0105" then
  1764.     for i = 0, 3.2, 0.1 do
  1765.         swait()
  1766.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1767.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1768.         if Mrandom(1,15) == 1 then
  1769.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1770.         end
  1771.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1772.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1773.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1774.         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(-5)), 0.1)
  1775.         end
  1776.     for i = 0, 1.8, 0.1 do
  1777.         swait()
  1778.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1779.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1780.         if Mrandom(1,15) == 1 then
  1781.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1782.         end
  1783.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1784.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1785.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1786.         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(-5)), 0.1)
  1787.             end
  1788.         coroutine.wrap(function()
  1789.     wait(2)
  1790.     --partasdeff:Remove()
  1791.     end)()
  1792.     local sel = Mrandom(1,3)
  1793.     if sel == 1 then   
  1794.     chatfunc("AaaaAA Killer, what are you doing?")
  1795.     elseif sel == 2 then   
  1796.     chatfunc("Are you finished with those touhou scripts?")
  1797.     elseif sel == 3 then
  1798.     chatfunc("Oh hi, sorry for that.")
  1799.     end
  1800.     wait(2)
  1801.     hum.WalkSpeed = 8
  1802.     attack = false
  1803.     end
  1804. end
  1805.  
  1806. function Get_Over_Here_And_PERISH()
  1807.     attack = true
  1808.     hum.WalkSpeed = 0
  1809.     local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1810.     for i = 0, 2, 0.1 do
  1811.         swait()
  1812.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(25)), 0.15)
  1813.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1814.         if Mrandom(1,15) == 1 then
  1815.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1816.         end
  1817.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1818.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1819.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
  1820.         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(-10)), 0.1)
  1821.         end
  1822.     coroutine.resume(coroutine.create(function()
  1823.         for i = 1,10 do
  1824.             swait()
  1825.         local Pully = Create("BodyPosition")({
  1826.             P = 9000,
  1827.             D = 1000,
  1828.             maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1829.             position = ra.Position - ra.CFrame.lookVector * 6,
  1830.             Parent = torsy
  1831.           })
  1832.           game:GetService("Debris"):AddItem(Pully, 0.2)
  1833.           wait()
  1834.         end
  1835.     end))
  1836.     CreateSound("541909814", torsy, 10, 1)
  1837.     CreateSound("131228548", hed, 10, 1)
  1838.     for i = 0, 2.2, 0.1 do
  1839.         swait()
  1840.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-35)), 0.15)
  1841.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(35)), 0.3)
  1842.         if Mrandom(1,15) == 1 then
  1843.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1844.         end
  1845.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(17), Rad(-10)), 0.15)
  1846.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1847.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1848.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-5)), 0.1)
  1849.         end
  1850.     attack = false
  1851.     hum.WalkSpeed = 8
  1852. end
  1853.  
  1854. function The_End_offfff()
  1855.     attack = true
  1856.     hum.WalkSpeed = 0
  1857.     Music:Stop()
  1858.     for _, v in pairs(Doll:GetChildren()) do
  1859.     if v:IsA'BasePart' then
  1860.     v:Remove()
  1861.     end
  1862.     end
  1863.     for _, v in pairs(Needle:GetChildren()) do
  1864.     if v:IsA'BasePart' then
  1865.      v:Remove()
  1866.     end
  1867.     end
  1868.     for i = 0,6,0.1 do
  1869.         swait()
  1870.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1871.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1872.         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)
  1873.         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)
  1874.         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(5)), 0.1)
  1875.         LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1)
  1876.     end
  1877.     CreateSound("1093102664", hed, 10, 1)
  1878.     for i = 0,4,0.1 do
  1879.         swait()
  1880.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  1881.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(-90)), 0.4)
  1882.         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)
  1883.         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)
  1884.         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(5)), 0.1)
  1885.         LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4)
  1886.     end
  1887.     for i = 0,6,0.1 do
  1888.         swait()
  1889.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -3 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1890.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.4)
  1891.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14), Rad(0), Rad(0)), 0.15)
  1892.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6), Rad(0), Rad(0)), 0.15)
  1893.         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(155)), 0.1)
  1894.         LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-167)), 0.4)
  1895.     end
  1896.     wait(2)
  1897.     dmg(char)
  1898. end
  1899.  
  1900. -------------------------------------------------------
  1901. --End Attacks N Stuff--
  1902. -------------------------------------------------------
  1903. mouse.Button1Down:connect(function()
  1904.     if attack == false and targetted ~= nil then
  1905.         Stab_Them_For_FUN()
  1906.     end
  1907. end)
  1908.  
  1909.  
  1910. mouse.KeyDown:connect(function(key)
  1911. if attack == false then
  1912.     if key == 'q' then
  1913.         LockOn()
  1914.     elseif key == 'f' then
  1915.         chatfunc("Come on now child everythings okay...")
  1916.     elseif key == 'e' and targetted ~= nil then
  1917.         Oh_No_AN_ERROR_Has_OcccccccurrEEEED()
  1918.     elseif key == 'x' and targetted ~= nil then
  1919.         Get_Over_Here_And_PERISH()
  1920.     elseif key == 'r' and targetted ~= nil then
  1921.         CreateSound("289556450", hed, .4, math.random(5, 15) / 5)
  1922.         root.CFrame = targetted.Head.CFrame * CFrame.new(0, 0, 6)
  1923.     elseif key == 'p' then
  1924.         The_End_offfff()
  1925.         end
  1926.     end
  1927. end)
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934. -------------------------------------------------------
  1935. --Start Animations--
  1936. -------------------------------------------------------
  1937. local equipped = false
  1938. hum.WalkSpeed = 8
  1939. hed.face.Texture = "rbxassetid://1471407701"
  1940. local idle = 0
  1941. local change = 1
  1942. local val = 0
  1943. local toim = 0
  1944. local idleanim = 0.4
  1945. hum.Animator.Parent = nil
  1946. while true do
  1947.     swait()
  1948.     game.Lighting.TimeOfDay = "00:00:00"
  1949.     --game.Lighting.FogEnd = 50
  1950.     --game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  1951.     Music.Parent = tors
  1952.    
  1953.     imgl.Rotation = imgl.Rotation + 3
  1954.     img2.Rotation = img2.Rotation + 3
  1955.     if targetted ~= nil then
  1956.     abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1957.     abss.Enabled = true
  1958.     elseif targetted == nil then
  1959.     abss.Adornee = nil
  1960.     abss.Enabled = false
  1961.     end
  1962.  
  1963.     while true and imgl.Rotation >= 360 do
  1964.     imgl.Rotation = 0  
  1965.     img2.Rotation = 0
  1966.     end
  1967.    
  1968.     sine = sine + change
  1969.     local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1970.     local velderp = root.Velocity.y
  1971.     hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1972.     if equipped == true or equipped == false then
  1973.         if attack == false then
  1974.             idle = idle + 1
  1975.         else
  1976.             idle = 0
  1977.         end
  1978.         if 1 < root.Velocity.y and hitfloor == nil then
  1979.             Anim = "Jump"
  1980.             if attack == false then
  1981.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  1982.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  1983.                 RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1984.                 LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1985.                 LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1986.                 RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1987.             end
  1988.         elseif -1 > root.Velocity.y and hitfloor == nil then
  1989.             Anim = "Fall"
  1990.             if attack == false then
  1991.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  1992.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  1993.                 RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1994.                 LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1995.                 LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1996.                 RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1997.             end
  1998.         elseif torvel < 1 and hitfloor ~= nil then
  1999.             Anim = "Idle"
  2000.             change = .6
  2001.             if attack == false then
  2002.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2003.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  2004.                 if Mrandom(1,15) == 1 then
  2005.                     tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  2006.                 end
  2007.                 RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  2008.                 LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  2009.                 RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  2010.                 LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(130), Rad(0), Rad(20)), 0.1)
  2011.                 HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  2012.             end
  2013.         elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  2014.             Anim = "Walk"
  2015.             change = .4
  2016.             if attack == false then
  2017.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15)
  2018.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(30 * Cos(sine / 20)), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2019.                 RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * 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)
  2020.                 LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * 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)
  2021.                 RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15) - ra.RotVelocity.Y / 75), 0.1)
  2022.                 LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70)  * Cos(sine / 7) , Rad(0) ,    Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  2023.                 HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  2024.             end
  2025.         end
  2026.     end
  2027.     if 0 < #Effects then
  2028.         for e = 1, #Effects do
  2029.             if Effects[e] ~= nil then
  2030.                 local Thing = Effects[e]
  2031.                 if Thing ~= nil then
  2032.                     local Part = Thing[1]
  2033.                     local Mode = Thing[2]
  2034.                     local Delay = Thing[3]
  2035.                     local IncX = Thing[4]
  2036.                     local IncY = Thing[5]
  2037.                     local IncZ = Thing[6]
  2038.                     if 1 >= Thing[1].Transparency then
  2039.                         if Thing[2] == "Block1" then
  2040.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2041.                             local Mesh = Thing[1].Mesh
  2042.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2043.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2044.                         elseif Thing[2] == "Block2" then
  2045.                             Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2046.                             local Mesh = Thing[7]
  2047.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2048.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2049.                         elseif Thing[2] == "Block3" then
  2050.                             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)
  2051.                             local Mesh = Thing[7]
  2052.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2053.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2054.                         elseif Thing[2] == "Cylinder" then
  2055.                             local Mesh = Thing[1].Mesh
  2056.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2057.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2058.                         elseif Thing[2] == "Blood" then
  2059.                             local Mesh = Thing[7]
  2060.                             Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2061.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2062.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2063.                         elseif Thing[2] == "Elec" then
  2064.                             local Mesh = Thing[1].Mesh
  2065.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2066.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2067.                         elseif Thing[2] == "Disappear" then
  2068.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2069.                         elseif Thing[2] == "Shatter" then
  2070.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2071.                             Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2072.                             Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2073.                             Thing[6] = Thing[6] + Thing[5]
  2074.                         end
  2075.                     else
  2076.                         Part.Parent = nil
  2077.                         table.remove(Effects, e)
  2078.                     end
  2079.                 end
  2080.             end
  2081.         end
  2082.     end
  2083. end
  2084. -------------------------------------------------------
  2085. --End Animations And Script--
  2086. -------------------------------------------------------
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