I thought that you could use the C API in Roblox, but apparently not. I tried connecting an external script to the .rbxs (Roblox Script) file and got a bunch of ridiculous errors. Can somebody please explain why I can't use the API in Roblox?
COMMUNITY QUESTION
Is there a vaild reason why Roblox prevents players from using Lua's C API?
1 answer
roblox, being roblox, has blox'd this along with countless other things
4 comments
0
how do you have rep
1
if i dont specialise in a certain field i am trash at it; vice versa
1
this should be a quote
0
no
This discussion is preserved as it was. New answers, comments, and votes are closed.

14 comments
Apart from the fact that you might need an online file or something
I’m a bit confused. Do you mean like the C:/ in computers, the catalog API, or something else?
C as in Microsoft's programming language
that Lua enables you to use
Lua or Roblox Lua?
just Lua; they're basically the same language
Lua and Roblox Lua, not Lua and C
Roblox modified Lua a bit though and added/removed some things. Maybe they removed/blocked that API?
im asking why they did it
Oh. Well...I’m not sure about that, sorry. I’ll try to find more info about it later though.
Security reasons, period.
that makes sense...Roblox might get a copyright strike from Microsoft for using C. Understood, thank you.
Security doesn't mean copyright
Lua C is also used in exploits