My first experience with coding/programming
S
I first started coding in Lua and later expanded my skills to LuaU. These programming languages are used in popular games such as Teardown (Lua) and Roblox (LuaU). I started with LuaU because I was an active Roblox player at the time, although I no longer play Roblox. I found it really fun to write code that could perform actions and interact with the game.
Here is an example of some of my early LuaU code, which gives a player's HumanoidRootPart extremely high health:
local character = game.Players.LocalPlayer.Character
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.MaxHealth = math.huge
humanoid.Health = math.huge
end
Save
Comments
Log in to leave a comment.
