You don’t need playerToEdit or v.UserId because the Player is included in Player-Server Remotes by default
ConfirmButton.Activated:Connect(function()
print(levelInput.Text)
--by the way check if Text can be converted to number at all
ChangeLevelEvent:FireServer(tonumber(levelInput.Text))
levelUI.Visible = false
local function setDataStoreFired(playerToEdit, setLevel)
print(playerToEdit)
print(setLevel)
end
The issue with this is, playerToEdit is the user I’m trying to edit (Which is not the command user) so by not sending this, the remoteEvent will only have the command user