Im attempting acheive the creation of an admin panel for a short event Im making. It will have 5 cutscenes that, when clicked, every client will have the cutscene play.
For whatever reason, it seems to fail. I cannot figure out why or how. I use this plugin for cutscenes. I have it set to fire when a remote event is played, but it is possible this should be done differently.
I’ve checked for answers to this, and I found client to all client form using a remote event to then send a remote event back to every client, and that produces no errors but fails.
Cutscene Scripts are stored in StarterPlayerScripts, Remote events are in in a folder called Cutscenes in ReplicatedStorage, There is a script in workspace that receives a central RemoteEvent that tells the server what event to play, then it fires the respective RemoteEvent for that cutscene.
Receiving Script:
cutscenes = game.ReplicatedStorage.Cutscenes.central
cutscenes.OnServerEvent:Connect(function(plr, scene)
if plr.Name == "hierogIyphical" then
scene:FireAllClients()
end
end)
Example localscript used for firing the central remote
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.Cutscenes.central:FireServer(game.ReplicatedStorage.Cutscenes.graveyard)
end)
This problem could be an issue with codes otaku, if so, please inform me.