The visual scripting plugin | EventBlocks! [Most popular!]

Big Update!

I’ve made the first steps for client sided scripting!
When you select a local script a ‘Client’ category will appear at the bottom of the block inventory (No shortcut yet)
image

The same for server. If you edit a server script, a ‘Server’ category will appear at the bottom.
image

Read the documentation to learn how to use this blocks! If you have further questions, ask it here.

Here’s a cool little teleportation code:
A local script in ‘StarterCharacterScripts’:
image

A server script anywhere (I put it in workspace).

4 Likes

Very small patch

Now the new categories appear at the shortcuts
image

image

I’ve changed the design of the number value to make it easier to read.
image

4 Likes

Maybe someone already said this, but can you make it appear only when you’ve clicked a button in the Plugin tab?

Also, sometimes it just randomly starts open and then immediately slides off the screen.

Could you add a create block? For example, in an obby, you want to store the player’s checkpoint, it would be helpful if you can create any type of object (or atleast a NumberValue) and access it’s values like a variable.

Edit: the destroy block creates an error, you need to use FindFirstChild, not a .

image

image

2 Likes

is this a sequel to your plugin? (EventCode)

2 Likes

You can toggle the toolbar with a button in the Plugins tab.

This should only happen when opening Studio.

Good idea, I will make that!

Got it! I’ll fix that.

3 Likes

Kinda. It has nothing to do with EventCode, but it’s a replacement of it.

1 Like

Oh ok, took me a while to realize that. Maybe it can be disabled by default?

1 Like

Not a good idea. The tutorial doesn’t say anything about disabling/enabling the toolbar. I don’t want to create confusion. If you want to disable it, just click it and it will remember if it is disabled.

3 Likes

Update!

2 new blocks!
image
This is a very useful block, read the documentation in the plugin!
I’ll paste it here anyways:
image

The other new block is:
image
It is very useful as well! Now, you can create a lava that doesn’t just kills, but destroys everything that touches it!
image

I’ve changed the color of the searchbar, it is now easier to notice.
image

I’ve fixed this issue:

The next blocks I plan are:

  • A ‘create’ block that will create any type of obejct.
  • A ‘set property’ block. It will be universal. You will be able to change any property of any object with it.
  • The first GUI blocks. (like: click on a button, toggle visibility of a frame, etc.). It’s going to be a new category I guess.

Also, I need a way to handle the lots of categories we are starting to have.
image


  1. Solution: Make the categories panel scrollable.
  2. Solution: Don’t show all of the categories by default. Make it possible to select what categories you want to use in your script.

What solution do you prefer? (I prefer both. Scrollable and selectable categories)


4 Likes

Update!

3 new blocks! (No GUI yet)
image
They are well documented in the plugin, so check it out!
All of them were well requested so there you go!

Have a great day!

5 Likes

Thank you! I’m sorry you can’t afford it. Maybe later :smiley:

4 Likes

It would be cool if you can add CollectionService to this so there won’t be extra scripts for no reason.

3 Likes

Ok… So I’m trying to give each player a money variable
Basically, trying to make it so each player sees the money they made not all of them combined
How would I do this?

2 Likes

There’s no way to script GUIs at the moment (it is planned!).

Use a Player Added event, you can use the ‘create’ block to create an IntValue, set it’s parent to the character of the player who have joined and then set the IntValue’s name to ‘Money’ and set value to a number. I’ll also need to add a ‘find child’ block so you can find the value from other scripts.

Sorry for not being able to fully achieve what you want. I’ll add the missing blocks so you can do what you want.

3 Likes

Ok so that’s my second problem this was what I came up with

So basically, there’s an object and when someone clicks it, it broadcast a message and when its received, it will add money.

The problem is reading it in other scripts. If I want to buy something with the money, how would it check and see If I have enough?

I did come up with a solution where there would be a part made for each person that joined and its y would be zero then the local script would set its y to the money that player has and then when you buy something the y would go down. It worked! but the server script could not read it because the movement was being done in a local script.

I may try to do the same thing but in a server script. so instead of a variable keeping track of the money
an object created for each person would.

2 Likes

Wow nice this will really help with scripting and stuff keep updating it!

3 Likes

how do you use the detect player block?
I’m trying to figure out the name of the player who joined

2 Likes

The source of every plugin is visible to an extent. By publishing this plugin you are giving back to the community in more ways than one. That is not something to discourage. Thank you.

4 Likes

This is such a cool plug-in though limited I’m trying to push it to its limits…
Until you update it and 20 lines of code
Is now block.

:slight_smile:

1 Like

You can use the ask server block to ask the server to move the part/set a variable. Read about it in the documentation.

3 Likes