#Help
1 messages · Page 1 of 1 (latest)
Remove the . Between the changematerial and the ()
https://create.roblox.com/docs/reference/engine/enums/Material you gotta use Enum.Material.insertmaterialhere
you can also do part.Material = "Material"
yup
1 messages · Page 1 of 1 (latest)
So uhh I'm trying to learn how to script and I am at the part where I learn functions. For some reason this code is not really working so if someone could help I would appreciate it
local myBaseplate = game.Workspace.Baseplate
local function changeMaterial.()
myBaseplate.Material = Marble
end
changeMaterial()
Remove the . Between the changematerial and the ()
https://create.roblox.com/docs/reference/engine/enums/Material you gotta use Enum.Material.insertmaterialhere
you can also do part.Material = "Material"
yup