Advertisement
Upscalefanatic3

Mob 2.0 Script (Read Carefully)

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