Advertisement
Animescapetower

Countdown gui

Mar 24th, 2018
1,449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1.  
  2. --okay
  3.  
  4.  
  5. NumberValue0 = Instance.new("NumberValue")
  6. NumberValue0.Name = "Countdowntimer"
  7. NumberValue0.Parent = workspace
  8. NumberValue0.Value = 90
  9.  
  10. ScreenGui0 = Instance.new("ScreenGui")
  11. TextLabel1 = Instance.new("TextLabel")
  12. Frame2 = Instance.new("Frame")
  13. Script3 = Instance.new("Script")
  14. ScreenGui0.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  15. TextLabel1.Parent = ScreenGui0
  16. TextLabel1.Size = UDim2.new(0, 200, 0, 50)
  17. TextLabel1.Text = "200"
  18. TextLabel1.Position = UDim2.new(0, 830, 0, 0)
  19. TextLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
  20. TextLabel1.BorderSizePixel = 0
  21. TextLabel1.Font = Enum.Font.Arcade
  22. TextLabel1.FontSize = Enum.FontSize.Size14
  23. TextLabel1.TextColor3 = Color3.new(0.619608, 0.901961, 1)
  24. TextLabel1.TextScaled = true
  25. TextLabel1.TextStrokeColor3 = Color3.new(0.333333, 1, 1)
  26. TextLabel1.TextStrokeTransparency = 0
  27. TextLabel1.TextWrapped = true
  28. Frame2.Parent = TextLabel1
  29. Frame2.Transparency = 0.40000000596046
  30. Frame2.Size = UDim2.new(0, 20, 0, 50)
  31. Frame2.BackgroundColor3 = Color3.new(0.647059, 0.647059, 0.647059)
  32. Frame2.BackgroundTransparency = 0.40000000596046
  33. Frame2.BorderSizePixel = 0
  34. Script3.Parent = TextLabel1
  35.  
  36. countdown = NumberValue0.Value
  37. script.Parent.Text = countdown
  38. for n = 1,countdown do
  39. wait(0.4)
  40. TextLabel1.Text = countdown
  41. countdown = countdown - 1
  42. TextLabel1.Size = script.Parent.Size - UDim2.new(0,1,0)
  43. Frame2.Size = script.Parent.Frame.Size + UDim2.new(0,1,0)
  44.  
  45. end
  46.  
  47. for o = 1,100 do
  48. wait()
  49. TextLabel1.TextStrokeTransparency = script.Parent.TextStrokeTransparency + 0.01
  50. TextLabel1.TextTransparency = script.Parent.TextTransparency + 0.01
  51. TextLabel1.BackgroundTransparency = script.Parent.BackgroundTransparency + 0.01
  52. Frame2.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency + 0.01
  53. TextLabel1.Size = script.Parent.Size + UDim2.new(0,1,0)
  54. Frame2.Size = script.Parent.Frame.Size - UDim2.new(0,1,0)
  55. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement