local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local JointsService = game:GetService("JointsService") local StarterGui = game:GetService("StarterGui") local TweenService = game:GetService("TweenService") local Lighting = game:GetService("Lighting") local Workspace = game:GetService("Workspace") local Players = game:GetService("Players") local RunService = game:GetService("RunService") local StarterGui = game:GetService("StarterGui") repeat wait() until game:IsLoaded() wait(1) local function printLog(level, source, message) local timestamp = os.date("[%Y-%m-%d %H:%M:%S]") print(string.format("%s [%s] [%s] %s", timestamp, source, level, message)) end local localPlayer = Players.LocalPlayer local robloxVersion = "Unknown" pcall(function() local ver = UserSettings():GetService("UserGameSettings").Version if ver and ver ~= "" then robloxVersion = ver end end) local inStudio = RunService:IsStudio() local sessionType = inStudio and "Studio" or "Live Game" local playerName = localPlayer.Name local userId = localPlayer.UserId local jobId = game.JobId local Guiv = false local placeId = game.PlaceId local gameId = tostring(game.GameId) local Rc7 = Instance.new("ScreenGui") Rc7.Parent = game:GetService("CoreGui") Rc7.DisplayOrder = 100000000000000000 local Mainpage = Instance.new('ImageLabel') Mainpage.Parent = Rc7 Mainpage.Visible = false Mainpage.Size = UDim2.new(0,349,0,363) Mainpage.Position = UDim2.new(0.7268174290657043,0,0.3183784782886505,0) Mainpage.Rotation = 0 Mainpage.BackgroundColor3 = Color3.fromRGB(0,0,0) Mainpage.BackgroundTransparency = 0 Mainpage.BorderSizePixel = 0 Mainpage.BorderColor3 = Color3.fromRGB(0,0,0) Mainpage.Image = [[rbxassetid://118167448085528]] Mainpage.ImageTransparency = 0 Mainpage.ImageRectOffset = Vector2.new(0,0) Mainpage.ImageRectSize = Vector2.new(0,0) local passpage = Instance.new('ImageLabel') passpage.Parent = Rc7 passpage.Visible = true passpage.Size = UDim2.new(0,349,0,363) passpage.Position = UDim2.new(0.015038255602121353,0,0.09164891391992569,0) passpage.Rotation = 0 passpage.BackgroundColor3 = Color3.fromRGB(0,0,0) passpage.BackgroundTransparency = 0 passpage.BorderSizePixel = 0 passpage.BorderColor3 = Color3.fromRGB(0,0,0) passpage.Image = [[rbxassetid://107871690726548]] passpage.ImageTransparency = 0 passpage.ImageRectOffset = Vector2.new(0,0) passpage.ImageRectSize = Vector2.new(0,0) local TextBox2 = Instance.new('TextBox') TextBox2.Parent = passpage TextBox2.Visible = true TextBox2.Size = UDim2.new(0.4650000035762787,0,0.06800000369548798,0) TextBox2.Position = UDim2.new(0.21912206709384918,0,0.4718737304210663,0) TextBox2.Rotation = 0 TextBox2.BackgroundColor3 = Color3.fromRGB(162,162,162) TextBox2.BackgroundTransparency = 1 TextBox2.BorderSizePixel = 1 TextBox2.BorderColor3 = Color3.fromRGB(27,42,53) TextBox2.Text = [[]] TextBox2.TextColor3 = Color3.fromRGB(0,0,0) TextBox2.TextTransparency = 0 TextBox2.TextSize = 18 TextBox2.TextWrapped = true TextBox2.TextScaled = false TextBox2.Font = Enum.Font.Roboto TextBox2.TextXAlignment = Enum.TextXAlignment.Center TextBox2.TextYAlignment = Enum.TextYAlignment.Center TextBox2.ClearTextOnFocus = true TextBox2.MultiLine = false local TextBox = Instance.new('TextBox') TextBox.Parent = passpage TextBox.Visible = true TextBox.Size = UDim2.new(0.4650000035762787,0,0.06800000369548798,0) TextBox.Position = UDim2.new(0.21912319958209991,0,0.384612113237381,0) TextBox.Rotation = 0 TextBox.BackgroundColor3 = Color3.fromRGB(162,162,162) TextBox.BackgroundTransparency = 1 TextBox.BorderSizePixel = 1 TextBox.BorderColor3 = Color3.fromRGB(27,42,53) TextBox.Text = [[]] TextBox.TextColor3 = Color3.fromRGB(0,0,0) TextBox.TextTransparency = 0 TextBox.TextSize = 19 TextBox.TextWrapped = true TextBox.TextScaled = false TextBox.Font = Enum.Font.Roboto TextBox.TextXAlignment = Enum.TextXAlignment.Center TextBox.TextYAlignment = Enum.TextYAlignment.Center TextBox.ClearTextOnFocus = true TextBox.MultiLine = false local TextButton = Instance.new('TextButton') TextButton.Parent = passpage TextButton.Visible = true TextButton.Size = UDim2.new(0.30300000309944153,0,0.06599999964237213,0) TextButton.Position = UDim2.new(0.29967811703681946,0,0.5548169612884521,0) TextButton.Rotation = 0 TextButton.BackgroundColor3 = Color3.fromRGB(71,195,139) TextButton.BackgroundTransparency = 0 TextButton.BorderSizePixel = 1 TextButton.BorderColor3 = Color3.fromRGB(0,0,0) TextButton.Text = [[Submit]] TextButton.TextColor3 = Color3.fromRGB(44,44,44) TextButton.TextTransparency = 0 TextButton.TextSize = 18 TextButton.TextWrapped = false TextButton.TextScaled = false TextButton.Font = Enum.Font.Ubuntu TextButton.TextXAlignment = Enum.TextXAlignment.Center TextButton.TextYAlignment = Enum.TextYAlignment.Center TextButton.MouseButton1Click:Connect(function() passpage.Visible = false wait(0.2) printLog("info", "Rc7", "Runtime: " .. sessionType) printLog("info", "Rc7", "Roblox Client Version: " .. robloxVersion) printLog("info", "Cache", "Loaded cache: 1 RBXClients, 2 RBXBytecode, 0 RBXMFlags, 1 RBXRenderViews") printLog("info", "Rc7", "Creating new RBXClient: 15304") printLog("info", "RBXClient", "[15304]: Initializing...") printLog("info", "RBXClient", string.format("[15304]: Version: %s", robloxVersion)) printLog("debug", "RBXClient", string.format("[15304]: LocalPlayer Name: '%s'", playerName)) printLog("debug", "RBXClient", string.format("[15304]: UserId: %s", userId)) printLog("debug", "RBXClient", string.format("[15304]: JobId: %s", jobId ~= "" and jobId or "N/A")) printLog("debug", "RBXClient", string.format("[15304]: PlaceId: %s", placeId)) printLog("debug", "RBXClient", string.format("[15304]: GameId: %s", gameId)) wait(0.1) Mainpage.Visible = true Guiv = true end) local mini = Instance.new("ImageButton") mini.Name = "mini" mini.Parent = Rc7 mini.BackgroundColor3 = Color3.fromRGB(255, 255, 255) mini.BackgroundTransparency = 1.000 mini.BorderColor3 = Color3.fromRGB(0, 0, 0) mini.BorderSizePixel = 0 mini.Position = UDim2.new(0, 0, 0.894399107, 0) mini.Size = UDim2.new(0, 58, 0, 60) mini.Visible = false mini.Image = "http://www.roblox.com/asset/?id=14416021390" mini.MouseButton1Down:connect(function() if Guiv then Mainpage.Visible = true mini.Visible = false end if not Guiv then passpage.Visible = true mini.Visible = false end end) local outputscroll = Instance.new('ScrollingFrame') outputscroll.Parent = Mainpage outputscroll.Visible = true outputscroll.Size = UDim2.new(0.8433477878570557,0,0.13988043367862701,0) outputscroll.Position = UDim2.new(0.018803374841809273,0,0.8457291722297668,0) outputscroll.Rotation = 0 outputscroll.BackgroundColor3 = Color3.fromRGB(255,255,255) outputscroll.BackgroundTransparency = 0 outputscroll.BorderSizePixel = 0 outputscroll.BorderColor3 = Color3.fromRGB(0,0,0) outputscroll.ScrollBarThickness = 3 outputscroll.ScrollBarImageColor3 = Color3.fromRGB(34,34,34) local ouput = Instance.new('TextBox') ouput.Parent = outputscroll ouput.Visible = true ouput.Size = UDim2.new(0.67,0,0.05346222594380379,0) ouput.Position = UDim2.new(0,0,0,0) ouput.Rotation = 0 ouput.BackgroundColor3 = Color3.fromRGB(162,162,162) ouput.BackgroundTransparency = 1 ouput.BorderSizePixel = 1 ouput.BorderColor3 = Color3.fromRGB(27,42,53) ouput.TextColor3 = Color3.fromRGB(0,0,0) ouput.TextTransparency = 0 ouput.TextSize = 9.5 ouput.TextWrapped = false ouput.TextScaled = false ouput.Font = Enum.Font.Legacy ouput.TextXAlignment = Enum.TextXAlignment.Left ouput.TextYAlignment = Enum.TextYAlignment.Top ouput.ClearTextOnFocus = true ouput.MultiLine = true ouput.Text = [[]] --[[ ouput.Text ..= os.date("[%Y-%m-%d %H:%M:%S]") .. " Rc7 Intriga Executor\n" ouput.Text ..= os.date("[%Y-%m-%d %H:%M:%S]") .. " By Yoliz\n" ouput.Text ..= os.date("[%Y-%m-%d %H:%M:%S]") .. " Discord : discord.gg/jz6ZT4UwBd\n" ]] local function updateCanvasSize() ouput.Size = UDim2.new( 0, math.max(ouput.TextBounds.X + 0, 0.0000000000000000000000001), 0, math.max(ouput.TextBounds.Y + 0, 0.001) ) outputscroll.CanvasSize = UDim2.new( 0, ouput.Size.X.Offset, 0, ouput.Size.Y.Offset ) if TextBox_1.Text == "" then outputscroll.CanvasSize = UDim2.new(0,0,0,0) outputscroll.ScrollBarImageTransparency = 1 else outputscroll.ScrollBarImageTransparency = 0 end end ouput:GetPropertyChangedSignal("Text"):Connect(updateCanvasSize) ouput.Focused:Connect(updateCanvasSize) ouput.FocusLost:Connect(updateCanvasSize) pcall(updateCanvasSize) local roxploit = Instance.new('ImageButton') roxploit.Parent = Mainpage roxploit.Visible = true roxploit.Size = UDim2.new(0.08399004489183426,0,0.09094826877117157,0) roxploit.Position = UDim2.new(0.9055565595626831,0,0.7903501391410828,0) roxploit.Rotation = 0 roxploit.BackgroundColor3 = Color3.fromRGB(162,162,255) roxploit.BackgroundTransparency = 1 roxploit.BorderSizePixel = 1 roxploit.BorderColor3 = Color3.fromRGB(27,42,53) roxploit.Image = [[]] roxploit.ImageTransparency = 0 roxploit.ImageRectOffset = Vector2.new(0,0) roxploit.ImageRectSize = Vector2.new(0,0) roxploit.MouseButton1Click:Connect(function() ouput.Text ..= os.date("[%Y-%m-%d %H:%M:%S]") .. " Loaded RoXploit 6.0\n" loadstring(game:GetObjects("rbxassetid://364364477")[1].Source)() end) local dex = Instance.new('ImageButton') dex.Parent = Mainpage dex.Visible = true dex.Size = UDim2.new(0.10100000351667404,0,0.07999999821186066,0) dex.Position = UDim2.new(0.8900291919708252,0,0.9078540802001953,0) dex.Rotation = 0 dex.BackgroundColor3 = Color3.fromRGB(162,162,162) dex.BackgroundTransparency = 1 dex.BorderSizePixel = 1 dex.BorderColor3 = Color3.fromRGB(27,42,53) dex.Image = [[]] dex.ImageTransparency = 0 dex.ImageRectOffset = Vector2.new(0,0) dex.ImageRectSize = Vector2.new(0,0) dex.MouseButton1Click:Connect(function() ouput.Text ..= os.date("[%Y-%m-%d %H:%M:%S]") .. " Loaded Dex++ Explorer\n" loadstring(game:HttpGet("https://github.com/AZYsGithub/DexPlusPlus/releases/latest/download/out.lua"))() end) local ScrollingFrameTextBox = Instance.new('ScrollingFrame') ScrollingFrameTextBox.Parent = Mainpage ScrollingFrameTextBox.Visible = true ScrollingFrameTextBox.Size = UDim2.new(0.8352953195571899,0,0.6505956053733826,0) ScrollingFrameTextBox.Position = UDim2.new(0.018799876794219017,0,0.0957685336470604,0) ScrollingFrameTextBox.Rotation = 0 ScrollingFrameTextBox.BackgroundColor3 = Color3.fromRGB(127,127,127) ScrollingFrameTextBox.BackgroundTransparency = 1 ScrollingFrameTextBox.ScrollBarImageTransparency = 1 ScrollingFrameTextBox.BorderSizePixel = 0 ScrollingFrameTextBox.BorderColor3 = Color3.fromRGB(0,0,0) ScrollingFrameTextBox.ScrollBarThickness = 3 ScrollingFrameTextBox.ScrollBarImageColor3 = Color3.fromRGB(34,34,34) local TextBox_1 = Instance.new('TextBox') TextBox_1.Parent = ScrollingFrameTextBox TextBox_1.Visible = true TextBox_1.Size = UDim2.new(0, 296, 0, 239) TextBox_1.Position = UDim2.new(0,0,0,0) TextBox_1.Rotation = 0 TextBox_1.BackgroundColor3 = Color3.fromRGB(162,162,162) TextBox_1.BackgroundTransparency = 1 TextBox_1.BorderSizePixel = 1 TextBox_1.BorderColor3 = Color3.fromRGB(27,42,53) TextBox_1.Text = [[]] TextBox_1.TextColor3 = Color3.fromRGB(0,0,0) TextBox_1.TextTransparency = 0 TextBox_1.TextSize = 9 TextBox_1.TextScaled = false TextBox_1.Font = Enum.Font.Legacy TextBox_1.TextXAlignment = Enum.TextXAlignment.Left TextBox_1.TextYAlignment = Enum.TextYAlignment.Top TextBox_1.ClearTextOnFocus = false TextBox_1.MultiLine = true TextBox_1.AutomaticSize = Enum.AutomaticSize.XY local function updateCanvasSize() ScrollingFrameTextBox.ScrollBarImageTransparency = 0 TextBox_1.Size = UDim2.new( 0, math.max(TextBox_1.TextBounds.X + 10, 236), 0, math.max(TextBox_1.TextBounds.Y + 10, 236) ) ScrollingFrameTextBox.CanvasSize = UDim2.new( 0, TextBox_1.Size.X.Offset, 0, TextBox_1.Size.Y.Offset ) if TextBox_1.Text == "" then ScrollingFrameTextBox.CanvasSize = UDim2.new(0,0,0,0) ScrollingFrameTextBox.ScrollBarImageTransparency = 1 else ScrollingFrameTextBox.ScrollBarImageTransparency = 0 end end TextBox_1:GetPropertyChangedSignal("Text"):Connect(updateCanvasSize) TextBox_1.Focused:Connect(updateCanvasSize) TextBox_1.FocusLost:Connect(updateCanvasSize) pcall(updateCanvasSize) local cleartext = Instance.new('TextButton') cleartext.Parent = Mainpage cleartext.Visible = true cleartext.Size = UDim2.new(0.28999999165534973,0,0.07900000363588333,0) cleartext.Position = UDim2.new(0.5759999752044678,0,0.7630000114440918,0) cleartext.Rotation = 0 cleartext.BackgroundColor3 = Color3.fromRGB(83, 228, 162) cleartext.BackgroundTransparency = 0 cleartext.BorderSizePixel = 1 cleartext.BorderColor3 = Color3.fromRGB(0,0,0) cleartext.Text = [[Clear]] cleartext.TextColor3 = Color3.fromRGB(0,0,0) cleartext.TextTransparency = 0 cleartext.TextSize = 15 cleartext.TextWrapped = false cleartext.TextScaled = false cleartext.Font = Enum.Font.Code cleartext.TextXAlignment = Enum.TextXAlignment.Center cleartext.TextYAlignment = Enum.TextYAlignment.Center cleartext.MouseButton1Click:Connect(function() TextBox_1.Text = [[]] end) local open = Instance.new('TextButton') open.Parent = Mainpage open.Visible = true open.Size = UDim2.new(0.26899999380111694,0,0.07900000363588333,0) open.Position = UDim2.new(0.017000000923871994,0,0.7630000114440918,0) open.Rotation = 0 open.BackgroundColor3 = Color3.fromRGB(83, 228, 162) open.BackgroundTransparency = 0 open.BorderSizePixel = 1 open.BorderColor3 = Color3.fromRGB(0,0,0) open.Text = [[Open]] open.TextColor3 = Color3.fromRGB(0,0,0) open.TextTransparency = 0 open.TextSize = 15 open.TextWrapped = false open.TextScaled = false open.Font = Enum.Font.Code open.TextXAlignment = Enum.TextXAlignment.Center open.TextYAlignment = Enum.TextYAlignment.Center open.MouseButton1Click:Connect(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/FilteringEnabled/FE/main/ScriptHub"))() end) local Exe = Instance.new('TextButton') Exe.Parent = Mainpage Exe.Visible = true Exe.Size = UDim2.new(0.28299999237060547,0,0.07900000363588333,0) Exe.Position = UDim2.new(0.289000004529953,0,0.7630000114440918,0) Exe.Rotation = 0 Exe.BackgroundColor3 = Color3.fromRGB(83, 228, 162) Exe.BackgroundTransparency = 0 Exe.BorderSizePixel = 1 Exe.BorderColor3 = Color3.fromRGB(0,0,0) Exe.Text = [[Execute]] Exe.TextColor3 = Color3.fromRGB(0,0,0) Exe.TextTransparency = 0 Exe.TextSize = 15 Exe.TextWrapped = false Exe.TextScaled = false Exe.Font = Enum.Font.Code Exe.TextXAlignment = Enum.TextXAlignment.Center Exe.TextYAlignment = Enum.TextYAlignment.Center Exe.MouseButton1Click:Connect(function() if TextBox_1.Text == "" then ouput.Text ..= os.date("[%Y-%m-%d %H:%M:%S]") .. " No Script / TextBox Is Empty\n" else local success, result = pcall(function() loadstring(TextBox_1.Text)() end) if success then ouput.Text ..= os.date("[%Y-%m-%d %H:%M:%S]") .. " Successfully Executed Script\n" else ouput.Text ..= os.date("[%Y-%m-%d %H:%M:%S]") .. " Error Source Script " .. tostring(result) .. "\n" end end end) local function AnimateTransparency(object, transparency) TweenService:Create( object, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundTransparency = transparency} ):Play() end local Close_Effect1 = Instance.new('ImageButton') Close_Effect1.Parent = Mainpage Close_Effect1.Visible = true Close_Effect1.Size = UDim2.new(0.0970000029,0,0.0690000057,0) Close_Effect1.Position = UDim2.new(0.903000057,0,-0.00100000005,0) Close_Effect1.Rotation = 0 Close_Effect1.BackgroundColor3 = Color3.fromRGB(255,0,0) Close_Effect1.BackgroundTransparency = 1 Close_Effect1.BorderSizePixel = 0 Close_Effect1.BorderColor3 = Color3.fromRGB(27,42,53) Close_Effect1.ImageTransparency = 0 Close_Effect1.ImageRectOffset = Vector2.new(0,0) Close_Effect1.ImageRectSize = Vector2.new(0,0) Close_Effect1.MouseEnter:Connect(function() AnimateTransparency(Close_Effect1, 0.1) end) Close_Effect1.MouseLeave:Connect(function() AnimateTransparency(Close_Effect1, 1) end) Close_Effect1.MouseButton1Down:Connect(function() AnimateTransparency(Close_Effect1, 0) end) Close_Effect1.MouseButton1Up:Connect(function() AnimateTransparency(Close_Effect1, 0.3) end) Close_Effect1.MouseButton1Click:Connect(function() Rc7:Destroy() end) local Close_Effect2 = Instance.new('ImageButton') Close_Effect2.Parent = passpage Close_Effect2.Visible = true Close_Effect2.Size = UDim2.new(0.0970000029,0,0.0690000057,0) Close_Effect2.Position = UDim2.new(0.903000057,0,-0.00100000005,0) Close_Effect2.Rotation = 0 Close_Effect2.BackgroundColor3 = Color3.fromRGB(255,0,0) Close_Effect2.BackgroundTransparency = 1 Close_Effect2.BorderSizePixel = 0 Close_Effect2.BorderColor3 = Color3.fromRGB(27,42,53) Close_Effect2.Image = [[]] Close_Effect2.ImageTransparency = 0 Close_Effect2.ImageRectOffset = Vector2.new(0,0) Close_Effect2.ImageRectSize = Vector2.new(0,0) Close_Effect2.MouseEnter:Connect(function() AnimateTransparency(Close_Effect2, 0.1) end) Close_Effect2.MouseLeave:Connect(function() AnimateTransparency(Close_Effect2, 1) end) Close_Effect2.MouseButton1Down:Connect(function() AnimateTransparency(Close_Effect2, 0) end) Close_Effect2.MouseButton1Up:Connect(function() AnimateTransparency(Close_Effect2, 0.3) end) Close_Effect2.MouseButton1Click:Connect(function() Rc7:Destroy() end) local HideGuiButton = Instance.new('ImageButton') HideGuiButton.Parent = Mainpage HideGuiButton.Visible = true HideGuiButton.Size = UDim2.new(0.07000000029802322,0,0.05999999865889549,0) HideGuiButton.Position = UDim2.new(0.6589999890327454,0,-0.003000000026077032,0) HideGuiButton.Rotation = 0 HideGuiButton.BackgroundColor3 = Color3.fromRGB(162,162,162) HideGuiButton.BackgroundTransparency = 1 HideGuiButton.BorderSizePixel = 1 HideGuiButton.BorderColor3 = Color3.fromRGB(27,42,53) HideGuiButton.Image = [[]] HideGuiButton.ImageTransparency = 0 HideGuiButton.ImageRectOffset = Vector2.new(0,0) HideGuiButton.ImageRectSize = Vector2.new(0,0) HideGuiButton.MouseButton1Click:Connect(function() Mainpage.Visible = false mini.Visible = true end) local HideGuiButtonP = Instance.new('ImageButton') HideGuiButtonP.Parent = passpage HideGuiButtonP.Visible = true HideGuiButtonP.Size = UDim2.new(0.07000000029802322,0,0.05999999865889549,0) HideGuiButtonP.Position = UDim2.new(0.7,0,0.004000000189989805,0) HideGuiButtonP.Rotation = 0 HideGuiButtonP.BackgroundColor3 = Color3.fromRGB(162,162,162) HideGuiButtonP.BackgroundTransparency = 1 HideGuiButtonP.BorderSizePixel = 1 HideGuiButtonP.BorderColor3 = Color3.fromRGB(27,42,53) HideGuiButtonP.Image = [[]] HideGuiButtonP.ImageTransparency = 0 HideGuiButtonP.ImageRectOffset = Vector2.new(0,0) HideGuiButtonP.ImageRectSize = Vector2.new(0,0) HideGuiButtonP.MouseButton1Click:Connect(function() passpage.Visible = false mini.Visible = true end) local function drag_pas() -- passpage.Dragify local script = Instance.new('LocalScript', passpage) local UserInputService = game:GetService("UserInputService") local gui = script.Parent local dragging local dragInput local dragStart local startPos local function update(input) local delta = input.Position - dragStart gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end gui.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = gui.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) gui.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end) end coroutine.wrap(drag_pas)() local function drag_exe() -- mainpage.Dragify local script = Instance.new('LocalScript', Mainpage) local UserInputService = game:GetService("UserInputService") local gui = script.Parent local dragging local dragInput local dragStart local startPos local function update(input) local delta = input.Position - dragStart gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end gui.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = gui.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) gui.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end) end coroutine.wrap(drag_exe)()