SHOW:
|
|
- or go back to the newest paste.
| 1 | local sizem = 3 | |
| 2 | ||
| 3 | local terrainmaterial = ("Slate")
| |
| 4 | ||
| 5 | - | local screengui = Instance.new("ScreenGui")
|
| 5 | + | |
| 6 | - | screengui.Parent = game.Players.LocalPlayer.PlayerGui |
| 6 | + | |
| 7 | game.Workspace.Terrain:Clear() | |
| 8 | - | textbutton11 = Instance.new("TextButton")
|
| 8 | + | |
| 9 | - | textbutton11.Parent = screengui |
| 9 | + | |
| 10 | - | textbutton11.Text = ("Set Material")
|
| 10 | + | |
| 11 | - | textbutton11.Position = UDim2.new(0, 0, 0.476, 0) |
| 11 | + | |
| 12 | - | textbutton11.Size = UDim2.new(0, 126, 0, 18) |
| 12 | + | |
| 13 | - | textbutton11.BackgroundColor3 = Color3.fromRGB(30, 30, 30) |
| 13 | + | |
| 14 | - | textbutton11.TextColor3 = Color3.new(240, 240, 240) |
| 14 | + | |
| 15 | - | textbutton11.BackgroundTransparency = (0) |
| 15 | + | |
| 16 | - | textbutton11.BorderSizePixel = (0) |
| 16 | + | |
| 17 | - | local textbar12 = Instance.new("TextBox")
|
| 17 | + | |
| 18 | - | textbar12.Parent = screengui |
| 18 | + | |
| 19 | - | textbar12.Position = UDim2.new(0, 0, 0.512, 0) |
| 19 | + | |
| 20 | - | textbar12.Size = UDim2.new(0, 126, 0, 18) |
| 20 | + | |
| 21 | - | textbar12.BackgroundColor3 = Color3.fromRGB(30, 30, 30) |
| 21 | + | |
| 22 | - | textbar12.TextColor3 = Color3.new(240, 240, 240) |
| 22 | + | |
| 23 | - | textbar12.BackgroundTransparency = (0) |
| 23 | + | |
| 24 | - | textbar12.BorderSizePixel = (0) |
| 24 | + | |
| 25 | - | textbar12.Text = ("Slate")
|
| 25 | + | |
| 26 | end | |
| 27 | - | function onClick() |
| 27 | + | |
| 28 | - | terrainmaterial = (textbar12.Text) |
| 28 | + | |
| 29 | - | end |
| 29 | + |