Hello!
I am currently working on my shop’s UI, however my output is being flooded with some core script errors and I’m not sure how to go about it, or even if I am doing anything wrong. What’s even stranger is that it was working last week, and don’t remember making any changes.
Script (LocalScript):
local Prompts = {
["VIP"] = {
["Object"] = script.Parent.Parent.Parent.Gamepasses.VIP,
["GamepassID"] = 10587779
},
["Double"] = {
["Object"] = script.Parent.Parent.Parent.Gamepasses.Double,
["GamepassID"] = 10587903
}
}
script.Parent.MouseButton1Click:Connect(function()
for i,v in pairs(Prompts) do
if v["Object"] then
if v.Object == script.Parent.Parent.Parent.Gamepasses.Selection.Value then -- Gamepasses.Selection.Value is an ObjectValue, which determines which gamepass is being selected and which one to prompt.
local s, e = pcall(function()
MPS:PromptGamePassPurchase(game.Players.LocalPlayer, v.GamepassID)
end)
if not s then
warn(e)
end
end
end
end
end)
Summary
Errors:
[01:47:07.469 - CorePackages.Packages._Index.roblox_rodux.rodux.NoYield:26: CorePackages.Packages._Index.roblox_purchase-prompt.purchase-prompt.Localization.LocalizationService:194: invalid use of '%' in replacement string](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.471 - CorePackages.Packages._Index.roblox_purchase-prompt.purchase-prompt.Localization.LocalizationService:194 function getString](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.471 - CorePackages.Packages._Index.roblox_purchase-prompt.purchase-prompt.Components.Connection.TextLocalizer:20](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.472 - CorePackages.Packages._Index.roblox_purchase-prompt.purchase-prompt.Components.Connection.LocalizationContextConsumer:20 function render](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.473 - CorePackages.Packages._Index.roblox_roact.roact.Component:330 function __mount](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.474 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:363 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.475 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.475 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.476 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:308 function mountFunctionVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.477 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:361 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.477 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.478 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:111 function updateVirtualNodeWithChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.479 - CorePackages.Packages._Index.roblox_roact.roact.RobloxRenderer:215 function mountHostNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.480 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:359 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.482 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.483 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.485 - CorePackages.Packages._Index.roblox_roact.roact.Component:333 function __mount](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.486 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:363 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.487 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.488 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.489 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:308 function mountFunctionVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.490 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:361 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.491 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.492 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.494 - CorePackages.Packages._Index.roblox_roact.roact.Component:333 function __mount](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.494 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:363 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.495 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.496 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:111 function updateVirtualNodeWithChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.496 - CorePackages.Packages._Index.roblox_roact.roact.RobloxRenderer:215 function mountHostNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.497 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:359 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.498 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.498 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.499 - CorePackages.Packages._Index.roblox_roact.roact.Component:333 function __mount](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.500 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:363 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.500 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.501 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:111 function updateVirtualNodeWithChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.501 - CorePackages.Packages._Index.roblox_roact.roact.RobloxRenderer:215 function mountHostNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.502 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:359 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.502 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.503 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.503 - CorePackages.Packages._Index.roblox_roact.roact.Component:333 function __mount](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.504 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:363 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.504 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.505 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:111 function updateVirtualNodeWithChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.506 - CorePackages.Packages._Index.roblox_roact.roact.RobloxRenderer:215 function mountHostNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.506 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:359 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.507 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.508 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.509 - CorePackages.Packages._Index.roblox_roact.roact.Component:333 function __mount](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.510 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:363 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.511 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.512 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.512 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:308 function mountFunctionVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.513 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:361 function mountVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.514 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:93 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.514 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:111 function updateVirtualNodeWithChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.516 - CorePackages.Packages._Index.roblox_roact.roact.RobloxRenderer:273 function updateHostNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.517 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:234 function updateVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.518 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:72 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.519 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.521 - CorePackages.Packages._Index.roblox_roact.roact.Component:496 function __resolveUpdate](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.522 - CorePackages.Packages._Index.roblox_roact.roact.Component:434 function __update](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.522 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:238 function updateVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.523 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:72 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.524 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.524 - CorePackages.Packages._Index.roblox_roact.roact.Component:496 function __resolveUpdate](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.525 - CorePackages.Packages._Index.roblox_roact.roact.Component:434 function __update](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.525 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:238 function updateVirtualNode](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.526 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:72 function updateChildren](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.526 - CorePackages.Packages._Index.roblox_roact.roact.createReconciler:119 function updateVirtualNodeWithRenderResult](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.527 - CorePackages.Packages._Index.roblox_roact.roact.Component:496 function __resolveUpdate](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.528 - CorePackages.Packages._Index.roblox_roact.roact.Component:434 function __update](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.528 - CorePackages.Packages._Index.roblox_roact.roact.Component:161 function setState](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.529 - CorePackages.Packages._Index.roblox_roact-rodux.roact-rodux.connect:92](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.529 - CorePackages.Packages._Index.roblox_rodux.rodux.Signal:70 function fire](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.530 - CorePackages.Packages._Index.roblox_rodux.rodux.Store:125](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.530 - ](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
01:47:07.531 - Stack Begin
[01:47:07.531 - Script 'CorePackages.Packages._Index.roblox_rodux.rodux.NoYield', Line 13 - function resultHandler](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#13)
[01:47:07.532 - Script 'CorePackages.Packages._Index.roblox_rodux.rodux.NoYield', Line 26 - function NoYield](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B1f906b17-b308-442f-b848-d99a3b549c74%7D&gst=2#26)
[01:47:07.532 - Script 'CorePackages.Packages._Index.roblox_rodux.rodux.Store', Line 124 - function flush](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B89c79f63-bfe3-4f04-8395-98a8582ad430%7D&gst=2#124)
[01:47:07.533 - Script 'CorePackages.Packages._Index.roblox_rodux.rodux.Store', Line 46](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B89c79f63-bfe3-4f04-8395-98a8582ad430%7D&gst=2#46)
01:47:07.533 - Stack End