Advertisement
Zebula_The_Scripter

Thanos Script

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