Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Thanks for using this script
- This script is made by Joriangames/BloxianCode
- Want to know script explanation?
- Check the video here: https://youtu.be/Ji8_SmfGssg
- ]]
- local plr = game.Players.LocalPlayer
- local StreakLabel = script.Parent.StreakLabel
- local streak = plr:WaitForChild("leaderstats"):WaitForChild("Streak")
- streak.Changed:Connect(function()
- if streak.Value == 1 then
- StreakLabel.Text = "Well done, you got your first kill!"
- StreakLabel.Visible = true
- StreakLabel:TweenSize(UDim2.new(0,370,0,33),Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5, true)
- wait(3)
- StreakLabel:TweenSize(UDim2.new(0,205,0,33),Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5, true)
- wait(0.3)
- StreakLabel.Visible = false
- elseif streak.Value == 2 then
- StreakLabel.Text = "You're improving, this is your second kill!"
- StreakLabel.Visible = true
- StreakLabel:TweenSize(UDim2.new(0,370,0,33),Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5, true)
- wait(3)
- StreakLabel:TweenSize(UDim2.new(0,205,0,33),Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5, true)
- wait(0.3)
- StreakLabel.Visible = false
- elseif streak.Value == 3 then
- StreakLabel.Text = "Tripple kill!"
- StreakLabel.Visible = true
- StreakLabel:TweenSize(UDim2.new(0,370,0,33),Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5, true)
- wait(3)
- StreakLabel:TweenSize(UDim2.new(0,205,0,33),Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5, true)
- wait(.3)
- StreakLabel.Visible = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement