Hi! I want to print something from a local script inside the player’s character when a boolvalue inside the local script is changed. I’m trying to do it by using GetPropertyChangedSignal but the problem is it does not work.
I tried using .Changed, I tried changing the value myself from the server mode, but nothing. Does anyone have any idea why the local script is not working?
Script inside the ProximityPrompt I’m using, which is working:
local prompt = script.Parent
local grappleAction = player.Character:FindFirstChild("Grapple"):FindFirstChild("shouldGrapple")
grappleAction.Value = true
grappleAction.Value = false
Local Script inside the player character:
local Action = script.shouldGrapple
Actually you’re right, I mistaken the reason why it didn’t work. Now I look at it I believe it doesn’t work because localscript is a descendant of workspace and not parented by a character model so it doesn’t run the code inside it.