📅  最后修改于: 2022-03-11 14:54:55.154000             🧑  作者: Mango
function generatePart(isAnchored, transpareny, canCollide, name)
local part = Instance.new("Part")
part.Name = name
part.Anchored = isAnchored
part.Transparency = transpareny
part.CanCollide = canCollide
part.Position = Vector3.new(0,15,0)
part.Parent = workspace
end
generatePart(true, 0.5, false, "ThankYouGuys!")