Advertisement
PixelDerpIsUber2

Untitled

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