Advertisement
FiveRoNer

Untitled

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