Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can a script edit the disabled value of a localscript under Replicated Storage?

Asked by
Burobuu 18
5 years ago

Trying to have my script under a part in the workspace change the value of a local script under Replicated Storage when touched. I can tell it's being touched because I added a lil print function to make sure. But the script isn't disabled unless I manually check it off in the studio.

local cd = script.Parent.ClickDetector

cd.MouseClick:connect(function()
    print "touched!"
    game.ReplicatedFirst.CFrameV4Beta.Disabled = true
end)
0
is CFramev4Beta a localscript? Imperialy 149 — 5y
0
and localscripts dont run in replicatedfirst.. thats for loading guis Imperialy 149 — 5y

Answer this question