Advertisement
Cute_Sylveon

Untitled

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