FuZionPlayz

RoCitzen MONEY GUI

Oct 14th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. local scrGui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  2. local frame = Instance.new("Frame", scrGui)
  3. frame.BackgroundColor3 = Color3.fromRGB(0,170,255)
  4. frame.BackgroundTransparency = 0.2
  5. frame.BorderColor3 = Color3.fromRGB(0,85,255)
  6. frame.Position = UDim2.new(0,0,0.4,0)
  7. frame.Size = UDim2.new(0.3,0,0.05,0)
  8. frame.BorderSizePixel = 2
  9. frame.Draggable = true
  10. frame.Active = true
  11. frame.Visible = false
  12.  
  13. local img = Instance.new("ImageLabel", scrGui)
  14. img.BackgroundColor3 = Color3.fromRGB(21,21,21)
  15. img.BackgroundTransparency = 1
  16. img.BorderColor3 = Color3.fromRGB(0,85,255)
  17. img.Position = UDim2.new(0.4, 0,0.35, 0)
  18. img.Size = UDim2.new(0.2, 0,0.22, 0)
  19. img.BorderSizePixel = 0
  20. img.Draggable = false
  21. img.Active = false
  22. img.Name = "RaulByteCopyright"
  23. img.Image = "rbxassetid://639821065"
  24. img.ImageTransparency = 1
  25.  
  26. local txtLbl = Instance.new("TextLabel", img)
  27. txtLbl.BackgroundColor3 = Color3.fromRGB(255,255,255)
  28. txtLbl.BackgroundTransparency = 1
  29. txtLbl.BorderColor3 = Color3.fromRGB(0,85,255)
  30. txtLbl.Position = UDim2.new(0, 0,-0.2, 0)
  31. txtLbl.Size = UDim2.new(1, 0,0.2, 0)
  32. txtLbl.BorderSizePixel = 0
  33. txtLbl.Draggable = false
  34. txtLbl.Active = false
  35. txtLbl.Font = "SourceSansLight"
  36. txtLbl.FontSize = "Size28"
  37. txtLbl.Text = "Made by RaulByte"
  38. txtLbl.TextColor3 = Color3.fromRGB(0,0,0)
  39.  
  40. local txtBox = Instance.new("TextBox", frame)
  41. txtBox.BackgroundColor3 = Color3.fromRGB(255,255,255)
  42. txtBox.BackgroundTransparency = 0
  43. txtBox.BorderColor3 = Color3.fromRGB(0,85,255)
  44. txtBox.Position = UDim2.new(0, 0,0, 0)
  45. txtBox.Size = UDim2.new(0.7, 0,1, 0)
  46. txtBox.BorderSizePixel = 0
  47. txtBox.Draggable = false
  48. txtBox.Active = false
  49. txtBox.Font = "Code"
  50. txtBox.FontSize = "Size14"
  51. txtBox.Text = "Put Amount here..."
  52. txtBox.TextColor3 = Color3.fromRGB(0,0,0)
  53.  
  54. local txtButton = Instance.new("TextButton", frame)
  55. txtButton.BackgroundColor3 = Color3.fromRGB(0, 94, 141)
  56. txtButton.BackgroundTransparency = 0
  57. txtButton.BorderColor3 = Color3.fromRGB(0,85,255)
  58. txtButton.Position = UDim2.new(0.75, 0,0, 0)
  59. txtButton.Size = UDim2.new(0.24, 0,1, 0)
  60. txtButton.BorderSizePixel = 0
  61. txtButton.Draggable = false
  62. txtButton.Active = false
  63. txtButton.Font = "SciFi"
  64. txtButton.FontSize = "Size18"
  65. txtButton.Text = "Execute"
  66. txtButton.TextColor3 = Color3.fromRGB(255,255,255)
  67. local intV = Instance.new("IntValue", scrGui)
  68. for i = img.ImageTransparency, 0, -0.04 do
  69. img.ImageTransparency = i
  70. img.BackgroundTransparency = i
  71. txtLbl.BackgroundTransparency = i
  72. txtLbl.TextTransparency = i
  73. wait(0.1)
  74. end
  75. wait(2)
  76. img:Destroy()
  77. frame.Visible = true
  78.  
  79. txtButton.MouseButton1Click:connect(function()
  80. if txtBox.Text ~= "Put Amount here..." then
  81. intV.Value = txtBox.Text
  82. game.Players.LocalPlayer.ChangeMoney:Fire(intV.Value)
  83. end
  84. end)
Add Comment
Please, Sign In to add comment