Hugo1234cool

Untitled

Feb 5th, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.81 KB | None | 0 0
  1. --[[ UBERIFY! Made By: WafflesAreVeryGood If leaked, thanks a fucking lot.]]--
  2. --[[--https://github.com/Mokiros/roblox-FE-compatibility
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,game,owner = owner,game
  5. local RealPlayer = Player
  6. do
  7. print("FE Compatibility code V2 by Mokiros")
  8. local RealPlayer = RealPlayer
  9. script.Parent = RealPlayer.Character
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local Disconnect_Function = function(this)
  13. this[1].Functions[this[2]] = nil
  14. end
  15. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  16. local FakeEvent_Metatable = {__index={
  17. Connect = function(this,f)
  18. local i = tostring(math.random(0,10000))
  19. while this.Functions[i] do
  20. i = tostring(math.random(0,10000))
  21. end
  22. this.Functions[i] = f
  23. return setmetatable({this,i},Disconnect_Metatable)
  24. end
  25. }}
  26. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  27. local function fakeEvent()
  28. return setmetatable({Functions={}},FakeEvent_Metatable)
  29. end
  30.  
  31. --Creating fake input objects with fake variables
  32. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  33. FakeMouse.keyUp = FakeMouse.KeyUp
  34. FakeMouse.keyDown = FakeMouse.KeyDown
  35. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  36. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  37. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  38. end}
  39. --Merged 2 functions into one by checking amount of arguments
  40. CAS.UnbindAction = CAS.BindAction
  41.  
  42. --This function will trigger the events that have been :Connect()'ed
  43. local function TriggerEvent(self,ev,...)
  44. for _,f in pairs(self[ev].Functions) do
  45. f(...)
  46. end
  47. end
  48. FakeMouse.TriggerEvent = TriggerEvent
  49. UIS.TriggerEvent = TriggerEvent
  50.  
  51. --Client communication
  52. local Event = Instance.new("RemoteEvent")
  53. Event.Name = "UserInput_Event"
  54. Event.OnServerEvent:Connect(function(plr,io)
  55. if plr~=RealPlayer then return end
  56. FakeMouse.Target = io.Target
  57. FakeMouse.Hit = io.Hit
  58. if not io.isMouse then
  59. local b = io.UserInputState == Enum.UserInputState.Begin
  60. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  61. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  62. end
  63. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  64. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  65. end
  66. for _,t in pairs(CAS.Actions) do
  67. for _,k in pairs(t.Keys) do
  68. if k==io.KeyCode then
  69. t.Function(t.Name,io.UserInputState,io)
  70. end
  71. end
  72. end
  73. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  74. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  75. end
  76. end)
  77. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  78. local Mouse = owner:GetMouse()
  79. local UIS = game:GetService("UserInputService")
  80. local input = function(io,RobloxHandled)
  81. if RobloxHandled then return end
  82. --Since InputObject is a client-side instance, we create and pass table instead
  83. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  84. end
  85. UIS.InputBegan:Connect(input)
  86. UIS.InputEnded:Connect(input)
  87.  
  88. local h,t
  89. --Give the server mouse data every second frame, but only if the values changed
  90. --If player is not moving their mouse, client won't fire events
  91. local HB = game:GetService("RunService").Heartbeat
  92. while true do
  93. if h~=Mouse.Hit or t~=Mouse.Target then
  94. h,t=Mouse.Hit,Mouse.Target
  95. Event:FireServer({isMouse=true,Target=t,Hit=h})
  96. end
  97. --Wait 2 frames
  98. for i=1,2 do
  99. HB:Wait()
  100. end
  101. end]==],script)
  102.  
  103. ----Sandboxed game object that allows the usage of client-side methods and services
  104. --Real game object
  105. local RealGame = game
  106.  
  107. --Metatable for fake service
  108. local FakeService_Metatable = {
  109. __index = function(self,k)
  110. local s = rawget(self,"_RealService")
  111. if s then
  112. return typeof(s[k])=="function"
  113. and function(_,...)return s[k](s,...)end or s[k]
  114. end
  115. end,
  116. __newindex = function(self,k,v)
  117. local s = rawget(self,"_RealService")
  118. if s then s[k]=v end
  119. end
  120. }
  121. local function FakeService(t,RealService)
  122. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  123. return setmetatable(t,FakeService_Metatable)
  124. end
  125.  
  126. --Fake game object
  127. local FakeGame = {
  128. GetService = function(self,s)
  129. return rawget(self,s) or RealGame:GetService(s)
  130. end,
  131. Players = FakeService({
  132. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  133. },"Players"),
  134. UserInputService = FakeService(UIS,"UserInputService"),
  135. ContextActionService = FakeService(CAS,"ContextActionService"),
  136. RunService = FakeService({
  137. _btrs = {},
  138. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  139. BindToRenderStep = function(self,name,_,fun)
  140. self._btrs[name] = self.Heartbeat:Connect(fun)
  141. end,
  142. UnbindFromRenderStep = function(self,name)
  143. self._btrs[name]:Disconnect()
  144. end,
  145. },"RunService")
  146. }
  147. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  148. FakeGame.service = FakeGame.GetService
  149. FakeService(FakeGame,game)
  150. --Changing owner to fake player object to support owner:GetMouse()
  151. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  152. end
  153. q = Left punch C
  154. e = Right punch C
  155. r = Beam C
  156. t = Double beam C
  157. y = Pick up then throw C
  158. p = Play music C
  159. l = Stop music C
  160. f = Stop scripts near you Failure.
  161. h = Barrage C
  162. j = Enable/Disable UBERIFY! C(maybe)
  163. k = Backflip C
  164. z = Inincerate C
  165. x = Record frame C
  166. c = Play C
  167. v = Shield C
  168. b = EX-U-PLO-SION! C
  169. n = Dash attack C
  170. m = Huge jump C
  171. g = Eye shot C
  172. shift = Sprint with cool effect and stuff
  173.  
  174. --]]
  175. local plr =owner
  176. local char = plr.Character
  177. local mouse = plr:GetMouse()
  178. local torso = char.Torso
  179. local rs = torso["Right Shoulder"]
  180. local ls = torso["Left Shoulder"]
  181. local rh = torso["Right Hip"]
  182. local lh = torso["Left Hip"]
  183. local rj = char.HumanoidRootPart.RootJoint
  184. local neck = torso.Neck
  185. local animpose = "Idle"
  186. local attacking = false
  187. local cananim = true
  188. local rage = false
  189. local shield = nil
  190. local sprint = false
  191. local canrage = true
  192. local legs = false
  193. local bc = char:WaitForChild("Body Colors")
  194. local multiplier = 1
  195. local lac = char["Body Colors"].LeftArmColor
  196. local rac = char["Body Colors"].RightArmColor
  197. local rlc = char["Body Colors"].RightArmColor
  198. local llc = char["Body Colors"].LeftLegColor
  199. local hc = char["Body Colors"].HeadColor
  200. local tc = char["Body Colors"].TorsoColor
  201. local humanoid = char:FindFirstChildOfClass("Humanoid")
  202. local huge = Vector3.new(math.huge,math.huge,math.huge)
  203. local mobs = Instance.new("Sound", char)
  204. mobs.SoundId = "rbxassetid://189224548"
  205. mobs.Looped = true
  206. mobs.Volume = 3
  207. mobs:Play()
  208. local shirt = nil
  209. local pants = nil
  210. local speed = 100
  211. local push = 100
  212. if char:FindFirstChild("Animate") then char.Animate:Destroy() end
  213. if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then char:FindFirstChildOfClass("Humanoid").Animator:Destroy() end
  214. local particlecolor = ColorSequence.new(Color3.new(1,1,1))
  215. function swait(t)
  216. if t == nil or t == 0 then
  217. game:service('RunService').Stepped:wait(0)
  218. else
  219. for i = 0, t do
  220. game:service('RunService').Stepped:wait(0)
  221. end
  222. end
  223. end
  224. function hurt(hit, dmg)
  225. if hit.Parent then
  226. if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end
  227. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  228. if hum then
  229. if hum.Parent.Name ~= plr.Name then
  230. if dmg == "Kill" or hum.Health > 100000 then
  231. hit.Parent:BreakJoints()
  232. return true
  233. else
  234. if math.random(0, 100) == 50 then
  235. hum.Health = hum.Health - dmg*multiplier*2.5
  236. else
  237. hum.Health = hum.Health -dmg*multiplier
  238. end
  239. return true
  240. end
  241. end
  242. end
  243. end
  244. end
  245. function soundeffect(id, volume, speed, parent)
  246. spawn(function()
  247. local s = Instance.new("Sound")
  248. s.SoundId = id
  249. s.Volume = volume
  250. s.PlaybackSpeed = speed
  251. s.Parent = parent
  252. s:Play()
  253. repeat wait() until not s.Playing
  254. s:Destroy()
  255. end)
  256. end
  257. function gethum(obj)
  258. if obj.Parent then
  259. if obj.Parent:FindFirstChild("Humanoid") then
  260. if obj.Parent.Name ~= plr.Name then
  261. return obj.Parent:FindFirstChildOfClass("Humanoid")
  262. end
  263. end
  264. end
  265. end
  266. function smooth(obj)
  267. local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"}
  268. for i,v in pairs(sides) do
  269. obj[v.."Surface"] = "SmoothNoOutlines"
  270. end
  271. end
  272. function fade(obj, dest, grow)
  273. spawn(function()
  274. local oldcf = obj.CFrame
  275. for i = 0, 10 do
  276. if grow then
  277. obj.Size = obj.Size +Vector3.new(1,1,1)
  278. obj.CFrame = oldcf
  279. end
  280. obj.Transparency = obj.Transparency +0.1
  281. swait()
  282. end
  283. if dest then
  284. obj:Destroy()
  285. end
  286. end)
  287. end
  288. local keyamount = 0
  289. mouse.KeyDown:connect(function(key)
  290. if key == "w" or key == "a" or key == "s" or key == "d" then
  291. keyamount = keyamount + 1
  292. if animpose ~= "Falling" then
  293. if keyamount > 3 then keyamount = 0 end
  294. animpose = "Walking"
  295. end
  296. end
  297. end)
  298. mouse.KeyUp:connect(function(key)
  299. if key == "w" or key == "a" or key == "s" or key == "d" then
  300. keyamount = keyamount - 1
  301. if keyamount < 0 then keyamount = 0 end
  302. if keyamount == 0 then
  303. animpose = "Idle"
  304. end
  305. end
  306. end)
  307. wait(1)
  308. for i,v in pairs(char:children()) do
  309. if v:IsA("Accessory") then
  310. v:Destroy()
  311. end
  312. end
  313. local p = Instance.new("Part")
  314. p.CanCollide = false
  315. p.Size = Vector3.new(0.2,0.2,0.2)
  316. smooth(p)
  317. p.Material = "Neon"
  318. p.BrickColor = BrickColor.new("Institutional white")
  319. p.CFrame = char.Head.CFrame
  320. p.Name = "Right Eye"
  321. local m = Instance.new("SpecialMesh", p)
  322. m.MeshType = "Sphere"
  323. m.Scale = Vector3.new(0.7,1.1,0.7)
  324. local p2 = p:Clone()
  325. p2.Name = "Left Eye"
  326. local reye = p
  327. local leye = p2
  328. local reyeweld = w
  329. local leyeweld = w2
  330. reye.Parent = char
  331. leye.Parent = char
  332. local w2 = Instance.new("Weld", p2)
  333. w2.Part0 = p2
  334. w2.Part1 = char.Head
  335. w2.C0 = CFrame.new(0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  336. local w = Instance.new("Weld", p)
  337. w.Part0 = p
  338. w.Part1 = char.Head
  339. w.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  340. local p = Instance.new("Part")
  341. p.Size = Vector3.new(0.2,0.2,0.2)
  342. p.CanCollide = false
  343. p.CFrame = char.Head.CFrame
  344. p.Transparency = 1
  345. p.Name = "Effect"
  346. p.Parent = char
  347. local w = Instance.new("Weld", p)
  348. w.Name = "justaweld"
  349. w.Part0 = p
  350. w.Part1 = char.Head
  351. w.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  352. local effect = Instance.new("ParticleEmitter")
  353. effect.Color = ColorSequence.new(Color3.new(250/255,80/255,1/255))
  354. effect.LightEmission = 0.7
  355. effect.Size = NumberSequence.new(0.3)
  356. effect.Texture = "rbxassetid://243664672"
  357. effect.Transparency = NumberSequence.new(0.5)
  358. effect.Lifetime = NumberRange.new(1.5)
  359. effect.Rate = 500
  360. effect.Speed = NumberRange.new(3)
  361. effect.Enabled = false
  362. effect.Parent = p
  363. local effectp = p
  364. mouse.KeyDown:connect(function(key)
  365. if key == "p" then
  366. if not char:FindFirstChild("Sound") then
  367. mobs = Instance.new("Sound", char)
  368. mobs.SoundId = "rbxassetid://189224548"
  369. mobs.Looped = true
  370. mobs.Volume = 3
  371. end
  372. mobs:Stop()
  373. mobs:Play()
  374. end
  375. end)
  376. mouse.KeyDown:connect(function(key)
  377. if key == "l" then
  378. if mobs then
  379. mobs:Stop()
  380. end
  381. a = function(b)
  382. for i,v in pairs(b:children()) do
  383. if v:IsA("Sound") and v.Parent ~= char then
  384. v:Destroy()
  385. end
  386. a(v)
  387. end
  388. end
  389. a(workspace)
  390. end
  391. end)
  392. mouse.KeyDown:connect(function(key)
  393. if key == "j" and not rage and canrage then
  394. rage = true
  395. canrage = false
  396. local truenumber = 0
  397. for i = 0, 1 do
  398. reye.Mesh.Scale = reye.Mesh.Scale:Lerp(Vector3.new(0.7,0,0.7),0.6)
  399. leye.Mesh.Scale = reye.Mesh.Scale
  400. wait()
  401. end
  402. humanoid.MaxHealth = 100000 humanoid.Name = "yahaha"
  403. wait()
  404. humanoid.Health = 100000
  405. multiplier = 5
  406. push = 200
  407. reye.BrickColor = BrickColor.new("Deep orange")
  408. leye.BrickColor = BrickColor.new("Deep orange")
  409. wait(0.1)
  410. mobs.SoundId = "rbxassetid://305355374"
  411. for i = 0, 1 do
  412. reye.Mesh.Scale = reye.Mesh.Scale:Lerp(Vector3.new(0.7,1.1,0.7),0.6)
  413. leye.Mesh.Scale = reye.Mesh.Scale
  414. wait()
  415. end
  416. wait(0.3)
  417. effect.Enabled = true
  418. canrage = true
  419. particlecolor = ColorSequence.new(Color3.new(250/255,80/255,1/255))
  420. repeat wait()
  421. truenumber = truenumber+0.05
  422. local num = math.sin(truenumber)*25
  423. effectp.justaweld.C0 = CFrame.new(effectp.justaweld.C0.p) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(num))
  424. until not rage
  425. end
  426. if key == "j" and rage and canrage then
  427. canrage = false
  428. for i = 0, 1 do
  429. reye.Mesh.Scale = reye.Mesh.Scale:Lerp(Vector3.new(0.7,0,0.7),0.6)
  430. leye.Mesh.Scale = reye.Mesh.Scale
  431. wait()
  432. end
  433. rage = false
  434. reye.BrickColor = BrickColor.new("Institutional white")
  435. leye.BrickColor = BrickColor.new("Institutional white")
  436. wait(0.1)
  437. mobs.SoundId = "rbxassetid://189224548"
  438. for i = 0, 1 do
  439. reye.Mesh.Scale = reye.Mesh.Scale:Lerp(Vector3.new(0.7,1.1,0.7),0.6)
  440. leye.Mesh.Scale = reye.Mesh.Scale
  441. wait()
  442. end
  443. effect.Enabled = false
  444. canrage = true
  445. particlecolor = ColorSequence.new(Color3.new(1,1,1))
  446. end
  447. end)
  448. mouse.KeyDown:connect(function(key)
  449. if key == "g" and not attacking then
  450. attacking = true
  451. local p = Instance.new("Part")
  452. p.Transparency = 1
  453. p.Anchored = true
  454. p.Size = Vector3.new(2,2,2)
  455. p.CanCollide = false
  456. local pe = Instance.new("ParticleEmitter", p)
  457. pe.Color = particlecolor
  458. pe.LightEmission = 0.7
  459. pe.Size = NumberSequence.new(2)
  460. pe.Texture = "rbxassetid://243664672"
  461. pe.Transparency = NumberSequence.new(0.5)
  462. pe.Lifetime = NumberRange.new(0.1)
  463. pe.Rate = 500
  464. pe.Speed = NumberRange.new(3)
  465. p.CFrame = reye.CFrame
  466. p.Parent = workspace
  467. p.Anchored = false
  468. local bv = Instance.new("BodyVelocity", p)
  469. bv.MaxForce = huge
  470. bv.Velocity = CFrame.new(char.Torso.Position, mouse.Hit.p).lookVector*push
  471. p.Touched:connect(function(hit)
  472. hurt(hit, math.random(5,10))
  473. end)
  474. game.Debris:AddItem(p, 4)
  475. attacking = false
  476. end
  477. end)
  478. mouse.KeyDown:connect(function(key)
  479. if key == "q" and not attacking then
  480. attacking = true
  481. legs = true
  482. local con = char["Left Arm"].Touched:connect(function(hit)
  483. if hurt(hit, math.random(15,30)) then
  484. local bv = Instance.new("BodyVelocity")
  485. bv.MaxForce = huge
  486. bv.Velocity = -char["Left Arm"].CFrame.upVector*50
  487. bv.Parent = hit
  488. game.Debris:AddItem(bv, 0.5)
  489. end
  490. end)
  491. for i = 0, 0.7, 0.1 do
  492. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0348995551, 0.258661419, -0.965337634, -0.99939239, -0.00903249159, 0.0337103829, 1.15483999e-007, 0.965927243, 0.258819371), 0.8)
  493. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.8)
  494. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.94551903, 0.325568229, 0, 0, 0, 1, 0.325568229, 0.94551903, 0), 0.8)
  495. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.920505404, -0.390731245, -0, 0, 0, 1, -0.390731245, 0.920505404, 0), 0.8)
  496. wait()
  497. end
  498. con:disconnect()
  499. wait(0.05)
  500. attacking = false
  501. legs = false
  502. end
  503. end)
  504. mouse.KeyDown:connect(function(key)
  505. if key == "e" and not attacking then
  506. attacking = true
  507. legs = true
  508. local con = char["Right Arm"].Touched:connect(function(hit)
  509. if hurt(hit, math.random(15,30)) then
  510. local bv = Instance.new("BodyVelocity")
  511. bv.MaxForce = huge
  512. bv.Velocity = -char["Right Arm"].CFrame.upVector*50
  513. bv.Parent = hit
  514. game.Debris:AddItem(bv, 0.5)
  515. end
  516. end)
  517. for i = 0, 0.7, 0.1 do
  518. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0523359589, -0.998629689, 0, 0.998629689, 0.0523359589, 1, 0, 0), 0.8)
  519. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0348783135, 0.00121797505, 0.99939096, 0.998783648, -0.0348783135, 0.034899503, 0.0348993987, 0.999392271, 0), 0.8)
  520. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.956305265, -0.292371809, 0, 0, 0, 1, -0.292371809, 0.956305265, 0), 0.8)
  521. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.913546026, 0.406736761, 0, 0, 0, 1, 0.406736761, 0.913546026, 0), 0.8)
  522. wait()
  523. end
  524. con:disconnect()
  525. wait(0.05)
  526. attacking = false
  527. legs = false
  528. end
  529. end)
  530. mouse.KeyDown:connect(function(key)
  531. if key == "r" and not attacking then
  532. legs = true
  533. attacking = true
  534. local p = Instance.new("Part")
  535. p.CanCollide = false
  536. p.Anchored = true
  537. smooth(p)
  538. p.Transparency = 1
  539. p.Size = Vector3.new(0.2,0.2,0.2)
  540. local pe = Instance.new("ParticleEmitter", p)
  541. pe.Color = particlecolor
  542. pe.LightEmission = 0.7
  543. pe.Size = NumberSequence.new(2)
  544. pe.Texture = "rbxassetid://243664672"
  545. pe.Transparency = NumberSequence.new(0.5)
  546. pe.Lifetime = NumberRange.new(0.3)
  547. pe.Rate = 500
  548. pe.Speed = NumberRange.new(3)
  549. local p2 = p:Clone()
  550. p.Parent = char
  551. p2.Parent = char
  552. spawn(function()
  553. local num = 0
  554. repeat swait()
  555. num = num + 0.5
  556. local sin = math.sin(num)*2
  557. local cos = math.cos(num)*2
  558. p.CFrame = char["Right Arm"].CFrame *CFrame.new(sin,0,cos) *CFrame.new(0,-2,0)
  559. until not attacking
  560. p:Destroy()
  561. p2:Destroy()
  562. end)
  563. for i = 0, 1, 0.1 do
  564. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0523359589, -0.998629689, 0, 0.998629689, 0.0523359589, 1, 0, 0), 0.4)
  565. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0348783135, 0.00121797505, 0.99939096, 0.998783648, -0.0348783135, 0.034899503, 0.0348993987, 0.999392271, 0), 0.4)
  566. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.956305265, -0.292371809, 0, 0, 0, 1, -0.292371809, 0.956305265, 0), 0.4)
  567. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.913546026, 0.406736761, 0, 0, 0, 1, 0.406736761, 0.913546026, 0), 0.4)
  568. wait()
  569. end
  570. wait(0.5)
  571. for i = 0, 50 do
  572. local p = Instance.new("Part")
  573. p.Transparency = 1
  574. p.Size = Vector3.new(5,5,5)
  575. p.Name = "ignore"
  576. p.CanCollide = false
  577. p.CFrame = char["Right Arm"].CFrame
  578. smooth(p)
  579. local pe = Instance.new("ParticleEmitter")
  580. pe.Color = particlecolor
  581. pe.LightEmission = 0.7
  582. pe.Size = NumberSequence.new(5)
  583. pe.Texture = "rbxassetid://243664672"
  584. pe.Transparency = NumberSequence.new(0.5)
  585. pe.Lifetime = NumberRange.new(0.3)
  586. pe.Rate = 500
  587. pe.Speed = NumberRange.new(3)
  588. pe.Parent = p
  589. p.Parent = workspace
  590. p.Touched:connect(function(hit)
  591. if hit.Name ~= "ignore" then
  592. hurt(hit, 50)
  593. end
  594. end)
  595. local bv = Instance.new("BodyVelocity")
  596. bv.MaxForce = huge
  597. bv.Velocity = CFrame.new(char["Right Arm"].Position, mouse.Hit.p).lookVector*push
  598. bv.Parent = p
  599. game.Debris:AddItem(p, 5)
  600. swait()
  601. end
  602. attacking = false
  603. legs = false
  604. end
  605. end)
  606. mouse.KeyDown:connect(function(key)
  607. if key == "t" and not attacking then
  608. attacking = true
  609. legs = true
  610. for i = 1, 2 do
  611. local arm = ""
  612. if i == 1 then arm = "Right Arm" end
  613. if i == 2 then arm = "Left Arm" end
  614. local p = Instance.new("Part")
  615. p.CanCollide = false
  616. p.Anchored = true
  617. smooth(p)
  618. p.Transparency = 1
  619. p.Size = Vector3.new(0.2,0.2,0.2)
  620. local pe = Instance.new("ParticleEmitter", p)
  621. pe.Color = particlecolor
  622. pe.LightEmission = 0.7
  623. pe.Size = NumberSequence.new(2)
  624. pe.Texture = "rbxassetid://243664672"
  625. pe.Transparency = NumberSequence.new(0.5)
  626. pe.Lifetime = NumberRange.new(0.3)
  627. pe.Rate = 500
  628. pe.Speed = NumberRange.new(3)
  629. local p2 = p:Clone()
  630. p.Parent = char
  631. p2.Parent = char
  632. spawn(function()
  633. local num = 0
  634. repeat swait()
  635. num = num + 0.5
  636. local sin = math.sin(num)*2
  637. local cos = math.cos(num)*2
  638. p.CFrame = char[arm].CFrame *CFrame.new(sin,0,cos) *CFrame.new(0,-2,0)
  639. until not attacking
  640. p:Destroy()
  641. p2:Destroy()
  642. end)
  643. end
  644. for i = 0, 1, 0.1 do
  645. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0348517336, -0.0018264954, -0.999390841, -0.998022854, -0.0523041189, 0.0348994955, -0.0523358807, 0.998631001, 0), 0.4)
  646. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0348517336, 0.0018264954, 0.999390841, 0.998022854, -0.0523041189, 0.0348994955, 0.0523358211, 0.998630881, 0), 0.4)
  647. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.4)
  648. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.4)
  649. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4)
  650. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4)
  651. wait()
  652. end
  653. for i = 0, 50 do
  654. local arm = ""
  655. if i%2 == 0 then
  656. arm = "Right Arm"
  657. else
  658. arm = "Left Arm"
  659. end
  660. local p = Instance.new("Part")
  661. p.Transparency = 1
  662. p.Size = Vector3.new(5,5,5)
  663. p.Name = "ignore"
  664. p.CanCollide = false
  665. p.CFrame = char[arm].CFrame
  666. smooth(p)
  667. local pe = Instance.new("ParticleEmitter")
  668. pe.Color = particlecolor
  669. pe.LightEmission = 0.7
  670. pe.Size = NumberSequence.new(2)
  671. pe.Texture = "rbxassetid://243664672"
  672. pe.Transparency = NumberSequence.new(0.5)
  673. pe.Lifetime = NumberRange.new(0.2)
  674. pe.Rate = 500
  675. pe.Speed = NumberRange.new(3)
  676. pe.Parent = p
  677. p.Parent = workspace
  678. p.Touched:connect(function(hit)
  679. if hit.Name ~= "ignore" then
  680. hurt(hit, 10)
  681. end
  682. end)
  683. local bv = Instance.new("BodyVelocity")
  684. bv.MaxForce = huge
  685. bv.Velocity = CFrame.new(char[arm].Position, mouse.Hit.p).lookVector*push
  686. bv.Parent = p
  687. game.Debris:AddItem(p, 5)
  688. swait()
  689. end
  690. wait(0.5)
  691. attacking = false
  692. legs = false
  693. end
  694. end)
  695. mouse.KeyDown:connect(function(key)
  696. if key == "y" and not attacking then
  697. attacking = true
  698. legs = true
  699. for i = 0, 0.7, 0.1 do
  700. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.7)
  701. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0347083807, -0.321920633, 0.946130574, 0.993917823, -0.110135622, -0.00101229548, 0.104528494, 0.940340519, 0.323785156), 0.7)
  702. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.984808087, 0.173648223, 0, 0, 0, 1, 0.173648223, 0.984808087, 0), 0.7)
  703. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.96592617, -0.258819103, -0, 0, 0, 1, -0.258819103, 0.96592617, 0), 0.7)
  704. wait()
  705. end
  706. local w = nil
  707. scon = char["Right Arm"].Touched:connect(function(hit)
  708. if gethum(hit) then
  709. if hit.Parent:FindFirstChild("Head") then
  710. w = Instance.new("Weld")
  711. w.Part0 = char["Right Arm"]
  712. w.Part1 = hit.Parent.Head
  713. w.C0 = CFrame.new(0,-2,0)
  714. w.Parent = hit.Parent.Head
  715. scon:disconnect()
  716. scon = nil
  717. end
  718. end
  719. end)
  720. for i = 0, 0.7, 0.1 do
  721. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.8)
  722. rs.C0 = rs.C0:Lerp(CFrame.new(0.779308438, 0.539296746, -0.44693622, -0.0347083807, 0.441383421, 0.896648288, 0.993917823, -0.0785935149, 0.0771619156, 0.104528494, 0.89387244, -0.435970813), 0.8)
  723. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.984808445, -0.173648283, 0, 0, 0, 1, -0.173648283, 0.984808445, 0), 0.8)
  724. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.961262584, 0.275637597, 0, 0, 0, 1.00000012, 0.275637567, 0.961262703, 0), 0.8)
  725. wait()
  726. end
  727. local save = char.Torso.CFrame
  728. for i = 0, 0.4, 0.1 do
  729. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.6)
  730. rs.C0 = rs.C0:Lerp(CFrame.new(1.50524855, 0.565971315, -0.459527433, -0.0347083807, -0.999394238, 0.00364828855, 0.993917823, -0.0348996557, -0.104465209, 0.104528494, 5.77419996e-008, 0.994526088), 0.6)
  731. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.874620974, 0.484810293, 0, 0, 0, 1, 0.484810293, 0.874620974, 0), 0.6)
  732. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.798636913, -0.601815939, 0, 0, 0, 1.00000012, -0.601815999, 0.798636913, 0), 0.6)
  733. wait()
  734. end
  735. if w then
  736. if w.Parent then
  737. local character = w.Parent.Parent
  738. character.Head.CanCollide = false
  739. w:Destroy()
  740. local bv = Instance.new("BodyVelocity")
  741. bv.MaxForce = huge
  742. bv.Velocity = -save.lookVector*push
  743. bv.Parent = character.Torso
  744. game.Debris:AddItem(bv, 0.5)
  745. spawn(function()
  746. wait(0.25)
  747. character.Head.CanCollide = true
  748. end)
  749. character:FindFirstChildOfClass("Humanoid").PlatformStand = false
  750. end
  751. end
  752. wait(0.1)
  753. if scon then scon:disconnect() end
  754. attacking = false
  755. legs = false
  756. end
  757. end)
  758. local deb = false
  759. mouse.KeyDown:connect(function(key)
  760. if key == "h" and not deb and not attacking then
  761. deb = true
  762. for i = 0, 10 do
  763. spawn(function()
  764. local p = Instance.new("Part")
  765. p.Anchored = true
  766. p.CanCollide = false
  767. p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-5,5),-10,math.random(-5,5))
  768. smooth(p)
  769. p.BrickColor = BrickColor.DarkGray()
  770. p.Material = Enum.Material.Slate
  771. p.Size = Vector3.new(1,1,1)
  772. p.Transparency = 1
  773. local pe = Instance.new("ParticleEmitter")
  774. pe.Color = particlecolor
  775. pe.LightEmission = 0.7
  776. pe.Size = NumberSequence.new(1)
  777. pe.Texture = "rbxassetid://243664672"
  778. pe.Transparency = NumberSequence.new(0.5)
  779. pe.Lifetime = NumberRange.new(0.2)
  780. pe.Rate = 500
  781. pe.Speed = NumberRange.new(3)
  782. pe.Parent = p
  783. p.Parent = workspace
  784. local endcf = p.CFrame *CFrame.new(0,30,0)
  785. for i = 0, 20 do
  786. p.CFrame = p.CFrame:Lerp(endcf, 0.3)
  787. wait()
  788. end
  789. local z = Instance.new("Part")
  790. z.CFrame = p.CFrame
  791. z.CFrame = CFrame.new(z.Position, mouse.Hit.p)
  792. local bv = Instance.new("BodyVelocity", p)
  793. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  794. bv.Velocity = z.CFrame.lookVector*140
  795. p.Anchored = false
  796. z:Destroy()
  797. p.CanCollide = false
  798. local connection
  799. spawn(function()
  800. local angle = CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10)))
  801. repeat wait()
  802. p.CFrame = p.CFrame *angle
  803. until not p or p.CanCollide
  804. end)
  805. connection = p.Touched:connect(function(hit)
  806. hurt(hit, math.random(5,5))
  807. if not hit.Anchored and hit.Parent.Name ~= plr.Name and hit.Parent.ClassName ~= "Accessory" then
  808. p.CanCollide = true
  809. end
  810. end)
  811. game.Debris:AddItem(p, 5)
  812. end)
  813. wait()
  814. deb = false
  815. end
  816. end
  817. end)
  818. mouse.KeyDown:connect(function(key)
  819. if key == "k" and not attacking then
  820. attacking = true
  821. for i = 0, 0.7, 0.1 do
  822. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0697564781, -0.997564137, 0, 0.997564137, 0.0697564781, 1, 0, 0), 0.7)
  823. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.0697564855, 0.997564256, 0, 0.997564256, 0.0697564855, -1, 0, 0), 0.7)
  824. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.915699959, -0.141025871, 0, 0, -1, 0.838671386, 0.544639707, 0, 0.544639707, -0.838671386, 0), 0.7)
  825. rh.C0 = rh.C0:Lerp(CFrame.new(1, -0.399999917, -0.700000048, 0, 0, 1, 0.224951148, 0.974370599, 0, -0.974370599, 0.224951148, 0), 0.7)
  826. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.7)
  827. rj.C0 = rj.C0:Lerp(CFrame.new(0, -0.700000048, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.7)
  828. wait()
  829. end
  830. local bv = Instance.new("BodyVelocity")
  831. bv.MaxForce = huge
  832. bv.Velocity = -char.Torso.CFrame.lookVector*100
  833. bv.Velocity = bv.Velocity +Vector3.new(0,100,0)
  834. bv.Parent = char.Torso
  835. game.Debris:AddItem(bv, 0.5)
  836. repeat
  837. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.121869355, -0.99254632, 0, 0.99254632, 0.121869355, 1, 0, 0), 0.2)
  838. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.13917312, 0.99026823, 0, 0.99026823, 0.13917312, -1, -0, 0), 0.2)
  839. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.599999905, -0.400000006, -0, -0, -1, 0, 1, 0, 1, 0, 0), 0.2)
  840. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, 0, 1, -0.529919565, 0.848048747, 0, -0.848048747, -0.529919565, 0), 0.2)
  841. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1.00000024, -1.80731718e-009, 4.5061474e-010, 0, 0.241921946, 0.970296025, -1.86264515e-009, 0.970296264, -0.241922006), 0.2)
  842. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
  843. wait()
  844. until char.HumanoidRootPart.Velocity.Y < 0
  845. local num2 = 0.5
  846. local bv = Instance.new("BodyForce")
  847. bv.Force = -char.Torso.CFrame.lookVector*1000
  848. bv.Parent = char.Torso
  849. repeat
  850. if num2 < 5 then
  851. num2 = num2+0.5
  852. end
  853. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0321390443, -0.899457872, -0.435827494, -0.903263509, 0.212814748, -0.37259686, 0.427884579, 0.381691694, -0.819286048), 0.2)
  854. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.166612521, 0.861375272, 0.47987023, 0.814885736, 0.153724328, -0.558868229, -0.555161953, 0.484153807, -0.67630893), 0.2)
  855. lh.C0 = lh.C0:Lerp(CFrame.new(-0.988398254, -0.309396505, -0.610682189, 0.00854844693, 0.0146014411, -0.999856889, 0.498114854, 0.866946518, 0.0169191808, 0.867069304, -0.498188108, 0.00013788142), 0.2)
  856. rh.C0 = rh.C0:Lerp(CFrame.new(0.988217235, -0.304208815, -0.86811024, 0.00891196821, -0.0143678738, 0.999857128, -0.528013527, 0.849068403, 0.0169073474, -0.849189758, -0.528088629, -1.95365774e-005), 0.2)
  857. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0.788011312, 0.615662038, 0, 0.61566186, -0.788011372), 0.2)
  858. rj.C0 = rj.C0:Lerp(rj.C0 *CFrame.Angles(math.rad(-(10*num2)),0,0), 0.5)
  859. wait()
  860. until char.HumanoidRootPart.Velocity.Y >= -3
  861. bv:Destroy()
  862. attacking = false
  863. end
  864. end)
  865. mouse.KeyDown:connect(function(key)
  866. if key == "z" and not attacking then
  867. attacking = true
  868. local p = Instance.new("Part")
  869. p.Anchored = true
  870. smooth(p)
  871. p.Material = "Neon"
  872. local bc = BrickColor.new("Deep orange")
  873. if particlecolor == ColorSequence.new(Color3.new(1,1,1)) then
  874. bc = BrickColor.new("Institutional White")
  875. end
  876. p.BrickColor = bc
  877. local m = Instance.new("SpecialMesh", p)
  878. m.MeshType = "Sphere"
  879. p.Size = Vector3.new(1,1,1)
  880. p.CFrame = char.Torso.CFrame
  881. p.CanCollide = false
  882. local pe = Instance.new("ParticleEmitter")
  883. pe.Color = particlecolor
  884. pe.LightEmission = 0.7
  885. pe.Size = NumberSequence.new(3)
  886. pe.Texture = "rbxassetid://243664672"
  887. pe.Transparency = NumberSequence.new(0.5)
  888. pe.Lifetime = NumberRange.new(5)
  889. pe.Rate = 500
  890. pe.Speed = NumberRange.new(50)
  891. pe.VelocitySpread = 360
  892. pe.Parent = p
  893. p.Parent = workspace
  894. local rate = 5
  895. local oldcf = p.CFrame
  896. local con = p.Touched:connect(function(hit)
  897. if hit.Parent then
  898. if hit.Anchored == false then
  899. if hit.Parent.Name ~= plr.Name then
  900. if not hit.Parent:IsA("Accessory") then
  901. fade(hit, true)
  902. end
  903. end
  904. end
  905. end
  906. end)
  907. attacking = false
  908. for i = 0, 10*rate do
  909. p.Size = p.Size +Vector3.new(5,5,5)/rate
  910. p.Transparency = p.Transparency+0.1/rate
  911. p.CFrame = oldcf
  912. swait()
  913. end
  914. pe.Enabled = false
  915. con:disconnect()
  916. game.Debris:AddItem(p, 5)
  917. end
  918. end)
  919. local timetravel = false
  920. local recording = false
  921. local frames = 0
  922. local objects = 0
  923. local data = {
  924. ["Objects"] = {
  925.  
  926. }
  927. }
  928. function animate()
  929. a = function(b)
  930. for i,v in pairs(b:children()) do
  931. if v:IsA("BasePart") then
  932. if v.Anchored == false then
  933. local val = Instance.new("StringValue", v)
  934. val.Name = "Anchoredz"
  935. v.Anchored = true
  936. end
  937. end
  938. a(v)
  939. end
  940. end
  941. a(workspace)
  942. end
  943. function unanimate()
  944. a = function(b)
  945. for i,v in pairs(b:children()) do
  946. if v:IsA("BasePart") then
  947. if v:FindFirstChild("Anchoredz") then
  948. v.Anchoredz:Destroy()
  949. v.Anchored = false
  950. end
  951. end
  952. a(v)
  953. end
  954. end
  955. a(workspace)
  956. end
  957. mouse.KeyDown:connect(function(key)
  958. if key == "c" and not timetravel then
  959. timetravel = true
  960. local currentframe = frames+1
  961. animate(true)
  962. for i = 1, frames do
  963. currentframe = currentframe - 1
  964. local currentobj = 0
  965. for i = 1, objects do
  966. currentobj = currentobj + 1
  967. obj = data["Objects"]["obj"..currentobj]
  968. if obj["Object"] then
  969. if obj["Frame"..currentframe] then
  970. obj["Object"].CFrame = obj["Frame"..currentframe]["CFrame"]
  971. end
  972. end
  973. end
  974. wait()
  975. end
  976. unanimate()
  977. timetravel = false
  978. objects = 0
  979. frames = 0
  980. data = {
  981. ["Objects"] = {
  982.  
  983. }
  984. }
  985.  
  986. end
  987. end)
  988. mouse.KeyDown:connect(function(key)
  989. if key == "x" and not recording and not timetravel then
  990. recording = true
  991. if not timetravel and recording then
  992. frames = frames+1
  993. local num = 0
  994. a = function(b)
  995. for i,v in pairs(b:children()) do
  996. if v:IsA("BasePart") then
  997. num = num + 1
  998. if not data["Objects"]["obj"..num] then
  999. data["Objects"]["obj"..num] = {
  1000. ["Object"] = nil
  1001.  
  1002. }
  1003. data["Objects"]["obj"..num]["Object"] = v
  1004. objects = objects + 1
  1005. end
  1006. data["Objects"]["obj"..num]["Frame"..frames] = {}
  1007. data["Objects"]["obj"..num]["Frame"..frames]["Size"] = v.Size
  1008. data["Objects"]["obj"..num]["Frame"..frames]["CFrame"] = v.CFrame
  1009. end
  1010. a(v)
  1011. end
  1012. end
  1013. a(workspace)
  1014. end
  1015. recording = false
  1016. end
  1017. end)
  1018. mouse.KeyDown:connect(function(key)
  1019. if key == "v" and not attacking then
  1020. attacking = true
  1021. shielding = true
  1022. local p = Instance.new("Part")
  1023. p.Anchored = true
  1024. smooth(p)
  1025. shield = p
  1026. local bc = BrickColor.Random()
  1027. if ragetype == "???" and rage then bc = BrickColor.new("Really black") end
  1028. p.BrickColor = bc
  1029. p.Size = Vector3.new(30,30,0)
  1030. p.Material = "Neon"
  1031. local m = Instance.new("SpecialMesh", p)
  1032. m.MeshType = "Sphere"
  1033. p.CFrame = char.HumanoidRootPart.CFrame *CFrame.new(0,0,-4)
  1034. local num2 = -0.5
  1035. for i = 0, 10 do
  1036. if shielding then
  1037. local p = Instance.new("Part")
  1038. p.Size = Vector3.new(0.2,0.2,0.2)
  1039. p.CanCollide = false
  1040. p.Anchored = true
  1041. p.Transparency = 1
  1042. local pe = Instance.new("ParticleEmitter")
  1043. pe.Color = particlecolor
  1044. pe.LightEmission = 0.7
  1045. pe.Size = NumberSequence.new(1)
  1046. pe.Texture = "rbxassetid://243664672"
  1047. pe.Transparency = NumberSequence.new(0.5)
  1048. pe.Lifetime = NumberRange.new(0.2)
  1049. pe.Rate = 500
  1050. pe.Speed = NumberRange.new(3)
  1051. pe.Parent = p
  1052. p.Parent = shield
  1053. num2 = num2 + 1
  1054. local num = num2
  1055. local neg = false
  1056. spawn(function()
  1057. repeat wait()
  1058. num = num + 0.1
  1059. local sin = math.sin(num)*15
  1060. local cos = math.cos(num)*15
  1061. if shield then
  1062. p.CFrame = shield.CFrame *CFrame.new(sin,cos,0)
  1063. end
  1064. until not shielding
  1065. end)
  1066. else
  1067. break
  1068. end
  1069. end
  1070. p.Transparency = 1
  1071. p.Parent = workspace
  1072. p.Touched:connect(function(hit)
  1073. if hurt(hit, math.random(50, 100)) then
  1074. fade(hit)
  1075. elseif hit.Anchored == false and hit.Parent.Name ~= plr.Name and hit.Parent.ClassName ~= "Accessory" then
  1076. fade(hit, true)
  1077. end
  1078. end)
  1079. char:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
  1080. for i = 0, 1, 0.1 do
  1081. if attacking or shielding then
  1082. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.6)
  1083. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0173860267, -0.69564718, 0.71817416, 0.996044099, -0.0505616963, -0.0730885938, 0.087155737, 0.716603398, 0.692016065), 0.6)
  1084. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.6)
  1085. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.6)
  1086. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.777146578, -0.629320741, -0, 0, 0, 1, -0.629320741, 0.777146578, 0), 0.6)
  1087. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.694658995, 0.719340265, 0, 0, 0, 1, 0.719340265, 0.694658995, 0), 0.6)
  1088. wait()
  1089. else
  1090. break
  1091. end
  1092. end
  1093. end
  1094. end)
  1095. mouse.KeyUp:connect(function(key)
  1096. if key == "v" and attacking then
  1097. if shield then
  1098. fade(shield, true)
  1099. attacking = false
  1100. shielding = false
  1101. char:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
  1102. end
  1103. end
  1104. end)
  1105. mouse.KeyDown:connect(function(key)
  1106. if key == "b" and not attacking then
  1107. attacking = true
  1108. local p = Instance.new("Part")
  1109. p.Anchored = true
  1110. smooth(p)
  1111. p.Material = "Neon"
  1112. local bc = BrickColor.new("Deep orange")
  1113. if particlecolor == ColorSequence.new(Color3.new(1,1,1)) then
  1114. bc = BrickColor.new("Institutional White")
  1115. end
  1116. p.BrickColor = bc
  1117. local m = Instance.new("SpecialMesh", p)
  1118. m.MeshType = "Sphere"
  1119. p.Size = Vector3.new(1,1,1)
  1120. p.CFrame = char.Torso.CFrame
  1121. p.CanCollide = false
  1122. local pe = Instance.new("ParticleEmitter")
  1123. pe.Color = particlecolor
  1124. pe.LightEmission = 0.7
  1125. pe.Size = NumberSequence.new(10)
  1126. pe.Texture = "rbxassetid://243664672"
  1127. pe.Transparency = NumberSequence.new(0.5)
  1128. pe.Lifetime = NumberRange.new(5)
  1129. pe.Rate = 500
  1130. pe.Speed = NumberRange.new(50)
  1131. pe.VelocitySpread = 360
  1132. pe.Parent = p
  1133. p.Parent = workspace
  1134. local rate = 20
  1135. local oldcf = p.CFrame
  1136. local con = p.Touched:connect(function(hit)
  1137. if hit.Parent then
  1138. if hit.Anchored == false then
  1139. if hit.Parent.Name ~= plr.Name then
  1140. if not hit.Parent:IsA("Accessory") then
  1141. fade(hit, true)
  1142. end
  1143. end
  1144. end
  1145. end
  1146. end)
  1147. attacking = false
  1148. for i = 0, 10*rate do
  1149. p.Size = p.Size +Vector3.new(20,20,20)/rate
  1150. p.Transparency = p.Transparency+0.1/rate
  1151. p.CFrame = oldcf
  1152. swait()
  1153. end
  1154. pe.Enabled = false
  1155. con:disconnect()
  1156. game.Debris:AddItem(p, 5)
  1157. end
  1158. end)
  1159. mouse.KeyDown:connect(function(key)
  1160. if key == "n" and not attacking then
  1161. attacking = true
  1162. local bv = Instance.new("BodyVelocity")
  1163. bv.MaxForce = huge
  1164. bv.Velocity = char.HumanoidRootPart.CFrame.lookVector*push/1.5
  1165. bv.Parent = char.Torso
  1166. game.Debris:AddItem(bv, 0.5)
  1167. local con = char["Right Arm"].Touched:connect(function(hit)
  1168. if hurt(hit, math.random(30,50)) then
  1169. local bv = Instance.new("BodyVelocity")
  1170. bv.MaxForce = huge
  1171. bv.Velocity = char.HumanoidRootPart.CFrame.lookVector*char.HumanoidRootPart.Velocity.Z*(push/1)
  1172. bv.Parent = hit
  1173. game.Debris:AddItem(bv, 0.5)
  1174. end
  1175. end)
  1176. for i = 0, 1, 0.1 do
  1177. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.207911745, -0.978147984, 0, 0.978147984, 0.207911745, 1, 0, 0), 0.6)
  1178. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, 0.325568229, 0.94551903, 0.999849021, 0.0165017936, -0.00568202185, -0.0174526293, 0.945375919, -0.325519055), 0.6)
  1179. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.6)
  1180. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359552, 0.99862957, 0, 0.99862957, 0.0523359552, -1, 0, 0), 0.6)
  1181. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.224951565, -0.974371314, 0, 0, 0, 1, -0.974371314, 0.224951565, 0), 0.6)
  1182. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.156434745, 0.987689376, 0, 0, 0, 1, 0.987689376, 0.156434745, 0), 0.6)
  1183. wait()
  1184. end
  1185. wait(0.5)
  1186. con:disconnect()
  1187. attacking = false
  1188. end
  1189. end)
  1190. mouse.KeyDown:connect(function(key)
  1191. if key == "m" and not attacking and animpose ~= "Falling" then
  1192. attacking = true
  1193. char:FindFirstChildOfClass("Humanoid").JumpPower = 500
  1194. char:FindFirstChildOfClass("Humanoid").Jump = true
  1195. wait()
  1196. char:FindFirstChildOfClass("Humanoid").JumpPower = 100
  1197. repeat wait() until char.HumanoidRootPart.Velocity.Y < 0
  1198. local num = 0.5
  1199. local num2 = 0.5
  1200. repeat wait()
  1201. num = num + 0.5
  1202. if num2 < 10 then
  1203. num2 = num2+0.5
  1204. end
  1205. if num%3 == 0 then soundeffect("rbxassetid://541909814", 2, 1, char.Torso) end
  1206. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0321390443, -0.899457872, -0.435827494, -0.903263509, 0.212814748, -0.37259686, 0.427884579, 0.381691694, -0.819286048), 0.2)
  1207. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.166612521, 0.861375272, 0.47987023, 0.814885736, 0.153724328, -0.558868229, -0.555161953, 0.484153807, -0.67630893), 0.2)
  1208. lh.C0 = lh.C0:Lerp(CFrame.new(-0.988398254, -0.309396505, -0.610682189, 0.00854844693, 0.0146014411, -0.999856889, 0.498114854, 0.866946518, 0.0169191808, 0.867069304, -0.498188108, 0.00013788142), 0.2)
  1209. rh.C0 = rh.C0:Lerp(CFrame.new(0.988217235, -0.304208815, -0.86811024, 0.00891196821, -0.0143678738, 0.999857128, -0.528013527, 0.849068403, 0.0169073474, -0.849189758, -0.528088629, -1.95365774e-005), 0.2)
  1210. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0.788011312, 0.615662038, 0, 0.61566186, -0.788011372), 0.2)
  1211. rj.C0 = rj.C0:Lerp(rj.C0 *CFrame.Angles(math.rad((10*num2)),0,0), 0.5)
  1212. until char.HumanoidRootPart.Velocity.Y > -1
  1213. soundeffect("rbxassetid://165969964", 3, 1, char.Torso)
  1214. for i = 0, 1.3, 0.1 do
  1215. if i == 0.6 then
  1216. local ring = Instance.new("Part")
  1217. ring.Size = Vector3.new(1.16, 1.16, 0.16)
  1218. local bc = BrickColor.new("Institutional white")
  1219. if rage then
  1220. bc = BrickColor.new("Deep orange")
  1221. end
  1222. ring.BrickColor = bc
  1223. ring.Anchored = true
  1224. ring.CFrame = char.Torso.CFrame *CFrame.new(0,-2.5,0)
  1225. ring.CFrame = ring.CFrame *CFrame.Angles(math.rad(90),0,0)
  1226. local m = Instance.new("SpecialMesh", ring)
  1227. m.MeshId = "rbxassetid://3270017"
  1228. ring.Parent = workspace
  1229. local thing = Instance.new("Part")
  1230. thing.Size = Vector3.new(1.866, 1.421, 2.155)
  1231. thing.BrickColor = bc
  1232. thing.Anchored = true
  1233. thing.CFrame = char.Torso.CFrame *CFrame.new(0,-2.5,0)
  1234. local m2 = Instance.new("SpecialMesh", thing)
  1235. m2.MeshId = "rbxassetid://20329976"
  1236. thing.Parent = workspace
  1237. local oldcf2 = thing.CFrame
  1238. local multiplier2 = Vector3.new(1.866, 1.421, 2.155)*3
  1239. local oldcf = ring.CFrame
  1240. local multiplier = Vector3.new(1.16, 1.16, 0.16)*3
  1241. thing.Touched:connect(function(hit)
  1242. hurt(hit, math.random(30,35))
  1243. end)
  1244. ring.Touched:connect(function(hit)
  1245. if hurt(hit, math.random(10,15)) then
  1246. hit.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1247. end
  1248. end)
  1249. spawn(function()
  1250. for i = 0, 20 do
  1251. ring.Size = multiplier*i
  1252. m.Scale = m.Scale +Vector3.new(3,3,3)
  1253. ring.CFrame = oldcf
  1254. ring.Transparency = ring.Transparency +0.05
  1255. thing.Size = multiplier*i
  1256. m2.Scale = m2.Scale +Vector3.new(3,3,3)
  1257. thing.CFrame = oldcf2
  1258. thing.Transparency = thing.Transparency +0.05
  1259. wait(0.01)
  1260. end
  1261. thing:Destroy()
  1262. ring:Destroy()
  1263. end)
  1264. end
  1265. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.13917312, -0.99026823, 0, 0.99026823, 0.13917312, 1, 0, 0), 0.7)
  1266. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.190809026, 0.981627405, 0, 0.981627405, 0.190809026, -1, 0, 0), 0.7)
  1267. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.297612011, -0.327801049, 0, 0, -1, 0.374606699, 0.927184403, 0, 0.927184403, -0.374606699, 0), 0.7)
  1268. rh.C0 = rh.C0:Lerp(CFrame.new(1, -0.399999917, -0.5, 0, 0, 1, 0.121869355, 0.99254632, 0, -0.99254632, 0.121869355, 0), 0.7)
  1269. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.7)
  1270. rj.C0 = rj.C0:Lerp(CFrame.new(0, -0.800000072, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.7)
  1271. wait()
  1272. end
  1273. attacking = false
  1274.  
  1275. end
  1276. end)
  1277. mouse.KeyDown:connect(function(key)
  1278. if key:byte() == 48 and not shielding then
  1279. sprint = true
  1280. char:FindFirstChildOfClass("Humanoid").WalkSpeed = speed
  1281. local mod = Instance.new("Model", workspace)
  1282. mod.Name = "MobModel"
  1283. for i,v in pairs(char:children()) do
  1284. if v:IsA("Accessory") and not rage then
  1285. if v:FindFirstChild("Handle") then
  1286. v.Handle.Transparency = 1
  1287. end
  1288. end
  1289. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" and v.Name ~= "Percent" then
  1290. v.Transparency = 1
  1291. end
  1292. end
  1293. if char.Head:FindFirstChild("face") then
  1294. char.Head.face.Transparency = 1
  1295. end
  1296. repeat wait()
  1297. if not workspace:FindFirstChild("MobModel") then
  1298. mod = Instance.new("Model", workspace)
  1299. mod.Name = "MobModel"
  1300. end
  1301. for i,v in pairs(char:children()) do
  1302. if v:IsA("Part") and v.Name ~= "HumanoidRootPart" and v.Name ~= "Percent" then
  1303. local new = v:Clone()
  1304. smooth(new)
  1305. new.Transparency = 0
  1306. new.Anchored = true
  1307. new.CanCollide = false
  1308. new.Material = "Neon"
  1309. for i,v in pairs(new:children()) do if not v:IsA("SpecialMesh") then v:Destroy() end end
  1310. new.Parent = mod
  1311. fade(new, true)
  1312. end
  1313. end
  1314. until not sprint
  1315. if mod then
  1316. spawn(function()
  1317. repeat wait() until not mod or #mod:children() == 0
  1318. mod:Destroy()
  1319. end)
  1320. end
  1321. char:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
  1322. end
  1323. end)
  1324. mouse.KeyUp:connect(function(key)
  1325. if key:byte() == 48 then
  1326. sprint = false
  1327. for i,v in pairs(char:children()) do
  1328. if v:IsA("Accessory") and not rage then
  1329. if v:FindFirstChild("Handle") then
  1330. v.Handle.Transparency = 0
  1331. end
  1332. end
  1333. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" and v.Name ~= "Percent" and not v:FindFirstChildOfClass("ParticleEmitter") then
  1334. v.Transparency = 0
  1335. end
  1336. end
  1337. if char.Head:FindFirstChild("face") then
  1338. char.Head.face.Transparency = 0
  1339. end
  1340. end
  1341. end)
  1342.  
  1343.  
  1344. local idlesine = 0
  1345. while wait() do
  1346. if animpose == "Walking" and cananim and not attacking and not legs then
  1347. for i = 0, 0.7, 0.1 do
  1348. if animpose == "Walking" and cananim and not attacking and not legs then
  1349. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.0475738533, 0.051016707, -0.997564137, 0.680338025, 0.72957325, 0.0697564781, 0.731354535, -0.681998909, 0), 0.4)
  1350. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0626967475, -0.0305792596, 0.997564137, 0.896606028, 0.43730399, 0.0697564781, -0.438371748, 0.898795009, -1.29931566e-010), 0.4)
  1351. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0219629817, 0.02712203, -0.999390841, -0.628937364, 0.776673257, 0.0348994955, 0.777146697, 0.6293208, 0), 0.4)
  1352. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.0238014236, -0.0255239103, 0.999390841, -0.681583524, 0.73090899, 0.0348994955, -0.731354535, -0.681998909, 0), 0.4)
  1353. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4)
  1354. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4)
  1355. wait()
  1356. else
  1357. break
  1358. end
  1359. end
  1360. for i = 0, 0.7, 0.1 do
  1361. if animpose == "Walking" and cananim and not attacking and not legs then
  1362. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0585028417, 0.0379922055, -0.997564137, -0.836630702, 0.543314457, 0.0697564781, 0.544640183, 0.838672042, 0), 0.4)
  1363. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0475739017, -0.051016774, 0.997564137, -0.680339456, 0.729574919, 0.0697564781, -0.731355429, -0.681999743, -1.29931566e-010), 0.4)
  1364. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0205134545, 0.0282343514, -0.999390841, 0.587428331, 0.808525503, 0.0348994955, 0.809018135, -0.587786257, 0), 0.4)
  1365. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0224330258, -0.0267346334, 0.999390841, 0.642397523, 0.765579402, 0.0348994955, -0.76604569, 0.642788768, 0), 0.4)
  1366. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4)
  1367. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4)
  1368. wait()
  1369. else
  1370. break
  1371. end
  1372. end
  1373. end
  1374. if animpose == "Walking" and cananim and legs then
  1375. for i = 0, 0.7, 0.1 do
  1376. if animpose == "Walking" and cananim and legs then
  1377. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0219629817, 0.02712203, -0.999390841, -0.628937364, 0.776673257, 0.0348994955, 0.777146697, 0.6293208, 0), 0.4)
  1378. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.0238014236, -0.0255239103, 0.999390841, -0.681583524, 0.73090899, 0.0348994955, -0.731354535, -0.681998909, 0), 0.4)
  1379. wait()
  1380. else
  1381. break
  1382. end
  1383. end
  1384. for i = 0, 0.7, 0.1 do
  1385. if animpose == "Walking" and cananim and legs then
  1386. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0205134545, 0.0282343514, -0.999390841, 0.587428331, 0.808525503, 0.0348994955, 0.809018135, -0.587786257, 0), 0.4)
  1387. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0224330258, -0.0267346334, 0.999390841, 0.642397523, 0.765579402, 0.0348994955, -0.76604569, 0.642788768, 0), 0.4)
  1388. wait()
  1389. else
  1390. break
  1391. end
  1392. end
  1393. end
  1394. if animpose == "Idle" and cananim and legs then
  1395. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.5)
  1396. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.5)
  1397. end
  1398. if animpose ~= "Idle" and not legs then idlesine = 0 end
  1399. if animpose == "Idle" and cananim and not attacking and not legs then
  1400. idlesine = idlesine + 0.01
  1401. local sin = math.sin(idlesine)*2.5
  1402. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0697564781, -0.997564137, 0, 0.997564137, 0.0697564781, 1, 0, 0)*CFrame.Angles(math.rad(sin),0,0), 0.5)
  1403. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.0697564781, 0.997564137, -1.86264515e-009, 0.997564256, 0.0697564781, -1.00000012, -1.858108e-009, -1.29931566e-010)*CFrame.Angles(math.rad(sin),0,0), 0.5)
  1404. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.5)
  1405. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.5)
  1406. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.5)
  1407. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.5)
  1408. end
  1409. end
Advertisement
Add Comment
Please, Sign In to add comment