Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Gui to Lua Converter
- -- Revamped by:HoIyScript
- --]]
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local type = Instance.new("TextBox")
- local name = Instance.new("TextBox")
- local stat = Instance.new("TextBox")
- local amount = Instance.new("TextBox")
- local btn = Instance.new("TextButton")
- local TextLabel_3 = Instance.new("TextLabel")
- local TextLabel_4 = Instance.new("TextLabel")
- local Frame_3 = Instance.new("Frame")
- local toggle = Instance.new("TextButton")
- --[[
- Properties:
- --]]
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- Frame.BorderColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(0.331683159, 0, 0.35888502, 0)
- Frame.Size = UDim2.new(0, 363, 0, 159)
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Frame_2.BorderColor3 = Color3.new(1, 1, 1)
- Frame_2.Size = UDim2.new(0, 363, 0, 19)
- TextLabel.Parent = Frame_2
- TextLabel.BackgroundColor3 = Color3.new(0.862745, 0.152941, 0.862745)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.223140493, 0, 0, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 19)
- TextLabel.Font = Enum.Font.Cartoon
- TextLabel.Text = "Ninja Legends UI"
- TextLabel.TextColor3 = Color3.new(0.862745, 0.152941, 0.862745)
- TextLabel.TextSize = 17
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0, 0, 0.924528301, 0)
- TextLabel_2.Size = UDim2.new(0, 363, 0, 12)
- TextLabel_2.Font = Enum.Font.GothamBold
- TextLabel_2.Text = " "
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextSize = 14
- type.Name = "type"
- type.Parent = Frame
- type.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
- type.Position = UDim2.new(0.0798898116, 0, 0.245283023, 0)
- type.Size = UDim2.new(0, 135, 0, 21)
- type.Font = Enum.Font.SourceSans
- type.PlaceholderColor3 = Color3.new(1, 1, 1)
- type.PlaceholderText = "Insert pet's type here"
- type.Text = ""
- type.TextColor3 = Color3.new(0, 0, 0)
- type.TextSize = 14
- name.Name = "name"
- name.Parent = Frame
- name.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
- name.Position = UDim2.new(0.545454562, 0, 0.245283023, 0)
- name.Size = UDim2.new(0, 135, 0, 21)
- name.Font = Enum.Font.SourceSans
- name.PlaceholderColor3 = Color3.new(1, 1, 1)
- name.PlaceholderText = "Insert pet's name here"
- name.Text = ""
- name.TextColor3 = Color3.new(0, 0, 0)
- name.TextSize = 14
- stat.Name = "stat"
- stat.Parent = Frame
- stat.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
- stat.Position = UDim2.new(0.0798898116, 0, 0.433962286, 0)
- stat.Size = UDim2.new(0, 135, 0, 21)
- stat.Font = Enum.Font.SourceSans
- stat.PlaceholderColor3 = Color3.new(1, 1, 1)
- stat.PlaceholderText = "Insert stat's name here"
- stat.Text = ""
- stat.TextColor3 = Color3.new(0, 0, 0)
- stat.TextSize = 14
- amount.Name = "amount"
- amount.Parent = Frame
- amount.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
- amount.Position = UDim2.new(0.545454562, 0, 0.440251589, 0)
- amount.Size = UDim2.new(0, 135, 0, 21)
- amount.Font = Enum.Font.SourceSans
- amount.PlaceholderColor3 = Color3.new(1, 1, 1)
- amount.PlaceholderText = "Insert amount here"
- amount.Text = ""
- amount.TextColor3 = Color3.new(0, 0, 0)
- amount.TextSize = 14
- btn.Name = "btn"
- btn.Parent = Frame
- btn.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
- btn.Position = UDim2.new(0.28374657, 0, 0.67295599, 0)
- btn.Size = UDim2.new(0, 156, 0, 24)
- btn.Font = Enum.Font.GothamBold
- btn.Text = "Click here to change pet's stats"
- btn.TextColor3 = Color3.new(1, 1, 1)
- btn.TextSize = 10
- btn.TextWrapped = true
- TextLabel_3.Parent = Frame
- TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_3.BackgroundTransparency = 1
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Position = UDim2.new(-0.134986222, 0, 0, 0)
- TextLabel_3.Size = UDim2.new(0, 41, 0, 159)
- TextLabel_3.Font = Enum.Font.SourceSans
- TextLabel_3.Text = "Use the white frame to drag toggle button"
- TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 14
- TextLabel_3.TextWrapped = true
- TextLabel_4.Parent = Frame
- TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_4.BackgroundTransparency = 1
- TextLabel_4.BorderSizePixel = 0
- TextLabel_4.Position = UDim2.new(1.01652896, 0, 0.00628930796, 0)
- TextLabel_4.Size = UDim2.new(0, 41, 0, 159)
- TextLabel_4.Font = Enum.Font.SourceSans
- TextLabel_4.Text = "By pet's type I mean it's tier. Not x-gen or whatever, but like, the teir of the pet."
- TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_4.TextScaled = true
- TextLabel_4.TextSize = 14
- TextLabel_4.TextWrapped = true
- Frame_3.Parent = ScreenGui
- Frame_3.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame_3.Position = UDim2.new(0.401980191, 0, 0.84668988, 0)
- Frame_3.Size = UDim2.new(0, 50, 0, 25)
- toggle.Name = "toggle"
- toggle.Parent = Frame_3
- toggle.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- toggle.Position = UDim2.new(0.411881208, 0, 0.900696874, 0)
- toggle.Size = UDim2.new(0, 200, 0, 28)
- toggle.Font = Enum.Font.GothamBold
- toggle.Text = "TOGGLE PANEL"
- toggle.TextColor3 = Color3.new(1, 1, 1)
- toggle.TextSize = 14
- --[[
- Scripts:
- --]]
- local function OKHQPL_fake_script() -- TextLabel_2.LocalScript
- local script = Instance.new('LocalScript', TextLabel_2)
- script.Parent.Text = game.Players.LocalPlayer.Name
- end
- coroutine.wrap(OKHQPL_fake_script)()
- local function CLLNAFL_fake_script() -- ScreenGui.LocalScript
- local script = Instance.new('LocalScript', ScreenGui)
- local f = script.Parent.Frame
- f.Active = true
- f.Draggable = true
- local PET_TYPE = f.type
- local PET_NAME = f.name
- local STAT_NAME = f.stat
- local AMOUNT = f.amount
- local btn = f.btn
- game:GetService("Workspace").FilteringEnabled = false
- wait(.3)
- btn.MouseButton1Down:Connect(function()
- if game:GetService("Workspace").FilteringEnabled == false then
- game:GetService("Players").LocalPlayer.petsFolder[PET_TYPE.Text][PET_NAME.Text][STAT_NAME.Text].Value = AMOUNT.Text
- elseif game:GetService("Workspace").FilteringEnabled == true then
- game.Players.LocalPlayer:Kick("Game is filteringenabled, kicked to save you.")
- end
- end)
- end
- coroutine.wrap(CLLNAFL_fake_script)()
- local function MUWTYF_fake_script() -- toggle.LocalScript
- local script = Instance.new('LocalScript', toggle)
- local gui = script.Parent.Parent.Parent
- local f = gui.Frame
- script.Parent.MouseButton1Down:Connect(function()
- if f.Visible == true then
- f.Visible = false
- elseif f.Visible == false then
- f.Visible = true
- end
- end)
- end
- coroutine.wrap(MUWTYF_fake_script)()
- local function LWNH_fake_script() -- Frame_3.LocalScript
- local script = Instance.new('LocalScript', Frame_3)
- script.Parent.Active = true
- script.Parent.Draggable = true
- end
- coroutine.wrap(LWNH_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement