Advertisement
EmeraldIT

Untitled

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