can anyone help me fix my script?
local SocialService = game:GetService("SocialService")
local player = Players.LocalPlayer
local eventId = "6097128602602308162" -- Replace with your event ID
task.wait(4.5)
SocialService:PromptRsvpToEventAsync(eventId)
The script itself seems fine - running it myself makes it work as expected (using my own event ID). Given that it works for me, Ill just ask some generic questions, just to rule them out as possible reasons it isn’t working for you:
- If you put a print statement just before the PromptRsvp… call, does the print statement output?
- Are there any errors?
- Is the script running within the ‘experience’ “Bloxy Water Park” (the game associated with the event; it should error if it’s not, but just making sure).