of     1   

rowerowe71
#182845739Monday, February 01, 2016 9:28 PM GMT

ik ive asked this before but i forgot
powerhotmail123
#182845922Monday, February 01, 2016 9:31 PM GMT

Don't enums have stings already. Part.Material = "Grass" Is the same thing as: Part.Material = Enum.Material.Grass Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
LegendaryAccount
#182846000Monday, February 01, 2016 9:32 PM GMT

theres a name property of the enum
ray_revenge
#182846024Monday, February 01, 2016 9:32 PM GMT

EnumItem.Name or EnumItem.Value might be better suited for your purposes
powerhotmail123
#182846069Monday, February 01, 2016 9:33 PM GMT

Learn something new everyday. Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
rowerowe71
#182865484Tuesday, February 02, 2016 2:42 AM GMT

thanks guys didn't know about those properties
LilMcManiac
#182865849Tuesday, February 02, 2016 2:48 AM GMT

local materials = {"Grass", "Plastic", "Ice", "Cobblestone"} local randomMaterial = materials[math.random(1,#materials)] script.Parent.Material = Enum.Material[randomMaterial]

    of     1