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

[SOLVED] Why wont this RemoteEvent fire?

Asked by
Zeluxis 100
5 years ago
Edited 5 years ago

EDIT: This has been solved. I realised the ServerScript was in ReplicatedStorage, not ServerScriptService.

Hi,

I'm having a bit of an issue with a RemoteEvent. On the localscript, it fires fine, and it shows in the output (console), however, on the script, it does not show on the output and the code that is in place to work after the event is fired is not executing.

I'm really at a stump here.

Local Script

script.Parent.MouseButton1Click:Connect(function()

game.ReplicatedStorage.Events.QueueChange:FireServer("MindTweaser",script.Parent.Parent.TextBox.Text)

end)

Server Script

game.ReplicatedStorage.Events.QueueChange.OnServerEvent:Connect(function(Plr,Ride,Timechange)

print("Queue Change Activating")

local RideFound=script.Parent:FindFirstChild(Ride)

RideFound.Value.Value=Timechange

print("Queue Changed")

end)
0
I think you need to assign the value of parameter number 3 xmaanzach 28 — 5y

Answer this question