Advertisement
Tetezaza1542

ของเพื่อน4

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