Run it
Copy the script and paste it into your executor.
.() :()
= {}
.TrigonVer =
(.TrigonVer)
(()
x = :( .. .Players.LocalPlayer.Name)
)
(ButtonName,Image,Left)
.()
RunService = :()
GuiService = :()
ButtonName ~= Image ~=
RunService:()
Player = .Players.LocalPlayer
Player ~=
PlrCheck =
_,p (.Players:())
p == Player
PlrCheck =
PlrCheck ==
()
TopbarFrame
(()
TopbarFrame = ():()
)
TopbarFrame ==
TBUI = .()
TBUI.Parent = ()
TBUI.Name =
TBUI.DisplayOrder =
TBUI.Enabled =
TBUI.IgnoreGuiInset =
TBUI.ResetOnSpawn =
TBFrame = .()
TBFrame.Parent = TBUI
TBFrame.BackgroundTransparency =
TBFrame.BorderSizePixel =
TBFrame.Name =
TBFrame.Size = .(,,,)
TBFrame.ZIndex =
TBL = .()
TBL.Parent = TBFrame
TBL.BackgroundTransparency =
TBL.BorderSizePixel =
TBL.Name =
TBL.Position = .(,,,)
TBL.Size = .(,,,)
TBR = .()
TBR.Parent = TBFrame
TBR.BackgroundTransparency =
TBR.BorderSizePixel =
TBR.Name =
TBR.AnchorPoint = .(,)
TBR.Position = .(,-,,)
TBR.Size = .(,,,)
TBLUI = .()
TBLUI.Parent = TBL
TBLUI.Padding = .(,)
TBLUI.FillDirection = .FillDirection.Horizontal
TBLUI.HorizontalAlignment = .HorizontalAlignment.Left
TBLUI.SortOrder = .SortOrder.LayoutOrder
TBLUI.VerticalAlignment = .VerticalAlignment.Top
TBRUI = .()
TBRUI.Parent = TBR
TBRUI.Padding = .(,)
TBRUI.FillDirection = .FillDirection.Horizontal
TBRUI.HorizontalAlignment = .HorizontalAlignment.Right
TBRUI.SortOrder = .SortOrder.LayoutOrder
TBRUI.VerticalAlignment = .VerticalAlignment.Top
RunService.RenderStepped:(()
GuiService.MenuIsOpen ==
TBFrame.Visible =
TBFrame.Visible =
)
TopbarFrame = TBUI
CheckLeft = TopbarFrame.TopbarFrame.Left:(ButtonName)
CheckRight = TopbarFrame.TopbarFrame.Right:(ButtonName)
CheckLeft == CheckRight ==
NewButton = .()
NewButton.Name = ButtonName
NewButton.BackgroundTransparency =
NewButton.BorderSizePixel =
NewButton.Position = .(,,,)
NewButton.Size = .(,,,)
IconButton = .()
IconButton.Parent = NewButton
IconButton.BackgroundTransparency =
IconButton.Name =
IconButton.Size = .(,,,)
IconButton.ZIndex =
IconButton.Image =
IconButton.ScaleType = .ScaleType.Slice
IconButton.SliceCenter = Rect.(.(,),.(,))
BadgeContainer = .()
BadgeContainer.Parent = IconButton
BadgeContainer.BackgroundTransparency =
BadgeContainer.Size = .(,,,)
BadgeContainer.Name =
BadgeContainer.ZIndex =
BadgeContainer.Visible =
Badge = .()
Badge.Parent = BadgeContainer
Badge.BackgroundTransparency =
Badge.Name =
Badge.Position = .(,,,-)
Badge.Size = .(,,,)
BadgeBG = .()
BadgeBG.Parent = Badge
BadgeBG.BackgroundTransparency =
BadgeBG.Size = .(,,,)
BadgeBG.Name =
BadgeBG.ZIndex =
BadgeBG.Image =
BadgeBG.ImageColor3 = .(, , )
BadgeBG.ImageRectOffset = .(, )
BadgeBG.ImageRectSize = .(,)
BadgeBG.ScaleType = .ScaleType.Slice
BadgeBG.SliceCenter = Rect.(.(,),.(,))
Inner = .()
Inner.Parent = Badge
Inner.AnchorPoint = .(,)
Inner.BackgroundTransparency =
Inner.Name =
Inner.Position = .(,,,)
Inner.Size = .(,-,,-)
Inner.ZIndex =
Inner.Image =
Inner.ImageRectOffset = .(,)
Inner.ImageRectSize = .(,)
Inner.ScaleType = .ScaleType.Slice
Inner.SliceCenter = Rect.(.(,),.(,))
InnerTL = .()
InnerTL.Parent = Inner
InnerTL.BackgroundTransparency =
InnerTL.Name =
InnerTL.Size = .(,,,)
InnerTL.Font = .Font.Gotham
InnerTL.Text =
InnerTL.TextColor3 = .(, , )
InnerTL.TextSize =
IconImg = .()
IconImg.Parent = IconButton
IconImg.AnchorPoint = .(,)
IconImg.BackgroundTransparency =
IconImg.Name =
IconImg.Position = .(,,,)
IconImg.Size = .(,-,,)
IconImg.ZIndex =
IconImg.Image =
IconImg.ScaleType = .ScaleType.Fit
DropDown = .()
DropDown.Name =
DropDown.Parent = NewButton
DropDown.AnchorPoint = .(,)
DropDown.BackgroundTransparency =
DropDown.Position = .(,,,)
DropDown.Size = .(,,,)
DropDown.Image =
DropDown.ScaleType = .ScaleType.Slice
DropDown.SliceCenter = Rect.(.(,),.(,))
DropDown.Visible =
IconButton.MouseButton2Up:(()
DropDown.Visible = DropDown.Visible
)
DropList = .()
DropList.Parent = DropDown
DropList.FillDirection = .FillDirection.Vertical
DropList.HorizontalAlignment = .HorizontalAlignment.Left
DropList.SortOrder = .SortOrder.LayoutOrder
DropList.VerticalAlignment = .VerticalAlignment.Top
(()
NewButton.IconButton.IconImage.Image = Image
)
Left ==
NewButton.Parent = TopbarFrame.TopbarFrame.Left
NewButton.Parent = TopbarFrame.TopbarFrame.Right
IconButton.Activated:(()
TrigonMain = ().TrigonMain
TrigonMain.Enabled = TrigonMain.Enabled
)
tbl =
{
pulseimg = .(),
pulsescript = .()
}
tbl.pulseimg.ImageColor3 = .(, , )
tbl.pulseimg.SliceCenter = Rect.(, , , )
tbl.pulseimg.ScaleType = .ScaleType.Fit
tbl.pulseimg.BackgroundColor3 = .(, , )
tbl.pulseimg.ImageTransparency =
tbl.pulseimg.Image =
tbl.pulseimg.Size = .(, , , )
tbl.pulseimg.Name =
tbl.pulseimg.BackgroundTransparency =
tbl.pulseimg.Position = .(-, , -, )
tbl.pulseimg.Parent = IconButton
tbl.pulsescript.Name =
tbl.pulsescript.Parent = tbl.pulseimg
.(()
= tbl.pulsescript
TweenService = :()
uiElement = .Parent
normalSize = .(, , , )
bigSize = .(, , , )
normalPos = .(-, , -, )
bigPos = .(-, , -, )
tweenDuration =
pulseDuration =
(targetObject, targetSize, targetPos, duration)
tweenInfo = TweenInfo.(duration, .EasingStyle.Quad, .EasingDirection.InOut)
goals = {Size = targetSize, Position = targetPos}
TweenService:(targetObject, tweenInfo, goals)
()
startTime = ()
() - startTime < pulseDuration
growTween = (uiElement, bigSize, bigPos, tweenDuration)
growTween:()
growTween.Completed:()
shrinkTween = (uiElement, normalSize, normalPos, tweenDuration)
shrinkTween:()
shrinkTween.Completed:()
uiElement.Visible =
()
)
NewButton.IconButton
()
()
()
tbl =
{
TrigonLoader = .(),
MainFrame = .(),
KeySection = .(),
ImageLabel = .(),
Buttons = .(),
UIListLayout = .(),
zButton2 = .(),
UICorner = .(),
UIGradient = .(),
Title = .(),
zButton1 = .(),
UICorner_1 = .(),
Title_1 = .(),
UIGradient_1 = .(),
aKeyContainer = .(),
KeyBox = .(),
UICorner_2 = .(),
Frame = .(),
SelectorFrame = .(),
Buttons_1 = .(),
OptionL = .(),
UICorner_3 = .(),
UIStroke = .(),
ImageLabel_1 = .(),
TextLabel = .(),
overlay = .(),
UIListLayout_1 = .(),
OptionR = .(),
UIStroke_1 = .(),
ImageLabel_2 = .(),
TextLabel_1 = .(),
UICorner_4 = .(),
OptionH = .(),
UICorner_5 = .(),
UIStroke_2 = .(),
ImageLabel_3 = .(),
TextLabel_2 = .(),
overlay_1 = .(),
Title_2 = .(),
CloseBtn = .(),
UICorner_6 = .(),
LoaderFrame = .(),
ImageLabel_4 = .(),
list = .(),
UIListLayout_2 = .(),
Frame_1 = .(),
UICorner_7 = .(),
Bar = .(),
UICorner_8 = .(),
Title_3 = .(),
CloseBtn_1 = .(),
LocalScript = .(),
TrigonLogo = .()
}
tbl.TrigonLoader.ScreenInsets = .ScreenInsets.DeviceSafeInsets
tbl.TrigonLoader.IgnoreGuiInset =
tbl.TrigonLoader.ZIndexBehavior = .ZIndexBehavior.Sibling
tbl.TrigonLoader.Name =
tbl.TrigonLoader.DisplayOrder =
tbl.TrigonLoader.Parent = ()
tbl.MainFrame.BorderSizePixel =
tbl.MainFrame.Size = .(, , , )
tbl.MainFrame.Position = .(, , , )
tbl.MainFrame.BorderColor3 = .(, , )
tbl.MainFrame.Name =
tbl.MainFrame.BackgroundColor3 = .(, , )
tbl.MainFrame.Parent = tbl.TrigonLoader
tbl.KeySection.BorderSizePixel =
tbl.KeySection.Size = .(, , , )
tbl.KeySection.BackgroundTransparency =
tbl.KeySection.BorderColor3 = .(, , )
tbl.KeySection.Visible =
tbl.KeySection.Name =
tbl.KeySection.BackgroundColor3 = .(, , )
tbl.KeySection.Parent = tbl.MainFrame
tbl.ImageLabel.BorderSizePixel =
tbl.ImageLabel.ScaleType = .ScaleType.Fit
tbl.ImageLabel.BackgroundColor3 = .(, , )
tbl.ImageLabel.Image =
tbl.ImageLabel.Size = .(, , , )
tbl.ImageLabel.BorderColor3 = .(, , )
tbl.ImageLabel.BackgroundTransparency =
tbl.ImageLabel.Position = .(, , , )
tbl.ImageLabel.Parent = tbl.KeySection
tbl.Buttons.AnchorPoint = .(, )
tbl.Buttons.BorderSizePixel =
tbl.Buttons.Size = .(, , , )
tbl.Buttons.Position = .(, , , )
tbl.Buttons.BackgroundTransparency =
tbl.Buttons.BorderColor3 = .(, , )
tbl.Buttons.Name =
tbl.Buttons.BackgroundColor3 = .(, , )
tbl.Buttons.Parent = tbl.KeySection
tbl.UIListLayout.HorizontalAlignment = .HorizontalAlignment.Center
tbl.UIListLayout.Padding = .(, )
tbl.UIListLayout.Parent = tbl.Buttons
tbl.zButton2.Active =
tbl.zButton2.BorderSizePixel =
tbl.zButton2.ScaleType = .ScaleType.Fit
tbl.zButton2.BackgroundColor3 = .(, , )
tbl.zButton2.Selectable =
tbl.zButton2.AnchorPoint = .(, )
tbl.zButton2.Size = .(, , , )
tbl.zButton2.BorderColor3 = .(, , )
tbl.zButton2.Name =
tbl.zButton2.Position = .(, , , )
tbl.zButton2.Parent = tbl.Buttons
tbl.UICorner.CornerRadius = .(, )
tbl.UICorner.Parent = tbl.zButton2
tbl.UIGradient.Color = ColorSequence.{ ColorSequenceKeypoint.(, .(, , )), ColorSequenceKeypoint.(, .(, , )) }
tbl.UIGradient.Rotation = -
tbl.UIGradient.Parent = tbl.zButton2
tbl.Title.TextWrapped =
tbl.Title.BorderSizePixel =
tbl.Title.TextScaled =
tbl.Title.BackgroundColor3 = .(, , )
tbl.Title.FontFace = Font.(, .FontWeight.Regular, .FontStyle.Normal)
tbl.Title.AnchorPoint = .(, )
tbl.Title.TextSize =
tbl.Title.Name =
tbl.Title.Size = .(, , , )
tbl.Title.TextColor3 = .(, , )
tbl.Title.BorderColor3 = .(, , )
tbl.Title.Text =
tbl.Title.Position = .(, , , )
tbl.Title.BackgroundTransparency =
tbl.Title.Parent = tbl.zButton2
tbl.zButton1.Active =
tbl.zButton1.BorderSizePixel =
tbl.zButton1.ScaleType = .ScaleType.Fit
tbl.zButton1.BackgroundColor3 = .(, , )
tbl.zButton1.Selectable =
tbl.zButton1.AnchorPoint = .(, )
tbl.zButton1.Size = .(, , , )
tbl.zButton1.BorderColor3 = .(, , )
tbl.zButton1.Name =
tbl.zButton1.Position = .(, , , )
tbl.zButton1.Parent = tbl.Buttons
tbl.UICorner_1.CornerRadius = .(, )
tbl.UICorner_1.Parent = tbl.zButton1
tbl.Title_1.TextWrapped =
tbl.Title_1.BorderSizePixel =
tbl.Title_1.TextScaled =
tbl.Title_1.BackgroundColor3 = .(, , )
tbl.Title_1.FontFace = Font.(, .FontWeight.Regular, .FontStyle.Normal)
tbl.Title_1.AnchorPoint = .(, )
tbl.Title_1.TextSize =
tbl.Title_1.Name =
tbl.Title_1.Size = .(, , , )
tbl.Title_1.TextColor3 = .(, , )
tbl.Title_1.BorderColor3 = .(, , )
tbl.Title_1.Text =
tbl.Title_1.Position = .(, , , )
tbl.Title_1.BackgroundTransparency =
tbl.Title_1.Parent = tbl.zButton1
tbl.UIGradient_1.Color = ColorSequence.{ ColorSequenceKeypoint.(, .(, , )), ColorSequenceKeypoint.(, .(, , )) }
tbl.UIGradient_1.Rotation = -
tbl.UIGradient_1.Parent = tbl.zButton1
tbl.aKeyContainer.AnchorPoint = .(, )
tbl.aKeyContainer.BorderSizePixel =
tbl.aKeyContainer.Size = .(, , , )
tbl.aKeyContainer.Position = .(, , , )
tbl.aKeyContainer.BorderColor3 = .(, , )
tbl.aKeyContainer.Name =
tbl.aKeyContainer.BackgroundColor3 = .(, , )
tbl.aKeyContainer.Parent = tbl.Buttons
tbl.KeyBox.TextWrapped =
tbl.KeyBox.BorderSizePixel =
tbl.KeyBox.TextScaled =
tbl.KeyBox.BackgroundColor3 = .(, , )
tbl.KeyBox.FontFace = Font.(, .FontWeight.Regular, .FontStyle.Normal)
tbl.KeyBox.Position = .(, , , )
tbl.KeyBox.BackgroundTransparency =
tbl.KeyBox.TextSize =
tbl.KeyBox.ClipsDescendants =
tbl.KeyBox.Size = .(, , , )
tbl.KeyBox.TextColor3 = .(, , )
tbl.KeyBox.BorderColor3 = .(, , )
tbl.KeyBox.Text =
tbl.KeyBox.Name =
tbl.KeyBox.ClearTextOnFocus =
tbl.KeyBox.Parent = tbl.aKeyContainer
tbl.UICorner_2.CornerRadius = .(, )
tbl.UICorner_2.Parent = tbl.aKeyContainer
tbl.Frame.BorderSizePixel =
tbl.Frame.Size = .(, , , )
tbl.Frame.Position = .(, , , )
tbl.Frame.BorderColor3 = .(, , )
tbl.Frame.BackgroundColor3 = .(, , )
tbl.Frame.Parent = tbl.KeySection
tbl.SelectorFrame.BorderSizePixel =
tbl.SelectorFrame.Size = .(, , , )
tbl.SelectorFrame.BackgroundTransparency =
tbl.SelectorFrame.BorderColor3 = .(, , )
tbl.SelectorFrame.Visible =
tbl.SelectorFrame.Name =
tbl.SelectorFrame.BackgroundColor3 = .(, , )
tbl.SelectorFrame.Parent = tbl.MainFrame
tbl.Buttons_1.ZIndex =
tbl.Buttons_1.BorderSizePixel =
tbl.Buttons_1.Size = .(, , , )
tbl.Buttons_1.Position = .(-, , , )
tbl.Buttons_1.BackgroundTransparency =
tbl.Buttons_1.BorderColor3 = .(, , )
tbl.Buttons_1.Name =
tbl.Buttons_1.BackgroundColor3 = .(, , )
tbl.Buttons_1.Parent = tbl.SelectorFrame
tbl.OptionL.Active =
tbl.OptionL.BorderSizePixel =
tbl.OptionL.ScaleType = .ScaleType.Fit
tbl.OptionL.AutoButtonColor =
tbl.OptionL.BackgroundColor3 = .(, , )
tbl.OptionL.BorderMode = .BorderMode.Inset
tbl.OptionL.Size = .(, , , )
tbl.OptionL.BorderColor3 = .(, , )
tbl.OptionL.Name =
tbl.OptionL.Position = .(, , , )
tbl.OptionL.Parent = tbl.Buttons_1
tbl.UICorner_3.CornerRadius = .(, )
tbl.UICorner_3.Parent = tbl.OptionL
tbl.UIStroke.LineJoinMode = .LineJoinMode.Miter
tbl.UIStroke.Thickness =
tbl.UIStroke.Color = .(, , )
tbl.UIStroke.Parent = tbl.OptionL
tbl.ImageLabel_1.BorderSizePixel =
tbl.ImageLabel_1.ScaleType = .ScaleType.Fit
tbl.ImageLabel_1.BackgroundColor3 = .(, , )
tbl.ImageLabel_1.Image =
tbl.ImageLabel_1.Size = .(, , , )
tbl.ImageLabel_1.BorderColor3 = .(, , )
tbl.ImageLabel_1.BackgroundTransparency =
tbl.ImageLabel_1.Position = .(, , -, )
tbl.ImageLabel_1.Parent = tbl.OptionL
tbl.TextLabel.TextWrapped =
tbl.TextLabel.BorderSizePixel =
tbl.TextLabel.TextScaled =
tbl.TextLabel.BackgroundColor3 = .(, , )
tbl.TextLabel.FontFace = Font.(, .FontWeight.Regular, .FontStyle.Normal)
tbl.TextLabel.TextSize =
tbl.TextLabel.Size = .(, , , )
tbl.TextLabel.TextColor3 = .(, , )
tbl.TextLabel.BorderColor3 = .(, , )
tbl.TextLabel.Text =
tbl.TextLabel.Position = .(, , , )
tbl.TextLabel.BackgroundTransparency =
tbl.TextLabel.Parent = tbl.OptionL
tbl.overlay.ZIndex =
tbl.overlay.BorderSizePixel =
tbl.overlay.Size = .(, , , )
tbl.overlay.BackgroundTransparency =
tbl.overlay.BorderColor3 = .(, , )
tbl.overlay.Name =
tbl.overlay.BackgroundColor3 = .(, , )
tbl.overlay.Parent = tbl.OptionL
tbl.UIListLayout_1.FillDirection = .FillDirection.Horizontal
tbl.UIListLayout_1.HorizontalAlignment = .HorizontalAlignment.Center
tbl.UIListLayout_1.VerticalAlignment = .VerticalAlignment.Center
tbl.UIListLayout_1.SortOrder = .SortOrder.LayoutOrder
tbl.UIListLayout_1.Padding = .(, )
tbl.UIListLayout_1.Parent = tbl.Buttons_1
tbl.OptionR.BorderSizePixel =
tbl.OptionR.ScaleType = .ScaleType.Fit
tbl.OptionR.AutoButtonColor =
tbl.OptionR.BackgroundColor3 = .(, , )
tbl.OptionR.BorderMode = .BorderMode.Inset
tbl.OptionR.Size = .(, , , )
tbl.OptionR.BorderColor3 = .(, , )
tbl.OptionR.Name =
tbl.OptionR.Position = .(, , , )
tbl.OptionR.Parent = tbl.Buttons_1
tbl.UIStroke_1.LineJoinMode = .LineJoinMode.Miter
tbl.UIStroke_1.Thickness =
tbl.UIStroke_1.Color = .(, , )
tbl.UIStroke_1.Parent = tbl.OptionR
tbl.ImageLabel_2.BorderSizePixel =
tbl.ImageLabel_2.ScaleType = .ScaleType.Fit
tbl.ImageLabel_2.BackgroundColor3 = .(, , )
tbl.ImageLabel_2.Image =
tbl.ImageLabel_2.Size = .(, , , )
tbl.ImageLabel_2.BorderColor3 = .(, , )
tbl.ImageLabel_2.BackgroundTransparency =
tbl.ImageLabel_2.Position = .(, , , )
tbl.ImageLabel_2.Parent = tbl.OptionR
tbl.TextLabel_1.TextWrapped =
tbl.TextLabel_1.BorderSizePixel =
tbl.TextLabel_1.TextScaled =
tbl.TextLabel_1.BackgroundColor3 = .(, , )
tbl.TextLabel_1.FontFace = Font.(, .FontWeight.Regular, .FontStyle.Normal)
tbl.TextLabel_1.TextSize =
tbl.TextLabel_1.Size = .(, , , )
tbl.TextLabel_1.TextColor3 = .(, , )
tbl.TextLabel_1.BorderColor3 = .(, , )
tbl.TextLabel_1.Text =
tbl.TextLabel_1.Position = .(, , , )
tbl.TextLabel_1.BackgroundTransparency =
tbl.TextLabel_1.Parent = tbl.OptionR
tbl.UICorner_4.CornerRadius = .(, )
tbl.UICorner_4.Parent = tbl.OptionR
tbl.OptionH.BorderSizePixel =
tbl.OptionH.ScaleType = .ScaleType.Fit
tbl.OptionH.AutoButtonColor =
tbl.OptionH.BackgroundColor3 = .(, , )
tbl.OptionH.BorderMode = .BorderMode.Inset
tbl.OptionH.Size = .(, , , )
tbl.OptionH.BorderColor3 = .(, , )
tbl.OptionH.Name =
tbl.OptionH.Position = .(, , , )
tbl.OptionH.Parent = tbl.Buttons_1
tbl.UICorner_5.CornerRadius = .(, )
tbl.UICorner_5.Parent = tbl.OptionH
tbl.UIStroke_2.LineJoinMode = .LineJoinMode.Miter
tbl.UIStroke_2.Thickness =
tbl.UIStroke_2.Color = .(, , )
tbl.UIStroke_2.Parent = tbl.OptionH
tbl.ImageLabel_3.BorderSizePixel =
tbl.ImageLabel_3.ScaleType = .ScaleType.Fit
tbl.ImageLabel_3.BackgroundColor3 = .(, , )
tbl.ImageLabel_3.Image =
tbl.ImageLabel_3.Size = .(, , , )
tbl.ImageLabel_3.BorderColor3 = .(, , )
tbl.ImageLabel_3.BackgroundTransparency =
tbl.ImageLabel_3.Position = .(, , , )
tbl.ImageLabel_3.Parent = tbl.OptionH
tbl.TextLabel_2.TextWrapped =
tbl.TextLabel_2.BorderSizePixel =
tbl.TextLabel_2.TextScaled =
tbl.TextLabel_2.BackgroundColor3 = .(, , )
tbl.TextLabel_2.FontFace = Font.(, .FontWeight.Regular, .FontStyle.Normal)
tbl.TextLabel_2.TextSize =
tbl.TextLabel_2.Size = .(, , , )
tbl.TextLabel_2.TextColor3 = .(, , )
tbl.TextLabel_2.BorderColor3 = .(, , )
tbl.TextLabel_2.Text =
tbl.TextLabel_2.Position = .(, , , )
tbl.TextLabel_2.BackgroundTransparency =
tbl.TextLabel_2.Parent = tbl.OptionH
tbl.overlay_1.ZIndex =
tbl.overlay_1.BorderSizePixel =
tbl.overlay_1.Size = .(, , , )
tbl.overlay_1.BackgroundTransparency =
tbl.overlay_1.BorderColor3 = .(, , )
tbl.overlay_1.Name =
tbl.overlay_1.BackgroundColor3 = .(, , )
tbl.overlay_1.Parent = tbl.OptionH
tbl.Title_2.TextWrapped =
tbl.Title_2.BorderSizePixel =
tbl.Title_2.TextScaled =
tbl.Title_2.BackgroundColor3 = .(, , )
tbl.Title_2.FontFace = Font.(, .FontWeight.Regular, .FontStyle.Normal)
tbl.Title_2.TextSize =
tbl.Title_2.Name =
tbl.Title_2.Size = .(, , , )
tbl.Title_2.TextColor3 = .(, , )
tbl.Title_2.BorderColor3 = .(, , )
tbl.Title_2.Text =
tbl.Title_2.Position = .(, , , )
tbl.Title_2.BackgroundTransparency =
tbl.Title_2.Parent = tbl.SelectorFrame
tbl.CloseBtn.ImageColor3 = .(, , )
tbl.CloseBtn.BorderSizePixel =
tbl.CloseBtn.ScaleType = .ScaleType.Fit
tbl.CloseBtn.BackgroundColor3 = .(, , )
tbl.CloseBtn.Image =
tbl.CloseBtn.Size = .(, , , )
tbl.CloseBtn.BorderColor3 = .(, , )
tbl.CloseBtn.Name =
tbl.CloseBtn.BackgroundTransparency =
tbl.CloseBtn.Position = .(, , , )
tbl.CloseBtn.ImageTransparency =
tbl.CloseBtn.Parent = tbl.SelectorFrame
tbl.UICorner_6.CornerRadius = .(, )
tbl.UICorner_6.Parent = tbl.SelectorFrame
tbl.LoaderFrame.BorderSizePixel =
tbl.LoaderFrame.Size = .(, , , )
tbl.LoaderFrame.BackgroundTransparency =
tbl.LoaderFrame.BorderColor3 = .(, , )
tbl.LoaderFrame.Name =
tbl.LoaderFrame.BackgroundColor3 = .(, , )
tbl.LoaderFrame.Parent = tbl.MainFrame
tbl.ImageLabel_4.BorderSizePixel =
tbl.ImageLabel_4.ScaleType = .ScaleType.Fit
tbl.ImageLabel_4.BackgroundColor3 = .(, , )
tbl.ImageLabel_4.Image =
tbl.ImageLabel_4.Size = .(, , , )
tbl.ImageLabel_4.BorderColor3 = .(, , )
tbl.ImageLabel_4.BackgroundTransparency =
tbl.ImageLabel_4.Position = .(, , , )
tbl.ImageLabel_4.Parent = tbl.LoaderFrame
tbl.list.AnchorPoint = .(, )
tbl.list.BorderSizePixel =
tbl.list.Size = .(, , , )
tbl.list.Position = .(, , , )
tbl.list.BackgroundTransparency =
tbl.list.BorderColor3 = .(, , )
tbl.list.Name =
tbl.list.BackgroundColor3 = .(, , )
tbl.list.Parent = tbl.LoaderFrame
tbl.UIListLayout_2.HorizontalAlignment = .HorizontalAlignment.Center
tbl.UIListLayout_2.Padding = .(, )
tbl.UIListLayout_2.Parent = tbl.list
tbl.Frame_1.BorderSizePixel =
tbl.Frame_1.Size = .(, , , )
tbl.Frame_1.Position = .(, , , )
tbl.Frame_1.BorderColor3 = .(, , )
tbl.Frame_1.BackgroundColor3 = .(, , )
tbl.Frame_1.Parent = tbl.list
tbl.UICorner_7.CornerRadius = .(, )
tbl.UICorner_7.Parent = tbl.Frame_1
tbl.Bar.BorderSizePixel =
tbl.Bar.Size = .(, , , )
tbl.Bar.Position = .(, , , )
tbl.Bar.BorderColor3 = .(, , )
tbl.Bar.Name =
tbl.Bar.BackgroundColor3 = .(, , )
tbl.Bar.Parent = tbl.Frame_1
tbl.UICorner_8.CornerRadius = .(, )
tbl.UICorner_8.Parent = tbl.Bar
tbl.Title_3.TextWrapped =
tbl.Title_3.BorderSizePixel =
tbl.Title_3.TextScaled =
tbl.Title_3.BackgroundColor3 = .(, , )
tbl.Title_3.FontFace = Font.(, .FontWeight.Regular, .FontStyle.Normal)
tbl.Title_3.TextSize =
tbl.Title_3.Name =
tbl.Title_3.Size = .(, , , )
tbl.Title_3.TextColor3 = .(, , )
tbl.Title_3.BorderColor3 = .(, , )
tbl.Title_3.Text =
tbl.Title_3.Position = .(, , , )
tbl.Title_3.BackgroundTransparency =
tbl.Title_3.Parent = tbl.list
tbl.CloseBtn_1.ImageColor3 = .(, , )
tbl.CloseBtn_1.BorderSizePixel =
tbl.CloseBtn_1.ScaleType = .ScaleType.Fit
tbl.CloseBtn_1.BackgroundColor3 = .(, , )
tbl.CloseBtn_1.Image =
tbl.CloseBtn_1.Size = .(, , , )
tbl.CloseBtn_1.BorderColor3 = .(, , )
tbl.CloseBtn_1.Name =
tbl.CloseBtn_1.BackgroundTransparency =
tbl.CloseBtn_1.Position = .(, , , )
tbl.CloseBtn_1.ImageTransparency =
tbl.CloseBtn_1.Parent = tbl.LoaderFrame
tbl.LocalScript.Parent = tbl.MainFrame
tbl.TrigonLogo.BorderSizePixel =
tbl.TrigonLogo.ScaleType = .ScaleType.Fit
tbl.TrigonLogo.BackgroundColor3 = .(, , )
tbl.TrigonLogo.Image =
tbl.TrigonLogo.Size = .(, , , )
tbl.TrigonLogo.BorderColor3 = .(, , )
tbl.TrigonLogo.Name =
tbl.TrigonLogo.BackgroundTransparency =
tbl.TrigonLogo.Position = .(, , , )
tbl.TrigonLogo.Visible =
tbl.TrigonLogo.Parent = tbl.MainFrame
.(()
= tbl.LocalScript
TweenService = :()
CurrentValue =
MainFrame = .Parent
Bar = MainFrame.LoaderFrame.list.Frame.Bar
MaxValue =
Status = MainFrame.LoaderFrame.list.Title
TweenService = :()
OptionR = MainFrame.SelectorFrame.Buttons.OptionR
Loader = ():()
MainUI = ():()
()
(value, statusText, duration)
CurrentValue = CurrentValue + value
CurrentValue > MaxValue
CurrentValue = MaxValue
CurrentValue <
CurrentValue =
tweenInfo = TweenInfo.(duration, .EasingStyle.Linear, .EasingDirection.Out)
tween = TweenService:(Bar, tweenInfo, {Size = .(CurrentValue / MaxValue, , , )})
tween:()
Status.Text = .. (statusText )
Bar.Size = .(, , , )
(, , )
()
(, , )
buttonx23 = (, , )
()
(, , )
()
MainFrame.LoaderFrame.Visible =
()
Loader.Enabled =
MainUI.Enabled =
(MainUI.Enabled)
.()
Loader MainUI
OptionR.Activated:(()
)
()
)
()
trii =
{
TrigonMain = .(),
MainFrame = .(),
BottomMenuFrame = .(),
LeftFrame = .(),
ExitBtn = .(),
Icon = .(),
UICorner = .(),
RightFrame = .(),
Button = .(),
UIGradient = .(),
Icon_1 = .(),
MenuList = .(),
UICorner_1 = .(),
UIGridLayout = .(),
HBtn = .(),
UIGradient_1 = .(),
Icon_2 = .(),
UIStroke = .(),
UICorner_2 = .(),
ExecBtn = .(),
Icon_3 = .(),
UIStroke_1 = .(),
UICorner_3 = .(),
UIGradient_2 = .(),
CloudBtn = .(),
UIGradient_3 = .(),
Icon_4 = .(),
UIStroke_2 = .(),
UICorner_4 = .(),
SettingsBtn = .(),
UIGradient_4 = .(),
Icon_5 = .(),
UIStroke_3 = .(),
UICorner_5 = .(),
UICorner_6 = .(),
logFrame = .(),
UICorner_7 = .(),
logButtons = .(),
logOutput = .(),
Button_1 = .(),
TextLabel = .(),
UIListLayout = .(),
UIListLayout_1 = .(),
logWarning = .(),
Button_2 = .(),
TextLabel_1 = .(),
UIListLayout_2 = .(),
logError = .(),
Button_3 = .(),
TextLabel_2 = .(),
UIListLayout_3 = .(),
logInfo = .(),
Button_4 = .(),
TextLabel_3 = .(),
UIListLayout_4 = .(),
cclrbtn = .(),
Title = .(),
UICorner_8 = .(),
UIStroke_4 = .(),
excp = .(),
Title_1 = .(),
UICorner_9 = .(),
UIStroke_5 = .(),
TextLabel_4 = .(),
consoleFrame = .(),
GlobalLog = .(),
TextBox = .(),
SettingsFrame = .(),
UICorner_10 = .(),
sample = .(),
UIListLayout_5 = .(),
UICorner_11 = .(),
Title_2 = .(),
Title_3 = .(),
Title_4 = .(),
ImageLabel = .(),
homeFrame = .(),
UICorner_12 = .(),
changelogFrame = .(),
ScriptBox = .(),
UICorner_13 = .(),
UIListLayout_6 = .(),
scriptsFrame = .(),
UICorner_14 = .(),
UIListLayout_7 = .(),
_GameHeader = .(),
Title_5 = .(),
UICorner_15 = .(),
TextButton = .(),
UICorner_16 = .(),
localplrFrame = .(),
UIListLayout_8 = .(),
Header = .(),
Title_6 = .(),
UICorner_17 = .(),
walkspeed = .(),
Slider = .(),
Image = .(),
Bar_Background = .(),
UICorner_18 = .(),
Bar_Foreground = .(),
UICorner_19 = .(),
Thumb = .(),
UIAspectRatioConstraint = .(),
Thumb_Pressed = .(),
Configuration = .(),
ObjectBarBackground = .(),
ObjectBarForeground = .(),
ObjectThumbNormal = .(),
ObjectThumbPressed = .(),
Title_7 = .(),
jumspeed = .(),
Slider_1 = .(),
Image_1 = .(),
Bar_Background_1 = .(),
UICorner_20 = .(),
Bar_Foreground_1 = .(),
UICorner_21 = .(),
Thumb_1 = .(),
UIAspectRatioConstraint_1 = .(),
Thumb_Pressed_1 = .(),
Configuration_1 = .(),
ObjectBarBackground_1 = .(),
ObjectBarForeground_1 = .(),
ObjectThumbNormal_1 = .(),
ObjectThumbPressed_1 = .(),
Scripts = .(),
FormSliderHorizontalLocalScript = .(),
Title_8 = .(),
LocalPlayerHandle = .(),
FormSliderClass = .(),
ExtendDraggableClass = .(),
CurPos = .(),
localscriptsFrame = .(),
UICorner_22 = .(),
UIListLayout_9 = .(),
_GameHeader_1 = .(),
Title_9 = .(),
UICorner_23 = .(),
Add_btn = .(),
TextButton_1 = .(),
UICorner_24 = .(),
script_placeholder = .(),
scriptTitle = .(),
Buttons = .(),
UIListLayout_10 = .(),
run = .(),
UIListLayout_11 = .(),
UICorner_25 = .(),
button = .(),
autoload = .(),
UIListLayout_12 = .(),
button_1 = .(),
zz = .(),
UICorner_26 = .(),
delete = .(),
UIListLayout_13 = .(),
UICorner_27 = .(),
button_2 = .(),
UICorner_28 = .(),
addlocalscriptsFrame = .(),
UICorner_29 = .(),
UIListLayout_14 = .(),
_GameHeader_2 = .(),
Title_10 = .(),
UICorner_30 = .(),
Frame = .(),
TextButton_2 = .(),
UICorner_31 = .(),
addFrame = .(),
input = .(),
TextBox_1 = .(),
Title_11 = .(),
TextLabel_5 = .(),
confrim_btn = .(),
TextButton_3 = .(),
UICorner_32 = .(),
cancel_btn = .(),
TextButton_4 = .(),
UICorner_33 = .(),
ExecFrame = .(),
Buttons_1 = .(),
UIListLayout_15 = .(),
Button1 = .(),
UIStroke_6 = .(),
UICorner_34 = .(),
Title_12 = .(),
Button4 = .(),
Title_13 = .(),
UICorner_35 = .(),
UIStroke_7 = .(),
Button3 = .(),
Title_14 = .(),
UICorner_36 = .(),
UIStroke_8 = .(),
Button2 = .(),
Title_15 = .(),
UICorner_37 = .(),
UIStroke_9 = .(),
UICorner_38 = .(),
ScrollingFrame = .(),
LocalScript = .(),
ScriptBox_1 = .(),
Highlighter = .(),
lexer = .(),
language = .(),
theme = .(),
types = .(),
utility = .(),
UICorner_39 = .(),
LocalScript_1 = .(),
savescripts = .()
}
trii.TrigonMain.ScreenInsets = .ScreenInsets.DeviceSafeInsets
trii.TrigonMain.IgnoreGuiInset =
trii.TrigonMain.ZIndexBehavior = .ZIndexBehavior.Sibling
trii.TrigonMain.Name =
trii.TrigonMain.Parent = ()
trii.TrigonMain.Enabled =
trii.MainFrame.BorderSizePixel =
trii.MainFrame.Size = .(, , , )
trii.MainFrame.BackgroundTransparency =
trii.MainFrame.BorderColor3 = .(, , )
trii.MainFrame.Name =
trii.MainFrame.BackgroundColor3 = .(, , )
trii.MainFrame.Parent = trii.TrigonMain
trii.BottomMenuFrame.BorderSizePixel =
trii.BottomMenuFrame.Size = .(, , , )
trii.BottomMenuFrame.Position = .(, , , )
trii.BottomMenuFrame.BorderColor3 = .(, , )
trii.BottomMenuFrame.ClipsDescendants =
trii.BottomMenuFrame.Name =
trii.BottomMenuFrame.BackgroundColor3 = .(, , )
trii.BottomMenuFrame.Parent = trii.MainFrame
trii.LeftFrame.BorderSizePixel =
trii.LeftFrame.Size = .(, , , )
trii.LeftFrame.Position = .(-, , , )
trii.LeftFrame.BorderColor3 = .(, , )
trii.LeftFrame.Name =
trii.LeftFrame.BackgroundColor3 = .(, , )
trii.LeftFrame.Parent = trii.BottomMenuFrame
trii.ExitBtn.ZIndex =
trii.ExitBtn.BorderSizePixel =
trii.ExitBtn.ScaleType = .ScaleType.Fit
trii.ExitBtn.AutoButtonColor =
trii.ExitBtn.BackgroundColor3 = .(, , )
trii.ExitBtn.Selectable =
trii.ExitBtn.AnchorPoint = .(, )
trii.ExitBtn.Size = .(, , , )
trii.ExitBtn.BorderColor3 = .(, , )
trii.ExitBtn.Name =
trii.ExitBtn.Position = .(, , , )
trii.ExitBtn.Parent = trii.LeftFrame
trii.Icon.ImageColor3 = .(, , )
trii.Icon.SizeConstraint = .SizeConstraint.RelativeXX
trii.Icon.BorderSizePixel =
trii.Icon.ScaleType = .ScaleType.Fit
trii.Icon.BackgroundColor3 = .(, , )
trii.Icon.AnchorPoint = .(, )
trii.Icon.Image =
trii.Icon.Size = .(, , , )
trii.Icon.BorderColor3 = .(, , )
trii.Icon.Name =
trii.Icon.BackgroundTransparency =
trii.Icon.Position = .(, , , )
trii.Icon.Parent = trii.ExitBtn
trii.UICorner.CornerRadius = .(, )
trii.UICorner.Parent = trii.LeftFrame
trii.RightFrame.BorderSizePixel =
trii.RightFrame.Size = .(, , , )
trii.RightFrame.Position = .(, , , )
trii.RightFrame.BackgroundTransparency =
trii.RightFrame.BorderColor3 = .(, , )
trii.RightFrame.Name =
trii.RightFrame.BackgroundColor3 = .(, , )
trii.RightFrame.Parent = trii.BottomMenuFrame
trii.Button.Active =
trii.Button.BorderSizePixel =
trii.Button.ScaleType = .ScaleType.Fit
trii.Button.AutoButtonColor =
trii.Button.BackgroundColor3 = .(, , )
trii.Button.Selectable =
trii.Button.AnchorPoint = .(, )
trii.Button.Size = .(, , , )
trii.Button.BorderColor3 = .(, , )
trii.Button.Name =
trii.Button.BackgroundTransparency =
trii.Button.Position = .(, , , )
trii.Button.Parent = trii.RightFrame
trii.UIGradient.Color = ColorSequence.{ ColorSequenceKeypoint.(, .(, , )), ColorSequenceKeypoint.(, .(, , )) }
trii.UIGradient.Rotation = -
trii.UIGradient.Parent = trii.Button
trii.Icon_1.SizeConstraint = .SizeConstraint.RelativeYY
trii.Icon_1.BorderSizePixel =
trii.Icon_1.ScaleType = .ScaleType.Fit
trii.Icon_1.BackgroundColor3 = .(, , )
trii.Icon_1.AnchorPoint = .(, )
trii.Icon_1.Image =
trii.Icon_1.Size = .(, , , )
trii.Icon_1.BorderColor3 = .(, , )
trii.Icon_1.Name =
trii.Icon_1.BackgroundTransparency =
trii.Icon_1.Position = .(, , , )
trii.Icon_1.Parent = trii.Button
trii.MenuList.BorderSizePixel =
trii.MenuList.Size = .(, , , )
trii.MenuList.Position = .(, , , )
trii.MenuList.BackgroundTransparency =
trii.MenuList.BorderColor3 = .(, , )
trii.MenuList.Name =
trii.MenuList.BackgroundColor3 = .(, , )
trii.MenuList.Parent = trii.BottomMenuFrame
trii.UICorner_1.CornerRadius = .(, )
trii.UICorner_1.Parent = trii.MenuList
trii.UIGridLayout.CellPadding = .(, , , )
trii.UIGridLayout.VerticalAlignment = .VerticalAlignment.Center
trii.UIGridLayout.SortOrder = .SortOrder.LayoutOrder
trii.UIGridLayout.CellSize = .(, , , )
trii.UIGridLayout.HorizontalAlignment = .HorizontalAlignment.Center
trii.UIGridLayout.Parent = trii.MenuList
trii.HBtn.BorderSizePixel =
trii.HBtn.ScaleType = .ScaleType.Fit
trii.HBtn.BackgroundColor3 = .(, , )
trii.HBtn.BorderMode = .BorderMode.Inset
trii.HBtn.Selectable =
trii.HBtn.AnchorPoint = .(, )
trii.HBtn.Size = .(, , , )
trii.HBtn.BorderColor3 = .(, , )
trii.HBtn.Name =
trii.HBtn.Position = .(, , , )
trii.HBtn.Parent = trii.MenuList
trii.UIGradient_1.Color = ColorSequence.{ ColorSequenceKeypoint.(, .(, , )), ColorSequenceKeypoint.(, .(, , )) }
trii.UIGradient_1.Rotation = -
trii.UIGradient_1.Parent = trii.HBtn
trii.Icon_2.ImageColor3 = .(, , )
trii.Icon_2.SizeConstraint = .SizeConstraint.RelativeXX
trii.Icon_2.BorderSizePixel =
trii.Icon_2.ScaleType = .ScaleType.Fit
trii.Icon_2.BackgroundColor3 = .(, , )
trii.Icon_2.AnchorPoint = .(, )
trii.Icon_2.Image =
trii.Icon_2.Size = .(, , , )
trii.Icon_2.BorderColor3 = .(, , )
trii.Icon_2.Name =
trii.Icon_2.BackgroundTransparency =
trii.Icon_2.Position = .(, , , )
trii.Icon_2.Parent = trii.HBtn
trii.UIStroke.Thickness =
trii.UIStroke.Color = .(, , )
trii.UIStroke.Parent = trii.HBtn
trii.UICorner_2.CornerRadius = .(, )
trii.UICorner_2.Parent = trii.HBtn
trii.ExecBtn.BorderSizePixel =
trii.ExecBtn.ScaleType = .ScaleType.Fit
trii.ExecBtn.BackgroundColor3 = .(, , )
trii.ExecBtn.BorderMode = .BorderMode.Inset
trii.ExecBtn.AnchorPoint = .(, )
trii.ExecBtn.Size = .(, , , )
trii.ExecBtn.BorderColor3 = .(, , )
trii.ExecBtn.Name =
trii.ExecBtn.Position = .(, , , )
trii.ExecBtn.Parent = trii.MenuList
trii.Icon_3.ImageColor3 = .(, , )
trii.Icon_3.SizeConstraint = .SizeConstraint.RelativeXX
trii.Icon_3.BorderSizePixel =
trii.Icon_3.ScaleType = .ScaleType.Fit
trii.Icon_3.BackgroundColor3 = .(, , )
trii.Icon_3.AnchorPoint = .(, )
trii.Icon_3.Image =
trii.Icon_3.Size = .(, , , )
trii.Icon_3.BorderColor3 = .(, , )
trii.Icon_3.Name =
trii.Icon_3.BackgroundTransparency =
trii.Icon_3.Position = .(, , , )
trii.Icon_3.Parent = trii.ExecBtn
trii.UIStroke_1.Thickness =
trii.UIStroke_1.Color = .(, , )
trii.UIStroke_1.Parent = trii.ExecBtn
trii.UICorner_3.CornerRadius = .(, )
trii.UICorner_3.Parent = trii.ExecBtn
trii.UIGradient_2.Color = ColorSequence.{ ColorSequenceKeypoint.(, .(, , )), ColorSequenceKeypoint.(, .(, , )) }
trii.UIGradient_2.Rotation = -
trii.UIGradient_2.Parent = trii.ExecBtn
trii.CloudBtn.BorderSizePixel =
trii.CloudBtn.ScaleType = .ScaleType.Fit
trii.CloudBtn.BackgroundColor3 = .(, , )
trii.CloudBtn.BorderMode = .BorderMode.Inset
trii.CloudBtn.Selectable =
trii.CloudBtn.AnchorPoint = .(, )
trii.CloudBtn.Size = .(, , , )
trii.CloudBtn.BorderColor3 = .(, , )
trii.CloudBtn.Name =
trii.CloudBtn.Position = .(, , , )
trii.CloudBtn.Parent = trii.MenuList
trii.UIGradient_3.Color = ColorSequence.{ ColorSequenceKeypoint.(, .(, , )), ColorSequenceKeypoint.(, .(, , )) }
trii.UIGradient_3.Rotation = -
trii.UIGradient_3.Parent = trii.CloudBtn
trii.Icon_4.ImageColor3 = .(, , )
trii.Icon_4.SizeConstraint = .SizeConstraint.RelativeXX
trii.Icon_4.BorderSizePixel =
trii.Icon_4.ScaleType = .ScaleType.Fit
trii.Icon_4.BackgroundColor3 = .(, , )
trii.Icon_4.AnchorPoint = .(, )
trii.Icon_4.Image =
trii.Icon_4.Size = .(, , , )
trii.Icon_4.BorderColor3 = .(, , )
trii.Icon_4.Name =
trii.Icon_4.BackgroundTransparency =
trii.Icon_4.Position = .(, , , )
trii.Icon_4.Parent = trii.CloudBtn
trii.UIStroke_2.Thickness =
trii.UIStroke_2.Color = .(, , )
trii.UIStroke_2.Parent = trii.CloudBtn
trii.UICorner_4.CornerRadius = .(, )
trii.UICorner_4.Parent = trii.CloudBtn
trii.SettingsBtn.BorderSizePixel =
trii.SettingsBtn.ScaleType = .ScaleType.Fit
trii.SettingsBtn.BackgroundColor3 = .(, , )
trii.SettingsBtn.BorderMode = .BorderMode.Inset
trii.SettingsBtn.Selectable =
trii.SettingsBtn.AnchorPoint = .(, )
trii.SettingsBtn.Size = .(, , , )
trii.SettingsBtn.BorderColor3 = .(, , )
trii.SettingsBtn.Name =
trii.SettingsBtn.Position = .(, , , )
trii.SettingsBtn.Parent = trii.MenuList
trii.UIGradient_4.Color = ColorSequence.{ ColorSequenceKeypoint.(, .(, , )), ColorSequenceKeypoint.(, .(, , )) }
trii.UIGradient_4.Rotation = -
trii.UIGradient_4.Parent = trii.SettingsBtn
trii.Icon_5.ImageColor3 = .(, , )
trii.Icon_5.SizeConstraint = .SizeConstraint.RelativeXX
trii.Icon_5.BorderSizePixel =
trii.Icon_5.ScaleType = .ScaleType.Fit
trii.Icon_5.BackgroundColor3 = .(, , )
trii.Icon_5.AnchorPoint = .(, )
trii.Icon_5.Image =
trii.Icon_5.Size = .(, , , )
trii.Icon_5.BorderColor3 = .(, , )
trii.Icon_5.Name =
trii.Icon_5.BackgroundTransparency =
trii.Icon_5.Position = .(, , , )
trii.Icon_5.Parent = trii.SettingsBtn
trii.UIStroke_3.Thickness =
trii.UIStroke_3.Color = .(, , )
trii.UIStroke_3.Parent = trii.SettingsBtn
trii.UICorner_5.CornerRadius = .(, )
trii.UICorner_5.Parent = trii.SettingsBtn
trii.UICorner_6.CornerRadius = .(, )
trii.UICorner_6.Parent = trii.BottomMenuFrame
trii.logFrame.Active =
trii.logFrame.BorderSizePixel =
trii.logFrame.Size = .(, , , )
trii.logFrame.Position = .(, , 0.09, 0)
trii.logFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.logFrame.Visible = false
trii.logFrame.Name = "logFrame"
trii.logFrame.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.logFrame.Parent = trii.MainFrame
trii.UICorner_7.CornerRadius = UDim.new(0.02, 0)
trii.UICorner_7.Parent = trii.logFrame
trii.logButtons.BorderSizePixel = 0
trii.logButtons.Size = UDim2.new(0.964723, 0, 0.120071, 0)
trii.logButtons.Position = UDim2.new(0.0291137, 0, 0.878761, 0)
trii.logButtons.BackgroundTransparency = 1
trii.logButtons.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.logButtons.Name = "logButtons"
trii.logButtons.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
trii.logButtons.Parent = trii.logFrame
trii.logOutput.BorderSizePixel = 0
trii.logOutput.Size = UDim2.new(0.110762, 0, 1, 0)
trii.logOutput.BackgroundTransparency = 1
trii.logOutput.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.logOutput.ClipsDescendants = true
trii.logOutput.Name = "logOutput"
trii.logOutput.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.logOutput.Parent = trii.logButtons
trii.Button_1.ZIndex = 2
trii.Button_1.ScaleType = Enum.ScaleType.Fit
trii.Button_1.Image = "rbxassetid://3926311105"
trii.Button_1.ImageRectSize = Vector2.new(48, 48)
trii.Button_1.Size = UDim2.new(0.23, 0, 1, 0)
trii.Button_1.Name = "Button"
trii.Button_1.LayoutOrder = 7
trii.Button_1.BackgroundTransparency = 1
trii.Button_1.Position = UDim2.new(0, 0, 5.09924e-07, 0)
trii.Button_1.ImageRectOffset = Vector2.new(4, 836)
trii.Button_1.Parent = trii.logOutput
trii.TextLabel.TextWrapped = true
trii.TextLabel.BorderSizePixel = 0
trii.TextLabel.TextScaled = true
trii.TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.TextLabel.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextLabel.TextSize = 14
trii.TextLabel.Size = UDim2.new(0.728848, 0, 0.568112, 0)
trii.TextLabel.TextColor3 = Color3.fromRGB(225, 225, 225)
trii.TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextLabel.Text = "Log Output"
trii.TextLabel.Position = UDim2.new(0.26, 0, 0.215944, 0)
trii.TextLabel.BackgroundTransparency = 1
trii.TextLabel.TextXAlignment = Enum.TextXAlignment.Left
trii.TextLabel.Parent = trii.logOutput
trii.UIListLayout.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Center
trii.UIListLayout.Padding = UDim.new(0.03, 0)
trii.UIListLayout.ItemLineAlignment = Enum.ItemLineAlignment.Center
trii.UIListLayout.Parent = trii.logOutput
trii.UIListLayout_1.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout_1.HorizontalAlignment = Enum.HorizontalAlignment.Right
trii.UIListLayout_1.VerticalAlignment = Enum.VerticalAlignment.Center
trii.UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
trii.UIListLayout_1.Padding = UDim.new(0.005, 0)
trii.UIListLayout_1.Parent = trii.logButtons
trii.logWarning.BorderSizePixel = 0
trii.logWarning.Size = UDim2.new(0.133679, 0, 1, 0)
trii.logWarning.Position = UDim2.new(0.125762, 0, 0, 0)
trii.logWarning.BackgroundTransparency = 1
trii.logWarning.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.logWarning.ClipsDescendants = true
trii.logWarning.Name = "logWarning"
trii.logWarning.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.logWarning.Parent = trii.logButtons
trii.Button_2.ZIndex = 2
trii.Button_2.ScaleType = Enum.ScaleType.Fit
trii.Button_2.Image = "rbxassetid://3926311105"
trii.Button_2.ImageRectSize = Vector2.new(48, 48)
trii.Button_2.Size = UDim2.new(0.206312, 0, 1, 0)
trii.Button_2.Name = "Button"
trii.Button_2.LayoutOrder = 7
trii.Button_2.BackgroundTransparency = 1
trii.Button_2.Position = UDim2.new(0, 0, 5.09924e-07, 0)
trii.Button_2.ImageRectOffset = Vector2.new(4, 836)
trii.Button_2.Parent = trii.logWarning
trii.TextLabel_1.TextWrapped = true
trii.TextLabel_1.BorderSizePixel = 0
trii.TextLabel_1.TextScaled = true
trii.TextLabel_1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.TextLabel_1.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextLabel_1.TextSize = 14
trii.TextLabel_1.Size = UDim2.new(0.74, 0, 0.568112, 0)
trii.TextLabel_1.TextColor3 = Color3.fromRGB(225, 225, 225)
trii.TextLabel_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextLabel_1.Text = "Log Warning "
trii.TextLabel_1.Position = UDim2.new(0.26, 0, 0.215944, 0)
trii.TextLabel_1.BackgroundTransparency = 1
trii.TextLabel_1.TextXAlignment = Enum.TextXAlignment.Left
trii.TextLabel_1.Parent = trii.logWarning
trii.UIListLayout_2.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout_2.VerticalAlignment = Enum.VerticalAlignment.Center
trii.UIListLayout_2.Padding = UDim.new(0.03, 0)
trii.UIListLayout_2.ItemLineAlignment = Enum.ItemLineAlignment.Center
trii.UIListLayout_2.Parent = trii.logWarning
trii.logError.BorderSizePixel = 0
trii.logError.Size = UDim2.new(0.110762, 0, 1, 0)
trii.logError.BackgroundTransparency = 1
trii.logError.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.logError.ClipsDescendants = true
trii.logError.Name = "logError"
trii.logError.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.logError.Parent = trii.logButtons
trii.Button_3.ZIndex = 2
trii.Button_3.ScaleType = Enum.ScaleType.Fit
trii.Button_3.Image = "rbxassetid://3926311105"
trii.Button_3.ImageRectSize = Vector2.new(48, 48)
trii.Button_3.Size = UDim2.new(0.23, 0, 1, 0)
trii.Button_3.Name = "Button"
trii.Button_3.LayoutOrder = 7
trii.Button_3.BackgroundTransparency = 1
trii.Button_3.Position = UDim2.new(0, 0, 5.09924e-07, 0)
trii.Button_3.ImageRectOffset = Vector2.new(4, 836)
trii.Button_3.Parent = trii.logError
trii.TextLabel_2.TextWrapped = true
trii.TextLabel_2.BorderSizePixel = 0
trii.TextLabel_2.TextScaled = true
trii.TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.TextLabel_2.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextLabel_2.TextSize = 14
trii.TextLabel_2.Size = UDim2.new(0.728848, 0, 0.41773, 0)
trii.TextLabel_2.TextColor3 = Color3.fromRGB(225, 225, 225)
trii.TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextLabel_2.Text = "Log Error"
trii.TextLabel_2.Position = UDim2.new(0.26, 0, 0.366327, 0)
trii.TextLabel_2.BackgroundTransparency = 1
trii.TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
trii.TextLabel_2.Parent = trii.logError
trii.UIListLayout_3.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout_3.VerticalAlignment = Enum.VerticalAlignment.Center
trii.UIListLayout_3.Padding = UDim.new(0.03, 0)
trii.UIListLayout_3.ItemLineAlignment = Enum.ItemLineAlignment.Center
trii.UIListLayout_3.Parent = trii.logError
trii.logInfo.BorderSizePixel = 0
trii.logInfo.Size = UDim2.new(0.139335, 0, 1, 0)
trii.logInfo.Position = UDim2.new(0.414065, 0, 0, 0)
trii.logInfo.BackgroundTransparency = 1
trii.logInfo.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.logInfo.ClipsDescendants = true
trii.logInfo.Name = "logInfo"
trii.logInfo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.logInfo.Parent = trii.logButtons
trii.Button_4.ZIndex = 2
trii.Button_4.ScaleType = Enum.ScaleType.Fit
trii.Button_4.Image = "rbxassetid://3926305904"
trii.Button_4.ImageRectSize = Vector2.new(36, 36)
trii.Button_4.Size = UDim2.new(0.184161, 0, 1, 0)
trii.Button_4.Name = "Button"
trii.Button_4.LayoutOrder = 7
trii.Button_4.BackgroundTransparency = 1
trii.Button_4.Position = UDim2.new(0, 0, 5.09924e-07, 0)
trii.Button_4.ImageRectOffset = Vector2.new(724, 724)
trii.Button_4.Parent = trii.logInfo
trii.TextLabel_3.TextWrapped = true
trii.TextLabel_3.BorderSizePixel = 0
trii.TextLabel_3.TextScaled = true
trii.TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.TextLabel_3.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextLabel_3.TextSize = 14
trii.TextLabel_3.Size = UDim2.new(0.728848, 0, 0.384311, 0)
trii.TextLabel_3.TextColor3 = Color3.fromRGB(225, 225, 225)
trii.TextLabel_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextLabel_3.Text = "Enable Logging"
trii.TextLabel_3.Position = UDim2.new(0.26, 0, 0.399745, 0)
trii.TextLabel_3.BackgroundTransparency = 1
trii.TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
trii.TextLabel_3.Parent = trii.logInfo
trii.UIListLayout_4.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout_4.VerticalAlignment = Enum.VerticalAlignment.Center
trii.UIListLayout_4.Padding = UDim.new(0.03, 0)
trii.UIListLayout_4.ItemLineAlignment = Enum.ItemLineAlignment.Center
trii.UIListLayout_4.Parent = trii.logInfo
trii.cclrbtn.BorderSizePixel = 3
trii.cclrbtn.ScaleType = Enum.ScaleType.Fit
trii.cclrbtn.AutoButtonColor = false
trii.cclrbtn.BackgroundColor3 = Color3.fromRGB(44, 48, 61)
trii.cclrbtn.BorderMode = Enum.BorderMode.Inset
trii.cclrbtn.Selectable = false
trii.cclrbtn.AnchorPoint = Vector2.new(0.5, 0.5)
trii.cclrbtn.Size = UDim2.new(0.108402, 0, 0.784056, 0)
trii.cclrbtn.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.cclrbtn.Name = "cclrbtn"
trii.cclrbtn.Position = UDim2.new(0.580167, 0, 0.5, 0)
trii.cclrbtn.Parent = trii.logButtons
trii.Title.TextWrapped = true
trii.Title.BorderSizePixel = 0
trii.Title.TextScaled = true
trii.Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Title.TextSize = 14
trii.Title.Name = "Title"
trii.Title.Size = UDim2.new(0.582424, 0, 0.612447, 0)
trii.Title.TextColor3 = Color3.fromRGB(250, 250, 250)
trii.Title.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title.Text = "Clear Logs"
trii.Title.Position = UDim2.new(0.494866, 0, 0.493859, 0)
trii.Title.BackgroundTransparency = 1
trii.Title.Parent = trii.cclrbtn
trii.UICorner_8.CornerRadius = UDim.new(0.08, 0)
trii.UICorner_8.Parent = trii.cclrbtn
trii.UIStroke_4.LineJoinMode = Enum.LineJoinMode.Miter
trii.UIStroke_4.Thickness = 3
trii.UIStroke_4.Color = Color3.fromRGB(60, 66, 83)
trii.UIStroke_4.Enabled = false
trii.UIStroke_4.Parent = trii.cclrbtn
trii.excp.BorderSizePixel = 3
trii.excp.ScaleType = Enum.ScaleType.Fit
trii.excp.AutoButtonColor = false
trii.excp.BackgroundColor3 = Color3.fromRGB(44, 48, 61)
trii.excp.BorderMode = Enum.BorderMode.Inset
trii.excp.Selectable = false
trii.excp.AnchorPoint = Vector2.new(0.5, 0.5)
trii.excp.Size = UDim2.new(0.0945025, 0, 0.784056, 0)
trii.excp.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.excp.Name = "excp"
trii.excp.Position = UDim2.new(0.711627, 0, 0.616964, 0)
trii.excp.Parent = trii.logButtons
trii.Title_1.TextWrapped = true
trii.Title_1.BorderSizePixel = 0
trii.Title_1.TextScaled = true
trii.Title_1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_1.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_1.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Title_1.TextSize = 14
trii.Title_1.Name = "Title"
trii.Title_1.Size = UDim2.new(0.712748, 0, 0.866139, 0)
trii.Title_1.TextColor3 = Color3.fromRGB(250, 250, 250)
trii.Title_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_1.Text = "Execute from Clipboard"
trii.Title_1.Position = UDim2.new(0.495013, 0, 0.497096, 0)
trii.Title_1.BackgroundTransparency = 1
trii.Title_1.Parent = trii.excp
trii.UICorner_9.CornerRadius = UDim.new(0.08, 0)
trii.UICorner_9.Parent = trii.excp
trii.UIStroke_5.LineJoinMode = Enum.LineJoinMode.Miter
trii.UIStroke_5.Thickness = 3
trii.UIStroke_5.Color = Color3.fromRGB(60, 66, 83)
trii.UIStroke_5.Enabled = false
trii.UIStroke_5.Parent = trii.excp
trii.TextLabel_4.TextWrapped = true
trii.TextLabel_4.BorderSizePixel = 0
trii.TextLabel_4.TextScaled = true
trii.TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.TextLabel_4.FontFace = Font.new("rbxasset://fonts/families/Inconsolata.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextLabel_4.TextSize = 14
trii.TextLabel_4.Size = UDim2.new(0.242269, 0, 0.492921, 0)
trii.TextLabel_4.TextColor3 = Color3.fromRGB(225, 225, 225)
trii.TextLabel_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextLabel_4.Text = "Note: There is like 280 line limit on roblox :/"
trii.TextLabel_4.Position = UDim2.new(0.81694, 0, 0.253539, 0)
trii.TextLabel_4.BackgroundTransparency = 1
trii.TextLabel_4.TextXAlignment = Enum.TextXAlignment.Left
trii.TextLabel_4.Parent = trii.logButtons
trii.consoleFrame.BorderSizePixel = 0
trii.consoleFrame.CanvasSize = UDim2.new(0, 0, 0.87, 0)
trii.consoleFrame.CanvasPosition = Vector2.new(0, 7.944)
trii.consoleFrame.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
trii.consoleFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
trii.consoleFrame.Size = UDim2.new(0.975214, 0, 0.853, 0)
trii.consoleFrame.BackgroundTransparency = 1
trii.consoleFrame.Active = true
trii.consoleFrame.ScrollBarImageTransparency = 0.8
trii.consoleFrame.ScrollBarThickness = 10
trii.consoleFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.consoleFrame.Name = "consoleFrame"
trii.consoleFrame.Position = UDim2.new(0.0167858, 0, 0.0257617, 0)
trii.consoleFrame.Parent = trii.logFrame
trii.GlobalLog.Name = "GlobalLog"
trii.GlobalLog.Parent = trii.consoleFrame
trii.TextBox.BorderSizePixel = 0
trii.TextBox.RichText = true
trii.TextBox.TextYAlignment = Enum.TextYAlignment.Top
trii.TextBox.BackgroundColor3 = Color3.fromRGB(39, 53, 255)
trii.TextBox.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextBox.TextStrokeColor3 = Color3.fromRGB(211, 211, 211)
trii.TextBox.TextSize = 26
trii.TextBox.Name = "TextBox"
trii.TextBox.AutomaticSize = Enum.AutomaticSize.Y
trii.TextBox.Size = UDim2.new(1, 0, 1, 0)
trii.TextBox.TextColor3 = Color3.fromRGB(211, 211, 211)
trii.TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextBox.Text = ""
trii.TextBox.LineHeight = 1.3
trii.TextBox.BackgroundTransparency = 1
trii.TextBox.TextXAlignment = Enum.TextXAlignment.Left
trii.TextBox.Parent = trii.consoleFrame
trii.SettingsFrame.Active = true
trii.SettingsFrame.BorderSizePixel = 0
trii.SettingsFrame.Size = UDim2.new(0.95, 0, 0.649, 0)
trii.SettingsFrame.Position = UDim2.new(0.024, 0, 0.09, 0)
trii.SettingsFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.SettingsFrame.Visible = false
trii.SettingsFrame.Name = "SettingsFrame"
trii.SettingsFrame.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.SettingsFrame.Parent = trii.MainFrame
trii.UICorner_10.CornerRadius = UDim.new(0.02, 0)
trii.UICorner_10.Parent = trii.SettingsFrame
trii.sample.BorderSizePixel = 0
trii.sample.Size = UDim2.new(0.939366, 0, 0.171716, 0)
trii.sample.Position = UDim2.new(0.0299999, 0, 0.0520692, 0)
trii.sample.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.sample.Name = "sample"
trii.sample.BackgroundColor3 = Color3.fromRGB(30, 34, 42)
trii.sample.Parent = trii.SettingsFrame
trii.UIListLayout_5.HorizontalAlignment = Enum.HorizontalAlignment.Right
trii.UIListLayout_5.SortOrder = Enum.SortOrder.LayoutOrder
trii.UIListLayout_5.Padding = UDim.new(0.1, 0)
trii.UIListLayout_5.Parent = trii.sample
trii.UICorner_11.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_11.Parent = trii.sample
trii.Title_2.TextWrapped = true
trii.Title_2.BorderSizePixel = 0
trii.Title_2.TextScaled = true
trii.Title_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_2.FontFace = Font.new("rbxasset://fonts/families/Inconsolata.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_2.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Title_2.TextSize = 100
trii.Title_2.Name = "Title"
trii.Title_2.Size = UDim2.new(0.895877, 0, 0, 0)
trii.Title_2.TextColor3 = Color3.fromRGB(250, 250, 250)
trii.Title_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_2.Text = ""
trii.Title_2.Position = UDim2.new(0.552062, 0, 0, 0)
trii.Title_2.BackgroundTransparency = 1
trii.Title_2.TextXAlignment = Enum.TextXAlignment.Left
trii.Title_2.Parent = trii.sample
trii.Title_3.TextWrapped = true
trii.Title_3.BorderSizePixel = 0
trii.Title_3.TextScaled = true
trii.Title_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_3.FontFace = Font.new("rbxasset://fonts/families/Inconsolata.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_3.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Title_3.TextSize = 100
trii.Title_3.Name = "Title"
trii.Title_3.Size = UDim2.new(0.909815, 0, 0.349235, 0)
trii.Title_3.TextColor3 = Color3.fromRGB(250, 250, 250)
trii.Title_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_3.Text = "Enable Trigon Desktop Connection"
trii.Title_3.Position = UDim2.new(0.545092, 0, 0.274617, 0)
trii.Title_3.BackgroundTransparency = 1
trii.Title_3.TextXAlignment = Enum.TextXAlignment.Left
trii.Title_3.Parent = trii.sample
trii.Title_4.TextWrapped = true
trii.Title_4.BorderSizePixel = 0
trii.Title_4.TextScaled = true
trii.Title_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_4.FontFace = Font.new("rbxasset://fonts/families/Inconsolata.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_4.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Title_4.TextSize = 100
trii.Title_4.Name = "Title"
trii.Title_4.Size = UDim2.new(0.909815, 0, 0.273333, 0)
trii.Title_4.TextColor3 = Color3.fromRGB(250, 250, 250)
trii.Title_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_4.Text = "{comming soon}"
trii.Title_4.Position = UDim2.new(0.545092, 0, 0.685901, 0)
trii.Title_4.BackgroundTransparency = 1
trii.Title_4.TextXAlignment = Enum.TextXAlignment.Left
trii.Title_4.Parent = trii.sample
trii.ImageLabel.BorderSizePixel = 0
trii.ImageLabel.ScaleType = Enum.ScaleType.Fit
trii.ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.ImageLabel.Image = "rbxassetid://15865858307"
trii.ImageLabel.Size = UDim2.new(0.0631573, 0, 0.173628, 0)
trii.ImageLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.ImageLabel.BackgroundTransparency = 1
trii.ImageLabel.Position = UDim2.new(0.0408212, 0, 0.0501573, 0)
trii.ImageLabel.Parent = trii.SettingsFrame
trii.homeFrame.Active = true
trii.homeFrame.BorderSizePixel = 0
trii.homeFrame.Size = UDim2.new(0.949745, 0, 0.646527, 0)
trii.homeFrame.Position = UDim2.new(0.0244645, 0, 0.0897571, 0)
trii.homeFrame.BackgroundTransparency = 0.45
trii.homeFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.homeFrame.ClipsDescendants = true
trii.homeFrame.Name = "homeFrame"
trii.homeFrame.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.homeFrame.Parent = trii.MainFrame
trii.UICorner_12.CornerRadius = UDim.new(0.02, 0)
trii.UICorner_12.Parent = trii.homeFrame
trii.changelogFrame.BorderSizePixel = 0
trii.changelogFrame.CanvasSize = UDim2.new(0, 0, 1, 0)
trii.changelogFrame.Selectable = false
trii.changelogFrame.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.changelogFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
trii.changelogFrame.Size = UDim2.new(0.16949, 0, 1.00031, 0)
trii.changelogFrame.BackgroundTransparency = 0.35
trii.changelogFrame.ScrollBarImageTransparency = 0.64
trii.changelogFrame.ScrollBarThickness = 5
trii.changelogFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.changelogFrame.Name = "changelogFrame"
trii.changelogFrame.Position = UDim2.new(-5.87782e-09, 0, 0, 0)
trii.changelogFrame.Parent = trii.homeFrame
trii.ScriptBox.TextWrapped = true
trii.ScriptBox.LineHeight = 1.41
trii.ScriptBox.BorderSizePixel = 0
trii.ScriptBox.RichText = true
trii.ScriptBox.TextYAlignment = Enum.TextYAlignment.Top
trii.ScriptBox.BackgroundColor3 = Color3.fromRGB(75, 0, 0)
trii.ScriptBox.FontFace = Font.new("rbxasset://fonts/families/Nunito.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.ScriptBox.Position = UDim2.new(0.0470594, 0, 0.0200526, 0)
trii.ScriptBox.BackgroundTransparency = 1
trii.ScriptBox.AutomaticSize = Enum.AutomaticSize.Y
trii.ScriptBox.TextSize = 22
trii.ScriptBox.ClipsDescendants = true
trii.ScriptBox.Size = UDim2.new(0.952941, 0, 0.982121, 0)
trii.ScriptBox.TextColor3 = Color3.fromRGB(150, 150, 150)
trii.ScriptBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.ScriptBox.Text = "~~ Changelog v0.03 ~~\n+ Added auto execute\n+ Added option to save scripts\n+ Changed some stuff on console log\n\n~~ Changelog v0.02 ~~\n+ Added changelog\n+ Added game script section (will be adding different game scripts soon)\n+ Added Console Logging\n\n~~ Changelog v0.01 ~~\n- Tridog release :o"
trii.ScriptBox.MultiLine = true
trii.ScriptBox.CursorPosition = -1
trii.ScriptBox.Name = "ScriptBox"
trii.ScriptBox.TextXAlignment = Enum.TextXAlignment.Left
trii.ScriptBox.ClearTextOnFocus = false
trii.ScriptBox.Parent = trii.changelogFrame
trii.UICorner_13.CornerRadius = UDim.new(1, 0)
trii.UICorner_13.Parent = trii.changelogFrame
trii.UIListLayout_6.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout_6.SortOrder = Enum.SortOrder.LayoutOrder
trii.UIListLayout_6.Padding = UDim.new(0.018, 0)
trii.UIListLayout_6.Parent = trii.homeFrame
trii.scriptsFrame.BorderSizePixel = 0
trii.scriptsFrame.CanvasSize = UDim2.new(0, 0, 1, 0)
trii.scriptsFrame.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.scriptsFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
trii.scriptsFrame.Size = UDim2.new(0.357601, 0, 1, 0)
trii.scriptsFrame.BackgroundTransparency = 0.35
trii.scriptsFrame.Active = true
trii.scriptsFrame.ScrollBarImageTransparency = 0.64
trii.scriptsFrame.ScrollBarThickness = 5
trii.scriptsFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.scriptsFrame.Name = "scriptsFrame"
trii.scriptsFrame.Position = UDim2.new(0.186719, 0, 0, 0)
trii.scriptsFrame.Parent = trii.homeFrame
trii.UICorner_14.CornerRadius = UDim.new(1, 0)
trii.UICorner_14.Parent = trii.scriptsFrame
trii.UIListLayout_7.HorizontalAlignment = Enum.HorizontalAlignment.Center
trii.UIListLayout_7.Padding = UDim.new(0.01, 0)
trii.UIListLayout_7.Parent = trii.scriptsFrame
trii._GameHeader.BorderSizePixel = 0
trii._GameHeader.Size = UDim2.new(1, 0, 0.157089, 0)
trii._GameHeader.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii._GameHeader.Name = "#GameHeader"
trii._GameHeader.BackgroundColor3 = Color3.fromRGB(35, 39, 49)
trii._GameHeader.Parent = trii.scriptsFrame
trii.Title_5.TextWrapped = true
trii.Title_5.BorderSizePixel = 0
trii.Title_5.TextScaled = true
trii.Title_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_5.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_5.TextSize = 14
trii.Title_5.Name = "Title"
trii.Title_5.Size = UDim2.new(0.998909, 0, 0.572671, 0)
trii.Title_5.TextColor3 = Color3.fromRGB(180, 193, 216)
trii.Title_5.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_5.Text = "{game_name}"
trii.Title_5.Position = UDim2.new(0, 0, 0.2, 0)
trii.Title_5.BackgroundTransparency = 1
trii.Title_5.Parent = trii._GameHeader
trii.UICorner_15.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_15.Parent = trii._GameHeader
trii.TextButton.TextWrapped = true
trii.TextButton.Active = false
trii.TextButton.BorderSizePixel = 0
trii.TextButton.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.TextButton.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextButton.Position = UDim2.new(0.0264026, 0, 0.157089, 0)
trii.TextButton.TextSize = 16
trii.TextButton.Size = UDim2.new(0.950495, 0, 0.1, 0)
trii.TextButton.TextColor3 = Color3.fromRGB(180, 193, 216)
trii.TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextButton.Text = "No scripts found for this game..."
trii.TextButton.Parent = trii.scriptsFrame
trii.UICorner_16.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_16.Parent = trii.TextButton
trii.localplrFrame.BorderSizePixel = 0
trii.localplrFrame.Size = UDim2.new(0.287, 0, 1, 0)
trii.localplrFrame.Position = UDim2.new(0.209419, 0, 3.06074e-08, 0)
trii.localplrFrame.BackgroundTransparency = 0.4
trii.localplrFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.localplrFrame.Visible = false
trii.localplrFrame.Name = "localplrFrame"
trii.localplrFrame.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.localplrFrame.Parent = trii.homeFrame
trii.UIListLayout_8.HorizontalAlignment = Enum.HorizontalAlignment.Center
trii.UIListLayout_8.SortOrder = Enum.SortOrder.LayoutOrder
trii.UIListLayout_8.Padding = UDim.new(0.01, 0)
trii.UIListLayout_8.Parent = trii.localplrFrame
trii.Header.BorderSizePixel = 0
trii.Header.Size = UDim2.new(1, 0, 0.157089, 0)
trii.Header.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Header.Name = "Header"
trii.Header.BackgroundColor3 = Color3.fromRGB(35, 39, 49)
trii.Header.Parent = trii.localplrFrame
trii.Title_6.TextWrapped = true
trii.Title_6.BorderSizePixel = 0
trii.Title_6.TextScaled = true
trii.Title_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_6.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_6.TextSize = 14
trii.Title_6.Name = "Title"
trii.Title_6.Size = UDim2.new(0.998909, 0, 0.572671, 0)
trii.Title_6.TextColor3 = Color3.fromRGB(180, 193, 216)
trii.Title_6.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_6.Text = "Local Player"
trii.Title_6.Position = UDim2.new(0, 0, 0.2, 0)
trii.Title_6.BackgroundTransparency = 1
trii.Title_6.Parent = trii.Header
trii.UICorner_17.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_17.Parent = trii.Header
trii.walkspeed.BorderSizePixel = 0
trii.walkspeed.Size = UDim2.new(0.912001, 0, 0.127863, 0)
trii.walkspeed.Position = UDim2.new(0.00907725, 0, 0.167089, 0)
trii.walkspeed.BackgroundTransparency = 1
trii.walkspeed.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.walkspeed.Name = "walkspeed"
trii.walkspeed.BackgroundColor3 = Color3.fromRGB(162, 162, 162)
trii.walkspeed.Parent = trii.localplrFrame
trii.Slider.BorderSizePixel = 0
trii.Slider.Size = UDim2.new(0.944831, 0, 0.393775, 0)
trii.Slider.Position = UDim2.new(0.0289786, 0, 0.594506, 0)
trii.Slider.BackgroundTransparency = 1
trii.Slider.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Slider.Name = "Slider"
trii.Slider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Slider:SetAttribute("ColorEnabled1", Color3.fromRGB(231, 174, 174))
trii.Slider:SetAttribute("ColorEnabled2", Color3.fromRGB(156, 19, 19))
trii.Slider:SetAttribute("IsEnabled", true)
trii.Slider:SetAttribute("ColorDisabled1", Color3.fromRGB(202, 202, 202))
trii.Slider:SetAttribute("ColorDisabled2", Color3.fromRGB(158, 158, 158))
trii.Slider:SetAttribute("ValuePercent", 50)
trii.Slider:SetAttribute("ValueIncrement", 1)
trii.Slider.Parent = trii.walkspeed
trii.Image.BorderSizePixel = 0
trii.Image.Size = UDim2.new(1, 0, 1, 0)
trii.Image.BackgroundTransparency = 1
trii.Image.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Image.Name = "Image"
trii.Image.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Image.Parent = trii.Slider
trii.Bar_Background.AnchorPoint = Vector2.new(0, 0.5)
trii.Bar_Background.BorderSizePixel = 0
trii.Bar_Background.Size = UDim2.new(1, 0, 0.15, 0)
trii.Bar_Background.Position = UDim2.new(0, 0, 0.5, 0)
trii.Bar_Background.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Bar_Background.Name = "Bar-Background"
trii.Bar_Background.BackgroundColor3 = Color3.fromRGB(101, 112, 141)
trii.Bar_Background.Parent = trii.Image
trii.UICorner_18.CornerRadius = UDim.new(0.5, 0)
trii.UICorner_18.Parent = trii.Bar_Background
trii.Bar_Foreground.AnchorPoint = Vector2.new(0, 0.5)
trii.Bar_Foreground.ZIndex = 2
trii.Bar_Foreground.BorderSizePixel = 0
trii.Bar_Foreground.Size = UDim2.new(0.5, 0, 0.3, 0)
trii.Bar_Foreground.Position = UDim2.new(0, 0, 0.5, 0)
trii.Bar_Foreground.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Bar_Foreground.Name = "Bar-Foreground"
trii.Bar_Foreground.BackgroundColor3 = Color3.fromRGB(65, 68, 91)
trii.Bar_Foreground.Parent = trii.Image
trii.UICorner_19.CornerRadius = UDim.new(0.5, 0)
trii.UICorner_19.Parent = trii.Bar_Foreground
trii.Thumb.ImageColor3 = Color3.fromRGB(65, 68, 91)
trii.Thumb.ZIndex = 3
trii.Thumb.BorderSizePixel = 0
trii.Thumb.ScaleType = Enum.ScaleType.Fit
trii.Thumb.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Thumb.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Thumb.Image = "rbxassetid://11953889677"
trii.Thumb.Size = UDim2.new(0.0778816, 0, 1, 0)
trii.Thumb.Name = "Thumb"
trii.Thumb.BackgroundTransparency = 1
trii.Thumb.Position = UDim2.new(0.5, 0, 0.5, 0)
trii.Thumb:SetAttribute("IsDragging", false)
trii.Thumb.Parent = trii.Image
trii.UIAspectRatioConstraint.DominantAxis = Enum.DominantAxis.Height
trii.UIAspectRatioConstraint.Parent = trii.Thumb
trii.Thumb_Pressed.ImageColor3 = Color3.fromRGB(65, 68, 91)
trii.Thumb_Pressed.BorderSizePixel = 0
trii.Thumb_Pressed.ScaleType = Enum.ScaleType.Fit
trii.Thumb_Pressed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Thumb_Pressed.ImageTransparency = 0.8
trii.Thumb_Pressed.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Thumb_Pressed.Image = "rbxassetid://11953889677"
trii.Thumb_Pressed.Size = UDim2.new(2, 0, 2, 0)
trii.Thumb_Pressed.Name = "Thumb-Pressed"
trii.Thumb_Pressed.BackgroundTransparency = 1
trii.Thumb_Pressed.Position = UDim2.new(0.5, 0, 0.5, 0)
trii.Thumb_Pressed.Visible = false
trii.Thumb_Pressed.Parent = trii.Thumb
trii.Configuration.Parent = trii.Slider
trii.ObjectBarBackground.Name = "ObjectBarBackground"
trii.ObjectBarBackground.Parent = trii.Configuration
trii.ObjectBarForeground.Name = "ObjectBarForeground"
trii.ObjectBarForeground.Parent = trii.Configuration
trii.ObjectThumbNormal.Name = "ObjectThumbNormal"
trii.ObjectThumbNormal.Parent = trii.Configuration
trii.ObjectThumbPressed.Name = "ObjectThumbPressed"
trii.ObjectThumbPressed.Parent = trii.Configuration
trii.Title_7.TextWrapped = true
trii.Title_7.BorderSizePixel = 0
trii.Title_7.TextScaled = true
trii.Title_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_7.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_7.TextSize = 14
trii.Title_7.Name = "Title"
trii.Title_7.Size = UDim2.new(0.998909, 0, 0.527078, 0)
trii.Title_7.TextColor3 = Color3.fromRGB(180, 193, 216)
trii.Title_7.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_7.Text = "Walk Speed Modified: 0"
trii.Title_7.Position = UDim2.new(0.00612932, 0, -0.013275, 0)
trii.Title_7.BackgroundTransparency = 1
trii.Title_7.Parent = trii.walkspeed
trii.jumspeed.BorderSizePixel = 0
trii.jumspeed.Size = UDim2.new(0.912001, 0, 0.127863, 0)
trii.jumspeed.Position = UDim2.new(0.00907725, 0, 0.167089, 0)
trii.jumspeed.BackgroundTransparency = 1
trii.jumspeed.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.jumspeed.Name = "jumspeed"
trii.jumspeed.BackgroundColor3 = Color3.fromRGB(162, 162, 162)
trii.jumspeed.Parent = trii.localplrFrame
trii.Slider_1.BorderSizePixel = 0
trii.Slider_1.Size = UDim2.new(0.944831, 0, 0.393775, 0)
trii.Slider_1.Position = UDim2.new(0.0289786, 0, 0.594506, 0)
trii.Slider_1.BackgroundTransparency = 1
trii.Slider_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Slider_1.Name = "Slider"
trii.Slider_1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Slider_1:SetAttribute("ColorEnabled1", Color3.fromRGB(231, 174, 174))
trii.Slider_1:SetAttribute("ColorEnabled2", Color3.fromRGB(156, 19, 19))
trii.Slider_1:SetAttribute("IsEnabled", true)
trii.Slider_1:SetAttribute("ColorDisabled1", Color3.fromRGB(202, 202, 202))
trii.Slider_1:SetAttribute("ColorDisabled2", Color3.fromRGB(158, 158, 158))
trii.Slider_1:SetAttribute("ValuePercent", 50)
trii.Slider_1:SetAttribute("ValueIncrement", 1)
trii.Slider_1.Parent = trii.jumspeed
trii.Image_1.BorderSizePixel = 0
trii.Image_1.Size = UDim2.new(1, 0, 1, 0)
trii.Image_1.BackgroundTransparency = 1
trii.Image_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Image_1.Name = "Image"
trii.Image_1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Image_1.Parent = trii.Slider_1
trii.Bar_Background_1.AnchorPoint = Vector2.new(0, 0.5)
trii.Bar_Background_1.BorderSizePixel = 0
trii.Bar_Background_1.Size = UDim2.new(1, 0, 0.15, 0)
trii.Bar_Background_1.Position = UDim2.new(0, 0, 0.5, 0)
trii.Bar_Background_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Bar_Background_1.Name = "Bar-Background"
trii.Bar_Background_1.BackgroundColor3 = Color3.fromRGB(231, 174, 174)
trii.Bar_Background_1.Parent = trii.Image_1
trii.UICorner_20.CornerRadius = UDim.new(0.5, 0)
trii.UICorner_20.Parent = trii.Bar_Background_1
trii.Bar_Foreground_1.AnchorPoint = Vector2.new(0, 0.5)
trii.Bar_Foreground_1.ZIndex = 2
trii.Bar_Foreground_1.BorderSizePixel = 0
trii.Bar_Foreground_1.Size = UDim2.new(0.5, 0, 0.3, 0)
trii.Bar_Foreground_1.Position = UDim2.new(0, 0, 0.5, 0)
trii.Bar_Foreground_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Bar_Foreground_1.Name = "Bar-Foreground"
trii.Bar_Foreground_1.BackgroundColor3 = Color3.fromRGB(156, 19, 19)
trii.Bar_Foreground_1.Parent = trii.Image_1
trii.UICorner_21.CornerRadius = UDim.new(0.5, 0)
trii.UICorner_21.Parent = trii.Bar_Foreground_1
trii.Thumb_1.ImageColor3 = Color3.fromRGB(156, 19, 19)
trii.Thumb_1.ZIndex = 3
trii.Thumb_1.BorderSizePixel = 0
trii.Thumb_1.ScaleType = Enum.ScaleType.Fit
trii.Thumb_1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Thumb_1.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Thumb_1.Image = "rbxassetid://11953889677"
trii.Thumb_1.Size = UDim2.new(0.0778816, 0, 1, 0)
trii.Thumb_1.Name = "Thumb"
trii.Thumb_1.BackgroundTransparency = 1
trii.Thumb_1.Position = UDim2.new(0.5, 0, 0.5, 0)
trii.Thumb_1:SetAttribute("IsDragging", false)
trii.Thumb_1.Parent = trii.Image_1
trii.UIAspectRatioConstraint_1.DominantAxis = Enum.DominantAxis.Height
trii.UIAspectRatioConstraint_1.Parent = trii.Thumb_1
trii.Thumb_Pressed_1.ImageColor3 = Color3.fromRGB(156, 19, 19)
trii.Thumb_Pressed_1.BorderSizePixel = 0
trii.Thumb_Pressed_1.ScaleType = Enum.ScaleType.Fit
trii.Thumb_Pressed_1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Thumb_Pressed_1.ImageTransparency = 0.8
trii.Thumb_Pressed_1.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Thumb_Pressed_1.Image = "rbxassetid://11953889677"
trii.Thumb_Pressed_1.Size = UDim2.new(2, 0, 2, 0)
trii.Thumb_Pressed_1.Name = "Thumb-Pressed"
trii.Thumb_Pressed_1.BackgroundTransparency = 1
trii.Thumb_Pressed_1.Position = UDim2.new(0.5, 0, 0.5, 0)
trii.Thumb_Pressed_1.Visible = false
trii.Thumb_Pressed_1.Parent = trii.Thumb_1
trii.Configuration_1.Parent = trii.Slider_1
trii.ObjectBarBackground_1.Name = "ObjectBarBackground"
trii.ObjectBarBackground_1.Parent = trii.Configuration_1
trii.ObjectBarForeground_1.Name = "ObjectBarForeground"
trii.ObjectBarForeground_1.Parent = trii.Configuration_1
trii.ObjectThumbNormal_1.Name = "ObjectThumbNormal"
trii.ObjectThumbNormal_1.Parent = trii.Configuration_1
trii.ObjectThumbPressed_1.Name = "ObjectThumbPressed"
trii.ObjectThumbPressed_1.Parent = trii.Configuration_1
trii.Scripts.Name = "Scripts"
trii.Scripts.Parent = trii.Slider_1
trii.FormSliderHorizontalLocalScript.Enabled = false
trii.FormSliderHorizontalLocalScript.Name = "FormSliderHorizontalLocalScript"
trii.FormSliderHorizontalLocalScript.Disabled = true
trii.FormSliderHorizontalLocalScript.Parent = trii.Scripts
trii.Title_8.TextWrapped = true
trii.Title_8.BorderSizePixel = 0
trii.Title_8.TextScaled = true
trii.Title_8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_8.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_8.TextSize = 14
trii.Title_8.Name = "Title"
trii.Title_8.Size = UDim2.new(0.998909, 0, 0.527078, 0)
trii.Title_8.TextColor3 = Color3.fromRGB(180, 193, 216)
trii.Title_8.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_8.Text = "Jump Speed Modified: 0"
trii.Title_8.Position = UDim2.new(0.00612932, 0, -0.013275, 0)
trii.Title_8.BackgroundTransparency = 1
trii.Title_8.Parent = trii.jumspeed
trii.LocalPlayerHandle.Name = "LocalPlayerHandle"
trii.LocalPlayerHandle.Parent = trii.localplrFrame
trii.FormSliderClass.Name = "FormSliderClass"
trii.FormSliderClass.Parent = trii.localplrFrame
trii.ExtendDraggableClass.Name = "ExtendDraggableClass"
trii.ExtendDraggableClass.Parent = trii.localplrFrame
trii.CurPos.TextWrapped = true
trii.CurPos.BorderSizePixel = 0
trii.CurPos.TextScaled = true
trii.CurPos.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.CurPos.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.CurPos.TextSize = 14
trii.CurPos.Name = "CurPos"
trii.CurPos.Size = UDim2.new(0.898733, 0, 0.085544, 0)
trii.CurPos.TextColor3 = Color3.fromRGB(180, 193, 216)
trii.CurPos.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.CurPos.Text = "Current location: "
trii.CurPos.Position = UDim2.new(0.000272832, 0, 0.442814, 0)
trii.CurPos.BackgroundTransparency = 1
trii.CurPos.Parent = trii.localplrFrame
trii.localscriptsFrame.BorderSizePixel = 0
trii.localscriptsFrame.CanvasSize = UDim2.new(0, 0, 1, 0)
trii.localscriptsFrame.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.localscriptsFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
trii.localscriptsFrame.Size = UDim2.new(0.43768, 0, 1, 0)
trii.localscriptsFrame.BackgroundTransparency = 0.35
trii.localscriptsFrame.Active = true
trii.localscriptsFrame.ScrollBarImageTransparency = 0.64
trii.localscriptsFrame.ScrollBarThickness = 5
trii.localscriptsFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.localscriptsFrame.Name = "localscriptsFrame"
trii.localscriptsFrame.Position = UDim2.new(0.56232, 0, 0, 0)
trii.localscriptsFrame.Parent = trii.homeFrame
trii.UICorner_22.CornerRadius = UDim.new(1, 0)
trii.UICorner_22.Parent = trii.localscriptsFrame
trii.UIListLayout_9.HorizontalAlignment = Enum.HorizontalAlignment.Center
trii.UIListLayout_9.SortOrder = Enum.SortOrder.LayoutOrder
trii.UIListLayout_9.Padding = UDim.new(0.01, 0)
trii.UIListLayout_9.Parent = trii.localscriptsFrame
trii._GameHeader_1.BorderSizePixel = 0
trii._GameHeader_1.Size = UDim2.new(1, 0, 0.157089, 0)
trii._GameHeader_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii._GameHeader_1.Name = "#GameHeader"
trii._GameHeader_1.BackgroundColor3 = Color3.fromRGB(35, 39, 49)
trii._GameHeader_1.Parent = trii.localscriptsFrame
trii.Title_9.TextWrapped = true
trii.Title_9.BorderSizePixel = 0
trii.Title_9.TextScaled = true
trii.Title_9.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_9.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_9.TextSize = 14
trii.Title_9.Name = "Title"
trii.Title_9.Size = UDim2.new(0.631911, 0, 0.572671, 0)
trii.Title_9.TextColor3 = Color3.fromRGB(180, 193, 216)
trii.Title_9.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_9.Text = "Local Scripts"
trii.Title_9.Position = UDim2.new(0, 0, 0.2, 0)
trii.Title_9.BackgroundTransparency = 1
trii.Title_9.Parent = trii._GameHeader_1
trii.UICorner_23.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_23.Parent = trii._GameHeader_1
trii.Add_btn.BorderSizePixel = 0
trii.Add_btn.Size = UDim2.new(0.345421, 0, 0.482072, 0)
trii.Add_btn.Position = UDim2.new(0.63191, 0, 0.290598, 0)
trii.Add_btn.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Add_btn.Name = "Add_btn"
trii.Add_btn.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.Add_btn.Parent = trii._GameHeader_1
trii.TextButton_1.TextWrapped = true
trii.TextButton_1.BorderSizePixel = 0
trii.TextButton_1.RichText = true
trii.TextButton_1.TextScaled = true
trii.TextButton_1.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.TextButton_1.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextButton_1.Position = UDim2.new(0.0427491, 0, 0.159589, 0)
trii.TextButton_1.TextSize = 14
trii.TextButton_1.Size = UDim2.new(0.909327, 0, 0.659937, 0)
trii.TextButton_1.TextColor3 = Color3.fromRGB(255, 255, 255)
trii.TextButton_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextButton_1.Text = "+ Add Script"
trii.TextButton_1.BackgroundTransparency = 1
trii.TextButton_1.Parent = trii.Add_btn
trii.UICorner_24.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_24.Parent = trii.Add_btn
trii.script_placeholder.BorderSizePixel = 0
trii.script_placeholder.Size = UDim2.new(0.967878, 0, 0.1, 0)
trii.script_placeholder.Position = UDim2.new(0.0204618, 0, 0.167089, 0)
trii.script_placeholder.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.script_placeholder.ClipsDescendants = true
trii.script_placeholder.Name = "script_placeholder"
trii.script_placeholder.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.script_placeholder.Parent = trii.localscriptsFrame
trii.scriptTitle.TextWrapped = true
trii.scriptTitle.BorderSizePixel = 0
trii.scriptTitle.TextScaled = true
trii.scriptTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.scriptTitle.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.scriptTitle.ClipsDescendants = true
trii.scriptTitle.TextSize = 14
trii.scriptTitle.Name = "scriptTitle"
trii.scriptTitle.Size = UDim2.new(0.598337, 0, 0.484707, 0)
trii.scriptTitle.TextColor3 = Color3.fromRGB(180, 193, 216)
trii.scriptTitle.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.scriptTitle.Text = "Local Scripts"
trii.scriptTitle.Position = UDim2.new(0.0255949, 0, 0.247684, 0)
trii.scriptTitle.BackgroundTransparency = 1
trii.scriptTitle.TextXAlignment = Enum.TextXAlignment.Left
trii.scriptTitle.Parent = trii.script_placeholder
trii.Buttons.BorderSizePixel = 0
trii.Buttons.Size = UDim2.new(0.32274, 0, 0.81382, 0)
trii.Buttons.Position = UDim2.new(0.665989, 0, 0.0859291, 0)
trii.Buttons.BackgroundTransparency = 1
trii.Buttons.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Buttons.Name = "Buttons"
trii.Buttons.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Buttons.Parent = trii.script_placeholder
trii.UIListLayout_10.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout_10.HorizontalAlignment = Enum.HorizontalAlignment.Right
trii.UIListLayout_10.VerticalAlignment = Enum.VerticalAlignment.Center
trii.UIListLayout_10.SortOrder = Enum.SortOrder.LayoutOrder
trii.UIListLayout_10.Padding = UDim.new(0.015, 0)
trii.UIListLayout_10.Parent = trii.Buttons
trii.run.BorderSizePixel = 0
trii.run.Size = UDim2.new(0.219148, 0, 1, 0)
trii.run.Position = UDim2.new(0.780852, 0, 0, 0)
trii.run.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.run.Name = "run"
trii.run.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.run.Parent = trii.Buttons
trii.UIListLayout_11.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout_11.HorizontalAlignment = Enum.HorizontalAlignment.Center
trii.UIListLayout_11.VerticalAlignment = Enum.VerticalAlignment.Center
trii.UIListLayout_11.ItemLineAlignment = Enum.ItemLineAlignment.Center
trii.UIListLayout_11.Parent = trii.run
trii.UICorner_25.CornerRadius = UDim.new(0.06, 0)
trii.UICorner_25.Parent = trii.run
trii.button.ZIndex = 2
trii.button.BorderSizePixel = 0
trii.button.ScaleType = Enum.ScaleType.Fit
trii.button.Image = "rbxassetid://3926305904"
trii.button.ImageRectSize = Vector2.new(36, 36)
trii.button.Size = UDim2.new(0.5, 0, 0.5, 0)
trii.button.Name = "button"
trii.button.BackgroundTransparency = 1
trii.button.Position = UDim2.new(0.5, 0, 0.5, 0)
trii.button.ImageRectOffset = Vector2.new(404, 844)
trii.button.Parent = trii.run
trii.autoload.BorderSizePixel = 0
trii.autoload.Size = UDim2.new(0.627535, 0, 1, 0)
trii.autoload.Position = UDim2.new(0.0928736, 0, 0, 0)
trii.autoload.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.autoload.Name = "autoload"
trii.autoload.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.autoload.Parent = trii.Buttons
trii.UIListLayout_12.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout_12.VerticalAlignment = Enum.VerticalAlignment.Center
trii.UIListLayout_12.ItemLineAlignment = Enum.ItemLineAlignment.Center
trii.UIListLayout_12.Parent = trii.autoload
trii.button_1.ZIndex = 2
trii.button_1.BorderSizePixel = 0
trii.button_1.ScaleType = Enum.ScaleType.Fit
trii.button_1.Image = "rbxassetid://3926305904"
trii.button_1.ImageRectSize = Vector2.new(36, 36)
trii.button_1.Size = UDim2.new(0.31389, 0, 0.496509, 0)
trii.button_1.Name = "button"
trii.button_1.LayoutOrder = 1
trii.button_1.BackgroundTransparency = 1
trii.button_1.Position = UDim2.new(0, 0, 0.251746, 0)
trii.button_1.ImageRectOffset = Vector2.new(724, 724)
trii.button_1.Parent = trii.autoload
trii.zz.TextWrapped = true
trii.zz.BorderSizePixel = 0
trii.zz.RichText = true
trii.zz.TextScaled = true
trii.zz.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.zz.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.zz.TextSize = 14
trii.zz.Name = "zz"
trii.zz.Size = UDim2.new(0.592892, 0, 0.503491, 0)
trii.zz.TextColor3 = Color3.fromRGB(240, 240, 240)
trii.zz.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.zz.Text = "AutoExecute"
trii.zz.Position = UDim2.new(0.355672, 0, 0.248254, 0)
trii.zz.BackgroundTransparency = 1
trii.zz.Parent = trii.autoload
trii.UICorner_26.CornerRadius = UDim.new(0.06, 0)
trii.UICorner_26.Parent = trii.autoload
trii.delete.BorderSizePixel = 0
trii.delete.Size = UDim2.new(0.219148, 0, 1, 0)
trii.delete.Position = UDim2.new(0.780852, 0, 0, 0)
trii.delete.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.delete.Name = "delete"
trii.delete.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.delete.Parent = trii.Buttons
trii.UIListLayout_13.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout_13.HorizontalAlignment = Enum.HorizontalAlignment.Center
trii.UIListLayout_13.VerticalAlignment = Enum.VerticalAlignment.Center
trii.UIListLayout_13.ItemLineAlignment = Enum.ItemLineAlignment.Center
trii.UIListLayout_13.Parent = trii.delete
trii.UICorner_27.CornerRadius = UDim.new(0.06, 0)
trii.UICorner_27.Parent = trii.delete
trii.button_2.ZIndex = 2
trii.button_2.BorderSizePixel = 0
trii.button_2.ScaleType = Enum.ScaleType.Fit
trii.button_2.Image = "rbxassetid://3926305904"
trii.button_2.ImageRectSize = Vector2.new(36, 36)
trii.button_2.Size = UDim2.new(0.5, 0, 0.5, 0)
trii.button_2.Name = "button"
trii.button_2.BackgroundTransparency = 1
trii.button_2.Position = UDim2.new(0.5, 0, 0.5, 0)
trii.button_2.ImageRectOffset = Vector2.new(644, 724)
trii.button_2.Parent = trii.delete
trii.UICorner_28.CornerRadius = UDim.new(0.06, 0)
trii.UICorner_28.Parent = trii.script_placeholder
trii.addlocalscriptsFrame.BorderSizePixel = 0
trii.addlocalscriptsFrame.CanvasSize = UDim2.new(0, 0, 1, 0)
trii.addlocalscriptsFrame.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.addlocalscriptsFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
trii.addlocalscriptsFrame.Size = UDim2.new(0.43768, 0, 1, 0)
trii.addlocalscriptsFrame.BackgroundTransparency = 0.35
trii.addlocalscriptsFrame.Active = true
trii.addlocalscriptsFrame.ScrollBarImageTransparency = 0.64
trii.addlocalscriptsFrame.ScrollBarThickness = 5
trii.addlocalscriptsFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.addlocalscriptsFrame.Name = "addlocalscriptsFrame"
trii.addlocalscriptsFrame.Position = UDim2.new(0.56232, 0, 0, 0)
trii.addlocalscriptsFrame.Parent = trii.homeFrame
trii.UICorner_29.CornerRadius = UDim.new(1, 0)
trii.UICorner_29.Parent = trii.addlocalscriptsFrame
trii.UIListLayout_14.HorizontalAlignment = Enum.HorizontalAlignment.Center
trii.UIListLayout_14.SortOrder = Enum.SortOrder.LayoutOrder
trii.UIListLayout_14.Padding = UDim.new(0.01, 0)
trii.UIListLayout_14.Parent = trii.addlocalscriptsFrame
trii._GameHeader_2.BorderSizePixel = 0
trii._GameHeader_2.Size = UDim2.new(1, 0, 0.157089, 0)
trii._GameHeader_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii._GameHeader_2.Name = "#GameHeader"
trii._GameHeader_2.BackgroundColor3 = Color3.fromRGB(35, 39, 49)
trii._GameHeader_2.Parent = trii.addlocalscriptsFrame
trii.Title_10.TextWrapped = true
trii.Title_10.BorderSizePixel = 0
trii.Title_10.TextScaled = true
trii.Title_10.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_10.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_10.TextSize = 14
trii.Title_10.Name = "Title"
trii.Title_10.Size = UDim2.new(0.631911, 0, 0.572671, 0)
trii.Title_10.TextColor3 = Color3.fromRGB(180, 193, 216)
trii.Title_10.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_10.Text = "Local Scripts"
trii.Title_10.Position = UDim2.new(0, 0, 0.2, 0)
trii.Title_10.BackgroundTransparency = 1
trii.Title_10.Parent = trii._GameHeader_2
trii.UICorner_30.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_30.Parent = trii._GameHeader_2
trii.Frame.BorderSizePixel = 0
trii.Frame.Size = UDim2.new(0.345421, 0, 0.482072, 0)
trii.Frame.Position = UDim2.new(0.63191, 0, 0.290598, 0)
trii.Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Frame.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.Frame.Parent = trii._GameHeader_2
trii.TextButton_2.TextWrapped = true
trii.TextButton_2.BorderSizePixel = 0
trii.TextButton_2.RichText = true
trii.TextButton_2.TextScaled = true
trii.TextButton_2.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.TextButton_2.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextButton_2.Position = UDim2.new(0.0427491, 0, 0.159589, 0)
trii.TextButton_2.TextSize = 14
trii.TextButton_2.Size = UDim2.new(0.909327, 0, 0.659937, 0)
trii.TextButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
trii.TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextButton_2.Text = "+ Add Script"
trii.TextButton_2.BackgroundTransparency = 1
trii.TextButton_2.Parent = trii.Frame
trii.UICorner_31.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_31.Parent = trii.Frame
trii.addFrame.BorderSizePixel = 0
trii.addFrame.Size = UDim2.new(1, 0, 0.529673, 0)
trii.addFrame.Position = UDim2.new(0, 0, 0.178546, 0)
trii.addFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.addFrame.Name = "addFrame"
trii.addFrame.BackgroundColor3 = Color3.fromRGB(35, 39, 49)
trii.addFrame.Parent = trii.addlocalscriptsFrame
trii.input.BorderSizePixel = 0
trii.input.Size = UDim2.new(1, 0, 0.178707, 0)
trii.input.Position = UDim2.new(0, 0, 0.491846, 0)
trii.input.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.input.Name = "input"
trii.input.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.input.Parent = trii.addFrame
trii.TextBox_1.TextWrapped = true
trii.TextBox_1.BorderSizePixel = 0
trii.TextBox_1.RichText = true
trii.TextBox_1.TextScaled = true
trii.TextBox_1.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.TextBox_1.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextBox_1.Position = UDim2.new(0.0158423, 0, 0.172555, 0)
trii.TextBox_1.PlaceholderText = "{Text and Numbers Only}"
trii.TextBox_1.TextSize = 14
trii.TextBox_1.Size = UDim2.new(0.961489, 0, 0.645422, 0)
trii.TextBox_1.TextColor3 = Color3.fromRGB(0, 0, 0)
trii.TextBox_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextBox_1.Text = ""
trii.TextBox_1.CursorPosition = -1
trii.TextBox_1.ClearTextOnFocus = false
trii.TextBox_1.Parent = trii.input
trii.Title_11.TextWrapped = true
trii.Title_11.BorderSizePixel = 0
trii.Title_11.TextScaled = true
trii.Title_11.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_11.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_11.TextSize = 14
trii.Title_11.Name = "Title"
trii.Title_11.Size = UDim2.new(0.261373, 0, 0.111787, 0)
trii.Title_11.TextColor3 = Color3.fromRGB(180, 193, 216)
trii.Title_11.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_11.Text = "Script Name:"
trii.Title_11.Position = UDim2.new(0.00832818, 0, 0.361132, 0)
trii.Title_11.BackgroundTransparency = 1
trii.Title_11.Parent = trii.addFrame
trii.TextLabel_5.TextWrapped = true
trii.TextLabel_5.BorderSizePixel = 0
trii.TextLabel_5.TextScaled = true
trii.TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.TextLabel_5.FontFace = Font.new("rbxasset://fonts/families/Inconsolata.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextLabel_5.TextSize = 14
trii.TextLabel_5.Size = UDim2.new(0.961488, 0, 0.222536, 0)
trii.TextLabel_5.TextColor3 = Color3.fromRGB(225, 225, 225)
trii.TextLabel_5.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextLabel_5.Text = "Note: You just need to set the script name. The script will be added from your clipboard, so make sure to copy it before adding it."
trii.TextLabel_5.Position = UDim2.new(0.0158422, 0, 0.0507511, 0)
trii.TextLabel_5.BackgroundTransparency = 1
trii.TextLabel_5.TextXAlignment = Enum.TextXAlignment.Left
trii.TextLabel_5.Parent = trii.addFrame
trii.confrim_btn.BorderSizePixel = 0
trii.confrim_btn.Size = UDim2.new(0.345421, 0, 0.157611, 0)
trii.confrim_btn.Position = UDim2.new(0.542995, 0, 0.709694, 0)
trii.confrim_btn.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.confrim_btn.Name = "confrim_btn"
trii.confrim_btn.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.confrim_btn.Parent = trii.addFrame
trii.TextButton_3.TextWrapped = true
trii.TextButton_3.BorderSizePixel = 0
trii.TextButton_3.RichText = true
trii.TextButton_3.TextScaled = true
trii.TextButton_3.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.TextButton_3.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextButton_3.Position = UDim2.new(0.0427491, 0, 0.159589, 0)
trii.TextButton_3.TextSize = 14
trii.TextButton_3.Size = UDim2.new(0.909327, 0, 0.659937, 0)
trii.TextButton_3.TextColor3 = Color3.fromRGB(255, 255, 255)
trii.TextButton_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextButton_3.Text = "Confrim"
trii.TextButton_3.BackgroundTransparency = 1
trii.TextButton_3.Parent = trii.confrim_btn
trii.UICorner_32.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_32.Parent = trii.confrim_btn
trii.cancel_btn.BorderSizePixel = 0
trii.cancel_btn.Size = UDim2.new(0.345421, 0, 0.157611, 0)
trii.cancel_btn.Position = UDim2.new(0.179819, 0, 0.709694, 0)
trii.cancel_btn.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.cancel_btn.Name = "cancel_btn"
trii.cancel_btn.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.cancel_btn.Parent = trii.addFrame
trii.TextButton_4.TextWrapped = true
trii.TextButton_4.BorderSizePixel = 0
trii.TextButton_4.RichText = true
trii.TextButton_4.TextScaled = true
trii.TextButton_4.BackgroundColor3 = Color3.fromRGB(55, 60, 76)
trii.TextButton_4.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.TextButton_4.Position = UDim2.new(0.0427491, 0, 0.159589, 0)
trii.TextButton_4.TextSize = 14
trii.TextButton_4.Size = UDim2.new(0.909327, 0, 0.659937, 0)
trii.TextButton_4.TextColor3 = Color3.fromRGB(255, 255, 255)
trii.TextButton_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.TextButton_4.Text = "Cancel"
trii.TextButton_4.BackgroundTransparency = 1
trii.TextButton_4.Parent = trii.cancel_btn
trii.UICorner_33.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_33.Parent = trii.cancel_btn
trii.ExecFrame.Active = true
trii.ExecFrame.BorderSizePixel = 0
trii.ExecFrame.Size = UDim2.new(0.949745, 0, 0.649132, 0)
trii.ExecFrame.Position = UDim2.new(0.0244645, 0, 0.0897571, 0)
trii.ExecFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.ExecFrame.Visible = false
trii.ExecFrame.Name = "ExecFrame"
trii.ExecFrame.BackgroundColor3 = Color3.fromRGB(38, 42, 53)
trii.ExecFrame.Parent = trii.MainFrame
trii.Buttons_1.Active = true
trii.Buttons_1.BorderSizePixel = 0
trii.Buttons_1.Size = UDim2.new(1, 0, 0.246428, 0)
trii.Buttons_1.Position = UDim2.new(0, 0, 0.752548, 0)
trii.Buttons_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Buttons_1.Name = "Buttons"
trii.Buttons_1.BackgroundColor3 = Color3.fromRGB(31, 34, 43)
trii.Buttons_1.Parent = trii.ExecFrame
trii.UIListLayout_15.FillDirection = Enum.FillDirection.Horizontal
trii.UIListLayout_15.HorizontalAlignment = Enum.HorizontalAlignment.Center
trii.UIListLayout_15.VerticalAlignment = Enum.VerticalAlignment.Center
trii.UIListLayout_15.Padding = UDim.new(0.01, 0)
trii.UIListLayout_15.Parent = trii.Buttons_1
trii.Button1.BorderSizePixel = 3
trii.Button1.ScaleType = Enum.ScaleType.Fit
trii.Button1.AutoButtonColor = false
trii.Button1.BackgroundColor3 = Color3.fromRGB(44, 48, 61)
trii.Button1.BorderMode = Enum.BorderMode.Inset
trii.Button1.Selectable = false
trii.Button1.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Button1.Size = UDim2.new(0.226347, 0, 0.721644, 0)
trii.Button1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Button1.Name = "Button1"
trii.Button1.Position = UDim2.new(0.145479, 0, 0.454178, 0)
trii.Button1.Parent = trii.Buttons_1
trii.UIStroke_6.LineJoinMode = Enum.LineJoinMode.Miter
trii.UIStroke_6.Thickness = 3
trii.UIStroke_6.Color = Color3.fromRGB(60, 66, 83)
trii.UIStroke_6.Enabled = false
trii.UIStroke_6.Parent = trii.Button1
trii.UICorner_34.CornerRadius = UDim.new(0.08, 0)
trii.UICorner_34.Parent = trii.Button1
trii.Title_12.TextWrapped = true
trii.Title_12.BorderSizePixel = 0
trii.Title_12.TextScaled = true
trii.Title_12.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_12.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_12.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Title_12.TextSize = 100
trii.Title_12.Name = "Title"
trii.Title_12.Size = UDim2.new(0.340682, 0, 0.729158, 0)
trii.Title_12.TextColor3 = Color3.fromRGB(250, 250, 250)
trii.Title_12.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_12.Text = "Execute"
trii.Title_12.Position = UDim2.new(0.5, 0, 0.5, 0)
trii.Title_12.BackgroundTransparency = 1
trii.Title_12.Parent = trii.Button1
trii.Button4.BorderSizePixel = 3
trii.Button4.ScaleType = Enum.ScaleType.Fit
trii.Button4.AutoButtonColor = false
trii.Button4.BackgroundColor3 = Color3.fromRGB(44, 48, 61)
trii.Button4.BorderMode = Enum.BorderMode.Inset
trii.Button4.Selectable = false
trii.Button4.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Button4.Size = UDim2.new(0.226347, 0, 0.721644, 0)
trii.Button4.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Button4.Name = "Button4"
trii.Button4.Position = UDim2.new(0.854521, 0, 0.454178, 0)
trii.Button4.Parent = trii.Buttons_1
trii.Title_13.TextWrapped = true
trii.Title_13.BorderSizePixel = 0
trii.Title_13.TextScaled = true
trii.Title_13.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_13.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_13.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Title_13.TextSize = 14
trii.Title_13.Name = "Title"
trii.Title_13.Size = UDim2.new(0.313498, 0, 0.782088, 0)
trii.Title_13.TextColor3 = Color3.fromRGB(250, 250, 250)
trii.Title_13.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_13.Text = "Clear"
trii.Title_13.Position = UDim2.new(0.5, 0, 0.5, 0)
trii.Title_13.BackgroundTransparency = 1
trii.Title_13.Parent = trii.Button4
trii.UICorner_35.CornerRadius = UDim.new(0.08, 0)
trii.UICorner_35.Parent = trii.Button4
trii.UIStroke_7.LineJoinMode = Enum.LineJoinMode.Miter
trii.UIStroke_7.Thickness = 3
trii.UIStroke_7.Color = Color3.fromRGB(60, 66, 83)
trii.UIStroke_7.Enabled = false
trii.UIStroke_7.Parent = trii.Button4
trii.Button3.BorderSizePixel = 3
trii.Button3.ScaleType = Enum.ScaleType.Fit
trii.Button3.AutoButtonColor = false
trii.Button3.BackgroundColor3 = Color3.fromRGB(44, 48, 61)
trii.Button3.BorderMode = Enum.BorderMode.Inset
trii.Button3.Selectable = false
trii.Button3.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Button3.Size = UDim2.new(0.226347, 0, 0.721644, 0)
trii.Button3.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Button3.Name = "Button3"
trii.Button3.Position = UDim2.new(0.618174, 0, 0.454178, 0)
trii.Button3.Parent = trii.Buttons_1
trii.Title_14.TextWrapped = true
trii.Title_14.BorderSizePixel = 0
trii.Title_14.TextScaled = true
trii.Title_14.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_14.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_14.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Title_14.TextSize = 14
trii.Title_14.Name = "Title"
trii.Title_14.Size = UDim2.new(0.347791, 0, 0.782034, 0)
trii.Title_14.TextColor3 = Color3.fromRGB(250, 250, 250)
trii.Title_14.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_14.Text = "Paste"
trii.Title_14.Position = UDim2.new(0.5, 0, 0.5, 0)
trii.Title_14.BackgroundTransparency = 1
trii.Title_14.Parent = trii.Button3
trii.UICorner_36.CornerRadius = UDim.new(0.08, 0)
trii.UICorner_36.Parent = trii.Button3
trii.UIStroke_8.LineJoinMode = Enum.LineJoinMode.Miter
trii.UIStroke_8.Thickness = 3
trii.UIStroke_8.Color = Color3.fromRGB(60, 66, 83)
trii.UIStroke_8.Enabled = false
trii.UIStroke_8.Parent = trii.Button3
trii.Button2.BorderSizePixel = 3
trii.Button2.ScaleType = Enum.ScaleType.Fit
trii.Button2.AutoButtonColor = false
trii.Button2.BackgroundColor3 = Color3.fromRGB(44, 48, 61)
trii.Button2.BorderMode = Enum.BorderMode.Inset
trii.Button2.Selectable = false
trii.Button2.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Button2.Size = UDim2.new(0.226347, 0, 0.721644, 0)
trii.Button2.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Button2.Name = "Button2"
trii.Button2.Position = UDim2.new(0.381826, 0, 0.454178, 0)
trii.Button2.Parent = trii.Buttons_1
trii.Title_15.TextWrapped = true
trii.Title_15.BorderSizePixel = 0
trii.Title_15.TextScaled = true
trii.Title_15.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.Title_15.FontFace = Font.new("rbxasset://fonts/families/FredokaOne.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.Title_15.AnchorPoint = Vector2.new(0.5, 0.5)
trii.Title_15.TextSize = 14
trii.Title_15.Name = "Title"
trii.Title_15.Size = UDim2.new(0.730181, 0, 0.653414, 0)
trii.Title_15.TextColor3 = Color3.fromRGB(250, 250, 250)
trii.Title_15.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.Title_15.Text = "Execute from Clipboard"
trii.Title_15.Position = UDim2.new(0.5, 0, 0.5, 0)
trii.Title_15.BackgroundTransparency = 1
trii.Title_15.Parent = trii.Button2
trii.UICorner_37.CornerRadius = UDim.new(0.08, 0)
trii.UICorner_37.Parent = trii.Button2
trii.UIStroke_9.LineJoinMode = Enum.LineJoinMode.Miter
trii.UIStroke_9.Thickness = 3
trii.UIStroke_9.Color = Color3.fromRGB(60, 66, 83)
trii.UIStroke_9.Enabled = false
trii.UIStroke_9.Parent = trii.Button2
trii.UICorner_38.CornerRadius = UDim.new(0.1, 0)
trii.UICorner_38.Parent = trii.Buttons_1
trii.ScrollingFrame.BorderSizePixel = 0
trii.ScrollingFrame.CanvasSize = UDim2.new(0, 0, 1, 0)
trii.ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
trii.ScrollingFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
trii.ScrollingFrame.Size = UDim2.new(0.975214, 0, 0.675238, 0)
trii.ScrollingFrame.BackgroundTransparency = 1
trii.ScrollingFrame.Active = true
trii.ScrollingFrame.ScrollBarImageTransparency = 0.64
trii.ScrollingFrame.ScrollBarThickness = 18
trii.ScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.ScrollingFrame.Position = UDim2.new(0.0167858, 0, 0.0257617, 0)
trii.ScrollingFrame.Parent = trii.ExecFrame
trii.LocalScript.Parent = trii.ScrollingFrame
trii.ScriptBox_1.BorderSizePixel = 0
trii.ScriptBox_1.RichText = true
trii.ScriptBox_1.TextYAlignment = Enum.TextYAlignment.Top
trii.ScriptBox_1.BackgroundColor3 = Color3.fromRGB(75, 0, 0)
trii.ScriptBox_1.FontFace = Font.new("rbxasset://fonts/families/Nunito.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
trii.ScriptBox_1.BackgroundTransparency = 1
trii.ScriptBox_1.AutomaticSize = Enum.AutomaticSize.Y
trii.ScriptBox_1.TextSize = 30
trii.ScriptBox_1.ClipsDescendants = true
trii.ScriptBox_1.Size = UDim2.new(1, 0, 1, 0)
trii.ScriptBox_1.TextColor3 = Color3.fromRGB(255, 255, 255)
trii.ScriptBox_1.BorderColor3 = Color3.fromRGB(0, 0, 0)
trii.ScriptBox_1.Text = "-- We recommend only uisng loadstrings | Trigon Mobile v0.03 {Beta}"
trii.ScriptBox_1.MultiLine = true
trii.ScriptBox_1.Name = "ScriptBox"
trii.ScriptBox_1.TextXAlignment = Enum.TextXAlignment.Left
trii.ScriptBox_1.ClearTextOnFocus = false
trii.ScriptBox_1.Parent = trii.ScrollingFrame
trii.Highlighter.Name = "Highlighter"
trii.Highlighter.Parent = trii.ScriptBox_1
trii.lexer.Name = "lexer"
trii.lexer.Parent = trii.Highlighter
trii.language.Name = "language"
trii.language.Parent = trii.lexer
trii.theme.Name = "theme"
trii.theme.Parent = trii.Highlighter
trii.types.Name = "types"
trii.types.Parent = trii.Highlighter
trii.utility.Name = "utility"
trii.utility.Parent = trii.Highlighter
trii.UICorner_39.CornerRadius = UDim.new(0.02, 0)
trii.UICorner_39.Parent = trii.ExecFrame
trii.LocalScript_1.Parent = trii.TrigonMain
trii.savescripts.Name = "savescripts"
trii.savescripts.Parent = trii.TrigonMain
local modules, cache = {}, {}
local o_require = require;
local function require(module)
local real, cached = modules[module], cache[module]
if cached then return cached end
if not real then return o_require(module) end
cache[module] = real()
return cache[module]
end
modules[trii.FormSliderClass] = function()
local script = trii.FormSliderClass
--[[
Copyright © 2023, MapleMarvel (https://www.roblox.com/users/263710410/profile). All Rights Reserved.
FormSliderClass:
Class that sets slider functionality.
--]]
-- Class
local FormSliderClass = {}
FormSliderClass.__index = FormSliderClass
-- Constructor
function FormSliderClass.new(paramGuiObject, paramDirection, minvalue, maxvalue)
local self = setmetatable({}, FormSliderClass)
-- Validate
if paramGuiObject == nil then
error("Required parameters missing for constructor FormSliderClass.new.")
end
-- Instance Properties
self.GuiObject = paramGuiObject -- The GuiObject extended by this class
self.Direction = paramDirection or Enum.Axis.X -- Slider direction
self.Connections = {} -- Event connections
-- Initialize
-- Configuration Variables
local configuration = self.GuiObject:WaitForChild("Configuration")
local guiObjectBarBackgroundVar = configuration:WaitForChild("ObjectBarBackground")
local guiObjectBarForegroundVar = configuration:WaitForChild("ObjectBarForeground")
local guiObjectThumbNormalVar = configuration:WaitForChild(("ObjectThumbNormal"))
local guiObjectThumbPressedVar = configuration:WaitForChild(("ObjectThumbPressed"))
local guiObjectBarBackground
local guiObjectBarForeground
local guiObjectThumbNormal
local guiObjectThumbPressed
-- Validate
if guiObjectBarBackgroundVar and guiObjectBarForegroundVar and guiObjectThumbNormalVar and guiObjectThumbPressedVar then
-- Wait for the objects to load
while not guiObjectBarBackgroundVar.Value do task.wait() end
while not guiObjectBarForegroundVar.Value do task.wait() end
while not guiObjectThumbNormalVar.Value do task.wait() end
while not guiObjectThumbPressedVar.Value do task.wait() end
-- Get values
guiObjectBarBackground = guiObjectBarBackgroundVar.Value
guiObjectBarForeground = guiObjectBarForegroundVar.Value
guiObjectThumbNormal = guiObjectThumbNormalVar.Value
guiObjectThumbPressed = guiObjectThumbPressedVar.Value
end
-- Make thumb draggable
local ExtendDraggableClass = require(script.Parent:WaitForChild("ExtendDraggableClass"))
local draggableThumbNormal = ExtendDraggableClass.new(guiObjectThumbNormal, false, self.Direction)
-- Local function
local function RefreshGui()
-- Get current attribute values
local attributesParent = self.GuiObject
local attributeIsEnabled = attributesParent:GetAttribute("IsEnabled")
local attributeColorDisabled1 = attributesParent:GetAttribute("ColorDisabled1")
local attributeColorDisabled2 = attributesParent:GetAttribute("ColorDisabled2")
local attributeColorEnabled1 = attributesParent:GetAttribute("ColorEnabled1")
local attributeColorEnabled2 = attributesParent:GetAttribute("ColorEnabled2")
local attributeValueIncrement = attributesParent:GetAttribute(("ValueIncrement"))
local attributeValuePercent = attributesParent:GetAttribute(("ValuePercent"))
warn(minvalue, maxvalue)
-- Validate
local newValuePercent = math.clamp(attributeValuePercent, minvalue, maxvalue)
if newValuePercent ~= attributeValuePercent then
attributesParent:SetAttribute("ValuePercent", newValuePercent)
end
-- Update slider elements
if self.Direction == Enum.Axis.X then
-- Horizontal
-- Thumb position
guiObjectThumbNormal.Position = UDim2.new(newValuePercent / maxvalue, guiObjectThumbNormal.Position.X.Offset, guiObjectThumbNormal.Position.Y.Scale, guiObjectThumbNormal.Position.Y.Offset)
-- Foreground bar length
guiObjectBarForeground.Size = UDim2.new(newValuePercent / maxvalue, guiObjectBarForeground.Size.X.Offset, guiObjectBarForeground.Size.Y.Scale, guiObjectBarForeground.Size.Y.Offset)
else
-- Vertical
-- Thumb position
guiObjectThumbNormal.Position = UDim2.new(guiObjectThumbNormal.Position.X.Scale, guiObjectThumbNormal.Position.X.Offset, 1 - (newValuePercent / maxvalue), guiObjectThumbNormal.Position.Y.Offset)
-- Foreground bar length
guiObjectBarForeground.Size = UDim2.new(guiObjectBarForeground.Size.X.Scale, guiObjectBarForeground.Size.X.Offset, newValuePercent / maxvalue, guiObjectBarForeground.Size.Y.Offset)
end
-- Dragging settings
draggableThumbNormal:SetDraggingEnabled(attributeIsEnabled)
draggableThumbNormal:SetDraggingIncrement(attributeValueIncrement)
-- If enabled
if attributeIsEnabled == true then
-- Enabled colors
guiObjectBarBackground.BackgroundColor3 = attributeColorEnabled1
guiObjectBarForeground.BackgroundColor3 = attributeColorEnabled2
guiObjectThumbNormal.ImageColor3 = attributeColorEnabled2
guiObjectThumbPressed.ImageColor3 = attributeColorEnabled2
else
-- Disabled colors
guiObjectBarBackground.BackgroundColor3 = attributeColorDisabled1
guiObjectBarForeground.BackgroundColor3 = attributeColorDisabled2
guiObjectThumbNormal.ImageColor3 = attributeColorDisabled2
guiObjectThumbPressed.ImageColor3 = attributeColorDisabled2
end
end
-- Refresh Gui
RefreshGui()
-- Disconnect existing connections
local keyConnection1 = "AttributeChanged"
local keyConnection2 = "ThumbPosition"
local keyConnection3 = "AttributeChangedSignal" .. "IsDragging"
if self.Connections[keyConnection1] then self.Connections[keyConnection1]:Disconnect() end
if self.Connections[keyConnection2] then self.Connections[keyConnection2]:Disconnect() end
if self.Connections[keyConnection3] then self.Connections[keyConnection3]:Disconnect() end
-- Events
-- Attribute Event - AttributeChanged
-- Triggered when any attribute changes
self.Connections[keyConnection1] = self.GuiObject.AttributeChanged:Connect(function(attributeName)
RefreshGui()
end)
-- Instance Event - GetPropertyChangedSignal
-- Triggered when thumb is dragged
self.Connections[keyConnection2] = guiObjectThumbNormal:GetPropertyChangedSignal("Position"):Connect(function()
-- Get current attribute values
local attributesParent = self.GuiObject
local attributeValuePercent = attributesParent:GetAttribute(("ValuePercent"))
-- Get new thumb position
local thumbPositionPercent = 0
if self.Direction == Enum.Axis.X then
thumbPositionPercent = guiObjectThumbNormal.Position.X.Scale * maxvalue
else
thumbPositionPercent = (1 - guiObjectThumbNormal.Position.Y.Scale) * maxvalue -- Zero is at the bottom
end
-- Update slider value based on thumb position
local newValuePercent = math.clamp(thumbPositionPercent, minvalue, maxvalue)
if newValuePercent ~= attributeValuePercent then
attributesParent:SetAttribute("ValuePercent", newValuePercent)
end
end)
-- Attribute Event - GetAttributeChangedSignal
-- Triggered when specific attribute changes
self.Connections[keyConnection3] = guiObjectThumbNormal:GetAttributeChangedSignal("IsDragging"):Connect(function()
-- Show pressed thumb when dragging
local attributeIsDragging = guiObjectThumbNormal:GetAttribute("IsDragging") or false
guiObjectThumbPressed.Visible = attributeIsDragging
end)
return self
end
return FormSliderClass
end
modules[trii.ExtendDraggableClass] = function()
local script = trii.ExtendDraggableClass
--[[
Copyright © 2023, MapleMarvel (https://www.roblox.com/users/263710410/profile). All Rights Reserved.
ExtendDraggableClass:
Class that extends the object so that it can be dragged.
--]]
-- Class
local ExtendDraggableClass = {}
ExtendDraggableClass.__index = ExtendDraggableClass
-- Constructor
function ExtendDraggableClass.new(paramGuiObject, paramDraggingEnabled, paramDraggingDirection)
local self = setmetatable({}, ExtendDraggableClass)
-- Validate
if paramGuiObject == nil then
error("Required parameters missing for constructor ExtendDraggableClass.new.")
end
-- Instance Properties
self.GuiObject = paramGuiObject -- The GuiObject extended by this class
self.IsDragging = false -- True when the user is dragging
self.DraggingEnabled = paramDraggingEnabled or true -- Enable or disable dragging
self.DraggingDirection = paramDraggingDirection or Enum.Axis.X -- Direction of dragging
self.DraggingIncrement = 1 -- Dragging increment for descrete intervals
self.Connections = {} -- Event connections
-- Initialize
-- Local variables
local dragInput
local dragStartScreenPosition
local startGuiObjectPosition
local parentAbsoluteSize
local cameraType
-- Set attribute
self.GuiObject:SetAttribute("IsDragging", self.IsDragging)
-- Local function
local function RoundToIncrement(paramNumber, paramMultiple)
local roundedNumber = paramNumber
-- Validate
if paramMultiple ~= 0 then
-- Rounds to nearest multiple
if paramNumber > 0 then
roundedNumber = math.ceil(paramNumber / paramMultiple) * paramMultiple
elseif paramNumber < 0 then
roundedNumber = math.floor(paramNumber / paramMultiple) * paramMultiple
else
roundedNumber = paramMultiple
end
end
return roundedNumber
end
-- Local function
local function RefreshGui(paramInput)
-- Get the new position
local deltaScreenPosition = paramInput.Position - dragStartScreenPosition
local deltaXScale = deltaScreenPosition.X / parentAbsoluteSize.X
local deltaYScale = deltaScreenPosition.Y / parentAbsoluteSize.Y
local newXScale = startGuiObjectPosition.X.Scale + deltaXScale
local newYScale = startGuiObjectPosition.Y.Scale + deltaYScale
newXScale = RoundToIncrement(newXScale, self.DraggingIncrement / 100)
newYScale = RoundToIncrement(newYScale, self.DraggingIncrement / 100)
newXScale = math.round(newXScale * 10000) / 10000 -- Round to avoid roundoff errors
newYScale = math.round(newYScale * 10000) / 10000
newXScale = math.clamp(newXScale, 0, 1)
newYScale = math.clamp(newYScale, 0, 1)
-- Horizontal or vertical direction
if self.DraggingDirection == Enum.Axis.X then
newYScale = startGuiObjectPosition.Y.Scale -- Ignore vertical movement
else
newXScale = startGuiObjectPosition.X.Scale -- Ignore horizontal movement
end
-- Prevent camera moving on mobile during drag
if paramInput.UserInputType == Enum.UserInputType.Touch then
workspace.Camera.CameraType = Enum.CameraType.Scriptable
end
-- Move the gui object
self.GuiObject.Position = UDim2.new(newXScale, startGuiObjectPosition.X.Offset, newYScale, startGuiObjectPosition.Y.Offset)
-- Reset camera on mobile
if paramInput.UserInputType == Enum.UserInputType.Touch then
workspace.Camera.CameraType = cameraType
end
end
-- Disconnect existing connections
local keyConnection1 = "GuiObjectInputBegan"
local keyConnection2 = "GuiObjectInputChanged"
local keyConnection3 = "UserInputServiceInputChanged"
if self.Connections[keyConnection1] then self.Connections[keyConnection1]:Disconnect() end
if self.Connections[keyConnection2] then self.Connections[keyConnection2]:Disconnect() end
if self.Connections[keyConnection3] then self.Connections[keyConnection3]:Disconnect() end
-- Events
-- GuiObject Event - InputBegan
-- Triggered when input begins on the GuiObject
self.Connections[keyConnection1] = self.GuiObject.InputBegan:Connect(function(input)
-- If dragging enabled
if self.DraggingEnabled == true then
-- Initialize dragging variables
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
self.IsDragging = true
self.GuiObject:SetAttribute("IsDragging", self.IsDragging)
dragStartScreenPosition = input.Position
startGuiObjectPosition = self.GuiObject.Position
parentAbsoluteSize = self.GuiObject.Parent.AbsoluteSize
cameraType = workspace.Camera.CameraType
-- Handle when dragging ends
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
self.IsDragging = false
self.GuiObject:SetAttribute("IsDragging", self.IsDragging)
end
end)
end
end
end)
-- GuiObject Event - InputChanged
-- Triggered when input changes on the GuiObject
self.Connections[keyConnection2] = self.GuiObject.InputChanged:Connect(function(paramInput)
-- If dragging enabled
if self.DraggingEnabled == true then
-- Update drag position
if paramInput.UserInputType == Enum.UserInputType.MouseMovement or paramInput.UserInputType == Enum.UserInputType.Touch then
dragInput = paramInput
end
end
end)
-- UserInputService Event - InputChanged
-- Triggered when input changes by the user
self.Connections[keyConnection3] = game:GetService("UserInputService").InputChanged:Connect(function(paramInput)
-- If the user is dragging the GuiObject
if paramInput == dragInput and self.IsDragging then
RefreshGui(paramInput)
end
end)
return self
end
-- Instance Methods
-- SetDraggingEnabled
function ExtendDraggableClass:SetDraggingEnabled(paramIsEnabled)
-- Validate
if paramIsEnabled ~= nil then
-- Update property
self.DraggingEnabled = paramIsEnabled
-- Update property
if not paramIsEnabled then
self.IsDragging = false
self.GuiObject:SetAttribute("IsDragging", self.IsDragging)
end
end
end
-- SetDraggingIncrement
function ExtendDraggableClass:SetDraggingIncrement(paramIncrement)
-- Validate
if paramIncrement ~= nil then
-- Update property
self.DraggingIncrement = paramIncrement
end
end
return ExtendDraggableClass
end
modules[trii.Highlighter] = function()
local script = trii.Highlighter
local types = require(script.types)
local utility = require(script.utility)
local theme = require(script.theme)
local Highlighter = {
defaultLexer = require(script.lexer) :: types.Lexer,
_textObjectData = {} :: { [types.TextObject]: types.ObjectData },
_cleanups = {} :: { [types.TextObject]: () -> () },
}
--[[
Gathers the info that is needed in order to set up a line label.
]]
function Highlighter._getLabelingInfo(textObject: types.TextObject)
local data = Highlighter._textObjectData[textObject]
if not data then
return
end
local src = utility.convertTabsToSpaces(utility.removeControlChars(textObject.Text))
local numLines = #string.split(src, "\n")
if numLines == 0 then
return
end
local textBounds = utility.getTextBounds(textObject)
local textHeight = textBounds.Y / numLines
return {
data = data,
numLines = numLines,
textBounds = textBounds,
textHeight = textHeight,
innerAbsoluteSize = utility.getInnerAbsoluteSize(textObject),
textColor = theme.getColor("iden"),
textFont = textObject.FontFace,
textSize = textObject.TextSize,
labelSize = UDim2.new(1, 0, 0, math.ceil(textHeight)),
}
end
--[[
Aligns and matches the line labels to the textObject.
]]
function Highlighter._alignLabels(textObject: types.TextObject)
local labelingInfo = Highlighter._getLabelingInfo(textObject)
if not labelingInfo then
return
end
for lineNumber, lineLabel in labelingInfo.data.Labels do
-- Align line label
lineLabel.TextColor3 = labelingInfo.textColor
lineLabel.FontFace = labelingInfo.textFont
lineLabel.TextSize = labelingInfo.textSize
lineLabel.Size = labelingInfo.labelSize
lineLabel.Position =
UDim2.fromScale(0, labelingInfo.textHeight * (lineNumber - 1) / labelingInfo.innerAbsoluteSize.Y)
end
end
--[[
Creates and populates the line labels with the appropriate rich text.
]]
function Highlighter._populateLabels(props: types.HighlightProps)
-- Gather props
local textObject = props.textObject
local src = utility.convertTabsToSpaces(utility.removeControlChars(props.src or textObject.Text))
local lexer = props.lexer or Highlighter.defaultLexer
local customLang = props.customLang
local forceUpdate = props.forceUpdate
-- Avoid updating when unnecessary
local data = Highlighter._textObjectData[textObject]
if (data == nil) or (data.Text == src) then
if forceUpdate ~= true then
return
end
end
-- Ensure textObject matches sanitized src
textObject.Text = src
local lineLabels = data.Labels
local previousLines = data.Lines
local lines = string.split(src, "\n")
data.Lines = lines
data.Text = src
data.Lexer = lexer
data.CustomLang = customLang
-- Shortcut empty textObjects
if src == "" then
for l = 1, #lineLabels do
if lineLabels[l].Text == "" then
continue
end
lineLabels[l].Text = ""
end
return
end
local idenColor = theme.getColor("iden")
local labelingInfo = Highlighter._getLabelingInfo(textObject)
local richTextBuffer, bufferIndex, lineNumber = table.create(5), 0, 1
for token: types.TokenName, content: string in lexer.scan(src) do
local Color = if customLang and customLang[content]
then theme.getColor("custom")
else theme.getColor(token) or idenColor
local tokenLines = string.split(utility.sanitizeRichText(content), "\n")
for l, tokenLine in tokenLines do
-- Find line label
local lineLabel = lineLabels[lineNumber]
if not lineLabel then
local newLabel = Instance.new("TextLabel")
newLabel.Name = "Line_" .. lineNumber
newLabel.AutoLocalize = false
newLabel.RichText = true
newLabel.BackgroundTransparency = 1
newLabel.Text = ""
newLabel.TextXAlignment = Enum.TextXAlignment.Left
newLabel.TextYAlignment = Enum.TextYAlignment.Top
newLabel.TextColor3 = labelingInfo.textColor
newLabel.FontFace = labelingInfo.textFont
newLabel.TextSize = labelingInfo.textSize
newLabel.Size = labelingInfo.labelSize
newLabel.Position =
UDim2.fromScale(0, labelingInfo.textHeight * (lineNumber - 1) / labelingInfo.innerAbsoluteSize.Y)
newLabel.Parent = textObject.SyntaxHighlights
lineLabels[lineNumber] = newLabel
lineLabel = newLabel
end
-- If multiline token, then set line & move to next
if l > 1 then
if forceUpdate or lines[lineNumber] ~= previousLines[lineNumber] then
-- Set line
lineLabels[lineNumber].Text = table.concat(richTextBuffer)
end
-- Move to next line
lineNumber += 1
bufferIndex = 0
table.clear(richTextBuffer)
end
-- If changed, add token to line
if forceUpdate or lines[lineNumber] ~= previousLines[lineNumber] then
bufferIndex += 1
-- Only add RichText tags when the color is non-default and the characters are non-whitespace
if Color ~= idenColor and string.find(tokenLine, "[%S%C]") then
richTextBuffer[bufferIndex] = theme.getColoredRichText(Color, tokenLine)
else
richTextBuffer[bufferIndex] = tokenLine
end
end
end
end
-- Set final line
if richTextBuffer[1] and lineLabels[lineNumber] then
lineLabels[lineNumber].Text = table.concat(richTextBuffer)
end
-- Clear unused line labels
for l = lineNumber + 1, #lineLabels do
if lineLabels[l].Text == "" then
continue
end
lineLabels[l].Text = ""
end
end
--[[
Highlights the given textObject with the given props and returns a cleanup function.
Highlighting will automatically update when needed, so the cleanup function will disconnect
those connections and remove all labels.
]]
function Highlighter.highlight(props: types.HighlightProps): () -> ()
-- Gather props
local textObject = props.textObject
local src = utility.convertTabsToSpaces(utility.removeControlChars(props.src or textObject.Text))
local lexer = props.lexer or Highlighter.defaultLexer
local customLang = props.customLang
-- Avoid updating when unnecessary
if Highlighter._cleanups[textObject] then
-- Already been initialized, so just update
Highlighter._populateLabels(props)
Highlighter._alignLabels(textObject)
return Highlighter._cleanups[textObject]
end
-- Ensure valid object properties
textObject.RichText = false
textObject.Text = src
textObject.TextXAlignment = Enum.TextXAlignment.Left
textObject.TextYAlignment = Enum.TextYAlignment.Top
textObject.BackgroundColor3 = theme.getColor("background")
textObject.TextColor3 = theme.getColor("iden")
textObject.TextTransparency = 0.5
-- Build the highlight labels
local lineFolder = textObject:FindFirstChild("SyntaxHighlights")
if lineFolder == nil then
local newLineFolder = Instance.new("Folder")
newLineFolder.Name = "SyntaxHighlights"
newLineFolder.Parent = textObject
lineFolder = newLineFolder
end
local data = {
Text = "",
Labels = {},
Lines = {},
Lexer = lexer,
CustomLang = customLang,
}
Highlighter._textObjectData[textObject] = data
-- Add a cleanup handler for this textObject
local connections: { [string]: RBXScriptConnection } = {}
local function cleanup()
lineFolder:Destroy()
Highlighter._textObjectData[textObject] = nil
Highlighter._cleanups[textObject] = nil
for _key, connection in connections do
connection:Disconnect()
end
table.clear(connections)
end
Highlighter._cleanups[textObject] = cleanup
connections["AncestryChanged"] = textObject.AncestryChanged:Connect(function()
if textObject.Parent then
return
end
cleanup()
end)
connections["TextChanged"] = textObject:GetPropertyChangedSignal("Text"):Connect(function()
Highlighter._populateLabels(props)
end)
connections["TextBoundsChanged"] = textObject:GetPropertyChangedSignal("TextBounds"):Connect(function()
Highlighter._alignLabels(textObject)
end)
connections["AbsoluteSizeChanged"] = textObject:GetPropertyChangedSignal("AbsoluteSize"):Connect(function()
Highlighter._alignLabels(textObject)
end)
connections["FontFaceChanged"] = textObject:GetPropertyChangedSignal("FontFace"):Connect(function()
Highlighter._alignLabels(textObject)
end)
-- Populate the labels
Highlighter._populateLabels(props)
Highlighter._alignLabels(textObject)
return cleanup
end
--[[
Refreshes all highlighted textObjects. Used when the theme changes.
]]
function Highlighter.refresh(): ()
-- Rehighlight existing labels using latest colors
for textObject, data in Highlighter._textObjectData do
for _, lineLabel in data.Labels do
lineLabel.TextColor3 = theme.getColor("iden")
end
Highlighter.highlight({
textObject = textObject,
forceUpdate = true,
src = data.Text,
lexer = data.Lexer,
customLang = data.CustomLang,
})
end
end
--[[
Sets the token colors to the given colors and refreshes all highlighted textObjects.
]]
function Highlighter.setTokenColors(colors: types.TokenColors): ()
theme.setColors(colors)
Highlighter.refresh()
end
--[[
Gets a token color by name.
Mainly useful for setting "background" token color on other UI objects behind your text.
]]
function Highlighter.getTokenColor(tokenName: types.TokenName): Color3
return theme.getColor(tokenName)
end
--[[
Matches the token colors to the Studio theme settings and refreshes all highlighted textObjects.
Does nothing when not run in a Studio plugin.
]]
function Highlighter.matchStudioSettings(): ()
local applied = theme.matchStudioSettings(Highlighter.refresh)
if applied then
Highlighter.refresh()
end
end
return Highlighter
end
modules[trii.lexer] = function()
local script = trii.lexer
--[=[
Lexical scanner for creating a sequence of tokens from Lua source code.
This is a heavily modified and Roblox-optimized version of
the original Penlight Lexer module:
https://github.com/stevedonovan/Penlight
Authors:
stevedonovan <https://github.com/stevedonovan> ----------- Original Penlight lexer author
ryanjmulder <https://github.com/ryanjmulder> ------------- Penlight lexer contributer
mpeterv <https://github.com/mpeterv> --------------------- Penlight lexer contributer
Tieske <https://github.com/Tieske> ----------------------- Penlight lexer contributer
boatbomber <https://github.com/boatbomber> --------------- Roblox port, added builtin token,
added patterns for incomplete syntax, bug fixes,
behavior changes, token optimization, thread optimization
Added lexer.navigator() for non-sequential reads
Sleitnick <https://github.com/Sleitnick> ----------------- Roblox optimizations
howmanysmall <https://github.com/howmanysmall> ----------- Lua + Roblox optimizations
List of possible tokens:
- iden
- keyword
- builtin
- string
- number
- comment
- operator
--]=]
local lexer = {}
local Prefix, Suffix, Cleaner = "^[%c%s]*", "[%c%s]*", "[%c%s]+"
local UNICODE = "[%z\x01-\x7F\xC2-\xF4][\x80-\xBF]+"
local NUMBER_A = "0[xX][%da-fA-F_]+"
local NUMBER_B = "0[bB][01_]+"
local NUMBER_C = "%d+%.?%d*[eE][%+%-]?%d+"
local NUMBER_D = "%d+[%._]?[%d_eE]*"
local OPERATORS = "[:;<>/~%*%(%)%-={},%.#%^%+%%]+"
local BRACKETS = "[%[%]]+" -- needs to be separate pattern from other operators or it'll mess up multiline strings
local IDEN = "[%a_][%w_]*"
local STRING_EMPTY = "(['\"])%1" --Empty String
local STRING_PLAIN = "(['\"])[^\n]-([^\\]%1)" --TODO: Handle escaping escapes
local STRING_INTER = "`[^\n]-`"
local STRING_INCOMP_A = "(['\"]).-\n" --Incompleted String with next line
local STRING_INCOMP_B = "(['\"])[^\n]*" --Incompleted String without next line
local STRING_MULTI = "%[(=*)%[.-%]%1%]" --Multiline-String
local STRING_MULTI_INCOMP = "%[=*%[.-.*" --Incompleted Multiline-String
local COMMENT_MULTI = "%-%-%[(=*)%[.-%]%1%]" --Completed Multiline-Comment
local COMMENT_MULTI_INCOMP = "%-%-%[=*%[.-.*" --Incompleted Multiline-Comment
local COMMENT_PLAIN = "%-%-.-\n" --Completed Singleline-Comment
local COMMENT_INCOMP = "%-%-.*" --Incompleted Singleline-Comment
-- local TYPED_VAR = ":%s*([%w%?%| \t]+%s*)" --Typed variable, parameter, function
local lang = require(script.language)
local lua_keyword = lang.keyword
local lua_builtin = lang.builtin
local lua_libraries = lang.libraries
lexer.language = lang
local lua_matches = {
-- Indentifiers
{ Prefix .. IDEN .. Suffix, "var" },
-- Numbers
{ Prefix .. NUMBER_A .. Suffix, "number" },
{ Prefix .. NUMBER_B .. Suffix, "number" },
{ Prefix .. NUMBER_C .. Suffix, "number" },
{ Prefix .. NUMBER_D .. Suffix, "number" },
-- Strings
{ Prefix .. STRING_EMPTY .. Suffix, "string" },
{ Prefix .. STRING_PLAIN .. Suffix, "string" },
{ Prefix .. STRING_INCOMP_A .. Suffix, "string" },
{ Prefix .. STRING_INCOMP_B .. Suffix, "string" },
{ Prefix .. STRING_MULTI .. Suffix, "string" },
{ Prefix .. STRING_MULTI_INCOMP .. Suffix, "string" },
{ Prefix .. STRING_INTER .. Suffix, "string_inter" },
-- Comments
{ Prefix .. COMMENT_MULTI .. Suffix, "comment" },
{ Prefix .. COMMENT_MULTI_INCOMP .. Suffix, "comment" },
{ Prefix .. COMMENT_PLAIN .. Suffix, "comment" },
{ Prefix .. COMMENT_INCOMP .. Suffix, "comment" },
-- Operators
{ Prefix .. OPERATORS .. Suffix, "operator" },
{ Prefix .. BRACKETS .. Suffix, "operator" },
-- Unicode
{ Prefix .. UNICODE .. Suffix, "iden" },
-- Unknown
{ "^.", "iden" },
}
-- To reduce the amount of table indexing during lexing, we separate the matches now
local PATTERNS, TOKENS = {}, {}
for i, m in lua_matches do
PATTERNS[i] = m[1]
TOKENS[i] = m[2]
end
--- Create a plain token iterator from a string.
-- @tparam string s a string.
function lexer.scan(s: string)
local index = 1
local size = #s
local previousContent1, previousContent2, previousContent3, previousToken = "", "", "", ""
local thread = coroutine.create(function()
while index <= size do
local matched = false
for tokenType, pattern in ipairs(PATTERNS) do
-- Find match
local start, finish = string.find(s, pattern, index)
if start == nil then
continue
end
-- Move head
index = finish + 1
matched = true
-- Gather results
local content = string.sub(s, start, finish)
local rawToken = TOKENS[tokenType]
local processedToken = rawToken
-- Process token
if rawToken == "var" then
-- Since we merge spaces into the tok, we need to remove them
-- in order to check the actual word it contains
local cleanContent = string.gsub(content, Cleaner, "")
if lua_keyword[cleanContent] then
processedToken = "keyword"
elseif lua_builtin[cleanContent] then
processedToken = "builtin"
elseif string.find(previousContent1, "%.[%s%c]*$") and previousToken ~= "comment" then
-- The previous was a . so we need to special case indexing things
local parent = string.gsub(previousContent2, Cleaner, "")
local lib = lua_libraries[parent]
if lib and lib[cleanContent] and not string.find(previousContent3, "%.[%s%c]*$") then
-- Indexing a builtin lib with existing item, treat as a builtin
processedToken = "builtin"
else
-- Indexing a non builtin, can't be treated as a keyword/builtin
processedToken = "iden"
end
-- print("indexing",parent,"with",cleanTok,"as",t2)
else
processedToken = "iden"
end
elseif rawToken == "string_inter" then
if not string.find(content, "[^\\]{") then
-- This inter string doesnt actually have any inters
processedToken = "string"
else
-- We're gonna do our own yields, so the main loop won't need to
-- Our yields will be a mix of string and whatever is inside the inters
processedToken = nil
local isString = true
local subIndex = 1
local subSize = #content
while subIndex <= subSize do
-- Find next brace
local subStart, subFinish = string.find(content, "^.-[^\\][{}]", subIndex)
if subStart == nil then
-- No more braces, all string
coroutine.yield("string", string.sub(content, subIndex))
break
end
if isString then
-- We are currently a string
subIndex = subFinish + 1
coroutine.yield("string", string.sub(content, subStart, subFinish))
-- This brace opens code
isString = false
else
-- We are currently in code
subIndex = subFinish
local subContent = string.sub(content, subStart, subFinish - 1)
for innerToken, innerContent in lexer.scan(subContent) do
coroutine.yield(innerToken, innerContent)
end
-- This brace opens string/closes code
isString = true
end
end
end
end
-- Record last 3 tokens for the indexing context check
previousContent3 = previousContent2
previousContent2 = previousContent1
previousContent1 = content
previousToken = processedToken or rawToken
if processedToken then
coroutine.yield(processedToken, content)
end
break
end
-- No matches found
if not matched then
return
end
end
-- Completed the scan
return
end)
return function()
if coroutine.status(thread) == "dead" then
return
end
local success, token, content = coroutine.resume(thread)
if success and token then
return token, content
end
return
end
end
function lexer.navigator()
local nav = {
Source = "",
TokenCache = table.create(50),
_RealIndex = 0,
_UserIndex = 0,
_ScanThread = nil,
}
function nav:Destroy()
self.Source = nil
self._RealIndex = nil
self._UserIndex = nil
self.TokenCache = nil
self._ScanThread = nil
end
function nav:SetSource(SourceString)
self.Source = SourceString
self._RealIndex = 0
self._UserIndex = 0
table.clear(self.TokenCache)
self._ScanThread = coroutine.create(function()
for Token, Src in lexer.scan(self.Source) do
self._RealIndex += 1
self.TokenCache[self._RealIndex] = { Token, Src }
coroutine.yield(Token, Src)
end
end)
end
function nav.Next()
nav._UserIndex += 1
if nav._RealIndex >= nav._UserIndex then
-- Already scanned, return cached
return table.unpack(nav.TokenCache[nav._UserIndex])
else
if coroutine.status(nav._ScanThread) == "dead" then
-- Scan thread dead
return
else
local success, token, src = coroutine.resume(nav._ScanThread)
if success and token then
-- Scanned new data
return token, src
else
-- Lex completed
return
end
end
end
end
function nav.Peek(PeekAmount)
local GoalIndex = nav._UserIndex + PeekAmount
if nav._RealIndex >= GoalIndex then
-- Already scanned, return cached
if GoalIndex > 0 then
return table.unpack(nav.TokenCache[GoalIndex])
else
-- Invalid peek
return
end
else
if coroutine.status(nav._ScanThread) == "dead" then
-- Scan thread dead
return
else
local IterationsAway = GoalIndex - nav._RealIndex
local success, token, src = nil, nil, nil
for _ = 1, IterationsAway do
success, token, src = coroutine.resume(nav._ScanThread)
if not (success or token) then
-- Lex completed
break
end
end
return token, src
end
end
end
return nav
end
return lexer
end
modules[trii.language] = function()
local script = trii.language
local language = {
keyword = {
["and"] = "keyword",
["break"] = "keyword",
["continue"] = "keyword",
["do"] = "keyword",
["else"] = "keyword",
["elseif"] = "keyword",
["end"] = "keyword",
["export"] = "keyword",
["false"] = "keyword",
["for"] = "keyword",
["function"] = "keyword",
["if"] = "keyword",
["in"] = "keyword",
["local"] = "keyword",
["nil"] = "keyword",
["not"] = "keyword",
["or"] = "keyword",
["repeat"] = "keyword",
["return"] = "keyword",
["self"] = "keyword",
["then"] = "keyword",
["true"] = "keyword",
["type"] = "keyword",
["typeof"] = "keyword",
["until"] = "keyword",
["while"] = "keyword",
},
builtin = {
-- Luau Functions
["assert"] = "function",
["error"] = "function",
["getfenv"] = "function",
["getmetatable"] = "function",
["ipairs"] = "function",
["loadstring"] = "function",
["newproxy"] = "function",
["next"] = "function",
["pairs"] = "function",
["pcall"] = "function",
["print"] = "function",
["rawequal"] = "function",
["rawget"] = "function",
["rawlen"] = "function",
["rawset"] = "function",
["select"] = "function",
["setfenv"] = "function",
["setmetatable"] = "function",
["tonumber"] = "function",
["tostring"] = "function",
["unpack"] = "function",
["xpcall"] = "function",
-- Luau Functions (Deprecated)
["collectgarbage"] = "function",
-- Luau Variables
["_G"] = "table",
["_VERSION"] = "string",
-- Luau Tables
["bit32"] = "table",
["coroutine"] = "table",
["debug"] = "table",
["math"] = "table",
["os"] = "table",
["string"] = "table",
["table"] = "table",
["utf8"] = "table",
-- Roblox Functions
["DebuggerManager"] = "function",
["delay"] = "function",
["gcinfo"] = "function",
["PluginManager"] = "function",
["require"] = "function",
["settings"] = "function",
["spawn"] = "function",
["tick"] = "function",
["time"] = "function",
["UserSettings"] = "function",
["wait"] = "function",
["warn"] = "function",
-- Roblox Functions (Deprecated)
["Delay"] = "function",
["ElapsedTime"] = "function",
["elapsedTime"] = "function",
["printidentity"] = "function",
["Spawn"] = "function",
["Stats"] = "function",
["stats"] = "function",
["Version"] = "function",
["version"] = "function",
["Wait"] = "function",
["ypcall"] = "function",
-- Roblox Variables
["game"] = "Instance",
["plugin"] = "Instance",
["script"] = "Instance",
["shared"] = "Instance",
["workspace"] = "Instance",
-- Roblox Variables (Deprecated)
["Game"] = "Instance",
["Workspace"] = "Instance",
-- Roblox Tables
["Axes"] = "table",
["BrickColor"] = "table",
["CatalogSearchParams"] = "table",
["CFrame"] = "table",
["Color3"] = "table",
["ColorSequence"] = "table",
["ColorSequenceKeypoint"] = "table",
["DateTime"] = "table",
["DockWidgetPluginGuiInfo"] = "table",
["Enum"] = "table",
["Faces"] = "table",
["FloatCurveKey"] = "table",
["Font"] = "table",
["Instance"] = "table",
["NumberRange"] = "table",
["NumberSequence"] = "table",
["NumberSequenceKeypoint"] = "table",
["OverlapParams"] = "table",
["PathWaypoint"] = "table",
["PhysicalProperties"] = "table",
["Random"] = "table",
["Ray"] = "table",
["RaycastParams"] = "table",
["Rect"] = "table",
["Region3"] = "table",
["Region3int16"] = "table",
["RotationCurveKey"] = "table",
["SharedTable"] = "table",
["task"] = "table",
["TweenInfo"] = "table",
["UDim"] = "table",
["UDim2"] = "table",
["Vector2"] = "table",
["Vector2int16"] = "table",
["Vector3"] = "table",
["Vector3int16"] = "table",
},
libraries = {
-- Luau Libraries
bit32 = {
arshift = "function",
band = "function",
bnot = "function",
bor = "function",
btest = "function",
bxor = "function",
countlz = "function",
countrz = "function",
extract = "function",
lrotate = "function",
lshift = "function",
replace = "function",
rrotate = "function",
rshift = "function",
},
coroutine = {
close = "function",
create = "function",
isyieldable = "function",
resume = "function",
running = "function",
status = "function",
wrap = "function",
yield = "function",
},
debug = {
dumpheap = "function",
getmemorycategory = "function",
info = "function",
loadmodule = "function",
profilebegin = "function",
profileend = "function",
resetmemorycategory = "function",
setmemorycategory = "function",
traceback = "function",
},
math = {
abs = "function",
acos = "function",
asin = "function",
atan2 = "function",
atan = "function",
ceil = "function",
clamp = "function",
cos = "function",
cosh = "function",
deg = "function",
exp = "function",
floor = "function",
fmod = "function",
frexp = "function",
ldexp = "function",
log10 = "function",
log = "function",
max = "function",
min = "function",
modf = "function",
noise = "function",
pow = "function",
rad = "function",
random = "function",
randomseed = "function",
round = "function",
sign = "function",
sin = "function",
sinh = "function",
sqrt = "function",
tan = "function",
tanh = "function",
huge = "number",
pi = "number",
},
os = {
clock = "function",
date = "function",
difftime = "function",
time = "function",
},
string = {
byte = "function",
char = "function",
find = "function",
format = "function",
gmatch = "function",
gsub = "function",
len = "function",
lower = "function",
match = "function",
pack = "function",
packsize = "function",
rep = "function",
reverse = "function",
split = "function",
sub = "function",
unpack = "function",
upper = "function",
},
table = {
clear = "function",
clone = "function",
concat = "function",
create = "function",
find = "function",
foreach = "function",
foreachi = "function",
freeze = "function",
getn = "function",
insert = "function",
isfrozen = "function",
maxn = "function",
move = "function",
pack = "function",
remove = "function",
sort = "function",
unpack = "function",
},
utf8 = {
char = "function",
codepoint = "function",
codes = "function",
graphemes = "function",
len = "function",
nfcnormalize = "function",
nfdnormalize = "function",
offset = "function",
charpattern = "string",
},
-- Roblox Libraries
Axes = {
new = "function",
},
BrickColor = {
Black = "function",
Blue = "function",
DarkGray = "function",
Gray = "function",
Green = "function",
new = "function",
New = "function",
palette = "function",
Random = "function",
random = "function",
Red = "function",
White = "function",
Yellow = "function",
},
CatalogSearchParams = {
new = "function",
},
CFrame = {
Angles = "function",
fromAxisAngle = "function",
fromEulerAngles = "function",
fromEulerAnglesXYZ = "function",
fromEulerAnglesYXZ = "function",
fromMatrix = "function",
fromOrientation = "function",
lookAt = "function",
new = "function",
identity = "CFrame",
},
Color3 = {
fromHex = "function",
fromHSV = "function",
fromRGB = "function",
new = "function",
toHSV = "function",
},
ColorSequence = {
new = "function",
},
ColorSequenceKeypoint = {
new = "function",
},
DateTime = {
fromIsoDate = "function",
fromLocalTime = "function",
fromUniversalTime = "function",
fromUnixTimestamp = "function",
fromUnixTimestampMillis = "function",
now = "function",
},
DockWidgetPluginGuiInfo = {
new = "function",
},
Enum = {},
Faces = {
new = "function",
},
FloatCurveKey = {
new = "function",
},
Font = {
fromEnum = "function",
fromId = "function",
fromName = "function",
new = "function",
},
Instance = {
new = "function",
},
NumberRange = {
new = "function",
},
NumberSequence = {
new = "function",
},
NumberSequenceKeypoint = {
new = "function",
},
OverlapParams = {
new = "function",
},
PathWaypoint = {
new = "function",
},
PhysicalProperties = {
new = "function",
},
Random = {
new = "function",
},
Ray = {
new = "function",
},
RaycastParams = {
new = "function",
},
Rect = {
new = "function",
},
Region3 = {
new = "function",
},
Region3int16 = {
new = "function",
},
RotationCurveKey = {
new = "function",
},
SharedTable = {
clear = "function",
clone = "function",
cloneAndFreeze = "function",
increment = "function",
isFrozen = "function",
new = "function",
size = "function",
update = "function",
},
task = {
cancel = "function",
defer = "function",
delay = "function",
desynchronize = "function",
spawn = "function",
synchronize = "function",
wait = "function",
},
TweenInfo = {
new = "function",
},
UDim = {
new = "function",
},
UDim2 = {
fromOffset = "function",
fromScale = "function",
new = "function",
},
Vector2 = {
new = "function",
one = "Vector2",
xAxis = "Vector2",
yAxis = "Vector2",
zero = "Vector2",
},
Vector2int16 = {
new = "function",
},
Vector3 = {
fromAxis = "function",
FromAxis = "function",
fromNormalId = "function",
FromNormalId = "function",
new = "function",
one = "Vector3",
xAxis = "Vector3",
yAxis = "Vector3",
zAxis = "Vector3",
zero = "Vector3",
},
Vector3int16 = {
new = "function",
},
},
}
-- Filling up language.libraries.Enum table
local enumLibraryTable = language.libraries.Enum
for _, enum in ipairs(Enum:GetEnums()) do
--TODO: Remove tostring from here once there is a better way to get the name of an Enum
enumLibraryTable[tostring(enum)] = "Enum"
end
return language
end
modules[trii.theme] = function()
local script = trii.theme
local DEFAULT_TOKEN_COLORS = {
["background"] = Color3.fromRGB(47, 47, 47),
["iden"] = Color3.fromRGB(234, 234, 234),
["keyword"] = Color3.fromRGB(215, 174, 255),
["builtin"] = Color3.fromRGB(131, 206, 255),
["string"] = Color3.fromRGB(196, 255, 193),
["number"] = Color3.fromRGB(255, 125, 125),
["comment"] = Color3.fromRGB(140, 140, 155),
["operator"] = Color3.fromRGB(255, 239, 148),
["custom"] = Color3.fromRGB(119, 122, 255),
}
local types = require(script.Parent.types)
local Theme = {
tokenColors = {},
tokenRichTextFormatter = {},
}
function Theme.setColors(tokenColors: types.TokenColors)
assert(type(tokenColors) == "table", "Theme.updateColors expects a table")
for tokenName, color in tokenColors do
Theme.tokenColors[tokenName] = color
end
end
function Theme.getColoredRichText(color: Color3, text: string): string
return '<font color="#' .. color:ToHex() .. '">' .. text .. "</font>"
end
function Theme.getColor(tokenName: types.TokenName): Color3
return Theme.tokenColors[tokenName]
end
function Theme.matchStudioSettings(refreshCallback: () -> ()): boolean
local success = pcall(function()
-- When not used in a Studio plugin, this will error
-- and the pcall will just silently return
local studio = settings().Studio
local studioTheme = studio.Theme
local function getTokens()
return {
["background"] = studioTheme:GetColor(Enum.StudioStyleGuideColor.ScriptBackground),
["iden"] = studioTheme:GetColor(Enum.StudioStyleGuideColor.ScriptText),
["keyword"] = studioTheme:GetColor(Enum.StudioStyleGuideColor.ScriptKeyword),
["builtin"] = studioTheme:GetColor(Enum.StudioStyleGuideColor.ScriptBuiltInFunction),
["string"] = studioTheme:GetColor(Enum.StudioStyleGuideColor.ScriptString),
["number"] = studioTheme:GetColor(Enum.StudioStyleGuideColor.ScriptNumber),
["comment"] = studioTheme:GetColor(Enum.StudioStyleGuideColor.ScriptComment),
["operator"] = studioTheme:GetColor(Enum.StudioStyleGuideColor.ScriptOperator),
["custom"] = studioTheme:GetColor(Enum.StudioStyleGuideColor.ScriptBool),
}
end
Theme.setColors(getTokens())
studio.ThemeChanged:Connect(function()
studioTheme = studio.Theme
Theme.setColors(getTokens())
refreshCallback()
end)
end)
return success
end
-- Initialize
Theme.setColors(DEFAULT_TOKEN_COLORS)
return Theme
end
modules[trii.types] = function()
local script = trii.types
export type TextObject = TextLabel | TextBox
export type TokenName =
"background"
| "iden"
| "keyword"
| "builtin"
| "string"
| "number"
| "comment"
| "operator"
| "custom"
export type TokenColors = {
["background"]: Color3?,
["iden"]: Color3?,
["keyword"]: Color3?,
["builtin"]: Color3?,
["string"]: Color3?,
["number"]: Color3?,
["comment"]: Color3?,
["operator"]: Color3?,
["custom"]: Color3?,
}
export type HighlightProps = {
textObject: TextObject,
src: string?,
forceUpdate: boolean?,
lexer: Lexer?,
customLang: { [string]: string }?,
}
export type Lexer = {
scan: (src: string) -> () -> (string, string),
navigator: () -> any,
finished: boolean?,
}
export type ObjectData = {
Text: string,
Labels: { TextLabel },
Lines: { string },
Lexer: Lexer?,
CustomLang: { [string]: string }?,
}
return nil
end
modules[trii.utility] = function()
local script = trii.utility
local types = require(script.Parent.types)
local Utility = {}
function Utility.sanitizeRichText(s: string): string
return string.gsub(
string.gsub(string.gsub(string.gsub(string.gsub(s, "&", "&"), "<", "<"), ">", ">"), '"', """),
"'",
"'"
)
end
function Utility.convertTabsToSpaces(s: string): string
return string.gsub(s, "\t", " ")
end
function Utility.removeControlChars(s: string): string
return string.gsub(s, "[\0\1\2\3\4\5\6\7\8\11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31]+", "")
end
function Utility.getInnerAbsoluteSize(textObject: types.TextObject): Vector2
local fullSize = textObject.AbsoluteSize
local padding: UIPadding? = textObject:FindFirstChildWhichIsA("UIPadding")
if padding then
local offsetX = padding.PaddingLeft.Offset + padding.PaddingRight.Offset
local scaleX = (fullSize.X * padding.PaddingLeft.Scale) + (fullSize.X * padding.PaddingRight.Scale)
local offsetY = padding.PaddingTop.Offset + padding.PaddingBottom.Offset
local scaleY = (fullSize.Y * padding.PaddingTop.Scale) + (fullSize.Y * padding.PaddingBottom.Scale)
return Vector2.new(fullSize.X - (scaleX + offsetX), fullSize.Y - (scaleY + offsetY))
else
return fullSize
end
end
function Utility.getTextBounds(textObject: types.TextObject): Vector2
if textObject.ContentText == "" then
return Vector2.zero
end
local textBounds = textObject.TextBounds
-- Wait for TextBounds to be non-NaN and non-zero because Roblox
while (textBounds.Y ~= textBounds.Y) or (textBounds.Y < 1) do
task.wait()
textBounds = textObject.TextBounds
end
return textBounds
end
return Utility
end
task.spawn(function()
local script = trii.GlobalLog
_G.logPrint = true
_G.logWarn = true
_G.logError = true
_G.logInfo = false
local TextService = game:GetService("TextService")
local LogService = game:GetService("LogService")
local frame = script.Parent
local messageBox = frame:WaitForChild("TextBox")
messageBox.RichText = true
messageBox.Selectable = false
messageBox.Active = false
local function formatMessage(message, messageType)
local color = ""
local formattedType = ""
if messageType == Enum.MessageType.MessageOutput then
color = "#cffeff"
formattedType = "Print"
elseif messageType == Enum.MessageType.MessageWarning then
color = "#ffa73b"
formattedType = "Warn"
elseif messageType == Enum.MessageType.MessageError then
color = "#FF005D"
formattedType = "Error"
elseif messageType == Enum.MessageType.MessageInfo then
color = "#5cb0ff"
formattedType = "Info"
else
color = "#FFFFFF"
formattedType = "Other"
end
return string.format('<font color="%s"><b>[%s]</b></font> %s', color, formattedType, message)
end
local function formatMessage2(message, messageType)
local formattedType = ""
if messageType == Enum.MessageType.MessageOutput then
formattedType = "Print"
elseif messageType == Enum.MessageType.MessageWarning then
formattedType = "Warn"
elseif messageType == Enum.MessageType.MessageError then
formattedType = "Error"
elseif messageType == Enum.MessageType.MessageInfo then
formattedType = "Info"
else
formattedType = "Other"
end
return string.format('[%s] %s', formattedType, message)
end
local function updateMessageBoxSize()
local textSize = TextService:GetTextSize(
messageBox.Text,
messageBox.TextSize,
messageBox.Font,
Vector2.new(messageBox.AbsoluteSize.X, 20000)
)
messageBox.Size = UDim2.new(messageBox.Size.X.Scale, messageBox.Size.X.Offset, 0, textSize.Y)
end
local function onMessageOut(message, messageType)
if not _G.logInfo then return end
if (messageType == Enum.MessageType.MessageOutput and not _G.logPrint) or
(messageType == Enum.MessageType.MessageWarning and not _G.logWarn) or
(messageType == Enum.MessageType.MessageError and not _G.logError)then
return
end
local timeStamp = os.date("%X")
local formattedMessage = formatMessage(message, messageType)
local formattedMessage2 = formatMessage2(message, messageType)
local logmsg = messageBox.Text .. timeStamp .. " - " .. formattedMessage .. "\n"
local logmsg2 = formattedMessage2
messageBox.Text = logmsg
if _G.wsConnection then
task.wait()
local success, err = pcall(function()
_G.ws:Send(tostring(logmsg2))
end)
if not success then
print("Error sending message, ws:Send")
end
end
updateMessageBoxSize()
frame.CanvasPosition = Vector2.new(0, messageBox.TextBounds.Y)
end
LogService.MessageOut:Connect(onMessageOut)
end)
task.spawn(function()
local script = trii.LocalPlayerHandle
-- Services
local Players = game:GetService("Players")
--local plr property
local lplayer = Players.LocalPlayer
local character = lplayer.Character or lplayer.CharacterAdded:Wait()
-- Modules
local FormSliderClass = require(script.Parent:WaitForChild("FormSliderClass"))
-- GUI Variables
local WalKSpeedSlider = script.Parent:WaitForChild("walkspeed"):WaitForChild("Slider")
local JumpSpeedSlider = script.Parent:WaitForChild("jumspeed"):WaitForChild("Slider")
local curpos = script.Parent:WaitForChild("CurPos")
-- Add slider functionality
local WalKSpeedSliderSet = FormSliderClass.new(WalKSpeedSlider, Enum.Axis.X, 0, 50) -- Horizontal, -> paramGuiObject, paramDirection, minvalue, maxvalue slider
-- Meow
WalKSpeedSlider:GetAttributeChangedSignal("ValuePercent"):Connect(function()
--print(WalKSpeedSlider:GetAttribute("ValuePercent"), WalKSpeedSlider:GetAttribute("ValueIncrement"))
WalKSpeedSlider.Parent.Title.Text = "Player Walk Speed: "..math.floor(WalKSpeedSlider:GetAttribute("ValuePercent"))
character.Humanoid.WalkSpeed = math.floor(WalKSpeedSlider:GetAttribute("ValuePercent"))
end)
coroutine.resume(coroutine.create(function()
while wait() do
if character then
local vector = character.HumanoidRootPart.Position
local pos = Vector3.new(math.floor(vector.X), math.floor(vector.Y), math.floor(vector.Z))
curpos.Text = "Current Position: "..tostring(pos)
end
end
end))
end)
task.spawn(function()
local script = trii.LocalScript
local Highlighter = require(script.Parent.ScriptBox.Highlighter)
local myTextLabel = script.Parent.ScriptBox
Highlighter.highlight({
textObject = myTextLabel,
})
end)
task.spawn(function()
local script = trii.LocalScript_1
local plr = game.Players.LocalPlayer
local MainFrame = script.Parent.MainFrame
local buttons = MainFrame.BottomMenuFrame.MenuList
local execBtn = buttons:WaitForChild("ExecBtn")
local cloudBtn = buttons:WaitForChild("CloudBtn")
local HBtn = buttons:WaitForChild("HBtn")
local settingsBtn = buttons:WaitForChild("SettingsBtn")
local execFrame = MainFrame:WaitForChild("ExecFrame")
local logFrame = MainFrame:WaitForChild("logFrame")
local homeFrame = MainFrame:WaitForChild("homeFrame")
local settingsFrame = MainFrame:WaitForChild("SettingsFrame")
local excbtn = execFrame.Buttons.Button1
local execlipbtn = execFrame.Buttons.Button2
local pastebtn = execFrame.Buttons.Button3
local clearbtn = execFrame.Buttons.Button4
local ScriptBox = execFrame.ScrollingFrame.ScriptBox
local ExitBtn = MainFrame.BottomMenuFrame.LeftFrame.ExitBtn
----//////////////////----
----/// Menu Buttons
----//////////////////----
local function hideAllFrames()
execFrame.Visible = false
logFrame.Visible = false
homeFrame.Visible = false
settingsFrame.Visible = false
execBtn.UIStroke.Enabled = false
HBtn.UIStroke.Enabled = false
cloudBtn.UIStroke.Enabled = false
settingsBtn.UIStroke.Enabled = false
end
local function showFrame(frame, btn)
hideAllFrames()
task.wait()
frame.Visible = true
btn.UIStroke.Enabled = true
end
execBtn.Activated:Connect(function()
showFrame(execFrame, execBtn)
end)
cloudBtn.Activated:Connect(function()
showFrame(logFrame, cloudBtn)
end)
HBtn.Activated:Connect(function()
showFrame(homeFrame, HBtn)
end)
settingsBtn.Activated:Connect(function()
showFrame(settingsFrame, settingsBtn)
end)
hideAllFrames()
homeFrame.Visible = true
----//////////////////----
----/// Exec Buttons
----//////////////////----
excbtn.Activated:Connect(function()
excbtn.UIStroke.Enabled = true
executecode(ScriptBox.Text)
wait(0.1)
excbtn.UIStroke.Enabled = false
end)
execlipbtn.Activated:Connect(function()
execlipbtn.UIStroke.Enabled = true
executecode(getclipboard())
wait(0.1)
execlipbtn.UIStroke.Enabled = false
end)
pastebtn.Activated:Connect(function()
pastebtn.UIStroke.Enabled = true
ScriptBox.Text = getclipboard()
wait(0.1)
pastebtn.UIStroke.Enabled = false
end)
clearbtn.Activated:Connect(function()
clearbtn.UIStroke.Enabled = true
ScriptBox.Text = ""
wait(0.1)
clearbtn.UIStroke.Enabled = false
end)
----//////////////////----
----/// Other
----//////////////////----
ExitBtn.Activated:Connect(function()
script.Parent.Enabled = not script.Parent.Enabled
end)
ScriptBox.Focused:Connect(function()
for _, item in pairs(ScriptBox.SyntaxHighlights:GetChildren()) do
item.Visible = false
end
end)
ScriptBox.FocusLost:Connect(function()
for _, item in pairs(ScriptBox.SyntaxHighlights:GetChildren()) do
item.Visible = true
end
end)
----//////////////////----
----/// Default Page
----//////////////////----
local HttpService = game:GetService("HttpService")
local jsonString = [[
{
"15842384180x": {
"_scripts": [
{"scriptName": "Script 1", "text": "script executed"},
{"scriptName": "script 2", "text": "script executed"}
]
},
"987654321": {
"_scripts": [
{"scriptName": "scriptName 3", "text": "Quote 1 from scriptName 3 in Game 987654321"}
]
},
"global": {
"_scripts": [
{"scriptName": "Infinite Yield", "text": "loadstring(game:HttpGet(\"https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source\",true))()"},
{"scriptName": "Dark Dex v4", "text": "getgenv().Key = \"Bash\" loadstring(game:HttpGet(\"https://raw.githubusercontent.com/Hosvile/Refinement/main/MC%3AIY%20Dex\",true))()"},
{"scriptName": "Bypassed Dark Dex v3", "text": "loadstring(game:HttpGet('https://raw.githubusercontent.com/Babyhamsta/RBLX_Scripts/main/Universal/BypassedDarkDexV3.lua', true))()"}
]
}
}
]]
local scriptList = HttpService:JSONDecode(jsonString)
local scriptsFrame = MainFrame.homeFrame.scriptsFrame
local scriptButton = scriptsFrame.TextButton
local currentPlaceId = tostring(game.PlaceId)
scriptsFrame["#GameHeader"].Title.Text = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name
local function createscriptButtons(_scripts)
local yPos = 0
for i, scriptData in ipairs(_scripts) do
local newButton = scriptButton:Clone()
newButton.Parent = scriptsFrame
newButton.Text = scriptData.scriptName
newButton.Position = UDim2.new(newButton.Position.X.Scale, newButton.Position.X.Offset, newButton.Position.Y.Scale, yPos)
yPos = yPos + newButton.Size.Y.Offset + 5
newButton.Visible = true
newButton.MouseButton1Click:Connect(function()
--print(scriptData.text)
executecode(scriptData.text)
end)
end
end
local scriptToUse
if scriptList[currentPlaceId] and scriptList[currentPlaceId]._scripts then
scriptToUse = scriptList[currentPlaceId]._scripts
elseif scriptList["global"] and scriptList["global"]._scripts then
scriptToUse = scriptList["global"]._scripts
end
if scriptToUse then
createscriptButtons(scriptToUse)
else
print("No _scripts available.")
end
scriptButton.Visible = false
----//////////////////----
----/// Console Log Page
----//////////////////----
logButtons = logFrame.logButtons
consoleFrame = logFrame.consoleFrame
outputCBX = logButtons.logOutput.Button
warningCBX = logButtons.logWarning.Button
errorCBX = logButtons.logError.Button
infoCBX = logButtons.logInfo.Button
consoleclrbtn = logButtons.cclrbtn
consoleexebtn = logButtons.excp
local function ccupdt(value, button)
if _G[value] then
button.Image = "rbxassetid://3926305904"
button.ImageRectSize = Vector2.new(36, 36)
button.ImageRectOffset = Vector2.new(724, 724)
else
button.Image = "rbxassetid://3926311105"
button.ImageRectSize = Vector2.new(48, 48)
button.ImageRectOffset = Vector2.new(4, 836)
end
end
consoleexebtn.Activated:Connect(function()
executecode(getclipboard())
end)
outputCBX.Activated:Connect(function()
ccupdt("logPrint",outputCBX)
_G.logPrint = not _G.logPrint
print(_G.logPrint)
end)
warningCBX.Activated:Connect(function()
ccupdt("logWarn",warningCBX)
_G.logWarn = not _G.logWarn
end)
errorCBX.Activated:Connect(function()
ccupdt("logError",errorCBX)
_G.logError = not _G.logError
end)
infoCBX.Activated:Connect(function()
ccupdt("logInfo",infoCBX)
_G.logInfo = not _G.logInfo
end)
consoleclrbtn.Activated:Connect(function()
consoleFrame.TextBox.Text = ""
end)
end)
task.spawn(function()
local script = trii.savescripts
HttpService = game:GetService("HttpService")
folderName = 'Local_Scripts'
fileName = 'list.json'
filePath = folderName .. '/' .. fileName
lsf = script.Parent.MainFrame.homeFrame.localscriptsFrame
alsf = script.Parent.MainFrame.homeFrame.addlocalscriptsFrame
add_btn = lsf["#GameHeader"].Add_btn.TextButton
script_placeholder = lsf.script_placeholder
script_placeholder.Visible = false
title = script_placeholder.scriptTitle
buttons = script_placeholder.Buttons
run = buttons.run.button
autoload = buttons.autoload.button
delete = buttons.delete.button
scriptNameinput = alsf.addFrame.input.TextBox
confirm_btn = alsf.addFrame.confrim_btn.TextButton
cancel_btn = alsf.addFrame.cancel_btn.TextButton
local default_scripts = {
localscripts = {
script_name = {
name = "print epic!",
script = "print(\"epic\")",
auto_load = false
}
}
}
local _scripts = {}
local function merge_scripts(defaults, loaded_scripts)
for key, value in pairs(defaults) do
if type(value) == "table" then
loaded_scripts[key] = loaded_scripts[key] or {}
merge_scripts(value, loaded_scripts[key])
else
loaded_scripts[key] = loaded_scripts[key] or value
end
end
end
local function read_scripts()
if not isfolder(folderName) then
makefolder(folderName)
end
if isfile(filePath) then
local fileContents = readfile(filePath)
local success, decoded = pcall(function()
return HttpService:JSONDecode(fileContents)
end)
if success then
merge_scripts(default_scripts, decoded)
return decoded
end
end
return default_scripts
end
local function save_scripts()
local encoded = HttpService:JSONEncode(_scripts)
writefile(filePath, encoded)
print("_scripts saved.")
end
local function deleteScript(scriptName)
if _scripts.localscripts[scriptName] then
_scripts.localscripts[scriptName] = nil
warn("Deleted: " .. scriptName)
save_scripts()
else
warn("Script not found: " .. scriptName)
end
end
_scripts = read_scripts()
local function execute_(scriptName)
if isfile(filePath) then
local fileContents = readfile(filePath)
local success, decoded = pcall(function()
return HttpService:JSONDecode(fileContents)
end)
if success and decoded.localscripts then
local scriptData = decoded.localscripts[scriptName]
if scriptData then
executecode(scriptData.script)
else
warn("Script not found:", scriptName)
end
else
warn("Failed to decode _scripts or 'localscripts' not found.")
end
else
print(filePath)
warn("_scripts file does not exist.")
end
end
local function updateAutoLoad(scriptName, autoLoadValue, btn)
if _scripts.localscripts and _scripts.localscripts[scriptName] then
_scripts.localscripts[scriptName].auto_load = autoLoadValue
save_scripts()
print("Updated auto_load for", _scripts.localscripts[scriptName].name, "to", autoLoadValue)
if not autoLoadValue then
btn.Image = "rbxassetid://3926305904"
btn.ImageRectSize = Vector2.new(36, 36)
btn.ImageRectOffset = Vector2.new(724, 724)
else
btn.Image = "rbxassetid://3926311105"
btn.ImageRectSize = Vector2.new(48, 48)
btn.ImageRectOffset = Vector2.new(4, 836)
end
else
warn("Failed to update auto_load. Script not found or error in _scripts.")
end
end
local function convertScriptName(name)
local convertedName = name:gsub("%s+", "_")
convertedName = convertedName:gsub("%W", "")
return convertedName
end
local function setupScriptUI(scriptName, scriptData)
local scriptUI = script_placeholder:Clone()
scriptUI.Visible = true
scriptUI.scriptTitle.Text = scriptData.name
scriptUI.Buttons.run.button.Activated:Connect(function()
execute_(scriptName)
end)
scriptUI.Buttons.autoload.button.Activated:Connect(function()
local newAutoLoadValue = not scriptData.auto_load
updateAutoLoad(scriptName, newAutoLoadValue, scriptUI.Buttons.autoload.button)
scriptData.auto_load = newAutoLoadValue
end)
scriptUI.Buttons.delete.button.Activated:Connect(function()
deleteScript(scriptName)
scriptUI:Destroy()
end)
scriptUI.Parent = lsf
if scriptData.auto_load then
scriptUI.Buttons.autoload.button.Image = "rbxassetid://3926311105"
scriptUI.Buttons.autoload.button.ImageRectSize = Vector2.new(48, 48)
scriptUI.Buttons.autoload.button.ImageRectOffset = Vector2.new(4, 836)
execute_(scriptName)
end
end
local function setupAllScriptsUI()
for scriptName, scriptData in pairs(_scripts.localscripts) do
setupScriptUI(scriptName, scriptData)
end
end
local function add_update(scriptName, name, scriptContent, autoLoad)
print("adding")
local isNewScript = not _scripts.localscripts[tostring(scriptName)]
_scripts.localscripts[tostring(scriptName)] = {
name = tostring(name),
script = tostring(scriptContent),
auto_load = autoLoad
}
save_scripts()
if isNewScript then
setupScriptUI(tostring(scriptName), _scripts.localscripts[tostring(scriptName)])
end
end
confirm_btn.Activated:Connect(function()
local scriptName = scriptNameinput.Text
local convertedName = convertScriptName(scriptName)
local xscript = getclipboard()
warn(scriptName, convertedName, xscript)
task.wait()
if convertedName ~= "" then
print("correct")
lsf.Visible = true
add_update(convertedName, scriptName, xscript, false)
scriptNameinput.Text = ""
else
scriptNameinput.Parent.Parent.Title.Text = "Script Name: Invalid script name"
wait(2)
scriptNameinput.Parent.Parent.Title.Text = "Script Name:"
warn("Invalid script name")
end
end)
add_btn.Activated:Connect(function()
lsf.Visible = false
end)
cancel_btn.Activated:Connect(function()
lsf.Visible = true
end)
setupAllScriptsUI()
end)
end
wait(2)
main()
loader()
print("---><---")
pcall(function()
for i,v in pairs(arceus.listarceusfiles("Autoexec")) do
executecode(arceus.readarceusfile(v))
end
end)
Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: trigonevo.fun, www.roblox.com, github.com, raw.githubusercontent.com.
Trigon executor Open source you can make it into apk/execute it on your executor

Universal