Advertisement
antgame11

Untitled

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