Advertisement
Fik_1221

THANOS

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