This is the script i put in for the donation gui:
local id = 1077699787
script.Parent.TextButton.MouseButton1Click:connect(function()
game.MarketplaceService:PromptProductPurchase(script.Parent.Parent.Parent, id)
end)
It was working at one point then it was not. now when i click on the donation gui it does not work
Can someone please help

7 comments
Format in code block please.
what does that mean sorry im new to this website and scripting
are you still online
please help
It can be because you are using Normal Script. you MUST use a Local Script for these. Insert a Local script and write exactly what is written in the script you wrote.
Hi you answered my question and told me to use a local script. I copyed the script deleted it and pasted it on the local script and i played it to test out my donation button and it still did not work any other suggestions?
Oh my GOD i found a HUGE problem right now