#Hi, I want to make custom wallpaper with gamepass.

1 messages · Page 1 of 1 (latest)

primal plank
#

local ClassicWallpaper = script.Parent.Parent.Parent.Parent.Parent.Parent.MenuFrame
local IppotamoWallpaper = script.Parent.Parent.Parent.Parent.Parent.Wallpapers.Ippopotamo
local CustomWallpaper = script.Parent.Parent.Parent.Parent.Parent.Wallpapers.Custom

SetButton.MouseButton1Up:Connect(function()
    ClassicWallpaper.BackgroundTransparency = 1
    IppotamoWallpaper.Visible = false
    CustomWallpaper.Visible = true
end)```
#

this is currently the script

#

but i haven't added the custom wallpaper id things and such

#

because i don't know how to do it

#

this script might be a mess, because im still learning

hasty sentinel
#

There are thousands of tutorials about making game passes and such, I would recommend that you watch those first before coming here

primal plank
primal plank
#

im trying to make that if i put id in textbox it gets the text and puts it into the ImageLabel.Image

#

but it doesnt work

#

i also made that it shows in the preview but its invisible

#
local MarketplaceService = game:GetService("MarketplaceService")
local DecalIdBox = SetButton.Parent.DecalIdBox

local WallpaperPreview = SetButton.PlayIcon

local ClassicWallpaper = script.Parent.Parent.Parent.Parent.Parent.Parent.MenuFrame
local IppotamoWallpaper = script.Parent.Parent.Parent.Parent.Parent.Wallpapers.Ippopotamo
local CustomWallpaper = script.Parent.Parent.Parent.Parent.Parent.Wallpapers.Custom

SetButton.MouseButton1Up:Connect(function()
    local decalId = DecalIdBox.Text
    
    if decalId and decalId ~= "" then
        
        CustomWallpaper.Image = ""
        WallpaperPreview.Image = ""
        
        CustomWallpaper.Image = "rbxassetid://" .. decalId
        WallpaperPreview.Image = "rbxassetid://" .. decalId
         
        ClassicWallpaper.BackgroundTransparency = 1
        IppotamoWallpaper.Visible = false
        CustomWallpaper.Visible = true
        
        print("Nowa tapeta ustawiona:", decalId)
    else
        warn("Nieprawidłowy Decal ID!")
    end
end)```
#

there is the script

#

ru here??

faint adderBOT
#

studio** You are now Level 4! **studio

primal plank
#

@hasty sentinel

primal plank
primal plank
primal plank
#

please someone?? 😞