Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "HEY",
- Text = "thanks for using my script! all animations only play in tsbg.",
- Icon = "rbxassetid://15114667107"
- })
- local player = game.Players.LocalPlayer
- local backpack = player:WaitForChild("Backpack")
- -- Function to clear all items from the Backpack
- local function clearBackpack()
- for _, item in pairs(backpack:GetChildren()) do
- item:Destroy()
- end
- end
- clearBackpack()
- local tool = Instance.new("Tool")
- tool.Name = "First Key"
- tool.RequiresHandle = false -- No need for a handle
- tool.CanBeDropped = false
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://16719183472"
- local animTrack = humanoid:LoadAnimation(animation)
- animTrack:Play()
- end)
- local tool = Instance.new("Tool")
- tool.Name = " Second Key"
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://16719226293"
- local animTrack = humanoid:LoadAnimation(animation)
- animTrack:Play()
- end)
- local tool = Instance.new("Tool")
- tool.Name = "Third Key"
- tool.RequiresHandle = false -- No need for a handle
- tool.CanBeDropped = false
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://16725337143"
- local animTrack = humanoid:LoadAnimation(animation)
- animTrack:Play()
- end)
- local tool = Instance.new("Tool")
- tool.Name = "Fourth Key"
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://16719220174"
- local animTrack = humanoid:LoadAnimation(animation)
- animTrack:Play()
- end)
- local tool = Instance.new("Tool")
- tool.Name = "Fifth Key"
- tool.RequiresHandle = false -- No need for a handle
- tool.CanBeDropped = false
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://16725350277"
- -- Play the animation
- local animTrack = humanoid:LoadAnimation(animation)
- animTrack:Play()
- end)
- -- Create the animation tool
- local tool = Instance.new("Tool")
- tool.Name = "Sixth Key"
- tool.RequiresHandle = false -- No need for a handle
- tool.CanBeDropped = false
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://16725167915"
- local animTrack = humanoid:LoadAnimation(animation)
- animTrack:Play()
- end)
- local tool = Instance.new("Tool")
- tool.Name = "Seventh Key"
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://16719205513"
- local animTrack = humanoid:LoadAnimation(animation)
- animTrack:Play()
- end)
- local tool = Instance.new("Tool")
- tool.Name = "Eighth Key"
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://16719107050"
- local animTrack = humanoid:LoadAnimation(animation)
- animTrack:Play()
- end)
- local tool = Instance.new("Tool")
- tool.Name = "Ninth Key"
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://16719149848"
- local animTrack = humanoid:LoadAnimation(animation)
- animTrack:Play()
- end)
- local tool = Instance.new("Tool")
- tool.Name = "Tenth Key"
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://16725121777"
- local animTrack = humanoid:LoadAnimation(animation)
- animTrack:Play()
- end)
Advertisement
Advertisement