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)
#Why is my Script not working?
1 messages · Page 1 of 1 (latest)
was ist das problem?
wenn ich darauf clicke (mit einem acc der denn gamepass nicht hatt) passirt Nichts
return bei:
function Kaufen(ID)
return MPS:PromptGamePassPurchase(Spieler, ID)
end
funktionirt immer noch nicht
Enum.InfoTypee.GamePass -> Enum.InfoType.GamePass
Laedt -> "Laedt"
Immer noch
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