Advertisement
samuelrichter66

thanos

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