Hello devs, i have been making a event system. this system has a remote called “Players” that is supposed to fire from a local script into a server script. this script is located in a “ScreenGui”.
(I am getting no errors btw)
What did i try: Making a new value inside the “ScreenGui” and putting a value of 5 into it and see if it fires but it still doesnt for some reasons. Turned on http and restarting studio (did nothing). Iv spoke to 2 really good scripters that are telling me that this should work and that they dont know what is wrong with it.
Here what it looks like in the explorer:

local script:
local rep = game:GetService("ReplicatedStorage")
local plr_event = rep:WaitForChild("GameEvents"):WaitForChild("Players")
local timer_ready = rep:WaitForChild("GameEvents"):WaitForChild("GetReadyTimer")
local ui = script.Parent
while task.wait() do
if timer_ready.Value == 10 then
print("worked on client")
plr_event:FireServer()
print("fired on client")
ui.No.Visible = true
ui.Yes.Visible = true
ui.Effect1.Visible = true
ui.Effect2.Visible = true
ui.JoinText.Visible = true
end
end
module script:
module.Events = {
function()
plr_event.OnServerEvent:Connect(function(plr)
print("fired server")
local ui = plr.PlayerGui:WaitForChild("EventsGui")
local play_event = plr.Character:FindFirstChild("PlayingEvent")
print("works1")
--------------------------------------------------------------------------------------
ui:WaitForChild("Yes").MouseButton1Click:Connect(function()
ui:WaitForChild("Yes").Visible = false
ui:WaitForChild("No").Visible = false
ui:WaitForChild("Effect1").Visible = false
ui:WaitForChild("Effect2").Visible = false
ui:WaitForChild("JoinText").Visible = false
plr.Character.PrimaryPart.CFrame = game.Workspace.TpPlaces.RaceObby.Tp2.CFrame
play_event.Value = true
print("works2")
end)
this module script has a lot more in it like a timer script and other events that are randomely picked.
whats happening here is that the 2 prints in the local script arent printing so i would assume that the remote is not firing and that something is wrong. The thing is i know the value is getting changed and that the value is right since it is counting from 10 to 0 (this is handled by the module script since it has a event section and a timer section) so the value should be right.
