local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local ScreenGui = Instance.new("ScreenGui") ScreenGui.Parent = game:GetService("CoreGui") ScreenGui.Name = "OmegaTitanRoleplayScript" ScreenGui.ResetOnSpawn = false local mainSizeClosed = UDim2.new(0.15, 0, 0, 50) local mainSizeOpened = UDim2.new(0.5, 0, 0, 450) local MainFrame = Instance.new("Frame") MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) MainFrame.Position = UDim2.new(0.25, 0, 0.2, 0) MainFrame.Size = mainSizeOpened MainFrame.Active = true MainFrame.ClipsDescendants = true local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 8) MainCorner.Parent = MainFrame local MainStroke = Instance.new("UIStroke") MainStroke.Color = Color3.fromRGB(255, 255, 255) MainStroke.Thickness = 2 MainStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border MainStroke.Parent = MainFrame local TopBar = Instance.new("Frame") TopBar.Parent = MainFrame TopBar.BackgroundTransparency = 1 TopBar.Size = UDim2.new(1, 0, 0, 50) local Title = Instance.new("TextLabel") Title.Parent = TopBar Title.BackgroundTransparency = 1 Title.Position = UDim2.new(0, 20, 0, 10) Title.Size = UDim2.new(0.6, 0, 0, 30) Title.Font = Enum.Font.SourceSansBold Title.Text = "Omega Titan roleplay SCRIPT" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 20 Title.TextXAlignment = Enum.TextXAlignment.Left Title.TextScaled = true local CloseButton = Instance.new("TextButton") CloseButton.Parent = TopBar CloseButton.BackgroundTransparency = 1 CloseButton.Position = UDim2.new(1, -45, 0, 10) CloseButton.Size = UDim2.new(0, 30, 0, 30) CloseButton.Font = Enum.Font.SourceSansBold CloseButton.Text = "X" CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) CloseButton.TextSize = 20 local MinimizeButton = Instance.new("TextButton") MinimizeButton.Parent = TopBar MinimizeButton.BackgroundTransparency = 1 MinimizeButton.Position = UDim2.new(1, -80, 0, 10) MinimizeButton.Size = UDim2.new(0, 30, 0, 30) MinimizeButton.Font = Enum.Font.SourceSansBold MinimizeButton.Text = "-" MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255) MinimizeButton.TextSize = 24 local ScrollFrame = Instance.new("ScrollingFrame") ScrollFrame.Parent = MainFrame ScrollFrame.BackgroundTransparency = 1 ScrollFrame.Position = UDim2.new(0.05, 0, 0, 60) ScrollFrame.Size = UDim2.new(0.9, 0, 1, -80) ScrollFrame.ScrollBarThickness = 4 ScrollFrame.ScrollBarImageColor3 = Color3.fromRGB(255, 255, 255) local UIListLayout = Instance.new("UIListLayout") UIListLayout.Parent = ScrollFrame UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 10) UIListLayout.Changed:Connect(function() ScrollFrame.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y + 20) end) local function createCharacterButton(displayName, targetName) local NewButton = Instance.new("TextButton") NewButton.Parent = ScrollFrame NewButton.BackgroundColor3 = Color3.fromRGB(35, 35, 35) NewButton.Size = UDim2.new(1, -10, 0, 50) NewButton.Font = Enum.Font.SourceSansBold NewButton.Text = displayName NewButton.TextColor3 = Color3.fromRGB(255, 255, 255) NewButton.TextStrokeTransparency = 1 NewButton.TextScaled = true local UIPadding = Instance.new("UIPadding") UIPadding.PaddingLeft = UDim.new(0, 15) UIPadding.PaddingRight = UDim.new(0, 15) UIPadding.Parent = NewButton local ButtonCorner = Instance.new("UICorner") ButtonCorner.CornerRadius = UDim.new(0, 6) ButtonCorner.Parent = NewButton local ButtonStroke = Instance.new("UIStroke") ButtonStroke.Color = Color3.fromRGB(255, 255, 255) ButtonStroke.Thickness = 1 ButtonStroke.Parent = NewButton NewButton.MouseButton1Click:Connect(function() local repStorage = game:GetService("ReplicatedStorage") local targetItem = repStorage:WaitForChild(targetName, 5) local remoteEvent = repStorage:WaitForChild("CharChange", 5) if targetItem and remoteEvent then remoteEvent:FireServer(targetItem) end end) end local characters = { {"Titan Drill", "drilltitanEEE"}, {"Upgraded Titan Drill", "UTDMDIGI"}, {"WOD v1", "WOD1DIGI"}, {"WOD v2", "WOD2DIGI"}, {"Upgraded Titan Clock", "UPGRADEDTITANCLOCKDIGI"}, {"Executor Titan", "EXECUTORWIP"}, {"Carrier Astro", "CARRIERDIGI"}, {"UTCM Astro skin", "ASTROSKINUTCMDIGI"}, {"UTTVM Astro skin", "ASTROUTTVMDIGI"}, {"Infected Astro UTCM", "AstroInfectedUTCMDIGI"}, {"Infected Astro UTSM", "AstroInfectedUTSMDIGI"}, {"Rockstar UTSM", "rockstarDIGI"} } for _, data in ipairs(characters) do createCharacterButton(data[1], data[2]) end local dragging, dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end TopBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = MainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) TopBar.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) local minimized = false local tweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) MinimizeButton.MouseButton1Click:Connect(function() minimized = not minimized if minimized then ScrollFrame.Visible = false CloseButton.Visible = false Title.Visible = false TweenService:Create(MainFrame, tweenInfo, {Size = mainSizeClosed}):Play() MinimizeButton.Position = UDim2.new(1, -35, 0, 10) else MinimizeButton.Position = UDim2.new(1, -80, 0, 10) local maxTween = TweenService:Create(MainFrame, tweenInfo, {Size = mainSizeOpened}) maxTween:Play() maxTween.Completed:Connect(function() if not minimized then ScrollFrame.Visible = true CloseButton.Visible = true Title.Visible = true end end) end end) CloseButton.MouseButton1Click:Connect(function() if ScreenGui:FindFirstChild("PopupFrame") then ScreenGui.PopupFrame:Destroy() end local PopupFrame = Instance.new("Frame") PopupFrame.Name = "PopupFrame" PopupFrame.Parent = ScreenGui PopupFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) PopupFrame.Position = UDim2.new(0.4, 0, 0.4, 0) PopupFrame.Size = UDim2.new(0.2, 0, 0.2, 0) PopupFrame.Active = true local PopupCorner = Instance.new("UICorner") PopupCorner.CornerRadius = UDim.new(0, 8) PopupCorner.Parent = PopupFrame local PopupStroke = Instance.new("UIStroke") PopupStroke.Color = Color3.fromRGB(255, 255, 255) PopupStroke.Thickness = 2 PopupStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border PopupStroke.Parent = PopupFrame local PopupText = Instance.new("TextLabel") PopupText.Parent = PopupFrame PopupText.BackgroundTransparency = 1 PopupText.Position = UDim2.new(0, 0, 0.15, 0) PopupText.Size = UDim2.new(1, 0, 0, 30) PopupText.Font = Enum.Font.SourceSansBold PopupText.Text = "Are you sure?" PopupText.TextColor3 = Color3.fromRGB(255, 255, 255) PopupText.TextSize = 20 PopupText.TextScaled = true local YesButton = Instance.new("TextButton") YesButton.Parent = PopupFrame YesButton.BackgroundColor3 = Color3.fromRGB(35, 35, 35) YesButton.Position = UDim2.new(0.15, 0, 0.55, 0) YesButton.Size = UDim2.new(0.3, 0, 0, 35) YesButton.Font = Enum.Font.SourceSansBold YesButton.Text = "✓" YesButton.TextColor3 = Color3.fromRGB(255, 255, 255) YesButton.TextSize = 18 YesButton.TextStrokeTransparency = 1 local YesCorner = Instance.new("UICorner") YesCorner.CornerRadius = UDim.new(0, 4) YesCorner.Parent = YesButton local YesStroke = Instance.new("UIStroke") YesStroke.Color = Color3.fromRGB(255, 255, 255) YesStroke.Thickness = 1 YesStroke.Parent = YesButton local NoButton = Instance.new("TextButton") NoButton.Parent = PopupFrame NoButton.BackgroundColor3 = Color3.fromRGB(35, 35, 35) NoButton.Position = UDim2.new(0.55, 0, 0.55, 0) NoButton.Size = UDim2.new(0.3, 0, 0, 35) NoButton.Font = Enum.Font.SourceSansBold NoButton.Text = "X" NoButton.TextColor3 = Color3.fromRGB(255, 255, 255) NoButton.TextSize = 16 NoButton.TextStrokeTransparency = 1 local NoCorner = Instance.new("UICorner") NoCorner.CornerRadius = UDim.new(0, 4) NoCorner.Parent = NoButton local NoStroke = Instance.new("UIStroke") NoStroke.Color = Color3.fromRGB(255, 255, 255) NoStroke.Thickness = 1 NoStroke.Parent = NoButton YesButton.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) NoButton.MouseButton1Click:Connect(function() PopupFrame:Destroy() end) end)