Landing1920×1080 398 KB
BlockLua isn’t working? Please do the following: HOW TO FIXA general problem you might experience is that BlockLua doesn’t save your scripts. It’s because you have rejected the Script Injection permissions for the plugin. You don’t have to repeat this action again, unless you reinstall BlockLua. BlockLua needs Script Injection permissions to modify the contents of the script that you’re editing. BlockLua will NOT modify your normal scripts and it will NOT insert scripts into your game by itself. Only when you use the Add script button. Welcome to BlockLua! BlockLua is the next-generation visual scipting plugin for Roblox.
example11500×334 64.6 KB example21662×556 93.7 KB example31787×405 74 KB Youtube tutorials: Click here to check out some highlighted YouTube videosLava part: Portals: Health bar: As a very simple introduction, we’re going to make a lava part. Just a note, if you’ve just installed the plugin, you need to enable every permission it asks for to work properly. Ok, so if you have just installed the plugin and opened your place you should go to the ‘Plugins’ tab and find the Toggle BlockLua button. Screenshot 2025-05-03 at 7.26.54 PM1154×304 35.7 KB Click the button so it looks like on the image above. Now, you should see the plugin’s toolbar at the bottom-right corner of the viewport. So, first of all I’ll let you design the lava part. I’ve made this: Screenshot 2025-05-03 at 7.29.42 PM1458×908 44.1 KB (you can name it whatever you want) Next up, select your part and add a Script to it. (you can rename the script if you would like to) And we can start scripting, yey! Screenshot 2025-05-03 at 7.36.52 PM1126×358 35.8 KB Ok, you can see there’s an input that says ‘instance’. That means you need to specify what part you want to detect if it’s touched by a character. For this script, we’re just going to use the ‘me’ block, that is simply the ‘parent of the script’, which is in this case, the lava part This is how it looks if you have dropped the ‘me’ block into the ‘touched by character’ block. Screenshot 2025-05-03 at 7.37.40 PM1126×358 36.1 KB And now, we need to tell it what to do when it touches a character. That is simple, let’s search for the ‘kill’ block and drop it inside the ‘touched by character’ block! Screenshot 2025-05-03 at 7.38.11 PM1126×358 41.1 KB But wait! It looks like you need to tell it which humanoid to kill. In this case we want to kill the humanoid of the character who touched the part. First, let’s get the humanoid using this block: Screenshot 2025-05-03 at 7.38.59 PM1126×358 44.6 KB Just drop in “var. _touched_character” into the “character” input. Screenshot 2025-05-03 at 7.39.34 PM1126×358 47.4 KB Okay so, we check when the part is touched by a character, we get the humanoid of that character and kill it using the kill block. Fantastic! One last thing, always save the script!! Let’s play the game and see the magic happen! If you have any questions or ideas please tell it in the form of a reply! Have a great day!
|