Advertisement
Guest User

gui do paulin

a guest
Jul 17th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.63 KB | None | 0 0
  1. -- GUI Feita por pedrinho da viola.
  2.  
  3. -- Objects
  4.  
  5. local KillGeneralsDSGui = Instance.new("ScreenGui")
  6. local KillGeneral = Instance.new("TextLabel")
  7. local InstantMenu = Instance.new("TextButton")
  8. local Safezone = Instance.new("TextButton")
  9. local Hunger = Instance.new("TextButton")
  10. local LoadPosition = Instance.new("TextButton")
  11. local SavePosition = Instance.new("TextButton")
  12. local Thirst = Instance.new("TextButton")
  13.  
  14. -- Properties
  15.  
  16. KillGeneralsDSGui.Name = "KillGeneral's DS Gui"
  17. KillGeneralsDSGui.Parent = game.CoreGui
  18.  
  19. KillGeneral.Name = "KillGeneral"
  20. KillGeneral.Parent = KillGeneralsDSGui
  21. KillGeneral.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  22. KillGeneral.Position = UDim2.new(0.816733062, 0, -0.00044048205, 0)
  23. KillGeneral.Size = UDim2.new(0, 184, 0, 39)
  24. KillGeneral.ZIndex = -4
  25. KillGeneral.Font = Enum.Font.SourceSans
  26. KillGeneral.Text = "Feito por pedro da viola"
  27. KillGeneral.TextColor3 = Color3.new(1, 1, 1)
  28. KillGeneral.TextScaled = true
  29. KillGeneral.TextSize = 14
  30. KillGeneral.TextWrapped = true
  31.  
  32. InstantMenu.Name = "Menu instantâneo"
  33. InstantMenu.Parent = KillGeneralsDSGui
  34. InstantMenu.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  35. InstantMenu.BorderColor3 = Color3.new(0, 0, 0)
  36. InstantMenu.Position = UDim2.new(0.449414283, 0, 0.877742946, 0)
  37. InstantMenu.Size = UDim2.new(0, 162, 0, 48)
  38. InstantMenu.Font = Enum.Font.SourceSans
  39. InstantMenu.Text = "Instant Menu"
  40. InstantMenu.TextColor3 = Color3.new(1, 1, 1)
  41. InstantMenu.TextSize = 14
  42.  
  43. Safezone.Name = "Safezone"
  44. Safezone.Parent = KillGeneralsDSGui
  45. Safezone.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  46. Safezone.BorderColor3 = Color3.new(0, 0, 0)
  47. Safezone.Position = UDim2.new(0.841003597, 0, 0.942274451, 0)
  48. Safezone.Size = UDim2.new(0, 135, 0, 37)
  49. Safezone.Font = Enum.Font.SourceSans
  50. Safezone.Text = "Safezone"
  51. Safezone.TextColor3 = Color3.new(1, 1, 1)
  52. Safezone.TextSize = 14
  53.  
  54. Hunger.Name = "Fome"
  55. Hunger.Parent = KillGeneralsDSGui
  56. Hunger.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  57. Hunger.BackgroundTransparency = 0.34999999403954
  58. Hunger.Position = UDim2.new(0.866397023, 0, 0.444295883, 0)
  59. Hunger.Size = UDim2.new(0, 137, 0, 33)
  60. Hunger.Font = Enum.Font.SourceSans
  61. Hunger.Text = "Hunger"
  62. Hunger.TextColor3 = Color3.new(1, 1, 1)
  63. Hunger.TextSize = 14
  64.  
  65. LoadPosition.Name = "LoadPosition"
  66. LoadPosition.Parent = KillGeneralsDSGui
  67. LoadPosition.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  68. LoadPosition.BackgroundTransparency = 0.34999999403954
  69. LoadPosition.Position = UDim2.new(0.866879642, 0, 0.373040766, 0)
  70. LoadPosition.Size = UDim2.new(0, 137, 0, 33)
  71. LoadPosition.Font = Enum.Font.SourceSans
  72. LoadPosition.Text = "Load Position"
  73. LoadPosition.TextColor3 = Color3.new(1, 1, 1)
  74. LoadPosition.TextSize = 14
  75.  
  76. SavePosition.Name = "SavePosition"
  77. SavePosition.Parent = KillGeneralsDSGui
  78. SavePosition.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  79. SavePosition.BackgroundTransparency = 0.34999999403954
  80. SavePosition.Position = UDim2.new(0.866879642, 0, 0.302507848, 0)
  81. SavePosition.Size = UDim2.new(0, 137, 0, 33)
  82. SavePosition.Font = Enum.Font.SourceSans
  83. SavePosition.Text = "Save Position"
  84. SavePosition.TextColor3 = Color3.new(1, 1, 1)
  85. SavePosition.TextSize = 14
  86.  
  87. Thirst.Name = "Sede"
  88. Thirst.Parent = KillGeneralsDSGui
  89. Thirst.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  90. Thirst.BackgroundTransparency = 0.34999999403954
  91. Thirst.Position = UDim2.new(0.866397023, 0, 0.514828801, 0)
  92. Thirst.Size = UDim2.new(0, 137, 0, 33)
  93. Thirst.Font = Enum.Font.SourceSans
  94. Thirst.Text = "Thirst"
  95. Thirst.TextColor3 = Color3.new(1, 1, 1)
  96. Thirst.TextSize = 14
  97.  
  98. -- Scripts
  99.  
  100. SavePosition.MouseButton1Click:connect(function()
  101. asd=game.Players.LocalPlayer.Character.HumanoidRootPart.Position end)
  102. LoadPosition.MouseButton1Click:connect(function()
  103. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=
  104. CFrame.new(asd)+Vector3.new(1,0,0)end)
  105. Hunger.MouseButton1Click:connect(function()
  106. game.Workspace.GameEvents.EatPlant:FireServer(Workspace.GameMap.Ferns.Fern, 2) end)
  107. InstantMenu.MouseButton1Click:connect(function()
  108. game.Workspace.GameEvents.GoToMenu:FireServer()end)
  109. Safezone.MouseButton1Click:connect(function()
  110. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(
  111. -751,123,-796)+Vector3.new(1,0,0)end)
  112. Thirst.MouseButton1Click:connect(function()
  113. game:GetService("Workspace").Water.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  114. local A_1 = game:GetService("Workspace").Water
  115. local A_2 = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.p
  116. local Event = game:GetService("Workspace").GameEvents.addThirst
  117. Event:FireServer(A_1, A_2)end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement