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

"InvokeSever not a valid member of RemoteEvent" how do I fix this?

I'm currently attempting to make my first game and this issue is with the player GUI, I tested this and clicked the menu button and that worked but inside of the menu the rebirthing button once clicked should say something like "Rebirth unsuccessful" but I get no change in the button and the error message: InvokeServer is not a valid member of RemoteEvent.

So the code is as follows: rebirthButton.MouseButton1Click:Connect(function() local result = replicatedStorage.Remotes.Rebirth:InvokeSever()

Can anyone explain to me why this is happening???

1 answer

You are using InvokeServer wich is a function from RemoteFunction, Make the RemoteEvent into a RemoteFunction

rebirthButton.MouseButton1Click:Connect(function() 
local result = replicatedStorage.Remotes.Rebirth:InvokeSever()
end)

also end the event

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