Advertisement
samuelrichter66

UBER

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