Advertisement
memberhero

FE Thanos Script

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