Rawscript

Untitled

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