Advertisement
TheClassicMeme

i d k

May 22nd, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. local runDummyScript = function(f,scri)
  2. local oldenv = getfenv(f)
  3. local newenv = setmetatable({}, {
  4. __index = function(_, k)
  5. if k:lower() == 'script' then
  6. return scri
  7. else
  8. return oldenv[k]
  9. end
  10. end
  11. })
  12. setfenv(f, newenv)
  13. ypcall(function() f() end)
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. mas.Name = "CompiledModel"
  18. o1 = Instance.new("ScreenGui")
  19. o2 = Instance.new("TextBox")
  20. o3 = Instance.new("Script")
  21. o4 = Instance.new("TextBox")
  22. o1.Name = "Changing_GUI"
  23. o1.Parent = mas
  24. o2.Parent = o1
  25. o2.Position = UDim2.new(0.80000001192093,0,0,20)
  26. o2.Size = UDim2.new(0.20000000298023,0,0,25)
  27. o2.Text = ""
  28. o2.Position = UDim2.new(0.80000001192093,0,0,20)
  29. o2.BackgroundColor3 = Color3.new(0, 0, 0)
  30. o2.BackgroundTransparency = 1
  31. o2.BorderColor3 = Color3.new(1, 1, 1)
  32. o2.BorderSizePixel = 0
  33. o2.Font = Enum.Font.Code
  34. o2.FontSize = Enum.FontSize.Size42
  35. o2.TextColor3 = Color3.new(0.866667, 0.866667, 0.866667)
  36. o2.TextXAlignment = Enum.TextXAlignment.Right
  37. o3.Parent = o2
  38. table.insert(cors,coroutine.create(function()
  39. wait()
  40. runDummyScript(function()
  41. while true do
  42.  
  43. script.Parent.Text = "12 AM"
  44. wait(86)
  45.  
  46. script.Parent.Text = "1 AM"
  47. wait(86)
  48.  
  49. script.Parent.Text = "2 AM"
  50. wait(86)
  51.  
  52. script.Parent.Text = "3 AM"
  53. wait(86)
  54.  
  55. script.Parent.Text = "4 AM"
  56. wait(86)
  57.  
  58. script.Parent.Text = "5 AM"
  59. wait(86)
  60.  
  61. script.Parent.Text = "6 AM"
  62. wait(0)
  63.  
  64. end
  65. end,o3)
  66. end))
  67. o4.Parent = o1
  68. o4.Position = UDim2.new(0.80000001192093,0,0.050000000745058,20)
  69. o4.Size = UDim2.new(0.20000000298023,0,0,25)
  70. o4.Text = "Night XXX"
  71. o4.Position = UDim2.new(0.80000001192093,0,0.050000000745058,20)
  72. o4.BackgroundColor3 = Color3.new(0, 0, 0)
  73. o4.BackgroundTransparency = 1
  74. o4.BorderColor3 = Color3.new(1, 1, 1)
  75. o4.BorderSizePixel = 0
  76. o4.Font = Enum.Font.Code
  77. o4.FontSize = Enum.FontSize.Size18
  78. o4.TextColor3 = Color3.new(0.866667, 0.866667, 0.866667)
  79. o4.TextWrapped = true
  80. o4.TextXAlignment = Enum.TextXAlignment.Right
  81. mas.Parent = workspace
  82. mas:MakeJoints()
  83. local mas1 = mas:GetChildren()
  84. for i=1,#mas1 do
  85. mas1[i].Parent = game:GetService("Players").LocalPlayer.PlayerGui
  86. ypcall(function() mas1[i]:MakeJoints() end)
  87. end
  88. mas:Destroy()
  89. for i=1,#cors do
  90. coroutine.resume(cors[i])
  91. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement