Advertisement
memberhero

Thanos Script Filtering Enabled

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