Class Creator Autocompleter

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

a class creator

  1. What is the issue? Include screenshots / videos if possible!

i wan’t make a autocompleter how

image

i found if you makes this

function newclass(string: type)
-- returns class
end

image

opens a indicator

exist some solution?

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

yes

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

-- This is an example Lua code block

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

You can create classes like so

type CustomClass : {
  Name : string, 
  Parent : Instance?
}

local thing : CustomClass = {}

thing. -- will prompt .Name and .Parent

Theres a lot of documentation on this site

we are on lua or roblox studio?

Only in roblox studio since the typechecking only works in luau which is what studio uses and not vanilla lua

but this not solves my problem