Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Remote event in replicated storage not running?

So I'm trying to get it so that when the player clicks a gui than a model in the workspace will have the CastShadow property turned off in all its children.

this is a localscript I have in StarterCharacterScripts:

local Options = game.ReplicatedStorage.Options

Options.Stage1.Option1.OnClientEvent:Connect(function()
	for i,v in pairs(game.Workspace.Containment:GetChildren()) do
		v.CastShadow = false
	end
end)

and then in the textbox gui I have this localscript

script.Parent.MouseButton1Click:Connect(function()
	game.ReplicatedStorage.Options.Stage1.Option1:FireAllClients()
end)

So I click the gui, nothing happens ????

...

plz help

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.