Advertisement
5sdfsadgaq5465

voodoo child edit

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