Advertisement
gecksad

Untitled

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