local Workspace = game.Workspace
local baseplate = game.Workspace:FindFirstChild("Baseplate")
local toolbar = plugin:CreateToolbar("Baseplate Grid Adder")
local newTextureButton = toolbar:CreateButton("Create Grid Texture")
newTextureButton.Click:Connect(function()
local newTexture = Instance.new("Texture")
newTexture.Texture = "http://www.roblox.com/asset/?id=5603923293"
newTexture.Face = "Top"
newTexture.Parent = game.Workspace.Baseplate
baseplate.TopSurface = "Smooth"
end)
there are no errors too

5 comments
ive had this problem before but different
on what line is it giving the error?
also, material should be Enum.Material.Plastic instead of "Plastic"
Additionally, maybe you should specify which surface you want the texture on
Why are you defining baseplate if you aren't going to use it. Even worse, why are you defining workspace