Advertisement
Hermaxs

Untitled

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