I'm having some trouble with variables using the plugin [EventBlocks]

So, I am making a simple tycoon game so I can understand how eventblocks works
And I have gotten pretty far.
I’m just having trouble getting all the server scripts to read a local variable…

I’m trying to make it, so everyone has their own money. when I do it on the server side both players have the same money but, if I do it with local It stays to that player.
I just don’t know how to tell all the other scripts how much money I have.

That is the local script

And that’s the server script.
I know that it’s not going to work how it is.
You also can’t put local scripts in anything other than the characterscripts.

THANKS!!!

I never even knew there was a scratch-port on Roblox.

4 Likes

Me neither my mind is exploding, Someone already made block coding for roblox? wth

3 Likes

I thought the same thing. Not that I really care as I hate block coding since it is way more boring to me

1 Like

Yes you can, read the local script description, it tells you where you can place it

1 Like

I did… It says you can only place it in startercharacterscripts.
Did it say something else for you?

Just realized where talking about two different types of local scripts

Maybe if you ask the creator?

There’s only one type of local script. As the descriptions of them says in Roblox, they can be placed in 6 places:

  1. StarterPlayerScripts
  2. StarterCharacterScripts
  3. A players backpack
  4. A players GUI
  5. ReplicatedFirst
    (One more I’ll edit in a second)

I’ve limited it only for one place so it is easier to remember.

1 Like

I’m surprised someone made a topic about my plugin :smiley:

1 Like