Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. local Parent = nil
  2. repeat
  3. wait()
  4. if game:GetService("Players").LocalPlayer.PlayerGui then Parent = game:GetService("Players").LocalPlayer.PlayerGui elseif game:GetService("CoreGui") then Parent = game.CoreGui else game:GetService("Players").LocalPlayer:Kick("lol wut") end
  5. until Parent ~= nil
  6.  
  7. local PXConsole = Instance.new("ScreenGui")
  8. local Main = Instance.new("Frame")
  9. local Line1 = Instance.new("Frame")
  10. local Line2 = Instance.new("Frame")
  11. local TextLabel = Instance.new("TextLabel")
  12. --Properties:
  13. PXConsole.Name = "PXConsole"
  14. PXConsole.Parent = Parent
  15. PXConsole.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. Main.Name = "Main"
  18. Main.Parent = PXConsole
  19. Main.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  20. Main.BorderSizePixel = 0
  21. Main.Position = UDim2.new(0, 0, 1, 0)
  22. Main.Size = UDim2.new(0, 1680, 0, 30)
  23.  
  24. Line1.Name = "Line1"
  25. Line1.Parent = Main
  26. Line1.BackgroundColor3 = Color3.new(0, 1, 0)
  27. Line1.BorderSizePixel = 0
  28. Line1.Position = UDim2.new(0, 0, 1, 0)
  29. Line1.Size = UDim2.new(0, 1680, 0, 3)
  30.  
  31. Line2.Name = "Line2"
  32. Line2.Parent = Main
  33. Line2.BackgroundColor3 = Color3.new(0, 1, 0)
  34. Line2.BorderSizePixel = 0
  35. Line2.Position = UDim2.new(0, 0, -0.100000024, 0)
  36. Line2.Size = UDim2.new(0, 1680, 0, 3)
  37.  
  38. TextLabel.Parent = Main
  39. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  40. TextLabel.BackgroundTransparency = 1
  41. TextLabel.Size = UDim2.new(0, 1680, 0, 30)
  42. TextLabel.Font = Enum.Font.Cartoon
  43. TextLabel.Text = ""
  44. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  45. TextLabel.TextScaled = true
  46. TextLabel.TextSize = 14
  47. TextLabel.TextWrapped = true
  48. -- Scripts:
  49. function SCRIPT_TNMX85_FAKESCRIPT() -- Line1.Script
  50. local script = Instance.new('Script')
  51. script.Parent = Line1
  52. repeat
  53. wait()
  54. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  55. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  56. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  57. local color = Color3.new(r, g, b)
  58. script.Parent.BackgroundColor3 = color
  59. until game.Workspace == nil
  60.  
  61. end
  62. coroutine.resume(coroutine.create(SCRIPT_TNMX85_FAKESCRIPT))
  63. function SCRIPT_SYGT76_FAKESCRIPT() -- Line2.Script
  64. local script = Instance.new('Script')
  65. script.Parent = Line2
  66. repeat
  67. wait()
  68. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  69. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  70. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  71. local color = Color3.new(r, g, b)
  72. script.Parent.BackgroundColor3 = color
  73. until game.Workspace == nil
  74.  
  75. end
  76. coroutine.resume(coroutine.create(SCRIPT_SYGT76_FAKESCRIPT))
  77. local function ConsoleLog(text)
  78. Main:TweenPosition(UDim2.new(0, 0,0.962, 0), 'Out', 'Bounce', 1, true)
  79. local length = string.len(text)
  80. local Actualtxt = {
  81. text
  82. }
  83. for i = 1, length do
  84. wait(0.1)
  85. TextLabel.Text = string.sub(text, 1, i)
  86. end
  87. wait(1)
  88. Main:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Bounce', 1, true)
  89. TextLabel.Text = ""
  90. wait(0.6)
  91. end
  92.  
  93. ConsoleLog("This is all a test")
  94. ConsoleLog("Testing for longer strings and how long it takes to do them to check if I need to increase the speed")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement