scripting in lua look hard but im good at php and is there way to script roblox game in php?
thanks!
I’m not sure how Lua is harder than PHP, but no, you can’t program a game using PHP. you can make a php → luau transpiler tho
for me php syntax look easier than lua
lua array is so weird
…Not necessarily. Roblox only supports Luau. If you just can’t stand writing Luau code, you can try using roblox-ts, but it’s definitely not a beginner resource.
meh ts is just microsoft js so that kinda disguting
To be honest lua is really simple if you know how to script in another language, you can also do roblox tutorials and everything
is not simple and it look harder than php.
Php in Roblox simply isn’t possible, it might be if you make a compiler or whatever, I don’t know.
If you still think you aren’t able to learn Lua, but you can learn Php, its maybe because you like that more. You should probably go with creating Web app or something with it (although I believe Php is not the most advance one for it)
I’m gonna take a long shot and say that if you can’t program in Lua, then you won’t be able to make a Lua-PHP transpiler. I don’t think there’s one out there either.
How you think Lua is harder than PHP baffles me, but that’s your opinion so whatever. If you need to learn Lua, and already know another language (like PHP), the Lua manual is helpful. Lua is a very table-based language, especially Luau and how you interact with the Roblox world.
Hello IIIIIIlongname, there’s no other way to pratice scripts in Roblox with another language than Lua. You have to do with it. Roblox Staff only works in Lua script and does updates in their software all weeks. You have to work with Lua script, you don’t have to give up even if it seems difficult.
Enjoy with Lua! Forget php!
Well I don’t know what php you are doing then
this sure is some interesting bait…
Im pretty sure PHP is way more confusing than Lua. I was learning PHP too, and its very confusing, very helpful to make interactive webs and stuff, I dont see any need to try to use PHP replacing Lua which is very powerful for games. If you can deal with PHP you can perfectly deal with Luau, weird way to give up on an easier language :v
Some copy-paste for you about what is better a hammer or a screwdriver.
Lua vs PHP: What are the differences?
Lua: Powerful, fast, lightweight, embeddable scripting language . Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping; PHP: A popular general-purpose scripting language that is especially suited to web development . Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
Sorry to break it to you, but it’s impossible.
You cannot do this. Besides, Lua is much more flexible and simple than PHP. In addition, it’s the only language supported by Studio.
Hm I saw this guy on twitter talking about furry games being banned but anyways…
I only really know about roblox lua it self, so…
I think personally lua is SUPER simple to understand especially roblox lua i would just advise you to watch some videos on it as what you’re asking for is not possible currently. It’s very easy and not a cluttered language to understand.
You can learn the entirety of Lua in a few days if you are persistent, a week if you have stuff to do. Luau to the end user is mostly just standard Lua 5.1 with added globals and edited libraries. There are the extra operators, but they aren’t required.
While I really don’t see why you would want to use PHP since it is known as one of the worst plagues of languages, but I guess to each their own. Roblox only supports Luau. Anything else would have to be transpiled into it and there is no other way around. My biggest wish is to have native Rust support in Unity or Unreal, but that will probably never happen.