Scriptorz5

mining sim gui

May 18th, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local Button1 = Instance.new("TextButton")
  6. local Button2 = Instance.new("TextButton")
  7. local Button3 = Instance.new("TextButton")
  8. local Button4 = Instance.new("TextButton")
  9.  
  10. -- Properties
  11.  
  12. ScreenGui.Parent = game.CoreGui
  13.  
  14. Frame.Parent = ScreenGui
  15. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  16. Frame.Size = UDim2.new(0, 402, 0, 102)
  17.  
  18. Button1.Name = "Button1"
  19. Button1.Parent = Frame
  20. Button1.BackgroundColor3 = Color3.new(1, 0.701961, 0.996078)
  21. Button1.Size = UDim2.new(0, 100, 0, 100)
  22. Button1.Font = Enum.Font.Bodoni
  23. Button1.Text = "Toy Land"
  24. Button1.TextColor3 = Color3.new(0.207843, 0.145098, 0.192157)
  25. Button1.TextSize = 14
  26.  
  27. Button2.Name = "Button2"
  28. Button2.Parent = Frame
  29. Button2.BackgroundColor3 = Color3.new(1, 0.239216, 0.403922)
  30. Button2.Position = UDim2.new(0, 100, 0, 0)
  31. Button2.Size = UDim2.new(0, 100, 0, 100)
  32. Button2.Font = Enum.Font.Cartoon
  33. Button2.Text = "Insta Mine"
  34. Button2.TextSize = 14
  35.  
  36. Button3.Name = "Button3"
  37. Button3.Parent = Frame
  38. Button3.BackgroundColor3 = Color3.new(0.431373, 0.517647, 1)
  39. Button3.Position = UDim2.new(0, 200, 0, 0)
  40. Button3.Size = UDim2.new(0, 100, 0, 100)
  41. Button3.Font = Enum.Font.Cartoon
  42. Button3.Text = "Sell"
  43. Button3.TextSize = 14
  44.  
  45. Button4.Name = "Button4"
  46. Button4.Parent = Frame
  47. Button4.BackgroundColor3 = Color3.new(0.403922, 0.992157, 1)
  48. Button4.Position = UDim2.new(0, 300, 0, 0)
  49. Button4.Size = UDim2.new(0, 100, 0, 100)
  50. Button4.Font = Enum.Font.Cartoon
  51. Button4.Text = "Vip Area"
  52. Button4.TextSize = 14
  53.  
  54. Button1.MouseButton1Down:connect(function()
  55. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(32.27, 11.47, 5669.87))
  56. end)
  57.  
  58. Button2.MouseButton1Down:connect(function()
  59. local Player = game.Players.LocalPlayer
  60. local Mouse = Player:GetMouse()
  61. local Activated = false
  62.  
  63. Mouse.Button1Down:connect(function()
  64. Activated = true
  65. end)
  66.  
  67. Mouse.Button1Up:connect(function()
  68. Activated = false
  69. end)
  70.  
  71. while true do
  72. wait()
  73. if Activated == true then
  74. game.Workspace.RemoteEvent:FireServer("MineBlock", Mouse.Target.Parent)
  75. end
  76. end
  77.  
  78. end)
  79.  
  80. Button3.MouseButton1Down:connect(function()
  81. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-117.01, 13.57, 36.32))
  82. end)
  83.  
  84. Button4.MouseButton1Down:connect(function()
  85. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-49.62, 13.47, -70.22))
  86. end)
Add Comment
Please, Sign In to add comment