I got this script from a tutorial as it's quite advanced, and it's not seeming to work. Have I typed in something wrong again? If this script works then it has to be something else ;-;

local market = game:GetService("MarketplaceService")
market.ProcessReceipt = function(ReciptInfo)
	if ReciptInfo.ProductId == 1116958360 then
		local player = game.Players:GetPlayerByUserId(ReciptInfo.PlayerId)
		game.ReplicatedStorage.RemoteEvent:FireAllClients(player)
		game.ReplicatedStorage.GUI:FireAllClients(player)
		wait(5)
		local nuke = game.ReplicatedStorage:WaitForChild("Nuke"):Clone()
		nuke.Parent = workspace
		wait(2)
		nuke:Destroy()
		return Enum.ProductPurchaseDecision.PurchaseGranted
	end
end