#Value is not a valid member of Player pls help

18 messages · Page 1 of 1 (latest)

worthy elbow
#
script.AddPuffs.OnServerEvent:Connect(function(player, StatsValue)
    local Puffs = player.leaderstats.Puffs
    
    Puffs.Value = Puffs.Value + StatsValue.Value
    
end)

and it gives me the error

Value is not a valid member of Player "Players.invvert"

please help

rancid token
#

what is invvert

#

oh

#

username

#

can u send screenie of the actual script

#

and the error

#

or can u tell me the entire error message

#

also

#

u should take away the value

#

from StatsValue.Value

#

maybe thats why

#

because u might be firing the event with statsvalue as an integer

worthy elbow
#

Yeah i can do and the statsvalue is used to add the multiplier from a weapon

rancid token
#

hm

#

can u also send the part of the script that fires the event

forest phoenix
worthy elbow
#

ah ok