You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I would like to be able to get the instance name to search the player with the instance name. -
What is the issue? Include screenshots / videos if possible!
The print gives me “Value”. When in the workspace the instance name is “kArmag0re”.
Code that searches the name
--This is a server script located in the workspace
local Main = script.Parent.Parent
print(Main.Name) --Gives "Value"
Code that gives the name to the instance
--this is a module scipt, activated by a server script
local Main = Instance.new("StringValue")
Main.Name = Player.Name
Instance in the workspace
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I can’t find a solution