Advertisement
Its_YeBoi

Enjoi <3 Drive Script Gui

Apr 8th, 2017
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. --Made By Huehie
  2. local GuiService = Instance.new("ScreenGui")
  3. local Menu = Instance.new("TextButton")
  4. local Chat = Instance.new("Frame")
  5. local MenuBG = Instance.new("ImageLabel")
  6. local Close = Instance.new("TextButton")
  7. local AddMoney = Instance.new("TextButton")
  8.  
  9. -- Properties
  10.  
  11. GuiService.Name = "Gui Service"
  12. GuiService.Parent = game.CoreGui
  13.  
  14. Menu.Name = "Menu"
  15. Menu.Parent = GuiService
  16. Menu.BackgroundColor3 = Color3.new(139, 0, 0)
  17. Menu.BackgroundTransparency = 0.4
  18. Menu.BorderSizePixel = 0
  19. Menu.Position = UDim2.new(0, 323, 0, 0)
  20. Menu.Size = UDim2.new(0, 60, 0, 20)
  21. Menu.Font = Enum.Font.SourceSansLight
  22. Menu.FontSize = Enum.FontSize.Size18
  23. Menu.Text = "Menu"
  24. Menu.TextColor3 = Color3.new(1, 1, 1)
  25. Open = false
  26.  
  27. Chat.Name = "Chat"
  28. Chat.Parent = GuiService
  29. Chat.Active = true
  30. Chat.BackgroundColor3 = Color3.new(1, 1, 1)
  31. Chat.BackgroundTransparency = 1
  32. Chat.Draggable = true
  33. Chat.Position = UDim2.new(0.28, 000, 0.55, 1000)
  34. Chat.Selectable = true
  35. Chat.Size = UDim2.new(0, 537, 0, 56)
  36. Chat.Visible = false
  37.  
  38. MenuBG.Name = "MenuBG"
  39. MenuBG.Parent = Chat
  40. MenuBG.BackgroundColor3 = Color3.new(1, 1, 1)
  41. MenuBG.BackgroundTransparency = 1
  42. MenuBG.Size = UDim2.new(0, 593, 0, 361)
  43. MenuBG.Image = "rbxassetid://121901318"
  44. MenuBG.ImageTransparency = 0.10000000149012
  45.  
  46. Close.Name = "Close"
  47. Close.Parent = Chat
  48. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  49. Close.BackgroundTransparency = 1
  50. Close.Position = UDim2.new(0, 540, 0, 40)
  51. Close.Size = UDim2.new(0, 40, 0, 28)
  52. Close.Font = Enum.Font.SourceSans
  53. Close.FontSize = Enum.FontSize.Size14
  54. Close.TextTransparency = 1
  55. Close.MouseButton1Down:connect(function(open)
  56. Chat:TweenPosition(UDim2.new(0.28, 0, 1.0, 1000), "In", "Sine",1,true)
  57. Open = false
  58. end)
  59.  
  60. Menu.MouseButton1Down:connect(function(open)
  61. if Open == false then
  62. Chat.Visible = true
  63. Chat:TweenPosition(UDim2.new(0.28, 0, 0.55, -250), "Out", "Back",1.5,true)
  64. Open = true
  65. elseif Open == true then
  66. Chat:TweenPosition(UDim2.new(0.28, 0, 1.0, 1000), "In", "Sine",1,true)
  67. Open = false
  68. end
  69. end)
  70.  
  71. AddMoney.Name = "Add Money"
  72. AddMoney.Parent = Chat
  73. AddMoney.BackgroundColor3 = Color3.new(139, 0, 0)
  74. AddMoney.BackgroundTransparency = 0.4
  75. AddMoney.BorderSizePixel = 0
  76. AddMoney.Position = UDim2.new(0, 225, 0, 125)
  77. AddMoney.Size = UDim2.new(0, 150, 0, 125)
  78. AddMoney.Font = Enum.Font.SourceSansLight
  79. AddMoney.FontSize = Enum.FontSize.Size14
  80. AddMoney.Text = "Add $2500 (go to Airport)"
  81. AddMoney.TextColor3 = Color3.new(1, 1, 1)
  82. AddMoney.TextStrokeColor3 = Color3.new(1, 1, 1)
  83. AddMoney.MouseButton1Down:connect(function(open)
  84. while wait() do
  85. game.ReplicatedStorage.serverRF:InvokeServer("Delivery")
  86. wait(0.1)
  87. game.Workspace.Delivery.Main.Click:FireServer()
  88. end
  89. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement