Advertisement
bmrx13

thing

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