halfdan_dk

Hospital Roleplay GUI

Jan 31st, 2022 (edited)
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.98 KB | None | 0 0
  1. local dontlookatthisyoufatty = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local Credits = Instance.new("TextLabel")
  4. local Credits2 = Instance.new("TextLabel")
  5. local idTextBox = Instance.new("TextBox")
  6. local giveButton = Instance.new("TextButton")
  7.  
  8. dontlookatthisyoufatty.Name = "dontlookatthisyoufatty"
  9. dontlookatthisyoufatty.Parent = game.CoreGui
  10. dontlookatthisyoufatty.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. Main.Name = "Main"
  13. Main.Parent = dontlookatthisyoufatty
  14. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  15. Main.BackgroundTransparency = 0.30000001192093
  16. Main.BorderSizePixel = 0
  17. Main.Position = UDim2.new(0.288437128, 0, 0.272925705, 0)
  18. Main.Size = UDim2.new(0, 300, 0, 175)
  19. Main.Active = true
  20. Main.Draggable = true
  21.  
  22. Credits.Name = "Credits"
  23. Credits.Parent = Main
  24. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  25. Credits.BackgroundTransparency = 1
  26. Credits.Size = UDim2.new(0, 300, 0, 50)
  27. Credits.Font = Enum.Font.SourceSans
  28. Credits.Text = "Hospital  Roleplay Gear Giver"
  29. Credits.TextColor3 = Color3.new(1, 0.666667, 0)
  30. Credits.TextScaled = true
  31. Credits.TextSize = 14
  32. Credits.TextWrapped = true
  33.  
  34. Credits2.Name = "Credits2"
  35. Credits2.Parent = Credits
  36. Credits2.BackgroundColor3 = Color3.new(1, 1, 1)
  37. Credits2.BackgroundTransparency = 1
  38. Credits2.Position = UDim2.new(0, 0, 0.879999995, 0)
  39. Credits2.Size = UDim2.new(0, 300, 0, 17)
  40. Credits2.Font = Enum.Font.SourceSans
  41. Credits2.Text = "Made By Lego Boris and LemonHead"
  42. Credits2.TextColor3 = Color3.new(1, 0.666667, 0)
  43. Credits2.TextScaled = true
  44. Credits2.TextSize = 14
  45. Credits2.TextWrapped = true
  46.  
  47. idTextBox.Name = "idTextBox"
  48. idTextBox.Parent = Main
  49. idTextBox.BackgroundColor3 = Color3.new(0.6, 0.6, 0.6)
  50. idTextBox.BackgroundTransparency = 0.15000000596046
  51. idTextBox.Position = UDim2.new(0.166666672, 0, 0.497142851, 0)
  52. idTextBox.Size = UDim2.new(0, 200, 0, 30)
  53. idTextBox.Font = Enum.Font.SourceSans
  54. idTextBox.Text = "The Item ID"
  55. idTextBox.TextColor3 = Color3.new(1, 1, 1)
  56. idTextBox.TextScaled = true
  57. idTextBox.TextSize = 14
  58. idTextBox.TextWrapped = true
  59.  
  60. giveButton.Name = "giveButton"
  61. giveButton.Parent = Main
  62. giveButton.BackgroundColor3 = Color3.new(1, 1, 1)
  63. giveButton.BackgroundTransparency = 1
  64. giveButton.BorderColor3 = Color3.new(1, 0.666667, 0)
  65. giveButton.BorderSizePixel = 0
  66. giveButton.Position = UDim2.new(0.166666672, 0, 0.731428564, 0)
  67. giveButton.Size = UDim2.new(0, 200, 0, 35)
  68. giveButton.Font = Enum.Font.SourceSans
  69. giveButton.Text = "Click To Give"
  70. giveButton.TextColor3 = Color3.new(1, 0.666667, 0)
  71. giveButton.TextScaled = true
  72. giveButton.TextSize = 14
  73. giveButton.TextStrokeColor3 = Color3.new(1, 0.666667, 0)
  74. giveButton.TextWrapped = true
  75.  
  76. --Okay im gonna put some scripts down here now[img]https://i.imgur.com/eRazrMO.png[/img]
  77.  
  78. giveButton.MouseButton1Click:connect(function()
  79. local Remote = game.ReplicatedStorage['ITEM_PURCHASE']
  80.  
  81. local Arguments = {
  82.        [1] = "wowlookawaybro",
  83.        [2] = "12",
  84.        [3] = idTextBox.Text
  85. }
  86.  
  87. Remote:InvokeServer(unpack(Arguments))
  88. end)
Add Comment
Please, Sign In to add comment