Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

hey help how to phrase a funtion in a module script?

Asked by 4 years ago
Edited 4 years ago

-- this is trial 1

local module = {} module.function PiggySelect()

local rand = Random.new()

return module

--[[this is showing Error: (2,8)Expected identifier got function ]]

Answer this question