Advertisement
Ban43_GodOfEdits

test thanos

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