织梦CMS - 轻松建站从此开始!

abg欧博官网|登陆|游戏|

Roblox Visual Scripting like Scratch!

时间:2025-08-07 06:56来源: 作者:admin 点击: 16 次
:shopping_cart: Get BlockLua from the Creator Store :eyes: Check my YouTube channel for videos about the plugin BlockLua isn’t working? Please do

Landing

Landing1920×1080 398 KB

marketplace_badge-3

:shopping_cart:

Get BlockLua from the Creator Store

:eyes:

Check my YouTube channel for videos about the plugin

BlockLua isn’t working? Please do the following:

HOW TO FIX

A 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.
FIX: “PLUGINS” tab > Manage Plugins > find BlockLua > Click on the label which says Script Injection permission denied, and enable it.

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.
Compared to EventBlocks (the previous plugin), BlockLua is much faster and has a completely new engine and the UI is much more consistent.
Due to the completely revamped engine, it has WAY better performance and it’s able to handle large scripts with ease.

example1

example11500×334 64.6 KB

example2

example21662×556 93.7 KB

example3

example31787×405 74 KB

Youtube tutorials: Click here to check out some highlighted YouTube videos

Lava part:
https://www.youtube.com/watch?v=qn3x8RrtZO4

Portals:
https://www.youtube.com/watch?v=_33m-tqamWE

Health bar:
https://www.youtube.com/watch?v=ZC1cooy0yRU

Kill brick tutorial

As a very simple introduction, we’re going to make a lava part.
(The UI may not look the same, but there shouldn’t be major changes!)

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 PM

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.
This shows that the plugin is running.

Screenshot 2025-05-03 at 7.27.52 PM

So, first of all I’ll let you design the lava part. I’ve made this:

Screenshot 2025-05-03 at 7.29.42 PM

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.

Screenshot 2025-05-03 at 7.35.04 PM


Screenshot 2025-05-03 at 7.35.35 PM

(you can rename the script if you would like to)
After that, select the script and open the gui using the arrow in the toolbar. (you might have to re-select the script)

And we can start scripting, yey!
Let’s use the searchbar and drop in a ‘touched by character’ block from the left.

Screenshot 2025-05-03 at 7.36.52 PM

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 PM

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 PM

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 PM

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 PM

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!!

Screenshot 2025-05-03 at 7.41.01 PM

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!

marketplace_badge-3

:shopping_cart:

Get BlockLua from the Creator Store

:eyes:

Check my YouTube channel for videos about the plugin

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-08-23 15:08 最后登录:2025-08-23 15:08
栏目列表
推荐内容