I'm not sure why this isnt working! I did get this error tho,
22:33:31.904 - Requested module experienced an error while loading
Server Script:
local Make = require(script.MakeBrick)
Make("AmazingPart", BrickColor.new('Lime green'), Enum.Material.Neon, game.Workspace)
Module Script:
function MakeBrick(Name, Color, Material, Parent)
local Part = Instance.new('Part', Parent)
Part.Name = Name
Part.BrickColor = Color
Part.Material = Material
Part.Anchored = true
Part.CFrame = game.Workspace.SpawnLocation.CFrame
end
return MakeBrick()
