Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- module list ui
- local core = game:FindFirstChild('CoreGui')or game.Players.LocalPlayer.PlayerGui
- local UIS = game:GetService('UserInputService')
- local imd = {}
- function imd:new<t...>(titl__,decsa__)
- decsa__ = decsa__ or ""
- titl__ = titl__ or "script game "..tostring(game.Name)
- local imd = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local DropShadow = Instance.new("ImageLabel")
- local Title = Instance.new("TextLabel")
- local Frame_2 = Instance.new("Frame")
- local DropShadow_2 = Instance.new("ImageLabel")
- local underTitle = Instance.new("TextLabel")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local UIListLayout = Instance.new("UIListLayout")
- local DropShadow_3 = Instance.new("ImageLabel")
- UIListLayout:GetPropertyChangedSignal('AbsoluteContentSize'):Connect(function()
- game:GetService('TweenService'):Create(ScrollingFrame,TweenInfo.new(3),{
- CanvasSize = UDim2.new(0,0,0,UIListLayout.AbsoluteContentSize.Y)
- }):Play()
- end)
- imd.Name = "imd"
- imd.Parent = core
- imd.ResetOnSpawn = false
- imd.ZIndexBehavior = Enum.ZIndexBehavior.Global
- imd.IgnoreGuiInset = true
- Frame.Parent = imd
- Frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.609105825, 0, 0.01358697, 0)
- Frame.Size = UDim2.new(0.430000007, 0, 0.430000007, 0)
- Frame.SizeConstraint = Enum.SizeConstraint.RelativeYY
- UICorner.CornerRadius = UDim.new(0, 3)
- UICorner.Parent = Frame
- DropShadow.Name = "DropShadow"
- DropShadow.Parent = Frame
- DropShadow.AnchorPoint = Vector2.new(0.5, 0.5)
- DropShadow.BackgroundTransparency = 1.000
- DropShadow.BorderSizePixel = 0
- DropShadow.Position = UDim2.new(0.499999911, 0, 0.54891938, 0)
- DropShadow.Size = UDim2.new(0.959999979, 35, 0.822000027, 35)
- DropShadow.ZIndex = 2
- DropShadow.Image = "rbxassetid://6014261993"
- DropShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
- DropShadow.ImageTransparency = 0.500
- DropShadow.ScaleType = Enum.ScaleType.Slice
- DropShadow.SliceCenter = Rect.new(49, 49, 450, 450)
- Title.Name = "Title"
- Title.Parent = Frame
- Title.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- Title.BackgroundTransparency = 1.000
- Title.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Title.BorderSizePixel = 0
- Title.Position = UDim2.new(0.0157987867, 0, 0, 0)
- Title.Size = UDim2.new(0.965000033, 0, 0.0763018206, 0)
- Title.ZIndex = 7
- Title.Font = Enum.Font.GothamBold
- Title.Text = titl__ or "Bedol Hub"
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextScaled = true
- Title.TextSize = 14.000
- Title.TextWrapped = true
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame_2.BorderSizePixel = 0
- Frame_2.Size = UDim2.new(1, 0, 0.119999997, 0)
- DropShadow_2.Name = "DropShadow"
- DropShadow_2.Parent = Frame_2
- DropShadow_2.AnchorPoint = Vector2.new(0.5, 0.5)
- DropShadow_2.BackgroundTransparency = 1.000
- DropShadow_2.BorderSizePixel = 0
- DropShadow_2.Position = UDim2.new(0.5, 0, 0.600000024, 0)
- DropShadow_2.Size = UDim2.new(1, 10, 1, 10)
- DropShadow_2.ZIndex = -5
- DropShadow_2.Image = "rbxassetid://6014261993"
- DropShadow_2.ImageColor3 = Color3.fromRGB(0, 0, 0)
- DropShadow_2.ImageTransparency = 0.500
- DropShadow_2.ScaleType = Enum.ScaleType.Slice
- DropShadow_2.SliceCenter = Rect.new(49, 49, 450, 450)
- underTitle.Name = "underTitle"
- underTitle.Parent = Frame
- underTitle.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- underTitle.BackgroundTransparency = 1.000
- underTitle.BorderColor3 = Color3.fromRGB(0, 0, 0)
- underTitle.BorderSizePixel = 0
- underTitle.Position = UDim2.new(0.0157987867, 0, 0.0763018206, 0)
- underTitle.Size = UDim2.new(0.965000033, 0, 0.0434466638, 0)
- underTitle.ZIndex = 7
- underTitle.Font = Enum.Font.GothamBold
- underTitle.Text = decsa__ or "all Script"
- underTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
- underTitle.TextScaled = true
- underTitle.TextSize = 14.000
- underTitle.TextTransparency = 0.500
- underTitle.TextWrapped = true
- ScrollingFrame.Parent = Frame
- ScrollingFrame.Active = true
- ScrollingFrame.AnchorPoint = Vector2.new(0.5, 0)
- ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ScrollingFrame.BackgroundTransparency = 0.950
- ScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Position = UDim2.new(0.499999911, 0, 0.150088444, 0)
- ScrollingFrame.Size = UDim2.new(0.959999979, 0, 0.822352171, 0)
- ScrollingFrame.ZIndex = 3
- ScrollingFrame.BottomImage = ""
- ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame.ScrollBarThickness = 2
- ScrollingFrame.TopImage = ""
- UIListLayout.Parent = ScrollingFrame
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 7)
- DropShadow_3.Name = "DropShadow"
- DropShadow_3.Parent = Frame
- DropShadow_3.AnchorPoint = Vector2.new(0.5, 0.5)
- DropShadow_3.BackgroundTransparency = 1.000
- DropShadow_3.BorderSizePixel = 0
- DropShadow_3.Position = UDim2.new(0.5, 0, 0.5, 0)
- DropShadow_3.Size = UDim2.new(1, 47, 1, 47)
- DropShadow_3.ZIndex = -5
- DropShadow_3.Image = "rbxassetid://6014261993"
- DropShadow_3.ImageColor3 = Color3.fromRGB(0, 0, 0)
- DropShadow_3.ImageTransparency = 0.500
- DropShadow_3.ScaleType = Enum.ScaleType.Slice
- DropShadow_3.SliceCenter = Rect.new(49, 49, 450, 450)
- local function createRich(link:string)
- local _1 = [[<font color="rgb(0, 178, 232)">loadstring</font>(<font color="rgb(0, 178, 232)">game</font>:<font color="rgb(232, 227, 77)">HttpGet</font>(<font color="rgb(69, 232, 40)">"]]..tostring(link)..[["</font>))()]]
- return _1
- end
- local dragToggle = nil
- local dragSpeed = 0.1
- local dragStart = nil
- local startPos = nil
- local function updateInput(input)
- local delta = input.Position - dragStart
- local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
- startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- game:GetService('TweenService'):Create(Frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
- end
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragToggle = false
- end
- end)
- end
- end)
- UIS.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- if dragToggle then
- updateInput(input)
- end
- end
- end)
- return function(titlestring:string,script_link:string)
- local Frame = Instance.new("Frame")
- local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
- local UICorner = Instance.new("UICorner")
- local DropShadow = Instance.new("ImageLabel")
- local Title = Instance.new("TextLabel")
- local ScriptCode = Instance.new("TextLabel")
- local Copy = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- local Run = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- Frame.Parent = ScrollingFrame
- Frame.BackgroundColor3 = Color3.fromRGB(11, 11, 11)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Size = UDim2.new(1, 0, 0.5, 0)
- Frame.ZIndex = 6
- UIAspectRatioConstraint.Parent = Frame
- UIAspectRatioConstraint.AspectRatio = 4.500
- UIAspectRatioConstraint.AspectType = Enum.AspectType.ScaleWithParentSize
- UICorner.CornerRadius = UDim.new(0, 3)
- UICorner.Parent = Frame
- DropShadow.Name = "DropShadow"
- DropShadow.Parent = Frame
- DropShadow.AnchorPoint = Vector2.new(0.5, 0.5)
- DropShadow.BackgroundTransparency = 1.000
- DropShadow.BorderSizePixel = 0
- DropShadow.Position = UDim2.new(0.499999911, 0, 0.54891938, 0)
- DropShadow.Size = UDim2.new(0.959999979, 45, 0.822000027, 45)
- DropShadow.ZIndex = 5
- DropShadow.Image = "rbxassetid://6014261993"
- DropShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
- DropShadow.ImageTransparency = 0.500
- DropShadow.ScaleType = Enum.ScaleType.Slice
- DropShadow.SliceCenter = Rect.new(49, 49, 450, 450)
- Title.Name = "Title"
- Title.Parent = Frame
- Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title.BackgroundTransparency = 1.000
- Title.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Title.BorderSizePixel = 0
- Title.Position = UDim2.new(0, 0, 7.06260792e-08, 0)
- Title.Size = UDim2.new(1, 0, 0.285141945, 0)
- Title.ZIndex = 7
- Title.Font = Enum.Font.GothamBold
- Title.Text = titlestring or "Script"
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextScaled = true
- Title.TextSize = 14.000
- Title.TextWrapped = true
- ScriptCode.Name = "ScriptCode"
- ScriptCode.Parent = Frame
- ScriptCode.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- ScriptCode.BorderColor3 = Color3.fromRGB(0, 0, 0)
- ScriptCode.BorderSizePixel = 0
- ScriptCode.Position = UDim2.new(0.0329141393, 0, 0.388798267, 0)
- ScriptCode.Size = UDim2.new(0.925943196, 0, 0.285141945, 0)
- ScriptCode.ZIndex = 7
- ScriptCode.Font = Enum.Font.SourceSansBold
- ScriptCode.RichText = true
- ScriptCode.Text = createRich(tostring(script_link))
- ScriptCode.TextColor3 = Color3.fromRGB(255, 255, 255)
- ScriptCode.TextScaled = true
- ScriptCode.TextSize = 14.000
- ScriptCode.TextWrapped = true
- ScriptCode.TextXAlignment = Enum.TextXAlignment.Left
- Copy.Name = "Copy"
- Copy.Parent = Frame
- Copy.BackgroundColor3 = Color3.fromRGB(95, 95, 95)
- Copy.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Copy.BorderSizePixel = 0
- Copy.Position = UDim2.new(0.0659999996, 0, 0.776000023, 0)
- Copy.Size = UDim2.new(0.300000012, 0, 0.200000003, 0)
- Copy.ZIndex = 7
- Copy.Font = Enum.Font.GothamBold
- Copy.Text = "Copy"
- Copy.TextColor3 = Color3.fromRGB(255, 255, 255)
- Copy.TextScaled = true
- Copy.TextSize = 14.000
- Copy.TextWrapped = true
- UICorner_2.CornerRadius = UDim.new(0, 3)
- UICorner_2.Parent = Copy
- Run.Name = "Run"
- Run.Parent = Frame
- Run.BackgroundColor3 = Color3.fromRGB(95, 95, 95)
- Run.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Run.BorderSizePixel = 0
- Run.Position = UDim2.new(0.600000024, 0, 0.776000023, 0)
- Run.Size = UDim2.new(0.300000012, 0, 0.200000003, 0)
- Run.ZIndex = 7
- Run.Font = Enum.Font.GothamBold
- Run.Text = "Run"
- Run.TextColor3 = Color3.fromRGB(255, 255, 255)
- Run.TextScaled = true
- Run.TextSize = 14.000
- Run.TextWrapped = true
- UICorner_3.CornerRadius = UDim.new(0, 3)
- UICorner_3.Parent = Run
- Copy.MouseButton1Click:Connect(function()
- local link = "-- script \n loadstring(game:HttpGet('"..tostring(script_link).."'))()"
- setclipboard(link)
- end)
- Run.MouseButton1Click:Connect(function()
- loadstring(game:HttpGet(script_link))()
- if imd then
- imd:Remove()
- end
- end)
- end
- end
- return imd;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement