Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

(SOLVED)Im trying to make a plugin where it adds a grid to your baseplate it wont work?

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

0

ive had this problem before but different

0

on what line is it giving the error?

0

also, material should be Enum.Material.Plastic instead of "Plastic"

0

Additionally, maybe you should specify which surface you want the texture on

0

Why are you defining baseplate if you aren't going to use it. Even worse, why are you defining workspace

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.