convertboi

thanoid

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