Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ses = Instance.new("TextButton")
- local Equipped = Instance.new("ImageLabel")
- local PetIcon = Instance.new("ImageLabel")
- local Locked = Instance.new("TextLabel")
- local UICorner = Instance.new("UICorner")
- local Level = Instance.new("TextLabel")
- local Stars = Instance.new("Frame")
- local UIListLayout = Instance.new("UIListLayout")
- local Star = Instance.new("ImageLabel")
- local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
- local StarGradient = Instance.new("UIGradient")
- local HC = Instance.new("TextLabel")
- local RarityGradient = Instance.new("ImageLabel")
- local DeleteOverlay = Instance.new("ImageLabel")
- local GiftboxIcon = Instance.new("ImageLabel")
- local StarGradient_2 = Instance.new("UIGradient")
- local ButtonUIScale = Instance.new("UIScale")
- --Properties:
- ses.Name = "ses"
- ses.Parent = game.Players.LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets
- ses.BackgroundColor3 = Color3.fromRGB(59, 177, 252)
- ses.BorderSizePixel = 0
- ses.LayoutOrder = 45
- ses.Size = UDim2.new(0, 100, 0, 100)
- ses.ZIndex = 2
- ses.AutoButtonColor = false
- ses.Font = Enum.Font.GothamBold
- ses.Text = ""
- ses.TextColor3 = Color3.fromRGB(0, 0, 0)
- ses.TextSize = 18.000
- Equipped.Name = "Equipped"
- Equipped.Parent = ses
- Equipped.AnchorPoint = Vector2.new(0.5, 0.5)
- Equipped.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Equipped.BackgroundTransparency = 1.000
- Equipped.BorderSizePixel = 0
- Equipped.Position = UDim2.new(0.800000012, 0, 0.200000003, 0)
- Equipped.Size = UDim2.new(0.400000006, 0, 0.400000006, 0)
- Equipped.Visible = false
- Equipped.ZIndex = 11
- Equipped.Image = "rbxassetid://6516386809"
- Equipped.ScaleType = Enum.ScaleType.Fit
- PetIcon.Name = "PetIcon"
- PetIcon.Parent = ses
- PetIcon.AnchorPoint = Vector2.new(0.5, 0.5)
- PetIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- PetIcon.BackgroundTransparency = 1.000
- PetIcon.BorderSizePixel = 0
- PetIcon.Position = UDim2.new(0.5, 0, 0.5, 0)
- PetIcon.Size = UDim2.new(1.04999995, 0, 1.04999995, 0)
- PetIcon.ZIndex = 5
- PetIcon.Image = "rbxassetid://10015952468"
- PetIcon.ScaleType = Enum.ScaleType.Fit
- Locked.Name = "Locked"
- Locked.Parent = PetIcon
- Locked.AnchorPoint = Vector2.new(0.5, 0.5)
- Locked.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Locked.BackgroundTransparency = 1.000
- Locked.BorderSizePixel = 0
- Locked.Position = UDim2.new(0.5, 0, 0.5, 0)
- Locked.Size = UDim2.new(0.800000012, 0, 0.800000012, 0)
- Locked.Visible = false
- Locked.ZIndex = 8
- Locked.Font = Enum.Font.FredokaOne
- Locked.Text = "?"
- Locked.TextColor3 = Color3.fromRGB(255, 255, 255)
- Locked.TextScaled = true
- Locked.TextSize = 18.000
- Locked.TextWrapped = true
- UICorner.CornerRadius = UDim.new(1, 0)
- UICorner.Parent = ses
- Level.Name = "Level"
- Level.Parent = ses
- Level.AnchorPoint = Vector2.new(1, 1)
- Level.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Level.BackgroundTransparency = 1.000
- Level.BorderSizePixel = 0
- Level.Position = UDim2.new(1.10000002, 0, 1.20000005, 0)
- Level.Size = UDim2.new(1, 0, 0.5, 0)
- Level.Visible = false
- Level.ZIndex = 10
- Level.Font = Enum.Font.FredokaOne
- Level.Text = "99"
- Level.TextColor3 = Color3.fromRGB(255, 255, 255)
- Level.TextScaled = true
- Level.TextSize = 18.000
- Level.TextStrokeColor3 = Color3.fromRGB(19, 48, 57)
- Level.TextStrokeTransparency = 0.000
- Level.TextWrapped = true
- Level.TextXAlignment = Enum.TextXAlignment.Right
- Level.TextYAlignment = Enum.TextYAlignment.Top
- Stars.Name = "Stars"
- Stars.Parent = ses
- Stars.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Stars.BackgroundTransparency = 1.000
- Stars.BorderSizePixel = 0
- Stars.Size = UDim2.new(1, 0, 0.300000012, 0)
- Stars.ZIndex = 10
- UIListLayout.Parent = Stars
- UIListLayout.FillDirection = Enum.FillDirection.Horizontal
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(-0.150000006, 0)
- Star.Name = "Star"
- Star.Parent = Stars
- Star.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Star.BackgroundTransparency = 1.000
- Star.BorderSizePixel = 0
- Star.Size = UDim2.new(1, 0, 1, 0)
- Star.ZIndex = 10
- Star.Image = "rbxassetid://7112773308"
- Star.ScaleType = Enum.ScaleType.Fit
- UIAspectRatioConstraint.Parent = Star
- StarGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 205, 20)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 237, 42))}
- StarGradient.Name = "StarGradient"
- StarGradient.Parent = Star
- HC.Name = "HC"
- HC.Parent = ses
- HC.AnchorPoint = Vector2.new(1, 1)
- HC.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- HC.BackgroundTransparency = 1.000
- HC.BorderSizePixel = 0
- HC.Position = UDim2.new(1.10000002, 0, 0.850000024, 0)
- HC.Size = UDim2.new(1, 0, 0.200000003, 0)
- HC.Visible = false
- HC.ZIndex = 10
- HC.Font = Enum.Font.FredokaOne
- HC.Text = "HC★"
- HC.TextColor3 = Color3.fromRGB(138, 146, 255)
- HC.TextScaled = true
- HC.TextSize = 18.000
- HC.TextStrokeColor3 = Color3.fromRGB(19, 48, 57)
- HC.TextStrokeTransparency = 0.000
- HC.TextWrapped = true
- HC.TextXAlignment = Enum.TextXAlignment.Right
- HC.TextYAlignment = Enum.TextYAlignment.Top
- RarityGradient.Name = "RarityGradient"
- RarityGradient.Parent = ses
- RarityGradient.AnchorPoint = Vector2.new(0.5, 0.5)
- RarityGradient.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- RarityGradient.BackgroundTransparency = 1.000
- RarityGradient.BorderSizePixel = 0
- RarityGradient.Position = UDim2.new(0.5, 0, 0.5, 0)
- RarityGradient.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- RarityGradient.Visible = false
- RarityGradient.Image = "rbxassetid://6511853914"
- RarityGradient.ScaleType = Enum.ScaleType.Fit
- DeleteOverlay.Name = "DeleteOverlay"
- DeleteOverlay.Parent = ses
- DeleteOverlay.AnchorPoint = Vector2.new(0.5, 0.5)
- DeleteOverlay.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DeleteOverlay.BackgroundTransparency = 1.000
- DeleteOverlay.BorderSizePixel = 0
- DeleteOverlay.Position = UDim2.new(0.5, 0, 0.5, 0)
- DeleteOverlay.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- DeleteOverlay.Visible = false
- DeleteOverlay.ZIndex = 8
- DeleteOverlay.Image = "rbxassetid://6996371346"
- DeleteOverlay.ImageColor3 = Color3.fromRGB(255, 26, 26)
- DeleteOverlay.ScaleType = Enum.ScaleType.Fit
- GiftboxIcon.Name = "GiftboxIcon"
- GiftboxIcon.Parent = ses
- GiftboxIcon.AnchorPoint = Vector2.new(1, 1)
- GiftboxIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- GiftboxIcon.BackgroundTransparency = 1.000
- GiftboxIcon.BorderSizePixel = 0
- GiftboxIcon.Position = UDim2.new(1, 0, 1, 0)
- GiftboxIcon.Size = UDim2.new(0.400000006, 0, 0.400000006, 0)
- GiftboxIcon.ZIndex = 10
- GiftboxIcon.Image = "rbxassetid://9846432313"
- GiftboxIcon.ScaleType = Enum.ScaleType.Fit
- StarGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 205, 20)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 237, 42))}
- StarGradient_2.Name = "StarGradient"
- StarGradient_2.Parent = GiftboxIcon
- ButtonUIScale.Name = "ButtonUIScale"
- ButtonUIScale.Parent = ses
- -- Scripts:
- local function OGAOTX_fake_script() -- ses.LocalScript
- local script = Instance.new('LocalScript', ses)
- local v1 = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"));
- while not v1.Loaded do
- game:GetService("RunService").Heartbeat:Wait();
- end;
- script.Parent.MouseButton1Click:Connect(function()
- if v1.Message.New("Do you wanna open this gift?", true) then
- script.Parent:Destroy()
- end
- end)
- end
- coroutine.wrap(OGAOTX_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement