ScriptCrew

Status

Mar 24th, 2018
559
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.78 KB | None | 0 0
  1. -- Farewell infortality
  2. -- Revamp by ImFrostic, Version 2.8
  3.  
  4.  -- Objects
  5.  
  6. local Bank = Instance.new("ScreenGui")
  7. local TextLabel = Instance.new("TextLabel")
  8. local TextLabel_2 = Instance.new("TextLabel")
  9. local TextLabel_3 = Instance.new("TextLabel")
  10. local Red = Instance.new("TextLabel")
  11. local Green = Instance.new("TextLabel")
  12.  
  13. -- Properties
  14.  
  15. Bank.Name = "Bank"
  16. Bank.Parent = game.CoreGui
  17.  
  18. TextLabel.Parent = Bank
  19. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  20. TextLabel.BackgroundTransparency = 1
  21. TextLabel.Position = UDim2.new(0, 0, 0.0250783693, 0)
  22. TextLabel.Size = UDim2.new(0, 215, 0, 33)
  23. TextLabel.Font = Enum.Font.SourceSans
  24. TextLabel.Text = "Bank: Closed"
  25. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  26. TextLabel.TextSize = 17
  27.  
  28. TextLabel_2.Parent = Bank
  29. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  30. TextLabel_2.BackgroundTransparency = 1
  31. TextLabel_2.Position = UDim2.new(0, 0, 0.076802507, 0)
  32. TextLabel_2.Size = UDim2.new(0, 215, 0, 33)
  33. TextLabel_2.Font = Enum.Font.SourceSans
  34. TextLabel_2.Text = "Jew: Closed"
  35. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  36. TextLabel_2.TextSize = 17
  37.  
  38. TextLabel_3.Parent = Bank
  39. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  40. TextLabel_3.BackgroundTransparency = 1
  41. TextLabel_3.Position = UDim2.new(0, 0, 0.128526643, 0)
  42. TextLabel_3.Size = UDim2.new(0, 215, 0, 33)
  43. TextLabel_3.Font = Enum.Font.SourceSans
  44. TextLabel_3.Text = "Train: Closed"
  45. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  46. TextLabel_3.TextSize = 17
  47.  
  48. Red.Name = "Red"
  49. Red.Parent = TextLabel
  50. Red.BackgroundColor3 = Color3.new(1, 0, 0)
  51. Red.Size = UDim2.new(0, 100, 0, 100)
  52. Red.Visible = false
  53.  
  54. Green.Name = "Green"
  55. Green.Parent = TextLabel
  56. Green.BackgroundColor3 = Color3.new(0, 1, 0)
  57. Green.Size = UDim2.new(0, 100, 0, 100)
  58. Green.Visible = false
  59. -- Scripts
  60. while wait() do
  61.    
  62.     game:GetService("Workspace").Banks:GetChildren()[1].Name="Bank"
  63. game:GetService("Workspace").Jewelrys:GetChildren()[1].Name="Jewelry"
  64.  
  65.     if workspace.Jewelrys.Jewelry.Extra:WaitForChild("Light").SurfaceLight.Enabled == true then
  66.         TextLabel_2.Text = "Jewerly: Open"
  67.                         TextLabel_2.TextColor3 = Green.BackgroundColor3
  68.  
  69.     else
  70.                 TextLabel_2.Text = "Jewerly: Closed"
  71.                                                 TextLabel_2.TextColor3 = Red.BackgroundColor3
  72.  
  73.  
  74.     end
  75.     if workspace.Banks.Bank.Extra:WaitForChild("Light").SurfaceLight.Enabled == true then
  76.                 TextLabel.Text = "Bank: Open"
  77.                 TextLabel.TextColor3 = Green.BackgroundColor3
  78.     else
  79.                 TextLabel.Text = "Bank: Closed"
  80.                                 TextLabel.TextColor3 = Red.BackgroundColor3
  81.  
  82.     end
  83.     if workspace.Trains:FindFirstChild("BoxCar") then
  84.                                                         TextLabel_3.TextColor3 = Green.BackgroundColor3
  85.  
  86.         TextLabel_3.Text = "Train: Driving"
  87.     else
  88.                 TextLabel_3.Text = "Train: Not Driving"
  89.                                                 TextLabel_3.TextColor3 = Red.BackgroundColor3
  90.  
  91.  
  92.     end
  93. end
Advertisement
Add Comment
Please, Sign In to add comment