You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
In short. Im making a library with Roblox’s built in events n stuff but translated to swedish.
- What is the issue? Include screenshots / videos if possible!
My only problem is that i want to add script annotations(Or whatever theyre called) so my functions make more sense. Im just not sure if im using it correctly??
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I looked at the Luau website but im still not exactly sure if im doing this right?
Code
local Library = {}
export type Funktion = {[any]: any} -- // Function but in swedish
function Library.Rord(): Funktion
end
return Library
Sorry if this is a simple question. Ive never really used script annotations in my codes before