Advertisement
TheSkibidiOne1

Lebron JJS

Feb 20th, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.37 KB | None | 0 0
  1. --Local Stuff
  2. local skillOne = game.Players.LocalPlayer.PlayerGui.Main.Moveset['Cursed Strikes'].ItemName
  3. local skillTwo = game.Players.LocalPlayer.PlayerGui.Main.Moveset['Crushing Blow'].ItemName
  4. local skillThree = game.Players.LocalPlayer.PlayerGui.Main.Moveset['Divergent Fist'].ItemName
  5. local skillThreeTip = game.Players.LocalPlayer.PlayerGui.Main.Moveset['Divergent Fist'].Tip
  6. local skillFour = game.Players.LocalPlayer.PlayerGui.Main.Moveset['Manji Kick'].ItemName
  7.  
  8. local ultTitle = game.Players.LocalPlayer.PlayerGui.Main.Ultimate.Title
  9. local UIGradientCustom = game.Players.LocalPlayer.PlayerGui.Main.Ultimate.Bar.Fill.UIGradient
  10.  
  11. --Gradient
  12. UIGradientCustom.Color = ColorSequence.new(Color3.fromRGB(0, 0, 0), Color3.fromRGB(0, 0, 0))
  13.  
  14. --Skill names
  15. skillOne.Text = "Dribble Combo"
  16. skillTwo.Text = "Double Dribble"
  17. skillThree.Text = "Rushing Foul"
  18. skillThreeTip.Text = "Twice to Shoot"
  19. skillFour.Text = "Chromatic Rebound"
  20. ultTitle.Text = "B- B- Boom"
  21. -- SKILL 1 --
  22.  
  23. local Players = game:GetService("Players")
  24. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  25. local ChatService = game:GetService("Chat")
  26.  
  27. -- Animation references
  28. local cursedStrikesANIM = ReplicatedStorage.Animations.Itadori.CursedStrike
  29. local wideStrikeANIM = ReplicatedStorage.Animations.Mahito.WideStrike
  30. local overLuckANIM = ReplicatedStorage.Animations.Hakari.OverLuck
  31.  
  32. -- Configurable parameters
  33. local SWAP_DELAY = 0.01 -- Delay before swapping animations (in seconds)
  34. local PLAY_DURATION = 1.2 -- Total duration of animation sequence
  35.  
  36. -- Prevent multiple triggers
  37. local isAnimationSequenceActive = false
  38.  
  39. local function sendChatMessage(message)
  40. if not CONFIG.EnableChatMessages then return end
  41.  
  42. -- Define messages for different languages
  43. local messages = {
  44. Skill1 = {
  45. JP = "Dribble",
  46. EN = "Dribble"
  47. },
  48. Skill2 = {
  49. JP = "これは本当に不公平ですよね? (This isn't really fair, Is it?)",
  50. EN = "BOOM BOOM"
  51. },
  52. Skill3 = {
  53. JP = "チキチータ、夢はある? (Chiquitita, You have a dream?)",
  54. EN = "Not a foul Btw"
  55. },
  56. Skill4 = {
  57. JP = "良かったね、チキチータ! (Good one, Chiquitita!)",
  58. EN = "Pass!"
  59. }
  60. }
  61.  
  62. -- Select the appropriate message based on language
  63. local languageMessage = CONFIG.Language or "JP"
  64. local finalMessage = type(message) == "table"
  65. and (message[languageMessage] or message.JP)
  66. or message
  67.  
  68. -- FE-compatible chat method
  69. local args = {
  70. [1] = finalMessage,
  71. [2] = "All"
  72. }
  73.  
  74. -- Try different chat methods to ensure compatibility
  75. pcall(function()
  76. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
  77. end)
  78.  
  79. pcall(function()
  80. ChatService:Chat(Players.LocalPlayer.Character, finalMessage, Enum.ChatColor.White)
  81. end)
  82. end
  83.  
  84. local function playAnimationSequence(player)
  85. -- Ensure we don't trigger multiple times
  86. if isAnimationSequenceActive then return end
  87. isAnimationSequenceActive = true
  88.  
  89. local character = player.Character
  90. if not character then return end
  91.  
  92. local humanoid = character:FindFirstChildOfClass("Humanoid")
  93. if not humanoid then return end
  94.  
  95. -- Create animation instances
  96. local animations = {
  97. wideStrike = Instance.new("Animation"),
  98. overLuck = Instance.new("Animation")
  99. }
  100.  
  101. -- Set animation IDs
  102. animations.wideStrike.AnimationId = wideStrikeANIM.AnimationId
  103. animations.overLuck.AnimationId = overLuckANIM.AnimationId
  104.  
  105. -- Load animations
  106. local animTracks = {
  107. wideStrike = humanoid:LoadAnimation(animations.wideStrike),
  108. overLuck = humanoid:LoadAnimation(animations.overLuck)
  109. }
  110.  
  111. -- Stop any existing animations
  112. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  113. track:Stop()
  114. end
  115.  
  116. -- Play animation sequence
  117. task.spawn(function()
  118. animTracks.overLuck:Play()
  119. animTracks.overLuck.TimePosition = 1.5
  120. animTracks.overLuck:AdjustSpeed(1.4)
  121. task.wait(0.4)
  122. animTracks.overLuck:Stop()
  123. animTracks.wideStrike:Play()
  124. animTracks.wideStrike.TimePosition = 4.5
  125.  
  126. -- Send chat message when ultimate animation plays
  127. sendChatMessage({
  128. JP = "チチチチキチタチ!",
  129. EN = "Dribble Dribble"
  130. })
  131.  
  132. task.wait(2.4)
  133. animTracks.wideStrike:Stop()
  134.  
  135. -- Reset flag after sequence
  136. task.wait(PLAY_DURATION)
  137. isAnimationSequenceActive = false
  138.  
  139. -- Stop all animations
  140. for _, track in pairs(animTracks) do
  141. track:Stop()
  142. end
  143. end)
  144. end
  145.  
  146. -- Event handler for animation played
  147. local function onAnimationPlayed(animationTrack)
  148. -- Check if the animation matches Lapse Blue
  149. if animationTrack.Animation.AnimationId == cursedStrikesANIM.AnimationId then
  150. playAnimationSequence(Players.LocalPlayer)
  151. end
  152. end
  153.  
  154. -- Connect to local player's character
  155. local player = Players.LocalPlayer
  156. local character = player.Character or player.CharacterAdded:Wait()
  157. local humanoid = character:WaitForChild("Humanoid")
  158.  
  159. -- Connect animation played event
  160. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  161.  
  162. -- SKILL 2 --
  163.  
  164. local Players = game:GetService("Players")
  165. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  166.  
  167. -- Animation references
  168. local crushingBlowANIM = ReplicatedStorage.Animations.Itadori.CrushingBlow
  169. local wideStrikeANIM = ReplicatedStorage.Animations.Mahito.WideStrike
  170. local chosoMelee4ANIM = ReplicatedStorage.Animations.Choso.Melee.Melee4
  171.  
  172. -- Configurable parameters
  173. local SWAP_DELAY = 0.01 -- Delay before swapping animations (in seconds)
  174. local PLAY_DURATION = 1.2 -- Total duration of animation sequence
  175.  
  176. -- Prevent multiple triggers
  177. local isAnimationSequenceActive = false
  178.  
  179. local function playAnimationSequence(player)
  180. -- Ensure we don't trigger multiple times
  181. if isAnimationSequenceActive then return end
  182. isAnimationSequenceActive = true
  183.  
  184. local character = player.Character
  185. if not character then return end
  186.  
  187. local humanoid = character:FindFirstChildOfClass("Humanoid")
  188. if not humanoid then return end
  189.  
  190. -- Create animation instances
  191. local animations = {
  192. chosoMelee4 = Instance.new("Animation"),
  193. wideStrike = Instance.new("Animation")
  194. }
  195.  
  196. -- Set animation IDs
  197. animations.chosoMelee4.AnimationId = chosoMelee4ANIM.AnimationId
  198. animations.wideStrike.AnimationId = wideStrikeANIM.AnimationId
  199.  
  200. -- Load animations
  201. local animTracks = {
  202. chosoMelee4 = humanoid:LoadAnimation(animations.chosoMelee4),
  203. wideStrike = humanoid:LoadAnimation(animations.wideStrike)
  204. }
  205.  
  206. -- Stop any existing animations
  207. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  208. track:Stop()
  209. end
  210.  
  211. -- Play animation sequence
  212. task.spawn(function()
  213. animTracks.wideStrike:Play()
  214. animTracks.wideStrike.TimePosition = 0.5
  215. sendChatMessage({
  216. JP = "公平にプレイする必要はありません。",
  217. EN = "You don't have to play fair!"
  218. })
  219. task.wait(0.6)
  220. animTracks.wideStrike:Stop()
  221. animTracks.chosoMelee4:Play()
  222. animTracks.chosoMelee4:AdjustSpeed(0.7)
  223. task.wait(0.6)
  224. animTracks.chosoMelee4:Stop()
  225.  
  226. -- Reset flag after sequence
  227. task.wait(PLAY_DURATION)
  228. isAnimationSequenceActive = false
  229.  
  230. -- Stop all animations
  231. for _, track in pairs(animTracks) do
  232. track:Stop()
  233. end
  234. end)
  235. end
  236.  
  237. -- Event handler for animation played
  238. local function onAnimationPlayed(animationTrack)
  239. -- Check if the animation matches Cursed Strike
  240. if animationTrack.Animation.AnimationId == crushingBlowANIM.AnimationId then
  241. playAnimationSequence(Players.LocalPlayer)
  242. end
  243. end
  244.  
  245. -- Connect to local player's character
  246. local player = Players.LocalPlayer
  247. local character = player.Character or player.CharacterAdded:Wait()
  248. local humanoid = character:WaitForChild("Humanoid")
  249.  
  250. -- Connect animation played event
  251. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  252.  
  253. -- SKILL 3 --
  254.  
  255. -- Easing function for smooth acceleration
  256. local function EasingFunction(t, style, direction)
  257. local styles = {
  258. Linear = function(p) return p end,
  259. Cubic = function(p)
  260. if direction == "Out" then
  261. return 1 - math.pow(1 - p, 3)
  262. end
  263. return p * p * p
  264. end
  265. }
  266.  
  267. local easingFunc = styles[style] or styles["Linear"]
  268. return easingFunc(t)
  269. end
  270.  
  271. -- Function to apply boost
  272. local function ApplyBoost(character, direction, boostSpeed)
  273. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  274. local humanoid = character:FindFirstChild("Humanoid")
  275. local camera = workspace.CurrentCamera
  276.  
  277. if humanoidRootPart and humanoid then
  278. local isCurrentlyBoosting = true
  279. local startTime = tick()
  280.  
  281. local boostConnection
  282. boostConnection = game:GetService("RunService").Heartbeat:Connect(function()
  283. if not isCurrentlyBoosting then
  284. boostConnection:Disconnect()
  285. return
  286. end
  287.  
  288. local elapsed = tick() - startTime
  289. local progress = math.min(elapsed / CONFIG.BoostDuration, 1)
  290.  
  291. local easedProgress = EasingFunction(progress, "Cubic", "Out")
  292.  
  293. -- Apply boost in specified direction
  294. local boostForce = direction * (boostSpeed * easedProgress)
  295.  
  296. humanoidRootPart.Velocity = boostForce
  297.  
  298. if progress >= 1 then
  299. isCurrentlyBoosting = false
  300. boostConnection:Disconnect()
  301. humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  302. end
  303. end)
  304. end
  305. end
  306.  
  307.  
  308.  
  309. local Players = game:GetService("Players")
  310. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  311.  
  312. -- Animation references
  313. local divergentFistANIM = ReplicatedStorage.Animations.Itadori.Variants.DivergentFist1
  314. local mahitoUltANIM = ReplicatedStorage.Animations.Mahito.Ultimate2
  315. local cleaveFrANIM = ReplicatedStorage.Animations.Itadori.Cleave
  316.  
  317. -- Configurable parameters
  318. local SWAP_DELAY = 0.01 -- Delay before swapping animations (in seconds)
  319. local PLAY_DURATION = 0.7 -- Total duration of animation sequence
  320.  
  321. -- Prevent multiple triggers
  322. local isAnimationSequenceActive = false
  323.  
  324. local function playAnimationSequence(player)
  325. -- Ensure we don't trigger multiple times
  326. if isAnimationSequenceActive then return end
  327. isAnimationSequenceActive = true
  328.  
  329. local character = player.Character
  330. if not character then return end
  331.  
  332. local humanoid = character:FindFirstChildOfClass("Humanoid")
  333. if not humanoid then return end
  334.  
  335. -- Create animation instances
  336. local animations = {
  337. mahitoUlt = Instance.new("Animation"),
  338. cleaveFr = Instance.new("Animation")
  339. }
  340.  
  341. -- Set animation IDs
  342. animations.mahitoUlt.AnimationId = mahitoUltANIM.AnimationId
  343. animations.cleaveFr.AnimationId = cleaveFrANIM.AnimationId
  344.  
  345. -- Load animations
  346. local animTracks = {
  347. mahitoUlt = humanoid:LoadAnimation(animations.mahitoUlt),
  348. cleaveFr = humanoid:LoadAnimation(animations.cleaveFr)
  349. }
  350.  
  351. -- Stop any existing animations
  352. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  353. track:Stop()
  354. end
  355.  
  356. -- Play animation sequence
  357. task.spawn(function()
  358. -- Existing animations
  359. local character = player.Character
  360. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  361. local lookVector = humanoidRootPart.CFrame.LookVector
  362. local boostDirection = Vector3.new(lookVector.X, 0, lookVector.Z).Unit
  363.  
  364. animTracks.mahitoUlt:Play()
  365. animTracks.mahitoUlt:AdjustSpeed(1.4)
  366. ApplyBoost(character, boostDirection, CONFIG.FrontDashBoostSpeed)
  367. sendChatMessage({
  368. JP = "チキチータ..夢はありますか?",
  369. EN = "Chiquitita.. You have a dream?"
  370. })
  371. task.wait(0.32)
  372. animTracks.mahitoUlt:Stop()
  373.  
  374. animTracks.cleaveFr:Play()
  375. animTracks.cleaveFr.TimePosition = 0.27
  376. animTracks.cleaveFr:AdjustSpeed(1.12)
  377. task.wait(0.5)
  378. animTracks.cleaveFr:Stop()
  379.  
  380. -- Reset flag after sequence
  381. task.wait(PLAY_DURATION)
  382. isAnimationSequenceActive = false
  383.  
  384. -- Stop all animations
  385. for _, track in pairs(animTracks) do
  386. track:Stop()
  387. end
  388. end)
  389. end
  390.  
  391. -- Event handler for animation played
  392. local function onAnimationPlayed(animationTrack)
  393. -- Check if the animation matches Cursed Strike
  394. if animationTrack.Animation.AnimationId == divergentFistANIM.AnimationId then
  395. playAnimationSequence(Players.LocalPlayer)
  396. end
  397. end
  398.  
  399. -- Connect to local player's character
  400. local player = Players.LocalPlayer
  401. local character = player.Character or player.CharacterAdded:Wait()
  402. local humanoid = character:WaitForChild("Humanoid")
  403.  
  404. -- Connect animation played event
  405. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  406.  
  407. -- SKILL 4 --
  408.  
  409. local Players = game:GetService("Players")
  410. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  411.  
  412. -- Animation references
  413. local manjiKickANIM = ReplicatedStorage.Animations.Itadori.ManjiKick
  414. local hakariCounterANIM = ReplicatedStorage.Animations.Hakari.Counter
  415.  
  416. -- Configurable parameters
  417. local SWAP_DELAY = 0.01 -- Delay before swapping animations (in seconds)
  418. local PLAY_DURATION = 1.4 -- Total duration of animation sequence
  419.  
  420. -- Prevent multiple triggers
  421. local isAnimationSequenceActive = false
  422.  
  423. local function playAnimationSequence(player)
  424. -- Ensure we don't trigger multiple times
  425. if isAnimationSequenceActive then return end
  426. isAnimationSequenceActive = true
  427.  
  428. local character = player.Character
  429. if not character then return end
  430.  
  431. local humanoid = character:FindFirstChildOfClass("Humanoid")
  432. if not humanoid then return end
  433.  
  434. -- Create animation instances
  435. local animations = {
  436. hakariCounter = Instance.new("Animation")
  437. }
  438.  
  439. -- Set animation IDs
  440. animations.hakariCounter.AnimationId = hakariCounterANIM.AnimationId
  441.  
  442. -- Load animations
  443. local animTracks = {
  444. hakariCounter = humanoid:LoadAnimation(animations.hakariCounter)
  445. }
  446.  
  447. -- Stop any existing animations
  448. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  449. track:Stop()
  450. end
  451.  
  452. -- Play animation sequence
  453. task.spawn(function()
  454. local character = player.Character
  455. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  456. local rightVector = humanoidRootPart.CFrame.RightVector
  457. local boostDirection = Vector3.new(rightVector.X, 0, rightVector.Z).Unit
  458.  
  459. animTracks.hakariCounter:Play()
  460. ApplyBoost(character, boostDirection, CONFIG.SideDashBoostSpeed)
  461. sendChatMessage({
  462. JP = "チキチータ..",
  463. EN = "LEBROOOOOOON"
  464. })
  465. task.wait(1)
  466. animTracks.hakariCounter:Stop()
  467.  
  468. -- Reset flag after sequence
  469. task.wait(PLAY_DURATION)
  470. isAnimationSequenceActive = false
  471.  
  472. -- Stop all animations
  473. for _, track in pairs(animTracks) do
  474. track:Stop()
  475. end
  476. end)
  477. end
  478.  
  479. -- Event handler for animation played
  480. local function onAnimationPlayed(animationTrack)
  481. -- Check if the animation matches Cursed Strike
  482. if animationTrack.Animation.AnimationId == manjiKickANIM.AnimationId then
  483. playAnimationSequence(Players.LocalPlayer)
  484. end
  485. end
  486.  
  487. -- Connect to local player's character
  488. local player = Players.LocalPlayer
  489. local character = player.Character or player.CharacterAdded:Wait()
  490. local humanoid = character:WaitForChild("Humanoid")
  491.  
  492. -- Connect animation played event
  493. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement