Advertisement
Guest User

yessssss

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