I am trying to identify the player so I can get this script working, please help me out XD
I made my own datasave, so practically, player's file will only load if they are online and anything inside the player file will load when they play my game. This script is use for an exp bar to display how much exp you have or gained. Please help me out!
Script:
game.ServerStorage.StatFile.Player.statnumba.exp.Value
Well if you have the player set as a variable we can use that to get its name and get to the value
local player = nil --change to the player game.ServerStorage.StatFile:FindFirstChild(player.Name).statnumba.exp.Value
I used findfirstchild to find the file with the player's name
Closed as Not Constructive by Goulstem
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?