Advertisement
sawgamer1

Untitled

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