local player = game.Players.LocalPlayer
local int = Instance.new("ScreenGui")
int.Parent = player.PlayerGui
local frame = Instance.new("Frame")
frame.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255) frame.Size = UDim2.new(1,0,1,0)
frame.Position = UDim2.new(-1,0,0,0) --Sets beyond the left side of the screen.
frame.Parent = int local img = Instance.new("ImageLabel") img.BackgroundTransparency = 1 img.Image = "rbxasset://348547239" -- The image is linked but isn't showing up < img.ZIndex = 5 img.Parent=frame
img.Size = UDim2.new(0.1,0,0.15,0)
img.Position = UDim2.new(0.45,0,0.4,0)
local txt = Instance.new("TextLabel")
txt.Text = "Welcome to R2K Devloped by UssopTheGod "
txt.TextColor3 = Color3.new(0/255, 0/255, 0/255)
txt.Position = UDim2.new(0.35,0,0.55,0)
txt.Size = UDim2.new(0.3,0,0.1,0) txt.Font = "SourceSansLight" txt.TextScaled = true txt.TextWrapped = true txt.ZIndex = 5 txt.BackgroundTransparency = 1 txt.Parent = frame local button = Instance.new("TextButton") button.Parent = frame button.Text = "Exit GUI" button.Position = UDim2.new(0.35,0,0.7,0) button.Size = UDim2.new(0.3,0,0.1,0) button.ZIndex = 5
button.Visible = false wait(3) frame:TweenPosition(UDim2.new(0,0,0,0)) --Moves to the a place where the player can see the frame.
wait(5) button.Visible = true
button.MouseButton1Down:connect(function() frame:TweenPosition(UDim2.new(1,0,0,0)) --Moves to the far right of the screen where the player can not see it.
wait(2) int:Destroy()
end) --Everything In this script works accept the image doesn't show up in the background of the GUI and everything we try doesn't work ,
Hi there, i'm back. First of all you forgot to set the parent of the image, and also make sure you do "http://www.roblox.com/asset/?id=" then your decal id and -1 from the last number in your id. This is the code you should have ;)
local player = game.Players.LocalPlayer local int = Instance.new("ScreenGui") int.Parent = player.PlayerGui local frame = Instance.new("Frame") frame.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255) frame.Size = UDim2.new(1,0,1,0) frame.Position = UDim2.new(-1,0,0,0) --Sets beyond the left side of the screen. frame.Parent = int local img = Instance.new("ImageLabel") img.BackgroundTransparency = 1 img.Parent = frame img.Image = "http://www.roblox.com/asset/?id=348547238" -- The image is linked but isn't showing up < img.ZIndex = 5 img.Parent=frame img.Size = UDim2.new(0.1,0,0.15,0) img.Position = UDim2.new(0.45,0,0.4,0) local txt = Instance.new("TextLabel") txt.Text = "Welcome to R2K Devloped by UssopTheGod " txt.TextColor3 = Color3.new(0/255, 0/255, 0/255) txt.Position = UDim2.new(0.35,0,0.55,0) txt.Size = UDim2.new(0.3,0,0.1,0) txt.Font = "SourceSansLight" txt.TextScaled = true txt.TextWrapped = true txt.ZIndex = 5 txt.BackgroundTransparency = 1 txt.Parent = frame local button = Instance.new("TextButton") button.Parent = frame button.Text = "Exit GUI" button.Position = UDim2.new(0.35,0,0.7,0) button.Size = UDim2.new(0.3,0,0.1,0) button.ZIndex = 5 button.Visible = false wait(3) frame:TweenPosition(UDim2.new(0,0,0,0)) --Moves to the a place where the player can see the frame. wait(5) button.Visible = true button.MouseButton1Down:connect(function() frame:TweenPosition(UDim2.new(1,0,0,0)) --Moves to the far right of the screen where the player can not see it. wait(2) int:Destroy() end)