#Serverside script printing wrong intvalue? but intvalue is being changed serverside

18 messages · Page 1 of 1 (latest)

opaque berry
#

i have an intvalue thats being changed properly and everything is working fine except for the serverscript that reads the intvalue, its straight up giving me the wrong value

flat granite
#

are you changing this value localy?

opaque berry
#

nope

jade nimbusBOT
#

studio** You are now Level 7! **studio

opaque berry
#

serverside

#

and when i check the value with a completely different script it DOES print the proper value

flat granite
#

maybe show the part where it is being changed

opaque berry
#

hold on

#

its the CurrentweaponID.value

#

its changing fine

#

but output always gives me 1 no matter what

flat granite
#

where are these functions being triggered

opaque berry
#

inside the same script, within a GUI

flat granite
#

maybe because of what is script.parent.parent....slot2.Value

opaque berry
#

i ended up just referencing that value instead of the one i made

#

it seems to be working now