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

Any way to make a class in Roblox Lua while not using using its provided classes?

Asked by 6 years ago

I am not entirely sure if there is a way to make a class in Roblox Lua. I mean, it does offer its own classes, but I want to know if the scripter can make one. I personally script in both Lua and something called Python. If you wanted to make a class in Python, you would do something like this (written in Python 2.7):

class Dog kind = 'canine' def _init_(self, name) self.name = name

But I seriously don't know if you can make a class in Roblox Lua.

0
0
thanks DeceptiveCaster 3761 — 6y

Answer this question