roblox studio how to specify parameters code example
Example: function parameters roblox
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!")