#Why is my Script not working?

1 messages · Page 1 of 1 (latest)

tough dust
#
local    ImBesitz     =    MPS:UserOwnsGamePassAsync(Spieler.UserId, ID)
           local    ProduktName  =    Produktinfo.Name
           local    ProduktPreis =    Produktinfo.PriceInRobux
           if       Produktinfo.IsForSale ==false then
                    ProduktPreis =    "Not for Sale"
           else
                    ProduktPreis =    tostring(ProduktPreis).." R$"
           end
           local    ProduktBild  =    Produktinfo.IconImageAssetId
           if       ProduktBild  == nil then
                    ProduktBild  =  "rbxasset://textures/ui/GuiImagePlaceholder.png"
           else 
                    ProduktBild  =    "rbxassetid://"..tostring(ProduktBild)
           end
          
          
          
          Name.Text              =    ProduktName
          if   ImBesitz == true then
               Preis.Text        =    "Im Besitz"
               Button.Active     =    false 
          else
                Preis.Text       =    ProduktPreis
          end
          Button.Image           =    ProduktBild
          
          Button.Activated:Connect(function()
                  Kaufen(ID)
          end)
         
end



ShopButton.Activated:Connect(ShopAnzeigen)
ShopExitButton.Activated:Connect(ShopAnzeigen)
#

I dont know how I can get the script in one message

spice forge
tough dust
#

wenn ich darauf clicke (mit einem acc der denn gamepass nicht hatt) passirt Nichts

spice forge
#

return bei:

function Kaufen(ID)
  return MPS:PromptGamePassPurchase(Spieler, ID)
end
tough dust
#

funktionirt immer noch nicht

spice forge
#

Enum.InfoTypee.GamePass -> Enum.InfoType.GamePass
Laedt -> "Laedt"

tough dust
#

Immer noch

queen trout
#

Hello i have a question can someone help to fix this script i want my SignText to chance to a player's name when he/she join and to change back to Empty Garden when he/she leve but my script does not work