Advertisement
Guest User

Untitled

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