Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Want data to get server wide, without ir's attached to a player?

Asked by 4 years ago

So,

I've watched some tutorials but i still can't figure out what Data to use and how?

I know it's now allowed to ask for full scripts, but i can't find anything helpfull, so if someone could help me started?

I want when a player leaves ( he teleports to a new game via a GuiButton) some Data is sent to the server. The data is simple a Value +1 code. (Going to make a some-sort counter). But, it should count every player.

For example:

I join, the data goes +1 (total = 1) and then i leave, and then the next player joins in a different server and also add's 1 to that same value. So the total value would be 2.

I've made a Teleport to a random game (is selects a game from a list i've inserted) and i want to count how many time each 'random game' has been joined by a visitor.

But to begin first, ReplicatedFirst or ReplicatedStorage or ServerStorage ?

But most important, the value must be changed from the localscript from the PlayerGui.

0
If it MUST be changed, just fire off a remote event that's placed inside the replicatedStorage then fire that remote event so you can change the value from the server. If you do this, store your value on the ServerStorage beeswithstingerss 41 — 4y
0
Values that are stored on the client are easily changed by the client. beeswithstingerss 41 — 4y
0
So, i should make the LocalScript in the PlayerGui fire a RemoveEvent that's stored inside ReplicatedStorage ? HeadlessDeathSpeaker 9 — 4y

Answer this question