Advertisement
SKOONKBURG

Untitled

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