Advertisement
DarkScriptZEditors

thanos

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