Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----This script is created by Joriangames
- ----Youtube channel: Problox Studio Scripts
- ----If you want to know how to use this watch my tutorial: https://www.youtube.com/watch?v=uTJqaAJgrlo&lc=Ugx9ulise_wxHjAdv3h4AaABAg
- local RandomText = {
- "oof", "Why did you do that", "Better luck next time", "Babadaba"
- }
- local plr = game.Players.LocalPlayer or game.Players.PlayerAdded:Wait()
- local char = plr.Character or plr.Character:Wait()
- local hum = char:WaitForChild("Humanoid")
- local fr = script.Parent.Frame
- local YouDied = fr.YouDied
- hum.Died:Connect(function()
- YouDied.Text = RandomText[math.random(1,#RandomText)]
- for i = 1,0.3,-0.1 do
- fr.BackgroundTransparency = i
- YouDied.TextTransparency = i
- wait(0.07)
- end
- end)
Add Comment
Please, Sign In to add comment