evannik23

Roblox Exploit Lib v2

May 13th, 2022 (edited)
1,017
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.36 KB | None | 0 0
  1. local Lib = {}
  2. function Lib:ScaleToOffset(Scale)
  3.     local ViewPortSize = workspace.Camera.ViewportSize
  4.     return ({ViewPortSize.X * Scale[1],ViewPortSize.Y * Scale[2]})
  5. end;
  6.  
  7.  
  8. function Lib:OffsetToScale(Offset)
  9.     local ViewPortSize = workspace.Camera.ViewportSize
  10.     return ({Offset[1] / ViewPortSize.X, Offset[2] / ViewPortSize.Y})
  11. end;
  12.  
  13. function Lib:MakeCatagory(Parent,Name,LayoutOrder)
  14.    
  15.     local Catagory = Instance.new("Frame",Parent)
  16.     local UICorner = Instance.new("UICorner", Catagory)
  17.     local Selected = Instance.new("TextButton", Catagory)
  18.     local UICorner_2 = Instance.new("UICorner",Selected)
  19.     local TextLabel = Instance.new("TextLabel",Catagory)
  20.     local Spacing = Instance.new("Frame",Catagory)
  21.     local EnabledColor = Color3.new(0, 1, 0)
  22.     local DisabledColor = Color3.new(1,1,1)
  23.     Catagory.Name = Name
  24.     Catagory.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
  25.     Catagory.BorderColor3 = Color3.fromRGB(27, 42, 53)
  26.     Catagory.Position = UDim2.new(0, 0, 0.0653879344, 0)
  27.     Catagory.Size = UDim2.new(0, 142, 0, 45)
  28.     Catagory.LayoutOrder = LayoutOrder
  29.     Selected.Name = "Selected"
  30.    
  31.     Selected.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  32.     Selected.Position = UDim2.new(0.0633802786, 0, 0.13333334, 0)
  33.     Selected.Size = UDim2.new(0, 37, 0, 33)
  34.     Selected.Font = Enum.Font.SourceSans
  35.     Selected.Text = ""
  36.     Selected.TextColor3 = Color3.fromRGB(0, 0, 0)
  37.     Selected.TextSize = 14.000
  38.     TextLabel.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
  39.     TextLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  40.     TextLabel.Position = UDim2.new(0.408450693, 0, 0.120129392, 0)
  41.     TextLabel.Size = UDim2.new(0, 76, 0, 33)
  42.     TextLabel.Font = Enum.Font.Ubuntu
  43.     TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  44.     TextLabel.TextScaled = true
  45.     TextLabel.TextSize = 14.000
  46.     TextLabel.TextWrapped = true
  47.     TextLabel.Text = Name
  48.     Spacing.Name = "Spacing"
  49.     Spacing.Parent = Catagory
  50.     Spacing.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  51.     Spacing.BorderColor3 = Color3.fromRGB(61, 61, 61)
  52.     Spacing.Position = UDim2.new(0, 0, 1, 0)
  53.     Spacing.Size = UDim2.new(0, 154, 0, 13)
  54.     local CatagoryFrame = Instance.new("Frame", Catagory.Parent.Parent.Catagories)
  55.     Instance.new("UIGridLayout",CatagoryFrame).CellSize = UDim2.fromOffset(142,45)
  56.     CatagoryFrame.Name = Name
  57.     CatagoryFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  58.     CatagoryFrame.BackgroundTransparency = 1.000
  59.     CatagoryFrame.Size = UDim2.new(0, 417, 0, 313)
  60.     local IsSelected = Instance.new("BoolValue", Catagory)
  61.     IsSelected.Value = false
  62.     IsSelected.Name = "IsSelected"
  63.     print("Catagory Made")
  64.     Selected.MouseButton1Click:Connect(function()
  65.         if IsSelected.Value == false then
  66.             IsSelected.Value = true
  67.             Selected.BackgroundColor3 = EnabledColor
  68.             Parent.Current.Value = Selected.Parent.Name
  69.         end
  70.     end)
  71.     Parent.Current:GetPropertyChangedSignal("Value"):Connect(function()
  72.         for i,v in pairs(Parent:GetChildren()) do
  73.             if v:IsA("Frame") then
  74.                 if v.Name == Parent.Current.Value then
  75.                     v.Selected.BackgroundColor3 = EnabledColor
  76.                     v.IsSelected.Value = true
  77.                     Parent.Parent.Catagories[v.Name].Visible = true
  78.                 else
  79.                     v.Selected.BackgroundColor3 = DisabledColor
  80.                     v.IsSelected.Value = false
  81.                     Parent.Parent.Catagories[v.Name].Visible = false
  82.                    
  83.                 end
  84.             end
  85.         end
  86.     end)
  87.     return {Catagory,CatagoryFrame}
  88. end
  89. function Lib:MakeCatagoriesMenu(p)
  90.     local CatagoriesMenu = Instance.new("ScrollingFrame", p)
  91.     local UIListLayout = Instance.new("UIListLayout", CatagoriesMenu)
  92.    
  93.     CatagoriesMenu.Name = "CatagoriesMenu"
  94.     CatagoriesMenu.Parent = p
  95.     CatagoriesMenu.Active = true
  96.     CatagoriesMenu.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  97.     CatagoriesMenu.BackgroundTransparency = 1.000
  98.     CatagoriesMenu.BorderColor3 = Color3.fromRGB(61, 61, 61)
  99.     CatagoriesMenu.Position = UDim2.new(0.0102903796, 0, 0.165862083, 0)
  100.     CatagoriesMenu.Size = UDim2.new(0, 154, 0, 254)
  101.     local Current = Instance.new("StringValue", CatagoriesMenu)
  102.     Current.Name = "Current"
  103.     return CatagoriesMenu
  104. end
  105. function Lib:WorldToScreen(Pos)
  106.     local M = game.Players.LocalPlayer:GetMouse()
  107.     local Cam = game.Workspace.CurrentCamera
  108.     local point = Cam.CoordinateFrame:pointToObjectSpace(Pos)
  109.     local aspectRatio = M.ViewSizeX / M.ViewSizeY
  110.     local hfactor = math.tan(math.rad(Cam.FieldOfView) / 2)
  111.     local wfactor = aspectRatio*hfactor
  112.  
  113.     local x = (point.x/point.z) / -wfactor
  114.     local y = (point.y/point.z) /  hfactor
  115.  
  116.     return Vector2.new(M.ViewSizeX * (0.5 + 0.5 * x), M.ViewSizeY * (0.5 + 0.5 * y))
  117. end;
  118. function Lib:Dragify(frame)
  119.     local gui = frame
  120.     local UserInputService = game:GetService("UserInputService")
  121.     local dragging
  122.     local dragInput
  123.     local dragStart
  124.     local startPos
  125.  
  126.     local function update(input)
  127.         local delta = input.Position - dragStart
  128.         gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  129.     end
  130.  
  131.     gui.InputBegan:Connect(function(input)
  132.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  133.             dragging = true
  134.             dragStart = input.Position
  135.             startPos = gui.Position
  136.  
  137.             input.Changed:Connect(function()
  138.                 if input.UserInputState == Enum.UserInputState.End then
  139.                     dragging = false
  140.                 end
  141.             end)
  142.         end
  143.     end)
  144.  
  145.     gui.InputChanged:Connect(function(input)
  146.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  147.             dragInput = input
  148.         end
  149.     end)
  150.  
  151.     UserInputService.InputChanged:Connect(function(input)
  152.         if input == dragInput and dragging then
  153.             update(input)
  154.         end
  155.     end)
  156. end;
  157. function Lib:MakeBoolFrame(Parent, Text, LayoutOrder, TrueFunc,FalseFunc)
  158.     local Bool = Instance.new("Frame",Parent)
  159.     local UICorner = Instance.new("UICorner",Bool)
  160.     local Selected = Instance.new("TextButton",Bool)
  161.     local UICorner_2 = Instance.new("UICorner",Selected)
  162.     local TextLabel = Instance.new("TextLabel",Bool)
  163.     local Spacing = Instance.new("Frame",Bool)
  164.     local Enabled = Instance.new("BoolValue",Bool)
  165.     local True = Color3.new(0,1,0)
  166.     local False = Color3.new(1,1,1)
  167.     Enabled.Value = false
  168.     Bool.Name = "Bool"
  169.     Bool.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
  170.     Bool.BorderColor3 = Color3.fromRGB(27, 42, 53)
  171.     Bool.Position = UDim2.new(0.00479616318, 0, 0.132480592, 0)
  172.     Bool.Size = UDim2.new(0, 142, 0, 45)
  173.     Bool.LayoutOrder = LayoutOrder
  174.  
  175.  
  176.     Selected.Name = "Selected"
  177.     Selected.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  178.     Selected.Position = UDim2.new(0.0633802786, 0, 0.13333334, 0)
  179.     Selected.Size = UDim2.new(0, 37, 0, 33)
  180.     Selected.Font = Enum.Font.SourceSans
  181.     Selected.Text = ""
  182.     Selected.TextColor3 = Color3.fromRGB(0, 0, 0)
  183.     Selected.TextSize = 14.000
  184.  
  185.  
  186.  
  187.  
  188.     TextLabel.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
  189.     TextLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  190.     TextLabel.Position = UDim2.new(0.408450693, 0, 0.120129392, 0)
  191.     TextLabel.Size = UDim2.new(0, 76, 0, 33)
  192.     TextLabel.Font = Enum.Font.Ubuntu
  193.     TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  194.     TextLabel.TextScaled = true
  195.     TextLabel.TextSize = 14.000
  196.     TextLabel.TextWrapped = true
  197.     TextLabel.Text = Text
  198.     Spacing.Name = "Spacing"
  199.     Spacing.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  200.     Spacing.BackgroundTransparency = 1.000
  201.     Spacing.BorderColor3 = Color3.fromRGB(61, 61, 61)
  202.     Spacing.Position = UDim2.new(1, 0, 0, 0)
  203.     Spacing.Size = UDim2.new(0, 11, 0, 45)
  204.     Selected.MouseButton1Click:Connect(function()
  205.         if Enabled.Value == true then
  206.             Enabled.Value = false
  207.             Selected.BackgroundColor3 = False
  208.         else
  209.             Enabled.Value = true
  210.             Selected.BackgroundColor3 = True
  211.         end
  212.     end)
  213.     Enabled:GetPropertyChangedSignal("Value"):Connect(function()
  214.         if Enabled.Value == true then TrueFunc()
  215.         elseif Enabled.Value == false then FalseFunc()
  216.         end
  217.        
  218.     end)
  219.  
  220. end;
  221. function Lib:MakeButtonFrame(Parent, Text, LayoutOrder,ClickFunc)
  222.     local Frame = Instance.new("Frame",Parent)
  223.     Frame.Name = "Button"
  224.     Frame.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
  225.     Frame.BorderColor3 = Color3.fromRGB(27, 42, 53)
  226.     Frame.Position = UDim2.new(0.00479616318, 0, 0.132480592, 0)
  227.     Frame.Size = UDim2.new(0, 142, 0, 45)
  228.     Frame.LayoutOrder = LayoutOrder
  229.     Frame.BackgroundTransparency = 1
  230.     local Button = Instance.new("TextButton",Frame)
  231.     local TextLabel = Button
  232.     Button.Text = Text
  233.     TextLabel.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
  234.     TextLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  235.     TextLabel.Position = Frame.Position
  236.     TextLabel.Size = Frame.Size
  237.     TextLabel.Font = Enum.Font.Ubuntu
  238.     TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  239.     TextLabel.TextScaled = true
  240.     TextLabel.TextSize = 14.000
  241.     TextLabel.TextWrapped = true
  242.     TextLabel.Text = Text
  243.     Instance.new("UICorner", Button)
  244.     local Spacing = Instance.new("Frame",Frame)
  245.     Spacing.Name = "Spacing"
  246.     Spacing.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  247.     Spacing.BackgroundTransparency = 1.000
  248.     Spacing.BorderColor3 = Color3.fromRGB(61, 61, 61)
  249.     Spacing.Position = UDim2.new(1, 0, 0, 0)
  250.     Spacing.Size = UDim2.new(0, 11, 0, 45)
  251.     if type(ClickFunc) == "function" then
  252.         Button.MouseButton1Click:Connect(ClickFunc)
  253.     end
  254.     return Button
  255.    
  256. end;
  257. function Lib:MakeGUI(parent,name,Title)
  258.     for i,v in pairs(parent:GetChildren()) do
  259.  
  260.         if v.Name == name then
  261.            
  262.             v:Destroy()
  263.             print("extera destroyed")
  264.         end    
  265.     end
  266.    
  267.     local ExploitGui = Instance.new("ScreenGui")
  268.     ExploitGui.Name = name
  269.     ExploitGui.Parent = parent
  270.     ExploitGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  271.    
  272.     local Frame = Instance.new("Frame")
  273.     local UICorner = Instance.new("UICorner")
  274.     local TextLabel = Instance.new("TextLabel")
  275.     TextLabel.Parent = ExploitGui
  276.     TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 127)
  277.     TextLabel.Position = UDim2.new(0.319838107, 0, 0.21801801, 0)
  278.     TextLabel.Size = UDim2.new(0, 118, 0, 11)
  279.     TextLabel.Visible = false
  280.     TextLabel.Font = Enum.Font.RobotoCondensed
  281.     TextLabel.Text = "Desc"
  282.     TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  283.     TextLabel.TextScaled = true
  284.     TextLabel.TextSize = 14.000
  285.     TextLabel.TextWrapped = true
  286.     TextLabel.ZIndex = 2
  287.    
  288.  
  289.     Frame.Parent = ExploitGui
  290.     Frame.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  291.     Frame.Position = UDim2.new(0.262145758, 0, 0.162162155, 0)
  292.     Frame.Size = UDim2.fromScale(0.514,0.541)
  293.     local Catagories = Instance.new("Frame", Frame)
  294.     Catagories.Name = "Catagories"
  295.     Catagories.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  296.     Catagories.BackgroundTransparency = 1.000
  297.     Catagories.Position = UDim2.new(0.284700513, 0, 0, 0)
  298.     Catagories.Size = UDim2.new(0, 417, 0, 313)
  299.     UICorner.Parent = Frame
  300.      
  301.     local title = Instance.new("TextLabel")
  302.     title.Name = "Title"
  303.     title.Parent = Frame
  304.     title.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  305.     title.Size = UDim2.fromScale(0.394,0.167)
  306.     title.Font = Enum.Font.PatrickHand
  307.     title.TextColor3 = Color3.fromRGB(170, 0, 0)
  308.     title.TextScaled = true
  309.     title.TextSize = 14.000
  310.     title.TextWrapped = true
  311.     title.Text = Title
  312.     title.BackgroundTransparency = 1
  313.     Instance.new("UICorner", title)
  314.     _G.GUI = ExploitGui
  315.     return ExploitGui
  316. end;
  317.  
  318. function Lib:MakeSettings(parent)
  319.     local SettingsFrame = Instance.new("Frame", parent)
  320.     local SettingsButton = Instance.new("ImageButton", parent)
  321.     local OpenSize = UDim2.fromScale(1,0.978)
  322.     local CloseSize = UDim2.fromScale(1,0)
  323.     local openimage = 'rbxassetid://5853926901'
  324.     local closeimage = "rbxassetid://9405931578"
  325.     Instance.new("UICorner").Parent = SettingsFrame
  326.     Instance.new("UIGridLayout",SettingsFrame).CellSize = UDim2.fromOffset(142,45)
  327.    
  328.     local function Animation()
  329.         if SettingsFrame.Size == OpenSize then
  330.             game.TweenService:Create(SettingsFrame, TweenInfo.new(0.5), {Size = CloseSize}):Play()
  331.             wait(0.5)
  332.             SettingsFrame.Visible = false
  333.             SettingsButton.Image = closeimage
  334.         elseif SettingsFrame.Size == CloseSize then
  335.             game.TweenService:Create(SettingsFrame, TweenInfo.new(0.5), {Size = OpenSize}):Play()
  336.             SettingsFrame.Visible = true
  337.             SettingsButton.Image = openimage
  338.         end
  339.     end
  340.     SettingsFrame.Visible = false
  341.     SettingsFrame.Size = CloseSize
  342.     SettingsFrame.Position = UDim2.fromScale(0,0.022)
  343.     SettingsFrame.BackgroundColor3 = Color3.new(0,0,0)
  344.    
  345.     local UICorner = Instance.new("UICorner")
  346.     SettingsButton.Name = "SettingsButton"
  347.     SettingsButton.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  348.     SettingsButton.Position = UDim2.new(0.848956347, 0, -0.108448282, 0)
  349.     SettingsButton.Size = UDim2.new(0, 44, 0, 41)
  350.     SettingsButton.Image = "rbxassetid://9405931578"
  351.     UICorner.Parent = SettingsButton
  352.    
  353.     SettingsButton.MouseButton1Click:Connect(function()
  354.         Animation()
  355.     end)
  356.     local X = Instance.new("ImageButton", parent)
  357.     X.Name = "X"
  358.     X.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  359.     X.Position = UDim2.new(0.924419165, 0, -0.108448282, 0)
  360.     X.Size = UDim2.new(0, 44, 0, 41)
  361.     X.Image = "rbxassetid://7104731055"
  362.     X.ImageColor3 = Color3.fromRGB(255, 0, 0)
  363.     Instance.new("UICorner").Parent = X
  364.     X.MouseButton1Click:Connect(function()
  365.         local gui = parent.Parent
  366.         gui.Enabled = false
  367.     end)
  368.     return SettingsFrame
  369. end;
  370. function Lib:ConnectKeyBind(textbox, Key, func)
  371.     local TextBox = textbox
  372.     local KeyConnection = nil
  373.    
  374.     local UIS = game:GetService("UserInputService")
  375.     local InputKey = nil
  376.     if typeof(Key) == nil then
  377.         InputKey = Enum.KeyCode["E"]
  378.     elseif typeof(Key) == "string" then
  379.         InputKey = Enum.KeyCode[Key]
  380.         TextBox.Text = Key
  381.     elseif typeof(Key) == "EnumItem" then
  382.         InputKey = Key
  383.         TextBox.Text = Key.Name
  384.     else
  385.         error("EnumItem, string, or nil expected ".."Got "..(typeof(Key)))    
  386.     end  
  387.  
  388.  
  389. local editkeymode = false
  390. TextBox.Focused:Connect(function()
  391.     KeyConnection = UIS.InputBegan:Connect(function(input)
  392.         if input.KeyCode.Name == "Unknown" then else
  393.             InputKey = input.KeyCode
  394.             TextBox.Text = input.KeyCode.Name
  395.             TextBox:ReleaseFocus()
  396.             editkeymode = true
  397.         end
  398.     end)
  399. end)
  400. TextBox.FocusLost:Connect(function()
  401.     KeyConnection:Disconnect()
  402.     KeyConnection = nil
  403.     print("Disconnect")
  404.     wait(0.1)
  405.     editkeymode = false
  406.  
  407. end)
  408. if typeof(func)==nil then
  409.     error("Function expected got "..(typeof(func)))
  410. end    
  411. UIS.InputBegan:Connect(function(input)
  412.     if not editkeymode then
  413.         if input.KeyCode == InputKey then
  414.             func()
  415.         end
  416.     end
  417. end)
  418. end;
  419. function Lib:MakeKeyBindFrame(parent, title,LayoutOrder)
  420.     local KeyBind = Instance.new("Frame", parent)
  421.     local UICorner = Instance.new("UICorner",KeyBind)
  422.     local TextLabel = Instance.new("TextLabel",KeyBind)
  423.     local Spacing = Instance.new("Frame",KeyBind)
  424.     local TextBox = Instance.new("TextBox",KeyBind)
  425.     local UICorner_2 = Instance.new("UICorner",TextBox)
  426.     KeyBind.LayoutOrder = LayoutOrder
  427.     KeyBind.Name = "KeyBind"
  428.     KeyBind.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
  429.     KeyBind.BorderColor3 = Color3.fromRGB(27, 42, 53)
  430.     KeyBind.Position = UDim2.new(0, 0, 0.0653879344, 0)
  431.     KeyBind.Size = UDim2.new(0.340527564, 0, 0.143769965, 0)
  432.     UICorner.Parent = KeyBind
  433.     TextLabel.Parent = KeyBind
  434.     TextLabel.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
  435.     TextLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  436.     TextLabel.Position = UDim2.new(0.0633802712, 0, 0.142351612, 0)
  437.     TextLabel.Size = UDim2.new(0, 76, 0, 33)
  438.     TextLabel.Font = Enum.Font.Ubuntu
  439.     TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  440.     TextLabel.TextScaled = true
  441.     TextLabel.TextSize = 14.000
  442.     TextLabel.TextWrapped = true
  443.     TextLabel.Text = title
  444.     Spacing.Name = "Spacing"
  445.     Spacing.Parent = KeyBind
  446.     Spacing.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  447.     Spacing.BorderColor3 = Color3.fromRGB(61, 61, 61)
  448.     Spacing.Position = UDim2.new(1.01408446, 0, 0, 0)
  449.     Spacing.Size = UDim2.new(0, 14, 0, 45)
  450.     Spacing.BackgroundTransparency = 1
  451.     TextBox.Parent = KeyBind
  452.     TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  453.     TextBox.Position = UDim2.new(0.676056385, 0, 0.142351612, 0)
  454.     TextBox.Size = UDim2.new(0, 37, 0, 33)
  455.     TextBox.Font = Enum.Font.SourceSans
  456.     TextBox.Text = ""
  457.     TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
  458.     TextBox.TextScaled = true
  459.     TextBox.TextSize = 14.000
  460.     TextBox.TextWrapped = true
  461.  
  462.     UICorner_2.Parent = TextBox
  463.     return TextBox
  464.  
  465. end;    
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474. function Lib:FindRemoteEvent(instance, Name)
  475.  
  476.     for i,v in pairs(instance:GetDescendants())do
  477.         if v.Name == Name then
  478.             return v
  479.         end end
  480.  
  481. end;    
  482.  
  483. function Lib:TweenObject(object, time, proptable, playnow)
  484.       local ts = game.TweenService
  485.       local tween = ts:Create(object,TweenInfo.new(time), proptable)
  486.       tween:Play()
  487.       wait(time)
  488. end;
  489. function Lib:SendNotif(title, text, delay)
  490.     game.StarterGui:SetCore("SendNotification", {Title = title,Text = text,Duration = delay})
  491. end;
  492.  
  493. return Lib;
Advertisement
Add Comment
Please, Sign In to add comment