So I attempted to use a function in a module script and then use it In server scripts but its not working obviously because I don't know how to use it can anyone tell me the proper way to use it here is my script
Module script
local module = {}
function Destroy(part)
part:Destroy()
end
return module
Server Script
Module = require(game.ReplicatedStorage.ModuleScript)
Module:Destroy(game.Workspace.Baseplate)

2 comments
To add some information: The format given is needed because it "attached" function Destroy to the module table. Because you return the table for other scripts to use, not attaching the function means nothing but the module has access to said function
thanks bro