Advertisement
EmeraldIT

Untitled

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