Advertisement
Wxrshipblox

worgui

Jun 19th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 423.22 KB | None | 0 0
  1. function sandbox(var,func)
  2. local env = getfenv(func)
  3. local newenv = setmetatable({},{
  4. __index = function(self,k)
  5. if k=="script" then
  6. return var
  7. else
  8. return env[k]
  9. end
  10. end,
  11. })
  12. setfenv(func,newenv)
  13. return func
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. ScreenGui0 = Instance.new("ScreenGui")
  18. Frame1 = Instance.new("Frame")
  19. Frame2 = Instance.new("Frame")
  20. TextLabel3 = Instance.new("TextLabel")
  21. TextButton4 = Instance.new("TextButton")
  22. LocalScript5 = Instance.new("LocalScript")
  23. TextButton6 = Instance.new("TextButton")
  24. LocalScript7 = Instance.new("LocalScript")
  25. TextButton8 = Instance.new("TextButton")
  26. LocalScript9 = Instance.new("LocalScript")
  27. TextButton10 = Instance.new("TextButton")
  28. LocalScript11 = Instance.new("LocalScript")
  29. TextButton12 = Instance.new("TextButton")
  30. LocalScript13 = Instance.new("LocalScript")
  31. TextButton14 = Instance.new("TextButton")
  32. LocalScript15 = Instance.new("LocalScript")
  33. ScreenGui0.Name = "Worgui"
  34. ScreenGui0.Parent = mas
  35. Frame1.Parent = ScreenGui0
  36. Frame1.Position = UDim2.new(0, 0, 0.21855922, 0)
  37. Frame1.Size = UDim2.new(0, 358, 0, 370)
  38. Frame1.BackgroundColor = BrickColor.new("Persimmon")
  39. Frame1.BackgroundColor3 = Color3.new(1, 0.45098, 0.458824)
  40. Frame1.BorderSizePixel = 0
  41. Frame2.Name = "Shadow"
  42. Frame2.Parent = Frame1
  43. Frame2.Position = UDim2.new(0, 0, 0.913513541, 0)
  44. Frame2.Size = UDim2.new(0, 358, 0, 32)
  45. Frame2.BackgroundColor = BrickColor.new("Really black")
  46. Frame2.BackgroundColor3 = Color3.new(0, 0, 0)
  47. Frame2.BackgroundTransparency = 0.75
  48. Frame2.BorderSizePixel = 0
  49. TextLabel3.Parent = ScreenGui0
  50. TextLabel3.Position = UDim2.new(0, 0, 0.21855922, 0)
  51. TextLabel3.Size = UDim2.new(0, 358, 0, 33)
  52. TextLabel3.BackgroundColor = BrickColor.new("Institutional white")
  53. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  54. TextLabel3.BackgroundTransparency = 1
  55. TextLabel3.Font = Enum.Font.Garamond
  56. TextLabel3.FontSize = Enum.FontSize.Size14
  57. TextLabel3.Text = "Worgui v1"
  58. TextLabel3.TextColor = BrickColor.new("Really red")
  59. TextLabel3.TextColor3 = Color3.new(1, 0, 0.0156863)
  60. TextLabel3.TextScaled = true
  61. TextLabel3.TextSize = 14
  62. TextLabel3.TextStrokeTransparency = 0
  63. TextLabel3.TextWrap = true
  64. TextLabel3.TextWrapped = true
  65. TextButton4.Parent = ScreenGui0
  66. TextButton4.Position = UDim2.new(0.0381679386, 0, 0.26617828, 0)
  67. TextButton4.Size = UDim2.new(0, 257, 0, 33)
  68. TextButton4.BackgroundColor = BrickColor.new("Persimmon")
  69. TextButton4.BackgroundColor3 = Color3.new(1, 0.45098, 0.458824)
  70. TextButton4.BorderSizePixel = 0
  71. TextButton4.Font = Enum.Font.ArialBold
  72. TextButton4.FontSize = Enum.FontSize.Size14
  73. TextButton4.Text = "Voodoo child"
  74. TextButton4.TextColor = BrickColor.new("Really red")
  75. TextButton4.TextColor3 = Color3.new(1, 0, 0.0156863)
  76. TextButton4.TextScaled = true
  77. TextButton4.TextSize = 14
  78. TextButton4.TextStrokeTransparency = 0
  79. TextButton4.TextWrap = true
  80. TextButton4.TextWrapped = true
  81. LocalScript5.Parent = TextButton4
  82. table.insert(cors,sandbox(LocalScript5,function()
  83. script.Parent.MouseButton1Click:connect(function()
  84. script.Parent.Parent:Destroy()
  85.  
  86. -----------------------
  87. --Voodoo Child--
  88. -------------------------------------------------------
  89. --A script By makhail07
  90.  
  91. --Discord Creterisk#2958
  92. -------------------------------------------------------
  93.  
  94. local FavIDs = {
  95. 340106355, --Nefl Crystals
  96. 927529620, --Dimension
  97. 876981900, --Fantasy
  98. 398987889, --Ordinary Days
  99. 1117396305, --Oh wait, it's you.
  100. 885996042, --Action Winter Journey
  101. 919231299, --Sprawling Idiot Effigy
  102. 743466274, --Good Day Sunshine
  103. 727411183, --Knife Fight
  104. 1402748531, --The Earth Is Counting On You!
  105. 595230126 --Robot Language
  106. }
  107.  
  108.  
  109.  
  110. --The reality of my life isn't real but a Universe -makhail07
  111. wait()
  112. local plr = game:service'Players'.LocalPlayer
  113. print('Local User is '..plr.Name)
  114. local char = plr.Character
  115. local hum = char.Humanoid
  116. local ra = char["Right Arm"]
  117. local la= char["Left Arm"]
  118. local rl= char["Right Leg"]
  119. local ll = char["Left Leg"]
  120. local hed = char.Head
  121. local root = char.HumanoidRootPart
  122. local rootj = root.RootJoint
  123. local tors = char.Torso
  124. local mouse = plr:GetMouse()
  125. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  126. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  127. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  128.  
  129.  
  130. -------------------------------------------------------
  131. --Start Good Stuff--
  132. -------------------------------------------------------
  133. CF = CFrame.new
  134. angles = CFrame.Angles
  135. attack = false
  136. Euler = CFrame.fromEulerAnglesXYZ
  137. Rad = math.rad
  138. IT = Instance.new
  139. BrickC = BrickColor.new
  140. Cos = math.cos
  141. Acos = math.acos
  142. Sin = math.sin
  143. Asin = math.asin
  144. Abs = math.abs
  145. Mrandom = math.random
  146. Floor = math.floor
  147. -------------------------------------------------------
  148. --End Good Stuff--
  149. -------------------------------------------------------
  150. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  151. RSH, LSH = nil, nil
  152. RW = Instance.new("Weld")
  153. LW = Instance.new("Weld")
  154. RH = tors["Right Hip"]
  155. LH = tors["Left Hip"]
  156. RSH = tors["Right Shoulder"]
  157. LSH = tors["Left Shoulder"]
  158. RSH.Parent = nil
  159. LSH.Parent = nil
  160. RW.Name = "RW"
  161. RW.Part0 = tors
  162. RW.C0 = CF(1.5, 0.5, 0)
  163. RW.C1 = CF(0, 0.5, 0)
  164. RW.Part1 = ra
  165. RW.Parent = tors
  166. LW.Name = "LW"
  167. LW.Part0 = tors
  168. LW.C0 = CF(-1.5, 0.5, 0)
  169. LW.C1 = CF(0, 0.5, 0)
  170. LW.Part1 = la
  171. LW.Parent = tors
  172. Effects = {}
  173.  
  174. -------------------------------------------------------
  175. --Start HeartBeat--
  176. -------------------------------------------------------
  177. ArtificialHB = Instance.new("BindableEvent", script)
  178. ArtificialHB.Name = "Heartbeat"
  179. script:WaitForChild("Heartbeat")
  180.  
  181. frame = 1 / 60
  182. tf = 0
  183. allowframeloss = false
  184. tossremainder = false
  185.  
  186.  
  187. lastframe = tick()
  188. script.Heartbeat:Fire()
  189.  
  190.  
  191. game:GetService("RunService").Heartbeat:connect(function(s, p)
  192. tf = tf + s
  193. if tf >= frame then
  194. if allowframeloss then
  195. script.Heartbeat:Fire()
  196. lastframe = tick()
  197. else
  198. for i = 1, math.floor(tf / frame) do
  199. script.Heartbeat:Fire()
  200. end
  201. lastframe = tick()
  202. end
  203. if tossremainder then
  204. tf = 0
  205. else
  206. tf = tf - frame * math.floor(tf / frame)
  207. end
  208. end
  209. end)
  210. -------------------------------------------------------
  211. --End HeartBeat--
  212. -------------------------------------------------------
  213.  
  214. -------------------------------------------------------
  215. --Start Important Functions--
  216. -------------------------------------------------------
  217. function swait(num)
  218. if num == 0 or num == nil then
  219. game:service("RunService").Stepped:wait(0)
  220. else
  221. for i = 0, num do
  222. game:service("RunService").Stepped:wait(0)
  223. end
  224. end
  225. end
  226. function thread(f)
  227. coroutine.resume(coroutine.create(f))
  228. end
  229. function clerp(a, b, t)
  230. local qa = {
  231. QuaternionFromCFrame(a)
  232. }
  233. local qb = {
  234. QuaternionFromCFrame(b)
  235. }
  236. local ax, ay, az = a.x, a.y, a.z
  237. local bx, by, bz = b.x, b.y, b.z
  238. local _t = 1 - t
  239. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  240. end
  241. function QuaternionFromCFrame(cf)
  242. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  243. local trace = m00 + m11 + m22
  244. if trace > 0 then
  245. local s = math.sqrt(1 + trace)
  246. local recip = 0.5 / s
  247. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  248. else
  249. local i = 0
  250. if m00 < m11 then
  251. i = 1
  252. end
  253. if m22 > (i == 0 and m00 or m11) then
  254. i = 2
  255. end
  256. if i == 0 then
  257. local s = math.sqrt(m00 - m11 - m22 + 1)
  258. local recip = 0.5 / s
  259. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  260. elseif i == 1 then
  261. local s = math.sqrt(m11 - m22 - m00 + 1)
  262. local recip = 0.5 / s
  263. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  264. elseif i == 2 then
  265. local s = math.sqrt(m22 - m00 - m11 + 1)
  266. local recip = 0.5 / s
  267. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  268. end
  269. end
  270. end
  271. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  272. local xs, ys, zs = x + x, y + y, z + z
  273. local wx, wy, wz = w * xs, w * ys, w * zs
  274. local xx = x * xs
  275. local xy = x * ys
  276. local xz = x * zs
  277. local yy = y * ys
  278. local yz = y * zs
  279. local zz = z * zs
  280. 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))
  281. end
  282. function QuaternionSlerp(a, b, t)
  283. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  284. local startInterp, finishInterp
  285. if cosTheta >= 1.0E-4 then
  286. if 1 - cosTheta > 1.0E-4 then
  287. local theta = math.acos(cosTheta)
  288. local invSinTheta = 1 / Sin(theta)
  289. startInterp = Sin((1 - t) * theta) * invSinTheta
  290. finishInterp = Sin(t * theta) * invSinTheta
  291. else
  292. startInterp = 1 - t
  293. finishInterp = t
  294. end
  295. elseif 1 + cosTheta > 1.0E-4 then
  296. local theta = math.acos(-cosTheta)
  297. local invSinTheta = 1 / Sin(theta)
  298. startInterp = Sin((t - 1) * theta) * invSinTheta
  299. finishInterp = Sin(t * theta) * invSinTheta
  300. else
  301. startInterp = t - 1
  302. finishInterp = t
  303. end
  304. 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
  305. end
  306. function rayCast(Position, Direction, Range, Ignore)
  307. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  308. end
  309. local RbxUtility = LoadLibrary("RbxUtility")
  310. local Create = RbxUtility.Create
  311.  
  312. -------------------------------------------------------
  313. --Start Damage Function--
  314. -------------------------------------------------------
  315. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  316. if hit.Parent == nil then
  317. return
  318. end
  319. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  320. for _, v in pairs(hit.Parent:children()) do
  321. if v:IsA("Humanoid") then
  322. h = v
  323. end
  324. end
  325. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  326.  
  327. hit.Parent:FindFirstChild("Head"):BreakJoints()
  328. end
  329.  
  330. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  331. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  332. if hit.Parent.DebounceHit.Value == true then
  333. return
  334. end
  335. end
  336. if insta == true then
  337. hit.Parent:FindFirstChild("Head"):BreakJoints()
  338. end
  339. local c = Create("ObjectValue"){
  340. Name = "creator",
  341. Value = game:service("Players").LocalPlayer,
  342. Parent = h,
  343. }
  344. game:GetService("Debris"):AddItem(c, .5)
  345. if HitSound ~= nil and HitPitch ~= nil then
  346. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  347. end
  348. local Damage = math.random(minim, maxim)
  349. local blocked = false
  350. local block = hit.Parent:findFirstChild("Block")
  351. if block ~= nil then
  352. if block.className == "IntValue" then
  353. if block.Value > 0 then
  354. blocked = true
  355. block.Value = block.Value - 1
  356. print(block.Value)
  357. end
  358. end
  359. end
  360. if blocked == false then
  361. h.Health = h.Health - Damage
  362. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  363. else
  364. h.Health = h.Health - (Damage / 2)
  365. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  366. end
  367. if Type == "Knockdown" then
  368. local hum = hit.Parent.Humanoid
  369. hum.PlatformStand = true
  370. coroutine.resume(coroutine.create(function(HHumanoid)
  371. swait(1)
  372. HHumanoid.PlatformStand = false
  373. end), hum)
  374. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  375. local bodvol = Create("BodyVelocity"){
  376. velocity = angle * knockback,
  377. P = 5000,
  378. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  379. Parent = hit,
  380. }
  381. local rl = Create("BodyAngularVelocity"){
  382. P = 3000,
  383. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  384. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  385. Parent = hit,
  386. }
  387. game:GetService("Debris"):AddItem(bodvol, .5)
  388. game:GetService("Debris"):AddItem(rl, .5)
  389. elseif Type == "Normal" then
  390. local vp = Create("BodyVelocity"){
  391. P = 500,
  392. maxForce = Vector3.new(math.huge, 0, math.huge),
  393. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  394. }
  395. if knockback > 0 then
  396. vp.Parent = hit.Parent.Torso
  397. end
  398. game:GetService("Debris"):AddItem(vp, .5)
  399. elseif Type == "Up" then
  400. local bodyVelocity = Create("BodyVelocity"){
  401. velocity = Vector3.new(0, 20, 0),
  402. P = 5000,
  403. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  404. Parent = hit,
  405. }
  406. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  407. elseif Type == "DarkUp" then
  408. coroutine.resume(coroutine.create(function()
  409. for i = 0, 1, 0.1 do
  410. swait()
  411. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  412. end
  413. end))
  414. local bodyVelocity = Create("BodyVelocity"){
  415. velocity = Vector3.new(0, 20, 0),
  416. P = 5000,
  417. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  418. Parent = hit,
  419. }
  420. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  421. elseif Type == "Snare" then
  422. local bp = Create("BodyPosition"){
  423. P = 2000,
  424. D = 100,
  425. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  426. position = hit.Parent.Torso.Position,
  427. Parent = hit.Parent.Torso,
  428. }
  429. game:GetService("Debris"):AddItem(bp, 1)
  430. elseif Type == "Freeze" then
  431. local BodPos = Create("BodyPosition"){
  432. P = 50000,
  433. D = 1000,
  434. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  435. position = hit.Parent.Torso.Position,
  436. Parent = hit.Parent.Torso,
  437. }
  438. local BodGy = Create("BodyGyro") {
  439. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  440. P = 20e+003,
  441. Parent = hit.Parent.Torso,
  442. cframe = hit.Parent.Torso.CFrame,
  443. }
  444. hit.Parent.Torso.Anchored = true
  445. coroutine.resume(coroutine.create(function(Part)
  446. swait(1.5)
  447. Part.Anchored = false
  448. end), hit.Parent.Torso)
  449. game:GetService("Debris"):AddItem(BodPos, 3)
  450. game:GetService("Debris"):AddItem(BodGy, 3)
  451. end
  452. local debounce = Create("BoolValue"){
  453. Name = "DebounceHit",
  454. Parent = hit.Parent,
  455. Value = true,
  456. }
  457. game:GetService("Debris"):AddItem(debounce, Delay)
  458. c = Create("ObjectValue"){
  459. Name = "creator",
  460. Value = Player,
  461. Parent = h,
  462. }
  463. game:GetService("Debris"):AddItem(c, .5)
  464. end
  465. end
  466. -------------------------------------------------------
  467. --End Damage Function--
  468. -------------------------------------------------------
  469.  
  470. -------------------------------------------------------
  471. --Start Damage Function Customization--
  472. -------------------------------------------------------
  473. function ShowDamage(Pos, Text, Time, Color)
  474. local Rate = (1 / 30)
  475. local Pos = (Pos or Vector3.new(0, 0, 0))
  476. local Text = (Text or "")
  477. local Time = (Time or 2)
  478. local Color = (Color or Color3.new(1, 0, 1))
  479. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  480. EffectPart.Anchored = true
  481. local BillboardGui = Create("BillboardGui"){
  482. Size = UDim2.new(3, 0, 3, 0),
  483. Adornee = EffectPart,
  484. Parent = EffectPart,
  485. }
  486. local TextLabel = Create("TextLabel"){
  487. BackgroundTransparency = 1,
  488. Size = UDim2.new(1, 0, 1, 0),
  489. Text = Text,
  490. Font = "Bodoni",
  491. TextColor3 = Color,
  492. TextScaled = true,
  493. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  494. Parent = BillboardGui,
  495. }
  496. game.Debris:AddItem(EffectPart, (Time))
  497. EffectPart.Parent = game:GetService("Workspace")
  498. delay(0, function()
  499. local Frames = (Time / Rate)
  500. for Frame = 1, Frames do
  501. wait(Rate)
  502. local Percent = (Frame / Frames)
  503. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  504. TextLabel.TextTransparency = Percent
  505. end
  506. if EffectPart and EffectPart.Parent then
  507. EffectPart:Destroy()
  508. end
  509. end)
  510. end
  511. -------------------------------------------------------
  512. --End Damage Function Customization--
  513. -------------------------------------------------------
  514.  
  515. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  516. for _, c in pairs(workspace:children()) do
  517. local hum = c:findFirstChild("Humanoid")
  518. if hum ~= nil then
  519. local head = c:findFirstChild("Head")
  520. if head ~= nil then
  521. local targ = head.Position - Part.Position
  522. local mag = targ.magnitude
  523. if magni >= mag and c.Name ~= plr.Name then
  524. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  525. end
  526. end
  527. end
  528. end
  529. end
  530.  
  531.  
  532. CFuncs = {
  533. Part = {
  534. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  535. local Part = Create("Part")({
  536. Parent = Parent,
  537. Reflectance = Reflectance,
  538. Transparency = Transparency,
  539. CanCollide = false,
  540. Locked = true,
  541. BrickColor = BrickColor.new(tostring(BColor)),
  542. Name = Name,
  543. Size = Size,
  544. Material = Material
  545. })
  546. RemoveOutlines(Part)
  547. return Part
  548. end
  549. },
  550. Mesh = {
  551. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  552. local Msh = Create(Mesh)({
  553. Parent = Part,
  554. Offset = OffSet,
  555. Scale = Scale
  556. })
  557. if Mesh == "SpecialMesh" then
  558. Msh.MeshType = MeshType
  559. Msh.MeshId = MeshId
  560. end
  561. return Msh
  562. end
  563. },
  564. Mesh = {
  565. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  566. local Msh = Create(Mesh)({
  567. Parent = Part,
  568. Offset = OffSet,
  569. Scale = Scale
  570. })
  571. if Mesh == "SpecialMesh" then
  572. Msh.MeshType = MeshType
  573. Msh.MeshId = MeshId
  574. end
  575. return Msh
  576. end
  577. },
  578. Weld = {
  579. Create = function(Parent, Part0, Part1, C0, C1)
  580. local Weld = Create("Weld")({
  581. Parent = Parent,
  582. Part0 = Part0,
  583. Part1 = Part1,
  584. C0 = C0,
  585. C1 = C1
  586. })
  587. return Weld
  588. end
  589. },
  590. Sound = {
  591. Create = function(id, par, vol, pit)
  592. coroutine.resume(coroutine.create(function()
  593. local S = Create("Sound")({
  594. Volume = vol,
  595. Pitch = pit or 1,
  596. SoundId = id,
  597. Parent = par or workspace
  598. })
  599. wait()
  600. S:play()
  601. game:GetService("Debris"):AddItem(S, 6)
  602. end))
  603. end
  604. },
  605. ParticleEmitter = {
  606. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  607. local fp = Create("ParticleEmitter")({
  608. Parent = Parent,
  609. Color = ColorSequence.new(Color1, Color2),
  610. LightEmission = LightEmission,
  611. Size = Size,
  612. Texture = Texture,
  613. Transparency = Transparency,
  614. ZOffset = ZOffset,
  615. Acceleration = Accel,
  616. Drag = Drag,
  617. LockedToPart = LockedToPart,
  618. VelocityInheritance = VelocityInheritance,
  619. EmissionDirection = EmissionDirection,
  620. Enabled = Enabled,
  621. Lifetime = LifeTime,
  622. Rate = Rate,
  623. Rotation = Rotation,
  624. RotSpeed = RotSpeed,
  625. Speed = Speed,
  626. VelocitySpread = VelocitySpread
  627. })
  628. return fp
  629. end
  630. }
  631. }
  632. function RemoveOutlines(part)
  633. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  634. end
  635. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  636. local Part = Create("Part")({
  637. formFactor = FormFactor,
  638. Parent = Parent,
  639. Reflectance = Reflectance,
  640. Transparency = Transparency,
  641. CanCollide = false,
  642. Locked = true,
  643. BrickColor = BrickColor.new(tostring(BColor)),
  644. Name = Name,
  645. Size = Size,
  646. Material = Material
  647. })
  648. RemoveOutlines(Part)
  649. return Part
  650. end
  651. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  652. local Msh = Create(Mesh)({
  653. Parent = Part,
  654. Offset = OffSet,
  655. Scale = Scale
  656. })
  657. if Mesh == "SpecialMesh" then
  658. Msh.MeshType = MeshType
  659. Msh.MeshId = MeshId
  660. end
  661. return Msh
  662. end
  663. function CreateWeld(Parent, Part0, Part1, C0, C1)
  664. local Weld = Create("Weld")({
  665. Parent = Parent,
  666. Part0 = Part0,
  667. Part1 = Part1,
  668. C0 = C0,
  669. C1 = C1
  670. })
  671. return Weld
  672. end
  673.  
  674.  
  675. -------------------------------------------------------
  676. --Start Effect Function--
  677. -------------------------------------------------------
  678. EffectModel = Instance.new("Model", char)
  679. Effects = {
  680. Block = {
  681. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  682. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  683. prt.Anchored = true
  684. prt.CFrame = cframe
  685. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  686. game:GetService("Debris"):AddItem(prt, 10)
  687. if Type == 1 or Type == nil then
  688. table.insert(Effects, {
  689. prt,
  690. "Block1",
  691. delay,
  692. x3,
  693. y3,
  694. z3,
  695. msh
  696. })
  697. elseif Type == 2 then
  698. table.insert(Effects, {
  699. prt,
  700. "Block2",
  701. delay,
  702. x3,
  703. y3,
  704. z3,
  705. msh
  706. })
  707. else
  708. table.insert(Effects, {
  709. prt,
  710. "Block3",
  711. delay,
  712. x3,
  713. y3,
  714. z3,
  715. msh
  716. })
  717. end
  718. end
  719. },
  720. Sphere = {
  721. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  722. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  723. prt.Anchored = true
  724. prt.CFrame = cframe
  725. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  726. game:GetService("Debris"):AddItem(prt, 10)
  727. table.insert(Effects, {
  728. prt,
  729. "Cylinder",
  730. delay,
  731. x3,
  732. y3,
  733. z3,
  734. msh
  735. })
  736. end
  737. },
  738. Cylinder = {
  739. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  740. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  741. prt.Anchored = true
  742. prt.CFrame = cframe
  743. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  744. game:GetService("Debris"):AddItem(prt, 10)
  745. table.insert(Effects, {
  746. prt,
  747. "Cylinder",
  748. delay,
  749. x3,
  750. y3,
  751. z3,
  752. msh
  753. })
  754. end
  755. },
  756. Wave = {
  757. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  758. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  759. prt.Anchored = true
  760. prt.CFrame = cframe
  761. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  762. game:GetService("Debris"):AddItem(prt, 10)
  763. table.insert(Effects, {
  764. prt,
  765. "Cylinder",
  766. delay,
  767. x3 / 60,
  768. y3 / 60,
  769. z3 / 60,
  770. msh
  771. })
  772. end
  773. },
  774. Ring = {
  775. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  776. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  777. prt.Anchored = true
  778. prt.CFrame = cframe
  779. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  780. game:GetService("Debris"):AddItem(prt, 10)
  781. table.insert(Effects, {
  782. prt,
  783. "Cylinder",
  784. delay,
  785. x3,
  786. y3,
  787. z3,
  788. msh
  789. })
  790. end
  791. },
  792. Break = {
  793. Create = function(brickcolor, cframe, x1, y1, z1)
  794. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  795. prt.Anchored = true
  796. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  797. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  798. local num = math.random(10, 50) / 1000
  799. game:GetService("Debris"):AddItem(prt, 10)
  800. table.insert(Effects, {
  801. prt,
  802. "Shatter",
  803. num,
  804. prt.CFrame,
  805. math.random() - math.random(),
  806. 0,
  807. math.random(50, 100) / 100
  808. })
  809. end
  810. },
  811. Spiral = {
  812. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  813. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  814. prt.Anchored = true
  815. prt.CFrame = cframe
  816. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  817. game:GetService("Debris"):AddItem(prt, 10)
  818. table.insert(Effects, {
  819. prt,
  820. "Cylinder",
  821. delay,
  822. x3,
  823. y3,
  824. z3,
  825. msh
  826. })
  827. end
  828. },
  829. Push = {
  830. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  831. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  832. prt.Anchored = true
  833. prt.CFrame = cframe
  834. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  835. game:GetService("Debris"):AddItem(prt, 10)
  836. table.insert(Effects, {
  837. prt,
  838. "Cylinder",
  839. delay,
  840. x3,
  841. y3,
  842. z3,
  843. msh
  844. })
  845. end
  846. }
  847. }
  848. -------------------------------------------------------
  849. --End Effect Function--
  850. -------------------------------------------------------
  851.  
  852. function CreateSound(ID, PARENT, VOLUME, PITCH)
  853. local NSound = nil
  854. coroutine.resume(coroutine.create(function()
  855. NSound = Instance.new("Sound", PARENT)
  856. NSound.Volume = VOLUME
  857. NSound.Pitch = PITCH
  858. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  859. swait()
  860. NSound:play()
  861. game:GetService("Debris"):AddItem(NSound, 10)
  862. end))
  863. return NSound
  864. end
  865.  
  866. --Very lazi from here to below except the animations but who cares /shrug
  867. function chatfunc(text)
  868. local chat = coroutine.wrap(function()
  869. if char:FindFirstChild("TalkingBillBoard")~= nil then
  870. char:FindFirstChild("TalkingBillBoard"):destroy()
  871. end
  872. local naeeym2 = Instance.new("BillboardGui",char)
  873. naeeym2.Size = UDim2.new(0,100,0,40)
  874. naeeym2.StudsOffset = Vector3.new(0,3,0)
  875. naeeym2.Adornee = char.Head
  876. naeeym2.Name = "TalkingBillBoard"
  877. local tecks2 = Instance.new("TextLabel",naeeym2)
  878. tecks2.BackgroundTransparency = 1
  879. tecks2.BorderSizePixel = 0
  880. tecks2.Text = ""
  881. tecks2.Font = "Bodoni"
  882. tecks2.TextSize = 30
  883. tecks2.TextStrokeTransparency = 0
  884. tecks2.TextColor3 = Color3.new(255,0,0)
  885. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  886. tecks2.Size = UDim2.new(1,0,0.5,0)
  887. local tecks3 = Instance.new("TextLabel",naeeym2)
  888. tecks3.BackgroundTransparency = 1
  889. tecks3.BorderSizePixel = 0
  890. tecks3.Text = ""
  891. tecks3.Font = "Bodoni"
  892. tecks3.TextSize = 30
  893. tecks3.TextStrokeTransparency = 0
  894. tecks3.TextColor3 = Color3.new(255,0,0)
  895. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  896. tecks3.Size = UDim2.new(1,0,0.5,0)
  897. coroutine.resume(coroutine.create(function()
  898. while tecks3 ~= nil do
  899. swait()
  900. tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  901. tecks3.Rotation = math.random(-3,3)
  902. tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0)
  903. tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0)
  904. end
  905. end))
  906. for i = 1,string.len(text),1 do
  907. tecks2.Text = string.sub(text,1,i)
  908. tecks3.Text = string.sub(text,1,i)
  909. wait(0.01)
  910. end
  911. wait(2)
  912. for i = 1, 50 do
  913. swait()
  914. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  915. tecks2.Rotation = tecks2.Rotation - .8
  916. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  917. tecks2.TextTransparency = tecks2.TextTransparency + .04
  918. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  919. tecks3.Rotation = tecks2.Rotation + .8
  920. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  921. tecks3.TextTransparency = tecks2.TextTransparency + .04
  922. end
  923. naeeym2:Destroy()
  924. end)
  925. chat()
  926. end
  927. function onChatted(msg)
  928. chatfunc(msg)
  929. end
  930. --plr.Chatted:connect(onChatted)
  931.  
  932. abss = Instance.new("BillboardGui",char)
  933. abss.Size = UDim2.new(10,0,10,0)
  934. abss.Enabled = false
  935. imgl = Instance.new("ImageLabel",abss)
  936. imgl.Position = UDim2.new(0,0,0,0)
  937. imgl.Size = UDim2.new(1,0,1,0)
  938. imgl.Image = "rbxassetid://153485522"
  939. imgl.BackgroundTransparency = 1
  940. imgl.ImageColor3 = Color3.new(.9,0,0)
  941. img2 = Instance.new("ImageLabel",abss)
  942. img2.Position = UDim2.new(0,0,0,0)
  943. img2.Size = UDim2.new(1,0,1,0)
  944. img2.Image = "rbxassetid://153485522"
  945. img2.BackgroundTransparency = 1
  946. img2.ImageColor3 = Color3.new(.9,0,0)
  947.  
  948. function TargetSelect(person)
  949. local dd=coroutine.wrap(function()
  950. if targetted ~= person then
  951. targetted = person
  952. img2.Size = UDim2.new(1,0,1,0)
  953. img2.ImageTransparency = 0
  954. img2.Position = UDim2.new(0,0,0,0)
  955. for i = 0, 2, 0.1 do
  956. swait()
  957. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  958. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  959. img2.ImageTransparency = img2.ImageTransparency + 0.05
  960. end
  961. end
  962. end)
  963. dd()
  964. end
  965.  
  966. function dmg(dude)
  967. if dude.Name ~= char then
  968. dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
  969. local bgf = Instance.new("BodyGyro",dude.Head)
  970. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  971. local val = Instance.new("BoolValue",dude)
  972. val.Name = "IsHit"
  973. local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
  974. local partasdeff = Instance.new("ParticleEmitter",torsy)
  975. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  976. partasdeff.LightEmission = .1
  977. partasdeff.Size = NumberSequence.new(0.2)
  978. partasdeff.Texture = "rbxassetid://771221224"
  979. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  980. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  981. partasdeff.Transparency = bbb
  982. partasdeff.Size = aaa
  983. partasdeff.ZOffset = .9
  984. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  985. partasdeff.LockedToPart = false
  986. partasdeff.EmissionDirection = "Back"
  987. partasdeff.Lifetime = NumberRange.new(1, 2)
  988. partasdeff.Rate = 1000
  989. partasdeff.Rotation = NumberRange.new(-100, 100)
  990. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  991. partasdeff.Speed = NumberRange.new(6)
  992. partasdeff.VelocitySpread = 10000
  993. partasdeff.Enabled=false
  994. partasdeff:Emit(30)
  995. coroutine.wrap(function()
  996. targetted = nil
  997. swait(30)
  998. dude:BreakJoints()
  999. swait(5)
  1000. dude:FindFirstChildOfClass("Humanoid"):Destroy()
  1001. for i=0,1,.05 do
  1002. for a,v in pairs(dude:GetChildren()) do
  1003. if v:IsA("BasePart") then
  1004. v.Transparency = i
  1005. end
  1006. end
  1007. swait()
  1008. end
  1009. for a,v in pairs(dude:GetChildren()) do
  1010. if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
  1011. v.ParticleEmitter.Enabled = false
  1012. end
  1013. game:service'Debris':AddItem(v,2)
  1014. end
  1015. end)()
  1016. end
  1017. end
  1018.  
  1019. --lazi
  1020. function kdown(dd)
  1021. if dd.Name ~= char then
  1022. dd.Humanoid.PlatformStand = true
  1023. local bgf = Instance.new("BodyGyro",dd.Head)
  1024. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1025. local val = Instance.new("BoolValue",dd)
  1026. val.Name = "IsHit"
  1027. end
  1028. end
  1029.  
  1030. function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1031. --local buddy
  1032. for _, c in pairs(workspace:children()) do
  1033. local hum = c:findFirstChild("Humanoid")
  1034. if hum ~= nil then
  1035. local head = c:findFirstChild("Torso")
  1036. if head ~= nil then
  1037. local targ = head.Position - Part.Position
  1038. local mag = targ.magnitude
  1039. if mag <= Magnitude and c.Name ~= plr.Name then
  1040. if c.Name ~= char then
  1041. if c.Name ~= "makhail07" and c.Name ~= "Nebula_Zorua" and c.Name ~= "KillerDarkness0105" and c.Name ~= "Salvo_Starly" then
  1042. local asd = Instance.new("ParticleEmitter",c.Torso)
  1043. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1044. asd.LightEmission = .1
  1045. asd.Size = NumberSequence.new(0.2)
  1046. asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1047. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1048. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1049. asd.Transparency = bbb
  1050. asd.Size = aaa
  1051. asd.ZOffset = .9
  1052. asd.Acceleration = Vector3.new(0, -5, 0)
  1053. asd.LockedToPart = false
  1054. asd.EmissionDirection = "Back"
  1055. asd.Lifetime = NumberRange.new(1, 2)
  1056. asd.Rate = 1000
  1057. asd.Rotation = NumberRange.new(-100, 100)
  1058. asd.RotSpeed = NumberRange.new(-100, 100)
  1059. asd.Speed = NumberRange.new(6)
  1060. asd.VelocitySpread = 10000
  1061. asd.Enabled=true
  1062. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1063. dmg(c)
  1064. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
  1065. coroutine.wrap(function()
  1066. wait(.2)
  1067. asd.Enabled = false
  1068. wait(2)
  1069. asd:Remove()
  1070. end)()
  1071. else
  1072. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3))
  1073. Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1074.  
  1075. end
  1076. end
  1077. end
  1078. end
  1079. end
  1080. end
  1081. end
  1082.  
  1083. -------------------------------------------------------
  1084. --End Important Functions--
  1085. -------------------------------------------------------
  1086.  
  1087. --[[
  1088. Thanks for using Build-To-Lua by jarredbcv.
  1089. ]]--
  1090.  
  1091. New = function(Object, Parent, Name, Data)
  1092. local Object = Instance.new(Object)
  1093. for Index, Value in pairs(Data or {}) do
  1094. Object[Index] = Value
  1095. end
  1096. Object.Parent = Parent
  1097. Object.Name = Name
  1098. return Object
  1099. end
  1100.  
  1101. Doll = New("Model",char,"Doll",{})
  1102. Handle = New("Part",Doll,"Handle",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.755005181, 0.52783519, 0.664805532),CFrame = CFrame.new(17.7066402, 4.04866695, 4.38868618, -0.408491671, 0.666965187, -0.623126268, 0.353551745, 0.745008111, 0.565648913, 0.841502249, 0.0107554942, -0.540138841),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1103. Mesh = New("CylinderMesh",Handle,"Mesh",{})
  1104. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1105. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1106. --Decal = New("Decal",Handle,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1107. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1108. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1109. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1110. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.8601875, 3.91987228, 3.94369364, 0.725253046, -0.0676794797, 0.685131192, -0.652452052, -0.385200739, 0.652613878, 0.219753951, -0.920328677, -0.3235268),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1111. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1112. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1113. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1114. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1115. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1116. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1117. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1118. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.725257337, -0.652455866, 0.219753742, -0.0676780641, -0.385204077, -0.920336843, 0.685135007, 0.652616382, -0.323529661),C1 = CFrame.new(-0.482725382, 0.00167179108, 0.0718259811, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1119. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.834486, 3.79168725, 3.64936543, 0.0676793754, -0.685130835, 0.725253344, 0.385200799, -0.652614176, -0.652451873, 0.920328736, 0.323526919, 0.219753981),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1120. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1121. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1122. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1123. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1124. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1125. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1126. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779449, 0.385204136, 0.920336902, -0.685134649, -0.65261662, 0.32352975, 0.725257695, -0.652455688, 0.219753742),C1 = CFrame.new(-0.765227079, -0.114135742, 0.174312592, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1127. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.469902, 4.25766516, 4.74769306, 0.445832253, 0.789082885, 0.422561586, -0.410611928, -0.239177942, 0.879868925, 0.795366764, -0.565779567, 0.217372388),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1128. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1129. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1130. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1131. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1132. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1133. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1134. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1135. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.445833862, -0.410613358, 0.795372128, 0.789088428, -0.239180744, -0.565785825, 0.422562867, 0.879873633, 0.217374772),C1 = CFrame.new(0.472706556, 0.0016708374, 0.0718240738, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1136. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.1839867, 3.98582673, 3.75731707, 0.429396152, -0.706048965, 0.563108683, -0.389012426, -0.70731467, -0.590215027, 0.815025091, 0.0343795903, -0.578376234),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1137. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1138. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1139. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1140. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1141. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1142. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1143. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.429397583, -0.389013648, 0.815030634, -0.706052482, -0.707317889, 0.0343799815, 0.563113213, -0.590219498, -0.57838279),C1 = CFrame.new(-0.340019703, -0.402200699, 0.631163597, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1144. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.3263435, 3.86502314, 4.01973581, 0.563109279, -0.429397821, 0.706047297, -0.590211987, 0.389013797, 0.707316399, -0.578378439, -0.815023482, -0.0343782082),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1145. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1146. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1147. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1148. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1149. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1150. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1151. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1152. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.563113868, -0.590216458, -0.578384995, -0.429399252, 0.389015079, -0.815029025, 0.706050813, 0.707319558, -0.0343785957),C1 = CFrame.new(-0.220053911, -0.394431114, 0.332381248, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1153. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.1463699, 4.02708626, 4.39648008, 0.0949088037, -0.73499012, 0.671386242, -0.165235519, 0.653441608, 0.738708198, -0.981658518, -0.181056261, -0.0594294369),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1154. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1155. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1156. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1157. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1158. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1159. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1160. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1161. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0949110687, -0.165237904, -0.981667101, -0.734994531, 0.653445482, -0.181055605, 0.67138958, 0.738711536, -0.0594298989),C1 = CFrame.new(0.227796555, -0.389676094, 0.33270359, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1162. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(16.9056702, 4.23298216, 4.33822775, 0.734989643, -0.671386659, 0.0949084461, -0.65344131, -0.738707781, -0.165238559, 0.18105793, 0.0594319291, -0.981658101),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1163. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1164. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1165. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1166. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1167. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1168. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1169. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.734994054, -0.653445184, 0.181057304, -0.671389878, -0.738711119, 0.0594324097, 0.0949106514, -0.165240943, -0.981666625),C1 = CFrame.new(0.349896908, -0.397447586, 0.630620956, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1170. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.668146014, 0.668146014, 0.668146014),CFrame = CFrame.new(17.5317345, 3.8532939, 4.38586617, -0.408485681, -0.666960537, 0.62312144, 0.353546619, -0.745002985, -0.565644801, 0.841490149, -0.01075528, 0.540134549),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1171. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1172. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1173. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1174. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1175. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1176. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1177. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.408489615, 0.353550047, 0.841498256, -0.666963577, -0.745006442, -0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(2.38418579e-07, -0.262242317, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1178. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.2187252, 4.32988024, 4.93205738, 0.445832521, -0.422561586, 0.789083481, -0.410612077, -0.879869342, -0.239178166, 0.795367122, -0.217372417, -0.565779924),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1179. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1180. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1181. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1182. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1183. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1184. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1185. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.4458341, -0.410613567, 0.795372486, -0.422562897, -0.879873991, -0.217374831, 0.789088964, -0.239180893, -0.565786123),C1 = CFrame.new(0.755987883, -0.110072136, 0.169605255, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1186. Part = New("Part",Doll,"Part",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.668145955, 0.668145835, 0.668145955),CFrame = CFrame.new(18.08988, 4.4767499, 4.39486742, 0.408485681, 0.666960537, 0.62312144, -0.353546619, 0.745002985, -0.565644801, -0.841490149, 0.01075528, 0.540134549),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1187. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.267258376, 0.267258346, 0.267258376),MeshId = "rbxassetid://511959728",TextureId = "rbxassetid://511959832",MeshType = Enum.MeshType.FileMesh,})
  1188. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.408489615, -0.353550047, -0.841498256, 0.666963577, 0.745006442, 0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(7.15255737e-07, 0.574602127, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1189. ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.9875202, 4.01644802, 3.77061558, -0.0676794201, -0.685131192, -0.725253105, -0.385200799, -0.652613878, 0.652452171, -0.920328856, 0.3235268, -0.219753891),CanCollide = false,})
  1190. 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,})
  1191. mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0676780194, -0.385204077, -0.920336962, -0.685135007, -0.652616382, 0.323529661, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.646242142, 0.156686783, 0.14059639, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1192. ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.5272255, 4.25228214, 4.19855928, 0.0679666698, 0.36827448, 0.927217185, -0.212974086, -0.902587652, 0.374107033, 0.974675775, -0.222893685, 0.017090857),CanCollide = false,})
  1193. 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,})
  1194. mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.368277669, -0.902593136, -0.22289744, 0.927222073, 0.374108285, 0.0170900673),C1 = CFrame.new(-0.0147144794, 0.0299873352, 0.329668999, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1195. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Bright red"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(18.0725803, 4.09775925, 3.73087263, 0.0676794201, 0.685131252, -0.725253105, 0.385200679, 0.652613938, 0.652452171, 0.920328856, -0.32352671, -0.219753891),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
  1196. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
  1197. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779896, 0.385204017, 0.920336962, 0.685135067, 0.652616382, -0.323529571, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.685684681, 0.273569107, 0.155054092, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1198. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Bright red"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(17.4762096, 4.37637663, 4.2292285, 0.0679666698, 0.927216947, -0.368275285, -0.212974086, 0.374107838, 0.902587295, 0.974675775, 0.0170910954, 0.222893804),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
  1199. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
  1200. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.927221835, 0.374109089, 0.0170903057, -0.368278474, 0.902592778, 0.22289747),C1 = CFrame.new(0.0758080482, 0.0887422562, 0.4150877, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1201.  
  1202. --lazi xd
  1203. Needle = New("Model",char,"Needle",{})
  1204. 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,})
  1205. 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,})
  1206.  
  1207.  
  1208. for _, v in pairs(Doll:GetChildren()) do
  1209. if v:IsA'BasePart' then
  1210. v.CanCollide = false
  1211. end
  1212. end
  1213.  
  1214. for _, v in pairs(Needle:GetChildren()) do
  1215. if v:IsA'BasePart' then
  1216. v.CanCollide = false
  1217. end
  1218. end
  1219.  
  1220.  
  1221. local NewInstance = function(instance,parent,properties)
  1222. local inst = Instance.new(instance,parent)
  1223. if(properties)then
  1224. for i,v in next, properties do
  1225. pcall(function() inst[i] = v end)
  1226. end
  1227. end
  1228. return inst;
  1229. end
  1230. 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))})
  1231.  
  1232. 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))})
  1233.  
  1234.  
  1235.  
  1236. -------------------------------------------------------
  1237. --Start Music Option--
  1238. -------------------------------------------------------
  1239. local Music = Instance.new("Sound",tors)
  1240. Music.Volume = 2.5
  1241. Music.SoundId = "rbxassetid://803936798" --536675558 1470848774
  1242. Music.Looped = true
  1243. Music.Pitch = .9 --Pitcher
  1244. Music:Play()
  1245. -------------------------------------------------------
  1246. --End Music Option--
  1247. -------------------------------------------------------
  1248.  
  1249.  
  1250. -------------------------------------------------------
  1251. --Start Attacks N Stuff--
  1252. -------------------------------------------------------
  1253. local sine=0
  1254. function LockOn()
  1255. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1256. TargetSelect(mouse.Target.Parent)
  1257. CreateSound("743521450", char, 1, .8)
  1258. end
  1259. end
  1260.  
  1261.  
  1262.  
  1263. function Stab_Them_For_FUN()
  1264. attack = true
  1265. hum.WalkSpeed = 0
  1266. if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
  1267. local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1268. local partasdeff = Instance.new("ParticleEmitter",torsy)
  1269. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1270. partasdeff.LightEmission = .1
  1271. partasdeff.Size = NumberSequence.new(0.2)
  1272. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1273. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1274. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1275. partasdeff.Transparency = bbb
  1276. partasdeff.Size = aaa
  1277. partasdeff.ZOffset = .9
  1278. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1279. partasdeff.LockedToPart = false
  1280. partasdeff.EmissionDirection = "Back"
  1281. partasdeff.Lifetime = NumberRange.new(1, 2)
  1282. partasdeff.Rate = 1000
  1283. partasdeff.Rotation = NumberRange.new(-100, 100)
  1284. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1285. partasdeff.Speed = NumberRange.new(6)
  1286. partasdeff.VelocitySpread = 10000
  1287. partasdeff.Enabled=false
  1288. for i = 0, 1.4, 0.1 do
  1289. swait()
  1290. 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)
  1291. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
  1292. if Mrandom(1,15) == 1 then
  1293. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1294. end
  1295. 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)
  1296. 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)
  1297. 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)
  1298. 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)
  1299. end
  1300. dmg(targetted)
  1301. partasdeff.Enabled=true
  1302. CreateSound("429400881", torsy, 10, .8)
  1303. for i = 0, 1.4, 0.1 do
  1304. swait()
  1305. 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)
  1306. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1307. if Mrandom(1,15) == 1 then
  1308. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1309. end
  1310. 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)
  1311. 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)
  1312. 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)
  1313. 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)
  1314. end
  1315. partasdeff.Enabled=false
  1316. for i = 0, 1.4, 0.1 do
  1317. swait()
  1318. 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)
  1319. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
  1320. if Mrandom(1,15) == 1 then
  1321. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1322. end
  1323. 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)
  1324. 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)
  1325. 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)
  1326. 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)
  1327. end
  1328. attack = false
  1329. hum.WalkSpeed = 8
  1330. elseif targetted.Name == "makhail07" then
  1331. for i = 0, 2.4, 0.1 do
  1332. swait()
  1333. 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)
  1334. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1335. if Mrandom(1,15) == 1 then
  1336. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1337. end
  1338. 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)
  1339. 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)
  1340. 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)
  1341. 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)
  1342. end
  1343. for i = 0, 2.4, 0.1 do
  1344. swait()
  1345. 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)
  1346. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1347. if Mrandom(1,15) == 1 then
  1348. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1349. end
  1350. 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)
  1351. 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)
  1352. 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)
  1353. 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)
  1354. end
  1355. coroutine.wrap(function()
  1356. wait(2)
  1357. --partasdeff:Remove()
  1358. end)()
  1359. local sel = Mrandom(1,3)
  1360. if sel == 1 then
  1361. chatfunc("Hmhmhm, Why try?")
  1362. elseif sel == 2 then
  1363. chatfunc("Stop it that's my creator.")
  1364. elseif sel == 3 then
  1365. chatfunc("I can't do that...")
  1366. end
  1367. wait(2)
  1368. hum.WalkSpeed = 8
  1369. attack = false
  1370. elseif targetted.Name == "Salvo_Starly" then
  1371. for i = 0, 2.4, 0.1 do
  1372. swait()
  1373. 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)
  1374. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1375. if Mrandom(1,15) == 1 then
  1376. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1377. end
  1378. 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)
  1379. 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)
  1380. 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)
  1381. 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)
  1382. end
  1383. for i = 0, 2.4, 0.1 do
  1384. swait()
  1385. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1386. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1387. if Mrandom(1,15) == 1 then
  1388. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1389. end
  1390. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1391. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1392. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1393. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1394. end
  1395. coroutine.wrap(function()
  1396. wait(2)
  1397. --partasdeff:Remove()
  1398. end)()
  1399. local sel = Mrandom(1,3)
  1400. if sel == 1 then
  1401. chatfunc("Sorry about that.")
  1402. elseif sel == 2 then
  1403. chatfunc("H-Hello. I almost killed you.")
  1404. elseif sel == 3 then
  1405. chatfunc("OwO?")
  1406. end
  1407. wait(2)
  1408. hum.WalkSpeed = 8
  1409. attack = false
  1410. elseif targetted.Name == "Nebula_Zorua" then
  1411. for i = 0, 2.4, 0.1 do
  1412. swait()
  1413. 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)
  1414. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1415. if Mrandom(1,15) == 1 then
  1416. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1417. end
  1418. 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)
  1419. 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)
  1420. 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)
  1421. 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)
  1422. end
  1423. for i = 0, 2.4, 0.1 do
  1424. swait()
  1425. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1426. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1427. if Mrandom(1,15) == 1 then
  1428. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1429. end
  1430. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1431. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1432. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1433. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1434. end
  1435. coroutine.wrap(function()
  1436. wait(2)
  1437. --partasdeff:Remove()
  1438. end)()
  1439. local sel = Mrandom(1,3)
  1440. if sel == 1 then
  1441. chatfunc("Sorry, Nebula.")
  1442. elseif sel == 2 then
  1443. chatfunc("Theres no need to harm you. Yet...")
  1444. elseif sel == 3 then
  1445. chatfunc("My mistake.")
  1446. end
  1447. wait(2)
  1448. hum.WalkSpeed = 8
  1449. attack = false
  1450. elseif targetted.Name == "KillerDarkness0105" then
  1451. for i = 0, 2.4, 0.1 do
  1452. swait()
  1453. 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)
  1454. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1455. if Mrandom(1,15) == 1 then
  1456. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1457. end
  1458. 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)
  1459. 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)
  1460. 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)
  1461. 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)
  1462. end
  1463. for i = 0, 2.4, 0.1 do
  1464. swait()
  1465. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1466. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1467. if Mrandom(1,15) == 1 then
  1468. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1469. end
  1470. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1471. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1472. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1473. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1474. end
  1475. coroutine.wrap(function()
  1476. wait(2)
  1477. --partasdeff:Remove()
  1478. end)()
  1479. local sel = Mrandom(1,3)
  1480. if sel == 1 then
  1481. chatfunc("Hm, Killer it's been a while.")
  1482. elseif sel == 2 then
  1483. chatfunc("No need for this.")
  1484. elseif sel == 3 then
  1485. chatfunc("Hello, sorry.")
  1486. end
  1487. wait(2)
  1488. hum.WalkSpeed = 8
  1489. attack = false
  1490. end
  1491. end
  1492.  
  1493. function Oh_No_AN_ERROR_Has_OcccccccurrEEEED()
  1494. attack = true
  1495. hum.WalkSpeed = 0
  1496. if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
  1497. local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1498. local partasdeff = Instance.new("ParticleEmitter",torsy)
  1499. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1500. partasdeff.LightEmission = .1
  1501. partasdeff.Size = NumberSequence.new(0.2)
  1502. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1503. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1504. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1505. partasdeff.Transparency = bbb
  1506. partasdeff.Size = aaa
  1507. partasdeff.ZOffset = .9
  1508. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1509. partasdeff.LockedToPart = false
  1510. partasdeff.EmissionDirection = "Back"
  1511. partasdeff.Lifetime = NumberRange.new(1, 2)
  1512. partasdeff.Rate = 1000
  1513. partasdeff.Rotation = NumberRange.new(-100, 100)
  1514. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1515. partasdeff.Speed = NumberRange.new(6)
  1516. partasdeff.VelocitySpread = 10000
  1517. partasdeff.Enabled=false
  1518. for i = 0, 1.2, 0.1 do
  1519. swait()
  1520. 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)
  1521. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1522. if Mrandom(1,15) == 1 then
  1523. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1524. end
  1525. 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)
  1526. 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)
  1527. 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)
  1528. 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)
  1529. end
  1530. HW.Part0 = root
  1531. for i = 0, 1.8, 0.1 do
  1532. swait()
  1533. 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)
  1534. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), 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), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1539. 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)
  1540. 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)
  1541. 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)
  1542. HW.C0 = clerp(HW.C0, CF(1,-2.9,-.7) * angles(Rad(-90), Rad(0), Rad(0)), 0.1)
  1543. end
  1544. kdown(targetted)
  1545. for i = 0, 1.6, 0.1 do
  1546. swait()
  1547. 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)
  1548. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1549. if Mrandom(1,15) == 1 then
  1550. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1551. end
  1552. 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)
  1553. 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)
  1554. 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)
  1555. 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)
  1556. end
  1557. for i = 1,7 do
  1558. partasdeff.Enabled = false
  1559. for i = 0, 1.6, 0.1 do
  1560. swait()
  1561. 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)
  1562. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1563. if Mrandom(1,15) == 1 then
  1564. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1565. end
  1566. 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)
  1567. 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)
  1568. 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)
  1569. 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)
  1570. end
  1571. CreateSound("429400881", torsy, 10, 1)
  1572. partasdeff.Enabled = true
  1573. for i = 0, 1.6, 0.1 do
  1574. swait()
  1575. 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)
  1576. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1577. if Mrandom(1,15) == 1 then
  1578. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1579. end
  1580. 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)
  1581. 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)
  1582. 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)
  1583. 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)
  1584. end
  1585. end
  1586. partasdeff.Enabled = false
  1587. dmg(targetted)
  1588. attack = false
  1589. HW.Part0 = ra
  1590. HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  1591. hum.WalkSpeed = 8
  1592. elseif targetted.Name == "makhail07" then
  1593. for i = 0, 3.2, 0.1 do
  1594. swait()
  1595. 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)
  1596. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1597. if Mrandom(1,15) == 1 then
  1598. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1599. end
  1600. 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)
  1601. 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)
  1602. 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)
  1603. 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)
  1604. end
  1605. for i = 0, 1.8, 0.1 do
  1606. swait()
  1607. 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)
  1608. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1609. if Mrandom(1,15) == 1 then
  1610. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1611. end
  1612. 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)
  1613. 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)
  1614. 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)
  1615. 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)
  1616. end
  1617. coroutine.wrap(function()
  1618. wait(2)
  1619. --partasdeff:Remove()
  1620. end)()
  1621. local sel = Mrandom(1,3)
  1622. if sel == 1 then
  1623. chatfunc("Hah you tried.")
  1624. elseif sel == 2 then
  1625. chatfunc("No,no that's wrong.")
  1626. elseif sel == 3 then
  1627. chatfunc("Oops, I almost smashed myself to pieces.")
  1628. end
  1629. wait(2)
  1630. hum.WalkSpeed = 8
  1631. attack = false
  1632. elseif targetted.Name == "Salvo_Starly" then
  1633. for i = 0, 3.2, 0.1 do
  1634. swait()
  1635. 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)
  1636. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1637. if Mrandom(1,15) == 1 then
  1638. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1639. end
  1640. 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)
  1641. 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)
  1642. 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)
  1643. 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)
  1644. end
  1645. for i = 0, 1.8, 0.1 do
  1646. swait()
  1647. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1648. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1649. if Mrandom(1,15) == 1 then
  1650. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1651. end
  1652. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1653. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1654. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1655. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1656. end
  1657. coroutine.wrap(function()
  1658. wait(2)
  1659. --partasdeff:Remove()
  1660. end)()
  1661. local sel = Mrandom(1,3)
  1662. if sel == 1 then
  1663. chatfunc("Ooooopsy.")
  1664. elseif sel == 2 then
  1665. chatfunc("OOF I almost smashed you.")
  1666. elseif sel == 3 then
  1667. chatfunc("Give me, wait...Salvo?")
  1668. end
  1669. wait(2)
  1670. hum.WalkSpeed = 8
  1671. attack = false
  1672. elseif targetted.Name == "Nebula_Zorua" then
  1673. for i = 0, 3.2, 0.1 do
  1674. swait()
  1675. 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)
  1676. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1677. if Mrandom(1,15) == 1 then
  1678. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1679. end
  1680. 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)
  1681. 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)
  1682. 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)
  1683. 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)
  1684. end
  1685. for i = 0, 1.8, 0.1 do
  1686. swait()
  1687. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1688. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1689. if Mrandom(1,15) == 1 then
  1690. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1691. end
  1692. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1693. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1694. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1695. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1696. end
  1697. coroutine.wrap(function()
  1698. wait(2)
  1699. --partasdeff:Remove()
  1700. end)()
  1701. local sel = Mrandom(1,3)
  1702. if sel == 1 then
  1703. chatfunc("Lucky I know you...")
  1704. elseif sel == 2 then
  1705. chatfunc("Nebu?")
  1706. elseif sel == 3 then
  1707. chatfunc("VSB = Bad, GSB = Good")
  1708. end
  1709. wait(2)
  1710. hum.WalkSpeed = 8
  1711. attack = false
  1712. elseif targetted.Name == "KillerDarkness0105" then
  1713. for i = 0, 3.2, 0.1 do
  1714. swait()
  1715. 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)
  1716. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1717. if Mrandom(1,15) == 1 then
  1718. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1719. end
  1720. 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)
  1721. 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)
  1722. 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)
  1723. 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)
  1724. end
  1725. for i = 0, 1.8, 0.1 do
  1726. swait()
  1727. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1728. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1729. if Mrandom(1,15) == 1 then
  1730. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1731. end
  1732. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1733. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1734. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1735. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1736. end
  1737. coroutine.wrap(function()
  1738. wait(2)
  1739. --partasdeff:Remove()
  1740. end)()
  1741. local sel = Mrandom(1,3)
  1742. if sel == 1 then
  1743. chatfunc("AaaaAA Killer, what are you doing?")
  1744. elseif sel == 2 then
  1745. chatfunc("Are you finished with those touhou scripts?")
  1746. elseif sel == 3 then
  1747. chatfunc("Oh hi, sorry for that.")
  1748. end
  1749. wait(2)
  1750. hum.WalkSpeed = 8
  1751. attack = false
  1752. end
  1753. end
  1754.  
  1755. function Get_Over_Here_And_PERISH()
  1756. attack = true
  1757. hum.WalkSpeed = 0
  1758. local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1759. for i = 0, 2, 0.1 do
  1760. swait()
  1761. 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)
  1762. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1763. if Mrandom(1,15) == 1 then
  1764. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1765. end
  1766. 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)
  1767. 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)
  1768. 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)
  1769. 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)
  1770. end
  1771. coroutine.resume(coroutine.create(function()
  1772. for i = 1,10 do
  1773. swait()
  1774. local Pully = Create("BodyPosition")({
  1775. P = 9000,
  1776. D = 1000,
  1777. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1778. position = ra.Position - ra.CFrame.lookVector * 6,
  1779. Parent = torsy
  1780. })
  1781. game:GetService("Debris"):AddItem(Pully, 0.2)
  1782. wait()
  1783. end
  1784. end))
  1785. CreateSound("541909814", torsy, 10, 1)
  1786. CreateSound("131228548", hed, 10, 1)
  1787. for i = 0, 2.2, 0.1 do
  1788. swait()
  1789. 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)
  1790. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(35)), 0.3)
  1791. if Mrandom(1,15) == 1 then
  1792. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1793. end
  1794. 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)
  1795. 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)
  1796. 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)
  1797. 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)
  1798. end
  1799. attack = false
  1800. hum.WalkSpeed = 8
  1801. end
  1802.  
  1803. function The_End_offfff()
  1804. attack = true
  1805. hum.WalkSpeed = 0
  1806. Music:Stop()
  1807. for _, v in pairs(Doll:GetChildren()) do
  1808. if v:IsA'BasePart' then
  1809. v:Remove()
  1810. end
  1811. end
  1812. for _, v in pairs(Needle:GetChildren()) do
  1813. if v:IsA'BasePart' then
  1814. v:Remove()
  1815. end
  1816. end
  1817. for i = 0,6,0.1 do
  1818. swait()
  1819. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1820. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1821. 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)
  1822. 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)
  1823. 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)
  1824. 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)
  1825. end
  1826. CreateSound("1093102664", hed, 10, 1)
  1827. for i = 0,4,0.1 do
  1828. swait()
  1829. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  1830. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(-90)), 0.4)
  1831. 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)
  1832. 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)
  1833. 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)
  1834. 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)
  1835. end
  1836. for i = 0,6,0.1 do
  1837. swait()
  1838. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -3 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1839. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.4)
  1840. 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)
  1841. 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)
  1842. 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)
  1843. 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)
  1844. end
  1845. wait(2)
  1846. dmg(char)
  1847. end
  1848.  
  1849. -------------------------------------------------------
  1850. --End Attacks N Stuff--
  1851. -------------------------------------------------------
  1852. mouse.Button1Down:connect(function()
  1853. if attack == false and targetted ~= nil then
  1854. Stab_Them_For_FUN()
  1855. end
  1856. end)
  1857.  
  1858.  
  1859. mouse.KeyDown:connect(function(key)
  1860. if attack == false then
  1861. if key == 'q' then
  1862. LockOn()
  1863. elseif key == 'f' then
  1864. chatfunc("Come on now child everythings okay...")
  1865. elseif key == 'e' and targetted ~= nil then
  1866. Oh_No_AN_ERROR_Has_OcccccccurrEEEED()
  1867. elseif key == 'x' and targetted ~= nil then
  1868. Get_Over_Here_And_PERISH()
  1869. elseif key == 'r' and targetted ~= nil then
  1870. CreateSound("289556450", hed, .4, math.random(5, 15) / 5)
  1871. root.CFrame = targetted.Head.CFrame * CFrame.new(0, 0, 6)
  1872. elseif key == 'p' then
  1873. The_End_offfff()
  1874. end
  1875. end
  1876. end)
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883. -------------------------------------------------------
  1884. --Start Animations--
  1885. -------------------------------------------------------
  1886. local equipped = false
  1887. hum.WalkSpeed = 8
  1888. hed.face.Texture = "rbxassetid://1471407701"
  1889. local idle = 0
  1890. local change = 1
  1891. local val = 0
  1892. local toim = 0
  1893. local idleanim = 0.4
  1894. hum.Animator.Parent = nil
  1895. while true do
  1896. swait()
  1897. game.Lighting.TimeOfDay = "00:00:00"
  1898. --game.Lighting.FogEnd = 50
  1899. --game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  1900. Music.Parent = tors
  1901.  
  1902. imgl.Rotation = imgl.Rotation + 3
  1903. img2.Rotation = img2.Rotation + 3
  1904. if targetted ~= nil then
  1905. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1906. abss.Enabled = true
  1907. elseif targetted == nil then
  1908. abss.Adornee = nil
  1909. abss.Enabled = false
  1910. end
  1911.  
  1912. while true and imgl.Rotation >= 360 do
  1913. imgl.Rotation = 0
  1914. img2.Rotation = 0
  1915. end
  1916.  
  1917. sine = sine + change
  1918. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1919. local velderp = root.Velocity.y
  1920. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1921. if equipped == true or equipped == false then
  1922. if attack == false then
  1923. idle = idle + 1
  1924. else
  1925. idle = 0
  1926. end
  1927. if 1 < root.Velocity.y and hitfloor == nil then
  1928. Anim = "Jump"
  1929. if attack == false then
  1930. 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)
  1931. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  1932. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1933. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1934. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1935. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1936. end
  1937. elseif -1 > root.Velocity.y and hitfloor == nil then
  1938. Anim = "Fall"
  1939. if attack == false then
  1940. 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)
  1941. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  1942. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1943. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1944. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1945. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1946. end
  1947. elseif torvel < 1 and hitfloor ~= nil then
  1948. Anim = "Idle"
  1949. change = .6
  1950. if attack == false then
  1951. 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)
  1952. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1953. if Mrandom(1,15) == 1 then
  1954. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1955. end
  1956. 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)
  1957. 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)
  1958. 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)
  1959. 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)
  1960. HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  1961. end
  1962. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  1963. Anim = "Walk"
  1964. change = .4
  1965. if attack == false then
  1966. 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)
  1967. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(30 * Cos(sine / 20)), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1968. 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)
  1969. 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)
  1970. 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)
  1971. 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)
  1972. HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  1973. end
  1974. end
  1975. end
  1976. if 0 < #Effects then
  1977. for e = 1, #Effects do
  1978. if Effects[e] ~= nil then
  1979. local Thing = Effects[e]
  1980. if Thing ~= nil then
  1981. local Part = Thing[1]
  1982. local Mode = Thing[2]
  1983. local Delay = Thing[3]
  1984. local IncX = Thing[4]
  1985. local IncY = Thing[5]
  1986. local IncZ = Thing[6]
  1987. if 1 >= Thing[1].Transparency then
  1988. if Thing[2] == "Block1" then
  1989. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1990. local Mesh = Thing[1].Mesh
  1991. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1992. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1993. elseif Thing[2] == "Block2" then
  1994. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1995. local Mesh = Thing[7]
  1996. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1997. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1998. elseif Thing[2] == "Block3" then
  1999. 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)
  2000. local Mesh = Thing[7]
  2001. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2002. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2003. elseif Thing[2] == "Cylinder" then
  2004. local Mesh = Thing[1].Mesh
  2005. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2006. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2007. elseif Thing[2] == "Blood" then
  2008. local Mesh = Thing[7]
  2009. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2010. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2011. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2012. elseif Thing[2] == "Elec" then
  2013. local Mesh = Thing[1].Mesh
  2014. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2015. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2016. elseif Thing[2] == "Disappear" then
  2017. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2018. elseif Thing[2] == "Shatter" then
  2019. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2020. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2021. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2022. Thing[6] = Thing[6] + Thing[5]
  2023. end
  2024. else
  2025. Part.Parent = nil
  2026. table.remove(Effects, e)
  2027. end
  2028. end
  2029. end
  2030. end
  2031. end
  2032. end
  2033. -------------------------------------------------------
  2034. --End Animations And Script--
  2035. -------------------------------------------------------
  2036. end)
  2037. end))
  2038. TextButton6.Parent = ScreenGui0
  2039. TextButton6.Position = UDim2.new(0.0381679386, 0, 0.330891341, 0)
  2040. TextButton6.Size = UDim2.new(0, 257, 0, 33)
  2041. TextButton6.BackgroundColor = BrickColor.new("Persimmon")
  2042. TextButton6.BackgroundColor3 = Color3.new(1, 0.45098, 0.458824)
  2043. TextButton6.BorderSizePixel = 0
  2044. TextButton6.Font = Enum.Font.ArialBold
  2045. TextButton6.FontSize = Enum.FontSize.Size14
  2046. TextButton6.Text = "Deadly laser sun"
  2047. TextButton6.TextColor = BrickColor.new("Really red")
  2048. TextButton6.TextColor3 = Color3.new(1, 0, 0.0156863)
  2049. TextButton6.TextScaled = true
  2050. TextButton6.TextSize = 14
  2051. TextButton6.TextStrokeTransparency = 0
  2052. TextButton6.TextWrap = true
  2053. TextButton6.TextWrapped = true
  2054. LocalScript7.Parent = TextButton6
  2055. table.insert(cors,sandbox(LocalScript7,function()
  2056. script.Parent.MouseButton1Click:connect(function()
  2057. script.Parent.Parent:Destroy()
  2058.  
  2059. --[[
  2060. SUN IS A DEADLY LASER SCRIPT
  2061. { NOT ANYMORE THERE'S A BLANKET! }
  2062. Created by Minty_Latios (ROBLOX)
  2063. MintyLatios (V3rmillion)
  2064. Minty Latios#1938
  2065.  
  2066.  
  2067. --]]
  2068. wait(1 / 60)
  2069. Effects = { }
  2070. local Player = game.Players.localPlayer
  2071. local Character = Player.Character
  2072. local Humanoid = Character.Humanoid
  2073. local Mouse = Player:GetMouse()
  2074. local LeftArm = Character["Left Arm"]
  2075. local RightArm = Character["Right Arm"]
  2076. local LeftLeg = Character["Left Leg"]
  2077. local RightLeg = Character["Right Leg"]
  2078. local Head = Character.Head
  2079. local Torso = Character.Torso
  2080. local Camera = game.Workspace.CurrentCamera
  2081. local RootPart = Character.HumanoidRootPart
  2082. local RootJoint = RootPart.RootJoint
  2083. local attack = false
  2084. local Anim = 'Idle'
  2085. local attacktype = 1
  2086. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2087. local velocity = RootPart.Velocity.y
  2088. local sine = 0
  2089. local change = 1
  2090. local Create = LoadLibrary("RbxUtility").Create
  2091.  
  2092. local m = Create("Model"){
  2093. Parent = Character,
  2094. Name = "WeaponModel",
  2095. }
  2096.  
  2097. Humanoid.Animator.Parent = nil
  2098. Character.Animate.Parent = nil
  2099.  
  2100. local newMotor = function(part0, part1, c0, c1)
  2101. local w = Create('Motor'){
  2102. Parent = part0,
  2103. Part0 = part0,
  2104. Part1 = part1,
  2105. C0 = c0,
  2106. C1 = c1,
  2107. }
  2108. return w
  2109. end
  2110.  
  2111. function clerp(a, b, t)
  2112. return a:lerp(b, t)
  2113. end
  2114.  
  2115. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  2116. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2117.  
  2118. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  2119. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  2120. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  2121. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  2122. RootJoint.C1 = CFrame.new(0, 0, 0)
  2123. RootJoint.C0 = CFrame.new(0, 0, 0)
  2124. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  2125. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  2126.  
  2127. local rarmc1 = RW.C1
  2128. local larmc1 = LW.C1
  2129. local rlegc1 = RH.C1
  2130. local llegc1 = LH.C1
  2131.  
  2132. local resetc1 = false
  2133.  
  2134. function PlayAnimationFromTable(table, speed, bool)
  2135. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  2136. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  2137. RW.C0 = clerp(RW.C0, table[3], speed)
  2138. LW.C0 = clerp(LW.C0, table[4], speed)
  2139. RH.C0 = clerp(RH.C0, table[5], speed)
  2140. LH.C0 = clerp(LH.C0, table[6], speed)
  2141. if bool == true then
  2142. if resetc1 == false then
  2143. resetc1 = true
  2144. RootJoint.C1 = RootJoint.C1
  2145. Torso.Neck.C1 = Torso.Neck.C1
  2146. RW.C1 = rarmc1
  2147. LW.C1 = larmc1
  2148. RH.C1 = rlegc1
  2149. LH.C1 = llegc1
  2150. end
  2151. end
  2152. end
  2153.  
  2154. ArtificialHB = Create("BindableEvent", script){
  2155. Parent = script,
  2156. Name = "Heartbeat",
  2157. }
  2158.  
  2159. script:WaitForChild("Heartbeat")
  2160.  
  2161. frame = 1 / 30
  2162. tf = 0
  2163. allowframeloss = false
  2164. tossremainder = false
  2165. lastframe = tick()
  2166. script.Heartbeat:Fire()
  2167.  
  2168. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2169. tf = tf + s
  2170. if tf >= frame then
  2171. if allowframeloss then
  2172. script.Heartbeat:Fire()
  2173. lastframe = tick()
  2174. else
  2175. for i = 1, math.floor(tf / frame) do
  2176. script.Heartbeat:Fire()
  2177. end
  2178. lastframe = tick()
  2179. end
  2180. if tossremainder then
  2181. tf = 0
  2182. else
  2183. tf = tf - frame * math.floor(tf / frame)
  2184. end
  2185. end
  2186. end)
  2187.  
  2188. function swait(num)
  2189. if num == 0 or num == nil then
  2190. ArtificialHB.Event:wait()
  2191. else
  2192. for i = 0, num do
  2193. ArtificialHB.Event:wait()
  2194. end
  2195. end
  2196. end
  2197.  
  2198. function RemoveOutlines(part)
  2199. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2200. end
  2201.  
  2202. CFuncs = {
  2203. ["Part"] = {
  2204. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2205. local Part = Create("Part"){
  2206. Parent = Parent,
  2207. Reflectance = Reflectance,
  2208. Transparency = Transparency,
  2209. CanCollide = false,
  2210. Locked = true,
  2211. BrickColor = BrickColor.new(tostring(BColor)),
  2212. Name = Name,
  2213. Size = Size,
  2214. Material = Material,
  2215. }
  2216. RemoveOutlines(Part)
  2217. return Part
  2218. end;
  2219. };
  2220.  
  2221. ["Mesh"] = {
  2222. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2223. local Msh = Create(Mesh){
  2224. Parent = Part,
  2225. Offset = OffSet,
  2226. Scale = Scale,
  2227. }
  2228. if Mesh == "SpecialMesh" then
  2229. Msh.MeshType = MeshType
  2230. Msh.MeshId = MeshId
  2231. end
  2232. return Msh
  2233. end;
  2234. };
  2235.  
  2236. ["Mesh"] = {
  2237. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2238. local Msh = Create(Mesh){
  2239. Parent = Part,
  2240. Offset = OffSet,
  2241. Scale = Scale,
  2242. }
  2243. if Mesh == "SpecialMesh" then
  2244. Msh.MeshType = MeshType
  2245. Msh.MeshId = MeshId
  2246. end
  2247. return Msh
  2248. end;
  2249. };
  2250.  
  2251. ["Weld"] = {
  2252. Create = function(Parent, Part0, Part1, C0, C1)
  2253. local Weld = Create("Weld"){
  2254. Parent = Parent,
  2255. Part0 = Part0,
  2256. Part1 = Part1,
  2257. C0 = C0,
  2258. C1 = C1,
  2259. }
  2260. return Weld
  2261. end;
  2262. };
  2263.  
  2264. ["Sound"] = {
  2265. Create = function(id, par, vol, pit)
  2266. coroutine.resume(coroutine.create(function()
  2267. local S = Create("Sound"){
  2268. Volume = vol,
  2269. Pitch = pit or 1,
  2270. SoundId = id,
  2271. Parent = par or workspace,
  2272. }
  2273. wait()
  2274. S:play()
  2275. game:GetService("Debris"):AddItem(S, 6)
  2276. end))
  2277. end;
  2278. };
  2279.  
  2280. ["ParticleEmitter"] = {
  2281. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2282. local fp = Create("ParticleEmitter"){
  2283. Parent = Parent,
  2284. Color = ColorSequence.new(Color1, Color2),
  2285. LightEmission = LightEmission,
  2286. Size = Size,
  2287. Texture = Texture,
  2288. Transparency = Transparency,
  2289. ZOffset = ZOffset,
  2290. Acceleration = Accel,
  2291. Drag = Drag,
  2292. LockedToPart = LockedToPart,
  2293. VelocityInheritance = VelocityInheritance,
  2294. EmissionDirection = EmissionDirection,
  2295. Enabled = Enabled,
  2296. Lifetime = LifeTime,
  2297. Rate = Rate,
  2298. Rotation = Rotation,
  2299. RotSpeed = RotSpeed,
  2300. Speed = Speed,
  2301. VelocitySpread = VelocitySpread,
  2302. }
  2303. return fp
  2304. end;
  2305. };
  2306.  
  2307. CreateTemplate = {
  2308.  
  2309. };
  2310. }
  2311.  
  2312. function rayCast(Position, Direction, Range, Ignore)
  2313. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2314. end
  2315.  
  2316. FindNearestTorso = function(pos)
  2317. local list = (game.Workspace:children())
  2318. local torso = nil
  2319. local dist = 1000
  2320. local temp, human, temp2 = nil, nil, nil
  2321. for x = 1, #list do
  2322. temp2 = list[x]
  2323. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  2324. temp = temp2:findFirstChild("Torso")
  2325. human = temp2:findFirstChild("Humanoid")
  2326. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  2327. local dohit = true
  2328. if dohit == true then
  2329. torso = temp
  2330. dist = (temp.Position - pos).magnitude
  2331. end
  2332. end
  2333. end
  2334. end
  2335. return torso, dist
  2336. end
  2337.  
  2338. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2339. if hit.Parent == nil then
  2340. return
  2341. end
  2342. local h = hit.Parent:FindFirstChild("Humanoid")
  2343. for _, v in pairs(hit.Parent:children()) do
  2344. if v:IsA("Humanoid") then
  2345. h = v
  2346. end
  2347. end
  2348. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2349. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2350. if hit.Parent.DebounceHit.Value == true then
  2351. return
  2352. end
  2353. end
  2354. local c = Create("ObjectValue"){
  2355. Name = "creator",
  2356. Value = game:service("Players").LocalPlayer,
  2357. Parent = h,
  2358. }
  2359. game:GetService("Debris"):AddItem(c, .5)
  2360. if HitSound ~= nil and HitPitch ~= nil then
  2361. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2362. end
  2363. local Damage = math.random(minim, maxim)
  2364. local blocked = false
  2365. local block = hit.Parent:findFirstChild("Block")
  2366. if block ~= nil then
  2367. if block.className == "IntValue" then
  2368. if block.Value > 0 then
  2369. blocked = true
  2370. block.Value = block.Value - 1
  2371. print(block.Value)
  2372. end
  2373. end
  2374. end
  2375. if blocked == false then
  2376. h.Health = h.Health - Damage
  2377. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  2378. else
  2379. h.Health = h.Health - (Damage / 2)
  2380. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  2381. end
  2382. if Type == "Knockdown" then
  2383. local hum = hit.Parent.Humanoid
  2384. hum.PlatformStand = true
  2385. coroutine.resume(coroutine.create(function(HHumanoid)
  2386. swait(1)
  2387. HHumanoid.PlatformStand = false
  2388. end), hum)
  2389. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  2390. local bodvol = Create("BodyVelocity"){
  2391. velocity = angle * knockback,
  2392. P = 5000,
  2393. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2394. Parent = hit,
  2395. }
  2396. local rl = Create("BodyAngularVelocity"){
  2397. P = 3000,
  2398. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2399. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2400. Parent = hit,
  2401. }
  2402. game:GetService("Debris"):AddItem(bodvol, .5)
  2403. game:GetService("Debris"):AddItem(rl, .5)
  2404. elseif Type == "Normal" then
  2405. local vp = Create("BodyVelocity"){
  2406. P = 500,
  2407. maxForce = Vector3.new(math.huge, 0, math.huge),
  2408. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2409. }
  2410. if knockback > 0 then
  2411. vp.Parent = hit.Parent.Torso
  2412. end
  2413. game:GetService("Debris"):AddItem(vp, .5)
  2414. elseif Type == "Up" then
  2415. local bodyVelocity = Create("BodyVelocity"){
  2416. velocity = Vector3.new(0, 20, 0),
  2417. P = 5000,
  2418. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2419. Parent = hit,
  2420. }
  2421. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2422. elseif Type == "DarkUp" then
  2423. coroutine.resume(coroutine.create(function()
  2424. for i = 0, 1, 0.1 do
  2425. swait()
  2426. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2427. end
  2428. end))
  2429. local bodyVelocity = Create("BodyVelocity"){
  2430. velocity = Vector3.new(0, 20, 0),
  2431. P = 5000,
  2432. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2433. Parent = hit,
  2434. }
  2435. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2436. elseif Type == "Snare" then
  2437. local bp = Create("BodyPosition"){
  2438. P = 2000,
  2439. D = 100,
  2440. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2441. position = hit.Parent.Torso.Position,
  2442. Parent = hit.Parent.Torso,
  2443. }
  2444. game:GetService("Debris"):AddItem(bp, 1)
  2445. elseif Type == "Freeze" then
  2446. local BodPos = Create("BodyPosition"){
  2447. P = 50000,
  2448. D = 1000,
  2449. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2450. position = hit.Parent.Torso.Position,
  2451. Parent = hit.Parent.Torso,
  2452. }
  2453. local BodGy = Create("BodyGyro") {
  2454. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2455. P = 20e+003,
  2456. Parent = hit.Parent.Torso,
  2457. cframe = hit.Parent.Torso.CFrame,
  2458. }
  2459. hit.Parent.Torso.Anchored = true
  2460. coroutine.resume(coroutine.create(function(Part)
  2461. swait(1.5)
  2462. Part.Anchored = false
  2463. end), hit.Parent.Torso)
  2464. game:GetService("Debris"):AddItem(BodPos, 3)
  2465. game:GetService("Debris"):AddItem(BodGy, 3)
  2466. end
  2467. local debounce = Create("BoolValue"){
  2468. Name = "DebounceHit",
  2469. Parent = hit.Parent,
  2470. Value = true,
  2471. }
  2472. game:GetService("Debris"):AddItem(debounce, Delay)
  2473. c = Create("ObjectValue"){
  2474. Name = "creator",
  2475. Value = Player,
  2476. Parent = h,
  2477. }
  2478. game:GetService("Debris"):AddItem(c, .5)
  2479. end
  2480. end
  2481.  
  2482. function ShowDamage(Pos, Text, Time, Color)
  2483. local Rate = (1 / 30)
  2484. local Pos = (Pos or Vector3.new(0, 0, 0))
  2485. local Text = (Text or "")
  2486. local Time = (Time or 2)
  2487. local Color = (Color or Color3.new(1, 0, 1))
  2488. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2489. EffectPart.Anchored = true
  2490. local BillboardGui = Create("BillboardGui"){
  2491. Size = UDim2.new(3, 0, 3, 0),
  2492. Adornee = EffectPart,
  2493. Parent = EffectPart,
  2494. }
  2495. local TextLabel = Create("TextLabel"){
  2496. BackgroundTransparency = 1,
  2497. Size = UDim2.new(1, 0, 1, 0),
  2498. Text = Text,
  2499. Font = "SciFi",
  2500. TextColor3 = Color,
  2501. TextScaled = true,
  2502. Parent = BillboardGui,
  2503. }
  2504. game.Debris:AddItem(EffectPart, (Time))
  2505. EffectPart.Parent = game:GetService("Workspace")
  2506. delay(0, function()
  2507. local Frames = (Time / Rate)
  2508. for Frame = 1, Frames do
  2509. wait(Rate)
  2510. local Percent = (Frame / Frames)
  2511. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2512. TextLabel.TextTransparency = Percent
  2513. end
  2514. if EffectPart and EffectPart.Parent then
  2515. EffectPart:Destroy()
  2516. end
  2517. end)
  2518. end
  2519.  
  2520. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  2521. for _, c in pairs(workspace:children()) do
  2522. local hum = c:findFirstChild("Humanoid")
  2523. if hum ~= nil then
  2524. local head = c:findFirstChild("Torso")
  2525. if head ~= nil then
  2526. local targ = head.Position - Part.Position
  2527. local mag = targ.magnitude
  2528. if mag <= Magnitude and c.Name ~= Player.Name then
  2529. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  2530. end
  2531. end
  2532. end
  2533. end
  2534. end
  2535.  
  2536. EffectModel = Create("Model"){
  2537. Parent = Character,
  2538. Name = "Effects",
  2539. }
  2540.  
  2541. Humanoid.WalkSpeed = 0
  2542. Humanoid.JumpPower = 0
  2543.  
  2544. CFuncs['Sound'].Create("rbxassetid://836740253",Character,10,1)
  2545. attack = true
  2546.  
  2547. New = function(Object, Parent, Name, Data)
  2548. local Object = Instance.new(Object)
  2549. for Index, Value in pairs(Data or {}) do
  2550. Object[Index] = Value
  2551. end
  2552. Object.Parent = Parent
  2553. Object.Name = Name
  2554. return Object
  2555. end
  2556.  
  2557. Deadly = New("Model",Torso,"Deadly",{})
  2558. Sun = New("Part",Deadly,"Sun",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(-128.325043, 6.92500401, -88.5550079, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 0),})
  2559. SunWeld = New("Weld",Sun,"Weld",{Part0 = Sun,Part1 = Torso,C0 = CFrame.new(0,10,-10)})
  2560. Mesh = New("SpecialMesh",Sun,"Mesh",{Scale = Vector3.new(25, 25, 25),MeshType = Enum.MeshType.Sphere,})
  2561.  
  2562.  
  2563. wait(2.4)
  2564. for i = 0, 5, .1 do
  2565. swait()
  2566. PlayAnimationFromTable({
  2567. CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2568. CFrame.new(7.62939453e-06, 1.49997127, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2569. CFrame.new(1.49998116, 1.30000138, -0, -0.925471961, -0.378816098, -0, 0.378816068, -0.925472021, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2570. CFrame.new(-1.49998665, -7.67409801e-07, 0, 0.996534884, 0.083175458, -0, -0.0831753537, 0.996536195, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2571. CFrame.new(0.500002444, -1.99997056, 0, 0.997888863, -0.0649460033, -0, 0.0649460033, 0.997888863, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2572. CFrame.new(-0.499981999, -1.99997056, 0, 0.998180926, 0.0602900013, -0, -0.0602900013, 0.998180926, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2573. }, .1, false)
  2574. SunWeld.C0 = clerp(SunWeld.C0, CFrame.new(0,-15,-10), 0.1)
  2575. end
  2576. wait(0.5)
  2577. Humanoid.WalkSpeed = 19
  2578. Humanoid.JumpPower = 75
  2579. attack = false
  2580.  
  2581. Effects = {
  2582. Block = {
  2583. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2584. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2585. prt.Anchored = true
  2586. prt.CFrame = cframe
  2587. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2588. game:GetService("Debris"):AddItem(prt, 10)
  2589. if Type == 1 or Type == nil then
  2590. table.insert(Effects, {
  2591. prt,
  2592. "Block1",
  2593. delay,
  2594. x3,
  2595. y3,
  2596. z3,
  2597. msh
  2598. })
  2599. elseif Type == 2 then
  2600. table.insert(Effects, {
  2601. prt,
  2602. "Block2",
  2603. delay,
  2604. x3,
  2605. y3,
  2606. z3,
  2607. msh
  2608. })
  2609. end
  2610. end;
  2611. };
  2612.  
  2613. Cylinder = {
  2614. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2615. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2616. prt.Anchored = true
  2617. prt.CFrame = cframe
  2618. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2619. game:GetService("Debris"):AddItem(prt, 10)
  2620. table.insert(Effects, {
  2621. prt,
  2622. "Cylinder",
  2623. delay,
  2624. x3,
  2625. y3,
  2626. z3,
  2627. msh
  2628. })
  2629. end;
  2630. };
  2631. Head = {
  2632. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2633. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2634. prt.Anchored = true
  2635. prt.CFrame = cframe
  2636. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2637. game:GetService("Debris"):AddItem(prt, 10)
  2638. table.insert(Effects, {
  2639. prt,
  2640. "Cylinder",
  2641. delay,
  2642. x3,
  2643. y3,
  2644. z3,
  2645. msh
  2646. })
  2647. end;
  2648. };
  2649.  
  2650. Sphere = {
  2651. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2652. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2653. prt.Anchored = true
  2654. prt.CFrame = cframe
  2655. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2656. game:GetService("Debris"):AddItem(prt, 10)
  2657. table.insert(Effects, {
  2658. prt,
  2659. "Cylinder",
  2660. delay,
  2661. x3,
  2662. y3,
  2663. z3,
  2664. msh
  2665. })
  2666. end;
  2667. };
  2668.  
  2669. Elect = {
  2670. Create = function(cff, x, y, z)
  2671. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  2672. prt.Anchored = true
  2673. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  2674. prt.CFrame = CFrame.new(prt.Position)
  2675. game:GetService("Debris"):AddItem(prt, 2)
  2676. local xval = math.random() / 2
  2677. local yval = math.random() / 2
  2678. local zval = math.random() / 2
  2679. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  2680. table.insert(Effects, {
  2681. prt,
  2682. "Elec",
  2683. 0.1,
  2684. x,
  2685. y,
  2686. z,
  2687. xval,
  2688. yval,
  2689. zval
  2690. })
  2691. end;
  2692.  
  2693. };
  2694.  
  2695. Ring = {
  2696. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2697. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2698. prt.Anchored = true
  2699. prt.CFrame = cframe
  2700. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2701. game:GetService("Debris"):AddItem(prt, 10)
  2702. table.insert(Effects, {
  2703. prt,
  2704. "Cylinder",
  2705. delay,
  2706. x3,
  2707. y3,
  2708. z3,
  2709. msh
  2710. })
  2711. end;
  2712. };
  2713.  
  2714.  
  2715. Wave = {
  2716. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2717. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2718. prt.Anchored = true
  2719. prt.CFrame = cframe
  2720. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2721. game:GetService("Debris"):AddItem(prt, 10)
  2722. table.insert(Effects, {
  2723. prt,
  2724. "Cylinder",
  2725. delay,
  2726. x3,
  2727. y3,
  2728. z3,
  2729. msh
  2730. })
  2731. end;
  2732. };
  2733.  
  2734. Break = {
  2735. Create = function(brickcolor, cframe, x1, y1, z1)
  2736. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2737. prt.Anchored = true
  2738. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2739. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2740. local num = math.random(10, 50) / 1000
  2741. game:GetService("Debris"):AddItem(prt, 10)
  2742. table.insert(Effects, {
  2743. prt,
  2744. "Shatter",
  2745. num,
  2746. prt.CFrame,
  2747. math.random() - math.random(),
  2748. 0,
  2749. math.random(50, 100) / 100
  2750. })
  2751. end;
  2752. };
  2753.  
  2754. Fire = {
  2755. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  2756. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2757. prt.Anchored = true
  2758. prt.CFrame = cframe
  2759. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2760. game:GetService("Debris"):AddItem(prt, 10)
  2761. table.insert(Effects, {
  2762. prt,
  2763. "Fire",
  2764. delay,
  2765. 1,
  2766. 1,
  2767. 1,
  2768. msh
  2769. })
  2770. end;
  2771. };
  2772.  
  2773. FireWave = {
  2774. Create = function(brickcolor, cframe, x1, y1, z1)
  2775. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  2776. prt.Anchored = true
  2777. prt.CFrame = cframe
  2778. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2779. local d = Create("Decal"){
  2780. Parent = prt,
  2781. Texture = "rbxassetid://26356434",
  2782. Face = "Top",
  2783. }
  2784. local d = Create("Decal"){
  2785. Parent = prt,
  2786. Texture = "rbxassetid://26356434",
  2787. Face = "Bottom",
  2788. }
  2789. game:GetService("Debris"):AddItem(prt, 10)
  2790. table.insert(Effects, {
  2791. prt,
  2792. "FireWave",
  2793. 1,
  2794. 30,
  2795. math.random(400, 600) / 100,
  2796. msh
  2797. })
  2798. end;
  2799. };
  2800.  
  2801. Lightning = {
  2802. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  2803. local magz = (p0 - p1).magnitude
  2804. local curpos = p0
  2805. local trz = {
  2806. -ofs,
  2807. ofs
  2808. }
  2809. for i = 1, tym do
  2810. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  2811. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2812. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  2813. li.Material = "Neon"
  2814. if tym == i then
  2815. local magz2 = (curpos - p1).magnitude
  2816. li.Size = Vector3.new(th, th, magz2)
  2817. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  2818. table.insert(Effects, {
  2819. li,
  2820. "Disappear",
  2821. last
  2822. })
  2823. else
  2824. do
  2825. do
  2826. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  2827. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  2828. game.Debris:AddItem(li, 10)
  2829. table.insert(Effects, {
  2830. li,
  2831. "Disappear",
  2832. last
  2833. })
  2834. end
  2835. end
  2836. end
  2837. end
  2838. end
  2839. };
  2840.  
  2841. EffectTemplate = {
  2842.  
  2843. };
  2844. }
  2845.  
  2846. function supernova()
  2847. attack = true
  2848. for i = 0, 1, 0.1 do
  2849. swait()
  2850. PlayAnimationFromTable({
  2851. CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2852. CFrame.new(7.62939453e-06, 1.49997127, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2853. CFrame.new(1.49998248, 1.03999865, 1.31132779e-07, -0.874934673, -0.48424086, -8.74230253e-08, 0.48424086, -0.874934673, 2.16521015e-13, -7.64895418e-08, -4.23336139e-08, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2854. CFrame.new(-1.45997405, 1.03999221, 0, -0.85547322, 0.5178473, -0, -0.517847538, -0.855473042, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2855. CFrame.new(0.500002444, -1.99997056, 0, 0.997888863, -0.0649460033, -0, 0.0649460033, 0.997888863, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2856. CFrame.new(-0.499981999, -1.99997056, 0, 0.998180926, 0.0602900013, -0, -0.0602900013, 0.998180926, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2857. }, .3, false)
  2858. end
  2859. wait(.5)
  2860. for i = 0, 5, .1 do
  2861. Mesh.Scale = Mesh.Scale + Vector3.new(2,2,2)
  2862. swait()
  2863. end
  2864. --
  2865. coroutine.wrap(function()
  2866. repeat swait()
  2867. Mesh.Scale = Mesh.Scale + Vector3.new(2,2,2)
  2868. until nil
  2869. end)()
  2870. --CFuncs['Sound'].Create("rbxassetid://265492506",Character,10,1)
  2871. local a = Instance.new("ColorCorrectionEffect",game:service'Lighting')
  2872. a.TintColor = Color3.new(1,1,1)
  2873. local b = Instance.new("BlurEffect",game:service'Lighting')
  2874. b.Size = 0
  2875.  
  2876. for i = 1,0,-.1 do
  2877. b.Size = b.Size + .5
  2878. a.TintColor = Color3.new(1,1,i)
  2879. wait()
  2880. end
  2881. wait(1)
  2882.  
  2883.  
  2884. for i = 1,0,-.1 do
  2885. a.TintColor = Color3.new(1,i,0)
  2886. b.Size = b.Size + 1
  2887. wait()
  2888. end
  2889.  
  2890. wait(1)
  2891.  
  2892. for i = 1,0,-.1 do
  2893. a.TintColor = Color3.new(i,0,0)
  2894. wait()
  2895. end
  2896. wait(1)
  2897.  
  2898. coroutine.wrap(function()
  2899. for i,v in next, workspace:children() do
  2900. if v:IsA"Model" or v:IsA"Part" then
  2901. if v:FindFirstChildOfClass"Humanoid"then
  2902. v:BreakJoints()
  2903. end
  2904. end
  2905. end
  2906. end)()
  2907. wait(1)
  2908.  
  2909. for i = 0,1,.1 do
  2910. a.TintColor = Color3.new(1,1,i)
  2911. b.Size = b.Size - 2
  2912. wait()
  2913. end
  2914.  
  2915. a:destroy()
  2916. game:service'Debris':AddItem(b,3)
  2917. end
  2918. function attackone()
  2919. CFuncs['Sound'].Create("rbxassetid://811841430",Character,10,1)
  2920. local a = Instance.new("Part",Character)
  2921. a.Name = "Lazer"
  2922. a.Anchored = true
  2923. a.CanCollide = false
  2924. a.BrickColor = BrickColor.new"New Yeller"
  2925. local ray = Ray.new(
  2926. Sun.CFrame.p, -- origin
  2927. (Mouse.Hit.p - Sun.CFrame.p).unit * 500 -- direction
  2928. )
  2929. local ignore = Character
  2930. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2931. if hit then
  2932. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2933.  
  2934. if not humanoid then
  2935. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2936. end
  2937. if humanoid then
  2938. if humanoid.Parent:IsA"Model" then
  2939. humanoid.Parent:BreakJoints()
  2940. end
  2941. end
  2942. end
  2943. a.BottomSurface = 10
  2944. a.TopSurface = 10
  2945. local distance = (Sun.CFrame.p - position).magnitude
  2946. a.Size = Vector3.new(1, 1, distance)
  2947. a.CFrame = CFrame.new(Sun.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  2948. game:GetService("Debris"):AddItem(a, 0.1)
  2949. end
  2950.  
  2951. Mouse.Button1Down:connect(function()
  2952. if attack == false and attacktype == 1 then
  2953. attackone()
  2954. end
  2955. end)
  2956.  
  2957.  
  2958. Mouse.KeyDown:connect(function(k)
  2959. if attack == false and k == 'v' then
  2960. supernova()
  2961. end
  2962. end)
  2963. while true do
  2964. swait()
  2965. for i, v in pairs(Character:GetChildren()) do
  2966. if v:IsA("Part") then
  2967. v.Material = "SmoothPlastic"
  2968. elseif v:IsA("Accessory") then
  2969. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2970. end
  2971. end
  2972. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2973. velocity = RootPart.Velocity.y
  2974. sine = sine + change
  2975. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2976. if RootPart.Velocity.y > 1 and hit == nil then
  2977. Anim = "Jump"
  2978. if attack == false then
  2979. PlayAnimationFromTable({
  2980. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2981. CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2982. CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2983. CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2984. CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2985. CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2986. }, .3, false)
  2987. end
  2988. elseif RootPart.Velocity.y < -1 and hit == nil then
  2989. Anim = "Fall"
  2990. if attack == false then
  2991. PlayAnimationFromTable({
  2992. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2993. CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2994. CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2995. CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2996. CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2997. CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2998. }, .3, false)
  2999. end
  3000. elseif Torsovelocity < 1 and hit ~= nil then
  3001. Anim = "Idle"
  3002. if attack == false then
  3003. change = 1
  3004. PlayAnimationFromTable({
  3005. CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3006. CFrame.new(7.62939453e-06, 1.49997127, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(math.sin(sine/22)/12,0,0),
  3007. CFrame.new(0.429973245, 0.490001738, -0.460011989, 0.0975494087, 0.994276762, -0.0435587466, 0.0559796244, -0.0491798446, -0.997221529, -0.993656218, 0.0948399603, -0.0604567304) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, math.sin(sine/16)/10, math.sin(sine/16)/10),
  3008. CFrame.new(-0.320005357, 0.480002224, -0.539992452, 0.357028693, -0.930425704, -0.0826981664, -0.130211353, 0.0380947962, -0.990754068, 0.924973309, 0.364495993, -0.107551016) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, -math.sin(sine/16)/10, -math.sin(sine/16)/10),
  3009. CFrame.new(0.500002444, -1.99997056, 0, 0.997888863, -0.0649460033, -0, 0.0649460033, 0.997888863, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3010. CFrame.new(-0.499981999, -1.99997056, 0, 0.998180926, 0.0602900013, -0, -0.0602900013, 0.998180926, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3011. }, .3, false)
  3012.  
  3013. end
  3014. elseif Torsovelocity > 2 and hit ~= nil then
  3015. Anim = "Walk"
  3016. if attack == false then
  3017. PlayAnimationFromTable({
  3018. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 3), 0) * CFrame.Angles(0, 0, 0),
  3019. CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3020. CFrame.new(0.429973245, 0.490001738, -0.460011989, 0.0975494087, 0.994276762, -0.0435587466, 0.0559796244, -0.0491798446, -0.997221529, -0.993656218, 0.0948399603, -0.0604567304) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, math.sin(sine/16)/10, math.sin(sine/16)/10),
  3021. CFrame.new(-0.320005357, 0.480002224, -0.539992452, 0.357028693, -0.930425704, -0.0826981664, -0.130211353, 0.0380947962, -0.990754068, 0.924973309, 0.364495993, -0.107551016) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, -math.sin(sine/16)/10, -math.sin(sine/16)/10),
  3022. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 6)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 6)), 0, 0),
  3023. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 6)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 6)), 0, 0),
  3024. }, .3, false)
  3025. end
  3026. end
  3027. if 0 < #Effects then
  3028. for e = 1, #Effects do
  3029. if Effects[e] ~= nil then
  3030. local Thing = Effects[e]
  3031. if Thing ~= nil then
  3032. local Part = Thing[1]
  3033. local Mode = Thing[2]
  3034. local Delay = Thing[3]
  3035. local IncX = Thing[4]
  3036. local IncY = Thing[5]
  3037. local IncZ = Thing[6]
  3038. if Thing[2] == "Shoot" then
  3039. local Look = Thing[1]
  3040. local move = 30
  3041. if Thing[8] == 3 then
  3042. move = 10
  3043. end
  3044. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  3045. if Thing[10] ~= nil then
  3046. da = pos
  3047. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  3048. cfa = CFrame.new(Thing[4], pos)
  3049. tehCF = cfa:lerp(cf2, 0.2)
  3050. Thing[1] = tehCF.lookVector
  3051. end
  3052. local mag = (Thing[4] - pos).magnitude
  3053. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  3054. if Thing[8] == 2 then
  3055. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  3056. end
  3057. Thing[4] = Thing[4] + Look * move
  3058. Thing[3] = Thing[3] - 1
  3059. if 2 < Thing[5] then
  3060. Thing[5] = Thing[5] - 0.3
  3061. Thing[6] = Thing[6] - 0.3
  3062. end
  3063. if hit ~= nil then
  3064. Thing[3] = 0
  3065. if Thing[8] == 1 or Thing[8] == 3 then
  3066. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  3067. else
  3068. if Thing[8] == 2 then
  3069. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  3070. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  3071. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  3072. ref.Anchored = true
  3073. ref.CFrame = CFrame.new(pos)
  3074. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  3075. game:GetService("Debris"):AddItem(ref, 0.2)
  3076. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  3077. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  3078. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  3079. end
  3080. end
  3081. end
  3082. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  3083. ref.Anchored = true
  3084. ref.CFrame = CFrame.new(pos)
  3085. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  3086. game:GetService("Debris"):AddItem(ref, 1)
  3087. end
  3088. if Thing[3] <= 0 then
  3089. table.remove(Effects, e)
  3090. end
  3091. end
  3092. do
  3093. do
  3094. if Thing[2] == "FireWave" then
  3095. if Thing[3] <= Thing[4] then
  3096. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  3097. Thing[3] = Thing[3] + 1
  3098. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  3099. else
  3100. Part.Parent = nil
  3101. table.remove(Effects, e)
  3102. end
  3103. end
  3104. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  3105. if Thing[1].Transparency <= 1 then
  3106. if Thing[2] == "Block1" then
  3107. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3108. Mesh = Thing[7]
  3109. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3110. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3111. else
  3112. if Thing[2] == "Block2" then
  3113. Thing[1].CFrame = Thing[1].CFrame
  3114. Mesh = Thing[7]
  3115. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3116. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3117. else
  3118. if Thing[2] == "Fire" then
  3119. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  3120. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3121. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3122. else
  3123. if Thing[2] == "Cylinder" then
  3124. Mesh = Thing[7]
  3125. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3126. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3127. else
  3128. if Thing[2] == "Blood" then
  3129. Mesh = Thing[7]
  3130. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  3131. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3132. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3133. else
  3134. if Thing[2] == "Elec" then
  3135. Mesh = Thing[10]
  3136. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3137. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3138. else
  3139. if Thing[2] == "Disappear" then
  3140. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3141. else
  3142. if Thing[2] == "Shatter" then
  3143. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3144. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3145. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3146. Thing[6] = Thing[6] + Thing[5]
  3147. end
  3148. end
  3149. end
  3150. end
  3151. end
  3152. end
  3153. end
  3154. end
  3155. else
  3156. Part.Parent = nil
  3157. table.remove(Effects, e)
  3158. end
  3159. end
  3160. end
  3161. end
  3162. end
  3163. end
  3164. end
  3165. end
  3166. end
  3167.  
  3168. end)
  3169. end))
  3170.  
  3171. TextButton8.Parent = ScreenGui0
  3172. TextButton8.Position = UDim2.new(0.0381679386, 0, 0.395604402, 0)
  3173. TextButton8.Size = UDim2.new(0, 257, 0, 33)
  3174. TextButton8.BackgroundColor = BrickColor.new("Persimmon")
  3175. TextButton8.BackgroundColor3 = Color3.new(1, 0.45098, 0.458824)
  3176. TextButton8.BorderSizePixel = 0
  3177. TextButton8.Font = Enum.Font.ArialBold
  3178. TextButton8.FontSize = Enum.FontSize.Size14
  3179. TextButton8.Text = "Noobicider"
  3180. TextButton8.TextColor = BrickColor.new("Really red")
  3181. TextButton8.TextColor3 = Color3.new(1, 0, 0.0156863)
  3182. TextButton8.TextScaled = true
  3183. TextButton8.TextSize = 14
  3184. TextButton8.TextStrokeTransparency = 0
  3185. TextButton8.TextWrap = true
  3186. TextButton8.TextWrapped = true
  3187. LocalScript9.Parent = TextButton8
  3188. table.insert(cors,sandbox(LocalScript9,function()
  3189. script.Parent.MouseButton1Click:connect(function()
  3190. script.Parent.Parent:Destroy()
  3191.  
  3192.  
  3193. wait(1 / 60)
  3194. Effects = { }
  3195. local Player = game.Players.localPlayer
  3196. local Character = Player.Character
  3197. local Humanoid = Character.Humanoid
  3198. local Mouse = Player:GetMouse()
  3199. local LeftArm = Character["Left Arm"]
  3200. local RightArm = Character["Right Arm"]
  3201. local LeftLeg = Character["Left Leg"]
  3202. local RightLeg = Character["Right Leg"]
  3203. local Head = Character.Head
  3204. local Torso = Character.Torso
  3205. local Camera = game.Workspace.CurrentCamera
  3206. local RootPart = Character.HumanoidRootPart
  3207. local RootJoint = RootPart.RootJoint
  3208. local attack = false
  3209. local Anim = 'Idle'
  3210. local attacktype = 1
  3211. local delays = false
  3212. local play = true
  3213. local targetted = nil
  3214. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3215. local velocity = RootPart.Velocity.y
  3216. local sine = 0
  3217. local change = 1
  3218. local doe = 0
  3219. local Create = LoadLibrary("RbxUtility").Create
  3220. Humanoid.WalkSpeed = 8
  3221. local m = Create("Model"){
  3222. Parent = Character,
  3223. Name = "WeaponModel",
  3224. }
  3225. local Orin = "rbxassetid://459924806"
  3226. Head.face.Texture = Orin
  3227. spawn(function()
  3228. while wait() do
  3229. Head.BrickColor = BrickColor.new("Bright yellow")
  3230. RightArm.BrickColor = BrickColor.new("Bright yellow")
  3231. LeftArm.BrickColor = BrickColor.new("Bright yellow")
  3232. Torso.BrickColor = BrickColor.new("Bright blue")
  3233. RightLeg.BrickColor = BrickColor.new("Br. yellowish green")
  3234. LeftLeg.BrickColor = BrickColor.new("Br. yellowish green")
  3235. end
  3236. end)
  3237. for i,v in pairs(Character:children()) do
  3238. if v:IsA("Hat") then
  3239. v:Destroy()
  3240. end
  3241. end
  3242. for i,v in pairs(Character:children()) do
  3243. if v:IsA("Accessory") then
  3244. v:Destroy()
  3245. end
  3246. end
  3247. for i,v in pairs(Character:children()) do
  3248. if v:IsA("Hair") then
  3249. v:Destroy()
  3250. end
  3251. end
  3252. for i,v in pairs(Character:children()) do
  3253. if v:IsA("Shirt") then
  3254. v:Destroy()
  3255. end
  3256. end
  3257. for i,v in pairs(Character:children()) do
  3258. if v:IsA("Pants") then
  3259. v:Destroy()
  3260. end
  3261. end
  3262. for i,v in pairs(Character:children()) do
  3263. if v:IsA("Graphic Shirt") then
  3264. v:Destroy()
  3265. end
  3266. end
  3267. Humanoid.Animator.Parent = nil
  3268. Character.Animate.Parent = nil
  3269.  
  3270. local newMotor = function(part0, part1, c0, c1)
  3271. local w = Create('Motor'){
  3272. Parent = part0,
  3273. Part0 = part0,
  3274. Part1 = part1,
  3275. C0 = c0,
  3276. C1 = c1,
  3277. }
  3278. return w
  3279. end
  3280.  
  3281. function clerp(a, b, t)
  3282. return a:lerp(b, t)
  3283. end
  3284.  
  3285. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  3286. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3287.  
  3288. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  3289. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  3290. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  3291. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  3292. RootJoint.C1 = CFrame.new(0, 0, 0)
  3293. RootJoint.C0 = CFrame.new(0, 0, 0)
  3294. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  3295. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  3296.  
  3297. local rarmc1 = RW.C1
  3298. local larmc1 = LW.C1
  3299. local rlegc1 = RH.C1
  3300. local llegc1 = LH.C1
  3301.  
  3302. local resetc1 = false
  3303.  
  3304. function PlayAnimationFromTable(table, speed, bool)
  3305. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  3306. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  3307. RW.C0 = clerp(RW.C0, table[3], speed)
  3308. LW.C0 = clerp(LW.C0, table[4], speed)
  3309. RH.C0 = clerp(RH.C0, table[5], speed)
  3310. LH.C0 = clerp(LH.C0, table[6], speed)
  3311. if bool == true then
  3312. if resetc1 == false then
  3313. resetc1 = true
  3314. RootJoint.C1 = RootJoint.C1
  3315. Torso.Neck.C1 = Torso.Neck.C1
  3316. RW.C1 = rarmc1
  3317. LW.C1 = larmc1
  3318. RH.C1 = rlegc1
  3319. LH.C1 = llegc1
  3320. end
  3321. end
  3322. end
  3323.  
  3324. ArtificialHB = Create("BindableEvent", script){
  3325. Parent = script,
  3326. Name = "Heartbeat",
  3327. }
  3328.  
  3329. script:WaitForChild("Heartbeat")
  3330.  
  3331. frame = 1 / 30
  3332. tf = 0
  3333. allowframeloss = false
  3334. tossremainder = false
  3335. lastframe = tick()
  3336. script.Heartbeat:Fire()
  3337.  
  3338. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3339. tf = tf + s
  3340. if tf >= frame then
  3341. if allowframeloss then
  3342. script.Heartbeat:Fire()
  3343. lastframe = tick()
  3344. else
  3345. for i = 1, math.floor(tf / frame) do
  3346. script.Heartbeat:Fire()
  3347. end
  3348. lastframe = tick()
  3349. end
  3350. if tossremainder then
  3351. tf = 0
  3352. else
  3353. tf = tf - frame * math.floor(tf / frame)
  3354. end
  3355. end
  3356. end)
  3357.  
  3358. function swait(num)
  3359. if num == 0 or num == nil then
  3360. ArtificialHB.Event:wait()
  3361. else
  3362. for i = 0, num do
  3363. ArtificialHB.Event:wait()
  3364. end
  3365. end
  3366. end
  3367.  
  3368. function RemoveOutlines(part)
  3369. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  3370. end
  3371.  
  3372. CFuncs = {
  3373. ["Part"] = {
  3374. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3375. local Part = Create("Part"){
  3376. Parent = Parent,
  3377. Reflectance = Reflectance,
  3378. Transparency = Transparency,
  3379. CanCollide = false,
  3380. Locked = true,
  3381. BrickColor = BrickColor.new(tostring(BColor)),
  3382. Name = Name,
  3383. Size = Size,
  3384. Material = Material,
  3385. }
  3386. RemoveOutlines(Part)
  3387. return Part
  3388. end;
  3389. };
  3390.  
  3391. ["Mesh"] = {
  3392. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3393. local Msh = Create(Mesh){
  3394. Parent = Part,
  3395. Offset = OffSet,
  3396. Scale = Scale,
  3397. }
  3398. if Mesh == "SpecialMesh" then
  3399. Msh.MeshType = MeshType
  3400. Msh.MeshId = MeshId
  3401. end
  3402. return Msh
  3403. end;
  3404. };
  3405.  
  3406. ["Mesh"] = {
  3407. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3408. local Msh = Create(Mesh){
  3409. Parent = Part,
  3410. Offset = OffSet,
  3411. Scale = Scale,
  3412. }
  3413. if Mesh == "SpecialMesh" then
  3414. Msh.MeshType = MeshType
  3415. Msh.MeshId = MeshId
  3416. end
  3417. return Msh
  3418. end;
  3419. };
  3420.  
  3421. ["Weld"] = {
  3422. Create = function(Parent, Part0, Part1, C0, C1)
  3423. local Weld = Create("Weld"){
  3424. Parent = Parent,
  3425. Part0 = Part0,
  3426. Part1 = Part1,
  3427. C0 = C0,
  3428. C1 = C1,
  3429. }
  3430. return Weld
  3431. end;
  3432. };
  3433.  
  3434. ["Sound"] = {
  3435. Create = function(id, par, vol, pit)
  3436. coroutine.resume(coroutine.create(function()
  3437. local S = Create("Sound"){
  3438. Volume = vol,
  3439. Pitch = pit or 1,
  3440. SoundId = id,
  3441. Parent = par or workspace,
  3442. }
  3443. wait()
  3444. S:play()
  3445. game:GetService("Debris"):AddItem(S, 6)
  3446. end))
  3447. end;
  3448. };
  3449.  
  3450. ["ParticleEmitter"] = {
  3451. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  3452. local fp = Create("ParticleEmitter"){
  3453. Parent = Parent,
  3454. Color = ColorSequence.new(Color1, Color2),
  3455. LightEmission = LightEmission,
  3456. Size = Size,
  3457. Texture = Texture,
  3458. Transparency = Transparency,
  3459. ZOffset = ZOffset,
  3460. Acceleration = Accel,
  3461. Drag = Drag,
  3462. LockedToPart = LockedToPart,
  3463. VelocityInheritance = VelocityInheritance,
  3464. EmissionDirection = EmissionDirection,
  3465. Enabled = Enabled,
  3466. Lifetime = LifeTime,
  3467. Rate = Rate,
  3468. Rotation = Rotation,
  3469. RotSpeed = RotSpeed,
  3470. Speed = Speed,
  3471. VelocitySpread = VelocitySpread,
  3472. }
  3473. return fp
  3474. end;
  3475. };
  3476.  
  3477. CreateTemplate = {
  3478.  
  3479. };
  3480. }
  3481.  
  3482.  
  3483.  
  3484. New = function(Object, Parent, Name, Data)
  3485. local Object = Instance.new(Object)
  3486. for Index, Value in pairs(Data or {}) do
  3487. Object[Index] = Value
  3488. end
  3489. Object.Parent = Parent
  3490. Object.Name = Name
  3491. return Object
  3492. end
  3493.  
  3494. Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3495. moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
  3496. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3497. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
  3498. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3499. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3500. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  3501. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3502. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3503. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
  3504. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3505. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3506. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
  3507. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3508. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3509. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  3510. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3511. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3512. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
  3513. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3514. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3515. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
  3516. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3517. Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Yellow"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3518. Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  3519. mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3520. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3521. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  3522. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3523. Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3524. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3525. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3526. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3527. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3528. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  3529. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3530. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3531. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
  3532. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3533. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3534. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  3535. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3536. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3537. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
  3538. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3539. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3540. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  3541. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3542. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3543. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  3544. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3545. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3546. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  3547. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3548. Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3549. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  3550. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3551. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3552. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  3553. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3554. Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3555. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  3556. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  3557.  
  3558. for _,v in pairs(m:children()) do
  3559. if v:IsA("Part") then
  3560. v.CanCollide = false
  3561. end
  3562. end
  3563. for _,v in pairs(m:children()) do
  3564. if v:IsA("Part") then
  3565. v.Material = "Neon"
  3566. end
  3567. end
  3568. spawn(function()
  3569. while wait() do
  3570. for _,v in pairs(m:children()) do
  3571. if v:IsA("Part") then
  3572. v.BrickColor=BrickColor.random()
  3573. end
  3574. end
  3575. end
  3576. end)
  3577.  
  3578.  
  3579. function rayCast(Position, Direction, Range, Ignore)
  3580. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  3581. end
  3582.  
  3583. --[[FindNearestTorso = function(pos)
  3584. local list = (game.Workspace:children())
  3585. local torso = nil
  3586. local dist = 1000
  3587. local temp, human, temp2 = nil, nil, nil
  3588. for x = 1, #list do
  3589. temp2 = list[x]
  3590. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  3591. temp = temp2:findFirstChild("Torso")
  3592. human = temp2:findFirstChild("Humanoid")
  3593. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  3594. local dohit = true
  3595. if dohit == true then
  3596. torso = temp
  3597. dist = (temp.Position - pos).magnitude
  3598. end
  3599. end
  3600. end
  3601. end
  3602. return torso, dist
  3603. end]]
  3604. function FindNearestTorso(Position, Distance, SinglePlayer)
  3605. if SinglePlayer then
  3606. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3607. end
  3608. local List = {}
  3609. for i, v in pairs(workspace:GetChildren()) do
  3610. if v:IsA("Model") then
  3611. if v:findFirstChild("Torso") then
  3612. if v ~= Character then
  3613. if (v.Torso.Position - Position).magnitude <= Distance then
  3614. table.insert(List, v)
  3615. end
  3616. end
  3617. end
  3618. end
  3619. end
  3620. return List
  3621. end
  3622. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3623. if hit.Parent == nil then
  3624. return
  3625. end
  3626. local h = hit.Parent:FindFirstChild("Humanoid")
  3627. for _, v in pairs(hit.Parent:children()) do
  3628. if v:IsA("Humanoid") then
  3629. h = v
  3630. end
  3631. end
  3632. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  3633. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  3634. if hit.Parent.DebounceHit.Value == true then
  3635. return
  3636. end
  3637. end
  3638. local c = Create("ObjectValue"){
  3639. Name = "creator",
  3640. Value = game:service("Players").LocalPlayer,
  3641. Parent = h,
  3642. }
  3643. game:GetService("Debris"):AddItem(c, .5)
  3644. if HitSound ~= nil and HitPitch ~= nil then
  3645. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3646. end
  3647. local Damage = math.random(minim, maxim)
  3648. local blocked = false
  3649. local block = hit.Parent:findFirstChild("Block")
  3650. if block ~= nil then
  3651. if block.className == "IntValue" then
  3652. if block.Value > 0 then
  3653. blocked = true
  3654. block.Value = block.Value - 1
  3655. print(block.Value)
  3656. end
  3657. end
  3658. end
  3659. if blocked == false then
  3660. h.Health = h.Health - Damage
  3661. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  3662. else
  3663. h.Health = h.Health - (Damage / 2)
  3664. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  3665. end
  3666. if Type == "Knockdown" then
  3667. local hum = hit.Parent.Humanoid
  3668. hum.PlatformStand = true
  3669. coroutine.resume(coroutine.create(function(HHumanoid)
  3670. swait(1)
  3671. HHumanoid.PlatformStand = false
  3672. end), hum)
  3673. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  3674. local bodvol = Create("BodyVelocity"){
  3675. velocity = angle * knockback,
  3676. P = 5000,
  3677. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  3678. Parent = hit,
  3679. }
  3680. local rl = Create("BodyAngularVelocity"){
  3681. P = 3000,
  3682. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3683. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3684. Parent = hit,
  3685. }
  3686. game:GetService("Debris"):AddItem(bodvol, .5)
  3687. game:GetService("Debris"):AddItem(rl, .5)
  3688. elseif Type == "Normal" then
  3689. local vp = Create("BodyVelocity"){
  3690. P = 500,
  3691. maxForce = Vector3.new(math.huge, 0, math.huge),
  3692. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  3693. }
  3694. if knockback > 0 then
  3695. vp.Parent = hit.Parent.Torso
  3696. end
  3697. game:GetService("Debris"):AddItem(vp, .5)
  3698. elseif Type == "Up" then
  3699. local bodyVelocity = Create("BodyVelocity"){
  3700. velocity = Vector3.new(0, 20, 0),
  3701. P = 5000,
  3702. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  3703. Parent = hit,
  3704. }
  3705. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  3706. elseif Type == "DarkUp" then
  3707. coroutine.resume(coroutine.create(function()
  3708. for i = 0, 1, 0.1 do
  3709. swait()
  3710. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  3711. end
  3712. end))
  3713. local bodyVelocity = Create("BodyVelocity"){
  3714. velocity = Vector3.new(0, 20, 0),
  3715. P = 5000,
  3716. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  3717. Parent = hit,
  3718. }
  3719. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3720. elseif Type == "Snare" then
  3721. local bp = Create("BodyPosition"){
  3722. P = 2000,
  3723. D = 100,
  3724. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3725. position = hit.Parent.Torso.Position,
  3726. Parent = hit.Parent.Torso,
  3727. }
  3728. game:GetService("Debris"):AddItem(bp, 1)
  3729. elseif Type == "Freeze" then
  3730. local BodPos = Create("BodyPosition"){
  3731. P = 50000,
  3732. D = 1000,
  3733. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3734. position = hit.Parent.Torso.Position,
  3735. Parent = hit.Parent.Torso,
  3736. }
  3737. local BodGy = Create("BodyGyro") {
  3738. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  3739. P = 20e+003,
  3740. Parent = hit.Parent.Torso,
  3741. cframe = hit.Parent.Torso.CFrame,
  3742. }
  3743. hit.Parent.Torso.Anchored = true
  3744. coroutine.resume(coroutine.create(function(Part)
  3745. swait(1.5)
  3746. Part.Anchored = false
  3747. end), hit.Parent.Torso)
  3748. game:GetService("Debris"):AddItem(BodPos, 3)
  3749. game:GetService("Debris"):AddItem(BodGy, 3)
  3750. end
  3751. local debounce = Create("BoolValue"){
  3752. Name = "DebounceHit",
  3753. Parent = hit.Parent,
  3754. Value = true,
  3755. }
  3756. game:GetService("Debris"):AddItem(debounce, Delay)
  3757. c = Create("ObjectValue"){
  3758. Name = "creator",
  3759. Value = Player,
  3760. Parent = h,
  3761. }
  3762. game:GetService("Debris"):AddItem(c, .5)
  3763. end
  3764. end
  3765.  
  3766. function ShowDamage(Pos, Text, Time, Color)
  3767. local Rate = (1 / 30)
  3768. local Pos = (Pos or Vector3.new(0, 0, 0))
  3769. local Text = (Text or "")
  3770. local Time = (Time or 2)
  3771. local Color = (Color or Color3.new(1, 0, 1))
  3772. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3773. EffectPart.Anchored = true
  3774. local BillboardGui = Create("BillboardGui"){
  3775. Size = UDim2.new(3, 0, 3, 0),
  3776. Adornee = EffectPart,
  3777. Parent = EffectPart,
  3778. }
  3779. local TextLabel = Create("TextLabel"){
  3780. BackgroundTransparency = 1,
  3781. Size = UDim2.new(1, 0, 1, 0),
  3782. Text = Text,
  3783. Font = "SciFi",
  3784. TextColor3 = Color,
  3785. TextScaled = true,
  3786. Parent = BillboardGui,
  3787. }
  3788. game.Debris:AddItem(EffectPart, (Time))
  3789. EffectPart.Parent = game:GetService("Workspace")
  3790. delay(0, function()
  3791. local Frames = (Time / Rate)
  3792. for Frame = 1, Frames do
  3793. wait(Rate)
  3794. local Percent = (Frame / Frames)
  3795. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3796. TextLabel.TextTransparency = Percent
  3797. end
  3798. if EffectPart and EffectPart.Parent then
  3799. EffectPart:Destroy()
  3800. end
  3801. end)
  3802. end
  3803.  
  3804. function dmg(dude)
  3805. if dude.Name ~= Character then
  3806. dude.Humanoid.PlatformStand = true
  3807. local bgf = Instance.new("BodyGyro",dude.Head)
  3808. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3809. local val = Instance.new("BoolValue",dude)
  3810. val.Name = "IsHit"
  3811. for i = 1, 6 do
  3812. local blo = Instance.new("Part",game.Workspace)
  3813. blo.Size = Vector3.new(.6,.2,.6)
  3814. blo.Material = "Neon"
  3815. blo.BrickColor = BrickColor.new("Crimson")
  3816. --blo.Position = dude.Head.Position
  3817. blo.CFrame = dude.Head.CFrame
  3818. game:GetService("Debris"):AddItem(blo,30)
  3819. end
  3820. local ds = coroutine.wrap(function()
  3821. wait(.2)
  3822. dude.Torso:BreakJoints()
  3823. end)
  3824. ds()
  3825. end
  3826. end
  3827.  
  3828. function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  3829. --local buddy
  3830. for _, c in pairs(workspace:children()) do
  3831. local hum = c:findFirstChild("Humanoid")
  3832. if hum ~= nil then
  3833. local head = c:findFirstChild("Torso")
  3834. if head ~= nil then
  3835. local targ = head.Position - Part.Position
  3836. local mag = targ.magnitude
  3837. if mag <= Magnitude and c.Name ~= Player.Name then
  3838. if c.Name ~= Character then
  3839. if c.Name ~= "CKbackup" then
  3840. local asd = Instance.new("ParticleEmitter",c.Torso)
  3841. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  3842. asd.LightEmission = .1
  3843. asd.Size = NumberSequence.new(0.2)
  3844. asd.Texture = "http://www.roblox.com/asset/?ID=183711814"
  3845. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  3846. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  3847. asd.Transparency = bbb
  3848. asd.Size = aaa
  3849. asd.ZOffset = .9
  3850. asd.Acceleration = Vector3.new(0, -5, 0)
  3851. asd.LockedToPart = false
  3852. asd.EmissionDirection = "Back"
  3853. asd.Lifetime = NumberRange.new(1, 2)
  3854. asd.Rate = 1000
  3855. asd.Rotation = NumberRange.new(-100, 100)
  3856. asd.RotSpeed = NumberRange.new(-100, 100)
  3857. asd.Speed = NumberRange.new(6)
  3858. asd.VelocitySpread = 10000
  3859. asd.Enabled=true
  3860. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  3861. dmg(c)
  3862. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=836454385", c.Torso, 1.2, 1)
  3863. coroutine.wrap(function()
  3864. wait(.2)
  3865. asd.Enabled = false
  3866. wait(2)
  3867. asd:Remove()
  3868. end)()
  3869. else
  3870. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=836454385", c.Torso, 1.5, 1)
  3871. Effects.Sphere.Create(BrickColor.random(), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  3872.  
  3873. end
  3874. end
  3875. end
  3876. end
  3877. end
  3878. end
  3879. end
  3880. EffectModel = Create("Model"){
  3881. Parent = Character,
  3882. Name = "Effects",
  3883. }
  3884.  
  3885. Effects = {
  3886. Block = {
  3887. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3888. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3889. prt.Anchored = true
  3890. prt.CFrame = cframe
  3891. prt.Material = "Neon"
  3892. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3893. game:GetService("Debris"):AddItem(prt, 10)
  3894. if Type == 1 or Type == nil then
  3895. table.insert(Effects, {
  3896. prt,
  3897. "Block1",
  3898. delay,
  3899. x3,
  3900. y3,
  3901. z3,
  3902. msh
  3903. })
  3904. elseif Type == 2 then
  3905. table.insert(Effects, {
  3906. prt,
  3907. "Block2",
  3908. delay,
  3909. x3,
  3910. y3,
  3911. z3,
  3912. msh
  3913. })
  3914. end
  3915. end;
  3916. };
  3917.  
  3918. Cylinder = {
  3919. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3920. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3921. prt.Anchored = true
  3922. prt.Material = "Neon"
  3923. prt.CFrame = cframe
  3924. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3925. game:GetService("Debris"):AddItem(prt, 10)
  3926. table.insert(Effects, {
  3927. prt,
  3928. "Cylinder",
  3929. delay,
  3930. x3,
  3931. y3,
  3932. z3,
  3933. msh
  3934. })
  3935. end;
  3936. };
  3937. Head = {
  3938. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3939. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3940. prt.Anchored = true
  3941. prt.Material = "Neon"
  3942. prt.CFrame = cframe
  3943. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3944. game:GetService("Debris"):AddItem(prt, 10)
  3945. table.insert(Effects, {
  3946. prt,
  3947. "Cylinder",
  3948. delay,
  3949. x3,
  3950. y3,
  3951. z3,
  3952. msh
  3953. })
  3954. end;
  3955. };
  3956.  
  3957. Sphere = {
  3958. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3959. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3960. prt.Anchored = true
  3961. prt.Material = "Neon"
  3962. prt.CFrame = cframe
  3963. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3964. game:GetService("Debris"):AddItem(prt, 10)
  3965. table.insert(Effects, {
  3966. prt,
  3967. "Cylinder",
  3968. delay,
  3969. x3,
  3970. y3,
  3971. z3,
  3972. msh
  3973. })
  3974. end;
  3975. };
  3976.  
  3977. Elect = {
  3978. Create = function(cff, x, y, z)
  3979. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  3980. prt.Anchored = true
  3981. prt.Material = "Neon"
  3982. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  3983. prt.CFrame = CFrame.new(prt.Position)
  3984. game:GetService("Debris"):AddItem(prt, 2)
  3985. local xval = math.random() / 2
  3986. local yval = math.random() / 2
  3987. local zval = math.random() / 2
  3988. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  3989. table.insert(Effects, {
  3990. prt,
  3991. "Elec",
  3992. 0.1,
  3993. x,
  3994. y,
  3995. z,
  3996. xval,
  3997. yval,
  3998. zval
  3999. })
  4000. end;
  4001.  
  4002. };
  4003.  
  4004. Ring = {
  4005. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4006. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  4007. prt.Anchored = true
  4008. prt.CFrame = cframe
  4009. prt.Material = "Neon"
  4010. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4011. game:GetService("Debris"):AddItem(prt, 10)
  4012. table.insert(Effects, {
  4013. prt,
  4014. "Cylinder",
  4015. delay,
  4016. x3,
  4017. y3,
  4018. z3,
  4019. msh
  4020. })
  4021. end;
  4022. };
  4023.  
  4024.  
  4025. Wave = {
  4026. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4027. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  4028. prt.Anchored = true
  4029. prt.CFrame = cframe
  4030. prt.Material = "Neon"
  4031. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4032. game:GetService("Debris"):AddItem(prt, 10)
  4033. table.insert(Effects, {
  4034. prt,
  4035. "Cylinder",
  4036. delay,
  4037. x3,
  4038. y3,
  4039. z3,
  4040. msh
  4041. })
  4042. end;
  4043. };
  4044.  
  4045. Break = {
  4046. Create = function(brickcolor, cframe, x1, y1, z1)
  4047. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  4048. prt.Anchored = true
  4049. prt.Material = "Neon"
  4050. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4051. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4052. local num = math.random(10, 50) / 1000
  4053. game:GetService("Debris"):AddItem(prt, 10)
  4054. table.insert(Effects, {
  4055. prt,
  4056. "Shatter",
  4057. num,
  4058. prt.CFrame,
  4059. math.random() - math.random(),
  4060. 0,
  4061. math.random(50, 100) / 100
  4062. })
  4063. end;
  4064. };
  4065.  
  4066. Fire = {
  4067. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  4068. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  4069. prt.Anchored = true
  4070. prt.Material = "Neon"
  4071. prt.CFrame = cframe
  4072. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4073. game:GetService("Debris"):AddItem(prt, 10)
  4074. table.insert(Effects, {
  4075. prt,
  4076. "Fire",
  4077. delay,
  4078. 1,
  4079. 1,
  4080. 1,
  4081. msh
  4082. })
  4083. end;
  4084. };
  4085.  
  4086. FireWave = {
  4087. Create = function(brickcolor, cframe, x1, y1, z1)
  4088. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  4089. prt.Anchored = true
  4090. prt.CFrame = cframe
  4091. prt.Material = "Neon"
  4092. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4093. local d = Create("Decal"){
  4094. Parent = prt,
  4095. Texture = "rbxassetid://26356434",
  4096. Face = "Top",
  4097. }
  4098. local d = Create("Decal"){
  4099. Parent = prt,
  4100. Texture = "rbxassetid://26356434",
  4101. Face = "Bottom",
  4102. }
  4103. game:GetService("Debris"):AddItem(prt, 10)
  4104. table.insert(Effects, {
  4105. prt,
  4106. "FireWave",
  4107. 1,
  4108. 30,
  4109. math.random(400, 600) / 100,
  4110. msh
  4111. })
  4112. end;
  4113. };
  4114.  
  4115. Lightning = {
  4116. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  4117. local magz = (p0 - p1).magnitude
  4118. local curpos = p0
  4119. local trz = {
  4120. -ofs,
  4121. ofs
  4122. }
  4123. for i = 1, tym do
  4124. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  4125. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  4126. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  4127. li.Material = "Neon"
  4128. if tym == i then
  4129. local magz2 = (curpos - p1).magnitude
  4130. li.Size = Vector3.new(th, th, magz2)
  4131. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  4132. table.insert(Effects, {
  4133. li,
  4134. "Disappear",
  4135. last
  4136. })
  4137. else
  4138. do
  4139. do
  4140. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  4141. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  4142. game.Debris:AddItem(li, 10)
  4143. table.insert(Effects, {
  4144. li,
  4145. "Disappear",
  4146. last
  4147. })
  4148. end
  4149. end
  4150. end
  4151. end
  4152. end
  4153. };
  4154.  
  4155. EffectTemplate = {
  4156.  
  4157. };
  4158. }
  4159.  
  4160. function chatfunc(text)
  4161. local chat = coroutine.wrap(function()
  4162. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  4163. Character:FindFirstChild("TalkingBillBoard"):destroy()
  4164. end
  4165. local naeeym2 = Instance.new("BillboardGui",Character)
  4166. naeeym2.Size = UDim2.new(0,100,0,40)
  4167. naeeym2.StudsOffset = Vector3.new(0,3,0)
  4168. naeeym2.Adornee = Character.Head
  4169. naeeym2.Name = "TalkingBillBoard"
  4170. local tecks2 = Instance.new("TextLabel",naeeym2)
  4171. tecks2.BackgroundTransparency = 1
  4172. tecks2.BorderSizePixel = 0
  4173. tecks2.Text = ""
  4174. tecks2.Font = "Cartoon"
  4175. tecks2.TextSize = 30
  4176. tecks2.TextStrokeTransparency = 0
  4177. tecks2.TextColor3 = Color3.new(.6,0,0)
  4178. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  4179. tecks2.Size = UDim2.new(1,0,0.5,0)
  4180. local tecks3 = Instance.new("TextLabel",naeeym2)
  4181. tecks3.BackgroundTransparency = 1
  4182. tecks3.BorderSizePixel = 0
  4183. tecks3.Text = ""
  4184. tecks3.Font = "Cartoon"
  4185. tecks3.TextSize = 30
  4186. tecks3.TextStrokeTransparency = 0
  4187. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  4188. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  4189. tecks3.Size = UDim2.new(1,0,0.5,0)
  4190. spawn(function()
  4191. while wait() do
  4192. tecks3.TextColor3 = BrickColor.random().Color
  4193. tecks2.TextColor3 = BrickColor.random().Color
  4194. end
  4195. end)
  4196. for i = 1,string.len(text),1 do
  4197. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=178104975", Character, 1, 1)
  4198. tecks2.Text = string.sub(text,1,i)
  4199. tecks3.Text = string.sub(text,1,i)
  4200. wait(0.01)
  4201. end
  4202. wait(2)
  4203. for i = 1, 50 do
  4204. swait()
  4205. tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  4206. tecks2.Rotation = tecks2.Rotation - .8
  4207. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  4208. tecks2.TextTransparency = tecks2.TextTransparency + .04
  4209. tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  4210. tecks3.Rotation = tecks2.Rotation + .8
  4211. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  4212. tecks3.TextTransparency = tecks2.TextTransparency + .04
  4213. end
  4214. naeeym2:Destroy()
  4215. end)
  4216. chat()
  4217. end
  4218. function onChatted(msg)
  4219. chatfunc(msg)
  4220. end
  4221. Player.Chatted:connect(onChatted)
  4222.  
  4223. abss = Instance.new("BillboardGui",Character)
  4224. abss.Size = UDim2.new(10,0,10,0)
  4225. abss.Enabled = false
  4226. imgl = Instance.new("ImageLabel",abss)
  4227. imgl.Position = UDim2.new(0,0,0,0)
  4228. imgl.Size = UDim2.new(1,0,1,0)
  4229. imgl.Image = "rbxassetid://183711814"
  4230. imgl.BackgroundTransparency = 1
  4231. imgl.ImageColor3 = Color3.new(.9,0,0)
  4232. img2 = Instance.new("ImageLabel",abss)
  4233. img2.Position = UDim2.new(0,0,0,0)
  4234. img2.Size = UDim2.new(1,0,1,0)
  4235. img2.Image = "rbxassetid://183711814"
  4236. img2.BackgroundTransparency = 1
  4237. img2.ImageColor3 = Color3.new(.9,0,0)
  4238. spawn(function()
  4239. while wait() do
  4240. imgl.ImageColor3 = BrickColor.random().Color
  4241. img2.ImageColor3 = BrickColor.random().Color
  4242. end
  4243. end)
  4244.  
  4245. spawn(function()
  4246. chatfunc("Noobcider By Skrubl0rdzI")
  4247. wait(3)
  4248. chatfunc("Modified Date : 06/16/2017")
  4249. wait(3)
  4250. chatfunc("Original Script : Genocider")
  4251. wait(3)
  4252. chatfunc("Have Fun!1!!")
  4253. end)
  4254.  
  4255. spawn(function()
  4256. while wait(1) do
  4257. Effects.Sphere.Create(BrickColor.random(), RootPart.CFrame, 40,40,40, 1, 1, 1, 0.07)
  4258. end
  4259. end)
  4260. function attackone()
  4261. attack = true
  4262. Humanoid.WalkSpeed = 0
  4263. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138080313", Character, 1, .5)
  4264. if targetted.Name ~= "Skrubl0rdzI" then
  4265. local partasdeff = Instance.new("ParticleEmitter",targetted.Torso)
  4266. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  4267. partasdeff.LightEmission = .1
  4268. partasdeff.Size = NumberSequence.new(0.2)
  4269. partasdeff.Texture = "http://www.roblox.com/asset/?ID=183711814"
  4270. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  4271. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  4272. partasdeff.Transparency = bbb
  4273. partasdeff.Size = aaa
  4274. partasdeff.ZOffset = .9
  4275. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  4276. partasdeff.LockedToPart = false
  4277. partasdeff.EmissionDirection = "Back"
  4278. partasdeff.Lifetime = NumberRange.new(1, 2)
  4279. partasdeff.Rate = 1000
  4280. partasdeff.Rotation = NumberRange.new(-100, 100)
  4281. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  4282. partasdeff.Speed = NumberRange.new(6)
  4283. partasdeff.VelocitySpread = 10000
  4284. partasdeff.Enabled=false
  4285. for i = 0, 3, 0.1 do
  4286. swait()
  4287. PlayAnimationFromTable({
  4288. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4289. CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4290. CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4291. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4292. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4293. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4294. }, .1, false)
  4295. moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4296. end
  4297. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  4298. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  4299. dmg(targetted)
  4300. local ex = Instance.new("Explosion",workspace)
  4301. ex.Position = Partss.Position
  4302. ex.BlastRadius = 0
  4303. partasdeff.Enabled=true
  4304. for i = 0, 1, 0.1 do
  4305. swait()
  4306. PlayAnimationFromTable({
  4307. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4308. CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4309. CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4310. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4311. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4312. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4313. }, .3, false)
  4314. moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4315. end
  4316. partasdeff.Enabled=false
  4317. for i = 0, 2, 0.1 do
  4318. swait()
  4319. PlayAnimationFromTable({
  4320. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4321. CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4322. CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4323. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4324. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4325. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4326. }, .3, false)
  4327. moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4328. end
  4329. coroutine.wrap(function()
  4330. wait(2)
  4331. partasdeff:Remove()
  4332. end)()
  4333. else
  4334. sel = math.random(1,3)
  4335. if sel == 1 then
  4336. chatfunc("...")
  4337. elseif sel == 2 then
  4338. chatfunc("No...")
  4339. elseif sel == 3 then
  4340. chatfunc("I can't do that...")
  4341. end
  4342. for i = 0, 5, 0.1 do
  4343. swait()
  4344. PlayAnimationFromTable({
  4345. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4346. CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  4347. CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4348. CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4349. CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4350. CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4351. }, .3, false)
  4352. moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4353. end
  4354. end
  4355. Humanoid.WalkSpeed = 8
  4356. attack = false
  4357. end
  4358. local Grabbed = false
  4359.  
  4360. function shoot()
  4361. attack = true
  4362. for i = 0, 3, 0.1 do
  4363. swait()
  4364. PlayAnimationFromTable({
  4365. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4366. CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4367. CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4368. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4369. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4370. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4371. }, .1, false)
  4372. moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4373. end
  4374. for i = 1,10 do
  4375. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 11,11,11, -1,-1,-1, 0.07)
  4376. wait(0.01)
  4377. end
  4378. wait(0.5)
  4379. local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Mouse.Hit,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  4380. local fc = Instance.new("Explosion",workspace) fc.Position = ref1.Position
  4381. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=141679994", Character, 1.5, 1)
  4382. for i = 1,10 do
  4383. Effects.Block.Create(BrickColor.random(), ref1.CFrame, 33,33,33, 9,9,9, 0.07)
  4384. end
  4385. wait(0.75)
  4386. ref1:Destroy()
  4387. attack = false
  4388. end
  4389.  
  4390. function hedshoot()
  4391. attack = true
  4392.  
  4393. --local GGyro = Instance.new("BodyPosition")
  4394. local grab = nil
  4395. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
  4396. if v:FindFirstChild('Torso') then
  4397. Grabbed = true
  4398. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", v.Torso, 1, .8)
  4399. grab = v
  4400. end
  4401. end
  4402. spawn(function()
  4403. for i = 1,10 do
  4404. Effects.Wave.Create(BrickColor.random(), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07)
  4405. wait(0.03)
  4406. end
  4407. end)
  4408. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=721590903", RootPart, 0, .5)
  4409. for i = 0, 1, 0.1 do
  4410. swait()
  4411. if Grabbed == true then
  4412. grab.Humanoid.PlatformStand = true
  4413. --GGyro.position = Partss.Position
  4414. --GGyro.Parent = grab.Head
  4415. grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  4416. end
  4417. PlayAnimationFromTable({
  4418. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4419. CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4420. CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4421. CFrame.new(-1.66092706, 0.266950369, 2.51774691e-06, 0.876968205, 0.480548859, -2.5331974e-06, -0.480548888, 0.876968026, -7.03267551e-06, -1.13248825e-06, 7.38352537e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4422. CFrame.new(0.146832585, -1.7542398, 0.105335698, 0.266426086, 0.491796821, -0.828946948, 0.0135936746, 0.8580302, 0.513420045, 0.96375972, -0.148056909, 0.221916124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4423. CFrame.new(-1.09110987, -1.74702656, 0.342675447, 0.765578806, 0.632523358, 0.117487431, -0.642276406, 0.740949869, 0.196148768, 0.0370163769, -0.225626737, 0.973510265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4424. }, .3, false)
  4425. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  4426. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4427. end
  4428. if Grabbed == true then
  4429. Humanoid.WalkSpeed = 0
  4430. for i = 0, 2, 0.1 do
  4431. swait()
  4432. if Grabbed == true then
  4433. grab.Humanoid.PlatformStand = true
  4434. --GGyro.position = Partss.Position
  4435. --GGyro.Parent = grab.Head
  4436. grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  4437. end
  4438. PlayAnimationFromTable({
  4439. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4440. CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4441. CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4442. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4443. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4444. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4445. }, .3, false)
  4446. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4447. end
  4448. if grab.Name ~= "CKbackup" then
  4449. local partasdeff = Instance.new("ParticleEmitter",grab.Torso)
  4450. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  4451. partasdeff.LightEmission = .1
  4452. partasdeff.Size = NumberSequence.new(0.2)
  4453. partasdeff.Texture = "http://www.roblox.com/asset/?ID=183711814"
  4454. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  4455. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  4456. partasdeff.Transparency = bbb
  4457. partasdeff.Size = aaa
  4458. partasdeff.ZOffset = .9
  4459. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  4460. partasdeff.LockedToPart = false
  4461. partasdeff.EmissionDirection = "Back"
  4462. partasdeff.Lifetime = NumberRange.new(1, 2)
  4463. partasdeff.Rate = 1000
  4464. partasdeff.Rotation = NumberRange.new(-100, 100)
  4465. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  4466. partasdeff.Speed = NumberRange.new(10)
  4467. partasdeff.VelocitySpread = 20
  4468. partasdeff.Enabled=false
  4469. sel = math.random(1,3)
  4470. if sel == 1 then
  4471. chatfunc("im teting sori")
  4472. end
  4473. for i = 0, 2, 0.1 do
  4474. swait()
  4475. if Grabbed == true then
  4476. grab.Humanoid.PlatformStand = true
  4477. --GGyro.position = Partss.Position
  4478. --GGyro.Parent = grab.Head
  4479. grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  4480. end
  4481. PlayAnimationFromTable({
  4482. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4483. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4484. CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4485. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4486. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4487. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4488. }, .1, false)
  4489. moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4490. end
  4491. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  4492. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  4493. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=836454385", Character, 1, .5)
  4494. dmg(grab)
  4495. grab.Head.Velocity = grab.Head.CFrame.lookVector * -60
  4496. partasdeff.Enabled=true
  4497. for i = 0, 1, 0.1 do
  4498. swait()
  4499. PlayAnimationFromTable({
  4500. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4501. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4502. CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4503. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4504. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4505. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4506. }, .3, false)
  4507. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4508. end
  4509. partasdeff.Enabled=false
  4510. for i = 0, 2.5, 0.1 do
  4511. swait()
  4512. PlayAnimationFromTable({
  4513. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4514. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4515. CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4516. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4517. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4518. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4519. }, .2, false)
  4520. moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4521. end
  4522. coroutine.wrap(function()
  4523. wait(2)
  4524. partasdeff:Remove()
  4525. end)()
  4526. else
  4527. grab.Humanoid.PlatformStand = false
  4528. for i = 0, 3, 0.1 do
  4529. swait()
  4530. PlayAnimationFromTable({
  4531. CFrame.new(0.104280457, -1.46030498e-22, -0.179343686, 0.249860913, 5.18448626e-22, 0.968281686, -5.82335151e-22, 1, -5.29395592e-22, -0.968281686, -3.70576914e-22, 0.249860913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4532. CFrame.new(0.00671941042, 1.48144531, -0.121562012, 0.0679168552, 0.388981611, -0.918738663, 0.158512011, 0.904961228, 0.394866198, 0.985018492, -0.172449201, -0.000196114182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4533. CFrame.new(1.5714488, -0.100437641, -0.219321564, 0.297819793, -0.653239965, -0.696118593, -0.0311920028, 0.722160041, -0.691022456, 0.954112411, 0.227513462, 0.194697708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4534. CFrame.new(-1.5814501, 0.177012652, 5.41775626e-06, 0.939689815, 0.342028022, -2.68220901e-06, -0.342027992, 0.939689755, -6.1805149e-06, 4.17232513e-07, 6.72787428e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4535. CFrame.new(0.569012046, -1.89856982, -0.00933695585, 0.266445845, -0.0764764398, -0.960811257, 0.0135949478, 0.997046292, -0.075590536, 0.963754177, 0.00707861409, 0.266698539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4536. CFrame.new(-0.849534154, -2.01595497, 0.241721377, 0.948572636, 0.308689058, 0.070150286, -0.312330276, 0.948733151, 0.0485308319, -0.0515729487, -0.067945078, 0.996355295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4537. }, .1, false)
  4538. moter.C0 = clerp(moter.C0, CFrame.new(0.0111981034, -1.63767779, -0.318741798, -0.0172085222, -1.4077872e-05, -0.999851882, 0.999851942, 7.4505806e-06, -0.0172085222, 7.68899918e-06, -1.00000012, 1.39512122e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4539. end
  4540. sel = math.random(1,3)
  4541. if sel == 1 then
  4542. chatfunc("im testing sori!")
  4543. end
  4544. for i = 0, 5, 0.1 do
  4545. swait()
  4546. PlayAnimationFromTable({
  4547. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4548. CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  4549. CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4550. CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4551. CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4552. CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4553. }, .3, false)
  4554. moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4555. end
  4556. end
  4557. end
  4558. --GGyro.Parent = nil
  4559. attack = false
  4560. Grabbed = false
  4561. Humanoid.WalkSpeed = 20
  4562.  
  4563. end
  4564. function moarblood()
  4565. attack = true
  4566. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", Character, 1, .8)
  4567. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,4)
  4568. local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  4569. mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),})
  4570. wait(.5)
  4571. for i = 0, 1.2, 0.1 do
  4572. swait()
  4573. PlayAnimationFromTable({
  4574. CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4575. CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4576. CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4577. CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4578. CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4579. CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4580. }, .2, false)
  4581. moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4582. end
  4583. if targetted.Name ~= "CKbackup" then
  4584. local grab = nil
  4585. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  4586. if v:FindFirstChild('Head') then
  4587. Grabbed = true
  4588. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", v.Head, 1, .8)
  4589. grab = v
  4590. end
  4591. end
  4592. Humanoid.WalkSpeed = 0
  4593. for i = 0, 2, 0.1 do
  4594. swait()
  4595. if Grabbed == true then
  4596. grab.Humanoid.PlatformStand = true
  4597. --GGyro.position = Partss.Position
  4598. --GGyro.Parent = grab.Head
  4599. grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
  4600. end
  4601. PlayAnimationFromTable({
  4602. CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4603. CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4604. CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4605. CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4606. CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4607. CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4608. }, .25, false)
  4609. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4610. end
  4611. if Grabbed == true then
  4612. sel = math.random(1,3)
  4613. if sel == 1 then
  4614. chatfunc("im testing sori")
  4615. end
  4616. local partasdeff = Instance.new("ParticleEmitter",targetted.Head)
  4617. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  4618. partasdeff.LightEmission = .1
  4619. partasdeff.Size = NumberSequence.new(0.2)
  4620. partasdeff.Texture = "http://www.roblox.com/asset/?ID=183711814"
  4621. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  4622. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  4623. partasdeff.Transparency = bbb
  4624. partasdeff.Size = aaa
  4625. partasdeff.ZOffset = .9
  4626. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  4627. partasdeff.LockedToPart = false
  4628. partasdeff.EmissionDirection = "Back"
  4629. partasdeff.Lifetime = NumberRange.new(1, 2)
  4630. partasdeff.Rate = 1000
  4631. partasdeff.Rotation = NumberRange.new(-100, 100)
  4632. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  4633. partasdeff.Speed = NumberRange.new(6)
  4634. partasdeff.VelocitySpread = 10000
  4635. partasdeff.Enabled=false
  4636. for i = 0, 3, 0.1 do
  4637. swait()
  4638. if Grabbed == true then
  4639. grab.Humanoid.PlatformStand = true
  4640. --GGyro.position = Partss.Position
  4641. --GGyro.Parent = grab.Head
  4642. grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
  4643. end
  4644. PlayAnimationFromTable({
  4645. CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4646. CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4647. CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4648. CFrame.new(-1.5511272, 1.22937977, -0.634234905, 0.785770595, 0.333147645, 0.521131098, 0.522403002, -0.808557391, -0.270795107, 0.331149668, 0.485022962, -0.809378147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4649. CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4650. CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4651. }, .1, false)
  4652. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4653. end
  4654. partasdeff.Enabled=true
  4655. grab.Torso.Transparency = 1
  4656. dmg(grab)
  4657. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", grab.Head, .8, .8)
  4658. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", grab.Head, 1, .7)
  4659.  
  4660. coroutine.wrap(function()
  4661. wait(.4)
  4662. partasdeff.Enabled=false
  4663. end)()
  4664. for i = 0, 3.5, 0.1 do
  4665. swait()
  4666. PlayAnimationFromTable({
  4667. CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4668. CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4669. CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4670. CFrame.new(-1.40260935, 1.29555511, -0.560751677, 0.832364976, 0.188659444, 0.521130562, 0.370884001, -0.88832134, -0.2707977, 0.411842346, 0.418681324, -0.809378505) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4671. CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4672. CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4673. }, .3, false)
  4674. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4675. end
  4676. end
  4677. else
  4678. Humanoid.WalkSpeed = 0
  4679. for i = 0, 3, 0.1 do
  4680. swait()
  4681. PlayAnimationFromTable({
  4682. CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4683. CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4684. CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4685. CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4686. CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4687. CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4688. }, .2, false)
  4689. moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4690. end
  4691. sel = math.random(1,3)
  4692. if sel == 1 then
  4693. chatfunc("Aahhh...")
  4694. elseif sel == 2 then
  4695. chatfunc("Oh Sugarie, I thought you're enemy...")
  4696. elseif sel == 3 then
  4697. chatfunc("Sigh...")
  4698. end
  4699. for i = 0, 5, 0.1 do
  4700. swait()
  4701. PlayAnimationFromTable({
  4702. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4703. CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  4704. CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4705. CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4706. CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4707. CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4708. }, .3, false)
  4709. moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4710. end
  4711. end
  4712. attack = false
  4713. Grabbed = false
  4714. k:Remove()
  4715. Humanoid.WalkSpeed = 8
  4716. end
  4717.  
  4718. function painlessrain2()
  4719. attack = true
  4720. Humanoid.WalkSpeed = 0
  4721. local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  4722.  
  4723. coroutine.wrap(function()
  4724. for i = 0, 4 do
  4725. wait(.2)
  4726. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=158475221", RootPart, 1, 1)
  4727. end
  4728. end)()
  4729. for i = 0, 4, 0.1 do
  4730. swait()
  4731. PlayAnimationFromTable({
  4732. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4733. CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4734. CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4735. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4736. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4737. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4738. }, .07, false)
  4739. moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3)
  4740. end
  4741. for i = 0, 1.5, 0.1 do
  4742. swait()
  4743. PlayAnimationFromTable({
  4744. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4745. CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4746. CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4747. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4748. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4749. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4750. }, .2, false)
  4751. moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4752. end
  4753. for i = 0, 0 do
  4754. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 33,33,33, -1,-1,-1, 0.07)
  4755. wait(2)
  4756. end
  4757. attack = false
  4758. Humanoid.WalkSpeed = 8
  4759. for i = 0, 99 do
  4760. wait(0.01)
  4761. mdmg(ref1, 3)
  4762. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=141679994", Character, 1.5, 1)
  4763. ref1.Position = Mouse.hit.p
  4764. ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
  4765. Effects.Cylinder.Create(BrickColor.random(), ref1.CFrame, 5, 9999, 5, -5, 0, -5, 0.07)
  4766. Effects.Sphere.Create(BrickColor.random(), ref1.CFrame, 7,7,7, -9,-9,-9, 0.07)
  4767. end
  4768. ref1:Remove()
  4769. end
  4770.  
  4771. function painlessrain()
  4772. attack = true
  4773. Humanoid.WalkSpeed = 0
  4774. local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  4775.  
  4776. coroutine.wrap(function()
  4777. for i = 0, 4 do
  4778. wait(.2)
  4779. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=158475221", RootPart, 1, 1)
  4780. end
  4781. end)()
  4782. for i = 0, 4, 0.1 do
  4783. swait()
  4784. PlayAnimationFromTable({
  4785. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4786. CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4787. CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4788. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4789. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4790. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4791. }, .07, false)
  4792. moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3)
  4793. end
  4794. for i = 0, 1.5, 0.1 do
  4795. swait()
  4796. PlayAnimationFromTable({
  4797. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4798. CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4799. CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4800. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4801. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4802. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4803. }, .2, false)
  4804. moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  4805. end
  4806. for i = 0, 2 do
  4807. Effects.Block.Create(BrickColor.random(), Partss.CFrame, 66,66,66, -1,-1,-1, 0.07)
  4808. wait(1)
  4809. end
  4810. attack = false
  4811. Humanoid.WalkSpeed = 8
  4812. for i = 0, 1 do
  4813. wait(0.01)
  4814. mdmg(ref1, 50)
  4815. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=141679994", Character, 1.5, 1)
  4816. ref1.Position = Mouse.hit.p
  4817. ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
  4818. for i = 1,10 do
  4819. Effects.Cylinder.Create(BrickColor.random(), ref1.CFrame, 520, 9999, 520, -1, 0, -1, 0.07)
  4820. Effects.Sphere.Create(BrickColor.random(), ref1.CFrame, 700,700,700,-1,-1,-1, 0.07)
  4821. end
  4822. end
  4823. ref1:Remove()
  4824. end
  4825.  
  4826. function TargetSelect(person)
  4827. local dd=coroutine.wrap(function()
  4828. if targetted ~= person then
  4829. targetted = person
  4830. img2.Size = UDim2.new(1,0,1,0)
  4831. img2.ImageTransparency = 0
  4832. img2.Position = UDim2.new(0,0,0,0)
  4833. for i = 0, 2, 0.1 do
  4834. swait()
  4835. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  4836. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  4837. img2.ImageTransparency = img2.ImageTransparency + 0.05
  4838. end
  4839. end
  4840. end)
  4841. dd()
  4842. end
  4843.  
  4844. function LockOn()
  4845. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  4846. TargetSelect(Mouse.Target.Parent)
  4847. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=606862847", Character, 1, 1)
  4848. end
  4849. end
  4850.  
  4851.  
  4852. function ofmoosic() -- 2 lazi hoh
  4853. delays = true
  4854. while wait() and kkk and kkk.Volume >= 0.02 do
  4855. kkk.Volume = kkk.Volume - 0.05
  4856. end
  4857. wait(0.1)
  4858. kkk.Pitch = 0
  4859. kkk.PlaybackSpeed = 0
  4860. play = false
  4861. delays = false
  4862. end
  4863. function onmoosic()
  4864. delays = true
  4865. kkk.Pitch = 1
  4866. kkk.PlaybackSpeed = 1
  4867. while wait() and kkk and kkk.Volume <= 1.5 do
  4868. kkk.Volume = kkk.Volume + 0.05
  4869. end
  4870. wait(0.1)
  4871. play = true
  4872. delays = false
  4873. end
  4874. Mouse.Button1Down:connect(function()
  4875. if attack == false and targetted ~= nil then
  4876. attackone()
  4877. end
  4878. end)
  4879.  
  4880. Mouse.KeyDown:connect(function(k)
  4881. k = k:lower()
  4882. if attack == false and k == 'q' then
  4883. LockOn()
  4884. end
  4885. if k == 'z' and attack == false then
  4886. spawn(function()
  4887. Head.face.Texture = "http://www.roblox.com/asset/?id=664468442"
  4888. wait(2)
  4889. Head.face.Texture = Orin
  4890. end)
  4891. hedshoot()
  4892. elseif k == 'x' and attack == false and targetted ~= nil then
  4893. spawn(function()
  4894. Head.face.Texture = "http://www.roblox.com/asset/?id=183711814"
  4895. wait(2)
  4896. Head.face.Texture = Orin
  4897. end)
  4898. moarblood()
  4899. elseif k == 'c' and attack == false then
  4900. spawn(function()
  4901. Head.face.Texture = "http://www.roblox.com/asset/?id=168092687"
  4902. wait(2)
  4903. Head.face.Texture = Orin
  4904. end)
  4905. painlessrain()
  4906. chatfunc("Boom.")
  4907. elseif k == 'v' and attack == false then
  4908. spawn(function()
  4909. Head.face.Texture = "http://www.roblox.com/asset/?id=183708981"
  4910. wait(2)
  4911. Head.face.Texture = Orin
  4912. end)
  4913. painlessrain2()
  4914. wait(6)
  4915. chatfunc("Ded!")
  4916. elseif k == 'e' and attack == false then
  4917. shoot()
  4918. elseif k == 'g' and delays == false and Character.Name == "Skrubl0rdzI" then
  4919. delays = true
  4920. chatfunc("Finally!")
  4921. wait(3)
  4922. chatfunc("i pay 999 tix for dis gun.")
  4923. wait(4)
  4924. chatfunc("Now let testing!")
  4925. delays = false
  4926. elseif k == 'm' and play == true and delays == false then
  4927. ofmoosic()
  4928. elseif k == 'm' and play == false and delays == false then
  4929. onmoosic()
  4930. end
  4931. end)
  4932.  
  4933. kkk = Instance.new("Sound",Character)
  4934. kkk.Volume = 3
  4935. kkk.Pitch = 1
  4936. kkk.SoundId = "rbxassetid://494244670"
  4937. kkk:Play()
  4938. kkk.Name = "a"
  4939. kkk.Looped = true
  4940.  
  4941.  
  4942. coroutine.wrap(function()
  4943. while true do
  4944. swait()
  4945. for i, v in pairs(Character.WeaponModel:GetChildren()) do
  4946. if v:IsA("Part") then
  4947. v.Anchored = false
  4948. end
  4949. end
  4950. for i, v in pairs(Character:GetChildren()) do
  4951. if v:IsA("Part") then
  4952. v.Anchored = false
  4953. elseif v:IsA("Accessory") then
  4954. v.Handle.Anchored = false
  4955. end
  4956. end
  4957. end
  4958. end)()
  4959. coroutine.wrap(function()
  4960. while 1 do
  4961. swait()
  4962. if doe <= 360 then
  4963. doe = doe + 2
  4964. else
  4965. doe = 0
  4966. end
  4967. end
  4968. end)()
  4969. while true do
  4970. swait()
  4971. for i, v in pairs(Character:GetChildren()) do
  4972. if v:IsA("Part") then
  4973. v.Material = "SmoothPlastic"
  4974. elseif v:IsA("Accessory") then
  4975. v:WaitForChild("Handle").Material = "SmoothPlastic"
  4976. end
  4977. end
  4978. while true do
  4979. swait()
  4980. Character.Humanoid.MaxHealth = math.huge
  4981. Character.Humanoid.Health = math.huge
  4982. imgl.Rotation = imgl.Rotation + 3
  4983. img2.Rotation = img2.Rotation + 3
  4984. if targetted ~= nil then
  4985. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  4986. abss.Enabled = true
  4987. elseif targetted == nil then
  4988. abss.Adornee = nil
  4989. abss.Enabled = false
  4990. end
  4991.  
  4992. P=Instance.new("ForceField",Character)
  4993. P.Visible = false
  4994.  
  4995. while true and imgl.Rotation >= 360 do
  4996. imgl.Rotation = 0
  4997. img2.Rotation = 0
  4998. end
  4999. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  5000. velocity = RootPart.Velocity.y
  5001. sine = sine + change
  5002. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  5003. if RootPart.Velocity.y > 1 and hit == nil then
  5004. Anim = "Jump"
  5005. if attack == false then
  5006. PlayAnimationFromTable({
  5007. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5008. CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5009. CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5010. CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5011. CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5012. CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5013. }, .3, false)
  5014. moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  5015. end
  5016. elseif RootPart.Velocity.y < -1 and hit == nil then
  5017. Anim = "Fall"
  5018. if attack == false then
  5019. PlayAnimationFromTable({
  5020. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5021. CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5022. CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5023. CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5024. CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5025. CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5026. }, .3, false)
  5027. moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  5028. end
  5029. elseif Torsovelocity < 1 and hit ~= nil then
  5030. Anim = "Idle"
  5031. if attack == false then
  5032. change = 1
  5033. PlayAnimationFromTable({
  5034. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5035. CFrame.new(-0.0575585738, 1.52553558, 0, 0, 0, 0, 0, 0, 0, 0.0143168001, 0, 0.897985697) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5036. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)),
  5037. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)),
  5038. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5039. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5040. }, .3, false)
  5041. moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  5042. end
  5043. elseif Torsovelocity > 2 and hit ~= nil then
  5044. Anim = "Walk"
  5045. if attack == false then
  5046. PlayAnimationFromTable({
  5047. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0),
  5048. CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  5049. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, 0),
  5050. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, 0),
  5051. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  5052. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  5053. }, .3, false)
  5054. moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  5055. end
  5056. end
  5057. if 0 < #Effects then
  5058. for e = 1, #Effects do
  5059. if Effects[e] ~= nil then
  5060. local Thing = Effects[e]
  5061. if Thing ~= nil then
  5062. local Part = Thing[1]
  5063. local Mode = Thing[2]
  5064. local Delay = Thing[3]
  5065. local IncX = Thing[4]
  5066. local IncY = Thing[5]
  5067. local IncZ = Thing[6]
  5068. if Thing[2] == "Shoot" then
  5069. local Look = Thing[1]
  5070. local move = 30
  5071. if Thing[8] == 3 then
  5072. move = 10
  5073. end
  5074. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  5075. if Thing[10] ~= nil then
  5076. da = pos
  5077. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  5078. cfa = CFrame.new(Thing[4], pos)
  5079. tehCF = cfa:lerp(cf2, 0.2)
  5080. Thing[1] = tehCF.lookVector
  5081. end
  5082. local mag = (Thing[4] - pos).magnitude
  5083. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  5084. if Thing[8] == 2 then
  5085. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  5086. end
  5087. Thing[4] = Thing[4] + Look * move
  5088. Thing[3] = Thing[3] - 1
  5089. if 2 < Thing[5] then
  5090. Thing[5] = Thing[5] - 0.3
  5091. Thing[6] = Thing[6] - 0.3
  5092. end
  5093. if hit ~= nil then
  5094. Thing[3] = 0
  5095. if Thing[8] == 1 or Thing[8] == 3 then
  5096. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  5097. else
  5098. if Thing[8] == 2 then
  5099. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  5100. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  5101. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  5102. ref.Anchored = true
  5103. ref.CFrame = CFrame.new(pos)
  5104. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  5105. game:GetService("Debris"):AddItem(ref, 0.2)
  5106. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  5107. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  5108. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  5109. end
  5110. end
  5111. end
  5112. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  5113. ref.Anchored = true
  5114. ref.CFrame = CFrame.new(pos)
  5115. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  5116. game:GetService("Debris"):AddItem(ref, 1)
  5117. end
  5118. if Thing[3] <= 0 then
  5119. table.remove(Effects, e)
  5120. end
  5121. end
  5122. do
  5123. do
  5124. if Thing[2] == "FireWave" then
  5125. if Thing[3] <= Thing[4] then
  5126. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  5127. Thing[3] = Thing[3] + 1
  5128. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  5129. else
  5130. Part.Parent = nil
  5131. table.remove(Effects, e)
  5132. end
  5133. end
  5134. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  5135. if Thing[1].Transparency <= 1 then
  5136. if Thing[2] == "Block1" then
  5137. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  5138. Mesh = Thing[7]
  5139. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5140. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5141. else
  5142. if Thing[2] == "Block2" then
  5143. Thing[1].CFrame = Thing[1].CFrame
  5144. Mesh = Thing[7]
  5145. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5146. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5147. else
  5148. if Thing[2] == "Fire" then
  5149. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  5150. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  5151. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5152. else
  5153. if Thing[2] == "Cylinder" then
  5154. Mesh = Thing[7]
  5155. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5156. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5157. else
  5158. if Thing[2] == "Blood" then
  5159. Mesh = Thing[7]
  5160. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  5161. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5162. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5163. else
  5164. if Thing[2] == "Elec" then
  5165. Mesh = Thing[10]
  5166. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  5167. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5168. else
  5169. if Thing[2] == "Disappear" then
  5170. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5171. else
  5172. if Thing[2] == "Shatter" then
  5173. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5174. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  5175. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  5176. Thing[6] = Thing[6] + Thing[5]
  5177. end
  5178. end
  5179. end
  5180. end
  5181. end
  5182. end
  5183. end
  5184. end
  5185. else
  5186. Part.Parent = nil
  5187. table.remove(Effects, e)
  5188. end
  5189. end
  5190. end
  5191. end
  5192. end
  5193. end
  5194. end
  5195. end
  5196. end
  5197. end
  5198.  
  5199. end)
  5200. end))
  5201.  
  5202. TextButton10.Parent = ScreenGui0
  5203. TextButton10.Position = UDim2.new(0.0381679386, 0, 0.45787546, 0)
  5204. TextButton10.Size = UDim2.new(0, 257, 0, 33)
  5205. TextButton10.BackgroundColor = BrickColor.new("Persimmon")
  5206. TextButton10.BackgroundColor3 = Color3.new(1, 0.45098, 0.458824)
  5207. TextButton10.BorderSizePixel = 0
  5208. TextButton10.Font = Enum.Font.ArialBold
  5209. TextButton10.FontSize = Enum.FontSize.Size14
  5210. TextButton10.Text = "Revenger claws"
  5211. TextButton10.TextColor = BrickColor.new("Really red")
  5212. TextButton10.TextColor3 = Color3.new(1, 0, 0.0156863)
  5213. TextButton10.TextScaled = true
  5214. TextButton10.TextSize = 14
  5215. TextButton10.TextStrokeTransparency = 0
  5216. TextButton10.TextWrap = true
  5217. TextButton10.TextWrapped = true
  5218. LocalScript11.Parent = TextButton10
  5219. table.insert(cors,sandbox(LocalScript11,function()
  5220. script.Parent.MouseButton1Click:connect(function()
  5221. script.Parent.Parent:Destroy()
  5222.  
  5223.  
  5224. Player=game:GetService("Players").LocalPlayer
  5225. Character=Player.Character
  5226. PlayerGui=Player.PlayerGui
  5227. Backpack=Player.Backpack
  5228. Torso=Character.Torso
  5229. Head=Character.Head
  5230. Humanoid=Character.Humanoid
  5231. m=Instance.new('Model',Character)
  5232. LeftArm=Character["Left Arm"]
  5233. LeftLeg=Character["Left Leg"]
  5234. RightArm=Character["Right Arm"]
  5235. RightLeg=Character["Right Leg"]
  5236. LS=Torso["Left Shoulder"]
  5237. LH=Torso["Left Hip"]
  5238. RS=Torso["Right Shoulder"]
  5239. RH=Torso["Right Hip"]
  5240. Face = Head.face
  5241. Neck=Torso.Neck
  5242. it=Instance.new
  5243. attacktype=1
  5244. vt=Vector3.new
  5245. cf=CFrame.new
  5246. euler=CFrame.fromEulerAnglesXYZ
  5247. angles=CFrame.Angles
  5248. cloaked=false
  5249. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  5250. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  5251. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  5252. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  5253. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  5254. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  5255. RootPart=Character.HumanoidRootPart
  5256. RootJoint=RootPart.RootJoint
  5257. RootCF=euler(-1.57,0,3.14)
  5258. attack = false
  5259. attackdebounce = false
  5260. deb=false
  5261. equipped=true
  5262. hand=false
  5263. MMouse=nil
  5264. combo=0
  5265. mana=0
  5266. trispeed=1
  5267. pathtrans=.7
  5268. attackmode='none'
  5269. local idle=0
  5270. local Anim="Idle"
  5271. local Effects={}
  5272. local gun=false
  5273. local shoot=false
  5274. player=nil
  5275. cloak=false
  5276. lightcolor='Bright blue'
  5277.  
  5278. local Color1=Torso.BrickColor
  5279.  
  5280. local fengui=it("GuiMain")
  5281. fengui.Parent=Player.PlayerGui
  5282. fengui.Name="WeaponGUI"
  5283. local fenframe=it("Frame")
  5284. fenframe.Parent=fengui
  5285. fenframe.BackgroundColor3=Color3.new(255,255,255)
  5286. fenframe.BackgroundTransparency=1
  5287. fenframe.BorderColor3=Color3.new(17,17,17)
  5288. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  5289. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  5290. local fenbarmana1=it("TextLabel")
  5291. fenbarmana1.Parent=fenframe
  5292. fenbarmana1.Text=" "
  5293. fenbarmana1.BackgroundTransparency=0
  5294. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  5295. fenbarmana1.SizeConstraint="RelativeXY"
  5296. fenbarmana1.TextXAlignment="Center"
  5297. fenbarmana1.TextYAlignment="Center"
  5298. fenbarmana1.Position=UDim2.new(0,0,0,0)
  5299. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  5300. local fenbarmana2=it("TextLabel")
  5301. fenbarmana2.Parent=fenframe
  5302. fenbarmana2.Text=" "
  5303. fenbarmana2.BackgroundTransparency=0
  5304. fenbarmana2.BackgroundColor3=Torso.Color
  5305. fenbarmana2.SizeConstraint="RelativeXY"
  5306. fenbarmana2.TextXAlignment="Center"
  5307. fenbarmana2.TextYAlignment="Center"
  5308. fenbarmana2.Position=UDim2.new(0,0,0,0)
  5309. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  5310. local fenbarmana3=it("TextLabel")
  5311. fenbarmana3.Parent=fenframe
  5312. fenbarmana3.Text=" "
  5313. fenbarmana3.BackgroundTransparency=0
  5314. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  5315. fenbarmana3.SizeConstraint="RelativeXY"
  5316. fenbarmana3.TextXAlignment="Center"
  5317. fenbarmana3.TextYAlignment="Center"
  5318. fenbarmana3.Position=UDim2.new(0,0,0,0)
  5319. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  5320. local fenbarmana4=it("TextLabel")
  5321. fenbarmana4.Parent=fenframe
  5322. fenbarmana4.Text="Energy("..mana..")"
  5323. fenbarmana4.BackgroundTransparency=1
  5324. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  5325. fenbarmana4.SizeConstraint="RelativeXY"
  5326. fenbarmana4.TextXAlignment="Center"
  5327. fenbarmana4.TextYAlignment="Center"
  5328. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  5329. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  5330. fenbarmana4.FontSize="Size9"
  5331. fenbarmana4.TextStrokeTransparency=0
  5332. fenbarmana4.TextColor=BrickColor.new("White")
  5333.  
  5334. mouse=Player:GetMouse()
  5335. --save shoulders
  5336. RSH, LSH=nil, nil
  5337. --welds
  5338. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  5339. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  5340. LH=Torso["Left Hip"]
  5341. RH=Torso["Right Hip"]
  5342. TorsoColor=Torso.BrickColor
  5343. function NoOutline(Part)
  5344. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  5345. end
  5346. player=Player
  5347. ch=Character
  5348. RSH=ch.Torso["Right Shoulder"]
  5349. LSH=ch.Torso["Left Shoulder"]
  5350. --
  5351. RSH.Parent=nil
  5352. LSH.Parent=nil
  5353. --
  5354. RW.Name="Right Shoulder"
  5355. RW.Part0=ch.Torso
  5356. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  5357. RW.C1=cf(0, 0.5, 0)
  5358. RW.Part1=ch["Right Arm"]
  5359. RW.Parent=ch.Torso
  5360. --
  5361. LW.Name="Left Shoulder"
  5362. LW.Part0=ch.Torso
  5363. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  5364. LW.C1=cf(0, 0.5, 0)
  5365. LW.Part1=ch["Left Arm"]
  5366. LW.Parent=ch.Torso
  5367.  
  5368. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  5369. local fp=it("Part")
  5370. fp.formFactor=formfactor
  5371. fp.Parent=parent
  5372. fp.Reflectance=reflectance
  5373. fp.Transparency=transparency
  5374. fp.CanCollide=false
  5375. fp.Locked=true
  5376. fp.BrickColor=brickcolor
  5377. fp.Name=name
  5378. fp.Size=size
  5379. fp.Position=Torso.Position
  5380. NoOutline(fp)
  5381. fp.Material="Neon"
  5382. fp:BreakJoints()
  5383. return fp
  5384. end
  5385.  
  5386. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  5387. local mesh=it(Mesh)
  5388. mesh.Parent=part
  5389. if Mesh=="SpecialMesh" then
  5390. mesh.MeshType=meshtype
  5391. if meshid~="nil" then
  5392. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  5393. end
  5394. end
  5395. mesh.Offset=offset
  5396. mesh.Scale=scale
  5397. return mesh
  5398. end
  5399.  
  5400. function weld(parent,part0,part1,c0)
  5401. local weld=it("Weld")
  5402. weld.Parent=parent
  5403. weld.Part0=part0
  5404. weld.Part1=part1
  5405. weld.C0=c0
  5406. return weld
  5407. end
  5408.  
  5409. local Color1=Torso.BrickColor
  5410.  
  5411. local bodvel=Instance.new("BodyVelocity")
  5412. local bg=Instance.new("BodyGyro")
  5413.  
  5414. function swait(num)
  5415. if num==0 or num==nil then
  5416. game:service'RunService'.Stepped:wait(0)
  5417. else
  5418. for i=0,num do
  5419. game:service'RunService'.Stepped:wait(0)
  5420. end
  5421. end
  5422. end
  5423.  
  5424.  
  5425. so = function(id,par,vol,pit)
  5426. coroutine.resume(coroutine.create(function()
  5427. local sou = Instance.new("Sound",par or workspace)
  5428. sou.Volume=vol
  5429. sou.Pitch=pit or 1
  5430. sou.SoundId=id
  5431. swait()
  5432. sou:play()
  5433. game:GetService("Debris"):AddItem(sou,6)
  5434. end))
  5435. end
  5436.  
  5437. function clerp(a,b,t)
  5438. local qa = {QuaternionFromCFrame(a)}
  5439. local qb = {QuaternionFromCFrame(b)}
  5440. local ax, ay, az = a.x, a.y, a.z
  5441. local bx, by, bz = b.x, b.y, b.z
  5442. local _t = 1-t
  5443. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  5444. end
  5445.  
  5446. function QuaternionFromCFrame(cf)
  5447. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  5448. local trace = m00 + m11 + m22
  5449. if trace > 0 then
  5450. local s = math.sqrt(1 + trace)
  5451. local recip = 0.5/s
  5452. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  5453. else
  5454. local i = 0
  5455. if m11 > m00 then
  5456. i = 1
  5457. end
  5458. if m22 > (i == 0 and m00 or m11) then
  5459. i = 2
  5460. end
  5461. if i == 0 then
  5462. local s = math.sqrt(m00-m11-m22+1)
  5463. local recip = 0.5/s
  5464. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  5465. elseif i == 1 then
  5466. local s = math.sqrt(m11-m22-m00+1)
  5467. local recip = 0.5/s
  5468. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  5469. elseif i == 2 then
  5470. local s = math.sqrt(m22-m00-m11+1)
  5471. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  5472. end
  5473. end
  5474. end
  5475.  
  5476. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  5477. local xs, ys, zs = x + x, y + y, z + z
  5478. local wx, wy, wz = w*xs, w*ys, w*zs
  5479. local xx = x*xs
  5480. local xy = x*ys
  5481. local xz = x*zs
  5482. local yy = y*ys
  5483. local yz = y*zs
  5484. local zz = z*zs
  5485. 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))
  5486. end
  5487.  
  5488. function QuaternionSlerp(a, b, t)
  5489. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  5490. local startInterp, finishInterp;
  5491. if cosTheta >= 0.0001 then
  5492. if (1 - cosTheta) > 0.0001 then
  5493. local theta = math.acos(cosTheta)
  5494. local invSinTheta = 1/math.sin(theta)
  5495. startInterp = math.sin((1-t)*theta)*invSinTheta
  5496. finishInterp = math.sin(t*theta)*invSinTheta
  5497. else
  5498. startInterp = 1-t
  5499. finishInterp = t
  5500. end
  5501. else
  5502. if (1+cosTheta) > 0.0001 then
  5503. local theta = math.acos(-cosTheta)
  5504. local invSinTheta = 1/math.sin(theta)
  5505. startInterp = math.sin((t-1)*theta)*invSinTheta
  5506. finishInterp = math.sin(t*theta)*invSinTheta
  5507. else
  5508. startInterp = t-1
  5509. finishInterp = t
  5510. end
  5511. end
  5512. 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
  5513. end
  5514.  
  5515. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  5516. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  5517. end
  5518.  
  5519. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  5520. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5521. prt.Anchored=true
  5522. prt.CFrame=cframe
  5523. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  5524. --http://www.roblox.com/asset/?id=4770560
  5525. game:GetService("Debris"):AddItem(prt,2)
  5526. CF=prt.CFrame
  5527. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  5528. for i=0,1,0.2 do
  5529. wait()
  5530. Part.CFrame=CF*cf(0,0,-0.4)
  5531. end
  5532. for i=0,1,delay do
  5533. wait()
  5534. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  5535. Mesh.Scale=Mesh.Scale
  5536. end
  5537. for i=0,1,0.1 do
  5538. wait()
  5539. Part.Transparency=i
  5540. end
  5541. Part.Parent=nil
  5542. end),prt,msh,CF)
  5543. end
  5544.  
  5545. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5546. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5547. prt.Anchored=true
  5548. prt.CFrame=cframe
  5549. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5550. game:GetService("Debris"):AddItem(prt,5)
  5551. coroutine.resume(coroutine.create(function(Part,Mesh)
  5552. for i=0,1,delay do
  5553. wait()
  5554. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5555. Part.Transparency=i
  5556. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5557. end
  5558. Part.Parent=nil
  5559. end),prt,msh)
  5560. end
  5561.  
  5562. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  5563. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5564. prt.Anchored=false
  5565. prt.CFrame=cframe
  5566. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5567. local wld=weld(prt,prt,Parent,cframe)
  5568. game:GetService("Debris"):AddItem(prt,5)
  5569. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  5570. for i=0,1,delay do
  5571. wait()
  5572. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  5573. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5574. Part.Transparency=i
  5575. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5576. end
  5577. Part.Parent=nil
  5578. end),prt,msh,wld)
  5579. end
  5580.  
  5581. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  5582. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5583. prt.Anchored=false
  5584. prt.CFrame=cframe
  5585. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5586. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  5587. game:GetService("Debris"):AddItem(prt,5)
  5588. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  5589. for i=0,1,delay do
  5590. wait()
  5591. Weld.C0=euler(i*20,0,0)
  5592. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5593. Part.Transparency=i
  5594. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5595. end
  5596. Part.Parent=nil
  5597. end),prt,msh,wld)
  5598. end
  5599.  
  5600. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5601. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5602. prt.Anchored=true
  5603. prt.CFrame=cframe
  5604. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5605. game:GetService("Debris"):AddItem(prt,2)
  5606. coroutine.resume(coroutine.create(function(Part,Mesh)
  5607. for i=0,1,delay do
  5608. wait()
  5609. Part.CFrame=Part.CFrame
  5610. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5611. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5612. prt2.Anchored=true
  5613. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5614. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  5615. game:GetService("Debris"):AddItem(prt2,2)
  5616. coroutine.resume(coroutine.create(function(Part,Mesh)
  5617. for i=0,1,0.1 do
  5618. wait()
  5619. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  5620. end
  5621. Part.Parent=nil
  5622. end),prt2,msh2)
  5623. end
  5624. for i=0,1,delay*2 do
  5625. wait()
  5626. Part.CFrame=Part.CFrame
  5627. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  5628. end
  5629. Part.Parent=nil
  5630. end),prt,msh)
  5631. end
  5632.  
  5633. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5634. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5635. prt.Anchored=true
  5636. prt.CFrame=cframe
  5637. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  5638. game:GetService("Debris"):AddItem(prt,2)
  5639. coroutine.resume(coroutine.create(function(Part,Mesh)
  5640. for i=0,1,delay do
  5641. wait()
  5642. Part.CFrame=Part.CFrame
  5643. Part.Transparency=i
  5644. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5645. end
  5646. Part.Parent=nil
  5647. end),prt,msh)
  5648. end
  5649.  
  5650. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  5651. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5652. prt.Anchored=true
  5653. prt.CFrame=cframe*euler(x2,y2,z2)
  5654. --"http://www.roblox.com/asset/?id=168892465"
  5655. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  5656. game:GetService("Debris"):AddItem(prt,2)
  5657. coroutine.resume(coroutine.create(function(Part,Mesh)
  5658. for i=0,1,0.03 do
  5659. wait()
  5660. Part.CFrame=Part.CFrame
  5661. Part.Transparency=i
  5662. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5663. end
  5664. Part.Parent=nil
  5665. end),prt,msh)
  5666. end
  5667.  
  5668. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  5669. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5670. prt.Anchored=true
  5671. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5672. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  5673. game:GetService("Debris"):AddItem(prt,2)
  5674. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  5675. CF=Part.CFrame
  5676. Numbb=0
  5677. randnumb=math.random()/10
  5678. rand1=math.random()/10
  5679. for i=0,1,rand1 do
  5680. wait()
  5681. CF=CF*cf(0,math.random()/2,0)
  5682. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  5683. Part.CFrame=CF*euler(Numbb,0,0)
  5684. Part.Transparency=i
  5685. Numbb=Numbb+randnumb
  5686. end
  5687. Part.Parent=nil
  5688. end),prt,CF,Numbb,randnumb)
  5689. end
  5690.  
  5691. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5692. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5693. prt.Anchored=true
  5694. prt.CFrame=cframe
  5695. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  5696. game:GetService("Debris"):AddItem(prt,5)
  5697. coroutine.resume(coroutine.create(function(Part,Mesh)
  5698. for i=0,1,delay do
  5699. wait()
  5700. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  5701. Part.Transparency=i
  5702. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5703. end
  5704. Part.Parent=nil
  5705. end),prt,msh)
  5706. end
  5707.  
  5708. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5709. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5710. prt.Anchored=true
  5711. prt.CFrame=cframe
  5712. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  5713. game:GetService("Debris"):AddItem(prt,2)
  5714. coroutine.resume(coroutine.create(function(Part,Mesh)
  5715. for i=0,1,delay do
  5716. wait()
  5717. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  5718. Part.Transparency=i
  5719. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5720. end
  5721. Part.Parent=nil
  5722. end),prt,msh)
  5723. end
  5724.  
  5725. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  5726. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5727. prt.Anchored=true
  5728. prt.CFrame=cframe*cf(x,y,z)
  5729. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  5730. game:GetService("Debris"):AddItem(prt,5)
  5731. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  5732. local num=math.random()
  5733. local num2=math.random(-3,2)+math.random()
  5734. local numm=0
  5735. for i=0,1,delay*2 do
  5736. swait()
  5737. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  5738. Part.Transparency=i
  5739. numm=numm+0.01
  5740. end
  5741. Part.Parent=nil
  5742. Mesh.Parent=nil
  5743. end),prt,msh,x,y,z)
  5744. end
  5745.  
  5746. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  5747. if hit.Parent==nil then
  5748. return
  5749. end
  5750. h=hit.Parent:FindFirstChild("Humanoid")
  5751. for _,v in pairs(hit.Parent:children()) do
  5752. if v:IsA("Humanoid") then
  5753. h=v
  5754. end
  5755. end
  5756. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  5757. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  5758. end
  5759. if hit.Parent.className=="Hat" then
  5760. hit=hit.Parent.Parent:findFirstChild("Head")
  5761. end
  5762. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  5763. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  5764. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  5765. return
  5766. end]]
  5767. -- hs(hit,1.2)
  5768. c=Instance.new("ObjectValue")
  5769. c.Name="creator"
  5770. c.Value=game:service("Players").LocalPlayer
  5771. c.Parent=h
  5772. game:GetService("Debris"):AddItem(c,.5)
  5773. Damage=math.random(minim,maxim)
  5774. -- h:TakeDamage(Damage)
  5775. blocked=false
  5776. block=hit.Parent:findFirstChild("Block")
  5777. if block~=nil then
  5778. print(block.className)
  5779. if block.className=="NumberValue" then
  5780. if block.Value>0 then
  5781. blocked=true
  5782. if decreaseblock==nil then
  5783. block.Value=block.Value-1
  5784. end
  5785. end
  5786. end
  5787. if block.className=="IntValue" then
  5788. if block.Value>0 then
  5789. blocked=true
  5790. if decreaseblock~=nil then
  5791. block.Value=block.Value-1
  5792. end
  5793. end
  5794. end
  5795. end
  5796. if blocked==false then
  5797. -- h:TakeDamage(Damage)
  5798. h.Health=h.Health-Damage
  5799. showDamage(hit.Parent,Damage,.5,TorsoColor)
  5800. else
  5801. h.Health=h.Health-(Damage/2)
  5802. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  5803. end
  5804. if Type=="Knockdown" then
  5805. hum=hit.Parent.Humanoid
  5806. hum.PlatformStand=true
  5807. coroutine.resume(coroutine.create(function(HHumanoid)
  5808. swait(1)
  5809. HHumanoid.PlatformStand=false
  5810. end),hum)
  5811. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  5812. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  5813. local bodvol=Instance.new("BodyVelocity")
  5814. bodvol.velocity=angle*knockback
  5815. bodvol.P=5000
  5816. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  5817. bodvol.Parent=hit
  5818. rl=Instance.new("BodyAngularVelocity")
  5819. rl.P=3000
  5820. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  5821. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  5822. rl.Parent=hit
  5823. game:GetService("Debris"):AddItem(bodvol,.5)
  5824. game:GetService("Debris"):AddItem(rl,.5)
  5825. elseif Type=="Normal" then
  5826. vp=Instance.new("BodyVelocity")
  5827. vp.P=500
  5828. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  5829. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  5830. if KnockbackType==1 then
  5831. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  5832. elseif KnockbackType==2 then
  5833. vp.velocity=Property.CFrame.lookVector*knockback
  5834. end
  5835. if knockback>0 then
  5836. vp.Parent=hit.Parent.Torso
  5837. end
  5838. game:GetService("Debris"):AddItem(vp,.5)
  5839. elseif Type=="Up" then
  5840. local bodyVelocity=Instance.new("BodyVelocity")
  5841. bodyVelocity.velocity=vt(0,10,0)
  5842. bodyVelocity.P=1000
  5843. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  5844. bodyVelocity.Parent=hit
  5845. game:GetService("Debris"):AddItem(bodyVelocity,1)
  5846. rl=Instance.new("BodyAngularVelocity")
  5847. rl.P=3000
  5848. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  5849. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  5850. rl.Parent=hit
  5851. game:GetService("Debris"):AddItem(rl,.5)
  5852. elseif Type=="Snare" then
  5853. bp=Instance.new("BodyPosition")
  5854. bp.P=2000
  5855. bp.D=100
  5856. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  5857. bp.position=hit.Parent.Torso.Position
  5858. bp.Parent=hit.Parent.Torso
  5859. game:GetService("Debris"):AddItem(bp,1)
  5860. elseif Type=="Target" then
  5861. if Targetting==false then
  5862. ZTarget=hit.Parent.Torso
  5863. coroutine.resume(coroutine.create(function(Part)
  5864. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  5865. swait(5)
  5866. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  5867. end),ZTarget)
  5868. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  5869. targetgui=Instance.new("BillboardGui")
  5870. targetgui.Parent=ZTarget
  5871. targetgui.Size=UDim2.new(10,100,10,100)
  5872. targ=Instance.new("ImageLabel")
  5873. targ.Parent=targetgui
  5874. targ.BackgroundTransparency=1
  5875. targ.Image="rbxassetid://4834067"
  5876. targ.Size=UDim2.new(1,0,1,0)
  5877. cam.CameraType="Scriptable"
  5878. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  5879. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  5880. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  5881. Targetting=true
  5882. RocketTarget=ZTarget
  5883. for i=1,Property do
  5884. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  5885. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  5886. swait()
  5887. end
  5888. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  5889. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  5890. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  5891. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  5892. end
  5893. Targetting=false
  5894. RocketTarget=nil
  5895. targetgui.Parent=nil
  5896. cam.CameraType="Custom"
  5897. end
  5898. end
  5899. debounce=Instance.new("BoolValue")
  5900. debounce.Name="DebounceHit"
  5901. debounce.Parent=hit.Parent
  5902. debounce.Value=true
  5903. game:GetService("Debris"):AddItem(debounce,Delay)
  5904. c=Instance.new("ObjectValue")
  5905. c.Name="creator"
  5906. c.Value=Player
  5907. c.Parent=h
  5908. game:GetService("Debris"):AddItem(c,.5)
  5909. CRIT=false
  5910. hitDeb=true
  5911. AttackPos=6
  5912. end
  5913. end
  5914.  
  5915. showDamage=function(Char,Dealt,du,Color)
  5916. m=Instance.new("Model")
  5917. m.Name=tostring(Dealt)
  5918. h=Instance.new("Humanoid")
  5919. h.Health=0
  5920. h.MaxHealth=0
  5921. h.Parent=m
  5922. c=Instance.new("Part")
  5923. c.Transparency=0
  5924. c.BrickColor=TorsoColor
  5925. c.Name="Head"
  5926. c.TopSurface=0
  5927. c.BottomSurface=0
  5928. c.formFactor="Plate"
  5929. c.Size=Vector3.new(1,.4,1)
  5930. ms=Instance.new("CylinderMesh")
  5931. ms.Scale=Vector3.new(.8,.8,.8)
  5932. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  5933. if CRIT==true then
  5934. ms.Scale=Vector3.new(1,1.25,1)
  5935. end
  5936. ms.Parent=c
  5937. c.Reflectance=0
  5938. Instance.new("BodyGyro").Parent=c
  5939. c.Parent=m
  5940. if Char:findFirstChild("Head")~=nil then
  5941. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  5942. elseif Char.Parent:findFirstChild("Head")~=nil then
  5943. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  5944. end
  5945. f=Instance.new("BodyPosition")
  5946. f.P=2000
  5947. f.D=100
  5948. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  5949. f.position=c.Position+Vector3.new(0,3,0)
  5950. f.Parent=c
  5951. game:GetService("Debris"):AddItem(m,.5+du)
  5952. c.CanCollide=false
  5953. m.Parent=workspace
  5954. c.CanCollide=false
  5955. end
  5956.  
  5957. Player=game:GetService('Players').LocalPlayer
  5958. Character=Player.Character
  5959. Mouse=Player:GetMouse()
  5960. m=Instance.new('Model',Character)
  5961.  
  5962.  
  5963. local function weldBetween(a, b)
  5964. local weldd = Instance.new("ManualWeld")
  5965. weldd.Part0 = a
  5966. weldd.Part1 = b
  5967. weldd.C0 = CFrame.new()
  5968. weldd.C1 = b.CFrame:inverse() * a.CFrame
  5969. weldd.Parent = a
  5970. return weldd
  5971. end
  5972.  
  5973. it=Instance.new
  5974.  
  5975. function nooutline(part)
  5976. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  5977. end
  5978.  
  5979. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  5980. local fp=it("Part")
  5981. fp.formFactor=formfactor
  5982. fp.Parent=parent
  5983. fp.Reflectance=reflectance
  5984. fp.Transparency=transparency
  5985. fp.CanCollide=false
  5986. fp.Locked=true
  5987. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  5988. fp.Name=name
  5989. fp.Size=size
  5990. fp.Position=Character.Torso.Position
  5991. nooutline(fp)
  5992. fp.Material=material
  5993. fp:BreakJoints()
  5994. return fp
  5995. end
  5996.  
  5997. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  5998. local mesh=it(Mesh)
  5999. mesh.Parent=part
  6000. if Mesh=="SpecialMesh" then
  6001. mesh.MeshType=meshtype
  6002. mesh.MeshId=meshid
  6003. end
  6004. mesh.Offset=offset
  6005. mesh.Scale=scale
  6006. return mesh
  6007. end
  6008.  
  6009. function weld(parent,part0,part1,c0,c1)
  6010. local weld=it("Weld")
  6011. weld.Parent=parent
  6012. weld.Part0=part0
  6013. weld.Part1=part1
  6014. weld.C0=c0
  6015. weld.C1=c1
  6016. return weld
  6017. end
  6018.  
  6019. local modelzorz=Instance.new("Model")
  6020. modelzorz.Parent=Character
  6021. modelzorz.Name="Claw1"
  6022.  
  6023. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  6024. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  6025. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  6026. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6027. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  6028. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  6029. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  6030. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  6031. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6032. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  6033. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6034. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  6035. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6036. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  6037. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6038. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  6039. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6040. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  6041. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6042. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  6043. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6044. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  6045. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6046. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  6047. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  6048. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  6049. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  6050. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6051. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  6052. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  6053. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  6054. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  6055. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  6056. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  6057. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  6058. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  6059. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  6060. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  6061. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  6062. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  6063. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  6064.  
  6065. local modelzorz2=Instance.new("Model")
  6066. modelzorz2.Parent=Character
  6067. modelzorz2.Name="Claw2"
  6068.  
  6069. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  6070. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  6071. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  6072. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6073. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  6074. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6075. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  6076. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6077. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  6078. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  6079. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  6080. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  6081. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  6082. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  6083. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  6084. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6085. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  6086. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  6087. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  6088. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  6089. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6090. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  6091. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  6092. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  6093. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  6094. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6095. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  6096. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  6097. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  6098. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  6099. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6100. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  6101. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6102. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  6103. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6104. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  6105. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  6106. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  6107. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  6108. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  6109. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  6110.  
  6111. local modelzorz3=Instance.new("Model")
  6112. modelzorz3.Parent=Character
  6113. modelzorz3.Name="Eye"
  6114.  
  6115. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  6116. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  6117. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  6118. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  6119. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  6120. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  6121. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  6122. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  6123. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  6124. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  6125. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  6126. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  6127. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  6128. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  6129. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  6130. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  6131. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  6132. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  6133. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  6134. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  6135. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  6136. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  6137. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  6138. local moosick = it("Sound",Character)
  6139. moosick.SoundId = "rbxassetid://142653441"
  6140. --142653441, 175067863
  6141. moosick.Looped = true
  6142. moosick.Pitch = 1
  6143. moosick.Volume = 0
  6144. moosick:Play()
  6145.  
  6146. anim = Character:findFirstChild("Animate")
  6147. if anim then
  6148. anim:Destroy()
  6149. end
  6150.  
  6151. local particleemitter = Instance.new("ParticleEmitter", Handle)
  6152. particleemitter.VelocitySpread = 180
  6153. particleemitter.Lifetime = NumberRange.new(0.1)
  6154. particleemitter.Speed = NumberRange.new(2)
  6155. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  6156. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  6157. particleemitter.Rate = 100
  6158. particleemitter.Rotation = NumberRange.new(-45, 45)
  6159. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  6160. particleemitter.LightEmission = 0
  6161. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  6162.  
  6163. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  6164. particleemitter.VelocitySpread = 180
  6165. particleemitter.Lifetime = NumberRange.new(0.1)
  6166. particleemitter.Speed = NumberRange.new(2)
  6167. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  6168. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  6169. particleemitter.Rate = 100
  6170. particleemitter.Rotation = NumberRange.new(-45, 45)
  6171. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  6172. particleemitter.LightEmission = 0
  6173. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  6174.  
  6175. local particleemitter = Instance.new("ParticleEmitter", handle)
  6176. particleemitter.VelocitySpread = 180
  6177. particleemitter.Lifetime = NumberRange.new(0.1)
  6178. particleemitter.Speed = NumberRange.new(2)
  6179. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  6180. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  6181. particleemitter.Rate = 100
  6182. particleemitter.Rotation = NumberRange.new(-45, 45)
  6183. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  6184. particleemitter.LightEmission = 0.8
  6185. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  6186.  
  6187. local light = Instance.new("PointLight", Character.Torso)
  6188. light.Color = Color3.new(255,255,255)
  6189. light.Brightness = 5
  6190. light.Range = 15
  6191.  
  6192. particleemitter.Enabled = true
  6193.  
  6194. local Footsteps = it("Sound",Character.Torso)
  6195. Footsteps.SoundId = "rbxassetid://142665235"
  6196. Footsteps.Looped = true
  6197. Footsteps.Pitch = 0.8
  6198. Footsteps.Volume = 0.3
  6199.  
  6200. local Footsteps2 = it("Sound",Character.Torso)
  6201. Footsteps2.SoundId = "rbxassetid://142665235"
  6202. Footsteps2.Looped = true
  6203. Footsteps2.Pitch = 1
  6204. Footsteps2.Volume = 0.4
  6205.  
  6206. local cam = game.Workspace.CurrentCamera
  6207.  
  6208. --cam.CameraSubject = Character
  6209.  
  6210. for i,v in pairs(Head:children()) do
  6211. if v:IsA("Sound") then
  6212. v:Destroy()
  6213. end
  6214. end
  6215.  
  6216. mouse.Button1Down:connect(function()
  6217. if attack==false and attacktype==1 then
  6218. attacktype=2
  6219. attackone()
  6220. elseif attack==false and attacktype==2 then
  6221. attacktype=3
  6222. attacktwo()
  6223. elseif attack==false and attacktype==3 then
  6224. attacktype=4
  6225. attackthree()
  6226. elseif attack==false and attacktype==4 then
  6227. attacktype=1
  6228. attackfour()
  6229. end
  6230. end)
  6231.  
  6232. mouse.KeyDown:connect(function(k)
  6233. k=k:lower()
  6234. if k=='e' then
  6235. if attack==false and mana>=20 then
  6236. Push()
  6237. end
  6238. elseif k=='g' then
  6239. if attack==false and mana>=50 then
  6240. Twirl()
  6241. end
  6242. elseif k=='v' then
  6243. if attack==false and mana>=25 then
  6244. MagicJump()
  6245. end
  6246. elseif k=='q' then
  6247. if attack==false then
  6248. idle=1000
  6249. end
  6250. elseif k=='h' then
  6251. if attack==false then
  6252. mana=100
  6253. end
  6254. elseif k=='y' then
  6255. if attack==false and mana>=100 then
  6256. Shred()
  6257. end
  6258. elseif k=='f' then
  6259. if attack==false and mana>=40 then
  6260. Spin()
  6261. end
  6262. elseif k=='r' then
  6263. if attack==false and mana>=20 then
  6264. Clap()
  6265. end
  6266. elseif k=='t' then
  6267. if attack==false then
  6268. Hai()
  6269. end
  6270. elseif k=='0' then
  6271. if attack==false then
  6272. Humanoid.WalkSpeed=(56)
  6273. end
  6274. elseif k=='j' then
  6275. if attack==false then
  6276. Humanoid.Health = 100
  6277. print("Congrats, you commited suicide.")
  6278. end
  6279. end
  6280. end)
  6281.  
  6282. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  6283. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  6284. prt.Anchored=true
  6285. prt.CFrame=cframe
  6286. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  6287. game:GetService("Debris"):AddItem(prt,2)
  6288. coroutine.resume(coroutine.create(function(Part,Mesh)
  6289. for i=0,1,delay do
  6290. wait()
  6291. Part.CFrame=Part.CFrame
  6292. Part.Transparency=i
  6293. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  6294. end
  6295. Part.Parent=nil
  6296. end),prt,msh)
  6297. end
  6298.  
  6299. TrailDeb = false
  6300.  
  6301. function equipanim()
  6302. attack=true
  6303. Humanoid.WalkSpeed = 0
  6304. if TrailDeb == false then
  6305. TrailDeb = true
  6306. end
  6307.  
  6308.  
  6309. coroutine.wrap(function()
  6310. local Old = handle.CFrame.p
  6311. while wait()do
  6312. if not TrailDeb then break end
  6313. local New = handle.CFrame.p
  6314. local Mag =(Old -New).magnitude
  6315. local Dis =(Old +New)/2
  6316. local Trail = Instance.new("Part",Character)
  6317. Trail.Material = "Neon"
  6318. Trail.Anchored = true
  6319. Trail.CanCollide = false
  6320. Trail.BrickColor = TorsoColor
  6321. Trail.Size = Vector3.new(0.2,Mag,0.2)
  6322. Trail.TopSurface = 0
  6323. Trail.BottomSurface = 0
  6324. Trail.formFactor = "Custom"
  6325. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  6326. local ms = Instance.new("BlockMesh",Trail)
  6327. ms.Scale = Vector3.new(1,1,1)
  6328. local TM = Instance.new("CylinderMesh",Trail)
  6329. TM.Scale = Vector3.new(1,1,1)
  6330. Old = New
  6331. coroutine.wrap(function()
  6332. for i = 1,0,-0.1 do
  6333. wait()
  6334. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  6335. end
  6336. Trail:remove()
  6337. end)()
  6338. coroutine.wrap(function()
  6339. for i = 1,10 do
  6340. wait()
  6341. Trail.Transparency = Trail.Transparency +0.1
  6342. end end)()end end)()
  6343. coroutine.wrap(function()
  6344. local Old = Handle.CFrame.p
  6345. while wait()do
  6346. if not TrailDeb then break end
  6347. local New = Handle.CFrame.p
  6348. local Mag =(Old -New).magnitude
  6349. local Dis =(Old +New)/2
  6350. local Trail = Instance.new("Part",Character)
  6351. Trail.Material = "Neon"
  6352. Trail.Anchored = true
  6353. Trail.CanCollide = false
  6354. Trail.BrickColor = TorsoColor
  6355. Trail.Size = Vector3.new(0.2,Mag,0.2)
  6356. Trail.TopSurface = 0
  6357. Trail.BottomSurface = 0
  6358. Trail.formFactor = "Custom"
  6359. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  6360. local ms = Instance.new("BlockMesh",Trail)
  6361. ms.Scale = Vector3.new(1,1,1)
  6362. local TM = Instance.new("CylinderMesh",Trail)
  6363. TM.Scale = Vector3.new(1,1,1)
  6364. Old = New
  6365. coroutine.wrap(function()
  6366. for i = 1,0,-0.1 do
  6367. wait()
  6368. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  6369. end
  6370. Trail:remove()
  6371. end)()
  6372. coroutine.wrap(function()
  6373. for i = 1,10 do
  6374. wait()
  6375. Trail.Transparency = Trail.Transparency +0.1
  6376. end end)()end end)()
  6377. coroutine.wrap(function()
  6378. local Old = Handle2.CFrame.p
  6379. while wait()do
  6380. if not TrailDeb then break end
  6381. local New = Handle2.CFrame.p
  6382. local Mag =(Old -New).magnitude
  6383. local Dis =(Old +New)/2
  6384. local Trail = Instance.new("Part",Character)
  6385. Trail.Material = "Neon"
  6386. Trail.Anchored = true
  6387. Trail.CanCollide = false
  6388. Trail.BrickColor = TorsoColor
  6389. Trail.Size = Vector3.new(0.2,Mag,0.2)
  6390. Trail.TopSurface = 0
  6391. Trail.BottomSurface = 0
  6392. Trail.formFactor = "Custom"
  6393. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  6394. local ms = Instance.new("BlockMesh",Trail)
  6395. ms.Scale = Vector3.new(1,1,1)
  6396. local TM = Instance.new("CylinderMesh",Trail)
  6397. TM.Scale = Vector3.new(1,1,1)
  6398. Old = New
  6399. coroutine.wrap(function()
  6400. for i = 1,0,-0.1 do
  6401. wait()
  6402. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  6403. end
  6404. Trail:remove()
  6405. end)()
  6406. coroutine.wrap(function()
  6407. for i = 1,10 do
  6408. wait()
  6409. Trail.Transparency = Trail.Transparency +0.1
  6410. end end)()end end)()
  6411. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  6412. for i=0,1,0.005 do
  6413. swait()
  6414. moosick.Volume = 0+1*i
  6415. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  6416. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  6417. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  6418. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  6419. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  6420. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  6421. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  6422. end
  6423. for i=0,1,0.005 do
  6424. swait()
  6425. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  6426. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  6427. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  6428. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  6429. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  6430. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  6431. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  6432. end
  6433. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  6434. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  6435. for i=0,1,0.005 do
  6436. swait()
  6437. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  6438. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  6439. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  6440. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  6441. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  6442. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  6443. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  6444. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  6445. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  6446. end
  6447. for i=0,1,0.04 do
  6448. swait()
  6449. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  6450. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6451. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6452. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  6453. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  6454. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  6455. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  6456. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  6457. end
  6458. --dmgstop()
  6459. attack=false
  6460. Humanoid.WalkSpeed = 12
  6461. if TrailDeb == true then
  6462. TrailDeb = false
  6463. end
  6464. end
  6465.  
  6466. function attackone()
  6467. attack=true
  6468. if TrailDeb == false then
  6469. TrailDeb = true
  6470. end
  6471.  
  6472.  
  6473. coroutine.wrap(function()
  6474. local Old = Handle.CFrame.p
  6475. while wait()do
  6476. if not TrailDeb then break end
  6477. local New = Handle.CFrame.p
  6478. local Mag =(Old -New).magnitude
  6479. local Dis =(Old +New)/2
  6480. local Trail = Instance.new("Part",Character)
  6481. Trail.Material = "Neon"
  6482. Trail.Anchored = true
  6483. Trail.CanCollide = false
  6484. Trail.BrickColor = TorsoColor
  6485. Trail.Size = Vector3.new(0.2,Mag,0.2)
  6486. Trail.TopSurface = 0
  6487. Trail.BottomSurface = 0
  6488. Trail.formFactor = "Custom"
  6489. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  6490. local ms = Instance.new("BlockMesh",Trail)
  6491. ms.Scale = Vector3.new(1,1,1)
  6492. local TM = Instance.new("CylinderMesh",Trail)
  6493. TM.Scale = Vector3.new(1,1,1)
  6494. Old = New
  6495. coroutine.wrap(function()
  6496. for i = 1,0,-0.1 do
  6497. wait()
  6498. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  6499. end
  6500. Trail:remove()
  6501. end)()
  6502. coroutine.wrap(function()
  6503. for i = 1,10 do
  6504. wait()
  6505. Trail.Transparency = Trail.Transparency +0.1
  6506. end end)()end end)()
  6507. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  6508. for i=0,1,0.08 do
  6509. swait()
  6510. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  6511. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  6512. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6513. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6514. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6515. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  6516. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  6517. end
  6518. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  6519. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  6520. for i=0,1,0.1 do
  6521. swait()
  6522. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  6523. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  6524. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6525. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  6526. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6527. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  6528. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  6529. end
  6530. --dmgstop()
  6531. attack=false
  6532. con1:disconnect()
  6533. if TrailDeb == true then
  6534. TrailDeb = false
  6535. end
  6536. end
  6537.  
  6538. function attacktwo()
  6539. attack=true
  6540. if TrailDeb == false then
  6541. TrailDeb = true
  6542. end
  6543.  
  6544.  
  6545. coroutine.wrap(function()
  6546. local Old = Handle2.CFrame.p
  6547. while wait()do
  6548. if not TrailDeb then break end
  6549. local New = Handle2.CFrame.p
  6550. local Mag =(Old -New).magnitude
  6551. local Dis =(Old +New)/2
  6552. local Trail = Instance.new("Part",Character)
  6553. Trail.Material = "Neon"
  6554. Trail.Anchored = true
  6555. Trail.CanCollide = false
  6556. Trail.BrickColor = TorsoColor
  6557. Trail.Size = Vector3.new(0.2,Mag,0.2)
  6558. Trail.TopSurface = 0
  6559. Trail.BottomSurface = 0
  6560. Trail.formFactor = "Custom"
  6561. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  6562. local ms = Instance.new("BlockMesh",Trail)
  6563. ms.Scale = Vector3.new(1,1,1)
  6564. local TM = Instance.new("CylinderMesh",Trail)
  6565. TM.Scale = Vector3.new(1,1,1)
  6566. Old = New
  6567. coroutine.wrap(function()
  6568. for i = 1,0,-0.1 do
  6569. wait()
  6570. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  6571. end
  6572. Trail:remove()
  6573. end)()
  6574. coroutine.wrap(function()
  6575. for i = 1,10 do
  6576. wait()
  6577. Trail.Transparency = Trail.Transparency +0.1
  6578. end end)()end end)()
  6579. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  6580. for i=0,1,0.08 do
  6581. swait()
  6582. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  6583. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  6584. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6585. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  6586. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6587. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  6588. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  6589. end
  6590. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  6591. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  6592. for i=0,1,0.1 do
  6593. swait()
  6594. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  6595. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  6596. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6597. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  6598. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6599. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  6600. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  6601. end
  6602. --dmgstop()
  6603. attack=false
  6604. con1:disconnect()
  6605. if TrailDeb == true then
  6606. TrailDeb = false
  6607. end
  6608. end
  6609.  
  6610. function attackthree()
  6611. attack=true
  6612. if TrailDeb == false then
  6613. TrailDeb = true
  6614. end
  6615.  
  6616.  
  6617. coroutine.wrap(function()
  6618. local Old = Handle.CFrame.p
  6619. while wait()do
  6620. if not TrailDeb then break end
  6621. local New = Handle.CFrame.p
  6622. local Mag =(Old -New).magnitude
  6623. local Dis =(Old +New)/2
  6624. local Trail = Instance.new("Part",Character)
  6625. Trail.Material = "Neon"
  6626. Trail.Anchored = true
  6627. Trail.CanCollide = false
  6628. Trail.BrickColor = TorsoColor
  6629. Trail.Size = Vector3.new(0.2,Mag,0.2)
  6630. Trail.TopSurface = 0
  6631. Trail.BottomSurface = 0
  6632. Trail.formFactor = "Custom"
  6633. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  6634. local ms = Instance.new("BlockMesh",Trail)
  6635. ms.Scale = Vector3.new(1,1,1)
  6636. local TM = Instance.new("CylinderMesh",Trail)
  6637. TM.Scale = Vector3.new(1,1,1)
  6638. Old = New
  6639. coroutine.wrap(function()
  6640. for i = 1,0,-0.1 do
  6641. wait()
  6642. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  6643. end
  6644. Trail:remove()
  6645. end)()
  6646. coroutine.wrap(function()
  6647. for i = 1,10 do
  6648. wait()
  6649. Trail.Transparency = Trail.Transparency +0.1
  6650. end end)()end end)()
  6651. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  6652. for i=0,1,0.08 do
  6653. swait()
  6654. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  6655. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  6656. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6657. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  6658. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6659. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  6660. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  6661. end
  6662. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  6663. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  6664. for i=0,1,0.05 do
  6665. swait()
  6666. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  6667. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  6668. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6669. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  6670. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6671. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  6672. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  6673. end
  6674. --dmgstop()
  6675. attack=false
  6676. con1:disconnect()
  6677. if TrailDeb == true then
  6678. TrailDeb = false
  6679. end
  6680. end
  6681.  
  6682. function attackfour()
  6683. attack=true
  6684. if TrailDeb == false then
  6685. TrailDeb = true
  6686. end
  6687.  
  6688.  
  6689. coroutine.wrap(function()
  6690. local Old = Handle2.CFrame.p
  6691. while wait()do
  6692. if not TrailDeb then break end
  6693. local New = Handle2.CFrame.p
  6694. local Mag =(Old -New).magnitude
  6695. local Dis =(Old +New)/2
  6696. local Trail = Instance.new("Part",Character)
  6697. Trail.Material = "Neon"
  6698. Trail.Anchored = true
  6699. Trail.CanCollide = false
  6700. Trail.BrickColor = TorsoColor
  6701. Trail.Size = Vector3.new(0.2,Mag,0.2)
  6702. Trail.TopSurface = 0
  6703. Trail.BottomSurface = 0
  6704. Trail.formFactor = "Custom"
  6705. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  6706. local ms = Instance.new("BlockMesh",Trail)
  6707. ms.Scale = Vector3.new(1,1,1)
  6708. local TM = Instance.new("CylinderMesh",Trail)
  6709. TM.Scale = Vector3.new(1,1,1)
  6710. Old = New
  6711. coroutine.wrap(function()
  6712. for i = 1,0,-0.1 do
  6713. wait()
  6714. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  6715. end
  6716. Trail:remove()
  6717. end)()
  6718. coroutine.wrap(function()
  6719. for i = 1,10 do
  6720. wait()
  6721. Trail.Transparency = Trail.Transparency +0.1
  6722. end end)()end end)()
  6723. coroutine.wrap(function()
  6724. local Old = Handle.CFrame.p
  6725. while wait()do
  6726. if not TrailDeb then break end
  6727. local New = Handle.CFrame.p
  6728. local Mag =(Old -New).magnitude
  6729. local Dis =(Old +New)/2
  6730. local Trail = Instance.new("Part",Character)
  6731. Trail.Material = "Neon"
  6732. Trail.Anchored = true
  6733. Trail.CanCollide = false
  6734. Trail.BrickColor = TorsoColor
  6735. Trail.Size = Vector3.new(0.2,Mag,0.2)
  6736. Trail.TopSurface = 0
  6737. Trail.BottomSurface = 0
  6738. Trail.formFactor = "Custom"
  6739. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  6740. local ms = Instance.new("BlockMesh",Trail)
  6741. ms.Scale = Vector3.new(1,1,1)
  6742. local TM = Instance.new("CylinderMesh",Trail)
  6743. TM.Scale = Vector3.new(1,1,1)
  6744. Old = New
  6745. coroutine.wrap(function()
  6746. for i = 1,0,-0.1 do
  6747. wait()
  6748. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  6749. end
  6750. Trail:remove()
  6751. end)()
  6752. coroutine.wrap(function()
  6753. for i = 1,10 do
  6754. wait()
  6755. Trail.Transparency = Trail.Transparency +0.1
  6756. end end)()end end)()
  6757. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  6758. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  6759. for i=0,1,0.08 do
  6760. swait()
  6761. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  6762. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6763. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6764. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  6765. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  6766. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  6767. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  6768. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  6769. end
  6770. if anim then
  6771. anim.Disabled=true
  6772. end
  6773. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  6774. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  6775. for i=0,1,0.04 do
  6776. swait()
  6777. Torso.Velocity=RootPart.CFrame.lookVector*50
  6778. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  6779. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6780. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6781. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  6782. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  6783. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  6784. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6785. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6786. end
  6787. --dmgstop()
  6788. attack=false
  6789. con1:disconnect()
  6790. con2:disconnect()
  6791. if anim then
  6792. anim.Disabled=false
  6793. end
  6794. if TrailDeb == true then
  6795. TrailDeb = false
  6796. end
  6797. end
  6798.  
  6799. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  6800. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  6801. prt.Anchored = true
  6802. prt.CFrame = cframe
  6803. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  6804. coroutine.resume(coroutine.create(function()
  6805. for i = 0, 1, 0.05 do
  6806. wait()
  6807. prt.Transparency = i
  6808. msh.Scale = msh.Scale + vt(x2, y2, z2)
  6809. end
  6810. prt.Parent = nil
  6811. end))
  6812. end
  6813.  
  6814. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  6815. for _, c in pairs(workspace:children()) do
  6816. local hum = c:findFirstChild("Humanoid")
  6817. if hum ~= nil then
  6818. local head = c:findFirstChild("Torso")
  6819. if head ~= nil then
  6820. local targ = head.Position - Part.Position
  6821. local mag = targ.magnitude
  6822. if mag <= magni and c.Name ~= Player.Name then
  6823. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  6824. end
  6825. end
  6826. end
  6827. end
  6828. end
  6829.  
  6830. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  6831. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  6832. prt.Anchored = true
  6833. prt.CFrame = cframe
  6834. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  6835. game:GetService("Debris"):AddItem(prt, 2)
  6836. coroutine.resume(coroutine.create(function(Part, Mesh)
  6837. for i = 0, 1, delay do
  6838. swait()
  6839. Part.CFrame = Part.CFrame
  6840. Part.Transparency = i
  6841. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  6842. end
  6843. Part.Parent = nil
  6844. end), prt, msh)
  6845. end
  6846.  
  6847. function MagicJump()
  6848. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  6849. attack=true
  6850. mana=mana-25
  6851. --[[ Humanoid.WalkSpeed = 0
  6852. for i=0,1,0.01 do
  6853. swait()
  6854. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  6855. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  6856. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  6857. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  6858. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  6859. RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
  6860. LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
  6861. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  6862. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  6863. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  6864. end]]--
  6865. Humanoid.Jump = true
  6866. Torso.Velocity = vt(0, 150, 0)
  6867. Humanoid.WalkSpeed = 64
  6868. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  6869. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  6870. for i=0,1,0.05 do
  6871. swait()
  6872. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  6873. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  6874. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  6875. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  6876. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  6877. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  6878. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  6879. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  6880. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  6881. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  6882. end
  6883. for i=0,1,0.02 do
  6884. swait()
  6885. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  6886. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  6887. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  6888. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  6889. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  6890. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  6891. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  6892. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  6893. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  6894. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6895. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  6896. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  6897. end
  6898. Humanoid.WalkSpeed = 0
  6899. swait(8)
  6900. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  6901. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  6902. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  6903. if hit~=nil then
  6904. swait(2)
  6905. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  6906. ref.Anchored=true
  6907. ref.CFrame=cf(pos)
  6908. game:GetService("Debris"):AddItem(ref,3)
  6909. for i=1,10 do
  6910. local Col=BrickColor.new("Really black")
  6911. local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  6912. groundpart.Anchored=true
  6913. groundpart.CanCollide=false
  6914. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  6915. local Col2=TorsoColor
  6916. local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  6917. groundpart2.Anchored=true
  6918. groundpart2.CanCollide=false
  6919. groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  6920. game:GetService("Debris"):AddItem(groundpart,5)
  6921. game:GetService("Debris"):AddItem(groundpart2,5)
  6922. end
  6923. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  6924. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  6925. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  6926. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  6927. for i=0,1,0.06 do
  6928. swait()
  6929. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  6930. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  6931. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  6932. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  6933. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  6934. RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  6935. LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  6936. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6937. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  6938. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  6939. end
  6940. end
  6941. swait(20)
  6942. Humanoid.WalkSpeed = 12
  6943. --dmgstop()
  6944. attack=false
  6945. end
  6946. end
  6947.  
  6948. function Spin()
  6949. attack=true
  6950. mana=mana-40
  6951. if TrailDeb == false then
  6952. TrailDeb = true
  6953. end
  6954.  
  6955. coroutine.wrap(function()
  6956. local Old = Handle2.CFrame.p
  6957. while wait()do
  6958. if not TrailDeb then break end
  6959. local New = Handle2.CFrame.p
  6960. local Mag =(Old -New).magnitude
  6961. local Dis =(Old +New)/2
  6962. local Trail = Instance.new("Part",Character)
  6963. Trail.Material = "Neon"
  6964. Trail.Anchored = true
  6965. Trail.CanCollide = false
  6966. Trail.BrickColor = TorsoColor
  6967. Trail.Size = Vector3.new(0.2,Mag,0.2)
  6968. Trail.TopSurface = 0
  6969. Trail.BottomSurface = 0
  6970. Trail.formFactor = "Custom"
  6971. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  6972. local ms = Instance.new("BlockMesh",Trail)
  6973. ms.Scale = Vector3.new(1,1,1)
  6974. local TM = Instance.new("CylinderMesh",Trail)
  6975. TM.Scale = Vector3.new(1,1,1)
  6976. Old = New
  6977. coroutine.wrap(function()
  6978. for i = 1,0,-0.1 do
  6979. wait()
  6980. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  6981. end
  6982. Trail:remove()
  6983. end)()
  6984. coroutine.wrap(function()
  6985. for i = 1,10 do
  6986. wait()
  6987. Trail.Transparency = Trail.Transparency +0.1
  6988. end end)()end end)()
  6989. coroutine.wrap(function()
  6990. local Old = Handle.CFrame.p
  6991. while wait()do
  6992. if not TrailDeb then break end
  6993. local New = Handle.CFrame.p
  6994. local Mag =(Old -New).magnitude
  6995. local Dis =(Old +New)/2
  6996. local Trail = Instance.new("Part",Character)
  6997. Trail.Material = "Neon"
  6998. Trail.Anchored = true
  6999. Trail.CanCollide = false
  7000. Trail.BrickColor = TorsoColor
  7001. Trail.Size = Vector3.new(0.2,Mag,0.2)
  7002. Trail.TopSurface = 0
  7003. Trail.BottomSurface = 0
  7004. Trail.formFactor = "Custom"
  7005. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  7006. local ms = Instance.new("BlockMesh",Trail)
  7007. ms.Scale = Vector3.new(1,1,1)
  7008. local TM = Instance.new("CylinderMesh",Trail)
  7009. TM.Scale = Vector3.new(1,1,1)
  7010. Old = New
  7011. coroutine.wrap(function()
  7012. for i = 1,0,-0.1 do
  7013. wait()
  7014. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  7015. end
  7016. Trail:remove()
  7017. end)()
  7018. coroutine.wrap(function()
  7019. for i = 1,10 do
  7020. wait()
  7021. Trail.Transparency = Trail.Transparency +0.1
  7022. end end)()end end)()
  7023. Footsteps:Stop()
  7024. Footsteps2:Stop()
  7025. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  7026. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  7027. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  7028. for i=0,1,0.1 do
  7029. swait()
  7030. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7031. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7032. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7033. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7034. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7035. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7036. end
  7037. if anim then
  7038. anim.Disabled=true
  7039. end
  7040. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  7041. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  7042. for i=0,1,0.05 do
  7043. swait()
  7044. Torso.Velocity=RootPart.CFrame.lookVector*100
  7045. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  7046. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7047. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7048. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7049. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7050. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7051. end
  7052. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  7053. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  7054. for i=0,1,0.05 do
  7055. swait()
  7056. Torso.Velocity=RootPart.CFrame.lookVector*100
  7057. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  7058. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7059. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7060. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7061. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7062. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7063. end
  7064. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  7065. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  7066. for i=0,1,0.05 do
  7067. swait()
  7068. Torso.Velocity=RootPart.CFrame.lookVector*100
  7069. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  7070. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7071. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7072. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7073. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7074. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7075. end
  7076. --dmgstop()
  7077. Humanoid.WalkSpeed=12
  7078. attack=false
  7079. con1:disconnect()
  7080. con2:disconnect()
  7081. if anim then
  7082. anim.Disabled=false
  7083. end
  7084. if TrailDeb == true then
  7085. TrailDeb = false
  7086. end
  7087. end
  7088.  
  7089. function Twirl()
  7090. mana=mana-50
  7091. attack=true
  7092. if TrailDeb == false then
  7093. TrailDeb = true
  7094. end
  7095.  
  7096.  
  7097. coroutine.wrap(function()
  7098. local Old = Handle2.CFrame.p
  7099. while wait()do
  7100. if not TrailDeb then break end
  7101. local New = Handle2.CFrame.p
  7102. local Mag =(Old -New).magnitude
  7103. local Dis =(Old +New)/2
  7104. local Trail = Instance.new("Part",Character)
  7105. Trail.Material = "Neon"
  7106. Trail.Anchored = true
  7107. Trail.CanCollide = false
  7108. Trail.BrickColor = TorsoColor
  7109. Trail.Size = Vector3.new(0.2,Mag,0.2)
  7110. Trail.TopSurface = 0
  7111. Trail.BottomSurface = 0
  7112. Trail.formFactor = "Custom"
  7113. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  7114. local ms = Instance.new("BlockMesh",Trail)
  7115. ms.Scale = Vector3.new(1,1,1)
  7116. local TM = Instance.new("CylinderMesh",Trail)
  7117. TM.Scale = Vector3.new(1,1,1)
  7118. Old = New
  7119. coroutine.wrap(function()
  7120. for i = 1,0,-0.1 do
  7121. wait()
  7122. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  7123. end
  7124. Trail:remove()
  7125. end)()
  7126. coroutine.wrap(function()
  7127. for i = 1,10 do
  7128. wait()
  7129. Trail.Transparency = Trail.Transparency +0.1
  7130. end end)()end end)()
  7131. coroutine.wrap(function()
  7132. local Old = Handle.CFrame.p
  7133. while wait()do
  7134. if not TrailDeb then break end
  7135. local New = Handle.CFrame.p
  7136. local Mag =(Old -New).magnitude
  7137. local Dis =(Old +New)/2
  7138. local Trail = Instance.new("Part",Character)
  7139. Trail.Material = "Neon"
  7140. Trail.Anchored = true
  7141. Trail.CanCollide = false
  7142. Trail.BrickColor = TorsoColor
  7143. Trail.Size = Vector3.new(0.2,Mag,0.2)
  7144. Trail.TopSurface = 0
  7145. Trail.BottomSurface = 0
  7146. Trail.formFactor = "Custom"
  7147. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  7148. local ms = Instance.new("BlockMesh",Trail)
  7149. ms.Scale = Vector3.new(1,1,1)
  7150. local TM = Instance.new("CylinderMesh",Trail)
  7151. TM.Scale = Vector3.new(1,1,1)
  7152. Old = New
  7153. coroutine.wrap(function()
  7154. for i = 1,0,-0.1 do
  7155. wait()
  7156. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  7157. end
  7158. Trail:remove()
  7159. end)()
  7160. coroutine.wrap(function()
  7161. for i = 1,10 do
  7162. wait()
  7163. Trail.Transparency = Trail.Transparency +0.1
  7164. end end)()end end)()
  7165. Footsteps:Stop()
  7166. Footsteps2:Stop()
  7167. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  7168. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  7169. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  7170. for i=0,1,0.1 do
  7171. swait()
  7172. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7173. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7174. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7175. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7176. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7177. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7178. end
  7179. if anim then
  7180. anim.Disabled=true
  7181. end
  7182. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  7183. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  7184. for i=0,1,0.05 do
  7185. swait()
  7186. Torso.Velocity=RootPart.CFrame.lookVector*80
  7187. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  7188. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7189. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7190. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7191. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7192. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7193. end
  7194. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  7195. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  7196. for i=0,1,0.05 do
  7197. swait()
  7198. Torso.Velocity=RootPart.CFrame.lookVector*80
  7199. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  7200. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7201. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7202. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7203. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7204. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7205. end
  7206. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  7207. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  7208. for i=0,1,0.05 do
  7209. swait()
  7210. Torso.Velocity=RootPart.CFrame.lookVector*80
  7211. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  7212. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7213. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7214. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7215. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7216. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7217. end
  7218. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  7219. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  7220. for i=0,1,0.05 do
  7221. swait()
  7222. Torso.Velocity=RootPart.CFrame.lookVector*80
  7223. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  7224. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7225. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7226. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7227. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7228. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7229. end
  7230. --dmgstop()
  7231. Humanoid.WalkSpeed=12
  7232. attack=false
  7233. con1:disconnect()
  7234. con2:disconnect()
  7235. if anim then
  7236. anim.Disabled=false
  7237. end
  7238. if TrailDeb == true then
  7239. TrailDeb = false
  7240. end
  7241. end
  7242.  
  7243. function Shred()
  7244. attack=true
  7245. mana=mana-100
  7246. if TrailDeb == false then
  7247. TrailDeb = true
  7248. end
  7249.  
  7250.  
  7251. coroutine.wrap(function()
  7252. local Old = Handle2.CFrame.p
  7253. while wait()do
  7254. if not TrailDeb then break end
  7255. local New = Handle2.CFrame.p
  7256. local Mag =(Old -New).magnitude
  7257. local Dis =(Old +New)/2
  7258. local Trail = Instance.new("Part",Character)
  7259. Trail.Material = "Neon"
  7260. Trail.Anchored = true
  7261. Trail.CanCollide = false
  7262. Trail.BrickColor = TorsoColor
  7263. Trail.Size = Vector3.new(0.2,Mag,0.2)
  7264. Trail.TopSurface = 0
  7265. Trail.BottomSurface = 0
  7266. Trail.formFactor = "Custom"
  7267. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  7268. local ms = Instance.new("BlockMesh",Trail)
  7269. ms.Scale = Vector3.new(1,1,1)
  7270. local TM = Instance.new("CylinderMesh",Trail)
  7271. TM.Scale = Vector3.new(1,1,1)
  7272. Old = New
  7273. coroutine.wrap(function()
  7274. for i = 1,0,-0.1 do
  7275. wait()
  7276. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  7277. end
  7278. Trail:remove()
  7279. end)()
  7280. coroutine.wrap(function()
  7281. for i = 1,10 do
  7282. wait()
  7283. Trail.Transparency = Trail.Transparency +0.1
  7284. end end)()end end)()
  7285. coroutine.wrap(function()
  7286. local Old = Handle.CFrame.p
  7287. while wait()do
  7288. if not TrailDeb then break end
  7289. local New = Handle.CFrame.p
  7290. local Mag =(Old -New).magnitude
  7291. local Dis =(Old +New)/2
  7292. local Trail = Instance.new("Part",Character)
  7293. Trail.Material = "Neon"
  7294. Trail.Anchored = true
  7295. Trail.CanCollide = false
  7296. Trail.BrickColor = TorsoColor
  7297. Trail.Size = Vector3.new(0.2,Mag,0.2)
  7298. Trail.TopSurface = 0
  7299. Trail.BottomSurface = 0
  7300. Trail.formFactor = "Custom"
  7301. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  7302. local ms = Instance.new("BlockMesh",Trail)
  7303. ms.Scale = Vector3.new(1,1,1)
  7304. local TM = Instance.new("CylinderMesh",Trail)
  7305. TM.Scale = Vector3.new(1,1,1)
  7306. Old = New
  7307. coroutine.wrap(function()
  7308. for i = 1,0,-0.1 do
  7309. wait()
  7310. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  7311. end
  7312. Trail:remove()
  7313. end)()
  7314. coroutine.wrap(function()
  7315. for i = 1,10 do
  7316. wait()
  7317. Trail.Transparency = Trail.Transparency +0.1
  7318. end end)()end end)()
  7319. Footsteps:Stop()
  7320. Footsteps2:Stop()
  7321. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  7322. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  7323. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  7324. for i=0,1,0.1 do
  7325. swait()
  7326. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7327. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7328. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7329. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7330. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7331. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7332. end
  7333. if anim then
  7334. anim.Disabled=true
  7335. end
  7336. for i=0,1,0.05 do
  7337. swait()
  7338. Torso.Velocity=RootPart.CFrame.lookVector*20
  7339. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  7340. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  7341. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  7342. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7343. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7344. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7345. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7346. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7347. end
  7348. for i=0,1,0.05 do
  7349. swait()
  7350. Torso.Velocity=RootPart.CFrame.lookVector*40
  7351. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  7352. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  7353. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  7354. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7355. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7356. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7357. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7358. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7359. end
  7360. for i=0,1,0.05 do
  7361. swait()
  7362. Torso.Velocity=RootPart.CFrame.lookVector*60
  7363. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  7364. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  7365. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  7366. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7367. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7368. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7369. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7370. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7371. end
  7372. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  7373. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  7374. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  7375. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  7376. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  7377. for i=0,1,0.05 do
  7378. swait()
  7379. Torso.Velocity=RootPart.CFrame.lookVector*80
  7380. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  7381. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7382. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7383. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7384. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7385. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7386. end
  7387. for i=0,1,0.005 do
  7388. swait()
  7389. Torso.Velocity=RootPart.CFrame.lookVector*100
  7390. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  7391. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7392. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7393. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  7394. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7395. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7396. end
  7397. --dmgstop()
  7398. Humanoid.WalkSpeed=12
  7399. attack=false
  7400. con1:disconnect()
  7401. con2:disconnect()
  7402. if anim then
  7403. anim.Disabled=false
  7404. end
  7405. if TrailDeb == true then
  7406. TrailDeb = false
  7407. end
  7408. end
  7409.  
  7410. function Push()
  7411. attack=true
  7412. mana=mana-20
  7413. if TrailDeb == false then
  7414. TrailDeb = true
  7415. end
  7416.  
  7417.  
  7418. coroutine.wrap(function()
  7419. local Old = Handle2.CFrame.p
  7420. while wait()do
  7421. if not TrailDeb then break end
  7422. local New = Handle2.CFrame.p
  7423. local Mag =(Old -New).magnitude
  7424. local Dis =(Old +New)/2
  7425. local Trail = Instance.new("Part",Character)
  7426. Trail.Material = "Neon"
  7427. Trail.Anchored = true
  7428. Trail.CanCollide = false
  7429. Trail.BrickColor = TorsoColor
  7430. Trail.Size = Vector3.new(0.2,Mag,0.2)
  7431. Trail.TopSurface = 0
  7432. Trail.BottomSurface = 0
  7433. Trail.formFactor = "Custom"
  7434. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  7435. local ms = Instance.new("BlockMesh",Trail)
  7436. ms.Scale = Vector3.new(1,1,1)
  7437. local TM = Instance.new("CylinderMesh",Trail)
  7438. TM.Scale = Vector3.new(1,1,1)
  7439. Old = New
  7440. coroutine.wrap(function()
  7441. for i = 1,0,-0.1 do
  7442. wait()
  7443. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  7444. end
  7445. Trail:remove()
  7446. end)()
  7447. coroutine.wrap(function()
  7448. for i = 1,10 do
  7449. wait()
  7450. Trail.Transparency = Trail.Transparency +0.1
  7451. end end)()end end)()
  7452. coroutine.wrap(function()
  7453. local Old = Handle.CFrame.p
  7454. while wait()do
  7455. if not TrailDeb then break end
  7456. local New = Handle.CFrame.p
  7457. local Mag =(Old -New).magnitude
  7458. local Dis =(Old +New)/2
  7459. local Trail = Instance.new("Part",Character)
  7460. Trail.Material = "Neon"
  7461. Trail.Anchored = true
  7462. Trail.CanCollide = false
  7463. Trail.BrickColor = TorsoColor
  7464. Trail.Size = Vector3.new(0.2,Mag,0.2)
  7465. Trail.TopSurface = 0
  7466. Trail.BottomSurface = 0
  7467. Trail.formFactor = "Custom"
  7468. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  7469. local ms = Instance.new("BlockMesh",Trail)
  7470. ms.Scale = Vector3.new(1,1,1)
  7471. local TM = Instance.new("CylinderMesh",Trail)
  7472. TM.Scale = Vector3.new(1,1,1)
  7473. Old = New
  7474. coroutine.wrap(function()
  7475. for i = 1,0,-0.1 do
  7476. wait()
  7477. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  7478. end
  7479. Trail:remove()
  7480. end)()
  7481. coroutine.wrap(function()
  7482. for i = 1,10 do
  7483. wait()
  7484. Trail.Transparency = Trail.Transparency +0.1
  7485. end end)()end end)()
  7486. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  7487. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  7488. for i=0,1,0.1 do
  7489. swait()
  7490. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7491. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  7492. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7493. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  7494. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  7495. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  7496. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  7497. end
  7498. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  7499. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  7500. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  7501. for i=0,1,0.1 do
  7502. swait()
  7503. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7504. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  7505. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7506. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  7507. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  7508. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  7509. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  7510. end
  7511. --dmgstop()
  7512. attack=false
  7513. con1:disconnect()
  7514. con2:disconnect()
  7515. if TrailDeb == true then
  7516. TrailDeb = false
  7517. end
  7518. end
  7519.  
  7520. function Clap()
  7521. attack=true
  7522. mana=mana-20
  7523. if TrailDeb == false then
  7524. TrailDeb = true
  7525. end
  7526.  
  7527.  
  7528. coroutine.wrap(function()
  7529. local Old = Handle2.CFrame.p
  7530. while wait()do
  7531. if not TrailDeb then break end
  7532. local New = Handle2.CFrame.p
  7533. local Mag =(Old -New).magnitude
  7534. local Dis =(Old +New)/2
  7535. local Trail = Instance.new("Part",Character)
  7536. Trail.Material = "Neon"
  7537. Trail.Anchored = true
  7538. Trail.CanCollide = false
  7539. Trail.BrickColor = TorsoColor
  7540. Trail.Size = Vector3.new(0.2,Mag,0.2)
  7541. Trail.TopSurface = 0
  7542. Trail.BottomSurface = 0
  7543. Trail.formFactor = "Custom"
  7544. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  7545. local ms = Instance.new("BlockMesh",Trail)
  7546. ms.Scale = Vector3.new(1,1,1)
  7547. local TM = Instance.new("CylinderMesh",Trail)
  7548. TM.Scale = Vector3.new(1,1,1)
  7549. Old = New
  7550. coroutine.wrap(function()
  7551. for i = 1,0,-0.1 do
  7552. wait()
  7553. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  7554. end
  7555. Trail:remove()
  7556. end)()
  7557. coroutine.wrap(function()
  7558. for i = 1,10 do
  7559. wait()
  7560. Trail.Transparency = Trail.Transparency +0.1
  7561. end end)()end end)()
  7562. coroutine.wrap(function()
  7563. local Old = Handle.CFrame.p
  7564. while wait()do
  7565. if not TrailDeb then break end
  7566. local New = Handle.CFrame.p
  7567. local Mag =(Old -New).magnitude
  7568. local Dis =(Old +New)/2
  7569. local Trail = Instance.new("Part",Character)
  7570. Trail.Material = "Neon"
  7571. Trail.Anchored = true
  7572. Trail.CanCollide = false
  7573. Trail.BrickColor = TorsoColor
  7574. Trail.Size = Vector3.new(0.2,Mag,0.2)
  7575. Trail.TopSurface = 0
  7576. Trail.BottomSurface = 0
  7577. Trail.formFactor = "Custom"
  7578. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  7579. local ms = Instance.new("BlockMesh",Trail)
  7580. ms.Scale = Vector3.new(1,1,1)
  7581. local TM = Instance.new("CylinderMesh",Trail)
  7582. TM.Scale = Vector3.new(1,1,1)
  7583. Old = New
  7584. coroutine.wrap(function()
  7585. for i = 1,0,-0.1 do
  7586. wait()
  7587. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  7588. end
  7589. Trail:remove()
  7590. end)()
  7591. coroutine.wrap(function()
  7592. for i = 1,10 do
  7593. wait()
  7594. Trail.Transparency = Trail.Transparency +0.1
  7595. end end)()end end)()
  7596. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  7597. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  7598. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  7599. for i=0,1,0.08 do
  7600. swait()
  7601. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7602. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  7603. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7604. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  7605. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  7606. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  7607. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  7608. end
  7609. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  7610. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  7611. for i=0,1,0.08 do
  7612. swait()
  7613. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7614. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  7615. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7616. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  7617. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  7618. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  7619. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  7620. end
  7621. --dmgstop()
  7622. attack=false
  7623. con1:disconnect()
  7624. con2:disconnect()
  7625. if TrailDeb == true then
  7626. TrailDeb = false
  7627. end
  7628. end
  7629.  
  7630. function Hai()
  7631. attack=true
  7632. Humanoid.WalkSpeed=0
  7633. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  7634. for i=0,1,0.1 do
  7635. swait()
  7636. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7637. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  7638. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7639. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  7640. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  7641. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  7642. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  7643. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  7644. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  7645. end
  7646. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  7647. for i=0,1,0.1 do
  7648. swait()
  7649. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7650. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  7651. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7652. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  7653. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7654. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  7655. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  7656. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  7657. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  7658. end
  7659. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  7660. for i=0,1,0.1 do
  7661. swait()
  7662. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7663. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  7664. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7665. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  7666. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  7667. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  7668. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  7669. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  7670. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  7671.  
  7672. end
  7673. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  7674. for i=0,1,0.1 do
  7675. swait()
  7676. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7677. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  7678. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7679. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  7680. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7681. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  7682. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  7683. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  7684. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  7685. end
  7686. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  7687. for i=0,1,0.1 do
  7688. swait()
  7689. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7690. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  7691. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7692. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  7693. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  7694. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  7695. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  7696. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  7697. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  7698. end
  7699. --dmgstop()
  7700. Humanoid.WalkSpeed=12
  7701. attack=false
  7702. end
  7703.  
  7704. function Die()
  7705. attack=true
  7706. Footsteps:Stop()
  7707. Footsteps2:Stop()
  7708. local Fire = it("Sound",Character.Torso)
  7709. Fire.SoundId = "rbxassetid://192104941"
  7710. Fire.Looped = true
  7711. Fire.Pitch = 1
  7712. Fire.Volume = 1
  7713. local Fire2 = it("Sound",Handle2)
  7714. Fire2.SoundId = "rbxassetid://192104941"
  7715. Fire2.Looped = true
  7716. Fire2.Pitch = 1
  7717. Fire2.Volume = 1
  7718. local Fire3 = it("Sound",Handle)
  7719. Fire3.SoundId = "rbxassetid://192104941"
  7720. Fire3.Looped = true
  7721. Fire3.Pitch = 1
  7722. Fire3.Volume = 1
  7723. local Fire4 = it("Sound",handle)
  7724. Fire4.SoundId = "rbxassetid://192104941"
  7725. Fire4.Looped = true
  7726. Fire4.Pitch = 1
  7727. Fire4.Volume = 1
  7728. local fire = Instance.new("ParticleEmitter", Character.Torso)
  7729. fire.Lifetime = NumberRange.new(0.5)
  7730. fire.Speed = NumberRange.new(1, 3)
  7731. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  7732. fire.Rate = 0
  7733. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  7734. fire.LightEmission = 0.6
  7735. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  7736. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  7737. local fire2 = Instance.new("ParticleEmitter", Handle)
  7738. fire2.Lifetime = NumberRange.new(0.5)
  7739. fire2.Speed = NumberRange.new(1, 3)
  7740. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  7741. fire2.Rate = 0
  7742. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  7743. fire2.LightEmission = 0.6
  7744. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  7745. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  7746. local fire3 = Instance.new("ParticleEmitter", Handle2)
  7747. fire3.Lifetime = NumberRange.new(0.5)
  7748. fire3.Speed = NumberRange.new(1, 3)
  7749. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  7750. fire3.Rate = 0
  7751. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  7752. fire3.LightEmission = 0.6
  7753. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  7754. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  7755. local fire4 = Instance.new("ParticleEmitter", handle)
  7756. fire4.Lifetime = NumberRange.new(0.5)
  7757. fire4.Speed = NumberRange.new(1, 3)
  7758. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  7759. fire4.Rate = 0
  7760. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  7761. fire4.LightEmission = 0.6
  7762. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  7763. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  7764. Humanoid.WalkSpeed = 0
  7765. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  7766. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  7767. for i=0,1,0.08 do
  7768. swait()
  7769. Torso.Velocity=RootPart.CFrame.lookVector*-30
  7770. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  7771. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  7772. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  7773. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  7774. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  7775. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  7776. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  7777. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  7778. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  7779. end
  7780. for i=0,1,0.005 do
  7781. swait()
  7782. moosick.Volume=1-2*i
  7783. light.Range=15-10*i
  7784. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  7785. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  7786. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  7787. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  7788. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7789. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  7790. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  7791. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7792. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7793. end
  7794. light.Range=0
  7795. for i=0,1,0.01 do
  7796. swait()
  7797. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  7798. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  7799. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  7800. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  7801. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7802. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  7803. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  7804. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7805. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7806. end
  7807. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  7808. fire.Rate = 1000
  7809. fire2.Rate = 1000
  7810. fire3.Rate = 1000
  7811. fire4.Rate = 1000
  7812. Fire:Play()
  7813. Fire2:Play()
  7814. Fire3:Play()
  7815. Fire4:Play()
  7816. for i=0,1,0.005 do
  7817. swait()
  7818. Character.Head.face.Transparency = 0+1*i
  7819. LeftArm.Transparency=0+1*i
  7820. RightArm.Transparency=0+1*i
  7821. LeftLeg.Transparency=0+1*i
  7822. RightLeg.Transparency=0+1*i
  7823. Head.Transparency=0+1*i
  7824. Torso.Transparency=0+1*i
  7825. for _,v in pairs(Character:children()) do
  7826. if v:IsA("Hat") then
  7827. v.Handle.Transparency = 0+1*i
  7828. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  7829. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  7830. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  7831. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  7832. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7833. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  7834. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  7835. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7836. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7837. end
  7838. end
  7839. --dmgstop()
  7840. end
  7841. Humanoid.Health = 0
  7842. end
  7843.  
  7844. equipanim()
  7845.  
  7846. local sine = 0
  7847. local change = 1
  7848. local val = 0
  7849.  
  7850. local mananum=0
  7851. while true do
  7852. swait()
  7853. sine = sine + change
  7854. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7855. local velderp=RootPart.Velocity.y
  7856. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7857. if equipped==true or equipped==false then
  7858. if Anim=="Idle" and attack==false then
  7859. idle=idle+1
  7860. else
  7861. idle=0
  7862. end
  7863. if Humanoid.Health <=20 then
  7864. if attack == false then
  7865. Humanoid.Health = math.huge
  7866. Die()
  7867. end
  7868. end
  7869. if idle>=1000 then
  7870. if attack==false then
  7871. --Sheath()
  7872. end
  7873. end
  7874. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7875. Anim="Jump"
  7876. if attack==false then
  7877. Footsteps:Stop()
  7878. Footsteps2:Stop()
  7879. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  7880. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  7881. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  7882. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  7883. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  7884. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  7885. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  7886. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  7887. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  7888. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  7889. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  7890. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  7891. end
  7892. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7893. Anim="Fall"
  7894. if attack==false then
  7895. Footsteps:Stop()
  7896. Footsteps2:Stop()
  7897. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  7898. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  7899. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  7900. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  7901. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  7902. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  7903. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  7904. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  7905. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  7906. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7907. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  7908. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  7909. end
  7910. elseif torvel<1 and hitfloor~=nil then
  7911. Anim="Idle"
  7912. change=0.5
  7913. if idle>=1000 then
  7914. if attack==false then
  7915. Footsteps:Stop()
  7916. Footsteps2:Stop()
  7917. Humanoid.WalkSpeed=12
  7918. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
  7919. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
  7920. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  7921. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  7922. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  7923. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7924. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7925. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  7926. Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
  7927. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
  7928. end
  7929. else
  7930. if attack==false then
  7931. Footsteps:Stop()
  7932. Footsteps2:Stop()
  7933. Humanoid.WalkSpeed=12
  7934. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  7935. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  7936. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  7937. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
  7938. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
  7939. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
  7940. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
  7941. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  7942. Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
  7943. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
  7944. end
  7945. end
  7946. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  7947. Anim="Walk"
  7948. if attack==false then
  7949. change=0.8
  7950. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
  7951. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  7952. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  7953. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  7954. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  7955. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  7956. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7957. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  7958. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  7959. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  7960. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  7961. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  7962. RH.C0=clerp(RH.C0,RHC0,.3)
  7963. LH.C0=clerp(LH.C0,LHC0,.3)
  7964. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7965. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7966. ]]--
  7967. Footsteps:Play()
  7968. Footsteps2:Stop()
  7969. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
  7970. Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
  7971. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  7972. RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
  7973. LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
  7974. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  7975. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  7976. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7977. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
  7978. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
  7979. end
  7980. elseif torvel>=22 and hitfloor~=nil then
  7981. Anim="Run"
  7982. change=1
  7983. if attack==false then
  7984. Footsteps:Stop()
  7985. Footsteps2:Play()
  7986. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
  7987. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  7988. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  7989. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  7990. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  7991. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  7992. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  7993. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7994. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
  7995. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
  7996. end
  7997. end
  7998. end
  7999. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  8000. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  8001. if mana>=100 then
  8002. mana=100
  8003. else
  8004. if mananum<=8 then
  8005. mananum=mananum+1
  8006. else
  8007. mananum=0
  8008. mana=mana+1
  8009. end
  8010. end
  8011. end
  8012.  
  8013. end)
  8014. end))
  8015.  
  8016. TextButton12.Parent = ScreenGui0
  8017. TextButton12.Position = UDim2.new(0.0381679386, 0, 0.52136755, 0)
  8018. TextButton12.Size = UDim2.new(0, 257, 0, 33)
  8019. TextButton12.BackgroundColor = BrickColor.new("Persimmon")
  8020. TextButton12.BackgroundColor3 = Color3.new(1, 0.45098, 0.458824)
  8021. TextButton12.BorderSizePixel = 0
  8022. TextButton12.Font = Enum.Font.ArialBold
  8023. TextButton12.FontSize = Enum.FontSize.Size14
  8024. TextButton12.Text = "Hell"
  8025. TextButton12.TextColor = BrickColor.new("Really red")
  8026. TextButton12.TextColor3 = Color3.new(1, 0, 0.0156863)
  8027. TextButton12.TextScaled = true
  8028. TextButton12.TextSize = 14
  8029. TextButton12.TextStrokeTransparency = 0
  8030. TextButton12.TextWrap = true
  8031. TextButton12.TextWrapped = true
  8032. LocalScript13.Parent = TextButton12
  8033. table.insert(cors,sandbox(LocalScript13,function()
  8034. script.Parent.MouseButton1Click:connect(function()
  8035. script.Parent.Parent:Destroy()
  8036.  
  8037.  
  8038. for i,v in next,workspace:children''do
  8039. if(v:IsA'BasePart')then
  8040. me=v;
  8041. bbg=Instance.new('BillboardGui',me);
  8042. bbg.Name='stuf';
  8043. bbg.Adornee=me;
  8044. bbg.Size=UDim2.new(2.5,0,2.5,0)
  8045. --bbg.StudsOffset=Vector3.new(0,2,0)
  8046. tlb=Instance.new'TextLabel';
  8047. tlb.Text='666 666 666 666 666 666';
  8048. tlb.Font='SourceSansBold';
  8049. tlb.FontSize='Size48';
  8050. tlb.TextColor3=Color3.new(1,0,0);
  8051. tlb.Size=UDim2.new(1.25,0,1.25,0);
  8052. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  8053. tlb.BackgroundTransparency=1;
  8054. tlb.Parent=bbg;
  8055. end;end;
  8056. function xds(dd)
  8057. for i,v in next,dd:children''do
  8058. if(v:IsA'BasePart')then
  8059. v.BrickColor=BrickColor.new'Really black';
  8060. v.TopSurface='Smooth';
  8061. v.BottomSurface='Smooth';
  8062. s=Instance.new('SelectionBox',v);
  8063. s.Adornee=v;
  8064. s.Color=BrickColor.new'Really red';
  8065. a=Instance.new('PointLight',v);
  8066. a.Color=Color3.new(1,0,0);
  8067. a.Range=15;
  8068. a.Brightness=5;
  8069. f=Instance.new('Fire',v);
  8070. f.Size=19;
  8071. f.Heat=22;
  8072. end;
  8073. game.Lighting.TimeOfDay=0;
  8074. game.Lighting.Brightness=0;
  8075. game.Lighting.ShadowColor=Color3.new(0,0,0);
  8076. game.Lighting.Ambient=Color3.new(1,0,0);
  8077. game.Lighting.FogEnd=200;
  8078. game.Lighting.FogColor=Color3.new(0,0,0);
  8079. local dec = 'http://www.roblox.com/asset/?id=19399245';
  8080. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  8081. --coroutine.wrap(function()
  8082. --for ,_ in pairs(fac) do
  8083. --local ddec = Instance.new("Decal", v)
  8084. --ddec.Face =
  8085. --ddec.Texture = dec
  8086. --end end)()
  8087. if #(v:GetChildren())>0 then
  8088. xds(v)
  8089. end
  8090. end
  8091. end
  8092. xds(game.Workspace)
  8093.  
  8094. end)
  8095. end))
  8096. TextButton14.Parent = ScreenGui0
  8097. TextButton14.Position = UDim2.new(0.0381679386, 0, 0.582417607, 0)
  8098. TextButton14.Size = UDim2.new(0, 257, 0, 33)
  8099. TextButton14.BackgroundColor = BrickColor.new("Persimmon")
  8100. TextButton14.BackgroundColor3 = Color3.new(1, 0.45098, 0.458824)
  8101. TextButton14.BorderSizePixel = 0
  8102. TextButton14.Font = Enum.Font.ArialBold
  8103. TextButton14.FontSize = Enum.FontSize.Size14
  8104. TextButton14.Text = "Allahu akbar"
  8105. TextButton14.TextColor = BrickColor.new("Really red")
  8106. TextButton14.TextColor3 = Color3.new(1, 0, 0.0156863)
  8107. TextButton14.TextScaled = true
  8108. TextButton14.TextSize = 14
  8109. TextButton14.TextStrokeTransparency = 0
  8110. TextButton14.TextWrap = true
  8111. TextButton14.TextWrapped = true
  8112. LocalScript15.Parent = TextButton14
  8113. table.insert(cors,sandbox(LocalScript15,function()
  8114. script.Parent.MouseButton1Click:connect(function()
  8115. script.Parent.Parent:Destroy()
  8116.  
  8117.  
  8118. Player=game:GetService("Players").LocalPlayer
  8119. Character=Player.Character
  8120. PlayerGui=Player.PlayerGui
  8121. Backpack=Player.Backpack
  8122. Torso=Character.Torso
  8123. Head=Character.Head
  8124. Humanoid=Character.Humanoid
  8125. m=Instance.new('Model',Character)
  8126. LeftArm=Character["Left Arm"]
  8127. LeftLeg=Character["Left Leg"]
  8128. RightArm=Character["Right Arm"]
  8129. RightLeg=Character["Right Leg"]
  8130. LS=Torso["Left Shoulder"]
  8131. LH=Torso["Left Hip"]
  8132. RS=Torso["Right Shoulder"]
  8133. RH=Torso["Right Hip"]
  8134. Face = Head.face
  8135. Neck=Torso.Neck
  8136. it=Instance.new
  8137. attacktype=1
  8138. vt=Vector3.new
  8139. cf=CFrame.new
  8140. euler=CFrame.fromEulerAnglesXYZ
  8141. angles=CFrame.Angles
  8142. cloaked=false
  8143. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  8144. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  8145. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  8146. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  8147. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  8148. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  8149. RootPart=Character.HumanoidRootPart
  8150. RootJoint=RootPart.RootJoint
  8151. RootCF=euler(-1.57,0,3.14)
  8152. attack = false
  8153. attackdebounce = false
  8154. deb=false
  8155. equipped=true
  8156. hand=false
  8157. MMouse=nil
  8158. combo=0
  8159. mana=0
  8160. trispeed=.2
  8161. attackmode='none'
  8162. local idle=0
  8163. local Anim="Idle"
  8164. local Effects={}
  8165. local gun=false
  8166. local shoot=false
  8167. player=nil
  8168. mana=0
  8169.  
  8170. mouse=Player:GetMouse()
  8171. --save shoulders
  8172. RSH, LSH=nil, nil
  8173. --welds
  8174. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  8175. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  8176. LH=Torso["Left Hip"]
  8177. RH=Torso["Right Hip"]
  8178. TorsoColor=Torso.BrickColor
  8179. function NoOutline(Part)
  8180. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  8181. end
  8182. player=Player
  8183. ch=Character
  8184. RSH=ch.Torso["Right Shoulder"]
  8185. LSH=ch.Torso["Left Shoulder"]
  8186. --
  8187. RSH.Parent=nil
  8188. LSH.Parent=nil
  8189. --
  8190. RW.Name="Right Shoulder"
  8191. RW.Part0=ch.Torso
  8192. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  8193. RW.C1=cf(0, 0.5, 0)
  8194. RW.Part1=ch["Right Arm"]
  8195. RW.Parent=ch.Torso
  8196. --
  8197. LW.Name="Left Shoulder"
  8198. LW.Part0=ch.Torso
  8199. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  8200. LW.C1=cf(0, 0.5, 0)
  8201. LW.Part1=ch["Left Arm"]
  8202. LW.Parent=ch.Torso
  8203.  
  8204. Player=game:GetService('Players').LocalPlayer
  8205. Character=Player.Character
  8206. Mouse=Player:GetMouse()
  8207. m=Instance.new('Model',Character)
  8208.  
  8209.  
  8210. local function weldBetween(a, b)
  8211. local weldd = Instance.new("ManualWeld")
  8212. weldd.Part0 = a
  8213. weldd.Part1 = b
  8214. weldd.C0 = CFrame.new()
  8215. weldd.C1 = b.CFrame:inverse() * a.CFrame
  8216. weldd.Parent = a
  8217. return weldd
  8218. end
  8219.  
  8220. function swait(num)
  8221. if num==0 or num==nil then
  8222. game:service'RunService'.Stepped:wait(0)
  8223. else
  8224. for i=0,num do
  8225. game:service'RunService'.Stepped:wait(0)
  8226. end
  8227. end
  8228. end
  8229.  
  8230. function nooutline(part)
  8231. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  8232. end
  8233.  
  8234. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  8235. local fp=it("Part")
  8236. fp.formFactor=formfactor
  8237. fp.Parent=parent
  8238. fp.Reflectance=reflectance
  8239. fp.Transparency=transparency
  8240. fp.CanCollide=false
  8241. fp.Locked=true
  8242. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  8243. fp.Name=name
  8244. fp.Size=size
  8245. fp.Position=Character.Torso.Position
  8246. nooutline(fp)
  8247. fp.Material=material
  8248. fp:BreakJoints()
  8249. return fp
  8250. end
  8251.  
  8252. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  8253. local mesh=it(Mesh)
  8254. mesh.Parent=part
  8255. if Mesh=="SpecialMesh" then
  8256. mesh.MeshType=meshtype
  8257. mesh.MeshId=meshid
  8258. end
  8259. mesh.Offset=offset
  8260. mesh.Scale=scale
  8261. return mesh
  8262. end
  8263.  
  8264. function weld(parent,part0,part1,c0,c1)
  8265. local weld=it("Weld")
  8266. weld.Parent=parent
  8267. weld.Part0=part0
  8268. weld.Part1=part1
  8269. weld.C0=c0
  8270. weld.C1=c1
  8271. return weld
  8272. end
  8273.  
  8274.  
  8275. local function CFrameFromTopBack(at, top, back)
  8276. local right = top:Cross(back)
  8277. return CFrame.new(at.x, at.y, at.z,
  8278. right.x, top.x, back.x,
  8279. right.y, top.y, back.y,
  8280. right.z, top.z, back.z)
  8281. end
  8282.  
  8283. function Triangle(a, b, c)
  8284. local edg1 = (c-a):Dot((b-a).unit)
  8285. local edg2 = (a-b):Dot((c-b).unit)
  8286. local edg3 = (b-c):Dot((a-c).unit)
  8287. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  8288. a, b, c = a, b, c
  8289. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  8290. a, b, c = b, c, a
  8291. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  8292. a, b, c = c, a, b
  8293. else
  8294. assert(false, "unreachable")
  8295. end
  8296.  
  8297. local len1 = (c-a):Dot((b-a).unit)
  8298. local len2 = (b-a).magnitude - len1
  8299. local width = (a + (b-a).unit*len1 - c).magnitude
  8300.  
  8301. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  8302.  
  8303. local list = {}
  8304.  
  8305. local TrailColor = ("Dark grey")
  8306.  
  8307. if len1 > 0.01 then
  8308. local w1 = Instance.new('WedgePart', m)
  8309. game:GetService("Debris"):AddItem(w1,5)
  8310. w1.Material = "SmoothPlastic"
  8311. w1.FormFactor = 'Custom'
  8312. w1.BrickColor = BrickColor.new(TrailColor)
  8313. w1.Transparency = 0
  8314. w1.Reflectance = 0
  8315. w1.Material = "SmoothPlastic"
  8316. w1.CanCollide = false
  8317. NoOutline(w1)
  8318. local sz = Vector3.new(0.2, width, len1)
  8319. w1.Size = sz
  8320. local sp = Instance.new("SpecialMesh",w1)
  8321. sp.MeshType = "Wedge"
  8322. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  8323. w1:BreakJoints()
  8324. w1.Anchored = true
  8325. w1.Parent = workspace
  8326. w1.Transparency = 0.7
  8327. table.insert(Effects,{w1,"Disappear",.01})
  8328. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  8329. table.insert(list,w1)
  8330. end
  8331.  
  8332. if len2 > 0.01 then
  8333. local w2 = Instance.new('WedgePart', m)
  8334. game:GetService("Debris"):AddItem(w2,5)
  8335. w2.Material = "SmoothPlastic"
  8336. w2.FormFactor = 'Custom'
  8337. w2.BrickColor = BrickColor.new(TrailColor)
  8338. w2.Transparency = 0
  8339. w2.Reflectance = 0
  8340. w2.Material = "SmoothPlastic"
  8341. w2.CanCollide = false
  8342. NoOutline(w2)
  8343. local sz = Vector3.new(0.2, width, len2)
  8344. w2.Size = sz
  8345. local sp = Instance.new("SpecialMesh",w2)
  8346. sp.MeshType = "Wedge"
  8347. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  8348. w2:BreakJoints()
  8349. w2.Anchored = true
  8350. w2.Parent = workspace
  8351. w2.Transparency = 0.7
  8352. table.insert(Effects,{w2,"Disappear",.01})
  8353. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  8354. table.insert(list,w2)
  8355. end
  8356. return unpack(list)
  8357. end
  8358.  
  8359.  
  8360. so = function(id,par,vol,pit)
  8361. coroutine.resume(coroutine.create(function()
  8362. local sou = Instance.new("Sound",par or workspace)
  8363. sou.Volume=vol
  8364. sou.Pitch=pit or 1
  8365. sou.SoundId=id
  8366. swait()
  8367. sou:play()
  8368. game:GetService("Debris"):AddItem(sou,6)
  8369. end))
  8370. end
  8371.  
  8372. function clerp(a,b,t)
  8373. local qa = {QuaternionFromCFrame(a)}
  8374. local qb = {QuaternionFromCFrame(b)}
  8375. local ax, ay, az = a.x, a.y, a.z
  8376. local bx, by, bz = b.x, b.y, b.z
  8377. local _t = 1-t
  8378. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  8379. end
  8380.  
  8381. function QuaternionFromCFrame(cf)
  8382. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  8383. local trace = m00 + m11 + m22
  8384. if trace > 0 then
  8385. local s = math.sqrt(1 + trace)
  8386. local recip = 0.5/s
  8387. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  8388. else
  8389. local i = 0
  8390. if m11 > m00 then
  8391. i = 1
  8392. end
  8393. if m22 > (i == 0 and m00 or m11) then
  8394. i = 2
  8395. end
  8396. if i == 0 then
  8397. local s = math.sqrt(m00-m11-m22+1)
  8398. local recip = 0.5/s
  8399. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  8400. elseif i == 1 then
  8401. local s = math.sqrt(m11-m22-m00+1)
  8402. local recip = 0.5/s
  8403. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  8404. elseif i == 2 then
  8405. local s = math.sqrt(m22-m00-m11+1)
  8406. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  8407. end
  8408. end
  8409. end
  8410.  
  8411. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  8412. local xs, ys, zs = x + x, y + y, z + z
  8413. local wx, wy, wz = w*xs, w*ys, w*zs
  8414. local xx = x*xs
  8415. local xy = x*ys
  8416. local xz = x*zs
  8417. local yy = y*ys
  8418. local yz = y*zs
  8419. local zz = z*zs
  8420. 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))
  8421. end
  8422.  
  8423. function QuaternionSlerp(a, b, t)
  8424. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  8425. local startInterp, finishInterp;
  8426. if cosTheta >= 0.0001 then
  8427. if (1 - cosTheta) > 0.0001 then
  8428. local theta = math.acos(cosTheta)
  8429. local invSinTheta = 1/math.sin(theta)
  8430. startInterp = math.sin((1-t)*theta)*invSinTheta
  8431. finishInterp = math.sin(t*theta)*invSinTheta
  8432. else
  8433. startInterp = 1-t
  8434. finishInterp = t
  8435. end
  8436. else
  8437. if (1+cosTheta) > 0.0001 then
  8438. local theta = math.acos(-cosTheta)
  8439. local invSinTheta = 1/math.sin(theta)
  8440. startInterp = math.sin((t-1)*theta)*invSinTheta
  8441. finishInterp = math.sin(t*theta)*invSinTheta
  8442. else
  8443. startInterp = t-1
  8444. finishInterp = t
  8445. end
  8446. end
  8447. 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
  8448. end
  8449.  
  8450. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  8451.  
  8452.  
  8453. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  8454. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  8455. end
  8456.  
  8457. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  8458. if hit.Parent==nil then
  8459. return
  8460. end
  8461. h=hit.Parent:FindFirstChild("Humanoid")
  8462. for _,v in pairs(hit.Parent:children()) do
  8463. if v:IsA("Humanoid") then
  8464. h=v
  8465. end
  8466. end
  8467. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  8468. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  8469. end
  8470. if hit.Parent.className=="Hat" then
  8471. hit=hit.Parent.Parent:findFirstChild("Head")
  8472. end
  8473. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  8474. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  8475. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  8476. return
  8477. end]]
  8478. -- hs(hit,1.2)
  8479. c=Instance.new("ObjectValue")
  8480. c.Name="creator"
  8481. c.Value=game:service("Players").LocalPlayer
  8482. c.Parent=h
  8483. game:GetService("Debris"):AddItem(c,.5)
  8484. Damage=math.random(minim,maxim)
  8485. -- h:TakeDamage(Damage)
  8486. blocked=false
  8487. block=hit.Parent:findFirstChild("Block")
  8488. if block~=nil then
  8489. print(block.className)
  8490. if block.className=="NumberValue" then
  8491. if block.Value>0 then
  8492. blocked=true
  8493. if decreaseblock==nil then
  8494. block.Value=block.Value-1
  8495. end
  8496. end
  8497. end
  8498. if block.className=="IntValue" then
  8499. if block.Value>0 then
  8500. blocked=true
  8501. if decreaseblock~=nil then
  8502. block.Value=block.Value-1
  8503. end
  8504. end
  8505. end
  8506. end
  8507. if blocked==false then
  8508. -- h:TakeDamage(Damage)
  8509. h.Health=h.Health-Damage
  8510. showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  8511. else
  8512. h.Health=h.Health-(Damage/2)
  8513. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  8514. end
  8515. if Type=="Knockdown" then
  8516. hum=hit.Parent.Humanoid
  8517. hum.PlatformStand=true
  8518. coroutine.resume(coroutine.create(function(HHumanoid)
  8519. swait(1)
  8520. HHumanoid.PlatformStand=false
  8521. end),hum)
  8522. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  8523. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  8524. local bodvol=Instance.new("BodyVelocity")
  8525. bodvol.velocity=angle*knockback
  8526. bodvol.P=5000
  8527. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  8528. bodvol.Parent=hit
  8529. rl=Instance.new("BodyAngularVelocity")
  8530. rl.P=3000
  8531. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  8532. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  8533. rl.Parent=hit
  8534. game:GetService("Debris"):AddItem(bodvol,.5)
  8535. game:GetService("Debris"):AddItem(rl,.5)
  8536. elseif Type=="Normal" then
  8537. vp=Instance.new("BodyVelocity")
  8538. vp.P=500
  8539. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  8540. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  8541. if KnockbackType==1 then
  8542. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  8543. elseif KnockbackType==2 then
  8544. vp.velocity=Property.CFrame.lookVector*knockback
  8545. end
  8546. if knockback>0 then
  8547. vp.Parent=hit.Parent.Torso
  8548. end
  8549. game:GetService("Debris"):AddItem(vp,.5)
  8550. elseif Type=="Up" then
  8551. local bodyVelocity=Instance.new("BodyVelocity")
  8552. bodyVelocity.velocity=vt(0,60,0)
  8553. bodyVelocity.P=5000
  8554. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  8555. bodyVelocity.Parent=hit
  8556. game:GetService("Debris"):AddItem(bodyVelocity,1)
  8557. rl=Instance.new("BodyAngularVelocity")
  8558. rl.P=3000
  8559. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  8560. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  8561. rl.Parent=hit
  8562. game:GetService("Debris"):AddItem(rl,.5)
  8563. elseif Type=="Snare" then
  8564. bp=Instance.new("BodyPosition")
  8565. bp.P=2000
  8566. bp.D=100
  8567. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  8568. bp.position=hit.Parent.Torso.Position
  8569. bp.Parent=hit.Parent.Torso
  8570. game:GetService("Debris"):AddItem(bp,1)
  8571. elseif Type=="Target" then
  8572. if Targetting==false then
  8573. ZTarget=hit.Parent.Torso
  8574. coroutine.resume(coroutine.create(function(Part)
  8575. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  8576. swait(5)
  8577. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  8578. end),ZTarget)
  8579. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  8580. targetgui=Instance.new("BillboardGui")
  8581. targetgui.Parent=ZTarget
  8582. targetgui.Size=UDim2.new(10,100,10,100)
  8583. targ=Instance.new("ImageLabel")
  8584. targ.Parent=targetgui
  8585. targ.BackgroundTransparency=1
  8586. targ.Image="rbxassetid://4834067"
  8587. targ.Size=UDim2.new(1,0,1,0)
  8588. cam.CameraType="Scriptable"
  8589. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  8590. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  8591. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  8592. Targetting=true
  8593. RocketTarget=ZTarget
  8594. for i=1,Property do
  8595. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  8596. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  8597. swait()
  8598. end
  8599. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  8600. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  8601. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  8602. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  8603. end
  8604. Targetting=false
  8605. RocketTarget=nil
  8606. targetgui.Parent=nil
  8607. cam.CameraType="Custom"
  8608. end
  8609. end
  8610. debounce=Instance.new("BoolValue")
  8611. debounce.Name="DebounceHit"
  8612. debounce.Parent=hit.Parent
  8613. debounce.Value=true
  8614. game:GetService("Debris"):AddItem(debounce,Delay)
  8615. c=Instance.new("ObjectValue")
  8616. c.Name="creator"
  8617. c.Value=Player
  8618. c.Parent=h
  8619. game:GetService("Debris"):AddItem(c,.5)
  8620. CRIT=false
  8621. hitDeb=true
  8622. AttackPos=6
  8623. end
  8624. end
  8625.  
  8626. showDamage=function(Char,Dealt,du,Color)
  8627. m=Instance.new("Model")
  8628. m.Name=tostring(Dealt)
  8629. h=Instance.new("Humanoid")
  8630. h.Health=0
  8631. h.MaxHealth=0
  8632. h.Parent=m
  8633. c=Instance.new("Part")
  8634. c.Transparency=0
  8635. c.BrickColor=Color
  8636. c.Name="Head"
  8637. c.TopSurface=0
  8638. c.BottomSurface=0
  8639. c.formFactor="Plate"
  8640. c.Size=Vector3.new(1,.4,1)
  8641. ms=Instance.new("CylinderMesh")
  8642. ms.Scale=Vector3.new(.8,.8,.8)
  8643. if CRIT==true then
  8644. ms.Scale=Vector3.new(1,1.25,1)
  8645. end
  8646. ms.Parent=c
  8647. c.Reflectance=0
  8648. Instance.new("BodyGyro").Parent=c
  8649. c.Parent=m
  8650. if Char:findFirstChild("Head")~=nil then
  8651. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  8652. elseif Char.Parent:findFirstChild("Head")~=nil then
  8653. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  8654. end
  8655. f=Instance.new("BodyPosition")
  8656. f.P=2000
  8657. f.D=100
  8658. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  8659. f.position=c.Position+Vector3.new(0,3,0)
  8660. f.Parent=c
  8661. game:GetService("Debris"):AddItem(m,.5+du)
  8662. c.CanCollide=false
  8663. m.Parent=workspace
  8664. c.CanCollide=false
  8665. end
  8666.  
  8667. VestHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.01999998, 1.39999998, 1.01999998))
  8668. handleweld=weld(m,Character["Torso"],VestHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-005, 0.300115585, 3.05175781e-005, 0.999999642, 0, 0, 0, 1, 0, 0, 0, 0.999999642))
  8669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
  8670. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, 0.200000286, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
  8671. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
  8673. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000152587891, -0.999994516, -0.200134277, -4.47035475e-008, 0, 0.999999642, 0, 1, 0, -0.999999642, 0, -4.4703544e-008))
  8674. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8675. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
  8676. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700012207, -1.00999117, 1.52587891e-005, 0.999999046, 0, 0, 0, 1, 0, 0, 0, 0.999999046))
  8677. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
  8678. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699127197, -1.00999379, 0.000549316406, 0.999997914, 6.38506317e-005, -2.78951497e-015, -6.38804122e-005, 1.00000012, 2.10474918e-015, 2.78942159e-015, 1.39239913e-015, 0.999997854))
  8679. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  8680. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609390259, 0.811340332, -0.0999908447, 3.08029073e-018, -2.69585922e-014, -0.999999642, -0.999999642, -6.39334685e-005, -1.35697087e-018, -6.39334467e-005, 1, -2.6958582e-014))
  8681. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8682. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  8683. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609359741, -0.788131714, -0.0999910831, 3.06354694e-018, -2.34616979e-014, -0.999999642, -0.999999642, -6.39629943e-005, -1.56279636e-018, -6.39629725e-005, 1, -2.34616895e-014))
  8684. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8685. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  8686. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609375, 0.0116882324, -0.0999908447, 3.06355067e-018, -2.34617301e-014, -0.999999642, -0.999999642, -6.39631544e-005, -1.56279822e-018, -6.39631326e-005, 1, -2.34617217e-014))
  8687. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  8689. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609313965, -0.388046265, -0.0999908447, 3.0635486e-018, -2.34617301e-014, -0.999998927, -0.999998927, -6.39631544e-005, -1.56279719e-018, -6.39630889e-005, 1, -2.34617047e-014))
  8690. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  8692. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609329224, 0.411483765, -0.0999908447, 3.08028867e-018, -2.69585922e-014, -0.999998927, -0.999998927, -6.39334685e-005, -1.35696984e-018, -6.3933403e-005, 1, -2.69585617e-014))
  8693. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  8695. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000305175781, -0.800010204, 0.89906311, -4.47035724e-008, 6.26018334e-015, 0.999997854, -8.34552054e-008, 1.00000012, -5.15634779e-015, -0.999997914, -5.35364961e-008, -4.47035653e-008))
  8696. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
  8698. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000228881836, -0.99998498, -0.199783325, -4.47038211e-008, -2.85946115e-012, -0.999997854, -6.3955762e-005, 1.00000012, 1.77753083e-015, 0.999997914, 6.39259815e-005, -4.47038175e-008))
  8699. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 3.79999971, 0.200000003))
  8701. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356018066, -0.311279297, -0.609542847, 0.865768671, 0.500441432, 0, -0.5004403, 0.865770638, 3.55271241e-015, 3.55271241e-015, 3.02253882e-015, 0.999997854))
  8702. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  8704. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -0.799995899, 0.900177002, 1.49011559e-008, 0, -0.999995232, 0, 1, 0, 0.999995232, 0, 1.49011559e-008))
  8705. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8706. FlagLogo=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","FlagLogo",Vector3.new(3, 1.99999988, 0.200000003))
  8707. FlagLogoweld=weld(m,VestHandle,FlagLogo,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14234924, -3.41108704, -0.610244751, 0.865850091, 0.500302911, -3.55240239e-015, -0.500302792, 0.865850449, 9.79956736e-019, 3.07633938e-015, 1.77642947e-015, 0.999999642))
  8708. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  8709. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356628418, -2.31108093, -0.620269775, 0.865850091, 0.500302911, 7.10581953e-015, -0.500302792, 0.865850449, 9.79956736e-019, 6.15238443e-015, 3.55382075e-015, 0.999999642))
  8710. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8711. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036))
  8712. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.354736328, -4.51108551, -0.620117188, 0.865849495, 0.500302911, 1.77640292e-014, -0.500302434, 0.865850449, 9.79956115e-019, 9.22842142e-015, 5.33121097e-015, 0.999998927))
  8713. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8714. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 1.99999964, 0.200000003))
  8715. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356216431, -3.41107178, -0.610137939, 0.865848899, 0.500302911, 1.77639292e-014, -0.500302076, 0.865850449, 9.79955495e-019, 1.53807173e-014, 8.88612016e-015, 0.999998212))
  8716. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8717. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  8718. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356292725, 1.6887207, -0.619628906, 0.865768075, 0.500441432, 0, -0.500439942, 0.865770638, 3.55270987e-015, 3.55270987e-015, 3.02253882e-015, 0.999997139))
  8719. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8720. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  8721. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.589828491, 0.808547974, -0.0999956131, -3.90798369e-014, 8.06646416e-017, -0.999997854, -0.999997914, -6.36497934e-005, 3.90798369e-014, -6.36795739e-005, 1.00000012, 3.58011901e-015))
  8722. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8723. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
  8724. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, -0.399998188, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
  8725. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8726. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 1.4000001))
  8727. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-005, -1.10011411, -1.52587891e-005, 0.999999404, -4.47034765e-008, 0, -4.47034836e-008, -0.999999285, 0, 0, 0, -1))
  8728. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=74322546",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
  8729. local Decal1 = Instance.new("Decal",FlagLogo)
  8730. Decal1.Texture = "http://www.roblox.com/asset/?id=147337085"
  8731. Decal1.Face = "Front"
  8732. local Decal2 = Instance.new("Decal",FlagLogo)
  8733. Decal2.Texture = "http://www.roblox.com/asset/?id=147337085"
  8734. Decal2.Face = "Back"
  8735. Humanoid.WalkSpeed = 50
  8736.  
  8737. function ALLAHUAKBAR()
  8738. attack = true
  8739. local speak = {"ALLAHUAKBAR"}
  8740. local colors = {"Red","Red","Red"} -- The only 3 colors, adding more will error.
  8741. local chat = game:GetService("Chat")
  8742. chat:Chat(Head,speak[math.random(1,#speak)], colors[math.random(1,3)] )
  8743. for i = 0,1,0.05 do
  8744. swait()
  8745. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  8746. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  8747. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  8748. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  8749. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  8750. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  8751. end
  8752. for i = 0,1,0.05 do
  8753. swait()
  8754. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  8755. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  8756. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(50)), 0.3)
  8757. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  8758. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  8759. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  8760. end
  8761. for i = 1,20 do
  8762. --so("http://roblox.com/asset/?id=197815953",workspace,1,1)
  8763. so("rbxassetid://134854740",Torso,1,1.3)
  8764. so("rbxassetid://247893371",workspace,1,1)
  8765. so("rbxassetid://137994058",Torso,1,1)
  8766. so("rbxassetid://165969964",Torso,1,1)
  8767. local S = Instance.new("Explosion",workspace)
  8768. S.Position = Torso.Position
  8769. S.BlastPressure = 5
  8770. S.BlastRadius = 50
  8771. S.ExplosionType = 2
  8772. end
  8773. attack = false
  8774. end
  8775.  
  8776. mouse.Button1Down:connect(function()
  8777. ALLAHUAKBAR()
  8778. end)
  8779.  
  8780. mouse.KeyDown:connect(function(k)
  8781. k=k:lower()
  8782.  
  8783. end)
  8784.  
  8785.  
  8786. local sine = 0
  8787. local change = 1
  8788. local val = 0
  8789.  
  8790. while true do
  8791. swait()
  8792. sine = sine + change
  8793. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8794. local velderp=RootPart.Velocity.y
  8795. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8796. if equipped==true or equipped==false then
  8797. if attack==false then
  8798. idle=idle+1
  8799. else
  8800. idle=0
  8801. end
  8802. if idle>=500 then
  8803. if attack==false then
  8804. --Sheath()
  8805. end
  8806. end
  8807. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8808. Anim="Jump"
  8809. if attack==false then
  8810. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8811. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  8812. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  8813. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  8814. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  8815. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  8816. end
  8817. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8818. Anim="Fall"
  8819. if attack==false then
  8820. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  8821. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8822. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
  8823. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  8824. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8825. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8826. end
  8827. elseif torvel<1 and hitfloor~=nil then
  8828. Anim="Idle"
  8829. if attack==false then
  8830. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(10)),.3)
  8831. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  8832. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  8833. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  8834. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  8835. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  8836. end
  8837. elseif torvel>2 and hitfloor~=nil then
  8838. Anim="Walk"
  8839. if attack==false then
  8840. change=3
  8841. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  8842. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  8843. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50*math.cos(sine/20)), math.rad(0), math.rad(10)), 0.3)
  8844. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50*math.cos(sine/20)), math.rad(0), math.rad(-10)), 0.3)
  8845. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8846. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8847. end
  8848. end
  8849. end
  8850. if #Effects>0 then
  8851. --table.insert(Effects,{prt,"Block1",delay})
  8852. for e=1,#Effects do
  8853. if Effects[e]~=nil then
  8854. --for j=1,#Effects[e] do
  8855. local Thing=Effects[e]
  8856. if Thing~=nil then
  8857. local Part=Thing[1]
  8858. local Mode=Thing[2]
  8859. local Delay=Thing[3]
  8860. local IncX=Thing[4]
  8861. local IncY=Thing[5]
  8862. local IncZ=Thing[6]
  8863. if Thing[1].Transparency<=1 then
  8864. if Thing[2]=="Block1" then
  8865. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  8866. Mesh=Thing[1].Mesh
  8867. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  8868. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  8869. elseif Thing[2]=="Cylinder" then
  8870. Mesh=Thing[1].Mesh
  8871. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  8872. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  8873. elseif Thing[2]=="Blood" then
  8874. Mesh=Thing[7]
  8875. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  8876. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  8877. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  8878. elseif Thing[2]=="Elec" then
  8879. Mesh=Thing[1].Mesh
  8880. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  8881. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  8882. elseif Thing[2]=="Disappear" then
  8883. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  8884. end
  8885. else
  8886. Part.Parent=nil
  8887. table.remove(Effects,e)
  8888. end
  8889. end
  8890. --end
  8891. end
  8892. end
  8893. end
  8894. end
  8895.  
  8896. end)
  8897. end))
  8898. for i,v in pairs(mas:GetChildren()) do
  8899. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  8900. pcall(function() v:MakeJoints() end)
  8901. end
  8902. mas:Destroy()
  8903. for i,v in pairs(cors) do
  8904. spawn(function()
  8905. pcall(v)
  8906. end)
  8907. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement