#why is this getting disabled for everyone when its a local script?
1 messages · Page 1 of 1 (latest)
it doesnt get disabled for everyone UNLESS the localscript happends to be triggered by everyone at same time
oh wiat wait
its chaarcter
so it has networking ownership
so its replicating the disabled to everyone else
so what you have to do is either dont put it in player
or just enable from other scripts ig
like dont put the proxprompt parent as player?
yea
that's not how it works as far as I'm aware
you can test but i think it does
network ownership doesn't replicate full instance properties and it only applies to base parts
network ownership is only physics-sided
So it replicates things such as position, rotation, etc but not things such as name or transparency
and you can only set the network owernship for base parts which is why it doesn't affect anything like this
maybe tbf
i recall testiing one thing with tools
and it worked
but it was bit diffrent
it was if script had network ownership or nah
best is to try tbf i dont know myself rn
@oblique grail Did you check that it's visible without disabling it on the client? Maybe try setting the RequiresLineOfSight property to false
scripts definitely don't have anything like network ownership
it only applies to base parts
idk man
i might be just saying wrong
i feel like i tested once and it was diff
maybe i recall wrong
alr ill try that
that didnt fix, but if i set the the proxprompt.enabled = true in the local script i can see it so i think its just a problem with the enabling stuff and i have zero clue what it could be
(im testing by having other people join the server btw)
the only thing i can think of is that in the past ive had problems where if someone stepped on a block that was supposed to display a gui only to them using a local script the gui would display for everyone but I fixed that and tried the same thing here and it didnt work
so i really dont know why it doesnt work but im guessing its along the lines of that type fo problem
@versed hawk maybe u can work ur magic and know why its now working?
why have i been summoned
i could be stupid and missing something but i have no idea why this isnt working
you didn't show enough code to determine the issue
it's like you're saying here's my code: print("Hello World") and you're asking why isn't it printing? how tf we supposed to know that? you only showed the print
for all we know it's a localscript in starterplayerscripts that connects to playeradded and runs this on every player
who knows, you didn't show it 🤷
lowkey fixed it while typing out a msg to u (I was running the local scirpt before the serverscript could create the prox prompt and some other stuff but now it works. thx for the help
praise Jesus