UnoPastes

Rainbowthingie

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