Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local PulseTECH = {}
- PulseTECH.__index = PulseTECH
- -- Services
- local TweenService = game:GetService("TweenService")
- local UserInputService = game:GetService("UserInputService")
- local RunService = game:GetService("RunService")
- -- Utility Functions
- local function CreateTween(object, properties, duration, style, direction)
- local tweenInfo = TweenInfo.new(duration or 0.3, style or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out)
- local tween = TweenService:Create(object, tweenInfo, properties)
- return tween
- end
- local function MakeDraggable(frame, dragHandle)
- local dragging = false
- local dragInput, mousePos, framePos
- dragHandle = dragHandle or frame
- dragHandle.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- mousePos = input.Position
- framePos = frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- dragHandle.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
- local delta = input.Position - mousePos
- local newPos = UDim2.new(
- framePos.X.Scale,
- framePos.X.Offset + delta.X,
- framePos.Y.Scale,
- framePos.Y.Offset + delta.Y
- )
- CreateTween(frame, {Position = newPos}, 0.1):Play()
- end
- end)
- end
- -- Main Library Constructor
- function PulseTECH.new(title)
- local Library = {}
- -- Create ScreenGui
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = "PulseTECH"
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.ResetOnSpawn = false
- ScreenGui.Parent = game:GetService("CoreGui")
- -- Main Frame
- local MainFrame = Instance.new("Frame")
- MainFrame.Name = "MainFrame"
- MainFrame.Size = UDim2.new(0, 550, 0, 400)
- MainFrame.Position = UDim2.new(0.5, -275, 0.5, -200)
- MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 28)
- MainFrame.BorderSizePixel = 0
- MainFrame.Parent = ScreenGui
- local MainCorner = Instance.new("UICorner")
- MainCorner.CornerRadius = UDim.new(0, 12)
- MainCorner.Parent = MainFrame
- local MainShadow = Instance.new("ImageLabel")
- MainShadow.Name = "Shadow"
- MainShadow.Size = UDim2.new(1, 30, 1, 30)
- MainShadow.Position = UDim2.new(0, -15, 0, -15)
- MainShadow.BackgroundTransparency = 1
- MainShadow.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png"
- MainShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
- MainShadow.ImageTransparency = 0.7
- MainShadow.ZIndex = 0
- MainShadow.Parent = MainFrame
- -- Header
- local Header = Instance.new("Frame")
- Header.Name = "Header"
- Header.Size = UDim2.new(1, 0, 0, 50)
- Header.BackgroundColor3 = Color3.fromRGB(20, 20, 23)
- Header.BorderSizePixel = 0
- Header.Parent = MainFrame
- local HeaderCorner = Instance.new("UICorner")
- HeaderCorner.CornerRadius = UDim.new(0, 12)
- HeaderCorner.Parent = Header
- local HeaderCover = Instance.new("Frame")
- HeaderCover.Size = UDim2.new(1, 0, 0, 12)
- HeaderCover.Position = UDim2.new(0, 0, 1, -12)
- HeaderCover.BackgroundColor3 = Color3.fromRGB(20, 20, 23)
- HeaderCover.BorderSizePixel = 0
- HeaderCover.Parent = Header
- local Title = Instance.new("TextLabel")
- Title.Name = "Title"
- Title.Size = UDim2.new(1, -20, 1, 0)
- Title.Position = UDim2.new(0, 20, 0, 0)
- Title.BackgroundTransparency = 1
- Title.Text = title or "PulseTECH"
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextSize = 18
- Title.Font = Enum.Font.GothamBold
- Title.TextXAlignment = Enum.TextXAlignment.Left
- Title.Parent = Header
- -- Close Button
- local CloseButton = Instance.new("TextButton")
- CloseButton.Name = "CloseButton"
- CloseButton.Size = UDim2.new(0, 30, 0, 30)
- CloseButton.Position = UDim2.new(1, -40, 0, 10)
- CloseButton.BackgroundColor3 = Color3.fromRGB(35, 35, 38)
- CloseButton.Text = "×"
- CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CloseButton.TextSize = 24
- CloseButton.Font = Enum.Font.GothamBold
- CloseButton.BorderSizePixel = 0
- CloseButton.Parent = Header
- local CloseCorner = Instance.new("UICorner")
- CloseCorner.CornerRadius = UDim.new(0, 6)
- CloseCorner.Parent = CloseButton
- CloseButton.MouseEnter:Connect(function()
- CreateTween(CloseButton, {BackgroundColor3 = Color3.fromRGB(255, 60, 60)}, 0.2):Play()
- end)
- CloseButton.MouseLeave:Connect(function()
- CreateTween(CloseButton, {BackgroundColor3 = Color3.fromRGB(35, 35, 38)}, 0.2):Play()
- end)
- CloseButton.MouseButton1Click:Connect(function()
- CreateTween(MainFrame, {Size = UDim2.new(0, 0, 0, 0)}, 0.3, Enum.EasingStyle.Back, Enum.EasingDirection.In):Play()
- wait(0.3)
- ScreenGui:Destroy()
- end)
- -- Content Container
- local Container = Instance.new("ScrollingFrame")
- Container.Name = "Container"
- Container.Size = UDim2.new(1, -20, 1, -70)
- Container.Position = UDim2.new(0, 10, 0, 60)
- Container.BackgroundTransparency = 1
- Container.BorderSizePixel = 0
- Container.ScrollBarThickness = 4
- Container.ScrollBarImageColor3 = Color3.fromRGB(80, 80, 85)
- Container.CanvasSize = UDim2.new(0, 0, 0, 0)
- Container.Parent = MainFrame
- local ContainerLayout = Instance.new("UIListLayout")
- ContainerLayout.Padding = UDim.new(0, 10)
- ContainerLayout.SortOrder = Enum.SortOrder.LayoutOrder
- ContainerLayout.Parent = Container
- ContainerLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
- Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y + 10)
- end)
- -- Make draggable
- MakeDraggable(MainFrame, Header)
- -- Library Methods
- function Library:AddButton(text, callback)
- local Button = Instance.new("TextButton")
- Button.Name = "Button"
- Button.Size = UDim2.new(1, -10, 0, 40)
- Button.BackgroundColor3 = Color3.fromRGB(35, 35, 38)
- Button.Text = text
- Button.TextColor3 = Color3.fromRGB(255, 255, 255)
- Button.TextSize = 14
- Button.Font = Enum.Font.Gotham
- Button.BorderSizePixel = 0
- Button.Parent = Container
- local ButtonCorner = Instance.new("UICorner")
- ButtonCorner.CornerRadius = UDim.new(0, 8)
- ButtonCorner.Parent = Button
- Button.MouseEnter:Connect(function()
- CreateTween(Button, {BackgroundColor3 = Color3.fromRGB(45, 45, 48)}, 0.2):Play()
- end)
- Button.MouseLeave:Connect(function()
- CreateTween(Button, {BackgroundColor3 = Color3.fromRGB(35, 35, 38)}, 0.2):Play()
- end)
- Button.MouseButton1Click:Connect(function()
- CreateTween(Button, {BackgroundColor3 = Color3.fromRGB(60, 60, 65)}, 0.1):Play()
- wait(0.1)
- CreateTween(Button, {BackgroundColor3 = Color3.fromRGB(45, 45, 48)}, 0.1):Play()
- if callback then callback() end
- end)
- return Button
- end
- function Library:AddToggle(text, default, callback)
- local ToggleFrame = Instance.new("Frame")
- ToggleFrame.Name = "ToggleFrame"
- ToggleFrame.Size = UDim2.new(1, -10, 0, 40)
- ToggleFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 38)
- ToggleFrame.BorderSizePixel = 0
- ToggleFrame.Parent = Container
- local ToggleCorner = Instance.new("UICorner")
- ToggleCorner.CornerRadius = UDim.new(0, 8)
- ToggleCorner.Parent = ToggleFrame
- local ToggleLabel = Instance.new("TextLabel")
- ToggleLabel.Size = UDim2.new(1, -60, 1, 0)
- ToggleLabel.Position = UDim2.new(0, 15, 0, 0)
- ToggleLabel.BackgroundTransparency = 1
- ToggleLabel.Text = text
- ToggleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- ToggleLabel.TextSize = 14
- ToggleLabel.Font = Enum.Font.Gotham
- ToggleLabel.TextXAlignment = Enum.TextXAlignment.Left
- ToggleLabel.Parent = ToggleFrame
- local ToggleButton = Instance.new("TextButton")
- ToggleButton.Size = UDim2.new(0, 45, 0, 24)
- ToggleButton.Position = UDim2.new(1, -55, 0.5, -12)
- ToggleButton.BackgroundColor3 = default and Color3.fromRGB(100, 150, 255) or Color3.fromRGB(60, 60, 65)
- ToggleButton.Text = ""
- ToggleButton.BorderSizePixel = 0
- ToggleButton.Parent = ToggleFrame
- local ToggleButtonCorner = Instance.new("UICorner")
- ToggleButtonCorner.CornerRadius = UDim.new(1, 0)
- ToggleButtonCorner.Parent = ToggleButton
- local ToggleCircle = Instance.new("Frame")
- ToggleCircle.Size = UDim2.new(0, 18, 0, 18)
- ToggleCircle.Position = default and UDim2.new(1, -21, 0.5, -9) or UDim2.new(0, 3, 0.5, -9)
- ToggleCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ToggleCircle.BorderSizePixel = 0
- ToggleCircle.Parent = ToggleButton
- local CircleCorner = Instance.new("UICorner")
- CircleCorner.CornerRadius = UDim.new(1, 0)
- CircleCorner.Parent = ToggleCircle
- local toggled = default
- ToggleButton.MouseButton1Click:Connect(function()
- toggled = not toggled
- if toggled then
- CreateTween(ToggleButton, {BackgroundColor3 = Color3.fromRGB(100, 150, 255)}, 0.3):Play()
- CreateTween(ToggleCircle, {Position = UDim2.new(1, -21, 0.5, -9)}, 0.3):Play()
- else
- CreateTween(ToggleButton, {BackgroundColor3 = Color3.fromRGB(60, 60, 65)}, 0.3):Play()
- CreateTween(ToggleCircle, {Position = UDim2.new(0, 3, 0.5, -9)}, 0.3):Play()
- end
- if callback then callback(toggled) end
- end)
- return ToggleFrame
- end
- function Library:AddSlider(text, min, max, default, callback)
- local SliderFrame = Instance.new("Frame")
- SliderFrame.Name = "SliderFrame"
- SliderFrame.Size = UDim2.new(1, -10, 0, 55)
- SliderFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 38)
- SliderFrame.BorderSizePixel = 0
- SliderFrame.Parent = Container
- local SliderCorner = Instance.new("UICorner")
- SliderCorner.CornerRadius = UDim.new(0, 8)
- SliderCorner.Parent = SliderFrame
- local SliderLabel = Instance.new("TextLabel")
- SliderLabel.Size = UDim2.new(1, -30, 0, 20)
- SliderLabel.Position = UDim2.new(0, 15, 0, 5)
- SliderLabel.BackgroundTransparency = 1
- SliderLabel.Text = text
- SliderLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- SliderLabel.TextSize = 14
- SliderLabel.Font = Enum.Font.Gotham
- SliderLabel.TextXAlignment = Enum.TextXAlignment.Left
- SliderLabel.Parent = SliderFrame
- local SliderValue = Instance.new("TextLabel")
- SliderValue.Size = UDim2.new(0, 40, 0, 20)
- SliderValue.Position = UDim2.new(1, -50, 0, 5)
- SliderValue.BackgroundTransparency = 1
- SliderValue.Text = tostring(default)
- SliderValue.TextColor3 = Color3.fromRGB(100, 150, 255)
- SliderValue.TextSize = 14
- SliderValue.Font = Enum.Font.GothamBold
- SliderValue.TextXAlignment = Enum.TextXAlignment.Right
- SliderValue.Parent = SliderFrame
- local SliderBackground = Instance.new("Frame")
- SliderBackground.Size = UDim2.new(1, -30, 0, 6)
- SliderBackground.Position = UDim2.new(0, 15, 1, -15)
- SliderBackground.BackgroundColor3 = Color3.fromRGB(60, 60, 65)
- SliderBackground.BorderSizePixel = 0
- SliderBackground.Parent = SliderFrame
- local SliderBGCorner = Instance.new("UICorner")
- SliderBGCorner.CornerRadius = UDim.new(1, 0)
- SliderBGCorner.Parent = SliderBackground
- local SliderFill = Instance.new("Frame")
- SliderFill.Size = UDim2.new((default - min) / (max - min), 0, 1, 0)
- SliderFill.BackgroundColor3 = Color3.fromRGB(100, 150, 255)
- SliderFill.BorderSizePixel = 0
- SliderFill.Parent = SliderBackground
- local SliderFillCorner = Instance.new("UICorner")
- SliderFillCorner.CornerRadius = UDim.new(1, 0)
- SliderFillCorner.Parent = SliderFill
- local dragging = false
- local function UpdateSlider(input)
- local pos = math.clamp((input.Position.X - SliderBackground.AbsolutePosition.X) / SliderBackground.AbsoluteSize.X, 0, 1)
- local value = math.floor(min + (max - min) * pos)
- SliderFill.Size = UDim2.new(pos, 0, 1, 0)
- SliderValue.Text = tostring(value)
- if callback then callback(value) end
- end
- SliderBackground.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- UpdateSlider(input)
- end
- end)
- SliderBackground.InputEnded:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = false
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
- UpdateSlider(input)
- end
- end)
- return SliderFrame
- end
- function Library:AddTextBox(text, placeholder, callback)
- local TextBoxFrame = Instance.new("Frame")
- TextBoxFrame.Name = "TextBoxFrame"
- TextBoxFrame.Size = UDim2.new(1, -10, 0, 70)
- TextBoxFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 38)
- TextBoxFrame.BorderSizePixel = 0
- TextBoxFrame.Parent = Container
- local TextBoxCorner = Instance.new("UICorner")
- TextBoxCorner.CornerRadius = UDim.new(0, 8)
- TextBoxCorner.Parent = TextBoxFrame
- local TextBoxLabel = Instance.new("TextLabel")
- TextBoxLabel.Size = UDim2.new(1, -30, 0, 20)
- TextBoxLabel.Position = UDim2.new(0, 15, 0, 8)
- TextBoxLabel.BackgroundTransparency = 1
- TextBoxLabel.Text = text
- TextBoxLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBoxLabel.TextSize = 14
- TextBoxLabel.Font = Enum.Font.Gotham
- TextBoxLabel.TextXAlignment = Enum.TextXAlignment.Left
- TextBoxLabel.Parent = TextBoxFrame
- local TextBox = Instance.new("TextBox")
- TextBox.Size = UDim2.new(1, -30, 0, 32)
- TextBox.Position = UDim2.new(0, 15, 0, 32)
- TextBox.BackgroundColor3 = Color3.fromRGB(45, 45, 48)
- TextBox.PlaceholderText = placeholder or ""
- TextBox.PlaceholderColor3 = Color3.fromRGB(120, 120, 125)
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.TextSize = 13
- TextBox.Font = Enum.Font.Gotham
- TextBox.BorderSizePixel = 0
- TextBox.ClearTextOnFocus = false
- TextBox.Parent = TextBoxFrame
- local TextBoxInputCorner = Instance.new("UICorner")
- TextBoxInputCorner.CornerRadius = UDim.new(0, 6)
- TextBoxInputCorner.Parent = TextBox
- local TextBoxPadding = Instance.new("UIPadding")
- TextBoxPadding.PaddingLeft = UDim.new(0, 10)
- TextBoxPadding.PaddingRight = UDim.new(0, 10)
- TextBoxPadding.Parent = TextBox
- TextBox.Focused:Connect(function()
- CreateTween(TextBox, {BackgroundColor3 = Color3.fromRGB(55, 55, 58)}, 0.2):Play()
- end)
- TextBox.FocusLost:Connect(function(enter)
- CreateTween(TextBox, {BackgroundColor3 = Color3.fromRGB(45, 45, 48)}, 0.2):Play()
- if enter and callback then
- callback(TextBox.Text)
- end
- end)
- return TextBox
- end
- function Library:AddDropdown(text, options, callback)
- local DropdownFrame = Instance.new("Frame")
- DropdownFrame.Name = "DropdownFrame"
- DropdownFrame.Size = UDim2.new(1, -10, 0, 40)
- DropdownFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 38)
- DropdownFrame.BorderSizePixel = 0
- DropdownFrame.ClipsDescendants = true
- DropdownFrame.Parent = Container
- local DropdownCorner = Instance.new("UICorner")
- DropdownCorner.CornerRadius = UDim.new(0, 8)
- DropdownCorner.Parent = DropdownFrame
- local DropdownButton = Instance.new("TextButton")
- DropdownButton.Size = UDim2.new(1, 0, 0, 40)
- DropdownButton.BackgroundTransparency = 1
- DropdownButton.Text = ""
- DropdownButton.Parent = DropdownFrame
- local DropdownLabel = Instance.new("TextLabel")
- DropdownLabel.Size = UDim2.new(1, -60, 0, 40)
- DropdownLabel.Position = UDim2.new(0, 15, 0, 0)
- DropdownLabel.BackgroundTransparency = 1
- DropdownLabel.Text = text
- DropdownLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- DropdownLabel.TextSize = 14
- DropdownLabel.Font = Enum.Font.Gotham
- DropdownLabel.TextXAlignment = Enum.TextXAlignment.Left
- DropdownLabel.Parent = DropdownFrame
- local DropdownIcon = Instance.new("TextLabel")
- DropdownIcon.Size = UDim2.new(0, 20, 0, 40)
- DropdownIcon.Position = UDim2.new(1, -35, 0, 0)
- DropdownIcon.BackgroundTransparency = 1
- DropdownIcon.Text = "▼"
- DropdownIcon.TextColor3 = Color3.fromRGB(150, 150, 155)
- DropdownIcon.TextSize = 12
- DropdownIcon.Font = Enum.Font.Gotham
- DropdownIcon.Parent = DropdownFrame
- local OptionsContainer = Instance.new("Frame")
- OptionsContainer.Size = UDim2.new(1, -20, 0, 0)
- OptionsContainer.Position = UDim2.new(0, 10, 0, 45)
- OptionsContainer.BackgroundTransparency = 1
- OptionsContainer.Parent = DropdownFrame
- local OptionsLayout = Instance.new("UIListLayout")
- OptionsLayout.Padding = UDim.new(0, 2)
- OptionsLayout.Parent = OptionsContainer
- local isOpen = false
- for _, option in ipairs(options) do
- local OptionButton = Instance.new("TextButton")
- OptionButton.Size = UDim2.new(1, 0, 0, 32)
- OptionButton.BackgroundColor3 = Color3.fromRGB(45, 45, 48)
- OptionButton.Text = option
- OptionButton.TextColor3 = Color3.fromRGB(200, 200, 205)
- OptionButton.TextSize = 13
- OptionButton.Font = Enum.Font.Gotham
- OptionButton.BorderSizePixel = 0
- OptionButton.Parent = OptionsContainer
- local OptionCorner = Instance.new("UICorner")
- OptionCorner.CornerRadius = UDim.new(0, 6)
- OptionCorner.Parent = OptionButton
- OptionButton.MouseEnter:Connect(function()
- CreateTween(OptionButton, {BackgroundColor3 = Color3.fromRGB(60, 60, 65)}, 0.2):Play()
- end)
- OptionButton.MouseLeave:Connect(function()
- CreateTween(OptionButton, {BackgroundColor3 = Color3.fromRGB(45, 45, 48)}, 0.2):Play()
- end)
- OptionButton.MouseButton1Click:Connect(function()
- if callback then callback(option) end
- DropdownLabel.Text = text .. ": " .. option
- isOpen = false
- CreateTween(DropdownFrame, {Size = UDim2.new(1, -10, 0, 40)}, 0.3):Play()
- CreateTween(DropdownIcon, {Rotation = 0}, 0.3):Play()
- end)
- end
- DropdownButton.MouseButton1Click:Connect(function()
- isOpen = not isOpen
- if isOpen then
- local contentHeight = #options * 34 + 45
- CreateTween(DropdownFrame, {Size = UDim2.new(1, -10, 0, contentHeight)}, 0.3):Play()
- CreateTween(DropdownIcon, {Rotation = 180}, 0.3):Play()
- else
- CreateTween(DropdownFrame, {Size = UDim2.new(1, -10, 0, 40)}, 0.3):Play()
- CreateTween(DropdownIcon, {Rotation = 0}, 0.3):Play()
- end
- end)
- return DropdownFrame
- end
- function Library:Notify(title, message, duration)
- duration = duration or 3
- local NotificationFrame = Instance.new("Frame")
- NotificationFrame.Size = UDim2.new(0, 300, 0, 0)
- NotificationFrame.Position = UDim2.new(1, -320, 1, 20)
- NotificationFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 33)
- NotificationFrame.BorderSizePixel = 0
- NotificationFrame.Parent = ScreenGui
- local NotifCorner = Instance.new("UICorner")
- NotifCorner.CornerRadius = UDim.new(0, 10)
- NotifCorner.Parent = NotificationFrame
- local NotifTitle = Instance.new("TextLabel")
- NotifTitle.Size = UDim2.new(1, -20, 0, 25)
- NotifTitle.Position = UDim2.new(0, 10, 0, 8)
- NotifTitle.BackgroundTransparency = 1
- NotifTitle.Text = title
- NotifTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
- NotifTitle.TextSize = 15
- NotifTitle.Font = Enum.Font.GothamBold
- NotifTitle.TextXAlignment = Enum.TextXAlignment.Left
- NotifTitle.Parent = NotificationFrame
- local NotifMessage = Instance.new("TextLabel")
- NotifMessage.Size = UDim2.new(1, -20, 0, 50)
- NotifMessage.Position = UDim2.new(0, 10, 0, 30)
- NotifMessage.BackgroundTransparency = 1
- NotifMessage.Text = message
- NotifMessage.TextColor3 = Color3.fromRGB(200, 200, 205)
- NotifMessage.TextSize = 13
- NotifMessage.Font = Enum.Font.Gotham
- NotifMessage.TextXAlignment = Enum.TextXAlignment.Left
- NotifMessage.TextYAlignment = Enum.TextYAlignment.Top
- NotifMessage.TextWrapped = true
- NotifMessage.Parent = NotificationFrame
- local targetHeight = 85
- CreateTween(NotificationFrame, {Size = UDim2.new(0, 300, 0, targetHeight), Position = UDim2.new(1, -320, 1, -targetHeight - 20)}, 0.4, Enum.EasingStyle.Back):Play()
- wait(duration)
- CreateTween(NotificationFrame, {Position = UDim2.new(1, 20, 1, -targetHeight - 20)}, 0.3):Play()
- wait(0.3)
- NotificationFrame:Destroy()
- end
- return Library
- end
- return PulseTECH
Advertisement
Add Comment
Please, Sign In to add comment