Anonymouse10101

Mining Simulator X (GUI)

Apr 25th, 2019
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local frame = Instance.new("Frame")
  3. local open = Instance.new("TextButton")
  4. local main = Instance.new("Frame")
  5. local title = Instance.new("TextBox")
  6. local credits = Instance.new("TextBox")
  7. local _2xmining = Instance.new("TextButton")
  8. local _2xattack = Instance.new("TextButton")
  9. --Properties:
  10. ScreenGui.Parent = game.CoreGui
  11.  
  12. frame.Name = "frame"
  13. frame.Parent = ScreenGui
  14. frame.BackgroundColor3 = Color3.new(0.137255, 0.815686, 1)
  15. frame.BorderColor3 = Color3.new(1, 1, 1)
  16. frame.Position = UDim2.new(0.0080840867, 0, 0.862876236, 0)
  17. frame.Size = UDim2.new(0, 69, 0, 69)
  18.  
  19. open.Name = "open"
  20. open.Parent = frame
  21. open.BackgroundColor3 = Color3.new(0.137255, 0.815686, 1)
  22. open.BorderColor3 = Color3.new(1, 1, 1)
  23. open.Position = UDim2.new(-0.0064086793, 0, -0.00668895245, 0)
  24. open.Size = UDim2.new(0, 69, 0, 69)
  25. open.Font = Enum.Font.SourceSans
  26. open.Text = "Open Gui"
  27. open.TextColor3 = Color3.new(0, 0, 0)
  28. open.TextScaled = true
  29. open.TextSize = 14
  30. open.TextWrapped = true
  31. open.MouseButton1Click:connect(function()
  32. main.Visible = true
  33. frame.Visible = false
  34. end)
  35.  
  36.  
  37. main.Name = "main"
  38. main.Parent = ScreenGui
  39. main.BackgroundColor3 = Color3.new(0.470588, 1, 0.576471)
  40. main.BorderColor3 = Color3.new(0, 0, 0)
  41. main.Position = UDim2.new(0.143088102, 0, 0.622073591, 0)
  42. main.Size = UDim2.new(0, 197, 0, 197)
  43. main.Visible = false
  44. main.Draggable = true
  45. main.Active = true
  46.  
  47. title.Name = "title"
  48. title.Parent = main
  49. title.BackgroundColor3 = Color3.new(0.137255, 0.815686, 1)
  50. title.BorderColor3 = Color3.new(0, 0, 0)
  51. title.Position = UDim2.new(-0.0359966494, 0, -0.131059363, 0)
  52. title.Size = UDim2.new(0, 211, 0, 25)
  53. title.Font = Enum.Font.SourceSans
  54. title.Text = "Mining Simulator X GUI"
  55. title.TextColor3 = Color3.new(0, 0, 0)
  56. title.TextScaled = true
  57. title.TextSize = 14
  58. title.TextWrapped = true
  59.  
  60. credits.Name = "credits"
  61. credits.Parent = main
  62. credits.BackgroundColor3 = Color3.new(0.137255, 0.815686, 1)
  63. credits.BorderColor3 = Color3.new(0, 0, 0)
  64. credits.Position = UDim2.new(-0.0359966494, 0, 0.950158894, 0)
  65. credits.Size = UDim2.new(0, 211, 0, 25)
  66. credits.Font = Enum.Font.SourceSans
  67. credits.Text = "By Nootella On V3rm"
  68. credits.TextColor3 = Color3.new(0, 0, 0)
  69. credits.TextScaled = true
  70. credits.TextSize = 14
  71. credits.TextWrapped = true
  72.  
  73. _2xmining.Name = "2xmining"
  74. _2xmining.Parent = main
  75. _2xmining.BackgroundColor3 = Color3.new(0.137255, 0.815686, 1)
  76. _2xmining.Position = UDim2.new(0.121827409, 0, 0.0507614203, 0)
  77. _2xmining.Size = UDim2.new(0, 148, 0, 34)
  78. _2xmining.Font = Enum.Font.SourceSans
  79. _2xmining.Text = "2x Mining Speed Gamepass"
  80. _2xmining.TextColor3 = Color3.new(0, 0, 0)
  81. _2xmining.TextScaled = true
  82. _2xmining.TextSize = 14
  83. _2xmining.TextWrapped = true
  84. _2xmining.MouseButton1Click:connect(function()
  85. game.Players.LocalPlayer.gamepasses["2x Mining Speed"].Value = 1
  86. end)
  87.  
  88.  
  89. _2xattack.Name = "2xattack"
  90. _2xattack.Parent = main
  91. _2xattack.BackgroundColor3 = Color3.new(0.137255, 0.815686, 1)
  92. _2xattack.Position = UDim2.new(0.121827409, 0, 0.309644699, 0)
  93. _2xattack.Size = UDim2.new(0, 148, 0, 34)
  94. _2xattack.Font = Enum.Font.SourceSans
  95. _2xattack.Text = "2x Attack Speed Gamepass"
  96. _2xattack.TextColor3 = Color3.new(0, 0, 0)
  97. _2xattack.TextScaled = true
  98. _2xattack.TextSize = 14
  99. _2xattack.TextWrapped = true
  100. _2xattack.MouseButton1Click:connect(function()
  101. game.Players.LocalPlayer.gamepasses["2x Attack Speed"].Value = 1
  102. end)
  103. -- Scripts:
Add Comment
Please, Sign In to add comment