Advertisement
T0ster156

roblox fast animation script

Aug 24th, 2022 (edited)
4,482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.05 KB | Gaming | 0 0
  1. print("made by T0ster156 on roblox.com")
  2.  
  3. local plr = game:GetService("Players").LocalPlayer
  4.  
  5. script.Parent = plr
  6.  
  7. if plr.Character then
  8.     local char = plr.Character
  9.     if char:FindFirstChildOfClass("Humanoid") then
  10.         local hum = char:FindFirstChildOfClass("Humanoid")
  11.         repeat
  12.         local tracks = hum:GetPlayingAnimationTracks()
  13.         if tracks then
  14.             for i,v in pairs(tracks) do
  15.                 v:AdjustSpeed(10)
  16.                 task.wait(0.01)
  17.             end
  18.         end
  19.         task.wait(0.1)
  20.         until hum.Health < 1    
  21.     end
  22. end
  23.  
  24. plr.CharacterAppearanceLoaded:Connect(function(char)
  25.     if char:FindFirstChildOfClass("Humanoid") then
  26.         local hum = char:FindFirstChildOfClass("Humanoid")
  27.         repeat
  28.         local tracks = hum:GetPlayingAnimationTracks()
  29.         if tracks then
  30.             for i,v in pairs(tracks) do
  31.                 v:AdjustSpeed(10)
  32.                 task.wait(0.01)
  33.             end
  34.         end
  35.         task.wait(0.1)
  36.         until hum.Health < 1    
  37.     end
  38. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement