Im making a system for a player to add a new file to their inventory to put specific objects they want to into it but when I try to save the textbox’s text in variables so the server scripts can read it one of the variables changes to the players name after on the server’s side
local script:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local MoveInfo = ReplicatedStorage:WaitForChild("MoveInfo")
function TurnedOn()
local Infoe = script.Parent.Parent.InputInfo.Text
local Namee = script.Parent.Parent.InputName.Text
print(Namee)
print(Infoe)
MoveInfo:FireServer(Infoe,Namee)
end
script.Parent.Activated:Connect(TurnedOn)
server script:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local MoveInfo = ReplicatedStorage:WaitForChild("MoveInfo")
function Moveing(Namee,Infoe)
print(Namee)
print(Infoe)
script.Parent.Infoo.NamE.Value = Namee
script.Parent.Infoo.Info.Value = Infoe
end
MoveInfo.OnServerEvent:Connect(Moveing)
output:
Other
Try to use folders to clean your E-Storage as every object is unique and they don’t stack.
floppofuss
Try to use folders to clean your E-Storage as every object is unique and they don’t stack.