Advertisement
lllkkklkk

tsb key animations

Aug 25th, 2024
403
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification",{
  2. Title = "HEY",
  3. Text = "thanks for using my script! all animations only play in tsbg.",
  4. Icon = "rbxassetid://15114667107"
  5. })
  6.  
  7. local player = game.Players.LocalPlayer
  8. local backpack = player:WaitForChild("Backpack")
  9.  
  10. -- Function to clear all items from the Backpack
  11. local function clearBackpack()
  12. for _, item in pairs(backpack:GetChildren()) do
  13. item:Destroy()
  14. end
  15. end
  16.  
  17.  
  18. clearBackpack()
  19.  
  20.  
  21.  
  22.  
  23.  
  24. local tool = Instance.new("Tool")
  25. tool.Name = "First Key"
  26. tool.RequiresHandle = false -- No need for a handle
  27. tool.CanBeDropped = false
  28.  
  29.  
  30. tool.Parent = backpack
  31.  
  32.  
  33. tool.Activated:Connect(function()
  34. local character = player.Character or player.CharacterAdded:Wait()
  35. local humanoid = character:WaitForChild("Humanoid")
  36.  
  37.  
  38. local animation = Instance.new("Animation")
  39. animation.AnimationId = "rbxassetid://16719183472"
  40.  
  41.  
  42. local animTrack = humanoid:LoadAnimation(animation)
  43. animTrack:Play()
  44. end)
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59. local tool = Instance.new("Tool")
  60. tool.Name = " Second Key"
  61. tool.RequiresHandle = false
  62. tool.CanBeDropped = false
  63.  
  64.  
  65. tool.Parent = backpack
  66.  
  67.  
  68. tool.Activated:Connect(function()
  69. local character = player.Character or player.CharacterAdded:Wait()
  70. local humanoid = character:WaitForChild("Humanoid")
  71.  
  72.  
  73. local animation = Instance.new("Animation")
  74. animation.AnimationId = "rbxassetid://16719226293"
  75.  
  76.  
  77. local animTrack = humanoid:LoadAnimation(animation)
  78. animTrack:Play()
  79. end)
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90. local tool = Instance.new("Tool")
  91. tool.Name = "Third Key"
  92. tool.RequiresHandle = false -- No need for a handle
  93. tool.CanBeDropped = false
  94.  
  95.  
  96. tool.Parent = backpack
  97.  
  98.  
  99. tool.Activated:Connect(function()
  100. local character = player.Character or player.CharacterAdded:Wait()
  101. local humanoid = character:WaitForChild("Humanoid")
  102.  
  103.  
  104. local animation = Instance.new("Animation")
  105. animation.AnimationId = "rbxassetid://16725337143"
  106.  
  107.  
  108. local animTrack = humanoid:LoadAnimation(animation)
  109. animTrack:Play()
  110. end)
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117. local tool = Instance.new("Tool")
  118. tool.Name = "Fourth Key"
  119. tool.RequiresHandle = false
  120. tool.CanBeDropped = false
  121.  
  122.  
  123. tool.Parent = backpack
  124.  
  125.  
  126. tool.Activated:Connect(function()
  127. local character = player.Character or player.CharacterAdded:Wait()
  128. local humanoid = character:WaitForChild("Humanoid")
  129.  
  130.  
  131. local animation = Instance.new("Animation")
  132. animation.AnimationId = "rbxassetid://16719220174"
  133.  
  134.  
  135. local animTrack = humanoid:LoadAnimation(animation)
  136. animTrack:Play()
  137. end)
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144. local tool = Instance.new("Tool")
  145. tool.Name = "Fifth Key"
  146. tool.RequiresHandle = false -- No need for a handle
  147. tool.CanBeDropped = false
  148.  
  149.  
  150. tool.Parent = backpack
  151.  
  152.  
  153. tool.Activated:Connect(function()
  154. local character = player.Character or player.CharacterAdded:Wait()
  155. local humanoid = character:WaitForChild("Humanoid")
  156.  
  157.  
  158. local animation = Instance.new("Animation")
  159. animation.AnimationId = "rbxassetid://16725350277"
  160.  
  161. -- Play the animation
  162. local animTrack = humanoid:LoadAnimation(animation)
  163. animTrack:Play()
  164. end)
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172. -- Create the animation tool
  173. local tool = Instance.new("Tool")
  174. tool.Name = "Sixth Key"
  175. tool.RequiresHandle = false -- No need for a handle
  176. tool.CanBeDropped = false
  177.  
  178. tool.Parent = backpack
  179.  
  180.  
  181. tool.Activated:Connect(function()
  182. local character = player.Character or player.CharacterAdded:Wait()
  183. local humanoid = character:WaitForChild("Humanoid")
  184.  
  185.  
  186. local animation = Instance.new("Animation")
  187. animation.AnimationId = "rbxassetid://16725167915"
  188.  
  189.  
  190. local animTrack = humanoid:LoadAnimation(animation)
  191. animTrack:Play()
  192. end)
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. local tool = Instance.new("Tool")
  203. tool.Name = "Seventh Key"
  204. tool.RequiresHandle = false
  205. tool.CanBeDropped = false
  206.  
  207.  
  208. tool.Parent = backpack
  209.  
  210.  
  211. tool.Activated:Connect(function()
  212. local character = player.Character or player.CharacterAdded:Wait()
  213. local humanoid = character:WaitForChild("Humanoid")
  214.  
  215.  
  216. local animation = Instance.new("Animation")
  217. animation.AnimationId = "rbxassetid://16719205513"
  218.  
  219. local animTrack = humanoid:LoadAnimation(animation)
  220. animTrack:Play()
  221. end)
  222.  
  223.  
  224.  
  225.  
  226.  
  227. local tool = Instance.new("Tool")
  228. tool.Name = "Eighth Key"
  229. tool.RequiresHandle = false
  230. tool.CanBeDropped = false
  231.  
  232.  
  233. tool.Parent = backpack
  234.  
  235.  
  236. tool.Activated:Connect(function()
  237. local character = player.Character or player.CharacterAdded:Wait()
  238. local humanoid = character:WaitForChild("Humanoid")
  239.  
  240.  
  241. local animation = Instance.new("Animation")
  242. animation.AnimationId = "rbxassetid://16719107050"
  243.  
  244.  
  245. local animTrack = humanoid:LoadAnimation(animation)
  246. animTrack:Play()
  247. end)
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256. local tool = Instance.new("Tool")
  257. tool.Name = "Ninth Key"
  258. tool.RequiresHandle = false
  259. tool.CanBeDropped = false
  260.  
  261.  
  262. tool.Parent = backpack
  263.  
  264.  
  265. tool.Activated:Connect(function()
  266. local character = player.Character or player.CharacterAdded:Wait()
  267. local humanoid = character:WaitForChild("Humanoid")
  268.  
  269.  
  270. local animation = Instance.new("Animation")
  271. animation.AnimationId = "rbxassetid://16719149848"
  272.  
  273. local animTrack = humanoid:LoadAnimation(animation)
  274. animTrack:Play()
  275. end)
  276.  
  277.  
  278.  
  279.  
  280.  
  281. local tool = Instance.new("Tool")
  282. tool.Name = "Tenth Key"
  283. tool.RequiresHandle = false
  284. tool.CanBeDropped = false
  285.  
  286.  
  287. tool.Parent = backpack
  288.  
  289. tool.Activated:Connect(function()
  290. local character = player.Character or player.CharacterAdded:Wait()
  291. local humanoid = character:WaitForChild("Humanoid")
  292.  
  293.  
  294. local animation = Instance.new("Animation")
  295. animation.AnimationId = "rbxassetid://16725121777"
  296.  
  297.  
  298. local animTrack = humanoid:LoadAnimation(animation)
  299. animTrack:Play()
  300. end)
  301.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement