Advertisement
Guest User

(local script) how to make it communicate with servers

a guest
May 26th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 179.89 KB | None | 0 0
  1. wait(2)
  2. local p = game:GetService("Players").LocalPlayer
  3. local plr = game:GetService("Players").LocalPlayer
  4. local player = game:GetService("Players").LocalPlayer
  5. local char = p.Character
  6. local mouse = p:GetMouse()
  7. local larm = char:WaitForChild("Left Arm")
  8. local rarm = char:WaitForChild("Right Arm")
  9. local lleg = char:WaitForChild("Left Leg")
  10. local rleg = char:WaitForChild("Right Leg")
  11. local hed = char:WaitForChild("Head")
  12. local torso = char:WaitForChild("Torso")
  13. local root = char:WaitForChild("HumanoidRootPart")
  14. local hum = char:FindFirstChildOfClass("Humanoid")
  15. local debris = game:GetService("Debris")
  16. local run = game:GetService("RunService")
  17. local rs = run.RenderStepped
  18. local cam = workspace.CurrentCamera
  19. local movement = 4
  20. local change = 0.4
  21. local DebrisModel = Instance.new("Model",char)
  22. local stealth = false
  23. local debounce = false
  24. -------------------------------------------------------
  25. local Player_Size = 4
  26. if Player_Size ~= 4 then
  27. root.Size = root.Size * Player_Size
  28. torso.Size = torso.Size * Player_Size
  29. hed.Size = hed.Size * Player_Size
  30. rarm.Size = rarm.Size * Player_Size
  31. larm.Size = larm.Size * Player_Size
  32. rleg.Size = rleg.Size * Player_Size
  33. lleg.Size = lleg.Size * Player_Size
  34. end
  35. ----------------------------------------------------------------------------------
  36. it = Instance.new
  37. hum.MaxHealth = 500000000000000000000000000000000000000000000000
  38. hum.Health = hum.MaxHealth
  39. themeid = 0
  40. themepitch = 1
  41. TorsoColor = torso.BrickColor
  42. RightLeg = CFrame.new(0.5,-1,0)
  43. LeftLeg = CFrame.new(-0.5,-1,0)
  44. RunService = game:service'RunService'
  45. lefth = (torso.CFrame*LeftLeg)
  46. righth = (torso.CFrame*RightLeg)
  47. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  48. local Lighty = game:GetService"Lighting"
  49. EffectModel = Instance.new("Model", char)
  50. Effects = {
  51. Block = {
  52. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  53. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  54. prt.Anchored = true
  55. prt.CFrame = cframe
  56. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  57. game:GetService("Debris"):AddItem(prt, 10)
  58. if Type == 1 or Type == nil then
  59. table.insert(Effects, {
  60. prt,
  61. "Block1",
  62. delay,
  63. x3,
  64. y3,
  65. z3,
  66. msh
  67. })
  68. elseif Type == 2 then
  69. table.insert(Effects, {
  70. prt,
  71. "Block2",
  72. delay,
  73. x3,
  74. y3,
  75. z3,
  76. msh
  77. })
  78. else
  79. table.insert(Effects, {
  80. prt,
  81. "Block3",
  82. delay,
  83. x3,
  84. y3,
  85. z3,
  86. msh
  87. })
  88. end
  89. end
  90. },
  91. Sphere = {
  92. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  93. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  94. prt.Anchored = true
  95. prt.CFrame = cframe
  96. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  97. game:GetService("Debris"):AddItem(prt, 10)
  98. table.insert(Effects, {
  99. prt,
  100. "Cylinder",
  101. delay,
  102. x3,
  103. y3,
  104. z3,
  105. msh
  106. })
  107. end
  108. },
  109. Cylinder = {
  110. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  111. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  112. prt.Anchored = true
  113. prt.CFrame = cframe
  114. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  115. game:GetService("Debris"):AddItem(prt, 10)
  116. table.insert(Effects, {
  117. prt,
  118. "Cylinder",
  119. delay,
  120. x3,
  121. y3,
  122. z3,
  123. msh
  124. })
  125. end
  126. },
  127. Wave = {
  128. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  129. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  130. prt.Anchored = true
  131. prt.CFrame = cframe
  132. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  133. game:GetService("Debris"):AddItem(prt, 10)
  134. table.insert(Effects, {
  135. prt,
  136. "Cylinder",
  137. delay,
  138. x3 / 60,
  139. y3 / 60,
  140. z3 / 60,
  141. msh
  142. })
  143. end
  144. },
  145. Ring = {
  146. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  147. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  148. prt.Anchored = true
  149. prt.CFrame = cframe
  150. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  151. game:GetService("Debris"):AddItem(prt, 10)
  152. table.insert(Effects, {
  153. prt,
  154. "Cylinder",
  155. delay,
  156. x3,
  157. y3,
  158. z3,
  159. msh
  160. })
  161. end
  162. },
  163. Break = {
  164. Create = function(brickcolor, cframe, x1, y1, z1)
  165. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  166. prt.Anchored = true
  167. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  168. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  169. local num = math.random(10, 50) / 1000
  170. game:GetService("Debris"):AddItem(prt, 10)
  171. table.insert(Effects, {
  172. prt,
  173. "Shatter",
  174. num,
  175. prt.CFrame,
  176. math.random() - math.random(),
  177. 0,
  178. math.random(50, 100) / 100
  179. })
  180. end
  181. },
  182. Spiral = {
  183. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  184. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  185. prt.Anchored = true
  186. prt.CFrame = cframe
  187. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  188. game:GetService("Debris"):AddItem(prt, 10)
  189. table.insert(Effects, {
  190. prt,
  191. "Cylinder",
  192. delay,
  193. x3,
  194. y3,
  195. z3,
  196. msh
  197. })
  198. end
  199. },
  200. Push = {
  201. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  202. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  203. prt.Anchored = true
  204. prt.CFrame = cframe
  205. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  206. game:GetService("Debris"):AddItem(prt, 10)
  207. table.insert(Effects, {
  208. prt,
  209. "Cylinder",
  210. delay,
  211. x3,
  212. y3,
  213. z3,
  214. msh
  215. })
  216. end
  217. }
  218. }
  219. local NeckS = Instance.new("Part",char)
  220. NeckS.Size = Vector3.new(1.2,1,1.2)
  221. NeckS.Material = "SmoothPlastic"
  222. NeckS.BrickColor = BrickColor.new("Bright yellow")
  223. NeckS.CanCollide = false
  224. local Neck3 = Instance.new("Weld",NeckS)
  225. Neck3.Part0 = larm
  226. Neck3.Part1 = NeckS
  227. Neck3.C0 = CFrame.new(0,-0.62,0)*CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0))
  228. local Black = Instance.new("Part",NeckS)--First Stone, Yellow
  229. Black.Size = Vector3.new(0.3,0.3,0.3)
  230. Black.Material = "Neon"
  231. Black.BrickColor = BrickColor.new("New Yeller")
  232. Black.CanCollide = false
  233. local BlackM = Instance.new("SpecialMesh",Black)
  234. BlackM.MeshType = 3
  235. local Black1 = Instance.new("Weld",Black)
  236. Black1.Part0 = NeckS
  237. Black1.Part1 = Black
  238. Black1.C0 = CFrame.new(0.54,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  239. local Stone2 = Instance.new("Part",NeckS)--First Circle
  240. Stone2.Size = Vector3.new(0.2,0.2,0.2)
  241. Stone2.Material = "Neon"
  242. Stone2.BrickColor = BrickColor.new("Magenta")
  243. Stone2.CanCollide = false
  244. local Stone22 = Instance.new("SpecialMesh",Stone2)
  245. Stone22.MeshType = 3
  246. local Stone222 = Instance.new("Weld",Stone2)
  247. Stone222.Part0 = NeckS
  248. Stone222.Part1 = Stone2
  249. Stone222.C0 = CFrame.new(0.23,-0.47,0.4)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  250. local Stone3 = Instance.new("Part",NeckS)--First Circle
  251. Stone3.Size = Vector3.new(0.2,0.2,0.2)
  252. Stone3.Material = "Neon"
  253. Stone3.BrickColor = BrickColor.new("Lapis")
  254. Stone3.CanCollide = false
  255. local Stone33 = Instance.new("SpecialMesh",Stone3)
  256. Stone33.MeshType = 3
  257. local Stone333 = Instance.new("Weld",Stone3)
  258. Stone333.Part0 = NeckS
  259. Stone333.Part1 = Stone3
  260. Stone333.C0 = CFrame.new(0.23,-0.47,0.08)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  261. local Stone4 = Instance.new("Part",NeckS)--First Circle
  262. Stone4.Size = Vector3.new(0.2,0.2,0.2)
  263. Stone4.Material = "Neon"
  264. Stone4.BrickColor = BrickColor.new("Really red")
  265. Stone4.CanCollide = false
  266. local Stone44 = Instance.new("SpecialMesh",Stone4)
  267. Stone44.MeshType = 3
  268. local Stone444 = Instance.new("Weld",Stone4)
  269. Stone444.Part0 = NeckS
  270. Stone444.Part1 = Stone4
  271. Stone444.C0 = CFrame.new(0.23,-0.47,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  272. local Stone5 = Instance.new("Part",NeckS)--First Circle
  273. Stone5.Size = Vector3.new(0.2,0.2,0.2)
  274. Stone5.Material = "Neon"
  275. Stone5.BrickColor = BrickColor.new("CGA brown")
  276. Stone5.CanCollide = false
  277. local Stone55 = Instance.new("SpecialMesh",Stone5)
  278. Stone55.MeshType = 3
  279. local Stone555 = Instance.new("Weld",Stone5)
  280. Stone555.Part0 = NeckS
  281. Stone555.Part1 = Stone5
  282. Stone555.C0 = CFrame.new(0.23,-0.47,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  283.  
  284. local Stone6 = Instance.new("Part",NeckS)--First Circle
  285. Stone6.Size = Vector3.new(0.2,0.2,0.2)
  286. Stone6.Material = "Neon"
  287. Stone6.BrickColor = BrickColor.new("Lime green")
  288. Stone6.CanCollide = false
  289. local Stone66 = Instance.new("SpecialMesh",Stone6)
  290. Stone66.MeshType = 3
  291. local Stone666 = Instance.new("Weld",Stone6)
  292. Stone666.Part0 = NeckS
  293. Stone666.Part1 = Stone6
  294. Stone666.C0 = CFrame.new(0,-0.3,0.6)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  295.  
  296. local Grab = Instance.new("Part",hed)
  297. Grab.Size = Vector3.new(4.9,5,4.9)
  298. Grab.CanCollide = false
  299. Grab.BrickColor = BrickColor.new("Deep orange")
  300. Grab.Transparency = 1
  301. local Grabo = Instance.new("Weld",Grab)
  302. Grabo.Part0 = hed
  303. Grabo.Part1 = Grab
  304. Grabo.C0 = CFrame.new(0,-1.5,0)
  305.  
  306. local AuraB = Instance.new("Part",hed)
  307. AuraB.Size = Vector3.new(2,1,2)
  308. AuraB.CanCollide = false
  309. AuraB.BrickColor = BrickColor.new("Deep orange")
  310. AuraB.Transparency = 1
  311. local AuraBo = Instance.new("Weld",AuraB)
  312. AuraBo.Part0 = hed
  313. AuraBo.Part1 = AuraB
  314. AuraBo.C0 = CFrame.new(0,-3.6,0)
  315.  
  316. local FZcharge3 = Instance.new("ParticleEmitter",Grab)
  317. FZcharge3.Texture = "rbxassetid://249481494"
  318. FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
  319. FZcharge3.EmissionDirection = "Top"
  320. FZcharge3.Speed = NumberRange.new(8)
  321. FZcharge3.Size = NumberSequence.new(8,0)
  322. FZcharge3.Transparency = NumberSequence.new(0,1)
  323. FZcharge3.Drag = 1.2
  324. FZcharge3.LockedToPart = true
  325. FZcharge3.Lifetime = NumberRange.new(1)
  326. FZcharge3.Rate = 195
  327. FZcharge3.LightEmission = 0
  328. FZcharge3.Rotation = NumberRange.new(-360,360)
  329. FZcharge3.VelocitySpread = 100.2
  330. FZcharge3.ZOffset = 2.5
  331. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
  332. wait(0.001)
  333. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
  334. for i,v in pairs(char:GetChildren()) do
  335. if v ~= root then
  336. if v:IsA("Part") then
  337. v.Transparency = 1
  338. elseif v:IsA("Accoutrement") then
  339. v:FindFirstChildOfClass("Part").Transparency = 1
  340. end
  341. end
  342. end
  343. for i,v in pairs(NeckS:GetChildren()) do
  344. if v ~= root then
  345. if v:IsA("Part") then
  346. v.Transparency = 1
  347. elseif v:IsA("Accoutrement") then
  348. v:FindFirstChildOfClass("Part").Transparency = 1
  349. end
  350. end
  351. end
  352. wait(5)
  353. FZcharge3.Rate = 0
  354. for i,v in pairs(char:GetChildren()) do
  355. if v ~= root then
  356. if v:IsA("Part") then
  357. v.Transparency = 0
  358. elseif v:IsA("Accoutrement") then
  359. v:FindFirstChildOfClass("Part").Transparency = 0
  360. end
  361. end
  362. end
  363. for i,v in pairs(NeckS:GetChildren()) do
  364. if v ~= root then
  365. if v:IsA("Part") then
  366. v.Transparency = 0
  367. elseif v:IsA("Accoutrement") then
  368. v:FindFirstChildOfClass("Part").Transparency = 0
  369. end
  370. end
  371. end
  372. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
  373. local SFXZ = Instance.new("Sound",torso)
  374. SFXZ.SoundId = "rbxassetid://915686003"
  375. SFXZ.Volume = 3
  376. SFXZ.Pitch = 1
  377. SFXZ.Looped = false
  378. wait(0.01)
  379. SFXZ:Play()
  380. nooutline = function(part)
  381. part.TopSurface = 10
  382. end
  383. local Mode = false
  384. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  385. local fp = it("Part")
  386. fp.formFactor = formfactor
  387. fp.Parent = parent
  388. fp.Reflectance = reflectance
  389. fp.Transparency = transparency
  390. fp.CanCollide = false
  391. fp.Locked = true
  392. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  393. fp.Name = name
  394. fp.Size = size
  395. fp.Position = char.Torso.Position
  396. nooutline(fp)
  397. fp.Material = material
  398. fp:BreakJoints()
  399. return fp
  400. end
  401.  
  402. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  403. local mesh = it(Mesh)
  404. mesh.Parent = part
  405. if Mesh == "SpecialMesh" then
  406. mesh.MeshType = meshtype
  407. mesh.MeshId = meshid
  408. end
  409. mesh.Offset = offset
  410. mesh.Scale = scale
  411. return mesh
  412. end
  413.  
  414. weld = function(parent, part0, part1, c0, c1)
  415. local weld = it("Weld")
  416. weld.Parent = parent
  417. weld.Part0 = part0
  418. weld.Part1 = part1
  419. weld.C0 = c0
  420. weld.C1 = c1
  421. return weld
  422. end
  423. local Create = LoadLibrary("RbxUtility").Create
  424. ArtificialHB = Create("BindableEvent", script){
  425. Parent = script,
  426. Name = "Heartbeat",
  427. }
  428.  
  429. function RemoveOutlines(part)
  430. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  431. end
  432. CFuncs = {
  433. Part = {
  434. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  435. local Part = Create("Part"){
  436. Parent = Parent,
  437. Reflectance = Reflectance,
  438. Transparency = Transparency,
  439. CanCollide = false,
  440. Locked = true,
  441. BrickColor = BrickColor.new(tostring(BColor)),
  442. Name = Name,
  443. Size = Size,
  444. Material = Material,
  445. }
  446. RemoveOutlines(Part)
  447. return Part
  448. end;
  449. };
  450.  
  451. Mesh = {
  452. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  453. local Msh = Create(Mesh){
  454. Parent = Part,
  455. Offset = OffSet,
  456. Scale = Scale,
  457. }
  458. if Mesh == "SpecialMesh" then
  459. Msh.MeshType = MeshType
  460. Msh.MeshId = MeshId
  461. end
  462. return Msh
  463. end;
  464. };
  465.  
  466. Weld = {
  467. Create = function(Parent, Part0, Part1, C0, C1)
  468. local Weld = Create("Weld"){
  469. Parent = Parent,
  470. Part0 = Part0,
  471. Part1 = Part1,
  472. C0 = C0,
  473. C1 = C1,
  474. }
  475. return Weld
  476. end;
  477. };
  478.  
  479. Sound = {
  480. Create = function(id, par, vol, pit)
  481. local Sound = Create("Sound"){
  482. Volume = vol,
  483. Pitch = pit or 1,
  484. SoundId = "rbxassetid://" .. id,
  485. Parent = par or workspace,
  486. }
  487. Sound:play()
  488. return Sound
  489. end;
  490. };
  491.  
  492. Decal = {
  493. Create = function(Color, Texture, Transparency, Name, Parent)
  494. local Decal = Create("Decal"){
  495. Color3 = Color,
  496. Texture = "rbxassetid://" .. Texture,
  497. Transparency = Transparency,
  498. Name = Name,
  499. Parent = Parent,
  500. }
  501. return Decal
  502. end;
  503. };
  504.  
  505. BillboardGui = {
  506. Create = function(Parent, Image, Position, Size)
  507. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  508. BillPar.CFrame = CFrame.new(Position)
  509. local Bill = Create("BillboardGui"){
  510. Parent = BillPar,
  511. Adornee = BillPar,
  512. Size = UDim2.new(1, 0, 1, 0),
  513. SizeOffset = Vector2.new(Size, Size),
  514. }
  515. local d = Create("ImageLabel", Bill){
  516. Parent = Bill,
  517. BackgroundTransparency = 1,
  518. Size = UDim2.new(1, 0, 1, 0),
  519. Image = "rbxassetid://" .. Image,
  520. }
  521. return BillPar
  522. end
  523. };
  524.  
  525. ParticleEmitter = {
  526. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  527. local Particle = Create("ParticleEmitter"){
  528. Parent = Parent,
  529. Color = ColorSequence.new(Color1, Color2),
  530. LightEmission = LightEmission,
  531. Size = Size,
  532. Texture = Texture,
  533. Transparency = Transparency,
  534. ZOffset = ZOffset,
  535. Acceleration = Accel,
  536. Drag = Drag,
  537. LockedToPart = LockedToPart,
  538. VelocityInheritance = VelocityInheritance,
  539. EmissionDirection = EmissionDirection,
  540. Enabled = Enabled,
  541. Lifetime = LifeTime,
  542. Rate = Rate,
  543. Rotation = Rotation,
  544. RotSpeed = RotSpeed,
  545. Speed = Speed,
  546. VelocitySpread = VelocitySpread,
  547. }
  548. return Particle
  549. end;
  550. };
  551.  
  552. CreateTemplate = {
  553.  
  554. };
  555. }
  556. NewInstance = function(instance,parent,properties)
  557. local inst = Instance.new(instance)
  558. inst.Parent = parent
  559. if(properties)then
  560. for i,v in next, properties do
  561. pcall(function() inst[i] = v end)
  562. end
  563. end
  564. return inst;
  565. end
  566.  
  567. function rayCast(Position, Direction, Range, Ignore)
  568. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  569. end
  570. local m = Create("Model"){
  571. Parent = char,
  572. Name = "WeaponModel",
  573. }
  574. HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HandleL", Vector3.new(0.403949469, 0.000020112, 0.425030977))
  575. HandleLWeld = CFuncs.Weld.Create(m, char["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00000000000, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
  576. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HitboxL", Vector3.new(1.00394952, 0.05222011, 1.02503109))
  577. HitboxLWeld = CFuncs.Weld.Create(m, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 3.81469727e-006, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  578. Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.401974738, 1.08532834, 0.40197292))
  579. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.098050952, 0.00573730469, 0.171247482, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  580. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  581. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  582. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335890889, -0.251642227, 0.414461493, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  583. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
  584. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0, 0, 0))
  585. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, -0.548431277, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  586. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
  587. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.281382293, 0.206172079, 0.281381041))
  588. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, 0.536894917, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  589. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
  590. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  591. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  592. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
  593. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  594. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.52296257, -0.166549563, 0.881902456, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  595. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
  596. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  597. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.502866745, -0.447936893, 0.208598971, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  598. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
  599. Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  600. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335906148, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  601. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
  602. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  603. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.5229702, -0.155028343, 0.881904364, 0, -1, -0, 0, 0, -1, 1, 0, 0))
  604. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
  605. Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  606. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  607. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
  608. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part", Vector3.new(1.01297641, 0.562762797, 0.361775607))
  609. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00271511078, -0.231538773, 0.72112453, 0, 0, 1, 0, -1, -0, 1, 0, 0))
  610. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  611. Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  612. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  613. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
  614. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  615. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.50287056, -0.436416715, 0.208604693, 0, -1, -0, 0, 0, -1, 1, 0, 0))
  616. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
  617. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.0853318, 0.206172079, 0.261282384))
  618. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.0196914673, -0.273781061, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  619. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
  620. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  621. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  622. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
  623. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  624. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.638334274, 0.120502472, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  625. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  626. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  627. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501613617, -0.377654195, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  628. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  629. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  630. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201816559, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  631. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  632. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.252237976))
  633. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, 0.383117557, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  634. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part2", Vector3.new(0.803949475, 0.452220112, 1.02503097))
  635. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.500019014, 0.275951385, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  636. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.258267611))
  637. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, -0.374602437, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  638. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  639. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.63834095, 0.120515823, 0.384124637, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  640. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  641. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
  642. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364218116, -0.110958099, -0.496704191, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  643. CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
  644. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
  645. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364216208, -0.11095047, 0.508239627, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  646. CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
  647. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.206172079, 1.0049324))
  648. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.374262214, 0.100086212, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  649. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.0974852666, 0.682394505, 1))
  650. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  651. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201721191, 0.384109378, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  652. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  653. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  654. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501708984, 0.384094119, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  655. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  656. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part2", Vector3.new(0.663258314, 0.643157542, 1.04512966))
  657. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0325930119, -0.151147842, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  658. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  659. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357483745, -0.5254879, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  660. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
  661. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.361777306, 0.206172079, 0.206172064))
  662. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.062738657, -0.505384445, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  663. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
  664. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  665. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, -0.335906148, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  666. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
  667. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.643156648))
  668. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.50538826, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  669. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455524, 0.316826075, 1))
  670. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  671. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  672. CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
  673. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 1.0049336, 0.206172064))
  674. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.364208579, 0.00576782227, 0.17042923, -1, 0, -0, 0, 0, -1, 0, -1, -0))
  675. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  676. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256168, 0.206172064))
  677. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.0325796604, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  678. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  679. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.80495441, 0.206172079, 0.206172064))
  680. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.520616472, -0.525484085, 0.00572109222, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  681. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
  682. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  683. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.515432358, 0.00573730469, -0.120672107, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  684. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.414312303, 0.779879749, 0.414309978))
  685. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256109, 0.206172064))
  686. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496704191, 0.0325872898, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  687. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  688. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
  689. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.255522728, -0.409584224, -0.512922287, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  690. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  691. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
  692. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409576595, -0.502866745, 0.357467532, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  693. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
  694. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
  695. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.267042994, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  696. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  697. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.261283636, 0.462269485, 1.08532703))
  698. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.241586685, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  699. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  700. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357467532, -0.522974014, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  701. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
  702. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.401973516, 0.206172064))
  703. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.512922287, 0.00572109222, -0.118150592, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  704. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 1, 0.389938712))
  705. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
  706. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508209109, -0.0779570341, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  707. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  708. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.723554611, 0.206172079, 0.40197283))
  709. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.479927242, -0.512914658, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  710. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.389939815, 1))
  711. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  712. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  713. CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
  714. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  715. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.52296257, -0.640722156, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  716. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
  717. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
  718. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, -0.0779646635, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  719. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  720. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
  721. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.436416715, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  722. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  723. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.683353961))
  724. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.208598971, -0.502866745, 0.00576782227, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  725. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367556, 0.292454839, 1))
  726. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.241183683))
  727. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.881908178, -0.512926102, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  728. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 0.389939815, 1))
  729. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.522567213, 0.206172079, 1.08532703))
  730. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143131495, -0.502866745, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  731. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
  732. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
  733. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.447936893, -0.409574687, -0.512914658, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  734. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  735. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
  736. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, 0.357513309, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  737. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
  738. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
  739. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.40957278, -0.502866745, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  740. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
  741. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  742. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354666114, -0.435037613, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  743. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
  744. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
  745. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  746. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
  747. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  748. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, 0.347427249, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  749. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
  750. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  751. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.525484085, -0.640727878, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  752. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
  753. Part4 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part4", Vector3.new(1.04513443, 0.206172079, 0.206172064))
  754. Part4Weld = CFuncs.Weld.Create(m, HandleL, Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.120185852, 0.349273562, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  755. CFuncs.Mesh.Create("SpecialMesh", Part4, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
  756. Part5 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part5", Vector3.new(1.04513443, 0.206172079, 0.206172064))
  757. Part5Weld = CFuncs.Weld.Create(m, HandleL, Part5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00573730469, -0.42247963, 0.349279284, 0, 0, 1, 0, -1, -0, 1, 0, 0))
  758. CFuncs.Mesh.Create("SpecialMesh", Part5, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
  759. Part6 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part6", Vector3.new(0.206172049, 0.442170829, 1.04512966))
  760. Part6Weld = CFuncs.Weld.Create(m, HandleL, Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.349294543, -0.151140213, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  761. CFuncs.Mesh.Create("BlockMesh", Part6, "", "", Vector3.new(0, 0, 0), Vector3.new(0.48742649, 1, 1))
  762. sref = CFuncs.Part.Create(char, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  763. sref.Anchored = true
  764.  
  765. ACOS = math.acos
  766. ang = CFrame.Angles
  767. SIN = math.sin
  768. cf = CFrame.new
  769. COS = math.cos
  770. rd = math.rad
  771. rd2 = math.random
  772. Heartbeat = Instance.new("BindableEvent")
  773. Heartbeat.Name = "Heartbeat"
  774. Heartbeat.Parent = script
  775. local LeftShoulder = torso["Left Shoulder"]
  776. local Left_Hip = torso["Left Hip"]
  777. local RightShoulder = torso["Right Shoulder"]
  778. local Right_Hip = torso["Right Hip"]
  779.  
  780. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  781. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  782. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  783. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  784. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  785. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  786. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  787. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  788. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  789. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  790. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  791. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  792. RS = torso:FindFirstChild("Right Shoulder")
  793. LS = torso:FindFirstChild("Left Shoulder")
  794. RH = torso:FindFirstChild("Right Hip")
  795. LH = torso:FindFirstChild("Left Hip")
  796. RJ = root:FindFirstChild("RootJoint")
  797. N = torso:FindFirstChild("Neck")
  798.  
  799.  
  800. local UltimateBattle = Instance.new("Sound",hed)
  801. UltimateBattle.SoundId = "rbxassetid://1333021608"
  802. UltimateBattle.Pitch = 1
  803. UltimateBattle.Looped = true
  804. UltimateBattle.Volume = 5
  805. UltimateBattle:Play()
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812. function QuaternionFromCFrame(cf)
  813. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  814. local trace = m00 + m11 + m22
  815. if trace > 0 then
  816. local s = math.sqrt(1 + trace)
  817. local recip = 0.5 / s
  818. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  819. else
  820. local i = 0
  821. if m11 > m00 then
  822. i = 1
  823. end
  824. if m22 > (i == 0 and m00 or m11) then
  825. i = 2
  826. end
  827. if i == 0 then
  828. local s = math.sqrt(m00 - m11 - m22 + 1)
  829. local recip = 0.5 / s
  830. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  831. elseif i == 1 then
  832. local s = math.sqrt(m11 - m22 - m00 + 1)
  833. local recip = 0.5 / s
  834. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  835. elseif i == 2 then
  836. local s = math.sqrt(m22 - m00 - m11 + 1)
  837. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  838. end
  839. end
  840. end
  841.  
  842. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  843. local xs, ys, zs = x + x, y + y, z + z
  844. local wx, wy, wz = w * xs, w * ys, w * zs
  845. local xx = x * xs
  846. local xy = x * ys
  847. local xz = x * zs
  848. local yy = y * ys
  849. local yz = y * zs
  850. local zz = z * zs
  851. 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))
  852. end
  853.  
  854. function QuaternionSlerp(a, b, t)
  855. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  856. local startInterp, finishInterp;
  857. if cosTheta >= 0.0001 then
  858. if (1 - cosTheta) > 0.0001 then
  859. local theta = ACOS(cosTheta)
  860. local invSinTheta = 1 / SIN(theta)
  861. startInterp = SIN((1 - t) * theta) * invSinTheta
  862. finishInterp = SIN(t * theta) * invSinTheta
  863. else
  864. startInterp = 1 - t
  865. finishInterp = t
  866. end
  867. else
  868. if (1 + cosTheta) > 0.0001 then
  869. local theta = ACOS(-cosTheta)
  870. local invSinTheta = 1 / SIN(theta)
  871. startInterp = SIN((t - 1) * theta) * invSinTheta
  872. finishInterp = SIN(t * theta) * invSinTheta
  873. else
  874. startInterp = t - 1
  875. finishInterp = t
  876. end
  877. end
  878. 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
  879. end
  880.  
  881. function Clerp(a, b, t)
  882. local qa = {QuaternionFromCFrame(a)}
  883. local qb = {QuaternionFromCFrame(b)}
  884. local ax, ay, az = a.x, a.y, a.z
  885. local bx, by, bz = b.x, b.y, b.z
  886. local _t = 1 - t
  887. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  888. end
  889.  
  890. main = {r = 0;g = 100;b = 255;v = 1}
  891. if p:FindFirstChild("rcolor") then main.r = p.rcolor.Value else local string = Instance.new("StringValue",p) string.Name = "rcolor" end
  892. if p:FindFirstChild("gcolor") then main.g = p.gcolor.Value else local string = Instance.new("StringValue",p) string.Name = "gcolor" end
  893. if p:FindFirstChild("bcolor") then main.b = p.bcolor.Value else local string = Instance.new("StringValue",p) string.Name = "bcolor" end
  894. if p:FindFirstChild("vcolor") then main.v = p.vcolor.Value else local string = Instance.new("StringValue",p) string.Name = "vcolor" end
  895. if p:FindFirstChild("idtheme") then themeid = p.idtheme.Value else local string = Instance.new("StringValue",p) string.Name = "idtheme" end
  896. if p:FindFirstChild("pitchtheme") then themepitch = p.pitchtheme.Value else local string = Instance.new("StringValue",p) string.Name = "pitchtheme" end
  897. pr = p:FindFirstChild("rcolor")
  898. pg = p:FindFirstChild("gcolor")
  899. pb = p:FindFirstChild("bcolor")
  900. pv = p:FindFirstChild("vcolor")
  901. idth = p:FindFirstChild("idtheme")
  902. pith = p:FindFirstChild("pitchtheme")
  903. main_color = Color3.fromRGB(main.r,main.g,main.b)
  904. explosionid = {144699494,144699494}
  905. punch = {545219984}
  906. --919941001
  907. Prefix = "/"
  908. p.Chatted:connect(function(msg)
  909.  
  910. if msg:lower():sub(1,#Prefix+#'color r ')==Prefix..'color r ' then
  911. local v = tonumber(msg:sub(#Prefix+#'color r '+1))
  912. main.r = v
  913. elseif msg:lower():sub(1,#Prefix+#'color g ')==Prefix..'color g ' then
  914. local v = tonumber(msg:sub(#Prefix+#'color g '+1))
  915. main.g = v
  916. elseif msg:lower():sub(1,#Prefix+#'color b ')==Prefix..'color b ' then
  917. local v = tonumber(msg:sub(#Prefix+#'color b '+1))
  918. main.b = v
  919. elseif msg:lower():sub(1,#Prefix+#'color v ')==Prefix..'color v ' then
  920. local v = tonumber(msg:sub(#Prefix+#'color v '+1))
  921. if v > 1 then main.v = 1 elseif v < -1 then main.v = -1 else main.v = v end
  922.  
  923. elseif msg:lower():sub(1,#Prefix+#'theme ')==Prefix..'theme ' then
  924. local v = tonumber(msg:sub(#Prefix+#'theme '+1))
  925. themeid = v
  926. music(themeid,themepitch)
  927.  
  928. elseif msg:lower():sub(1,#Prefix+#'pitch ')==Prefix..'pitch ' then
  929. local v = tonumber(msg:sub(#Prefix+#'pitch '+1))
  930. themepitch = v
  931. music(themeid,themepitch)
  932.  
  933. elseif msg:lower():sub(1,#Prefix+#'prefix ')==Prefix..'prefix ' then
  934. local v = msg:sub(#Prefix+#'prefix '+1)
  935. Prefix = v
  936.  
  937. elseif msg:lower():sub(1,#Prefix+#'reset')==Prefix..'reset' then
  938. main.r = 0
  939. main.g = 100
  940. main.b = 255
  941. main.v = 1
  942. themeid = 556122490
  943. themepitch = 1
  944. music(themeid,themepitch)
  945.  
  946. end
  947.  
  948. end)
  949. ----------------------------------------------------------------------------
  950. no_anim = false
  951. attack = false
  952. attacking = false
  953. canjump = true
  954. aiming_anim = false
  955. animid = math.random(0,1)
  956. timer = 0
  957. bg = Instance.new("BodyGyro",root)
  958. bg.P = 100000
  959. bg.D = 100
  960. ----------------------------------------------------------------------------
  961.  
  962. ----
  963. function rswait(value)
  964. if value ~= nil and value ~= 0 then
  965. for i=1,value do
  966. rs:wait()
  967. end
  968. else
  969. rs:wait()
  970. end
  971. end
  972.  
  973. ----
  974. local maincolor = BrickColor.new("Really red")
  975. function Eviscerate(dude)
  976. if dude.Name ~= char then
  977.  
  978. local val = Instance.new("BoolValue", dude)
  979. val.Name = "IsHit"
  980. local ds = coroutine.wrap(function()
  981. dude:BreakJoints()
  982. wait(0)
  983. local Vanish = Instance.new("Sound",dude)
  984. Vanish.SoundId = "rbxassetid://427025525"
  985. Vanish.Volume = 0.5
  986. Vanish.Pitch = 0.6
  987. Vanish.Looped = false
  988. wait(0.01)
  989. Vanish:Play()
  990. coroutine.resume(coroutine.create(function()
  991. for i, v in pairs(dude:GetChildren()) do
  992. if v:IsA("Accessory") then
  993. v:Destroy()
  994. end
  995.  
  996. if v:IsA("CharacterMesh") then
  997. v:Destroy()
  998. end
  999. if v:IsA("Model") then
  1000. v:Destroy()
  1001. end
  1002. if v:IsA("Part") or v:IsA("MeshPart") then
  1003. for x, o in pairs(v:GetChildren()) do
  1004. if o:IsA("Decal") then
  1005. o:Destroy()
  1006. end
  1007. end
  1008. coroutine.resume(coroutine.create(function()
  1009. v.Material = "Grass"
  1010. v.CanCollide = false
  1011.  
  1012. coroutine.resume(coroutine.create(function()
  1013. for i = 1,45 do
  1014. v.Transparency = v.Transparency + 0.04
  1015. wait(0.00000000001)
  1016. end
  1017.  
  1018.  
  1019. end))
  1020.  
  1021. local Aura = Instance.new("ParticleEmitter",v)
  1022. Aura.Texture = "rbxassetid://1084976679"
  1023. Aura.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color)
  1024. Aura.EmissionDirection = "Top"
  1025. Aura.Speed = NumberRange.new(0)
  1026. Aura.Size = NumberSequence.new(2.5)
  1027. Aura.Transparency = NumberSequence.new(0,1)
  1028. Aura.Drag = 0.4
  1029. Aura.LightInfluence = 0
  1030. Aura.LockedToPart = true
  1031. Aura.Lifetime = NumberRange.new(0.9)
  1032. Aura.Rate = 260
  1033. Aura.LightEmission = 1
  1034. Aura.Rotation = NumberRange.new(-360,360)
  1035. Aura.VelocitySpread = 0
  1036. Aura.Acceleration = Vector3.new(0,10,0)
  1037. Aura.ZOffset = 0.2
  1038. local BodPoss = Instance.new("BodyPosition", v)
  1039. BodPoss.P = 3000
  1040. BodPoss.D = 1000
  1041. BodPoss.maxForce = Vector3.new(500, 5000, 500)
  1042. BodPoss.position = v.Position + Vector3.new(rd2(-2, 0), rd2(-0, 0), rd2(-0, 0))
  1043. v.BrickColor = BrickColor.new("Dirt brown")
  1044.  
  1045. wait(1.3)
  1046. Aura.Enabled = false
  1047. wait(1.5)
  1048. v:Destroy()
  1049.  
  1050. dude:Destroy()
  1051. end))
  1052. end
  1053.  
  1054. end
  1055. end))
  1056. end)
  1057. ds()
  1058. end
  1059. end
  1060. function Snap(dude)
  1061. if dude.Name ~= char then
  1062. local bgf = Instance.new("BodyGyro", dude.Head)
  1063. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(rd(-90), 0, 0)
  1064. local val = Instance.new("BoolValue", dude)
  1065. val.Name = "IsHit"
  1066. local ds = coroutine.wrap(function()
  1067. dude:BreakJoints()
  1068. wait(0)
  1069.  
  1070. coroutine.resume(coroutine.create(function()
  1071. for i, v in pairs(dude:GetChildren()) do
  1072. if v:IsA("Accessory") then
  1073. v:Destroy()
  1074. end
  1075.  
  1076. if v:IsA("CharacterMesh") then
  1077. v:Destroy()
  1078. end
  1079. if v:IsA("Model") then
  1080. v:Destroy()
  1081. end
  1082. if v:IsA("Part") or v:IsA("MeshPart") then
  1083. for x, o in pairs(v:GetChildren()) do
  1084. if o:IsA("Decal") then
  1085. o:Destroy()
  1086. end
  1087. end
  1088. coroutine.resume(coroutine.create(function()
  1089.  
  1090. v.Material = "Neon"
  1091. local PartEmmit1 = Instance.new("ParticleEmitter", v)
  1092. PartEmmit1.LightEmission = 1
  1093. PartEmmit1.Texture = "rbxassetid://520049620"
  1094. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1095. PartEmmit1.Rate = 150
  1096. PartEmmit1.Lifetime = NumberRange.new(1)
  1097. PartEmmit1.Size = NumberSequence.new({
  1098. NumberSequenceKeypoint.new(0, 0.75, 0),
  1099. NumberSequenceKeypoint.new(1, 0, 0)
  1100. })
  1101. PartEmmit1.Transparency = NumberSequence.new({
  1102. NumberSequenceKeypoint.new(0, 0, 0),
  1103. NumberSequenceKeypoint.new(1, 1, 0)
  1104. })
  1105. PartEmmit1.Speed = NumberRange.new(0, 0)
  1106. PartEmmit1.VelocitySpread = 30000
  1107. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1108. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1109. local BodPoss = Instance.new("BodyPosition", v)
  1110. BodPoss.P = 3000
  1111. BodPoss.D = 1000
  1112. BodPoss.maxForce = Vector3.new(200000, 200000, 200000)
  1113. BodPoss.position = v.Position + Vector3.new(rd2(-1, 1), rd2(-1, 1), rd2(-1, 1))
  1114. v.BrickColor = BrickColor.new("Really red")
  1115. coroutine.resume(coroutine.create(function()
  1116. for i = 0, 49 do
  1117. swait(1)
  1118.  
  1119. end
  1120. wait(0.5)
  1121. PartEmmit1.Enabled = false
  1122. wait(3)
  1123. v:Destroy()
  1124. dude:Destroy()
  1125. end))
  1126. end))
  1127. end
  1128. end
  1129. end))
  1130. end)
  1131. ds()
  1132. end
  1133. end
  1134. function Rock(stone)
  1135. if stone.Name ~= char then
  1136.  
  1137. local val = Instance.new("BoolValue", stone)
  1138. val.Name = "IsHit"
  1139. local ds = coroutine.wrap(function()
  1140. stone:BreakJoints()
  1141. wait(0)
  1142.  
  1143. coroutine.resume(coroutine.create(function()
  1144. for i, v in pairs(stone:GetChildren()) do
  1145. if v:IsA("Accessory") then
  1146. v:Destroy()
  1147. end
  1148.  
  1149. if v:IsA("CharacterMesh") then
  1150. v:Destroy()
  1151. end
  1152. if v:IsA("Model") then
  1153. v:Destroy()
  1154. end
  1155. if v:IsA("Part") or v:IsA("MeshPart") then
  1156. for x, o in pairs(v:GetChildren()) do
  1157. if o:IsA("Decal") then
  1158. o:Destroy()
  1159. end
  1160. end
  1161. coroutine.resume(coroutine.create(function()
  1162.  
  1163. v.Material = "Slate"
  1164. v.CanCollide = true
  1165. local BodPoss = Instance.new("BodyPosition", v)
  1166. BodPoss.P = 3000
  1167. BodPoss.D = 1000
  1168. BodPoss.maxForce = Vector3.new(500, 5000, 500)
  1169. BodPoss.position = v.Position + Vector3.new(rd2(-5, 5), rd2(-0, 0), rd2(-0, 0))
  1170.  
  1171. v.BrickColor = BrickColor.new("Dark stone grey")
  1172. wait(0.1)
  1173. BodPoss:Destroy()
  1174. coroutine.resume(coroutine.create(function()
  1175. for i = 0, 49 do
  1176. swait(1)
  1177.  
  1178. end
  1179. wait(0.5)
  1180.  
  1181. wait(3)
  1182.  
  1183. end))
  1184. end))
  1185. end
  1186. end
  1187. end))
  1188. end)
  1189. ds()
  1190. end
  1191. end
  1192. ----------------------------------------------------------------------------
  1193. local instinct = true
  1194.  
  1195.  
  1196. ---
  1197. Instance.new("ForceField",char).Visible = false
  1198. hum:SetStateEnabled("Dead",false)
  1199. hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  1200. ---
  1201.  
  1202. ---
  1203.  
  1204. local MUI = false
  1205.  
  1206.  
  1207. max = 0
  1208. function music(id,pitch)
  1209. max = 0
  1210. if id == "Stop" then
  1211. if not torso:FindFirstChild("MusicRuin") then
  1212. soundz = Instance.new("Sound",torso)
  1213. end
  1214. soundz:Stop()
  1215. else
  1216. if not torso:FindFirstChild("MusicRuin") then
  1217. soundz = Instance.new("Sound",torso)
  1218. end
  1219. soundz.MaxDistance = 150*5
  1220. soundz.EmitterSize = 150/5
  1221. soundz.Volume = 10
  1222. soundz.Name = "MusicRuin"
  1223. soundz.Looped = true
  1224. soundz.PlaybackSpeed = pitch
  1225. soundz.SoundId = "rbxassetid://"..id
  1226. soundz:Stop()
  1227. soundz:Play()
  1228. end
  1229. end
  1230.  
  1231. ----------------------------------------------------------------------------
  1232.  
  1233. function lerp(a, b, t)
  1234. return a + (b - a)*t
  1235. end
  1236.  
  1237. ----------------------------------------------------------------------------
  1238.  
  1239. function Lerp(c1,c2,al)
  1240. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1241. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1242. for i,v in pairs(com1) do
  1243. com1[i] = v+(com2[i]-v)*al
  1244. end
  1245. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1246. end
  1247.  
  1248. ----------------------------------------------------------------------------
  1249.  
  1250. function slerp(a, b, t)
  1251. dot = a:Dot(b)
  1252. if dot > 0.99999 or dot < -0.99999 then
  1253. return t <= 0.5 and a or b
  1254. else
  1255. r = math.acos(dot)
  1256. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1257. end
  1258. end
  1259.  
  1260. ----------------------------------------------------------------------------
  1261.  
  1262. function clerp(c1,c2,al)
  1263.  
  1264. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1265.  
  1266. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1267.  
  1268. for i,v in pairs(com1) do
  1269.  
  1270. com1[i] = lerp(v,com2[i],al)
  1271.  
  1272. end
  1273.  
  1274. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1275.  
  1276. end
  1277.  
  1278. ----------------------------------------------------------------------------
  1279.  
  1280.  
  1281.  
  1282. -------------------
  1283. function findAllNearestTorso(pos,dist)
  1284. local list = game.Workspace:children()
  1285. local torso = {}
  1286. local temp = nil
  1287. local human = nil
  1288. local temp2 = nil
  1289. for x = 1, #list do
  1290. temp2 = list[x]
  1291. if (temp2.className == "Model") and (temp2 ~= char) then
  1292. local nayem = "Torso"
  1293. if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end
  1294. temp = temp2:findFirstChild(nayem)
  1295. human = temp2:findFirstChildOfClass("Humanoid")
  1296. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1297. if (temp.Position - pos).magnitude < dist then
  1298. table.insert(torso,temp)
  1299. dist = (temp.Position - pos).magnitude
  1300. end
  1301. end
  1302. end
  1303. end
  1304. return torso
  1305. end
  1306.  
  1307. ----------------------------------------------------------------------------
  1308.  
  1309. local isAPlayer
  1310. function checkIfNotPlayer(model)
  1311. coroutine.resume(coroutine.create(function()
  1312. if model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel then
  1313. isAPlayer = true
  1314. else
  1315. isAPlayer = false
  1316. end
  1317. end))
  1318. return isAPlayer
  1319. end
  1320.  
  1321. ----------------------------------------------------------------------------
  1322.  
  1323. function computeDirection(vec)
  1324. local lenSquared = vec.magnitude * vec.magnitude
  1325. local invSqrt = 1 / math.sqrt(lenSquared)
  1326. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1327. end
  1328.  
  1329. ----------------------------------------------------------------------------
  1330.  
  1331. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  1332.  
  1333. local wld = Instance.new("Weld", wp1)
  1334.  
  1335. wld.Part0 = wp0
  1336.  
  1337. wld.Part1 = wp1
  1338.  
  1339. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1340.  
  1341. return wld
  1342.  
  1343. end
  1344.  
  1345. ----------------------------------------------------------------------------
  1346.  
  1347. function weld(model)
  1348. local parts,last = {}
  1349. local function scan(parent)
  1350. for _,v in pairs(parent:GetChildren()) do
  1351. if (v:IsA("BasePart")) then
  1352. if (last) then
  1353. local w = Instance.new("Weld")
  1354. w.Name = ("%s_Weld"):format(v.Name)
  1355. w.Part0,w.Part1 = last,v
  1356. w.C0 = last.CFrame:inverse()
  1357. w.C1 = v.CFrame:inverse()
  1358. w.Parent = last
  1359. end
  1360. last = v
  1361. table.insert(parts,v)
  1362. end
  1363. scan(v)
  1364. end
  1365. end
  1366. scan(model)
  1367. for _,v in pairs(parts) do
  1368. v.Anchored = false
  1369. v.Locked = true
  1370. end
  1371. end
  1372.  
  1373. ----------------------------------------------------------------------------
  1374.  
  1375. function sound(id,position,vol,pitch,dist,start,finish)
  1376. coroutine.resume(coroutine.create(function()
  1377.  
  1378. local part = Instance.new("Part",DebrisModel)
  1379. part.Anchored = true
  1380. part.Position = position
  1381. part.Size = Vector3.new(0,0,0)
  1382. part.CanCollide = false
  1383. part.Transparency = 1
  1384.  
  1385. soundasd = Instance.new("Sound",part)
  1386.  
  1387. soundasd.SoundId = "rbxassetid://"..id
  1388.  
  1389. if vol ~= nil then
  1390. soundasd.Volume = vol
  1391. end
  1392.  
  1393. if pitch ~= nil then
  1394. soundasd.PlaybackSpeed = pitch
  1395. end
  1396.  
  1397. if dist ~= nil then
  1398. soundasd.MaxDistance = dist*5
  1399. soundasd.EmitterSize = dist/5
  1400. end
  1401.  
  1402. delay(0.5,function() debris:AddItem(part,soundasd.TimeLength+3) end)
  1403.  
  1404. soundasd:Play()
  1405.  
  1406. end))
  1407. return soundasd
  1408. end
  1409.  
  1410. function createsound(id,parent)
  1411.  
  1412. local soundz = Instance.new("Sound",parent)
  1413.  
  1414. soundz.SoundId = "rbxassetid://"..id
  1415.  
  1416. return soundz
  1417.  
  1418. end
  1419.  
  1420. function playsound(sond,vol,pitch,start)
  1421.  
  1422. if vol ~= nil then
  1423. sond.Volume = vol
  1424. end
  1425.  
  1426. if pitch ~= nil then
  1427. sond.PlaybackSpeed = pitch
  1428. end
  1429.  
  1430. if start ~= nil then
  1431. sond.TimePosition = start
  1432. end
  1433.  
  1434. sond:Play()
  1435.  
  1436. end
  1437.  
  1438. ----------------------------------------------------------------------------
  1439. eColors={"Really red","Really black"}
  1440. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans)
  1441. local magz = (Part0 - Part1).magnitude
  1442. local curpos = Part0
  1443. local trz = {-Offset,Offset}
  1444. for i=1,Times do
  1445. local li = Instance.new("Part", DebrisModel)
  1446. li.TopSurface =0
  1447. li.Material = Enum.Material.Neon
  1448. li.BottomSurface = 0
  1449. li.Anchored = true
  1450. li.Locked = true
  1451. li.Transparency = Trans or 0.4
  1452. li.BrickColor = BrickColor.new(Color)
  1453. li.formFactor = "Custom"
  1454. li.CanCollide = false
  1455. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  1456. local lim = Instance.new("BlockMesh",li)
  1457. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1458. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1459. if Times == i then
  1460. local magz2 = (curpos - Part1).magnitude
  1461. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1462. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1463. else
  1464. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1465. end
  1466. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1467. li.Name = "LIGHTNING"
  1468. end
  1469. end
  1470.  
  1471. ----------------------------------------------------------------------------
  1472.  
  1473.  
  1474. local HBill = Instance.new("BillboardGui",hed)
  1475. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  1476. local HName = Instance.new("TextLabel")
  1477. HBill.Size = UDim2.new(15,0,2.2,0)
  1478. HBill.StudsOffset = Vector3.new(3.675,1.2,0)
  1479. HBill.AlwaysOnTop = true
  1480. HBill.Enabled = true
  1481. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  1482. HMain.BackgroundTransparency = 1
  1483. HMain.Size = UDim2.new(.5,0,.2,0)
  1484. HName.Parent = HMain
  1485. HName.BackgroundTransparency = 1
  1486. HName.BackgroundColor3 = Color3.new(255,255,255)
  1487. HName.BorderColor3 = Color3.new(0,0,0)
  1488. HName.BorderSizePixel = 2
  1489. HName.TextTransparency = 1
  1490. HName.Size = UDim2.new(1,0,.75,0)
  1491. HName.Font = "Code"
  1492. HName.Text = [[ok]]
  1493. HName.TextScaled = true
  1494. HName.TextColor3 = Color3.new(0.5,0.5,0.5)
  1495. HName.TextStrokeColor3 = Color3.new(0.1,0.1,0.1)
  1496. HName.TextStrokeTransparency = 1
  1497. HName.TextYAlignment = "Bottom"
  1498.  
  1499. local HBill = Instance.new("BillboardGui",hed)
  1500. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  1501. local HName = Instance.new("TextLabel")
  1502. HBill.Size = UDim2.new(15,0,2.2,0)
  1503. HBill.StudsOffset = Vector3.new(3.675,2,0)
  1504. HBill.AlwaysOnTop = true
  1505. HBill.Enabled = true
  1506. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  1507. HMain.BackgroundTransparency = 1
  1508. HMain.Size = UDim2.new(.5,0,.5,0)
  1509. HName.Parent = HMain
  1510. HName.BackgroundTransparency = 1
  1511. HName.BackgroundColor3 = Color3.new(255,255,255)
  1512. HName.BorderColor3 = Color3.new(0,0,0)
  1513. HName.BorderSizePixel = 2
  1514. HName.Size = UDim2.new(1,0,.75,0)
  1515. HName.Font = "Code"
  1516. HName.TextTransparency = 1
  1517. HName.Text = [[hi]]
  1518. HName.TextScaled = true
  1519. HName.TextColor3 = Color3.new(0,0,0)
  1520. HName.TextStrokeColor3 = Color3.new(255,255,255)
  1521. HName.TextStrokeTransparency = 1
  1522. HName.TextYAlignment = "Bottom"
  1523.  
  1524. function bigboomrektxd()
  1525. coroutine.resume(coroutine.create(function()
  1526. local magnitude = nil
  1527. local Position = nil
  1528. if animid == 0 then
  1529. Position = larm.Position
  1530. else
  1531. Position = rarm.Position
  1532. end
  1533. --sound(743499393,Position,10,math.random(6,8)/10)
  1534. sound(1050751126,Position,10,math.random(10,12)/10,50)
  1535.  
  1536. local Part1 = Instance.new("Part")
  1537. local mesh2 = Instance.new("SpecialMesh",Part1)
  1538. mesh2.MeshId = "rbxassetid://559831844"
  1539. mesh2.Scale = Vector3.new(0,0,0.4)
  1540. Part1.Material = Enum.Material.Neon
  1541. Part1.CanCollide = false
  1542. Part1.BrickColor = BrickColor.new("White")
  1543. Part1.Parent = DebrisModel
  1544. Part1.Size = Vector3.new(0,0,0)
  1545. Part1.Anchored = true
  1546. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  1547. Part1.Name = "EXPLOSION2"
  1548.  
  1549. local Part0 = Instance.new("Part",DebrisModel)
  1550. local PointLight2 = Instance.new("PointLight")
  1551. Part0.Name = "Bullet"
  1552. Part0.Material = Enum.Material.Neon
  1553. Part0.BrickColor = BrickColor.new("New Yeller")
  1554. Part0.Anchored = false
  1555. Part0.Size = Vector3.new(5, 5, 5)
  1556. local mesh = Instance.new("SpecialMesh",Part0)
  1557. mesh.MeshType = Enum.MeshType.Sphere
  1558. local bforce = Instance.new("BodyForce",Part0)
  1559. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  1560. Part0.CanCollide = false
  1561. PointLight2.Parent = Part0
  1562. PointLight2.Color = Part0.Color
  1563. local Target = mouse.Hit.p
  1564. local direction = Target - Position
  1565. local direction = computeDirection(direction)
  1566. local pos = Position + (direction * 2)
  1567. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  1568. Part0.Velocity = direction * 60
  1569. local asd = nil
  1570. local loop = nil
  1571. delay(9, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  1572. loop = rs:connect(function()
  1573. local asdf = math.random(500,1000)/1000
  1574. local Part1 = Instance.new("Part")
  1575. local mesh2 = Instance.new("SpecialMesh",Part1)
  1576. mesh2.MeshType = Enum.MeshType.Sphere
  1577. Part1.Material = Enum.Material.Neon
  1578. Part1.CanCollide = false
  1579. Part1.BrickColor = BrickColor.new("Gold")
  1580. Part1.Parent = DebrisModel
  1581. Part1.Size = Part0.Size + Vector3.new(asdf,asdf,asdf)
  1582. Part1.Anchored = true
  1583. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
  1584. Part1.Name = "SMOKE"
  1585. end)
  1586. asd = Part0.Touched:connect(function(ht)
  1587. local hit=ht.Parent
  1588. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  1589. asd:disconnect()
  1590. loop:disconnect()
  1591. Part0:Destroy()
  1592.  
  1593. sound(explosionid[math.random(1,#explosionid)],Part0.Position,5,math.random(6,9)/10,80)
  1594. for i,v in pairs(findAllNearestTorso(Part0.Position,5)) do
  1595. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  1596. v:Destroy()
  1597. else
  1598. v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/(math.random(50,60)/10))
  1599. end
  1600. local Position = Part0.Position
  1601. local Target = v.Position
  1602. local direction = Target - Position
  1603. local direction = computeDirection(direction)
  1604. local bv = Instance.new("BodyVelocity",v)
  1605. bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
  1606. debris:AddItem(bv,1)
  1607. end
  1608. for i=1,14,2 do for x=1,math.random(0,1) do rs:wait() end
  1609. for z=1,math.random(2,3) do
  1610. local asdf = math.random(-5,5)*10-(i/20)*8
  1611. local Part1 = Instance.new("Part")
  1612. local mesh2 = Instance.new("SpecialMesh",Part1)
  1613. mesh2.MeshType = Enum.MeshType.Sphere
  1614. mesh2.Scale = Vector3.new(0,0,0)
  1615. Part1.Material = Enum.Material.Neon
  1616. Part1.CanCollide = false
  1617. Part1.BrickColor = BrickColor.new("Gold")
  1618. Part1.Parent = DebrisModel
  1619. Part1.Size = Vector3.new(asdf,asdf,asdf)
  1620. Part1.Anchored = true
  1621. local a = i*0.5
  1622. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-10,10),math.random(-2,2)*a))
  1623. Part1.Name = "EXPLOSION"
  1624. end
  1625. end
  1626.  
  1627. end
  1628. end)
  1629. end))
  1630. end
  1631.  
  1632.  
  1633. function WhiteBall()
  1634. coroutine.resume(coroutine.create(function()
  1635. local magnitude = nil
  1636. local Position = nil
  1637. if animid == 0 then
  1638. Position = larm.Position
  1639. else
  1640. Position = rarm.Position
  1641. end
  1642. --sound(743499393,Position,10,math.random(6,8)/10)
  1643. sound(1050751126,Position,10,math.random(4,5)/10,100)
  1644.  
  1645. local Part1 = Instance.new("Part")
  1646. local mesh2 = Instance.new("SpecialMesh",Part1)
  1647. mesh2.MeshId = "rbxassetid://559831844"
  1648. mesh2.Scale = Vector3.new(0,0,0.4)
  1649. Part1.Material = Enum.Material.Neon
  1650. Part1.CanCollide = false
  1651. Part1.BrickColor = BrickColor.new("White")
  1652. Part1.Parent = DebrisModel
  1653. Part1.Size = Vector3.new(0,0,0)
  1654. Part1.Anchored = true
  1655. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  1656. Part1.Name = "EXPLOSION3"
  1657.  
  1658. local Part0 = Instance.new("Part",DebrisModel)
  1659. local PointLight2 = Instance.new("PointLight")
  1660. Part0.Name = "Bullet"
  1661. Part0.Material = Enum.Material.Neon
  1662. Part0.BrickColor = BrickColor.new("White")
  1663. Part0.Anchored = false
  1664. Part0.Size = Vector3.new(5, 5, 5)
  1665. local mesh = Instance.new("SpecialMesh",Part0)
  1666. mesh.MeshType = Enum.MeshType.Sphere
  1667. mesh.Scale = Vector3.new(3,3,3)
  1668. local bforce = Instance.new("BodyForce",Part0)
  1669. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  1670. Part0.CanCollide = false
  1671. PointLight2.Parent = Part0
  1672. PointLight2.Color = Part0.Color
  1673. local Target = mouse.Hit.p
  1674. local direction = Target - Position
  1675. local direction = computeDirection(direction)
  1676. local pos = Position + (direction * 2)
  1677. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  1678. Part0.Velocity = direction * 150
  1679. local asd = nil
  1680. local loop = nil
  1681. delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  1682. loop = rs:connect(function()
  1683. local asdf = math.random(500,1000)/1000
  1684. local Part1 = Instance.new("Part")
  1685. local mesh2 = Instance.new("SpecialMesh",Part1)
  1686. mesh2.MeshType = Enum.MeshType.Sphere
  1687. Part1.Material = Enum.Material.Neon
  1688. Part1.CanCollide = false
  1689. Part1.BrickColor = BrickColor.new("White")
  1690. Part1.Parent = DebrisModel
  1691. Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
  1692. Part1.Anchored = true
  1693. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-3000,3000)/750,math.random(-3000,3000)/750,math.random(-3000,3000)/750))
  1694. Part1.Name = "SMOKE"
  1695. end)
  1696. asd = Part0.Touched:connect(function(ht)
  1697. local hit=ht.Parent
  1698. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  1699. asd:disconnect()
  1700. loop:disconnect()
  1701. Part0:Destroy()
  1702.  
  1703. sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(3,5)/10,500)
  1704. for i,v in pairs(findAllNearestTorso(Part0.Position,160)) do
  1705. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  1706. v:Destroy()
  1707. else
  1708. v.Parent:BreakJoints()
  1709. end
  1710. local Position = Part0.Position
  1711. local Target = v.Position
  1712. local direction = Target - Position
  1713. local direction = computeDirection(direction)
  1714. local bv = Instance.new("BodyVelocity",v)
  1715. bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
  1716. debris:AddItem(bv,1)
  1717. end
  1718. for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
  1719. for z=1,math.random(2,3) do
  1720. local asdf = math.random(-5,5)*10-(i/20)*12
  1721. local Part1 = Instance.new("Part")
  1722. local mesh2 = Instance.new("SpecialMesh",Part1)
  1723. mesh2.MeshType = Enum.MeshType.Sphere
  1724. mesh2.Scale = Vector3.new(0,0,0)
  1725. Part1.Material = Enum.Material.Neon
  1726. Part1.CanCollide = false
  1727. Part1.BrickColor = BrickColor.new("White")
  1728. Part1.Parent = DebrisModel
  1729. Part1.Size = Vector3.new(asdf,asdf,asdf)
  1730. Part1.Anchored = true
  1731. local a = i*5
  1732. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-30,30),math.random(-2,2)*a))
  1733. Part1.Name = "EXPLOSION4"
  1734. end
  1735. end
  1736.  
  1737. end
  1738. end)
  1739. end))
  1740. end
  1741.  
  1742.  
  1743. function AirPunch()
  1744. coroutine.resume(coroutine.create(function()
  1745. local magnitude = nil
  1746. local Position = nil
  1747. if animid == 0 then
  1748. Position = larm.Position
  1749. else
  1750. Position = rarm.Position
  1751. end
  1752. --sound(743499393,Position,10,math.random(6,8)/10)
  1753. local Sound2 = Instance.new("Sound",hed)
  1754. Sound2.SoundId = "rbxassetid://138137702"
  1755. Sound2.Volume = 5
  1756. Sound2.Pitch = 1
  1757. Sound2.Looped = false
  1758. Sound2:Play()
  1759.  
  1760. local Part1 = Instance.new("Part")
  1761. local mesh2 = Instance.new("SpecialMesh",Part1)
  1762. mesh2.MeshId = "rbxassetid://559831844"
  1763. mesh2.Scale = Vector3.new(0,0,0.4)
  1764. Part1.Material = Enum.Material.Neon
  1765. Part1.CanCollide = false
  1766. Part1.BrickColor = BrickColor.new("White")
  1767. Part1.Parent = DebrisModel
  1768. Part1.Size = Vector3.new(0,0,0)
  1769. Part1.Anchored = true
  1770. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  1771. Part1.Name = "EXPLOSION3"
  1772.  
  1773. local Part0 = Instance.new("Part",DebrisModel)
  1774. local PointLight2 = Instance.new("PointLight")
  1775. Part0.Name = "Bullet"
  1776. Part0.Material = Enum.Material.Neon
  1777. Part0.BrickColor = BrickColor.new("White")
  1778. Part0.Anchored = false
  1779. Part0.Size = Vector3.new(20,20,20)
  1780. Part0.Transparency = 0.5
  1781. local mesh = Instance.new("SpecialMesh",Part0)
  1782. mesh.MeshId = "rbxassetid://437347603"
  1783. mesh.Scale = Vector3.new(2.3,2.3,2.7)
  1784.  
  1785.  
  1786. coroutine.resume(coroutine.create(function()
  1787. for i = 3,3 do
  1788.  
  1789.  
  1790.  
  1791. coroutine.resume(coroutine.create(function()
  1792. for i = 1,100 do
  1793. Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
  1794.  
  1795. wait(0.00000000001)
  1796. end
  1797.  
  1798.  
  1799. end))
  1800. wait(0.3)
  1801. end
  1802. end))
  1803.  
  1804.  
  1805. local bforce = Instance.new("BodyForce",Part0)
  1806. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  1807. Part0.CanCollide = false
  1808. PointLight2.Parent = Part0
  1809. PointLight2.Color = Part0.Color
  1810. local Target = mouse.Hit.p
  1811. local direction = Target - Position
  1812. local direction = computeDirection(direction)
  1813. local pos = Position + (direction * 2)
  1814. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
  1815. coroutine.resume(coroutine.create(function()
  1816. for i = 3,300 do
  1817. Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -13), 0.4)
  1818.  
  1819.  
  1820. wait(0.00000000001)
  1821. end
  1822.  
  1823.  
  1824. end))
  1825. local FZcharge3 = Instance.new("ParticleEmitter",Part0)
  1826. FZcharge3.Texture = "rbxassetid://174073769"
  1827. FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
  1828. FZcharge3.EmissionDirection = "Top"
  1829. FZcharge3.Speed = NumberRange.new(5)
  1830. FZcharge3.Size = NumberSequence.new(10,0)
  1831. FZcharge3.Transparency = NumberSequence.new(0,1)
  1832. FZcharge3.Drag = 1.2
  1833. FZcharge3.LockedToPart = false
  1834. FZcharge3.Lifetime = NumberRange.new(2)
  1835. FZcharge3.Rate = 105
  1836. FZcharge3.LightEmission = 0.8
  1837. FZcharge3.Rotation = NumberRange.new(-360,360)
  1838. FZcharge3.VelocitySpread = 100
  1839. FZcharge3.ZOffset = 1
  1840. coroutine.resume(coroutine.create(function()
  1841. for i = 1,3 do
  1842. local HQ = Instance.new("Part",Part0)
  1843. HQ.Size = Vector3.new(1,1,1)
  1844. HQ.BrickColor = BrickColor.new("White")
  1845. HQ.Material = "Neon"
  1846. HQ.Anchored = true
  1847. HQ.CanCollide = false
  1848. HQ.Transparency = 0
  1849. HQ.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  1850. local HQ2 = Instance.new("SpecialMesh",HQ)
  1851. HQ2.MeshId = "rbxassetid://20329976"
  1852. HQ2.Scale = Vector3.new(1,1,1)
  1853. local ZQW = Instance.new("Part",Part0)
  1854. ZQW.Size = Vector3.new(1,1,1)
  1855. ZQW.BrickColor = BrickColor.new("White")
  1856. ZQW.Material = "Neon"
  1857. ZQW.Transparency = 1
  1858. ZQW.Anchored = true
  1859. ZQW.CanCollide = false
  1860. ZQW.CFrame = Part0.CFrame*CFrame.new(0,0,0)
  1861. local ZQW2 = Instance.new("SpecialMesh",ZQW)
  1862. ZQW2.MeshType = "Sphere"
  1863. ZQW2.Scale = Vector3.new(1,1,1)
  1864. local H = Instance.new("Part",Part0)
  1865. H.Size = Vector3.new(1,1,1)
  1866. H.BrickColor = BrickColor.new("White")
  1867. H.CanCollide = false
  1868. H.Anchored = true
  1869. H.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1870. local H2 = Instance.new("SpecialMesh",H)
  1871. H2.MeshId = "rbxassetid://3270017"
  1872. coroutine.resume(coroutine.create(function()
  1873. for i = 3,90 do
  1874. ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
  1875. ZQW.Transparency = ZQW.Transparency + 0.06
  1876. HQ2.Scale = HQ2.Scale + Vector3.new(3.2,3.2,3.2)
  1877. HQ.Transparency = HQ.Transparency + 0.05
  1878. H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
  1879. H.Transparency = H.Transparency + 0.05
  1880. wait(0.00000000001)
  1881. end
  1882. HQ:Destroy()
  1883. H2:Destroy()
  1884. H:Destroy()
  1885. HQ2:Destroy()
  1886. ZQW:Destroy()
  1887. ZQW2:Destroy()
  1888. end))
  1889. wait(0.3)
  1890. end
  1891. end))
  1892. local asd = nil
  1893. local loop = nil
  1894. delay(2, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  1895. loop = rs:connect(function()
  1896. local asdf = math.random(100,1000)/1000
  1897. local Part1 = Instance.new("Part")
  1898. local mesh2 = Instance.new("SpecialMesh",Part1)
  1899. mesh2.MeshType = Enum.MeshType.Sphere
  1900. Part1.Material = Enum.Material.Neon
  1901. Part1.CanCollide = false
  1902. Part1.Transparency = 0.9
  1903. Part1.BrickColor = BrickColor.new("White")
  1904. Part1.Parent = DebrisModel
  1905. Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
  1906. Part1.Anchored = true
  1907. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750))
  1908. Part1.Name = "SMOKE"
  1909. end)
  1910. asd = Part0.Touched:connect(function(ht)
  1911. local hit=ht.Parent
  1912.  
  1913.  
  1914. for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
  1915. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  1916. v:Destroy()
  1917. else
  1918. v.Parent.Humanoid:TakeDamage(100000)
  1919.  
  1920.  
  1921.  
  1922. end
  1923. local Position = Part0.Position
  1924. local Target = v.Position
  1925. local direction = Target - Position
  1926. local direction = computeDirection(direction)
  1927. local bv = Instance.new("BodyVelocity",v)
  1928. bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
  1929. debris:AddItem(bv,1)
  1930. end
  1931.  
  1932.  
  1933. end)
  1934. end))
  1935. end
  1936.  
  1937. function DetroitSmash()
  1938. coroutine.resume(coroutine.create(function()
  1939. local magnitude = nil
  1940. local Position = nil
  1941. if animid == 0 then
  1942. Position = larm.Position
  1943. else
  1944. Position = rarm.Position
  1945. end
  1946. --sound(743499393,Position,10,math.random(6,8)/10)
  1947. sound(1050751126,Position,10,math.random(4,5)/10,100)
  1948.  
  1949. local Part1 = Instance.new("Part")
  1950. local mesh2 = Instance.new("SpecialMesh",Part1)
  1951. mesh2.MeshId = "rbxassetid://559831844"
  1952. mesh2.Scale = Vector3.new(0,0,0.4)
  1953. Part1.Material = Enum.Material.Neon
  1954. Part1.CanCollide = false
  1955. Part1.BrickColor = BrickColor.new("White")
  1956. Part1.Parent = DebrisModel
  1957. Part1.Size = Vector3.new(0,0,0)
  1958. Part1.Anchored = true
  1959. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  1960. Part1.Name = "EXPLOSION3"
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970. local Target = mouse.Hit.p
  1971. local direction = Target - Position
  1972. local direction = computeDirection(direction)
  1973. local pos = Position + (direction * 2)
  1974.  
  1975.  
  1976.  
  1977. local asd = nil
  1978. local loop = nil
  1979.  
  1980. local asdf = math.random(100,1000)/1000
  1981. local Part1 = Instance.new("Part")
  1982. local mesh2 = Instance.new("SpecialMesh",Part1)
  1983. mesh2.MeshType = Enum.MeshType.Sphere
  1984. Part1.Material = Enum.Material.Neon
  1985. Part1.CanCollide = false
  1986. Part1.Transparency = 0.9
  1987. Part1.BrickColor = BrickColor.new("Institutional white")
  1988. Part1.Parent = DebrisModel
  1989. Part1.Size = (Part1.Size*0.9) + Vector3.new(asdf,asdf,asdf)
  1990. Part1.Anchored = true
  1991. Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1000,1000)/10,math.random(-1000,1000)/10,math.random(-1000,1000)/750))
  1992. Part1.Name = "SMOKE"
  1993.  
  1994.  
  1995.  
  1996.  
  1997. sound(punch[math.random(1,#punch)],Part1.Position,500,math.random(3,5)/5,50)
  1998. for i,v in pairs(findAllNearestTorso(Part1.Position,100)) do
  1999. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  2000. v:Destroy()
  2001. else
  2002. v.Parent.Humanoid:TakeDamage(100000000000000)
  2003.  
  2004.  
  2005.  
  2006. end
  2007. local Position = Part1.Position
  2008. local Target = v.Position
  2009. local direction = Target - Position
  2010. local direction = computeDirection(direction)
  2011. local bv = Instance.new("BodyVelocity",v)
  2012. bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
  2013. debris:AddItem(bv,1)
  2014. end
  2015. for i=1,14,2 do for x=1,math.random(1,2) do rs:wait() end
  2016. for z=1,math.random(1,2) do
  2017. local asdf = math.random(-5,5)*3-(i/20)*10
  2018. local Part1 = Instance.new("Part")
  2019. local mesh2 = Instance.new("SpecialMesh",Part1)
  2020. mesh2.MeshType = Enum.MeshType.Sphere
  2021. mesh2.Scale = Vector3.new(0,0,0)
  2022. Part1.Material = Enum.Material.SmoothPlastic
  2023. Part1.CanCollide = false
  2024. Part1.BrickColor = BrickColor.new("Institutional white")
  2025. Part1.Parent = DebrisModel
  2026. Part1.Size = Vector3.new(asdf,asdf,asdf)
  2027. Part1.Anchored = true
  2028. Part1.Transparency = 0.3
  2029. local a = i*0.9
  2030. Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1,1)*a,math.random(-1,1),math.random(-1,1)*a))
  2031. Part1.Name = "EXPLOSION4"
  2032. end
  2033. end
  2034. end))
  2035. end
  2036.  
  2037. function DelawareSmash()
  2038. coroutine.resume(coroutine.create(function()
  2039. local magnitude = nil
  2040. local Position = nil
  2041. if animid == 0 then
  2042. Position = larm.Position
  2043. else
  2044. Position = rarm.Position
  2045. end
  2046. --sound(743499393,Position,10,math.random(6,8)/10)
  2047. local Sound2 = Instance.new("Sound",hed)
  2048. Sound2.SoundId = "rbxassetid://138137702"
  2049. Sound2.Volume = 5
  2050. Sound2.Pitch = 0.9
  2051. Sound2.Looped = false
  2052. Sound2:Play()
  2053.  
  2054. local Part1 = Instance.new("Part")
  2055. local mesh2 = Instance.new("SpecialMesh",Part1)
  2056. mesh2.MeshId = "rbxassetid://559831844"
  2057. mesh2.Scale = Vector3.new(0,0,0.4)
  2058. Part1.Material = Enum.Material.Neon
  2059. Part1.CanCollide = false
  2060. Part1.BrickColor = BrickColor.new("White")
  2061. Part1.Parent = DebrisModel
  2062. Part1.Size = Vector3.new(0,0,0)
  2063. Part1.Anchored = true
  2064. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  2065. Part1.Name = "EXPLOSION3"
  2066.  
  2067. local Part0 = Instance.new("Part",DebrisModel)
  2068. local PointLight2 = Instance.new("PointLight")
  2069. PointLight2.Brightness = 100
  2070. PointLight2.Range = 40
  2071. Part0.Name = "Bullet"
  2072. Part0.Material = Enum.Material.Glass
  2073. Part0.BrickColor = BrickColor.new("White")
  2074. Part0.Anchored = false
  2075. Part0.Size = Vector3.new(20,20,20)
  2076. Part0.Transparency = 0.5
  2077. local mesh = Instance.new("SpecialMesh",Part0)
  2078. mesh.MeshId = "rbxassetid://437347603"
  2079. mesh.Scale = Vector3.new(4.3,4.3,6.7)
  2080. local Music = Instance.new("Sound",Part0)
  2081. Music.SoundId = "rbxassetid://362395087"
  2082. Music.Pitch = 0.8
  2083. Music.Looped = true
  2084. Music.Volume = 5
  2085.  
  2086. Music:Play()
  2087.  
  2088. coroutine.resume(coroutine.create(function()
  2089. for i = 3,3 do
  2090.  
  2091.  
  2092.  
  2093. coroutine.resume(coroutine.create(function()
  2094. for i = 1,400 do
  2095. Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
  2096.  
  2097. wait()
  2098. end
  2099.  
  2100.  
  2101. end))
  2102. wait(0.3)
  2103. end
  2104. end))
  2105.  
  2106.  
  2107. local bforce = Instance.new("BodyForce",Part0)
  2108. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  2109. Part0.CanCollide = false
  2110. PointLight2.Parent = Part0
  2111. PointLight2.Color = Part0.Color
  2112. local Target = mouse.Hit.p
  2113. local direction = Target - Position
  2114. local direction = computeDirection(direction)
  2115. local pos = Position + (direction * 2)
  2116. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
  2117.  
  2118. coroutine.resume(coroutine.create(function()
  2119. for i = 3,300 do
  2120. Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -18), 0.4)
  2121.  
  2122.  
  2123. wait()
  2124. end
  2125.  
  2126.  
  2127. end))
  2128. local FZcharge3 = Instance.new("ParticleEmitter",Part0)
  2129. FZcharge3.Texture = "rbxassetid://174073769"
  2130. FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
  2131. FZcharge3.EmissionDirection = "Top"
  2132. FZcharge3.Speed = NumberRange.new(5)
  2133. FZcharge3.Size = NumberSequence.new(40,0)
  2134. FZcharge3.Transparency = NumberSequence.new(0,1)
  2135. FZcharge3.Drag = 1.2
  2136. FZcharge3.LockedToPart = false
  2137. FZcharge3.Lifetime = NumberRange.new(3)
  2138. FZcharge3.Rate = 105
  2139. FZcharge3.LightEmission = 0.8
  2140. FZcharge3.Rotation = NumberRange.new(-360,360)
  2141. FZcharge3.VelocitySpread = 100
  2142. FZcharge3.ZOffset = 1
  2143. local FlyAt = Instance.new("Attachment",Part0)FlyAt.Position = Vector3.new(0,0.1,0)
  2144. local FlyAt2 = Instance.new("Attachment",Part0)FlyAt2.Position = Vector3.new(0,-15.5,0)
  2145. local Speed = Instance.new("Trail",Part0)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  2146. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 2.1 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2147. Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
  2148.  
  2149. coroutine.resume(coroutine.create(function()
  2150. for i = 1,60 do
  2151. local HQ = Instance.new("Part",Part0)
  2152. HQ.Size = Vector3.new(1,1,1)
  2153. HQ.BrickColor = BrickColor.new("White")
  2154. HQ.Material = Enum.Material.Glass
  2155. HQ.Anchored = true
  2156. HQ.CanCollide = false
  2157. HQ.Transparency = 0
  2158. HQ.CFrame = Part0.CFrame*CFrame.new(0,0,-20)*CFrame.Angles(1.55,0,0)
  2159. local HQ2 = Instance.new("SpecialMesh",HQ)
  2160. HQ2.MeshId = "rbxassetid://20329976"
  2161. HQ2.Scale = Vector3.new(14.5,14.5,14.5)
  2162. local ZQW = Instance.new("Part",Part0)
  2163. ZQW.Size = Vector3.new(1,1,1)
  2164. ZQW.BrickColor = BrickColor.new("White")
  2165. ZQW.Material = Enum.Material.Glass
  2166. ZQW.Transparency = 1
  2167. ZQW.Anchored = true
  2168. ZQW.CanCollide = false
  2169. ZQW.CFrame = Part0.CFrame*CFrame.new(-40,0,0)
  2170. local ZQW2 = Instance.new("SpecialMesh",ZQW)
  2171. ZQW2.MeshType = "Sphere"
  2172. ZQW2.Scale = Vector3.new(14.5,14.5,2.5)
  2173. local H = Instance.new("Part",Part0)
  2174. H.Size = Vector3.new(1,1,1)
  2175. H.BrickColor = BrickColor.new("White")
  2176. H.CanCollide = false
  2177. H.Anchored = true
  2178. H.CFrame = Part0.CFrame*CFrame.new(0,0,-40)*CFrame.Angles(0,0,0)
  2179. local H2 = Instance.new("SpecialMesh",H)
  2180. H2.MeshId = "rbxassetid://3270017"
  2181. H2.Scale = Vector3.new(14.5,14.5,2.5)
  2182. coroutine.resume(coroutine.create(function()
  2183. for i = 1,90 do
  2184. ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
  2185. ZQW.Transparency = ZQW.Transparency + 0.06
  2186. HQ2.Scale = HQ2.Scale + Vector3.new(3.2,8.2,3.2)
  2187. HQ.Transparency = HQ.Transparency + 0.05
  2188. H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
  2189. H.Transparency = H.Transparency + 0.05
  2190. wait(0.00000000001)
  2191. end
  2192. HQ:Destroy()
  2193. H2:Destroy()
  2194. H:Destroy()
  2195. HQ2:Destroy()
  2196. ZQW:Destroy()
  2197. ZQW2:Destroy()
  2198. end))
  2199.  
  2200. wait(0.1)
  2201.  
  2202. end
  2203.  
  2204. end))
  2205. local asd = nil
  2206. local loop = nil
  2207. delay(7, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  2208. loop = rs:connect(function()
  2209. local asdf = math.random(100,1000)/1000
  2210. local Part1 = Instance.new("Part")
  2211. local mesh2 = Instance.new("SpecialMesh",Part1)
  2212. mesh2.MeshType = Enum.MeshType.Sphere
  2213. Part1.Material = Enum.Material.Neon
  2214. Part1.CanCollide = false
  2215. Part1.Transparency = 0.9
  2216. Part1.BrickColor = BrickColor.new("White")
  2217. Part1.Parent = DebrisModel
  2218. Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
  2219. Part1.Anchored = true
  2220. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750))
  2221. Part1.Name = "SMOKE"
  2222. end)
  2223. asd = Part0.Touched:connect(function(ht)
  2224. local hit=ht.Parent
  2225.  
  2226.  
  2227.  
  2228.  
  2229. for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
  2230. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  2231. v:Destroy()
  2232. else
  2233. v.Parent.Humanoid:TakeDamage(1000)
  2234. v.Velocity = Part0.CFrame.lookVector * 100
  2235.  
  2236. end
  2237.  
  2238. local Position = Part0.Position
  2239. local Target = v.Position
  2240. local direction = Target - Position
  2241. local direction = computeDirection(direction)
  2242. local bv = Instance.new("BodyVelocity",v)
  2243. bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
  2244. debris:AddItem(bv,1)
  2245. end
  2246.  
  2247.  
  2248. end)
  2249. end))
  2250. end
  2251.  
  2252.  
  2253.  
  2254. function unused()
  2255. coroutine.resume(coroutine.create(function()
  2256. local magnitude = nil
  2257. local Position = nil
  2258. if animid == 0 then
  2259. Position = larm.Position
  2260. else
  2261. Position = rarm.Position
  2262. end
  2263. --sound(743499393,Position,10,math.random(6,8)/10)
  2264. sound(1050751126,Position,10,math.random(4,5)/10,100)
  2265.  
  2266. local Part1 = Instance.new("Part")
  2267. local mesh2 = Instance.new("SpecialMesh",Part1)
  2268. mesh2.MeshId = "rbxassetid://559831844"
  2269. mesh2.Scale = Vector3.new(0,0,0.4)
  2270. Part1.Material = Enum.Material.Neon
  2271. Part1.CanCollide = false
  2272. Part1.BrickColor = BrickColor.new("White")
  2273. Part1.Parent = DebrisModel
  2274. Part1.Size = Vector3.new(0,0,0)
  2275. Part1.Anchored = true
  2276. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  2277. Part1.Name = "EXPLOSION3"
  2278.  
  2279. local Part0 = Instance.new("Part",DebrisModel)
  2280. local PointLight2 = Instance.new("PointLight")
  2281. Part0.Name = "Bullet"
  2282. Part0.Material = Enum.Material.Neon
  2283. Part0.BrickColor = BrickColor.new("White")
  2284. Part0.Anchored = false
  2285. Part0.Size = Vector3.new(1,1,1)
  2286. Part0.Transparency = 0.5
  2287. local mesh = Instance.new("SpecialMesh",Part0)
  2288. mesh.MeshId = "rbxassetid://437347603"
  2289. mesh.Scale = Vector3.new(1.3,1.3,4.4)
  2290. local bforce = Instance.new("BodyForce",Part0)
  2291. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  2292. Part0.CanCollide = false
  2293. PointLight2.Parent = Part0
  2294. PointLight2.Color = Part0.Color
  2295. local Target = mouse.Hit.p
  2296. local direction = Target - Position
  2297. local direction = computeDirection(direction)
  2298. local pos = Position + (direction * 2)
  2299. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
  2300. Part0.Velocity = direction * 750
  2301. local asd = nil
  2302. local loop = nil
  2303. delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  2304. loop = rs:connect(function()
  2305. local asdf = math.random(500,1000)/1000
  2306. local Part1 = Instance.new("Part")
  2307. local mesh2 = Instance.new("SpecialMesh",Part1)
  2308. mesh2.MeshType = Enum.MeshType.Sphere
  2309. Part1.Material = Enum.Material.Neon
  2310. Part1.CanCollide = false
  2311. Part1.BrickColor = BrickColor.new("White")
  2312. Part1.Parent = DebrisModel
  2313. Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
  2314. Part1.Anchored = true
  2315. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
  2316. Part1.Name = "SMOKE"
  2317. end)
  2318. asd = Part0.Touched:connect(function(ht)
  2319. local hit=ht.Parent
  2320. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  2321. asd:disconnect()
  2322. loop:disconnect()
  2323. Part0:Destroy()
  2324.  
  2325. sound(punch[math.random(1,#punch)],Part0.Position,10,math.random(3,5)/5,50)
  2326. for i,v in pairs(findAllNearestTorso(Part0.Position,35)) do
  2327. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  2328. v:Destroy()
  2329. else
  2330. v.Parent:BreakJoints()
  2331. local Fl = Instance.new("BodyVelocity",v.Parent.Head)
  2332. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2333. Fl.velocity = Part0.CFrame.lookVector*395
  2334. wait(0.05)
  2335. Fl:remove()
  2336.  
  2337. end
  2338. local Position = Part0.Position
  2339. local Target = v.Position
  2340. local direction = Target - Position
  2341. local direction = computeDirection(direction)
  2342. local bv = Instance.new("BodyVelocity",v)
  2343. bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
  2344. debris:AddItem(bv,1)
  2345. end
  2346. for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
  2347. for z=1,math.random(2,3) do
  2348. local asdf = math.random(-5,5)*2-(i/2)*10
  2349. local Part1 = Instance.new("Part")
  2350. local mesh2 = Instance.new("SpecialMesh",Part1)
  2351. mesh2.MeshType = Enum.MeshType.Sphere
  2352. mesh2.Scale = Vector3.new(0,0,0)
  2353. Part1.Material = Enum.Material.Neon
  2354. Part1.CanCollide = false
  2355. Part1.BrickColor = BrickColor.new("White")
  2356. Part1.Parent = DebrisModel
  2357. Part1.Size = Vector3.new(asdf,asdf,asdf)
  2358. Part1.Anchored = true
  2359. local a = i*0.7
  2360. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  2361. Part1.Name = "EXPLOSION4"
  2362. end
  2363. end
  2364.  
  2365. end
  2366. end)
  2367. end))
  2368. end
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375. function lerpz(joint, prop, cfrmz, alp)
  2376. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  2377. end
  2378. function resetlerp()
  2379. RJ.C0 = RJC0
  2380. RJ.C1 = RJC1
  2381. N.C0 = NC0
  2382. N.C1 = NC1
  2383. RS.C0 = RSC0
  2384. RS.C1 = RSC1
  2385. LS.C0 = LSC0
  2386. LS.C1 = LSC1
  2387. RH.C0 = RHC0
  2388. RH.C1 = RHC1
  2389. LH.C0 = LHC0
  2390. end
  2391. function swait(num)
  2392. if num == 0 or num == nil then
  2393. Heartbeat.Event:wait()
  2394. else
  2395. for i = 1, num do
  2396. Heartbeat.Event:wait()
  2397. end
  2398. end
  2399. end
  2400. mouse.KeyDown:connect(function(k)
  2401. if k == "=" and MUI == true then
  2402. instinct = false
  2403. animid = 5
  2404. no_anim = true
  2405. for _ = 1, 45 do
  2406. swait()
  2407. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  2408. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  2409. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
  2410. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  2411. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  2412. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  2413. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  2414. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  2415. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  2416. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  2417.  
  2418. end
  2419. AirPunchStrong()
  2420. wait(0.2)
  2421. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
  2422. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
  2423. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
  2424. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
  2425. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  2426. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  2427. wait(0.5)
  2428. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
  2429. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
  2430. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm
  2431. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
  2432. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  2433. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  2434. AirPunchStrong()
  2435. wait(0.2)
  2436. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
  2437. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
  2438. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
  2439. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
  2440. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  2441. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  2442. wait(0.5)
  2443. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head
  2444. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
  2445. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
  2446. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
  2447. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  2448. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  2449. AirPunchStrong()
  2450. wait(0.2)
  2451. no_anim = false
  2452. instinct = true
  2453. end
  2454. end)
  2455.  
  2456.  
  2457.  
  2458. local attacktype = 1
  2459. mouse.Button1Down:connect(function()
  2460. if attack == false and attacktype == 1 and MUI == false then
  2461. Hit()
  2462. attacktype = 2
  2463. elseif attack == false and attacktype == 2 and MUI == false then
  2464. Hit2()
  2465. attacktype = 1
  2466. end
  2467. end)
  2468.  
  2469.  
  2470. mouse.Button1Down:connect(function()
  2471. if attack == false and attacktype == 1 and MUI == true then
  2472. HitFC()
  2473. attacktype = 2
  2474. elseif attack == false and attacktype == 2 and MUI == true then
  2475. HitFC2()
  2476. attacktype = 1
  2477. end
  2478. end)
  2479. function Hit()
  2480. if not D then D = true
  2481. animid = 5
  2482. no_anim = true
  2483.  
  2484. local Grab = Instance.new("Part",larm)
  2485. Grab.Size = Vector3.new(4,4,4)
  2486. Grab.CanCollide = false
  2487. Grab.BrickColor = BrickColor.new("Deep orange")
  2488. Grab.Transparency = math.huge
  2489. local Grabo = Instance.new("Weld",Grab)
  2490. Grabo.Part0 = larm
  2491. Grabo.Part1 = Grab
  2492. Grabo.C0 = CFrame.new(0,-1.1,0)
  2493. local SFXZ = Instance.new("Sound",torso)
  2494. SFXZ.SoundId = "rbxassetid://169259383"
  2495. SFXZ.Volume = 1
  2496. SFXZ.Pitch = 1.5
  2497. SFXZ.Looped = false
  2498. wait(0.01)
  2499. SFXZ:Play()
  2500.  
  2501. Grab.Touched:connect(function(hit)
  2502. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
  2503. Grab:Destroy()
  2504. SFXZ:Destroy()
  2505.  
  2506. hit.Parent.Humanoid:TakeDamage(5000000000000000)
  2507. local Smash = Instance.new("Part",char)
  2508. Smash.Size = Vector3.new(30,30,30)
  2509. Smash.BrickColor = BrickColor.new("New Yeller")
  2510. Smash.CanCollide = false
  2511. Smash.Anchored = true
  2512. Smash.Transparency = 0.1
  2513. Smash.CFrame = root.CFrame*CFrame.new(0,0,20)*CFrame.Angles(0,0,1.55)
  2514. local Smash2 = Instance.new("SpecialMesh",Smash)
  2515. Smash2.MeshId = "rbxassetid://437347603"
  2516. Smash2.Scale = Vector3.new(2.8,2.8,2.94)
  2517. local Sound2 = Instance.new("Sound",Smash)
  2518. Sound2.SoundId = "rbxassetid://138137702"
  2519. Sound2.Volume = 0.9
  2520. Sound2.Pitch = 1
  2521. Sound2.Looped = false
  2522. Sound2:Play()
  2523. local Sound = Instance.new("Sound",torso)
  2524. Sound.SoundId = "rbxassetid://0"
  2525. Sound.Volume = 7
  2526. Sound.Pitch = 1
  2527. Sound.Looped = false
  2528. Sound:Play()
  2529. coroutine.resume(coroutine.create(function()
  2530. for i = 3,100 do
  2531.  
  2532. Smash.CFrame = Smash.CFrame*CFrame.Angles(0,0,-0.1)
  2533. Smash.CFrame = Smash.CFrame:lerp(Smash.CFrame * CFrame.new(0, 0, -11), 0.4)
  2534.  
  2535.  
  2536. Smash.Transparency = Smash.Transparency + 0.09
  2537.  
  2538. wait(0.00000000001)
  2539. end
  2540. Smash:Destroy()
  2541.  
  2542. end))
  2543.  
  2544.  
  2545. coroutine.resume(coroutine.create(function()
  2546. for i = 1,3 do
  2547. local HQ = Instance.new("Part",root)
  2548. HQ.Size = Vector3.new(1,1,1)
  2549. HQ.BrickColor = BrickColor.new("Medium stone grey")
  2550. HQ.Material = "Neon"
  2551. HQ.Anchored = true
  2552. HQ.CanCollide = false
  2553. HQ.Transparency = 0
  2554. HQ.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,1.55)
  2555. local HQ2 = Instance.new("SpecialMesh",HQ)
  2556. HQ2.MeshId = "rbxassetid://3270017"
  2557. HQ2.Scale = Vector3.new(1,1,1)
  2558. local ZQW = Instance.new("Part",root)
  2559. ZQW.Size = Vector3.new(1,1,1)
  2560. ZQW.BrickColor = BrickColor.new("Medium stone grey")
  2561. ZQW.Material = "Neon"
  2562. ZQW.Transparency = 1
  2563. ZQW.Anchored = true
  2564. ZQW.CanCollide = false
  2565. ZQW.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)
  2566. local ZQW2 = Instance.new("SpecialMesh",ZQW)
  2567. ZQW2.MeshType = "Sphere"
  2568. ZQW2.Scale = Vector3.new(1,1,1)
  2569. local H = Instance.new("Part",root)
  2570. H.Size = Vector3.new(1,1,1)
  2571. H.BrickColor = BrickColor.new("Medium stone grey")
  2572. H.CanCollide = false
  2573. H.Anchored = true
  2574. H.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55)
  2575. local H2 = Instance.new("SpecialMesh",H)
  2576. H2.MeshId = "rbxassetid://3270017"
  2577. coroutine.resume(coroutine.create(function()
  2578. for i = 3,90 do
  2579. ZQW2.Scale = ZQW2.Scale + Vector3.new(2.2,2.2,2.2)
  2580. ZQW.Transparency = ZQW.Transparency + 0.06
  2581. HQ2.Scale = HQ2.Scale + Vector3.new(3,3,3.2)
  2582. HQ.Transparency = HQ.Transparency + 0.05
  2583. H2.Scale = H2.Scale + Vector3.new(2.2,2.2,2.2)
  2584. H.Transparency = H.Transparency + 0.05
  2585. wait(0.00000000001)
  2586. end
  2587. HQ:Destroy()
  2588. H2:Destroy()
  2589. H:Destroy()
  2590. HQ2:Destroy()
  2591. ZQW:Destroy()
  2592. ZQW2:Destroy()
  2593. end))
  2594. wait(0.3)
  2595. end
  2596. end))
  2597. local Spinn = Instance.new("Part",char)
  2598. Spinn.Size = Vector3.new(1,1,1)
  2599. Spinn.BrickColor = BrickColor.new("New Yeller")
  2600. Spinn.CanCollide = false
  2601. Spinn.Transparency = 0.1
  2602. Spinn.Anchored = true
  2603. Spinn.Material = "Neon"
  2604. Spinn.CFrame = root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  2605. local Spinn2 = Instance.new("SpecialMesh",Spinn)
  2606. Spinn2.MeshId = "rbxassetid://881809484"
  2607. Spinn2.Scale = Vector3.new(20,20,20)
  2608. coroutine.resume(coroutine.create(function()
  2609. for i = 3,300 do
  2610. Spinn.Transparency = Spinn.Transparency + 0.05
  2611.  
  2612. Spinn.CFrame = Spinn.CFrame*CFrame.Angles(0.2,0.2,0.2)
  2613. wait(0.00000000001)
  2614. end
  2615. end))
  2616.  
  2617.  
  2618. local Spinn = Instance.new("Part",char)
  2619. Spinn.Size = Vector3.new(1,1,1)
  2620. Spinn.BrickColor = BrickColor.new("New Yeller")
  2621. Spinn.CanCollide = false
  2622. Spinn.Transparency = 0.1
  2623. Spinn.Anchored = true
  2624. Spinn.Material = "Neon"
  2625. Spinn.CFrame = root.CFrame*CFrame.new(0,0,-10)*CFrame.Angles(0,0,0)
  2626. local Spinn2 = Instance.new("SpecialMesh",Spinn)
  2627. Spinn2.MeshType = 3
  2628. Spinn2.Scale = Vector3.new(6,6,35)
  2629. coroutine.resume(coroutine.create(function()
  2630. for i = 3,300 do
  2631. Spinn.Transparency = Spinn.Transparency + 0.05
  2632.  
  2633.  
  2634. wait(0.00000000001)
  2635. end
  2636. end))
  2637.  
  2638. local SFXZ = Instance.new("Sound",hed)
  2639. SFXZ.SoundId = "rbxassetid://260430060"
  2640. SFXZ.Volume = 3
  2641. SFXZ.Pitch = 1
  2642. SFXZ.Looped = false
  2643. wait(0.01)
  2644. SFXZ:Play()
  2645.  
  2646. end
  2647. SFXZ:Destroy()
  2648. end)
  2649.  
  2650. for i= 1,5 do
  2651. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  2652. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
  2653. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
  2654. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
  2655. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
  2656. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
  2657. wait()
  2658. end
  2659.  
  2660. coroutine.resume(coroutine.create(function()
  2661. wait(0.5)
  2662. Grab:remove()
  2663. end))
  2664. no_anim = false
  2665. Grab:Destroy()
  2666. wait(0)
  2667. D = false
  2668. end
  2669. end
  2670. function Hit2()
  2671. if not D then D = true
  2672. no_anim = true
  2673. local Grab = Instance.new("Part",rarm)
  2674. Grab.Size = Vector3.new(4,4,4)
  2675. Grab.CanCollide = false
  2676. Grab.BrickColor = BrickColor.new("Deep orange")
  2677. Grab.Transparency = math.huge
  2678. local Grabo = Instance.new("Weld",Grab)
  2679. Grabo.Part0 = rarm
  2680. Grabo.Part1 = Grab
  2681. Grabo.C0 = CFrame.new(0,-1.1,0)
  2682. local SFXZ = Instance.new("Sound",torso)
  2683. SFXZ.SoundId = "rbxassetid://169259383"
  2684. SFXZ.Volume = 1
  2685. SFXZ.Pitch = 1
  2686. SFXZ.Looped = false
  2687. wait(0.01)
  2688. SFXZ:Play()
  2689.  
  2690. Grab.Touched:connect(function(hit)
  2691. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
  2692. Grab:Destroy()
  2693. SFXZ:Destroy()
  2694. hit.Parent.Humanoid:TakeDamage(50)
  2695. local Cloud3 = Instance.new("Part",char)
  2696. Cloud3.Size = Vector3.new(1,1,1)
  2697. Cloud3.BrickColor = BrickColor.new("Medium stone grey")
  2698. Cloud3.Anchored = true
  2699. Cloud3.Material = "Neon"
  2700. Cloud3.CanCollide = false
  2701. Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
  2702. local Cloud4 = Instance.new("SpecialMesh",Cloud3)
  2703. Cloud4.MeshId = "rbxassetid://3270017"
  2704. Cloud4.Scale = Vector3.new(1,1,0.4)
  2705.  
  2706.  
  2707.  
  2708. coroutine.resume(coroutine.create(function()
  2709. for i = 3,650 do
  2710.  
  2711.  
  2712.  
  2713.  
  2714. Cloud3.Transparency = Cloud3.Transparency + 0.03
  2715. Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2)
  2716.  
  2717.  
  2718.  
  2719.  
  2720. wait(0.00000000001)
  2721. end
  2722. end))
  2723. local SFXZ = Instance.new("Sound",hed)
  2724. SFXZ.SoundId = "rbxassetid://260430060"
  2725. SFXZ.Volume = 3
  2726. SFXZ.Pitch = 1.2
  2727. SFXZ.Looped = false
  2728. wait(0.01)
  2729. SFXZ:Play()
  2730.  
  2731. end
  2732. SFXZ:Destroy()
  2733. end)
  2734. for i = 1, 5 do
  2735. wait()
  2736.  
  2737. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
  2738. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
  2739. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
  2740. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  2741. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  2742. end
  2743.  
  2744. coroutine.resume(coroutine.create(function()
  2745. wait(0.5)
  2746. Grab:remove()
  2747. end))
  2748. no_anim = false
  2749. Grab:Destroy()
  2750. wait(0)
  2751. D = false
  2752. end
  2753. end
  2754.  
  2755. function HitFC()
  2756. if not D then D = true
  2757. animid = 5
  2758. no_anim = true
  2759. local Grab = Instance.new("Part",larm)
  2760. Grab.Size = Vector3.new(3,3,3)
  2761. Grab.CanCollide = false
  2762. Grab.BrickColor = BrickColor.new("Deep orange")
  2763. Grab.Transparency = math.huge
  2764. local Grabo = Instance.new("Weld",Grab)
  2765. Grabo.Part0 = larm
  2766. Grabo.Part1 = Grab
  2767. Grabo.C0 = CFrame.new(0,-1.1,0)
  2768. local SFXZ = Instance.new("Sound",torso)
  2769. SFXZ.SoundId = "rbxassetid://169259383"
  2770. SFXZ.Volume = 1
  2771. SFXZ.Pitch = 1.5
  2772. SFXZ.Looped = false
  2773. wait(0.01)
  2774. SFXZ:Play()
  2775.  
  2776. Grab.Touched:connect(function(hit)
  2777. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
  2778. Grab:Destroy()
  2779. SFXZ:Destroy()
  2780. hit.Parent.Humanoid:TakeDamage(250)
  2781. local Cloud3 = Instance.new("Part",char)
  2782. Cloud3.Size = Vector3.new(1,1,1)
  2783. Cloud3.BrickColor = BrickColor.new("Medium stone grey")
  2784. Cloud3.Anchored = true
  2785. Cloud3.Material = "Neon"
  2786. Cloud3.CanCollide = false
  2787. Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  2788. local Cloud4 = Instance.new("SpecialMesh",Cloud3)
  2789. Cloud4.MeshId = "rbxassetid://3270017"
  2790. Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
  2791.  
  2792.  
  2793.  
  2794. coroutine.resume(coroutine.create(function()
  2795. for i = 3,650 do
  2796.  
  2797.  
  2798.  
  2799.  
  2800. Cloud3.Transparency = Cloud3.Transparency + 0.03
  2801. Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.5)
  2802.  
  2803.  
  2804.  
  2805.  
  2806. wait(0.00000000001)
  2807. end
  2808. end))
  2809. local SFXZ = Instance.new("Sound",hed)
  2810. SFXZ.SoundId = "rbxassetid://260430060"
  2811. SFXZ.Volume = 3
  2812. SFXZ.Pitch = 1
  2813. SFXZ.Looped = false
  2814. wait(0.01)
  2815. SFXZ:Play()
  2816.  
  2817. end
  2818. SFXZ:Destroy()
  2819. end)
  2820.  
  2821. for i = 1, 2 do
  2822. wait()
  2823.  
  2824. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
  2825. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm
  2826. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
  2827. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  2828. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  2829. end
  2830.  
  2831. coroutine.resume(coroutine.create(function()
  2832. wait(0.5)
  2833. Grab:remove()
  2834. end))
  2835. no_anim = false
  2836. Grab:Destroy()
  2837. wait(0)
  2838. D = false
  2839. end
  2840. end
  2841. function HitFC2()
  2842. if not D then D = true
  2843. no_anim = true
  2844. local Grab = Instance.new("Part",rarm)
  2845. Grab.Size = Vector3.new(3,3,3)
  2846. Grab.CanCollide = false
  2847. Grab.BrickColor = BrickColor.new("Deep orange")
  2848. Grab.Transparency = math.huge
  2849. local Grabo = Instance.new("Weld",Grab)
  2850. Grabo.Part0 = rarm
  2851. Grabo.Part1 = Grab
  2852. Grabo.C0 = CFrame.new(0,-1.1,0)
  2853. local SFXZ = Instance.new("Sound",torso)
  2854. SFXZ.SoundId = "rbxassetid://169259383"
  2855. SFXZ.Volume = 1
  2856. SFXZ.Pitch = 1
  2857. SFXZ.Looped = false
  2858. wait(0.01)
  2859. SFXZ:Play()
  2860.  
  2861. Grab.Touched:connect(function(hit)
  2862. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
  2863. Grab:Destroy()
  2864. SFXZ:Destroy()
  2865. hit.Parent.Humanoid:TakeDamage(250)
  2866. local Cloud3 = Instance.new("Part",char)
  2867. Cloud3.Size = Vector3.new(1,1,1)
  2868. Cloud3.BrickColor = BrickColor.new("Medium stone grey")
  2869. Cloud3.Anchored = true
  2870. Cloud3.Material = "Neon"
  2871. Cloud3.CanCollide = false
  2872. Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
  2873. local Cloud4 = Instance.new("SpecialMesh",Cloud3)
  2874. Cloud4.MeshId = "rbxassetid://3270017"
  2875. Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
  2876.  
  2877.  
  2878.  
  2879. coroutine.resume(coroutine.create(function()
  2880. for i = 3,650 do
  2881.  
  2882.  
  2883.  
  2884.  
  2885. Cloud3.Transparency = Cloud3.Transparency + 0.03
  2886. Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.2)
  2887.  
  2888.  
  2889.  
  2890.  
  2891. wait(0.00000000001)
  2892. end
  2893. end))
  2894. local SFXZ = Instance.new("Sound",hed)
  2895. SFXZ.SoundId = "rbxassetid://260430060"
  2896. SFXZ.Volume = 3
  2897. SFXZ.Pitch = 1.2
  2898. SFXZ.Looped = false
  2899. wait(0.01)
  2900. SFXZ:Play()
  2901.  
  2902. end
  2903. SFXZ:Destroy()
  2904. end)
  2905. for i = 1, 2 do
  2906. wait()
  2907.  
  2908. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
  2909. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
  2910. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
  2911. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  2912. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  2913. end
  2914.  
  2915. coroutine.resume(coroutine.create(function()
  2916. wait(0.5)
  2917. Grab:remove()
  2918. end))
  2919. no_anim = false
  2920. Grab:Destroy()
  2921. wait(0)
  2922. D = false
  2923. end
  2924. end
  2925.  
  2926.  
  2927.  
  2928.  
  2929. mouse.KeyDown:connect(function(key)
  2930. if key == '1' then
  2931. no_anim = true
  2932. local Aura = Instance.new("ParticleEmitter",Stone4)
  2933. Aura.Texture = "rbxassetid://271370648"
  2934. Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  2935. Aura.EmissionDirection = "Top"
  2936. Aura.Speed = NumberRange.new(0)
  2937. Aura.Size = NumberSequence.new(2.5)
  2938. Aura.Transparency = NumberSequence.new(0,1)
  2939. Aura.Drag = 0.4
  2940. Aura.LightInfluence = 0
  2941. Aura.LockedToPart = true
  2942. Aura.Lifetime = NumberRange.new(0.9)
  2943. Aura.Rate = 60
  2944. Aura.LightEmission = 0.6
  2945. Aura.Rotation = NumberRange.new(-360,360)
  2946. Aura.VelocitySpread = 0
  2947. Aura.Acceleration = Vector3.new(0,0,0)
  2948. Aura.ZOffset = 0.2
  2949. LockOn()
  2950. for i = 1, 20 do
  2951. wait()
  2952.  
  2953. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  2954. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  2955. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm
  2956. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  2957. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  2958. end
  2959. no_anim = false
  2960. Aura.Rate = 0
  2961. end
  2962. end)
  2963.  
  2964. mouse.KeyDown:connect(function(key)
  2965. if key == '2' then
  2966. Bring()
  2967. end
  2968. end)
  2969.  
  2970. function LockOn()
  2971. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2972. TargetSelect(mouse.Target.Parent)
  2973. Rock(mouse.Target.Parent)
  2974. end
  2975. end
  2976.  
  2977.  
  2978. function Bring()
  2979. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2980. TargetSelect(mouse.Target.Parent)
  2981.  
  2982. end
  2983. end
  2984. function swait(num)
  2985. if num == 0 or num == nil then
  2986. ArtificialHB.Event:wait()
  2987. else
  2988. for i = 0, num do
  2989. ArtificialHB.Event:wait()
  2990. end
  2991. end
  2992. end
  2993.  
  2994. ArtificialHB = Instance.new("BindableEvent", script)
  2995. ArtificialHB.Name = "Heartbeat"
  2996.  
  2997. script:WaitForChild("Heartbeat")
  2998.  
  2999. function TargetSelect(person)
  3000. local dd=coroutine.wrap(function()
  3001. if targetted ~= person then
  3002. targetted = person
  3003. for i = 0, 2, 0.1 do
  3004. swait()
  3005. end
  3006. end
  3007. end)
  3008. dd()
  3009. end
  3010. local RbxUtility = LoadLibrary("RbxUtility")
  3011. local Create = RbxUtility.Create
  3012. function HomingAttack()
  3013.  
  3014.  
  3015.  
  3016.  
  3017. if targetted == nil then
  3018.  
  3019. end
  3020.  
  3021.  
  3022. targetted.Head.CFrame = root.CFrame * CFrame.new(0,1.5,-3.1)
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028. end
  3029. mouse.KeyDown:connect(function(key)
  3030. if key == '3' then
  3031. HomingAttack()
  3032. end
  3033. end)
  3034.  
  3035. function laz0r()
  3036.  
  3037. local Position = nil
  3038. if animid == 0 then
  3039. Position = NeckS.Position
  3040. else
  3041. Position = NeckS.Position
  3042. end
  3043.  
  3044. local Part1 = Instance.new("Part")
  3045. local mesh2 = Instance.new("SpecialMesh",Part1)
  3046. mesh2.MeshId = "rbxassetid://559831844"
  3047. mesh2.Scale = Vector3.new(0,0,0.4)
  3048. Part1.Material = Enum.Material.Neon
  3049. Part1.CanCollide = false
  3050. Part1.BrickColor = BrickColor.new("White")
  3051. Part1.Parent = DebrisModel
  3052. Part1.Size = Vector3.new(0,0,0)
  3053. Part1.Anchored = true
  3054. Part1.CFrame = CFrame.new(Position)
  3055. Part1.Name = "EXPLOSION3"
  3056.  
  3057. local Part0 = Instance.new("Part",DebrisModel)
  3058. Part0.Name = "Bullet"
  3059. Part0.Material = Enum.Material.Neon
  3060. Part0.BrickColor = BrickColor.new("Magenta")
  3061. Part0.Anchored = true
  3062. local mesh = Instance.new("SpecialMesh",Part0)
  3063. mesh.MeshType = Enum.MeshType.Sphere
  3064. Part0.CanCollide = false
  3065. local Target = mouse.Hit.p
  3066. local direction = Target - Position
  3067. local direction = computeDirection(direction)
  3068. local ray = Ray.new(Position, (Target).unit*1048)
  3069. local part, endPoint = workspace:FindPartOnRay(ray, char)
  3070. Part0.Size = Vector3.new(9,1,9)
  3071. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
  3072. local pos = Position + (direction * (mesh.Scale.Y/2))
  3073. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  3074.  
  3075. clashpart = Instance.new("Part",DebrisModel)
  3076. clashpart.Size = Vector3.new(50,50,50)
  3077. clashpart.CanCollide = false
  3078. clashpart.Anchored = true
  3079. clashpart.Transparency = 1
  3080. clashpart.BrickColor = BrickColor.new("Magenta")
  3081. clashpart.Name = "StarLightClash"
  3082. clashpart.CFrame = CFrame.new(endPoint, mouse.Hit.p)
  3083.  
  3084.  
  3085.  
  3086. local z = 10
  3087. for i = 1,100 do rs:wait()
  3088. if animid == 0 then
  3089. root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
  3090. Position = root.Position
  3091. else
  3092. root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
  3093. Position = root.Position
  3094. end
  3095.  
  3096. local Target = mouse.Hit.p
  3097. local direction = Target - Position
  3098. local direction = computeDirection(direction)
  3099. local ray = Ray.new(Position, (Target-Position).unit*1048)
  3100. local part, endPoint = workspace:FindPartOnRay(ray, char)
  3101. Part0.Size = Vector3.new(5-((i/100)*5),1,5-((i/100)*5))
  3102. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
  3103. mesh.Offset = Vector3.new(math.random(-10000,10000)/20000,math.random(-10000,10000)/20000,0)
  3104. local pos = Position + (direction * (mesh.Scale.Y/0))
  3105. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  3106. clashpart.CFrame = CFrame.new(endPoint, root.Position)
  3107.  
  3108. local Position = mouse.Hit.p
  3109. local Target = root.Position
  3110. local direction = Target - Position
  3111. local direction = computeDirection(direction)
  3112. root.Velocity = direction * 5
  3113.  
  3114. if i >= z then z = i + 10 sound(explosionid[math.random(1,#explosionid)],endPoint,10,math.random(6,9)/10,200) end
  3115.  
  3116. Part1 = Part0:Clone()
  3117. Part1.Parent = DebrisModel
  3118. Part1.BrickColor = BrickColor.new("Magenta")
  3119. Part1.Name = "SMOKE2"
  3120.  
  3121. if part ~= nil then
  3122. if part.Name == "StarLightClash" then
  3123. local asdf = math.random(0,5)*20
  3124. local Part1 = Instance.new("Part")
  3125. local mesh2 = Instance.new("SpecialMesh",Part1)
  3126. mesh2.MeshType = Enum.MeshType.Sphere
  3127. mesh2.Scale = Vector3.new(0,0,0)
  3128. Part1.Material = Enum.Material.Neon
  3129. Part1.CanCollide = false
  3130. Part1.BrickColor = BrickColor.new("Magenta")
  3131. Part1.Size = Vector3.new(asdf,asdf,asdf)
  3132. Part1.Anchored = true
  3133. local a = 1.5
  3134. Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  3135. Part1.Name = "EXPLOSION"
  3136. else
  3137. local asdf = math.random(0,5)*10
  3138. local Part1 = Instance.new("Part")
  3139. local mesh2 = Instance.new("SpecialMesh",Part1)
  3140. mesh2.MeshType = Enum.MeshType.Sphere
  3141. mesh2.Scale = Vector3.new(0,0,0)
  3142. Part1.Material = Enum.Material.Neon
  3143. Part1.CanCollide = false
  3144. Part1.BrickColor = BrickColor.new("Magenta")
  3145. Part1.Parent = DebrisModel
  3146. Part1.Size = Vector3.new(asdf,asdf,asdf)
  3147. Part1.Anchored = true
  3148. local a = 1.5
  3149. Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  3150. Part1.Name = "EXPLOSION"
  3151. end
  3152. end
  3153.  
  3154. for i,v in pairs(findAllNearestTorso(endPoint,50)) do
  3155. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 100000000000000000000000000000000000 then
  3156. v:Destroy()
  3157. else
  3158. v.Parent:BreakJoints()
  3159. end
  3160. local Position = mouse.Hit.p
  3161. local Target = v.Position
  3162. local direction = Target - Position
  3163. local direction = computeDirection(direction)
  3164. local bv = Instance.new("BodyVelocity",v)
  3165. bv.Velocity = direction * (10 - ((Position - Target).magnitude/2))
  3166. debris:AddItem(bv,1)
  3167. end
  3168.  
  3169. end
  3170. clashpart:Destroy()
  3171. Part0:Destroy()
  3172. wait(0.3)
  3173. aiming_anim = false
  3174. delay(0.3,function() debounce = false end)
  3175. end
  3176.  
  3177.  
  3178. mouse.KeyDown:connect(function(k)
  3179. if k == "u" and Mode == false then
  3180.  
  3181. animid = 5
  3182. no_anim = true
  3183. hum.WalkSpeed = 0
  3184.  
  3185.  
  3186.  
  3187. for i = 1, 30 do
  3188. wait()
  3189.  
  3190. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  3191. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  3192. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm
  3193. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  3194. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  3195. end
  3196. wait(2)
  3197. local Grab = Instance.new("Part",hed)
  3198. Grab.Size = Vector3.new(3.9,5,3.9)
  3199. Grab.CanCollide = false
  3200. Grab.BrickColor = BrickColor.new("Deep orange")
  3201. Grab.Transparency = 1
  3202. local Grabo = Instance.new("Weld",Grab)
  3203. Grabo.Part0 = hed
  3204. Grabo.Part1 = Grab
  3205. Grabo.C0 = CFrame.new(0,-1.5,0)
  3206.  
  3207. local AuraB = Instance.new("Part",hed)
  3208. AuraB.Size = Vector3.new(2,1,2)
  3209. AuraB.CanCollide = false
  3210. AuraB.BrickColor = BrickColor.new("Deep orange")
  3211. AuraB.Transparency = 1
  3212. local AuraBo = Instance.new("Weld",AuraB)
  3213. AuraBo.Part0 = hed
  3214. AuraBo.Part1 = AuraB
  3215. AuraBo.C0 = CFrame.new(0,-3.6,0)
  3216.  
  3217. local FZcharge3 = Instance.new("ParticleEmitter",Grab)
  3218. FZcharge3.Texture = "rbxassetid://249481494"
  3219. FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
  3220. FZcharge3.EmissionDirection = "Top"
  3221. FZcharge3.Speed = NumberRange.new(2)
  3222. FZcharge3.Size = NumberSequence.new(4,0)
  3223. FZcharge3.Transparency = NumberSequence.new(0,1)
  3224. FZcharge3.Drag = 1.2
  3225. FZcharge3.LockedToPart = true
  3226. FZcharge3.Lifetime = NumberRange.new(1)
  3227. FZcharge3.Rate = 195
  3228. FZcharge3.LightEmission = 0.3
  3229. FZcharge3.Rotation = NumberRange.new(-360,360)
  3230. FZcharge3.VelocitySpread = 0.2
  3231. FZcharge3.ZOffset = 2.5
  3232. wait(1)
  3233. FZcharge3.Rate = 0
  3234. UltimateBattle.Volume = 0
  3235. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
  3236. for i,v in pairs(char:GetChildren()) do
  3237. if v ~= root then
  3238. if v:IsA("Part") then
  3239. v.Transparency = 1
  3240. elseif v:IsA("Accoutrement") then
  3241. v:FindFirstChildOfClass("Part").Transparency = 1
  3242. end
  3243. end
  3244. end
  3245. for i,v in pairs(NeckS:GetChildren()) do
  3246. if v ~= root then
  3247. if v:IsA("Part") then
  3248. v.Transparency = 1
  3249. elseif v:IsA("Accoutrement") then
  3250. v:FindFirstChildOfClass("Part").Transparency = 1
  3251. end
  3252. end
  3253. end
  3254.  
  3255. wait(2.2)
  3256. FZcharge3.Rate = 195
  3257. root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
  3258.  
  3259. for i,v in pairs(char:GetChildren()) do
  3260. if v ~= root then
  3261. if v:IsA("Part") then
  3262. v.Transparency = 0
  3263. elseif v:IsA("Accoutrement") then
  3264. v:FindFirstChildOfClass("Part").Transparency = 0
  3265. end
  3266. end
  3267. end
  3268. for i,v in pairs(NeckS:GetChildren()) do
  3269. if v ~= root then
  3270. if v:IsA("Part") then
  3271. v.Transparency = 0
  3272. elseif v:IsA("Accoutrement") then
  3273. v:FindFirstChildOfClass("Part").Transparency = 0
  3274. end
  3275. end
  3276. end
  3277. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
  3278. wait(1)
  3279. UltimateBattle.Volume = 5
  3280. FZcharge3.Rate = 0
  3281. hum.WalkSpeed = 16
  3282. wait(1)
  3283. Grab:Destroy()
  3284. no_anim = false
  3285. end
  3286. end)
  3287. mouse.KeyDown:connect(function(k)
  3288. if k == "u" and Mode == true then
  3289.  
  3290.  
  3291. root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
  3292.  
  3293.  
  3294. end
  3295. end)
  3296. -------------------------------------------------------
  3297.  
  3298. mouse.KeyDown:connect(function(k)
  3299. if k == "z" then
  3300. local FZcharge3 = Instance.new("ParticleEmitter",Stone6)
  3301. FZcharge3.Texture = "rbxassetid://165211997"
  3302. FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
  3303. FZcharge3.EmissionDirection = "Top"
  3304. FZcharge3.Speed = NumberRange.new(8)
  3305. FZcharge3.Size = NumberSequence.new(0.5,0)
  3306. FZcharge3.Transparency = NumberSequence.new(0,1)
  3307. FZcharge3.Drag = 1.2
  3308. FZcharge3.LockedToPart = false
  3309. FZcharge3.Lifetime = NumberRange.new(0.5)
  3310. FZcharge3.Rate = 195
  3311. FZcharge3.LightEmission = 1
  3312. FZcharge3.VelocitySpread = 100
  3313. FZcharge3.Rotation = NumberRange.new(-360,360)
  3314. FZcharge3.VelocitySpread = 100.2
  3315. FZcharge3.ZOffset = 1
  3316. local CHAINLINKS = {}
  3317. local POS = mouse.Hit.p
  3318. local CHAINS = false
  3319. local CHAINLINKS = {}
  3320. local A = Instance.new("Attachment",NeckS)
  3321. A.Position = Vector3.new(0.3,0,0)*Player_Size
  3322. A.Orientation = Vector3.new(-90, -89.982, 0)
  3323. local B = Instance.new("Attachment",NeckS)
  3324. B.Position = Vector3.new(-0.3,0,0)*Player_Size
  3325. B.Orientation = Vector3.new(-90, 89.988, 0)
  3326. local C = Instance.new("Attachment",NeckS)
  3327. C.Position = Vector3.new(0.3,-0.1,0)*Player_Size
  3328. C.Orientation = Vector3.new(-90, -89.982, 0)
  3329. local D = Instance.new("Attachment",NeckS)
  3330. D.Position = Vector3.new(-0.3,-0.3,0)*Player_Size
  3331. D.Orientation = Vector3.new(-90, 89.988, 0)
  3332. local LIGHT = Instance.new("Attachment",NeckS)
  3333. LIGHT.Position = Vector3.new(0.3,-0,0)*Player_Size
  3334. local LIGHT2 = Instance.new("PointLight",larm)
  3335. LIGHT2.Range = 6
  3336. LIGHT2.Brightness = 20
  3337. LIGHT2.Color = Color3.new(0, 255, 0)
  3338. for i = 1, 2 do
  3339. local TWIST = -2
  3340. local START = A
  3341. local END = B
  3342. if i == 1 then
  3343. START = B
  3344. END = A
  3345. end
  3346. local ChainLink = Instance.new("Beam",torso)
  3347. ChainLink.Texture = "rbxassetid://165211997"
  3348. ChainLink.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
  3349. ChainLink.TextureSpeed = 5
  3350. ChainLink.Width0 = 1
  3351. ChainLink.Width1 = 1
  3352. ChainLink.TextureLength = 1.5
  3353. ChainLink.Attachment0 = START
  3354. ChainLink.Attachment1 = END
  3355. ChainLink.CurveSize0 = TWIST
  3356. ChainLink.CurveSize1 = TWIST
  3357. --ChainLink.FaceCamera = true
  3358. ChainLink.Segments = 45
  3359. ChainLink.Transparency = NumberSequence.new(0)
  3360. table.insert(CHAINLINKS,ChainLink)
  3361. end
  3362. coroutine.resume(coroutine.create(function()
  3363. for i = 3,80000000000000000000000000000 do
  3364. hum.Health = hum.MaxHealth
  3365.  
  3366.  
  3367. coroutine.resume(coroutine.create(function()
  3368. for i = 1,15 do
  3369.  
  3370. wait(0.00000000001)
  3371. end
  3372.  
  3373.  
  3374.  
  3375. end))
  3376. wait(0.06)
  3377. end
  3378. end))
  3379.  
  3380. end
  3381. end)
  3382.  
  3383. mouse.KeyDown:connect(function(k)
  3384. if k == "k" then
  3385. no_anim = true
  3386. local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0)
  3387. local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0)
  3388. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  3389. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3390. Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5
  3391. for i = 1,7 do
  3392. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  3393. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso
  3394. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm
  3395. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm
  3396. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg
  3397. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
  3398. wait()
  3399. end
  3400. wait(0.7)
  3401. local Grab = Instance.new("Part",NeckS)
  3402. Grab.Size = Vector3.new(4,4,4)
  3403. Grab.CanCollide = false
  3404. Grab.BrickColor = BrickColor.new("Deep orange")
  3405. Grab.Transparency = math.huge
  3406. local Grabo = Instance.new("Weld",Grab)
  3407. Grabo.Part0 = larm
  3408. Grabo.Part1 = Grab
  3409. Grabo.C0 = CFrame.new(0,-0.1,0)
  3410. Grab.Touched:connect(function(hit)
  3411. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= player.Character.Name then
  3412. Grab:Destroy()
  3413. no_anim = true
  3414. local SFXZ = Instance.new("Sound",root)
  3415. SFXZ.SoundId = "rbxassetid://1699290293"
  3416. SFXZ.Volume = 7
  3417. SFXZ.Pitch = 1
  3418. SFXZ.Looped = false
  3419. wait(0.01)
  3420. SFXZ:Play()
  3421. hit.Parent:BreakJoints()
  3422. Snap(hit.Parent)
  3423.  
  3424.  
  3425.  
  3426.  
  3427. end
  3428. end)
  3429. for i= 1,10 do
  3430. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  3431. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
  3432. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
  3433. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
  3434. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
  3435. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
  3436. wait()
  3437. end
  3438. FlyAt:Destroy()
  3439. no_anim = false
  3440.  
  3441. end
  3442. end)
  3443.  
  3444.  
  3445. mouse.KeyDown:connect(function(k)
  3446. if k == "y" then
  3447. instinct = false
  3448. animid = 5
  3449. no_anim = true
  3450.  
  3451. local sbs = Instance.new("BodyPosition", torso)
  3452. sbs.P = 9000
  3453. sbs.D = 1000
  3454. sbs.maxForce = Vector3.new(900000, 900000000, 900000)
  3455. sbs.position = torso.CFrame.p + Vector3.new(0, 10, 0)
  3456. for i = 1, 20 do
  3457. wait()
  3458. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.8)--head
  3459. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  3460. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(-50)), 0.8)--rarm
  3461. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm
  3462. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg
  3463. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg
  3464. end
  3465. coroutine.resume(coroutine.create(function()
  3466. for i = 3,8 do
  3467. local Ball = Instance.new("Part",char)
  3468. Ball.Size = Vector3.new(1,1,1)
  3469. Ball.BrickColor = BrickColor.new("Magenta")
  3470. Ball.Material = "Neon"
  3471. Ball.Anchored = true
  3472. Ball.CanCollide = false
  3473. Ball.Transparency = 0
  3474. Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  3475. local Ball2 = Instance.new("SpecialMesh",Ball)
  3476. Ball2.MeshType = 3
  3477. Ball2.Scale = Vector3.new(2,2,2)
  3478.  
  3479.  
  3480.  
  3481.  
  3482. coroutine.resume(coroutine.create(function()
  3483. for i = 1,15 do
  3484. Ball2.Scale = Ball2.Scale + Vector3.new(19.4,19.4,19.4)
  3485. Ball.Transparency = Ball.Transparency + 0.06
  3486. wait(0.00000000001)
  3487. end
  3488. Ball:Destroy()
  3489.  
  3490.  
  3491. end))
  3492. wait(0.06)
  3493. end
  3494. end))
  3495. root.Anchored = true
  3496. g = Instance.new("Explosion")
  3497. g.Parent = workspace
  3498. g.Position = root.Position
  3499. g.BlastRadius = 90
  3500. g.BlastPressure = 4000200
  3501. g.Visible = false
  3502. for i = 1, 70 do
  3503. wait()
  3504. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.8)--head
  3505. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  3506. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(50)), 0.8)--rarm
  3507. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(50),math.rad(-50)), 0.8)--larm
  3508. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--lleg
  3509. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  3510. end
  3511. wait(0.2)
  3512.  
  3513. sbs:Destroy()
  3514. no_anim = false
  3515. root.Anchored = false
  3516.  
  3517. end
  3518. end)
  3519. local deb = false
  3520. function smooth(obj)
  3521. local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"}
  3522. for i,v in pairs(sides) do
  3523. obj[v.."Surface"] = "SmoothNoOutlines"
  3524. end
  3525. end
  3526. local multiplier = 1000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3527. function hurt(hit, dmg)
  3528. if hit.Parent then
  3529. if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end
  3530. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  3531. if hum then
  3532. if hum.Parent.Name ~= plr.Name then
  3533. if dmg == "Kill" or hum.Health > 100000 then
  3534. hit.Parent:BreakJoints()
  3535. return true
  3536. else
  3537. if math.random(0, 100) == 50 then
  3538. hit.Parent:BreakJoints()
  3539. else
  3540. hit.Parent:BreakJoints()
  3541. end
  3542. return true
  3543. end
  3544. end
  3545. end
  3546. end
  3547. end
  3548. local push = 100
  3549. local huge = Vector3.new(math.huge,math.huge,math.huge)
  3550. function gethum(obj)
  3551. if obj.Parent then
  3552. if obj.Parent:FindFirstChild("Humanoid") then
  3553. if obj.Parent.Name ~= plr.Name then
  3554. return obj.Parent:FindFirstChildOfClass("Humanoid")
  3555. end
  3556. end
  3557. end
  3558. end
  3559.  
  3560. mouse.KeyDown:connect(function(key)
  3561. if key == "p" and not deb and not attacking then
  3562. deb = true
  3563. no_anim = true
  3564.  
  3565. local Aura = Instance.new("ParticleEmitter",Stone2)
  3566. Aura.Texture = "rbxassetid://271370648"
  3567. Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  3568. Aura.EmissionDirection = "Top"
  3569. Aura.Speed = NumberRange.new(0)
  3570. Aura.Size = NumberSequence.new(2.5)
  3571. Aura.Transparency = NumberSequence.new(0,1)
  3572. Aura.Drag = 0.4
  3573. Aura.LightInfluence = 0
  3574. Aura.LockedToPart = true
  3575. Aura.Lifetime = NumberRange.new(0.9)
  3576. Aura.Rate = 60
  3577. Aura.LightEmission = 0.6
  3578. Aura.Rotation = NumberRange.new(-360,360)
  3579. Aura.VelocitySpread = 0
  3580. Aura.Acceleration = Vector3.new(0,0,0)
  3581. Aura.ZOffset = 0.2
  3582.  
  3583. for i = 1, 10 do
  3584. wait()
  3585.  
  3586. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  3587. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  3588. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm
  3589. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  3590. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  3591. end
  3592. Aura.Rate = 0
  3593.  
  3594. for i = 0, 10 do
  3595. spawn(function()
  3596. local p = Instance.new("Part")
  3597. p.Anchored = true
  3598. p.CanCollide = false
  3599. p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-12,12),-10,math.random(-12,12))
  3600. smooth(p)
  3601. p.BrickColor = BrickColor.DarkGray()
  3602. p.Material = Enum.Material.Slate
  3603. p.Size = Vector3.new(9,9,9)
  3604. p.Transparency = 0
  3605.  
  3606. p.Parent = workspace
  3607. local FlyAt = Instance.new("Attachment",p)FlyAt.Position = Vector3.new(0,2.5,0)
  3608. local FlyAt2 = Instance.new("Attachment",p)FlyAt2.Position = Vector3.new(0,-2.5,0)
  3609. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  3610. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3611. Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
  3612. local endcf = p.CFrame *CFrame.new(0,30,0)
  3613. for i = 0, 20 do
  3614. p.CFrame = p.CFrame:Lerp(endcf, 0.3)
  3615. wait()
  3616. end
  3617. local z = Instance.new("Part")
  3618. z.CFrame = p.CFrame
  3619. z.CFrame = CFrame.new(z.Position, mouse.Hit.p)
  3620. local bv = Instance.new("BodyVelocity", p)
  3621. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3622. bv.Velocity = z.CFrame.lookVector*140
  3623. p.Anchored = false
  3624. z:Destroy()
  3625. p.CanCollide = false
  3626. local connection
  3627. spawn(function()
  3628. local angle = CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10)))
  3629. repeat wait()
  3630. p.CFrame = p.CFrame *angle
  3631. until not p or p.CanCollide
  3632. end)
  3633.  
  3634. connection = p.Touched:connect(function(hit)
  3635. hurt(hit, math.random(5,5))
  3636. if not hit.Anchored and hit.Parent.Name ~= plr.Name and hit.Parent.ClassName ~= "Accessory" then
  3637. p.CanCollide = true
  3638. end
  3639. end)
  3640. game.Debris:AddItem(p, 5)
  3641. end)
  3642.  
  3643. wait()
  3644. deb = false
  3645. no_anim = false
  3646. end
  3647. end
  3648. end)
  3649. function doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
  3650. local p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf;
  3651. return p
  3652. end
  3653.  
  3654. function doMesh(parent,meshType,meshId,scale)
  3655. local m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=scale
  3656. return m
  3657. end
  3658. local EP=Instance.new("Model",char)
  3659. function magicBrick(pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts,meshType,meshId,scale,scaleAdd,loop,loopTransparency,repeatloop,repeatLoopWait,loopCFrame)
  3660. local cw1=coroutine.wrap(function()
  3661. for i=1,repeatloop do
  3662. local x=doBrick(EP,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
  3663. local z=doMesh(x,meshType,meshId,scale)
  3664.  
  3665. local cw2=coroutine.wrap(function()
  3666. for i=1,loop do
  3667. if loopTransparency then
  3668. x.Transparency=i/loop
  3669. z.Scale=z.Scale+scaleAdd
  3670. x.CFrame=x.CFrame*loopCFrame
  3671. wait()
  3672. else
  3673. z.Scale=z.Scale+scaleAdd
  3674. x.CFrame=x.CFrame*loopCFrame
  3675. end
  3676. end
  3677. x:Destroy()
  3678. end)
  3679. cw2()
  3680. swait(repeatLoopWait)
  3681. end
  3682. end)
  3683. cw1()
  3684. end
  3685. if MUI == true then
  3686.  
  3687. speed=0.15
  3688. sound(438666277,2,1.5,torso)
  3689. coroutine.resume(coroutine.create(function()
  3690. for i=1,20 do
  3691. magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.Angles(math.random(1,50),math.random(1,50),math.random(1,50)),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(math.random(10,15),math.random(20,30),0.2),Vector3.new(-2,-2,0),16,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0))
  3692. swait(3)
  3693. end
  3694. end))
  3695. for i=0,1,0.1*speed do
  3696. if lastAnim~=thisAnim then break end
  3697.  
  3698.  
  3699.  
  3700. swait()
  3701. end
  3702.  
  3703. doingMove=true
  3704.  
  3705. coroutine.resume(coroutine.create(function()
  3706. for i=1,200 do
  3707. magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
  3708. swait()
  3709. end
  3710. end))
  3711.  
  3712. local beam=Instance.new("Part",char)
  3713. beam.Anchored=true
  3714. beam.CanCollide=false
  3715. beam.BrickColor=BrickColor.new("Institutional white")
  3716. beam.Material="Neon"
  3717. beam.Transparency=0.5
  3718.  
  3719. sound(415700134,1.75,0.85,torso)
  3720.  
  3721. coroutine.resume(coroutine.create(function()
  3722. while true do
  3723. if not doingMove then break end
  3724. local dis=(torso.Position-mouse.Hit.p).magnitude
  3725. beam.Size=Vector3.new(2,2,dis)
  3726. beam.CFrame=CFrame.new(torso.CFrame.p,mouse.Hit.p)*CFrame.new(0,0,-dis/2)
  3727. swait()
  3728. end
  3729. end))
  3730.  
  3731. coroutine.resume(coroutine.create(function()
  3732. for i=1,20 do
  3733. if not doingMove then break end
  3734. magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Deep orange"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(2,6,2),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
  3735. magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(3,3,3),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
  3736. coroutine.resume(coroutine.create(function()
  3737. for i=1,7 do
  3738. magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.new(0,0,0)*CFrame.new(math.random(1,15),math.random(1,15),math.random(1,15))*CFrame.new(-15/2,-15/2,-15/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(4,4,4),Vector3.new(1,1,1),12,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
  3739. end
  3740. end))
  3741. for i,v in pairs(workspace:GetChildren()) do
  3742. if v:findFirstChild("Humanoid")~=nil and v~=char then
  3743. if (v:WaitForChild("Torso").Position-mouse.Hit.p).magnitude<=10 then
  3744. v:WaitForChild("Humanoid"):TakeDamage(v:WaitForChild("Humanoid").MaxHealth/20)
  3745. end
  3746. end
  3747. end
  3748. swait(10)
  3749. end
  3750. end))
  3751.  
  3752. for i=0,2,0.1*speed do
  3753. if lastAnim~=thisAnim then break end
  3754.  
  3755.  
  3756.  
  3757. swait()
  3758. end
  3759.  
  3760. beam:Destroy()
  3761. lastAnim=nil
  3762. lastPriority=0
  3763. doingMove=false
  3764. end
  3765.  
  3766. function chestBeam()
  3767.  
  3768.  
  3769. MUI = true
  3770.  
  3771.  
  3772. end
  3773. mouse.KeyDown:connect(function(k)
  3774. if k == "n" then
  3775. chestBeam()
  3776. end
  3777. end)
  3778. mouse.KeyDown:connect(function(k)
  3779. if k == "v" then
  3780. UltimateBattle:Stop()
  3781. Mode = true
  3782. local SFXZ = Instance.new("Sound",torso)
  3783. SFXZ.SoundId = "rbxassetid://316675316"
  3784. SFXZ.Volume = 8
  3785. SFXZ.Pitch = 1
  3786. SFXZ.Looped = true
  3787. wait(0.01)
  3788. SFXZ:Play()
  3789. local Wind = Instance.new("Sound",torso)
  3790. Wind.SoundId = "rbxassetid://142840797"
  3791. Wind.Volume = 0.5
  3792. Wind.Pitch = 1
  3793. Wind.Looped = true
  3794. wait(0.01)
  3795. Wind:Play()
  3796.  
  3797.  
  3798. Grab.Touched:connect(function(hit)
  3799. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
  3800. hit.Parent:BreakJoints()
  3801. wait(0.2)
  3802. hit.Parent:Destroy()
  3803.  
  3804.  
  3805.  
  3806. end
  3807. end)
  3808. hum.WalkSpeed = 55
  3809.  
  3810. local FZcharge3 = Instance.new("ParticleEmitter",NeckS)
  3811. FZcharge3.Texture = "rbxassetid://37329477"
  3812. FZcharge3.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
  3813. FZcharge3.EmissionDirection = "Top"
  3814. FZcharge3.Speed = NumberRange.new(8)
  3815. FZcharge3.Size = NumberSequence.new(0.5,0)
  3816. FZcharge3.Transparency = NumberSequence.new(0,1)
  3817. FZcharge3.Drag = 1.2
  3818. FZcharge3.LockedToPart = false
  3819. FZcharge3.Lifetime = NumberRange.new(0.5)
  3820. FZcharge3.Rate = 195
  3821. FZcharge3.LightEmission = 1
  3822. FZcharge3.VelocitySpread = 100
  3823. FZcharge3.Rotation = NumberRange.new(-360,360)
  3824. FZcharge3.VelocitySpread = 100.2
  3825. FZcharge3.ZOffset = 1
  3826. local StoneEf2 = Instance.new("ParticleEmitter",Stone4)
  3827. StoneEf2.Texture = "rbxassetid://37329477"
  3828. StoneEf2.Color = ColorSequence.new(Color3.fromRGB(255, 0, 0))
  3829. StoneEf2.EmissionDirection = "Top"
  3830. StoneEf2.Speed = NumberRange.new(8)
  3831. StoneEf2.Size = NumberSequence.new(0.5,0)
  3832. StoneEf2.Transparency = NumberSequence.new(0,1)
  3833. StoneEf2.LockedToPart = false
  3834. StoneEf2.Lifetime = NumberRange.new(0.5)
  3835. StoneEf2.Rate = 195
  3836. StoneEf2.LightEmission = 1
  3837. StoneEf2.VelocitySpread = 100
  3838. StoneEf2.Rotation = NumberRange.new(-360,360)
  3839. StoneEf2.VelocitySpread = 100.2
  3840. StoneEf2.ZOffset = 1
  3841. local StoneEf3 = Instance.new("ParticleEmitter",Stone3)
  3842. StoneEf3.Texture = "rbxassetid://74675986"
  3843. StoneEf3.Color = ColorSequence.new(Color3.fromRGB(9, 137, 207))
  3844. StoneEf3.EmissionDirection = "Top"
  3845. StoneEf3.Speed = NumberRange.new(8)
  3846. StoneEf3.Size = NumberSequence.new(0.5,0)
  3847. StoneEf3.Transparency = NumberSequence.new(0,1)
  3848. StoneEf3.LockedToPart = false
  3849. StoneEf3.Lifetime = NumberRange.new(0.5)
  3850. StoneEf3.Rate = 195
  3851. StoneEf3.LightEmission = 1
  3852. StoneEf3.VelocitySpread = 100
  3853. StoneEf3.Rotation = NumberRange.new(-360,360)
  3854. StoneEf3.VelocitySpread = 100.2
  3855. StoneEf3.ZOffset = 1
  3856. local StoneEf5 = Instance.new("ParticleEmitter",Stone5)
  3857. StoneEf5.Texture = "rbxassetid://73229113"
  3858. StoneEf5.Color = ColorSequence.new(Color3.fromRGB(255, 176, 0))
  3859. StoneEf5.EmissionDirection = "Top"
  3860. StoneEf5.Speed = NumberRange.new(8)
  3861. StoneEf5.Size = NumberSequence.new(0.5,0)
  3862. StoneEf5.Transparency = NumberSequence.new(0,1)
  3863. StoneEf5.LockedToPart = false
  3864. StoneEf5.Lifetime = NumberRange.new(0.5)
  3865. StoneEf5.Rate = 195
  3866. StoneEf5.LightEmission = 1
  3867. StoneEf5.VelocitySpread = 100
  3868. StoneEf5.Rotation = NumberRange.new(-360,360)
  3869. StoneEf5.VelocitySpread = 100.2
  3870. StoneEf5.ZOffset = 1
  3871. local CHAINLINKS = {}
  3872. local POS = mouse.Hit.p
  3873. local CHAINS = false
  3874. local CHAINLINKS = {}
  3875. local A = Instance.new("Attachment",root)
  3876. A.Position = Vector3.new(0.5,0,0)*Player_Size
  3877. A.Orientation = Vector3.new(-90, -89.982, 0)
  3878. local B = Instance.new("Attachment",root)
  3879. B.Position = Vector3.new(-0.5,0,0)*Player_Size
  3880. B.Orientation = Vector3.new(-90, 89.988, 0)
  3881. local C = Instance.new("Attachment",root)
  3882. C.Position = Vector3.new(0.5,-0.1,0)*Player_Size
  3883. C.Orientation = Vector3.new(-90, -89.982, 0)
  3884. local D = Instance.new("Attachment",root)
  3885. D.Position = Vector3.new(-0.5,-0.3,0)*Player_Size
  3886. D.Orientation = Vector3.new(-90, 89.988, 0)
  3887. local LIGHT = Instance.new("Attachment",root)
  3888. LIGHT.Position = Vector3.new(0.5,-0,0)*Player_Size
  3889. local LIGHT2 = Instance.new("PointLight",larm)
  3890. LIGHT2.Range = 6
  3891. LIGHT2.Brightness = 20
  3892. LIGHT2.Color = Color3.new(255, 255, 0)
  3893. for i = 1, 2 do
  3894. local TWIST = -1
  3895. local START = A
  3896. local END = B
  3897. if i == 1 then
  3898. START = B
  3899. END = A
  3900. end
  3901. local ChainLink = Instance.new("Beam",torso)
  3902. ChainLink.Texture = "rbxassetid://37329477"
  3903. ChainLink.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
  3904. ChainLink.TextureSpeed = 5
  3905. ChainLink.Width0 = 1
  3906. ChainLink.Width1 = 1
  3907. ChainLink.TextureLength = 2.5
  3908. ChainLink.Attachment0 = START
  3909. ChainLink.Attachment1 = END
  3910. ChainLink.CurveSize0 = TWIST
  3911. ChainLink.CurveSize1 = TWIST
  3912. --ChainLink.FaceCamera = true
  3913. ChainLink.Segments = 85
  3914. ChainLink.Transparency = NumberSequence.new(0)
  3915. table.insert(CHAINLINKS,ChainLink)
  3916. end
  3917. coroutine.resume(coroutine.create(function()
  3918. for i = 3,60060 do
  3919.  
  3920.  
  3921. local HQG = Instance.new("Part",char)
  3922. HQG.Size = Vector3.new(1,0,1)
  3923. HQG.BrickColor = BrickColor.new("Ghost grey")
  3924. HQG.Material = "Neon"
  3925. HQG.Anchored = true
  3926. HQG.CanCollide = false
  3927. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  3928. local HQG2 = Instance.new("SpecialMesh",HQG)
  3929. HQG2.MeshId = "rbxassetid://1726537151"
  3930. HQG2.Scale = Vector3.new(0.01,0.01,0.01)
  3931.  
  3932.  
  3933. coroutine.resume(coroutine.create(function()
  3934. for i = 1,200 do
  3935.  
  3936.  
  3937. HQG2.Scale = HQG2.Scale + Vector3.new(0.01,0.03,0.01)
  3938. HQG.Transparency = HQG.Transparency + 0.07
  3939. HQG.CFrame = HQG.CFrame*CFrame.Angles(0,-0.3,0)
  3940.  
  3941. wait(0.00000000001)
  3942. end
  3943.  
  3944. HQG:Destroy()
  3945. HQG2:Destroy()
  3946.  
  3947. end))
  3948.  
  3949.  
  3950. wait(0.3)
  3951. end
  3952. end))
  3953. end
  3954. end)
  3955.  
  3956.  
  3957.  
  3958. mouse.KeyDown:connect(function(k)
  3959. if k == "j" then
  3960.  
  3961. animid = 5
  3962. no_anim = true
  3963.  
  3964.  
  3965. local Aura = Instance.new("ParticleEmitter",Stone2)
  3966. Aura.Texture = "rbxassetid://271370648"
  3967. Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  3968. Aura.EmissionDirection = "Top"
  3969. Aura.Speed = NumberRange.new(0)
  3970. Aura.Size = NumberSequence.new(2.5)
  3971. Aura.Transparency = NumberSequence.new(0,1)
  3972. Aura.Drag = 0.4
  3973. Aura.LightInfluence = 0
  3974. Aura.LockedToPart = true
  3975. Aura.Lifetime = NumberRange.new(0.9)
  3976. Aura.Rate = 60
  3977. Aura.LightEmission = 0.6
  3978. Aura.Rotation = NumberRange.new(-360,360)
  3979. Aura.VelocitySpread = 0
  3980. Aura.Acceleration = Vector3.new(0,0,0)
  3981. Aura.ZOffset = 0.2
  3982.  
  3983. for i = 1, 30 do
  3984. wait()
  3985.  
  3986. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  3987. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  3988. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm
  3989. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  3990. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  3991. end
  3992.  
  3993.  
  3994. local HQ = Instance.new("Part",char)
  3995. HQ.Size = Vector3.new(1,0,1)
  3996. HQ.BrickColor = BrickColor.new("Grey")
  3997. HQ.Material = "Neon"
  3998. HQ.Anchored = true
  3999. HQ.CanCollide = false
  4000. HQ.Transparency = 0.7
  4001. HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4002. local HQ2 = Instance.new("SpecialMesh",HQ)
  4003. HQ2.MeshId = "rbxassetid://20329976"
  4004. HQ2.Scale = Vector3.new(1,1,1)
  4005.  
  4006. local HQG = Instance.new("Part",char)
  4007. HQG.Size = Vector3.new(1,0,1)
  4008. HQG.BrickColor = BrickColor.new("Grey")
  4009. HQG.Material = "Neon"
  4010. HQG.Anchored = true
  4011. HQG.Transparency = 0.7
  4012. HQG.CanCollide = false
  4013. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4014. local HQG2 = Instance.new("SpecialMesh",HQG)
  4015. HQG2.MeshId = "rbxassetid://20329976"
  4016. HQG2.Scale = Vector3.new(1,1,1)
  4017.  
  4018.  
  4019. coroutine.resume(coroutine.create(function()
  4020. for i = 1,200 do
  4021. HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
  4022. HQ.Transparency = HQ.Transparency + 0.01
  4023. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4024.  
  4025. HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
  4026. HQG.Transparency = HQG.Transparency + 0.01
  4027. HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4028.  
  4029. wait(0.00000000001)
  4030.  
  4031.  
  4032. end
  4033. HQ:Destroy()
  4034. HQ2:Destroy()
  4035. HQG:Destroy()
  4036. HQG2:Destroy()
  4037. end))
  4038.  
  4039. laz0r()
  4040. wait(0.5)
  4041. no_anim = false
  4042. Aura.Rate = 0
  4043.  
  4044. instinct = true
  4045. end
  4046. end)
  4047.  
  4048.  
  4049.  
  4050.  
  4051.  
  4052. mouse.KeyDown:connect(function(key)
  4053. if key == "r" then
  4054. local Aura = Instance.new('ParticleEmitter',Stone3)
  4055. Aura.Texture = "rbxassetid://271370648"
  4056. Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
  4057. Aura.EmissionDirection = "Top"
  4058. Aura.Speed = NumberRange.new(0)
  4059. Aura.Size = NumberSequence.new(2.5)
  4060. Aura.Transparency = NumberSequence.new(0,1)
  4061. Aura.Drag = 0.4
  4062. Aura.LightInfluence = 0
  4063. Aura.LockedToPart = true
  4064. Aura.Lifetime = NumberRange.new(0.9)
  4065. Aura.Rate = 60
  4066. Aura.LightEmission = 0.6
  4067. Aura.Rotation = NumberRange.new(-360,360)
  4068. Aura.VelocitySpread = 0
  4069. Aura.Acceleration = Vector3.new(0,0,0)
  4070. Aura.ZOffset = 0.2
  4071. no_anim = true
  4072. for i = 1, 15 do
  4073. wait()
  4074.  
  4075. torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
  4076. larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
  4077. end
  4078.  
  4079. local Grab = Instance.new("Part",root)
  4080. Grab.Size = Vector3.new(5.2,5.8,3.9)
  4081. Grab.CanCollide = true
  4082. Grab.Material = "Neon"
  4083. Grab.BrickColor = BrickColor.new("Cyan")
  4084. Grab.Transparency = 0.5
  4085. local Hat2 = Instance.new("SpecialMesh",Grab)
  4086. Hat2.MeshType = 3
  4087. Hat2.Scale = Vector3.new(3.35,3.15,0.95)
  4088. local Grabo = Instance.new("Weld",Grab)
  4089. Grabo.Part0 = root
  4090. Grabo.Part1 = Grab
  4091. Grabo.C0 = CFrame.new(0,0.3,-6.8)
  4092.  
  4093. local AuraB = Instance.new("Part",root)
  4094. AuraB.Size = Vector3.new(2,1,2)
  4095. AuraB.CanCollide = false
  4096. AuraB.BrickColor = BrickColor.new("Deep orange")
  4097. AuraB.Transparency = 1
  4098. local AuraBo = Instance.new("Weld",AuraB)
  4099. AuraBo.Part0 = root
  4100. AuraBo.Part1 = AuraB
  4101. AuraBo.C0 = CFrame.new(0,-0.6,0)
  4102. Grab.Touched:connect(function(hit)
  4103. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
  4104.  
  4105.  
  4106. hit.Anchored = false
  4107. local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
  4108. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4109. Fl.velocity = root.CFrame.lookVector*340
  4110. wait(0.05)
  4111. Fl:remove()
  4112.  
  4113. end
  4114. end)
  4115.  
  4116.  
  4117. end
  4118. end)
  4119. mouse.KeyUp:connect(function(key)
  4120. if key == "r" then
  4121.  
  4122. for i, v in pairs(root:GetChildren()) do
  4123. if v:IsA("Part")then
  4124. v:Remove()
  4125. end
  4126. end
  4127. for i, v in pairs(Stone3:GetChildren()) do
  4128. if v:IsA('ParticleEmitter')then
  4129. v.Rate = 0
  4130. end
  4131. end
  4132.  
  4133. no_anim = false
  4134. end
  4135. end)
  4136.  
  4137.  
  4138. mouse.KeyDown:connect(function(key)
  4139. if key == "n" then
  4140.  
  4141. end
  4142. end)
  4143.  
  4144.  
  4145. mouse.KeyDown:connect(function(key)
  4146. if key == "t" then
  4147. local Aura = Instance.new("ParticleEmitter",Stone4)
  4148. Aura.Texture = "rbxassetid://271370648"
  4149. Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  4150. Aura.EmissionDirection = "Top"
  4151. Aura.Speed = NumberRange.new(0)
  4152. Aura.Size = NumberSequence.new(2.5)
  4153. Aura.Transparency = NumberSequence.new(0,1)
  4154. Aura.Drag = 0.4
  4155. Aura.LightInfluence = 0
  4156. Aura.LockedToPart = true
  4157. Aura.Lifetime = NumberRange.new(0.9)
  4158. Aura.Rate = 60
  4159. Aura.LightEmission = 0.6
  4160. Aura.Rotation = NumberRange.new(-360,360)
  4161. Aura.VelocitySpread = 0
  4162. Aura.Acceleration = Vector3.new(0,0,0)
  4163. Aura.ZOffset = 0.2
  4164. no_anim = true
  4165. for i = 1, 15 do
  4166. wait()
  4167.  
  4168. torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
  4169. larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
  4170. end
  4171.  
  4172. local Grab = Instance.new("Part",root)
  4173. Grab.Size = Vector3.new(5.2,5.8,3.9)
  4174. Grab.CanCollide = false
  4175. Grab.Material = "Neon"
  4176. Grab.BrickColor = BrickColor.new("Really red")
  4177. Grab.Transparency = 0.5
  4178. local Hat2 = Instance.new("SpecialMesh",Grab)
  4179. Hat2.MeshType = 3
  4180. Hat2.Scale = Vector3.new(3.35,3.15,0.95)
  4181. local Grabo = Instance.new("Weld",Grab)
  4182. Grabo.Part0 = root
  4183. Grabo.Part1 = Grab
  4184. Grabo.C0 = CFrame.new(0,0.3,-6.8)
  4185.  
  4186. local AuraB = Instance.new("Part",root)
  4187. AuraB.Size = Vector3.new(2,1,2)
  4188. AuraB.CanCollide = false
  4189. AuraB.BrickColor = BrickColor.new("Deep orange")
  4190. AuraB.Transparency = 1
  4191. local AuraBo = Instance.new("Weld",AuraB)
  4192. AuraBo.Part0 = root
  4193. AuraBo.Part1 = AuraB
  4194. AuraBo.C0 = CFrame.new(0,-0.6,0)
  4195. Grab.Touched:connect(function(hit)
  4196. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
  4197.  
  4198.  
  4199. Snap(hit.Parent)
  4200. local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
  4201. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4202. Fl.velocity = root.CFrame.lookVector*340
  4203. wait(0.05)
  4204. Fl:remove()
  4205.  
  4206. end
  4207. end)
  4208.  
  4209.  
  4210. end
  4211. end)
  4212. mouse.KeyUp:connect(function(key)
  4213. if key == "t" then
  4214.  
  4215. for i, v in pairs(root:GetChildren()) do
  4216. if v:IsA("Part")then
  4217. v:Remove()
  4218. end
  4219. end
  4220. for i, v in pairs(Stone4:GetChildren()) do
  4221. if v:IsA("ParticleEmitter")then
  4222. v.Rate = 0
  4223. end
  4224. end
  4225.  
  4226. no_anim = false
  4227. end
  4228. end)
  4229.  
  4230.  
  4231. mouse.KeyDown:connect(function(k)
  4232. if k == "e" and MUI == false then --highjump
  4233.  
  4234. animid = 5
  4235. no_anim = true
  4236.  
  4237. local sbs = Instance.new("BodyPosition", torso)
  4238. sbs.P = 9000
  4239. sbs.D = 1000
  4240. sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
  4241. sbs.position = torso.CFrame.p + Vector3.new(0, 150, 0)
  4242. local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0)
  4243. local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0)
  4244. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  4245. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4246. Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5
  4247.  
  4248. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head
  4249. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  4250. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm
  4251. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
  4252. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
  4253. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
  4254.  
  4255.  
  4256.  
  4257. local HQ = Instance.new("Part",char)
  4258. HQ.Size = Vector3.new(1,0,1)
  4259. HQ.BrickColor = BrickColor.new("New Yeller")
  4260. HQ.Material = "Neon"
  4261. HQ.Anchored = true
  4262. HQ.CanCollide = false
  4263. HQ.Transparency = 0.7
  4264. HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4265. local HQ2 = Instance.new("SpecialMesh",HQ)
  4266. HQ2.MeshId = "rbxassetid://20329976"
  4267. HQ2.Scale = Vector3.new(1,50,1)
  4268.  
  4269. local HQG = Instance.new("Part",char)
  4270. HQG.Size = Vector3.new(1,0,1)
  4271. HQG.BrickColor = BrickColor.new("Grey")
  4272. HQG.Material = "Neon"
  4273. HQG.Anchored = true
  4274. HQG.Transparency = 0.7
  4275. HQG.CanCollide = false
  4276. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4277. local HQG2 = Instance.new("SpecialMesh",HQG)
  4278. HQG2.MeshId = "rbxassetid://20329976"
  4279. HQG2.Scale = Vector3.new(1,1,1)
  4280.  
  4281.  
  4282. coroutine.resume(coroutine.create(function()
  4283. for i = 1,500 do
  4284. HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
  4285. HQ.Transparency = HQ.Transparency + 0.005
  4286. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4287.  
  4288. HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
  4289. HQG.Transparency = HQG.Transparency + 0.005
  4290. HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4291.  
  4292. wait(0.00000000001)
  4293.  
  4294.  
  4295. end
  4296. HQ:Destroy()
  4297. HQ2:Destroy()
  4298. HQG:Destroy()
  4299. HQG2:Destroy()
  4300. end))
  4301.  
  4302.  
  4303. wait(0.5)
  4304. sbs:Destroy()
  4305.  
  4306. FlyAt:Destroy()
  4307. wait(0.2)
  4308.  
  4309. no_anim = false
  4310. instinct = true
  4311. end
  4312. end)
  4313.  
  4314.  
  4315. mouse.KeyDown:connect(function(k)
  4316. if k == "e" and MUI == true then --highjump
  4317.  
  4318. animid = 5
  4319. no_anim = true
  4320. hum.WalkSpeed = 60
  4321. local sbs = Instance.new("BodyPosition", torso)
  4322. sbs.P = 9000
  4323. sbs.D = 1000
  4324. sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
  4325. sbs.position = torso.CFrame.p + Vector3.new(0, 120, 0)
  4326. local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
  4327. local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
  4328. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  4329. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4330. Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
  4331.  
  4332. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head
  4333. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  4334. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm
  4335. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
  4336. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
  4337. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
  4338.  
  4339.  
  4340.  
  4341. local HQ = Instance.new("Part",char)
  4342. HQ.Size = Vector3.new(1,0,1)
  4343. HQ.BrickColor = BrickColor.new("Grey")
  4344. HQ.Material = "Neon"
  4345. HQ.Anchored = true
  4346. HQ.CanCollide = false
  4347. HQ.Transparency = 0.7
  4348. HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4349. local HQ2 = Instance.new("SpecialMesh",HQ)
  4350. HQ2.MeshId = "rbxassetid://20329976"
  4351. HQ2.Scale = Vector3.new(1,1,1)
  4352.  
  4353. local HQG = Instance.new("Part",char)
  4354. HQG.Size = Vector3.new(1,0,1)
  4355. HQG.BrickColor = BrickColor.new("Grey")
  4356. HQG.Material = "Neon"
  4357. HQG.Anchored = true
  4358. HQG.Transparency = 0.7
  4359. HQG.CanCollide = false
  4360. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4361. local HQG2 = Instance.new("SpecialMesh",HQG)
  4362. HQG2.MeshId = "rbxassetid://20329976"
  4363. HQG2.Scale = Vector3.new(1,1,1)
  4364.  
  4365.  
  4366. coroutine.resume(coroutine.create(function()
  4367. for i = 1,200 do
  4368. HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
  4369. HQ.Transparency = HQ.Transparency + 0.01
  4370. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4371.  
  4372. HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
  4373. HQG.Transparency = HQG.Transparency + 0.01
  4374. HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4375.  
  4376. wait(0.00000000001)
  4377.  
  4378.  
  4379. end
  4380. HQ:Destroy()
  4381. HQ2:Destroy()
  4382. HQG:Destroy()
  4383. HQG2:Destroy()
  4384. end))
  4385.  
  4386.  
  4387. wait(0.5)
  4388. sbs:Destroy()
  4389. hum.WalkSpeed = 260
  4390. FlyAt:Destroy()
  4391. wait(0.2)
  4392. hum.WalkSpeed = 16
  4393. no_anim = false
  4394. instinct = true
  4395. end
  4396. end)
  4397.  
  4398. mouse.KeyDown:connect(function(k)
  4399. if k == "q" and MUI == false then --highjump
  4400.  
  4401. animid = 5
  4402. no_anim = true
  4403.  
  4404. local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
  4405. local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
  4406. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  4407. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4408. Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
  4409. local bv = Instance.new("BodyVelocity")
  4410. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4411. bv.velocity = root.CFrame.lookVector*200
  4412. bv.Parent = root
  4413.  
  4414.  
  4415.  
  4416. for i = 1, 30 do
  4417. wait()
  4418.  
  4419. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head
  4420. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso
  4421. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm
  4422. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm
  4423. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg
  4424. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg
  4425. end
  4426.  
  4427.  
  4428.  
  4429.  
  4430.  
  4431.  
  4432.  
  4433.  
  4434.  
  4435. wait(0.5)
  4436. bv:Destroy()
  4437.  
  4438. wait(0.2)
  4439.  
  4440.  
  4441. FlyAt:Destroy()
  4442. no_anim = false
  4443. end
  4444. end)
  4445. holdclick=false
  4446.  
  4447. mouse.KeyDown:connect(function(k)
  4448. if k == "q" and MUI == true then --highjump
  4449.  
  4450. animid = 5
  4451. no_anim = true
  4452. hum.WalkSpeed = 60
  4453. local bv = Instance.new("BodyVelocity")
  4454. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4455. bv.velocity = root.CFrame.lookVector*190
  4456. bv.Parent = root
  4457.  
  4458. local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,1,0)
  4459. local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-1,0)
  4460. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  4461. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4462. Speed.Color = ColorSequence.new(Color3.fromRGB(4, 175, 236)) Speed.LightEmission = 5
  4463.  
  4464. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 0.8)--torso
  4465. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(0)), 0.8)--rarm
  4466. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-85),math.rad(0),math.rad(0)), 0.8)--larm
  4467. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-60),math.rad(0),math.rad(-10)), 0.8)--lleg
  4468. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.3, -1) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
  4469.  
  4470.  
  4471.  
  4472. local HQ = Instance.new("Part",char)
  4473. HQ.Size = Vector3.new(1,0,1)
  4474. HQ.BrickColor = BrickColor.new("Grey")
  4475. HQ.Material = "Neon"
  4476. HQ.Anchored = true
  4477. HQ.CanCollide = false
  4478. HQ.Transparency = 0.7
  4479. HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
  4480. local HQ2 = Instance.new("SpecialMesh",HQ)
  4481. HQ2.MeshId = "rbxassetid://20329976"
  4482. HQ2.Scale = Vector3.new(1,1,1)
  4483.  
  4484. local HQG = Instance.new("Part",char)
  4485. HQG.Size = Vector3.new(1,0,1)
  4486. HQG.BrickColor = BrickColor.new("Grey")
  4487. HQG.Material = "Neon"
  4488. HQG.Anchored = true
  4489. HQG.Transparency = 0.7
  4490. HQG.CanCollide = false
  4491. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
  4492. local HQG2 = Instance.new("SpecialMesh",HQG)
  4493. HQG2.MeshId = "rbxassetid://20329976"
  4494. HQG2.Scale = Vector3.new(1,1,1)
  4495.  
  4496.  
  4497. coroutine.resume(coroutine.create(function()
  4498. for i = 1,200 do
  4499. HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
  4500. HQ.Transparency = HQ.Transparency + 0.01
  4501. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4502.  
  4503. HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
  4504. HQG.Transparency = HQG.Transparency + 0.01
  4505. HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4506.  
  4507. wait()
  4508.  
  4509.  
  4510. end
  4511. HQ:Destroy()
  4512. HQ2:Destroy()
  4513. HQG:Destroy()
  4514. HQG2:Destroy()
  4515. end))
  4516.  
  4517.  
  4518. wait(0.5)
  4519. bv:Destroy()
  4520. hum.WalkSpeed = 60
  4521. wait(0.2)
  4522. hum.WalkSpeed = 16
  4523. FlyAt:Destroy()
  4524. no_anim = false
  4525. instinct = true
  4526. end
  4527. end)
  4528. mouse.KeyDown:connect(function(k)
  4529. if k == "l" then
  4530.  
  4531. animid = 5
  4532. no_anim = true
  4533. UltimateBattle:Stop()
  4534.  
  4535.  
  4536. for i = 1, 10 do
  4537. wait()
  4538.  
  4539.  
  4540. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  4541. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  4542. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(0)), 0.8)--larm
  4543. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  4544. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  4545. end
  4546. wait(2)
  4547. local SFXZ = Instance.new("Sound",char)
  4548. SFXZ.SoundId = "rbxassetid://242076158"
  4549. SFXZ.Volume = 10
  4550. SFXZ.Pitch = 1
  4551. SFXZ.Looped = false
  4552. wait(0.01)
  4553. SFXZ:Play()
  4554.  
  4555. for i = 1, 10 do
  4556. wait()
  4557.  
  4558.  
  4559. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  4560. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  4561. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(30),math.rad(0)), 0.8)--larm
  4562. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  4563. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  4564. end
  4565.  
  4566.  
  4567. coroutine.resume(coroutine.create(function()
  4568. for i = 3,80 do
  4569. local Ball = Instance.new("Part",char)
  4570. Ball.Size = Vector3.new(0,0,0)
  4571. Ball.BrickColor = BrickColor.new("White")
  4572. Ball.Material = "Neon"
  4573. Ball.Anchored = true
  4574. Ball.CanCollide = false
  4575. Ball.Transparency = 0
  4576. Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  4577. local Ball2 = Instance.new("SpecialMesh",Ball)
  4578. Ball2.MeshType = 3
  4579. Ball2.Scale = Vector3.new(0.4,0.4,0.4)
  4580.  
  4581.  
  4582.  
  4583.  
  4584. coroutine.resume(coroutine.create(function()
  4585. for i = 1,15 do
  4586. Ball2.Scale = Ball2.Scale + Vector3.new(1980.4,1980.4,1980.4)
  4587. Ball.Transparency = Ball.Transparency + 0.06
  4588.  
  4589. wait(0.00000000001)
  4590. end
  4591. Ball:Destroy()
  4592.  
  4593.  
  4594. end))
  4595. wait(0.02)
  4596. end
  4597. end))
  4598.  
  4599. wait(5)
  4600.  
  4601.  
  4602.  
  4603.  
  4604. coroutine.wrap(function()
  4605. for i,v in next, workspace:children() do
  4606. if v:IsA"Model" or v:IsA"Part" then
  4607. if v:FindFirstChildOfClass"Humanoid" and v ~= char then
  4608. Eviscerate(v)
  4609. if v:FindFirstChildOfClass"Humanoid" then Eviscerate(v) end
  4610. wait(.15)
  4611. end
  4612. end
  4613. end
  4614. end)()
  4615.  
  4616.  
  4617. wait(10)
  4618. no_anim = false
  4619.  
  4620.  
  4621.  
  4622. end
  4623. end)
  4624.  
  4625.  
  4626.  
  4627.  
  4628.  
  4629.  
  4630.  
  4631.  
  4632.  
  4633.  
  4634.  
  4635.  
  4636.  
  4637.  
  4638. mouse.KeyDown:connect(function(key)
  4639. if debounce == false then
  4640. if key == "=" and MUI == true then
  4641. dashasdf()
  4642. elseif key == "=" and cooldownult == false then
  4643. cooldownult = true
  4644. if animid == 0 then
  4645. animid = 1
  4646. else
  4647. animid = 0
  4648. end
  4649. debounce = true
  4650. holdr = true
  4651. aiming_anim = true
  4652. wait(0.2)
  4653. repeat
  4654. rs:wait()
  4655. timer = 150
  4656. until holdr == false
  4657. nukewelpo()
  4658.  
  4659. local Position = mouse.Hit.p
  4660. local Target = root.Position
  4661. local direction = Target - Position
  4662. local direction = computeDirection(direction)
  4663. root.Velocity = direction * 300
  4664.  
  4665. aiming_anim = false
  4666. delay(5,function() cooldownult = false end)
  4667. delay(1,function() debounce = false end)
  4668.  
  4669. elseif key == "=" then
  4670. debounce = true
  4671. if animid == 0 then
  4672. animid = 1
  4673. else
  4674. animid = 0
  4675. end
  4676. holdq = true
  4677. attack = true
  4678.  
  4679.  
  4680.  
  4681.  
  4682. repeat rs:wait() timer = 150 until holdq == false
  4683. laz0r()
  4684. attack = false
  4685.  
  4686. end
  4687. end
  4688.  
  4689. end)
  4690.  
  4691. mouse.KeyUp:connect(function(key)
  4692. if key == "=" then
  4693. holdq = false
  4694. elseif key == "=" then
  4695. holdr = false
  4696. end
  4697. end)
  4698. --
  4699. hum.Name = 'Goku'
  4700. ----------------------------------------------------------------------------
  4701. music(themeid,themepitch)
  4702. velocityYFall=0
  4703. velocityYFall2=0
  4704. velocityYFall3=0
  4705. velocityYFall4=0
  4706. neckrotY=0
  4707. neckrotY2=0
  4708. torsorotY=0
  4709. torsorotY2=0
  4710. torsoY=0
  4711. torsoY2=0
  4712. sine = 0
  4713. newWeld(torso, larm, -1.5, 0.5, 0)
  4714. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  4715. newWeld(torso, rarm, 1.5, 0.5, 0)
  4716. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  4717. newWeld(torso, hed, 0, 1.5, 0)
  4718. newWeld(torso, lleg, -0.5, -1, 0)
  4719. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  4720. newWeld(torso, rleg, 0.5, -1, 0)
  4721. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  4722. newWeld(root, torso, 0, -1, 0)
  4723. torso.Weld.C1 = CFrame.new(0, -1, 0)
  4724.  
  4725. rs:connect(function()
  4726.  
  4727. bg.MaxTorque = Vector3.new(0,0,0)
  4728.  
  4729. for i,v in pairs(DebrisModel:GetChildren()) do
  4730.  
  4731.  
  4732. if v.Name == "EXPLOSION" then
  4733. local change = 0.04-(v.Transparency*0.02)
  4734. local vm = v:FindFirstChildOfClass("SpecialMesh")
  4735. vm.Scale = vm.Scale + Vector3.new(change,change,change)
  4736. v.Transparency = v.Transparency + 0.02
  4737. if v.Transparency >= 1 then
  4738. v:Destroy()
  4739. end
  4740.  
  4741. elseif v.Name == "EXPLOSION2" then
  4742. local change = 0.04-(v.Transparency*0.04)
  4743. local vm = v:FindFirstChildOfClass("SpecialMesh")
  4744. vm.Scale = vm.Scale + Vector3.new(change,change,0)
  4745. v.Transparency = v.Transparency + 0.025
  4746. if v.Transparency >= 1 then
  4747. v:Destroy()
  4748. end
  4749.  
  4750. elseif v.Name == "EXPLOSION3" then
  4751. local change = 0.5-(v.Transparency*0.5)
  4752. local vm = v:FindFirstChildOfClass("SpecialMesh")
  4753. vm.Scale = vm.Scale + Vector3.new(change,change,0)
  4754. v.Transparency = v.Transparency + 0.1
  4755. if v.Transparency >= 1 then
  4756. v:Destroy()
  4757. end
  4758.  
  4759. elseif v.Name == "EXPLOSION4" then
  4760. local change = 0.15-(v.Transparency*0.125)
  4761. local vm = v:FindFirstChildOfClass("SpecialMesh")
  4762. vm.Scale = vm.Scale + Vector3.new(change,change,change)
  4763. v.Transparency = v.Transparency + 0.01
  4764. if v.Transparency >= 1 then
  4765. v:Destroy()
  4766. end
  4767.  
  4768. elseif v.Name == "SMOKE" then
  4769. local vm = v:FindFirstChildOfClass("SpecialMesh")
  4770. vm.Scale = vm.Scale - Vector3.new(0.075,0.075,0.075)
  4771. if vm.Scale.X <= 0 then
  4772. v:Destroy()
  4773. end
  4774.  
  4775. elseif v.Name == "SMOKE2" then
  4776. local change = 2-(v.Transparency*2)
  4777. local vm = v:FindFirstChildOfClass("SpecialMesh")
  4778. local Position = nil
  4779. if animid == 0 then
  4780. Position = larm.Position
  4781. else
  4782. Position = rarm.Position
  4783. end
  4784. local Target = mouse.Hit.p
  4785. local direction = Target - Position
  4786. local direction = computeDirection(direction)
  4787. local ray = Ray.new(Position, (Target-Position).unit*1048)
  4788. local part, endPoint = workspace:FindPartOnRay(ray, char)
  4789. vm.Scale = Vector3.new(vm.Scale.X,(Position-endPoint).magnitude,vm.Scale.Z) + Vector3.new(change,0,change)
  4790. local pos = Position + (direction * (vm.Scale.Y/2))
  4791. v.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  4792. vm.Offset = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,0)
  4793. v.Transparency = v.Transparency + 0.1
  4794. if v.Transparency >= 1 then
  4795. v:Destroy()
  4796. end
  4797.  
  4798.  
  4799. elseif v.Name == "LIGHTNING" then
  4800. local vm = v:FindFirstChildOfClass("BlockMesh")
  4801. vm.Scale = vm.Scale - Vector3.new(0.1,0.1,0)
  4802. if vm.Scale.X <= 0 then
  4803. v:Destroy()
  4804. end
  4805.  
  4806. end
  4807. end
  4808.  
  4809. if -root.Velocity.Y/1.5 > 0 and -root.Velocity.Y/1.5 < 160 then
  4810. velocityYFall = root.Velocity.Y/1.5
  4811. end
  4812. if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
  4813. velocityYFall2 = root.Velocity.Y/180
  4814. end
  4815. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
  4816. velocityYFall3 = root.Velocity.Y/1.5
  4817. end
  4818. if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
  4819. velocityYFall4 = root.Velocity.Y/1.5
  4820. end
  4821. if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
  4822. neckrotY = root.RotVelocity.Y/6
  4823. end
  4824. if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
  4825. neckrotY2 = root.RotVelocity.Y/8
  4826. end
  4827.  
  4828. if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
  4829. torsorotY = root.RotVelocity.Y/6
  4830. end
  4831. if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
  4832. torsorotY2 = root.RotVelocity.Y/8
  4833. end
  4834.  
  4835.  
  4836. torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
  4837. torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
  4838.  
  4839.  
  4840. local SINE = 0
  4841. local jumped = false
  4842. local ray1 = Ray.new(root.Position+Vector3.new(1,0,0),Vector3.new(0, -6, 0))
  4843. local part1, endPoint = workspace:FindPartOnRay(ray1, char)
  4844. local ray2 = Ray.new(root.Position-Vector3.new(1,0,0),Vector3.new(0, -6, 0))
  4845. local part2, endPoint = workspace:FindPartOnRay(ray2, char)
  4846. local ray3 = Ray.new(root.Position+Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
  4847. local part3, endPoint = workspace:FindPartOnRay(ray3, char)
  4848. local ray4 = Ray.new(root.Position-Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
  4849. local part4, endPoint = workspace:FindPartOnRay(ray4, char)
  4850.  
  4851. if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
  4852.  
  4853. local rlegray = Ray.new(rleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
  4854. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  4855. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  4856. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  4857.  
  4858. local llegray = Ray.new(lleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
  4859. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  4860. local sizem = 1
  4861. if no_anim == false then
  4862. if hum.Health > 0 then
  4863. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
  4864. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
  4865. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-10),0,0),0.1)
  4866. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/30)*math.cos(sine/4)/2,(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  4867. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/30)*math.cos(sine/4)/2,-(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  4868. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+(movement/20)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-4*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1)
  4869. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.85-(movement/10)*math.cos(sine/4)/2,-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  4870. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.85+(movement/10)*math.cos(sine/4)/2,-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  4871. elseif jumped == true then
  4872. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
  4873. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0),0.1)
  4874. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-50-1*math.cos(sine/8))), 0.2)
  4875. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(50+1*math.cos(sine/8))), 0.2)
  4876. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
  4877. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(-35-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
  4878. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0+0.1*math.cos(sine/16),-0.8)*CFrame.Angles(math.rad(-25+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
  4879. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then
  4880. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
  4881. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-15),0,0),0.1)
  4882. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-5-1*math.cos(sine/8))), 0.2)
  4883. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(5+1*math.cos(sine/8))), 0.2)
  4884. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
  4885. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
  4886. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
  4887. end
  4888. for i=1,5 do
  4889. if aiming_anim == true then
  4890. bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
  4891. if jumped == false then
  4892. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  4893. else
  4894. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  4895. end
  4896. if animid == 0 then
  4897. hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(-80),0),0.4)
  4898. torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
  4899. larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
  4900. else
  4901. if animid == 5 then
  4902. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head
  4903. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso
  4904. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm
  4905. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--larm
  4906. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg
  4907. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg
  4908. else
  4909. hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(80),0),0.4)
  4910. torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(80), math.rad(0-1*math.cos(sine/32))),0.2)
  4911. rarm.Weld.C0 = Lerp(rarm.Weld.C0,CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(10-1*math.cos(sine/16)),math.rad(90+1*math.cos(sine/8))),0.4)
  4912. end
  4913. end
  4914. else
  4915. if timer <= 0 then
  4916. animid = math.random(0,1)
  4917. else
  4918. timer = timer - 1
  4919. end
  4920. end
  4921. end
  4922. end
  4923. end
  4924. main_color = Color3.fromRGB(main.r,main.g,main.b)
  4925. pr.Value = main.r
  4926. pg.Value = main.g
  4927. pb.Value = main.b
  4928. pv.Value = main.v
  4929. idth.Value = themeid
  4930. pith.Value = themepitch
  4931. HName.TextStrokeColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v/2)
  4932. HName.TextColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v)
  4933. sine = sine + change
  4934. if hum.Health <= 0 then
  4935. debounce = true
  4936. end
  4937. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement