carlosname

Untitled

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