hello everyone,
for some reason, i’m having trouble with printing a table with certain indexes and values
in this case, i want to print the following
print({
SprintingSpeed = character.SprintSpeed,
CurrentStamina = character.Stamina,
MaxStamina = character.Stamina,
StaminaGainPerSec = character.SpeedGainPerSec,
StaminaLossPerSec = character.SpeedLossPerSec,
OriginalWalkSpeed = character.WalkSpeed
})
character
is referred to as the following table:
return {
WalkSpeed = 16,
Stamina = 150,
StaminaLossPerSec = 10,
StaminaGainPerSec = 20,
SprintSpeed = 26,
Name = "JX1DX1",
Model = script.JX1DX1,
Type = "Character",
Cost = 0,
Abilities = {
require(script.Punch),
require(script.Minion),
require(script.Dash),
require(script.Scream)
},
Skins = {
["=)"] = require(script["=)"]),
--require(script.Test)
},
RoundFunctions = {
OnStun = function(Killer: Player)
print("changed function "..Killer.Name)
end,
}
}
one of the missing values is, for example, StaminaLossPerSec
any help would be appreciated thanks!