Function action issue

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? A ball-shaped creature that rolls towards a dungeon when it hears a piece of food falling into a deep hole.

  2. What is the issue? I keep getting an error about the “Connect” part of a Connect(function()) action.

  3. What solutions have you tried so far? Any, i just cant get an idea in my head, and i cant find a corresponding article for this situation.

If the meatclowndied is an event, then it would be OnServerEvent:Connect(function()

Nope, the class is RemoteEvent.

yes, so it’d be OnServerEvent then

Nope, i pasted it in, and i got another error.


“Expected ‘(’, ‘{’ or when parsing function call, got “:””

game.ReplicatedStorage.MeatClownDied.OnServerEvent:Connect(function()

Thanks for the suggestions, it has been fixed!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.