Why can't I fire my remote event?
Asked by
4 years ago Edited 4 years ago
Hi there, thanks for reading. So, for my game, I was having troubles doing everything by time, so, I decided to do a remote event. The remote event's in the replicated storage, which is named Drop.
Script when remote event's fired:
1 | game.ReplicatedStorage.Drop.OnServerEvent:Connect( function (plr) |
4 | workspace.HereYouComeAgainDrop.Anchored = false |
6 | workspace.TheFirstTalkingGuiDrop.Anchored = false |
Script to fire it:
1 | script.Parent.MouseButton 1 Click:Connect( function () |
3 | game.ReplicatedStorage.Drop:FireClient() |
5 | script.Parent.Parent.Parent.Enabled = false |
Now, this script doesn't work... It won't close the GUI, so, I don't even know if the FireClient works.
If you give an answer, please help me, or correct this, instead of simply sending me to a website. I tried the remote event article on the developer website, but it didn't help. Thank you!