Advertisement
Guest User

Untitled

a guest
May 25th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.58 KB | None | 0 0
  1. -- GUI FEITA POR EVAN PLAYER
  2. -- youtube.com/evanplayer
  3. -- Original Script Made By TehDino
  4. local EvanGui = Instance.new("ScreenGui")
  5. local OpenFrame = Instance.new("Frame")
  6. local open = Instance.new("TextButton")
  7. local Main = Instance.new("Frame")
  8. local BeautyA = Instance.new("Frame")
  9. local TextLabel = Instance.new("TextLabel")
  10. local BeautyB = Instance.new("Frame")
  11. local TextLabel_2 = Instance.new("TextLabel")
  12. local spawn = Instance.new("TextButton")
  13. local Close = Instance.new("TextButton")
  14. local nome = Instance.new("TextBox")
  15. local quantidade = Instance.new("TextBox")
  16. --Properties:
  17. EvanGui.Name = "EvanGui"
  18. EvanGui.Parent = game.CoreGui
  19.  
  20. OpenFrame.Name = "OpenFrame"
  21. OpenFrame.Parent = EvanGui
  22. OpenFrame.Active = true
  23. OpenFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  24. OpenFrame.BorderSizePixel = 0
  25. OpenFrame.Position = UDim2.new(0.61467886, 0, 0, 0)
  26. OpenFrame.Size = UDim2.new(0, 93, 0, 33)
  27. OpenFrame.Visible = false
  28. OpenFrame.Draggable = true
  29.  
  30. open.Name = "open"
  31. open.Parent = OpenFrame
  32. open.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0.333333)
  33. open.Position = UDim2.new(0.014910033, 0, 0.155798227, 0)
  34. open.Size = UDim2.new(0, 91, 0, 27)
  35. open.Font = Enum.Font.SourceSans
  36. open.Text = "Abrir"
  37. open.TextColor3 = Color3.new(1, 1, 1)
  38. open.TextSize = 16
  39. open.MouseButton1Down:connect(function()
  40. Main.Visible = true
  41. OpenFrame.Visible = false
  42. end)
  43.  
  44. Main.Name = "Main"
  45. Main.Parent = EvanGui
  46. Main.Active = true
  47. Main.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  48. Main.BackgroundTransparency = 0.40000000596046
  49. Main.Position = UDim2.new(0.291539252, 0, 0.405797124, 0)
  50. Main.Size = UDim2.new(0, 409, 0, 141)
  51. Main.Draggable = true
  52.  
  53. BeautyA.Name = "BeautyA"
  54. BeautyA.Parent = Main
  55. BeautyA.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  56. BeautyA.BorderColor3 = Color3.new(1, 0.00784314, 0.917647)
  57. BeautyA.BorderSizePixel = 0
  58. BeautyA.Size = UDim2.new(0, 409, 0, 45)
  59.  
  60. TextLabel.Parent = BeautyA
  61. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  62. TextLabel.BackgroundTransparency = 1
  63. TextLabel.BorderSizePixel = 0
  64. TextLabel.Size = UDim2.new(0, 409, 0, 45)
  65. TextLabel.Font = Enum.Font.SourceSans
  66. TextLabel.Text = "Gui Feita Por Evan Player"
  67. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  68. TextLabel.TextSize = 30
  69.  
  70. BeautyB.Name = "BeautyB"
  71. BeautyB.Parent = Main
  72. BeautyB.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  73. BeautyB.BorderColor3 = Color3.new(1, 0.00784314, 0.917647)
  74. BeautyB.BorderSizePixel = 0
  75. BeautyB.Position = UDim2.new(0, 0, 0.712780654, 0)
  76. BeautyB.Size = UDim2.new(0, 409, 0, 40)
  77.  
  78. TextLabel_2.Parent = BeautyB
  79. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  80. TextLabel_2.BackgroundTransparency = 1
  81. TextLabel_2.BorderSizePixel = 0
  82. TextLabel_2.Size = UDim2.new(0, 409, 0, 40)
  83. TextLabel_2.Font = Enum.Font.SourceSans
  84. TextLabel_2.Text = "Inscreva-se em meu canal no youtube.com/evanplayer"
  85. TextLabel_2.TextColor3 = Color3.new(0.85098, 0.85098, 0.85098)
  86. TextLabel_2.TextSize = 20
  87.  
  88. spawn.Name = "spawn"
  89. spawn.Parent = Main
  90. spawn.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  91. spawn.BorderSizePixel = 0
  92. spawn.Position = UDim2.new(0.819692135, 0, 0.439403445, 0)
  93. spawn.Size = UDim2.new(0, 58, 0, 28)
  94. spawn.Font = Enum.Font.SourceSans
  95. spawn.Text = "Spawn"
  96. spawn.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
  97. spawn.TextSize = 18
  98. spawn.MouseButton1Down:connect(function()
  99. local Item = nome.Text
  100. local Quantity = quantidade.Text
  101.  
  102. local Land = nil
  103. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  104. if v.Owner.Value == game.Players.LocalPlayer then
  105. Land = v
  106. break
  107. end
  108. end
  109. if not Land then
  110. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  111. if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
  112. Land = v
  113. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
  114. break
  115. end
  116. end
  117. end
  118.  
  119. function Spawn(Item)
  120. local Info = {}
  121. Info.Name = Item.Name
  122. Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
  123. Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
  124. local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
  125. game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
  126. end
  127.  
  128. for i=1, Quantity do
  129. Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
  130. end
  131. end)
  132.  
  133. Close.Name = "Close"
  134. Close.Parent = Main
  135. Close.BackgroundColor3 = Color3.new(0.403922, 0.403922, 0.403922)
  136. Close.Position = UDim2.new(0.922285438, 0, 0, 0)
  137. Close.Size = UDim2.new(0, 31, 0, 23)
  138. Close.Font = Enum.Font.SourceSans
  139. Close.Text = "X"
  140. Close.TextColor3 = Color3.new(1, 0, 0)
  141. Close.TextSize = 30
  142. Close.MouseButton1Down:connect(function()
  143. OpenFrame.Visible = true
  144. Main.Visible = false
  145. end)
  146.  
  147. nome.Name = "nome"
  148. nome.Parent = Main
  149. nome.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  150. nome.BorderSizePixel = 0
  151. nome.Position = UDim2.new(0.0440097824, 0, 0.443745941, 0)
  152. nome.Size = UDim2.new(0, 204, 0, 28)
  153. nome.Font = Enum.Font.SourceSans
  154. nome.Text = "item name"
  155. nome.TextColor3 = Color3.new(1, 1, 1)
  156. nome.TextSize = 14
  157.  
  158. quantidade.Name = "quantidade"
  159. quantidade.Parent = Main
  160. quantidade.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  161. quantidade.BorderSizePixel = 0
  162. quantidade.Position = UDim2.new(0.615992308, 0, 0.440830588, 0)
  163. quantidade.Size = UDim2.new(0, 62, 0, 28)
  164. quantidade.Font = Enum.Font.SourceSans
  165. quantidade.Text = "quantity"
  166. quantidade.TextColor3 = Color3.new(1, 1, 1)
  167. quantidade.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement