SHARE
TWEET

Untitled

SHADOWCRAFTER666 Aug 25th, 2018 75 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 mouse = plr:GetMouse()
  177. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  178. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  179. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  180.  
  181.  
  182. -------------------------------------------------------
  183. --Start Good Stuff--
  184. -------------------------------------------------------
  185. CF = CFrame.new
  186. angles = CFrame.Angles
  187. attack = false
  188. Euler = CFrame.fromEulerAnglesXYZ
  189. Rad = math.rad
  190. IT = Instance.new
  191. BrickC = BrickColor.new
  192. Cos = math.cos
  193. Acos = math.acos
  194. Sin = math.sin
  195. Asin = math.asin
  196. Abs = math.abs
  197. Mrandom = math.random
  198. Floor = math.floor
  199. -------------------------------------------------------
  200. --End Good Stuff--
  201. -------------------------------------------------------
  202. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  203. RSH, LSH = nil, nil
  204. RW = Instance.new("Weld")
  205. LW = Instance.new("Weld")
  206. RH = tors["Right Hip"]
  207. LH = tors["Left Hip"]
  208. RSH = tors["Right Shoulder"]
  209. LSH = tors["Left Shoulder"]
  210. RSH.Parent = nil
  211. LSH.Parent = nil
  212. RW.Name = "RW"
  213. RW.Part0 = tors
  214. RW.C0 = CF(1.5, 0.5, 0)
  215. RW.C1 = CF(0, 0.5, 0)
  216. RW.Part1 = ra
  217. RW.Parent = tors
  218. LW.Name = "LW"
  219. LW.Part0 = tors
  220. LW.C0 = CF(-1.5, 0.5, 0)
  221. LW.C1 = CF(0, 0.5, 0)
  222. LW.Part1 = la
  223. LW.Parent = tors
  224. Effects = {}
  225.  
  226. -------------------------------------------------------
  227. --Start HeartBeat--
  228. -------------------------------------------------------
  229. ArtificialHB = Instance.new("BindableEvent", script)
  230. ArtificialHB.Name = "Heartbeat"
  231. script:WaitForChild("Heartbeat")
  232.  
  233. frame = 1 / 60
  234. tf = 0
  235. allowframeloss = false
  236. tossremainder = false
  237.  
  238.  
  239. lastframe = tick()
  240. script.Heartbeat:Fire()
  241.  
  242.  
  243. game:GetService("RunService").Heartbeat:connect(function(s, p)
  244.     tf = tf + s
  245.     if tf >= frame then
  246.         if allowframeloss then
  247.             script.Heartbeat:Fire()
  248.             lastframe = tick()
  249.         else
  250.             for i = 1, math.floor(tf / frame) do
  251.                 script.Heartbeat:Fire()
  252.             end
  253.             lastframe = tick()
  254.         end
  255.         if tossremainder then
  256.             tf = 0
  257.         else
  258.             tf = tf - frame * math.floor(tf / frame)
  259.         end
  260.     end
  261. end)
  262. -------------------------------------------------------
  263. --End HeartBeat--
  264. -------------------------------------------------------
  265.  
  266. -------------------------------------------------------
  267. --Start Important Functions--
  268. -------------------------------------------------------
  269. function swait(num)
  270.     if num == 0 or num == nil then
  271.         game:service("RunService").Stepped:wait(0)
  272.     else
  273.         for i = 0, num do
  274.             game:service("RunService").Stepped:wait(0)
  275.         end
  276.     end
  277. end
  278. function thread(f)
  279.     coroutine.resume(coroutine.create(f))
  280. end
  281. function clerp(a, b, t)
  282.     local qa = {
  283.         QuaternionFromCFrame(a)
  284.     }
  285.     local qb = {
  286.         QuaternionFromCFrame(b)
  287.     }
  288.     local ax, ay, az = a.x, a.y, a.z
  289.     local bx, by, bz = b.x, b.y, b.z
  290.     local _t = 1 - t
  291.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  292. end
  293. function QuaternionFromCFrame(cf)
  294.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  295.     local trace = m00 + m11 + m22
  296.     if trace > 0 then
  297.         local s = math.sqrt(1 + trace)
  298.         local recip = 0.5 / s
  299.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  300.     else
  301.         local i = 0
  302.         if m00 < m11 then
  303.             i = 1
  304.         end
  305.         if m22 > (i == 0 and m00 or m11) then
  306.             i = 2
  307.         end
  308.         if i == 0 then
  309.             local s = math.sqrt(m00 - m11 - m22 + 1)
  310.             local recip = 0.5 / s
  311.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  312.         elseif i == 1 then
  313.             local s = math.sqrt(m11 - m22 - m00 + 1)
  314.             local recip = 0.5 / s
  315.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  316.         elseif i == 2 then
  317.             local s = math.sqrt(m22 - m00 - m11 + 1)
  318.             local recip = 0.5 / s
  319.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  320.         end
  321.     end
  322. end
  323. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  324.     local xs, ys, zs = x + x, y + y, z + z
  325.     local wx, wy, wz = w * xs, w * ys, w * zs
  326.     local xx = x * xs
  327.     local xy = x * ys
  328.     local xz = x * zs
  329.     local yy = y * ys
  330.     local yz = y * zs
  331.     local zz = z * zs
  332.     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))
  333. end
  334. function QuaternionSlerp(a, b, t)
  335.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  336.     local startInterp, finishInterp
  337.     if cosTheta >= 1.0E-4 then
  338.         if 1 - cosTheta > 1.0E-4 then
  339.             local theta = math.acos(cosTheta)
  340.             local invSinTheta = 1 / Sin(theta)
  341.             startInterp = Sin((1 - t) * theta) * invSinTheta
  342.             finishInterp = Sin(t * theta) * invSinTheta
  343.         else
  344.             startInterp = 1 - t
  345.             finishInterp = t
  346.         end
  347.     elseif 1 + cosTheta > 1.0E-4 then
  348.         local theta = math.acos(-cosTheta)
  349.         local invSinTheta = 1 / Sin(theta)
  350.         startInterp = Sin((t - 1) * theta) * invSinTheta
  351.         finishInterp = Sin(t * theta) * invSinTheta
  352.     else
  353.         startInterp = t - 1
  354.         finishInterp = t
  355.     end
  356.     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
  357. end
  358. function rayCast(Position, Direction, Range, Ignore)
  359.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  360. end
  361. local RbxUtility = LoadLibrary("RbxUtility")
  362. local Create = RbxUtility.Create
  363.  
  364. -------------------------------------------------------
  365. --Start Damage Function--
  366. -------------------------------------------------------
  367. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  368.     if hit.Parent == nil then
  369.         return
  370.     end
  371.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  372.     for _, v in pairs(hit.Parent:children()) do
  373.         if v:IsA("Humanoid") then
  374.             h = v
  375.         end
  376.     end
  377.          if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  378.    
  379.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  380.          end
  381.  
  382.     if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  383.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  384.             if hit.Parent.DebounceHit.Value == true then
  385.                 return
  386.             end
  387.         end
  388.          if insta == true then
  389.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  390.          end
  391.         local c = Create("ObjectValue"){
  392.             Name = "creator",
  393.             Value = game:service("Players").LocalPlayer,
  394.             Parent = h,
  395.         }
  396.         game:GetService("Debris"):AddItem(c, .5)
  397.         if HitSound ~= nil and HitPitch ~= nil then
  398.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  399.         end
  400.         local Damage = math.random(minim, maxim)
  401.         local blocked = false
  402.         local block = hit.Parent:findFirstChild("Block")
  403.         if block ~= nil then
  404.             if block.className == "IntValue" then
  405.                 if block.Value > 0 then
  406.                     blocked = true
  407.                     block.Value = block.Value - 1
  408.                     print(block.Value)
  409.                 end
  410.             end
  411.         end
  412.         if blocked == false then
  413.             h.Health = h.Health - Damage
  414.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  415.         else
  416.             h.Health = h.Health - (Damage / 2)
  417.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  418.         end
  419.         if Type == "Knockdown" then
  420.             local hum = hit.Parent.Humanoid
  421.             hum.PlatformStand = true
  422.             coroutine.resume(coroutine.create(function(HHumanoid)
  423.                 swait(1)
  424.                 HHumanoid.PlatformStand = false
  425.             end), hum)
  426.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  427.             local bodvol = Create("BodyVelocity"){
  428.                 velocity = angle * knockback,
  429.                 P = 5000,
  430.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  431.                 Parent = hit,
  432.             }
  433.             local rl = Create("BodyAngularVelocity"){
  434.                 P = 3000,
  435.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  436.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  437.                 Parent = hit,
  438.             }
  439.             game:GetService("Debris"):AddItem(bodvol, .5)
  440.             game:GetService("Debris"):AddItem(rl, .5)
  441.         elseif Type == "Normal" then
  442.             local vp = Create("BodyVelocity"){
  443.                 P = 500,
  444.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  445.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  446.             }
  447.             if knockback > 0 then
  448.                 vp.Parent = hit.Parent.Torso
  449.             end
  450.             game:GetService("Debris"):AddItem(vp, .5)
  451.         elseif Type == "Up" then
  452.             local bodyVelocity = Create("BodyVelocity"){
  453.                 velocity = Vector3.new(0, 20, 0),
  454.                 P = 5000,
  455.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  456.                 Parent = hit,
  457.             }
  458.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  459.         elseif Type == "DarkUp" then
  460.             coroutine.resume(coroutine.create(function()
  461.                 for i = 0, 1, 0.1 do
  462.                     swait()
  463.                     Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  464.                 end
  465.             end))
  466.             local bodyVelocity = Create("BodyVelocity"){
  467.                 velocity = Vector3.new(0, 20, 0),
  468.                 P = 5000,
  469.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  470.                 Parent = hit,
  471.             }
  472.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  473.         elseif Type == "Snare" then
  474.             local bp = Create("BodyPosition"){
  475.                 P = 2000,
  476.                 D = 100,
  477.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  478.                 position = hit.Parent.Torso.Position,
  479.                 Parent = hit.Parent.Torso,
  480.             }
  481.             game:GetService("Debris"):AddItem(bp, 1)
  482.         elseif Type == "Freeze" then
  483.             local BodPos = Create("BodyPosition"){
  484.                 P = 50000,
  485.                 D = 1000,
  486.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  487.                 position = hit.Parent.Torso.Position,
  488.                 Parent = hit.Parent.Torso,
  489.             }
  490.             local BodGy = Create("BodyGyro") {
  491.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  492.                 P = 20e+003,
  493.                 Parent = hit.Parent.Torso,
  494.                 cframe = hit.Parent.Torso.CFrame,
  495.             }
  496.             hit.Parent.Torso.Anchored = true
  497.             coroutine.resume(coroutine.create(function(Part)
  498.                 swait(1.5)
  499.                 Part.Anchored = false
  500.             end), hit.Parent.Torso)
  501.             game:GetService("Debris"):AddItem(BodPos, 3)
  502.             game:GetService("Debris"):AddItem(BodGy, 3)
  503.         end
  504.         local debounce = Create("BoolValue"){
  505.             Name = "DebounceHit",
  506.             Parent = hit.Parent,
  507.             Value = true,
  508.         }
  509.         game:GetService("Debris"):AddItem(debounce, Delay)
  510.         c = Create("ObjectValue"){
  511.             Name = "creator",
  512.             Value = Player,
  513.             Parent = h,
  514.         }
  515.         game:GetService("Debris"):AddItem(c, .5)
  516.     end
  517. end
  518. -------------------------------------------------------
  519. --End Damage Function--
  520. -------------------------------------------------------
  521.  
  522. -------------------------------------------------------
  523. --Start Damage Function Customization--
  524. -------------------------------------------------------
  525. function ShowDamage(Pos, Text, Time, Color)
  526.     local Rate = (1 / 30)
  527.     local Pos = (Pos or Vector3.new(0, 0, 0))
  528.     local Text = (Text or "")
  529.     local Time = (Time or 2)
  530.     local Color = (Color or Color3.new(1, 0, 1))
  531.     local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  532.     EffectPart.Anchored = true
  533.     local BillboardGui = Create("BillboardGui"){
  534.         Size = UDim2.new(3, 0, 3, 0),
  535.         Adornee = EffectPart,
  536.         Parent = EffectPart,
  537.     }
  538.     local TextLabel = Create("TextLabel"){
  539.         BackgroundTransparency = 1,
  540.         Size = UDim2.new(1, 0, 1, 0),
  541.         Text = Text,
  542.         Font = "Bodoni",
  543.         TextColor3 = Color,
  544.         TextScaled = true,
  545.         TextStrokeColor3 = Color3.fromRGB(0,0,0),
  546.         Parent = BillboardGui,
  547.     }
  548.     game.Debris:AddItem(EffectPart, (Time))
  549.     EffectPart.Parent = game:GetService("Workspace")
  550.     delay(0, function()
  551.         local Frames = (Time / Rate)
  552.         for Frame = 1, Frames do
  553.             wait(Rate)
  554.             local Percent = (Frame / Frames)
  555.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  556.             TextLabel.TextTransparency = Percent
  557.         end
  558.         if EffectPart and EffectPart.Parent then
  559.             EffectPart:Destroy()
  560.         end
  561.     end)
  562. end
  563. -------------------------------------------------------
  564. --End Damage Function Customization--
  565. -------------------------------------------------------
  566.  
  567. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  568.   for _, c in pairs(workspace:children()) do
  569.     local hum = c:findFirstChild("Humanoid")
  570.     if hum ~= nil then
  571.       local head = c:findFirstChild("Head")
  572.       if head ~= nil then
  573.         local targ = head.Position - Part.Position
  574.         local mag = targ.magnitude
  575.         if magni >= mag and c.Name ~= plr.Name then
  576.           Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  577.         end
  578.       end
  579.     end
  580.   end
  581. end
  582.  
  583.  
  584. CFuncs = {
  585.     Part = {
  586.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  587.             local Part = Create("Part")({
  588.                 Parent = Parent,
  589.                 Reflectance = Reflectance,
  590.                 Transparency = Transparency,
  591.                 CanCollide = false,
  592.                 Locked = true,
  593.                 BrickColor = BrickColor.new(tostring(BColor)),
  594.                 Name = Name,
  595.                 Size = Size,
  596.                 Material = Material
  597.             })
  598.             RemoveOutlines(Part)
  599.             return Part
  600.         end
  601.     },
  602.     Mesh = {
  603.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  604.             local Msh = Create(Mesh)({
  605.                 Parent = Part,
  606.                 Offset = OffSet,
  607.                 Scale = Scale
  608.             })
  609.             if Mesh == "SpecialMesh" then
  610.                 Msh.MeshType = MeshType
  611.                 Msh.MeshId = MeshId
  612.             end
  613.             return Msh
  614.         end
  615.     },
  616.     Mesh = {
  617.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  618.             local Msh = Create(Mesh)({
  619.                 Parent = Part,
  620.                 Offset = OffSet,
  621.                 Scale = Scale
  622.             })
  623.             if Mesh == "SpecialMesh" then
  624.                 Msh.MeshType = MeshType
  625.                 Msh.MeshId = MeshId
  626.             end
  627.             return Msh
  628.         end
  629.     },
  630.     Weld = {
  631.         Create = function(Parent, Part0, Part1, C0, C1)
  632.             local Weld = Create("Weld")({
  633.                 Parent = Parent,
  634.                 Part0 = Part0,
  635.                 Part1 = Part1,
  636.                 C0 = C0,
  637.                 C1 = C1
  638.             })
  639.             return Weld
  640.         end
  641.     },
  642.     Sound = {
  643.         Create = function(id, par, vol, pit)
  644.             coroutine.resume(coroutine.create(function()
  645.                 local S = Create("Sound")({
  646.                     Volume = vol,
  647.                     Pitch = pit or 1,
  648.                     SoundId = id,
  649.                     Parent = par or workspace
  650.                 })
  651.                 wait()
  652.                 S:play()
  653.                 game:GetService("Debris"):AddItem(S, 6)
  654.             end))
  655.         end
  656.     },
  657.     ParticleEmitter = {
  658.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  659.             local fp = Create("ParticleEmitter")({
  660.                 Parent = Parent,
  661.                 Color = ColorSequence.new(Color1, Color2),
  662.                 LightEmission = LightEmission,
  663.                 Size = Size,
  664.                 Texture = Texture,
  665.                 Transparency = Transparency,
  666.                 ZOffset = ZOffset,
  667.                 Acceleration = Accel,
  668.                 Drag = Drag,
  669.                 LockedToPart = LockedToPart,
  670.                 VelocityInheritance = VelocityInheritance,
  671.                 EmissionDirection = EmissionDirection,
  672.                 Enabled = Enabled,
  673.                 Lifetime = LifeTime,
  674.                 Rate = Rate,
  675.                 Rotation = Rotation,
  676.                 RotSpeed = RotSpeed,
  677.                 Speed = Speed,
  678.                 VelocitySpread = VelocitySpread
  679.             })
  680.             return fp
  681.         end
  682.     }
  683. }
  684. function RemoveOutlines(part)
  685.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  686. end
  687. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  688.     local Part = Create("Part")({
  689.         formFactor = FormFactor,
  690.         Parent = Parent,
  691.         Reflectance = Reflectance,
  692.         Transparency = Transparency,
  693.         CanCollide = false,
  694.         Locked = true,
  695.         BrickColor = BrickColor.new(tostring(BColor)),
  696.         Name = Name,
  697.         Size = Size,
  698.         Material = Material
  699.     })
  700.     RemoveOutlines(Part)
  701.     return Part
  702. end
  703. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  704.     local Msh = Create(Mesh)({
  705.         Parent = Part,
  706.         Offset = OffSet,
  707.         Scale = Scale
  708.     })
  709.     if Mesh == "SpecialMesh" then
  710.         Msh.MeshType = MeshType
  711.         Msh.MeshId = MeshId
  712.     end
  713.     return Msh
  714. end
  715. function CreateWeld(Parent, Part0, Part1, C0, C1)
  716.     local Weld = Create("Weld")({
  717.         Parent = Parent,
  718.         Part0 = Part0,
  719.         Part1 = Part1,
  720.         C0 = C0,
  721.         C1 = C1
  722.     })
  723.     return Weld
  724. end
  725.  
  726.  
  727. -------------------------------------------------------
  728. --Start Effect Function--
  729. -------------------------------------------------------
  730. EffectModel = Instance.new("Model", char)
  731. Effects = {
  732.   Block = {
  733.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  734.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  735.       prt.Anchored = true
  736.       prt.CFrame = cframe
  737.       local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  738.       game:GetService("Debris"):AddItem(prt, 10)
  739.       if Type == 1 or Type == nil then
  740.         table.insert(Effects, {
  741.           prt,
  742.           "Block1",
  743.           delay,
  744.           x3,
  745.           y3,
  746.           z3,
  747.           msh
  748.         })
  749.       elseif Type == 2 then
  750.         table.insert(Effects, {
  751.           prt,
  752.           "Block2",
  753.           delay,
  754.           x3,
  755.           y3,
  756.           z3,
  757.           msh
  758.         })
  759.       else
  760.         table.insert(Effects, {
  761.           prt,
  762.           "Block3",
  763.           delay,
  764.           x3,
  765.           y3,
  766.           z3,
  767.           msh
  768.         })
  769.       end
  770.     end
  771.   },
  772.   Sphere = {
  773.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  774.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  775.       prt.Anchored = true
  776.       prt.CFrame = cframe
  777.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  778.       game:GetService("Debris"):AddItem(prt, 10)
  779.       table.insert(Effects, {
  780.         prt,
  781.         "Cylinder",
  782.         delay,
  783.         x3,
  784.         y3,
  785.         z3,
  786.         msh
  787.       })
  788.     end
  789.   },
  790.   Cylinder = {
  791.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  792.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  793.       prt.Anchored = true
  794.       prt.CFrame = cframe
  795.       local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  796.       game:GetService("Debris"):AddItem(prt, 10)
  797.       table.insert(Effects, {
  798.         prt,
  799.         "Cylinder",
  800.         delay,
  801.         x3,
  802.         y3,
  803.         z3,
  804.         msh
  805.       })
  806.     end
  807.   },
  808.   Wave = {
  809.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  810.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  811.       prt.Anchored = true
  812.       prt.CFrame = cframe
  813.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  814.       game:GetService("Debris"):AddItem(prt, 10)
  815.       table.insert(Effects, {
  816.         prt,
  817.         "Cylinder",
  818.         delay,
  819.         x3 / 60,
  820.         y3 / 60,
  821.         z3 / 60,
  822.         msh
  823.       })
  824.     end
  825.   },
  826.   Ring = {
  827.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  828.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  829.       prt.Anchored = true
  830.       prt.CFrame = cframe
  831.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  832.       game:GetService("Debris"):AddItem(prt, 10)
  833.       table.insert(Effects, {
  834.         prt,
  835.         "Cylinder",
  836.         delay,
  837.         x3,
  838.         y3,
  839.         z3,
  840.         msh
  841.       })
  842.     end
  843.   },
  844.   Break = {
  845.     Create = function(brickcolor, cframe, x1, y1, z1)
  846.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  847.       prt.Anchored = true
  848.       prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  849.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  850.       local num = math.random(10, 50) / 1000
  851.       game:GetService("Debris"):AddItem(prt, 10)
  852.       table.insert(Effects, {
  853.         prt,
  854.         "Shatter",
  855.         num,
  856.         prt.CFrame,
  857.         math.random() - math.random(),
  858.         0,
  859.         math.random(50, 100) / 100
  860.       })
  861.     end
  862.   },
  863. Spiral = {
  864.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  865.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  866.       prt.Anchored = true
  867.       prt.CFrame = cframe
  868.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  869.       game:GetService("Debris"):AddItem(prt, 10)
  870.       table.insert(Effects, {
  871.         prt,
  872.         "Cylinder",
  873.         delay,
  874.         x3,
  875.         y3,
  876.         z3,
  877.         msh
  878.       })
  879.     end
  880.   },
  881. Push = {
  882.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  883.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  884.       prt.Anchored = true
  885.       prt.CFrame = cframe
  886.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  887.       game:GetService("Debris"):AddItem(prt, 10)
  888.       table.insert(Effects, {
  889.         prt,
  890.         "Cylinder",
  891.         delay,
  892.         x3,
  893.         y3,
  894.         z3,
  895.         msh
  896.       })
  897.     end
  898.   }
  899. }
  900. -------------------------------------------------------
  901. --End Effect Function--
  902. -------------------------------------------------------
  903.  
  904. function CreateSound(ID, PARENT, VOLUME, PITCH)
  905.     local NSound = nil
  906.     coroutine.resume(coroutine.create(function()
  907.         NSound = Instance.new("Sound", PARENT)
  908.         NSound.Volume = VOLUME
  909.         NSound.Pitch = PITCH
  910.         NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  911.         swait()
  912.         NSound:play()
  913.         game:GetService("Debris"):AddItem(NSound, 10)
  914.     end))
  915.     return NSound
  916. end
  917.  
  918. --Very lazi from here to below except the animations but who cares /shrug
  919. function chatfunc(text)
  920. local chat = coroutine.wrap(function()
  921. if char:FindFirstChild("TalkingBillBoard")~= nil then
  922. char:FindFirstChild("TalkingBillBoard"):destroy()
  923. end
  924. local naeeym2 = Instance.new("BillboardGui",char)
  925. naeeym2.Size = UDim2.new(0,100,0,40)
  926. naeeym2.StudsOffset = Vector3.new(0,3,0)
  927. naeeym2.Adornee = char.Head
  928. naeeym2.Name = "TalkingBillBoard"
  929. local tecks2 = Instance.new("TextLabel",naeeym2)
  930. tecks2.BackgroundTransparency = 1
  931. tecks2.BorderSizePixel = 0
  932. tecks2.Text = ""
  933. tecks2.Font = "Bodoni"
  934. tecks2.TextSize = 30
  935. tecks2.TextStrokeTransparency = 0
  936. tecks2.TextColor3 = Color3.new(255,0,0)
  937. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  938. tecks2.Size = UDim2.new(1,0,0.5,0)
  939. local tecks3 = Instance.new("TextLabel",naeeym2)
  940. tecks3.BackgroundTransparency = 1
  941. tecks3.BorderSizePixel = 0
  942. tecks3.Text = ""
  943. tecks3.Font = "Bodoni"
  944. tecks3.TextSize = 30
  945. tecks3.TextStrokeTransparency = 0
  946. tecks3.TextColor3 = Color3.new(255,0,0)
  947. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  948. tecks3.Size = UDim2.new(1,0,0.5,0)
  949. coroutine.resume(coroutine.create(function()
  950.     while tecks3 ~= nil do
  951.         swait()
  952.         tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))   
  953.         tecks3.Rotation = math.random(-3,3)
  954.         tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0)
  955.         tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0)
  956.     end
  957. end))
  958. for i = 1,string.len(text),1 do
  959. tecks2.Text = string.sub(text,1,i)
  960. tecks3.Text = string.sub(text,1,i)
  961. wait(0.01)
  962. end
  963. wait(2)
  964. for i = 1, 50 do
  965. swait()
  966. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  967. tecks2.Rotation = tecks2.Rotation - .8
  968. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  969. tecks2.TextTransparency = tecks2.TextTransparency + .04
  970. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  971. tecks3.Rotation = tecks2.Rotation + .8
  972. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  973. tecks3.TextTransparency = tecks2.TextTransparency + .04
  974. end
  975. naeeym2:Destroy()
  976. end)
  977. chat()
  978. end
  979. function onChatted(msg)
  980. chatfunc(msg)
  981. end
  982. --plr.Chatted:connect(onChatted)
  983.  
  984. abss = Instance.new("BillboardGui",char)
  985. abss.Size = UDim2.new(10,0,10,0)
  986. abss.Enabled = false
  987. imgl = Instance.new("ImageLabel",abss)
  988. imgl.Position = UDim2.new(0,0,0,0)
  989. imgl.Size = UDim2.new(1,0,1,0)
  990. imgl.Image = "rbxassetid://153485522"
  991. imgl.BackgroundTransparency = 1
  992. imgl.ImageColor3 = Color3.new(.9,0,0)
  993. img2 = Instance.new("ImageLabel",abss)
  994. img2.Position = UDim2.new(0,0,0,0)
  995. img2.Size = UDim2.new(1,0,1,0)
  996. img2.Image = "rbxassetid://153485522"
  997. img2.BackgroundTransparency = 1
  998. img2.ImageColor3 = Color3.new(.9,0,0)
  999.  
  1000. function TargetSelect(person)
  1001. local dd=coroutine.wrap(function()
  1002. if targetted ~= person then
  1003. targetted = person
  1004. img2.Size = UDim2.new(1,0,1,0)
  1005. img2.ImageTransparency = 0
  1006. img2.Position = UDim2.new(0,0,0,0)
  1007. for i = 0, 2, 0.1 do
  1008. swait()
  1009. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1010. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1011. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1012. end
  1013. end
  1014. end)
  1015. dd()
  1016. end
  1017.  
  1018. function dmg(dude)
  1019. if dude.Name ~= char then
  1020. dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1021. local bgf = Instance.new("BodyGyro",dude.Head)
  1022. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1023. local val = Instance.new("BoolValue",dude)
  1024. val.Name = "IsHit"
  1025. local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
  1026. local partasdeff = Instance.new("ParticleEmitter",torsy)
  1027. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1028. partasdeff.LightEmission = .1
  1029. partasdeff.Size = NumberSequence.new(0.2)
  1030. partasdeff.Texture = "rbxassetid://771221224"
  1031. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1032. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1033. partasdeff.Transparency = bbb
  1034. partasdeff.Size = aaa
  1035. partasdeff.ZOffset = .9
  1036. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1037. partasdeff.LockedToPart = false
  1038. partasdeff.EmissionDirection = "Back"
  1039. partasdeff.Lifetime = NumberRange.new(1, 2)
  1040. partasdeff.Rate = 1000
  1041. partasdeff.Rotation = NumberRange.new(-100, 100)
  1042. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1043. partasdeff.Speed = NumberRange.new(6)
  1044. partasdeff.VelocitySpread = 10000
  1045. partasdeff.Enabled=false
  1046. partasdeff:Emit(30)
  1047. coroutine.wrap(function()
  1048. targetted = nil
  1049. swait(30)
  1050. dude:BreakJoints()
  1051. swait(5)
  1052. dude:FindFirstChildOfClass("Humanoid"):Destroy()
  1053. for i=0,1,.05 do
  1054. for a,v in pairs(dude:GetChildren()) do
  1055. if v:IsA("BasePart") then
  1056. v.Transparency = i
  1057. end
  1058. end
  1059. swait()
  1060. end
  1061. for a,v in pairs(dude:GetChildren()) do
  1062. if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
  1063. v.ParticleEmitter.Enabled = false
  1064. end
  1065. game:service'Debris':AddItem(v,2)
  1066. end
  1067. end)()
  1068. end
  1069. end
  1070.  
  1071. --lazi
  1072. function kdown(dd)
  1073. if dd.Name ~= char then
  1074. dd.Humanoid.PlatformStand = true
  1075. local bgf = Instance.new("BodyGyro",dd.Head)
  1076. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1077. local val = Instance.new("BoolValue",dd)
  1078. val.Name = "IsHit"
  1079. end
  1080. end
  1081.  
  1082. function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1083.     --local buddy
  1084.     for _, c in pairs(workspace:children()) do
  1085.         local hum = c:findFirstChild("Humanoid")
  1086.         if hum ~= nil then
  1087.             local head = c:findFirstChild("Torso")
  1088.             if head ~= nil then
  1089.                 local targ = head.Position - Part.Position
  1090.                 local mag = targ.magnitude
  1091.                 if mag <= Magnitude and c.Name ~= plr.Name then
  1092.                 if c.Name ~= char then
  1093.                 if c.Name ~= "makhail07" and c.Name ~= "Nebula_Zorua" and c.Name ~= "KillerDarkness0105" and c.Name ~= "Salvo_Starly" then
  1094.             local asd = Instance.new("ParticleEmitter",c.Torso)
  1095.             asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1096.             asd.LightEmission = .1
  1097.             asd.Size = NumberSequence.new(0.2)
  1098.             asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1099.             aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1100.             bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1101.             asd.Transparency = bbb
  1102.             asd.Size = aaa
  1103.             asd.ZOffset = .9
  1104.             asd.Acceleration = Vector3.new(0, -5, 0)
  1105.             asd.LockedToPart = false
  1106.             asd.EmissionDirection = "Back"
  1107.             asd.Lifetime = NumberRange.new(1, 2)
  1108.             asd.Rate = 1000
  1109.             asd.Rotation = NumberRange.new(-100, 100)
  1110.             asd.RotSpeed = NumberRange.new(-100, 100)
  1111.             asd.Speed = NumberRange.new(6)
  1112.             asd.VelocitySpread = 10000
  1113.             asd.Enabled=true
  1114.                     --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1115.                     dmg(c)
  1116.                     CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
  1117.                     coroutine.wrap(function()
  1118.                     wait(.2)
  1119.                     asd.Enabled = false
  1120.                     wait(2)
  1121.                     asd:Remove()
  1122.                     end)()
  1123.                        else
  1124.         CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3))      
  1125.         Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1126.  
  1127.                     end
  1128.                 end
  1129.             end
  1130.         end
  1131.     end
  1132.     end
  1133. end
  1134.  
  1135. -------------------------------------------------------
  1136. --End Important Functions--
  1137. -------------------------------------------------------
  1138.  
  1139. --[[
  1140.         Thanks for using Build-To-Lua by jarredbcv.
  1141. ]]--
  1142.  
  1143. New = function(Object, Parent, Name, Data)
  1144.     local Object = Instance.new(Object)
  1145.     for Index, Value in pairs(Data or {}) do
  1146.         Object[Index] = Value
  1147.     end
  1148.     Object.Parent = Parent
  1149.     Object.Name = Name
  1150.     return Object
  1151. end
  1152.    
  1153. Doll = New("Model",char,"Doll",{})
  1154. 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),})
  1155. Mesh = New("CylinderMesh",Handle,"Mesh",{})
  1156. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1157. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1158. --Decal = New("Decal",Handle,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1159. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1160. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1161. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1162. 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),})
  1163. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1164. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1165. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1166. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1167. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1168. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1169. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1170. 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),})
  1171. 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),})
  1172. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1173. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1174. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1175. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1176. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1177. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1178. 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),})
  1179. 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),})
  1180. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1181. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1182. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1183. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1184. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1185. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1186. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1187. 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),})
  1188. 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),})
  1189. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1190. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1191. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1192. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1193. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1194. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1195. 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),})
  1196. 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),})
  1197. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1198. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1199. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1200. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1201. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1202. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1203. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1204. 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),})
  1205. 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),})
  1206. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1207. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1208. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1209. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1210. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1211. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1212. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1213. 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),})
  1214. 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),})
  1215. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1216. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1217. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1218. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1219. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1220. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1221. 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),})
  1222. 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),})
  1223. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1224. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1225. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1226. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1227. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1228. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1229. 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),})
  1230. 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),})
  1231. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1232. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1233. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1234. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1235. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1236. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1237. 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),})
  1238. 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,})
  1239. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.267258376, 0.267258346, 0.267258376),MeshId = "rbxassetid://511959728",TextureId = "rbxassetid://511959832",MeshType = Enum.MeshType.FileMesh,})
  1240. 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),})
  1241. 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,})
  1242. 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,})
  1243. 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),})
  1244. 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,})
  1245. 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,})
  1246. 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),})
  1247. 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),})
  1248. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
  1249. 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),})
  1250. 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),})
  1251. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
  1252. 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),})
  1253.  
  1254. --lazi xd
  1255. Needle = New("Model",char,"Needle",{})
  1256. 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,})
  1257. 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,})
  1258.  
  1259.  
  1260. for _, v in pairs(Doll:GetChildren()) do
  1261.     if v:IsA'BasePart' then
  1262.     v.CanCollide = false
  1263. end
  1264. end
  1265.  
  1266. for _, v in pairs(Needle:GetChildren()) do
  1267.     if v:IsA'BasePart' then
  1268.     v.CanCollide = false
  1269. end
  1270. end
  1271.  
  1272.  
  1273. local NewInstance = function(instance,parent,properties)
  1274.     local inst = Instance.new(instance,parent)
  1275.     if(properties)then
  1276.         for i,v in next, properties do
  1277.             pcall(function() inst[i] = v end)
  1278.         end
  1279.     end
  1280.     return inst;
  1281. end
  1282. 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))})
  1283.  
  1284. 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))})
  1285.  
  1286.  
  1287.  
  1288. -------------------------------------------------------
  1289. --Start Music Option--
  1290. -------------------------------------------------------
  1291. local Music = Instance.new("Sound",tors)
  1292. Music.Volume = 2.5
  1293. Music.SoundId = "rbxassetid://803936798" --536675558 1470848774
  1294. Music.Looped = true
  1295. Music.Pitch = .9 --Pitcher
  1296. Music:Play()
  1297. -------------------------------------------------------
  1298. --End Music Option--
  1299. -------------------------------------------------------
  1300.  
  1301.  
  1302. -------------------------------------------------------
  1303. --Start Attacks N Stuff--
  1304. -------------------------------------------------------
  1305. local sine=0
  1306. function LockOn()
  1307. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1308. TargetSelect(mouse.Target.Parent)
  1309. CreateSound("743521450", char, 1, .8)
  1310. end
  1311. end
  1312.  
  1313.  
  1314.  
  1315. function Stab_Them_For_FUN()
  1316.     attack = true
  1317.     hum.WalkSpeed = 0
  1318.     if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
  1319.         local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1320.             local partasdeff = Instance.new("ParticleEmitter",torsy)
  1321.             partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1322.             partasdeff.LightEmission = .1
  1323.             partasdeff.Size = NumberSequence.new(0.2)
  1324.             partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1325.             aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1326.             bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1327.             partasdeff.Transparency = bbb
  1328.             partasdeff.Size = aaa
  1329.             partasdeff.ZOffset = .9
  1330.             partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1331.             partasdeff.LockedToPart = false
  1332.             partasdeff.EmissionDirection = "Back"
  1333.             partasdeff.Lifetime = NumberRange.new(1, 2)
  1334.             partasdeff.Rate = 1000
  1335.             partasdeff.Rotation = NumberRange.new(-100, 100)
  1336.             partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1337.             partasdeff.Speed = NumberRange.new(6)
  1338.             partasdeff.VelocitySpread = 10000
  1339.             partasdeff.Enabled=false
  1340.     for i = 0, 1.4, 0.1 do
  1341.         swait()
  1342.         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)
  1343.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
  1344.         if Mrandom(1,15) == 1 then
  1345.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1346.         end
  1347.         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)
  1348.         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)
  1349.         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)
  1350.         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)
  1351.     end
  1352.     dmg(targetted)
  1353.     partasdeff.Enabled=true
  1354. CreateSound("429400881", torsy, 10, .8)
  1355.     for i = 0, 1.4, 0.1 do
  1356.         swait()
  1357.         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)
  1358.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1359.         if Mrandom(1,15) == 1 then
  1360.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1361.         end
  1362.         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)
  1363.         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)
  1364.         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)
  1365.         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)
  1366.     end
  1367.     partasdeff.Enabled=false
  1368.     for i = 0, 1.4, 0.1 do
  1369.         swait()
  1370.         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)
  1371.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
  1372.         if Mrandom(1,15) == 1 then
  1373.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1374.         end
  1375.         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)
  1376.         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)
  1377.         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)
  1378.         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)
  1379.         end
  1380.     attack = false
  1381.     hum.WalkSpeed = 8
  1382.     elseif targetted.Name == "makhail07" then
  1383.     for i = 0, 2.4, 0.1 do
  1384.         swait()
  1385.         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)
  1386.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1387.         if Mrandom(1,15) == 1 then
  1388.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1389.         end
  1390.         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)
  1391.         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)
  1392.         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)
  1393.         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)
  1394.     end
  1395.     for i = 0, 2.4, 0.1 do
  1396.         swait()
  1397.         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)
  1398.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1399.         if Mrandom(1,15) == 1 then
  1400.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1401.         end
  1402.         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)
  1403.         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)
  1404.         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)
  1405.         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)
  1406.     end
  1407.     coroutine.wrap(function()
  1408.     wait(2)
  1409.     --partasdeff:Remove()
  1410.     end)()
  1411.     local sel = Mrandom(1,3)
  1412.     if sel == 1 then   
  1413.     chatfunc("Hmhmhm, Why try?")
  1414.     elseif sel == 2 then   
  1415.     chatfunc("Stop it that's my creator.")
  1416.     elseif sel == 3 then
  1417.     chatfunc("I can't do that...")
  1418.     end
  1419.     wait(2)
  1420.     hum.WalkSpeed = 8
  1421.     attack = false
  1422.     elseif targetted.Name == "Salvo_Starly" then
  1423.         for i = 0, 2.4, 0.1 do
  1424.         swait()
  1425.         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)
  1426.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1427.         if Mrandom(1,15) == 1 then
  1428.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1429.         end
  1430.         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)
  1431.         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)
  1432.         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)
  1433.         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)
  1434.     end
  1435.         for i = 0, 2.4, 0.1 do
  1436.         swait()
  1437.         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)
  1438.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1439.         if Mrandom(1,15) == 1 then
  1440.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1441.         end
  1442.         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)
  1443.         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)
  1444.         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)
  1445.         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)
  1446.     end
  1447.     coroutine.wrap(function()
  1448.     wait(2)
  1449.     --partasdeff:Remove()
  1450.     end)()
  1451.     local sel = Mrandom(1,3)
  1452.     if sel == 1 then   
  1453.     chatfunc("Sorry about that.")
  1454.     elseif sel == 2 then   
  1455.     chatfunc("H-Hello. I almost killed you.")
  1456.     elseif sel == 3 then
  1457.     chatfunc("OwO?")
  1458.     end
  1459.     wait(2)
  1460.     hum.WalkSpeed = 8
  1461.     attack = false
  1462.     elseif targetted.Name == "Nebula_Zorua" then
  1463.         for i = 0, 2.4, 0.1 do
  1464.         swait()
  1465.         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)
  1466.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1467.         if Mrandom(1,15) == 1 then
  1468.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1469.         end
  1470.         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)
  1471.         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)
  1472.         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)
  1473.         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)
  1474.     end
  1475.         for i = 0, 2.4, 0.1 do
  1476.         swait()
  1477.         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)
  1478.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1479.         if Mrandom(1,15) == 1 then
  1480.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1481.         end
  1482.         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)
  1483.         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)
  1484.         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)
  1485.         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)
  1486.     end
  1487.     coroutine.wrap(function()
  1488.     wait(2)
  1489.     --partasdeff:Remove()
  1490.     end)()
  1491.     local sel = Mrandom(1,3)
  1492.     if sel == 1 then   
  1493.     chatfunc("Sorry, Nebula.")
  1494.     elseif sel == 2 then   
  1495.     chatfunc("Theres no need to harm you. Yet...")
  1496.     elseif sel == 3 then
  1497.     chatfunc("My mistake.")
  1498.     end
  1499.     wait(2)
  1500.     hum.WalkSpeed = 8
  1501.     attack = false
  1502.     elseif targetted.Name == "KillerDarkness0105" then
  1503.         for i = 0, 2.4, 0.1 do
  1504.         swait()
  1505.         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)
  1506.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1507.         if Mrandom(1,15) == 1 then
  1508.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1509.         end
  1510.         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)
  1511.         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)
  1512.         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)
  1513.         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)
  1514.     end
  1515.         for i = 0, 2.4, 0.1 do
  1516.         swait()
  1517.         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)
  1518.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1519.         if Mrandom(1,15) == 1 then
  1520.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1521.         end
  1522.         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)
  1523.         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)
  1524.         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)
  1525.         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)
  1526.     end
  1527.     coroutine.wrap(function()
  1528.     wait(2)
  1529.     --partasdeff:Remove()
  1530.     end)()
  1531.     local sel = Mrandom(1,3)
  1532.     if sel == 1 then   
  1533.     chatfunc("Hm, Killer it's been a while.")
  1534.     elseif sel == 2 then   
  1535.     chatfunc("No need for this.")
  1536.     elseif sel == 3 then
  1537.     chatfunc("Hello, sorry.")
  1538.     end
  1539.     wait(2)
  1540.     hum.WalkSpeed = 8
  1541.     attack = false
  1542.     end
  1543. end
  1544.  
  1545. function Oh_No_AN_ERROR_Has_OcccccccurrEEEED()
  1546.     attack = true
  1547.     hum.WalkSpeed = 0
  1548.     if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
  1549.     local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1550.     local partasdeff = Instance.new("ParticleEmitter",torsy)
  1551.             partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1552.             partasdeff.LightEmission = .1
  1553.             partasdeff.Size = NumberSequence.new(0.2)
  1554.             partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1555.             aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1556.             bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1557.             partasdeff.Transparency = bbb
  1558.             partasdeff.Size = aaa
  1559.             partasdeff.ZOffset = .9
  1560.             partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1561.             partasdeff.LockedToPart = false
  1562.             partasdeff.EmissionDirection = "Back"
  1563.             partasdeff.Lifetime = NumberRange.new(1, 2)
  1564.             partasdeff.Rate = 1000
  1565.             partasdeff.Rotation = NumberRange.new(-100, 100)
  1566.             partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1567.             partasdeff.Speed = NumberRange.new(6)
  1568.             partasdeff.VelocitySpread = 10000
  1569.             partasdeff.Enabled=false
  1570.     for i = 0, 1.2, 0.1 do
  1571.         swait()
  1572.         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)
  1573.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1574.         if Mrandom(1,15) == 1 then
  1575.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1576.         end
  1577.         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)
  1578.         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)
  1579.         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)
  1580.         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)
  1581.         end
  1582.     HW.Part0 = root
  1583.     for i = 0, 1.8, 0.1 do
  1584.         swait()
  1585.         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)
  1586.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1587.         if Mrandom(1,15) == 1 then
  1588.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1589.         end
  1590.         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)
  1591.         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)
  1592.         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)
  1593.         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)
  1594.         HW.C0 = clerp(HW.C0, CF(1,-2.9,-.7) * angles(Rad(-90), Rad(0), Rad(0)), 0.1)
  1595.         end
  1596.     kdown(targetted)
  1597.     for i = 0, 1.6, 0.1 do
  1598.         swait()
  1599.         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)
  1600.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1601.         if Mrandom(1,15) == 1 then
  1602.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1603.         end
  1604.         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)
  1605.         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)
  1606.         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)
  1607.         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)
  1608.       end
  1609.     for i = 1,7 do
  1610.         partasdeff.Enabled = false
  1611.         for i = 0, 1.6, 0.1 do
  1612.         swait()
  1613.         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)
  1614.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1615.         if Mrandom(1,15) == 1 then
  1616.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1617.         end
  1618.         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)
  1619.         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)
  1620.         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)
  1621.         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)
  1622.     end
  1623. CreateSound("429400881", torsy, 10, 1)
  1624.     partasdeff.Enabled = true
  1625.     for i = 0, 1.6, 0.1 do
  1626.         swait()
  1627.         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)
  1628.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1629.         if Mrandom(1,15) == 1 then
  1630.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1631.         end
  1632.         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)
  1633.         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)
  1634.         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)
  1635.         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)
  1636.     end
  1637.         end
  1638.     partasdeff.Enabled = false
  1639.     dmg(targetted)
  1640.     attack = false
  1641.     HW.Part0 = ra
  1642.     HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  1643.     hum.WalkSpeed = 8
  1644.     elseif targetted.Name == "makhail07" then
  1645.     for i = 0, 3.2, 0.1 do
  1646.         swait()
  1647.         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)
  1648.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1649.         if Mrandom(1,15) == 1 then
  1650.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1651.         end
  1652.         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)
  1653.         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)
  1654.         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)
  1655.         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)
  1656.         end
  1657.     for i = 0, 1.8, 0.1 do
  1658.         swait()
  1659.         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)
  1660.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1661.         if Mrandom(1,15) == 1 then
  1662.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1663.         end
  1664.         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)
  1665.         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)
  1666.         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)
  1667.         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)
  1668.             end
  1669.         coroutine.wrap(function()
  1670.     wait(2)
  1671.     --partasdeff:Remove()
  1672.     end)()
  1673.     local sel = Mrandom(1,3)
  1674.     if sel == 1 then   
  1675.     chatfunc("Hah you tried.")
  1676.     elseif sel == 2 then   
  1677.     chatfunc("No,no that's wrong.")
  1678.     elseif sel == 3 then
  1679.     chatfunc("Oops, I almost smashed myself to pieces.")
  1680.     end
  1681.     wait(2)
  1682.     hum.WalkSpeed = 8
  1683.     attack = false
  1684.     elseif targetted.Name == "Salvo_Starly" then
  1685.     for i = 0, 3.2, 0.1 do
  1686.         swait()
  1687.         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)
  1688.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1689.         if Mrandom(1,15) == 1 then
  1690.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1691.         end
  1692.         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)
  1693.         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)
  1694.         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)
  1695.         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)
  1696.         end
  1697.     for i = 0, 1.8, 0.1 do
  1698.         swait()
  1699.         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)
  1700.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1701.         if Mrandom(1,15) == 1 then
  1702.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1703.         end
  1704.         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)
  1705.         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)
  1706.         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)
  1707.         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)
  1708.             end
  1709.         coroutine.wrap(function()
  1710.     wait(2)
  1711.     --partasdeff:Remove()
  1712.     end)()
  1713.     local sel = Mrandom(1,3)
  1714.     if sel == 1 then   
  1715.     chatfunc("Ooooopsy.")
  1716.     elseif sel == 2 then   
  1717.     chatfunc("OOF I almost smashed you.")
  1718.     elseif sel == 3 then
  1719.     chatfunc("Give me, wait...Salvo?")
  1720.     end
  1721.     wait(2)
  1722.     hum.WalkSpeed = 8
  1723.     attack = false
  1724.     elseif targetted.Name == "Nebula_Zorua" then
  1725.     for i = 0, 3.2, 0.1 do
  1726.         swait()
  1727.         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)
  1728.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1729.         if Mrandom(1,15) == 1 then
  1730.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1731.         end
  1732.         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)
  1733.         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)
  1734.         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)
  1735.         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)
  1736.         end
  1737.     for i = 0, 1.8, 0.1 do
  1738.         swait()
  1739.         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)
  1740.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1741.         if Mrandom(1,15) == 1 then
  1742.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1743.         end
  1744.         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)
  1745.         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)
  1746.         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)
  1747.         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)
  1748.             end
  1749.         coroutine.wrap(function()
  1750.     wait(2)
  1751.     --partasdeff:Remove()
  1752.     end)()
  1753.     local sel = Mrandom(1,3)
  1754.     if sel == 1 then   
  1755.     chatfunc("Lucky I know you...")
  1756.     elseif sel == 2 then   
  1757.     chatfunc("Nebu?")
  1758.     elseif sel == 3 then
  1759.     chatfunc("VSB = Bad, GSB = Good")
  1760.     end
  1761.     wait(2)
  1762.     hum.WalkSpeed = 8
  1763.     attack = false
  1764.     elseif targetted.Name == "KillerDarkness0105" then
  1765.     for i = 0, 3.2, 0.1 do
  1766.         swait()
  1767.         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)
  1768.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1769.         if Mrandom(1,15) == 1 then
  1770.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1771.         end
  1772.         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)
  1773.         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)
  1774.         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)
  1775.         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)
  1776.         end
  1777.     for i = 0, 1.8, 0.1 do
  1778.         swait()
  1779.         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)
  1780.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1781.         if Mrandom(1,15) == 1 then
  1782.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1783.         end
  1784.         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)
  1785.         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)
  1786.         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)
  1787.         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)
  1788.             end
  1789.         coroutine.wrap(function()
  1790.     wait(2)
  1791.     --partasdeff:Remove()
  1792.     end)()
  1793.     local sel = Mrandom(1,3)
  1794.     if sel == 1 then   
  1795.     chatfunc("AaaaAA Killer, what are you doing?")
  1796.     elseif sel == 2 then   
  1797.     chatfunc("Are you finished with those touhou scripts?")
  1798.     elseif sel == 3 then
  1799.     chatfunc("Oh hi, sorry for that.")
  1800.     end
  1801.     wait(2)
  1802.     hum.WalkSpeed = 8
  1803.     attack = false
  1804.     end
  1805. end
  1806.  
  1807. function Get_Over_Here_And_PERISH()
  1808.     attack = true
  1809.     hum.WalkSpeed = 0
  1810.     local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1811.     for i = 0, 2, 0.1 do
  1812.         swait()
  1813.         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)
  1814.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1815.         if Mrandom(1,15) == 1 then
  1816.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1817.         end
  1818.         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)
  1819.         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)
  1820.         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)
  1821.         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)
  1822.         end
  1823.     coroutine.resume(coroutine.create(function()
  1824.         for i = 1,10 do
  1825.             swait()
  1826.         local Pully = Create("BodyPosition")({
  1827.             P = 9000,
  1828.             D = 1000,
  1829.             maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1830.             position = ra.Position - ra.CFrame.lookVector * 6,
  1831.             Parent = torsy
  1832.           })
  1833.           game:GetService("Debris"):AddItem(Pully, 0.2)
  1834.           wait()
  1835.         end
  1836.     end))
  1837.     CreateSound("541909814", torsy, 10, 1)
  1838.     CreateSound("131228548", hed, 10, 1)
  1839.     for i = 0, 2.2, 0.1 do
  1840.         swait()
  1841.         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)
  1842.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(35)), 0.3)
  1843.         if Mrandom(1,15) == 1 then
  1844.             tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1845.         end
  1846.         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)
  1847.         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)
  1848.         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)
  1849.         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)
  1850.         end
  1851.     attack = false
  1852.     hum.WalkSpeed = 8
  1853. end
  1854.  
  1855. function The_End_offfff()
  1856.     attack = true
  1857.     hum.WalkSpeed = 0
  1858.     Music:Stop()
  1859.     for _, v in pairs(Doll:GetChildren()) do
  1860.     if v:IsA'BasePart' then
  1861.     v:Remove()
  1862.     end
  1863.     end
  1864.     for _, v in pairs(Needle:GetChildren()) do
  1865.     if v:IsA'BasePart' then
  1866.      v:Remove()
  1867.     end
  1868.     end
  1869.     for i = 0,6,0.1 do
  1870.         swait()
  1871.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1872.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1873.         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)
  1874.         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)
  1875.         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)
  1876.         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)
  1877.     end
  1878.     CreateSound("1093102664", hed, 10, 1)
  1879.     for i = 0,4,0.1 do
  1880.         swait()
  1881.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  1882.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(-90)), 0.4)
  1883.         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)
  1884.         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)
  1885.         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)
  1886.         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)
  1887.     end
  1888.     for i = 0,6,0.1 do
  1889.         swait()
  1890.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -3 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1891.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.4)
  1892.         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)
  1893.         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)
  1894.         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)
  1895.         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)
  1896.     end
  1897.     wait(2)
  1898.     dmg(char)
  1899. end
  1900.  
  1901. -------------------------------------------------------
  1902. --End Attacks N Stuff--
  1903. -------------------------------------------------------
  1904. mouse.Button1Down:connect(function()
  1905.     if attack == false and targetted ~= nil then
  1906.         Stab_Them_For_FUN()
  1907.     end
  1908. end)
  1909.  
  1910.  
  1911. mouse.KeyDown:connect(function(key)
  1912. if attack == false then
  1913.     if key == 'q' then
  1914.         LockOn()
  1915.     elseif key == 'f' then
  1916.         chatfunc("Come on now child everythings okay...")
  1917.     elseif key == 'e' and targetted ~= nil then
  1918.         Oh_No_AN_ERROR_Has_OcccccccurrEEEED()
  1919.     elseif key == 'x' and targetted ~= nil then
  1920.         Get_Over_Here_And_PERISH()
  1921.     elseif key == 'r' and targetted ~= nil then
  1922.         CreateSound("289556450", hed, .4, math.random(5, 15) / 5)
  1923.         root.CFrame = targetted.Head.CFrame * CFrame.new(0, 0, 6)
  1924.     elseif key == 'p' then
  1925.         The_End_offfff()
  1926.         end
  1927.     end
  1928. end)
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935. -------------------------------------------------------
  1936. --Start Animations--
  1937. -------------------------------------------------------
  1938. local equipped = false
  1939. hum.WalkSpeed = 8
  1940. hed.face.Texture = "rbxassetid://1471407701"
  1941. local idle = 0
  1942. local change = 1
  1943. local val = 0
  1944. local toim = 0
  1945. local idleanim = 0.4
  1946. hum.Animator.Parent = nil
  1947. while true do
  1948.     swait()
  1949.     game.Lighting.TimeOfDay = "00:00:00"
  1950.     --game.Lighting.FogEnd = 50
  1951.     --game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  1952.     Music.Parent = tors
  1953.    
  1954.     imgl.Rotation = imgl.Rotation + 3
  1955.     img2.Rotation = img2.Rotation + 3
  1956.     if targetted ~= nil then
  1957.     abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1958.     abss.Enabled = true
  1959.     elseif targetted == nil then
  1960.     abss.Adornee = nil
  1961.     abss.Enabled = false
  1962.     end
  1963.  
  1964.     while true and imgl.Rotation >= 360 do
  1965.     imgl.Rotation = 0  
  1966.     img2.Rotation = 0
  1967.     end
  1968.    
  1969.     sine = sine + change
  1970.     local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1971.     local velderp = root.Velocity.y
  1972.     hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1973.     if equipped == true or equipped == false then
  1974.         if attack == false then
  1975.             idle = idle + 1
  1976.         else
  1977.             idle = 0
  1978.         end
  1979.         if 1 < root.Velocity.y and hitfloor == nil then
  1980.             Anim = "Jump"
  1981.             if attack == false then
  1982.                 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)
  1983.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  1984.                 RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1985.                 LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1986.                 LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1987.                 RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1988.             end
  1989.         elseif -1 > root.Velocity.y and hitfloor == nil then
  1990.             Anim = "Fall"
  1991.             if attack == false then
  1992.                 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)
  1993.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  1994.                 RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1995.                 LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1996.                 LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1997.                 RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1998.             end
  1999.         elseif torvel < 1 and hitfloor ~= nil then
  2000.             Anim = "Idle"
  2001.             change = .6
  2002.             if attack == false then
  2003.                 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)
  2004.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  2005.                 if Mrandom(1,15) == 1 then
  2006.                     tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  2007.                 end
  2008.                 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)
  2009.                 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)
  2010.                 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)
  2011.                 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)
  2012.                 HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  2013.             end
  2014.         elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  2015.             Anim = "Walk"
  2016.             change = .4
  2017.             if attack == false then
  2018.                 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)
  2019.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(30 * Cos(sine / 20)), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2020.                 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)
  2021.                 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)
  2022.                 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)
  2023.                 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)
  2024.                 HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  2025.             end
  2026.         end
  2027.     end
  2028.     if 0 < #Effects then
  2029.         for e = 1, #Effects do
  2030.             if Effects[e] ~= nil then
  2031.                 local Thing = Effects[e]
  2032.                 if Thing ~= nil then
  2033.                     local Part = Thing[1]
  2034.                     local Mode = Thing[2]
  2035.                     local Delay = Thing[3]
  2036.                     local IncX = Thing[4]
  2037.                     local IncY = Thing[5]
  2038.                     local IncZ = Thing[6]
  2039.                     if 1 >= Thing[1].Transparency then
  2040.                         if Thing[2] == "Block1" then
  2041.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2042.                             local Mesh = Thing[1].Mesh
  2043.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2044.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2045.                         elseif Thing[2] == "Block2" then
  2046.                             Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2047.                             local Mesh = Thing[7]
  2048.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2049.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2050.                         elseif Thing[2] == "Block3" then
  2051.                             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)
  2052.                             local Mesh = Thing[7]
  2053.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2054.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2055.                         elseif Thing[2] == "Cylinder" then
  2056.                             local Mesh = Thing[1].Mesh
  2057.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2058.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2059.                         elseif Thing[2] == "Blood" then
  2060.                             local Mesh = Thing[7]
  2061.                             Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2062.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2063.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2064.                         elseif Thing[2] == "Elec" then
  2065.                             local Mesh = Thing[1].Mesh
  2066.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2067.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2068.                         elseif Thing[2] == "Disappear" then
  2069.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2070.                         elseif Thing[2] == "Shatter" then
  2071.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2072.                             Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2073.                             Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2074.                             Thing[6] = Thing[6] + Thing[5]
  2075.                         end
  2076.                     else
  2077.                         Part.Parent = nil
  2078.                         table.remove(Effects, e)
  2079.                     end
  2080.                 end
  2081.             end
  2082.         end
  2083.     end
  2084. end
  2085. -------------------------------------------------------
  2086. --End Animations And Script--
  2087. -------------------------------------------------------
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top