Advertisement
Loveinghaiasi

Lol test

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