Advertisement
Plus_Gaming

Universal ESP

Jul 3rd, 2021 (edited)
1,515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 17.36 KB | None | 0 0
  1. --[[
  2. Made by Plus gaming
  3. Also I'm looking at you, Redacted
  4. ]]
  5.  
  6. -- Services:
  7.  
  8. local TS = game:GetService("TweenService")
  9.  
  10. -- Variables:
  11.  
  12. local plr = game.Players.LocalPlayer
  13.  
  14. local ESPTarget = {}
  15.  
  16. local Type = "Specific"
  17. local EnabledType = "Specific"
  18. local Enabled = false
  19. local TweenService = {}
  20. local ESP = {}
  21.  
  22. -- Functions:
  23. function ESP:CreateESPOnBasePart(BasePart)
  24.     local Folder
  25.     if BasePart:IsA("BasePart") then
  26.         Folder = Instance.new('Folder')
  27.         Folder.Name = BasePart.Name.. " ESP"
  28.         for i = 1,6 do
  29.             local SurfaceGui = Instance.new("SurfaceGui", Folder)
  30.             if i == 1 then
  31.                 SurfaceGui.Face = Enum.NormalId.Back
  32.                 SurfaceGui.Name = (BasePart.Name.. "'s Back ESP")
  33.             elseif i == 2 then
  34.                 SurfaceGui.Face = Enum.NormalId.Front
  35.                 SurfaceGui.Name = (BasePart.Name.. "'s Front ESP")
  36.             elseif i == 3 then
  37.                 SurfaceGui.Face = Enum.NormalId.Right
  38.                 SurfaceGui.Name = (BasePart.Name.. "'s Right ESP")
  39.             elseif i == 4 then
  40.                 SurfaceGui.Face = Enum.NormalId.Left
  41.                 SurfaceGui.Name = (BasePart.Name.. "'s Left ESP")
  42.             elseif i == 5 then
  43.                 SurfaceGui.Face = Enum.NormalId.Top
  44.                 SurfaceGui.Name = (BasePart.Name.. "'s Top ESP")
  45.             elseif i == 6 then
  46.                 SurfaceGui.Face = Enum.NormalId.Bottom
  47.                 SurfaceGui.Name = (BasePart.Name.. "'s Bottom ESP")
  48.             end
  49.             SurfaceGui.Adornee = BasePart
  50.             SurfaceGui.AlwaysOnTop = true
  51.             local Frame = Instance.new("Frame", SurfaceGui)
  52.             Frame.Size = UDim2.new(1,0,1,0)
  53.             Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  54.             Frame.BorderSizePixel = 0
  55.             Frame.Transparency = 0.5
  56.         end
  57.     end
  58.     return Folder
  59. end
  60.  
  61. function TweenService:CreateLinear(Seconds)
  62.     return TweenInfo.new(Seconds, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
  63. end
  64.  
  65. local function Draggable(GuiObject)
  66.     local plr = game.Players.LocalPlayer
  67.     local m = plr:GetMouse()
  68.     if GuiObject:IsA("GuiButton") then
  69.         local LastX = m.X
  70.         local LastY = m.Y
  71.         local Clicked = false
  72.         GuiObject.MouseButton1Down:Connect(function()
  73.             Clicked = true
  74.             LastX = m.X
  75.             LastY = m.Y
  76.         end)
  77.         m.Move:Connect(function()
  78.             if Clicked then
  79.                 if (m.X ~= LastX) or (m.Y ~= LastY) then
  80.                     GuiObject.Position = UDim2.new(GuiObject.Position.X.Scale,GuiObject.Position.X.Offset - (LastX - m.X),GuiObject.Position.Y.Scale,GuiObject.Position.Y.Offset - (LastY - m.Y))
  81.                     LastX = m.X
  82.                     LastY = m.Y
  83.                 end
  84.             end
  85.         end)
  86.         GuiObject.MouseButton1Up:Connect(function()
  87.             Clicked = false
  88.         end)
  89.     elseif GuiObject:IsA("GuiBase") then
  90.         local LastX = m.X
  91.         local LastY = m.Y
  92.         local Clicked = false
  93.         m.Button1Down:Connect(function()
  94.             local MinPos = GuiObject.AbsolutePosition
  95.             local MaxPos = Vector2.new(GuiObject.AbsolutePosition.X + (GuiObject.AbsoluteSize.X), GuiObject.AbsolutePosition.Y + (GuiObject.AbsoluteSize.Y))
  96.             if (m.X >= MinPos.X) and (m.Y >= MinPos.Y) and (m.X <= MaxPos.X) and (m.Y <= MaxPos.Y) then
  97.                 Clicked = true
  98.                 LastX = m.X
  99.                 LastY = m.Y
  100.             end
  101.         end)
  102.         m.Move:Connect(function()
  103.             if Clicked then
  104.                 if (m.X ~= LastX) or (m.Y ~= LastY) then
  105.                     GuiObject.Position = UDim2.new(GuiObject.Position.X.Scale,GuiObject.Position.X.Offset - (LastX - m.X),GuiObject.Position.Y.Scale,GuiObject.Position.Y.Offset - (LastY - m.Y))
  106.                     LastX = m.X
  107.                     LastY = m.Y
  108.                 end
  109.             end
  110.         end)
  111.         m.Button1Up:Connect(function()
  112.             Clicked = false
  113.         end)
  114.     end
  115. end
  116.  
  117. -- Instances:
  118.  
  119. local ScreenGui = Instance.new("ScreenGui")
  120. local Main = Instance.new("Frame")
  121. local UICorner = Instance.new("UICorner")
  122. local NameFrame = Instance.new("Frame")
  123. local S = Instance.new("TextLabel")
  124. local P = Instance.new("TextLabel")
  125. local E = Instance.new("TextLabel")
  126. local Inside = Instance.new("Frame")
  127. local Deco = Instance.new("Folder")
  128. local Circle1 = Instance.new("Frame")
  129. local UICorner_2 = Instance.new("UICorner")
  130. local Circle2 = Instance.new("Frame")
  131. local UICorner_3 = Instance.new("UICorner")
  132. local BottomBar = Instance.new("Frame")
  133. local PartName = Instance.new("TextBox")
  134. local UICorner_4 = Instance.new("UICorner")
  135. local PartType = Instance.new("TextButton")
  136. local UICorner_5 = Instance.new("UICorner")
  137. local Execute = Instance.new("TextButton")
  138. local UICorner_6 = Instance.new("UICorner")
  139. local Stop = Instance.new("TextButton")
  140. local UICorner_7 = Instance.new("UICorner")
  141. local Exit = Instance.new("TextButton")
  142. local Close = Instance.new("TextButton")
  143. local ESPFolder = Instance.new("Folder", game.Workspace.CurrentCamera)
  144.  
  145. --Properties:
  146.  
  147. ScreenGui.Name = "ESP"
  148. ScreenGui.Parent = game.CoreGui
  149. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  150. ScreenGui.ResetOnSpawn = false
  151.  
  152. Main.Name = "Main"
  153. Main.Parent = ScreenGui
  154. Main.AnchorPoint = Vector2.new(0.5, 0.5)
  155. Main.BackgroundColor3 = Color3.fromRGB(67, 67, 67)
  156. Main.Position = UDim2.new(0.5, 0, 0.5, 0)
  157. Main.Size = UDim2.new(0.275000006, 0, 0.0500000007, 0)
  158. Draggable(Main,0.2)
  159.  
  160. UICorner.CornerRadius = UDim.new(0, 12)
  161. UICorner.Parent = Main
  162.  
  163. NameFrame.Name = "NameFrame"
  164. NameFrame.Parent = Main
  165. NameFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  166. NameFrame.BackgroundTransparency = 1.000
  167. NameFrame.Size = UDim2.new(0.100000001, 0, 1, 0)
  168.  
  169. S.Name = "S"
  170. S.Parent = NameFrame
  171. S.AnchorPoint = Vector2.new(0.5, 0.5)
  172. S.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  173. S.BackgroundTransparency = 1.000
  174. S.Position = UDim2.new(0.5, 0, 0.5, 0)
  175. S.Size = UDim2.new(0.5, 0, 0.5, 0)
  176. S.Font = Enum.Font.GothamBold
  177. S.Text = "S"
  178. S.TextColor3 = Color3.fromRGB(255, 255, 0)
  179. S.TextScaled = true
  180. S.TextSize = 14.000
  181. S.TextWrapped = true
  182.  
  183. P.Name = "P"
  184. P.Parent = NameFrame
  185. P.AnchorPoint = Vector2.new(1, 1)
  186. P.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  187. P.BackgroundTransparency = 1.000
  188. P.Position = UDim2.new(1, 0, 1, 0)
  189. P.Size = UDim2.new(0.5, 0, 0.5, 0)
  190. P.Font = Enum.Font.GothamBold
  191. P.Text = "P"
  192. P.TextColor3 = Color3.fromRGB(0, 255, 0)
  193. P.TextScaled = true
  194. P.TextSize = 14.000
  195. P.TextWrapped = true
  196. --[[spawn(function()
  197.     while true do
  198.         wait(0.25)
  199.         local Tween = TS:Create(P, TweenService:CreateLinear(0.5), {Position = UDim2.new(0,0,1,0); AnchorPoint = Vector2.new(0,1)})
  200.         Tween:Play()
  201.         Tween.Completed:Wait()
  202.         wait(0.25)
  203.         local Tween = TS:Create(P, TweenService:CreateLinear(0.5), {Position = UDim2.new(0,0,0,0); AnchorPoint = Vector2.new(0,0)})
  204.         Tween:Play()
  205.         Tween.Completed:Wait()
  206.         wait(0.25)
  207.         local Tween = TS:Create(P, TweenService:CreateLinear(0.5), {Position = UDim2.new(1,0,0,0); AnchorPoint = Vector2.new(1,0)})
  208.         Tween:Play()
  209.         Tween.Completed:Wait()
  210.         wait(0.25)
  211.         local Tween = TS:Create(P, TweenService:CreateLinear(0.5), {Position = UDim2.new(1,0,1,0); AnchorPoint = Vector2.new(1,1)})
  212.         Tween:Play()
  213.         Tween.Completed:Wait()
  214.     end
  215. end)]]
  216.  
  217. E.Name = "E"
  218. E.Parent = NameFrame
  219. E.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  220. E.BackgroundTransparency = 1.000
  221. E.Size = UDim2.new(0.5, 0, 0.5, 0)
  222. E.Font = Enum.Font.GothamBold
  223. E.Text = "E"
  224. E.TextColor3 = Color3.fromRGB(255, 0, 0)
  225. E.TextScaled = true
  226. E.TextSize = 14.000
  227. E.TextWrapped = true
  228. --[[spawn(function()
  229.     while true do
  230.         wait(0.25)
  231.         local Tween = TS:Create(E, TweenService:CreateLinear(0.5), {Position = UDim2.new(1,0,0,0); AnchorPoint = Vector2.new(1,0)})
  232.         Tween:Play()
  233.         Tween.Completed:Wait()
  234.         wait(0.25)
  235.         local Tween = TS:Create(E, TweenService:CreateLinear(0.5), {Position = UDim2.new(1,0,1,0); AnchorPoint = Vector2.new(1,1)})
  236.         Tween:Play()
  237.         Tween.Completed:Wait()
  238.         wait(0.25)
  239.         local Tween = TS:Create(E, TweenService:CreateLinear(0.5), {Position = UDim2.new(0,0,1,0); AnchorPoint = Vector2.new(0,1)})
  240.         Tween:Play()
  241.         Tween.Completed:Wait()
  242.         wait(0.25)
  243.         local Tween = TS:Create(E, TweenService:CreateLinear(0.5), {Position = UDim2.new(0,0,0,0); AnchorPoint = Vector2.new(0,0)})
  244.         Tween:Play()
  245.         Tween.Completed:Wait()
  246.     end
  247. end)]]
  248.  
  249. ESPFolder.Name = "ESP"
  250.  
  251. Inside.Name = "Inside"
  252. Inside.Parent = Main
  253. Inside.AnchorPoint = Vector2.new(0.5, 0)
  254. Inside.BackgroundColor3 = Color3.fromRGB(71, 71, 71)
  255. Inside.BorderSizePixel = 0
  256. Inside.Position = UDim2.new(0.5, 0, 1, 0)
  257. Inside.Size = UDim2.new(0.949999988, 0, 7, 0)
  258.  
  259. Deco.Name = "Deco"
  260. Deco.Parent = Inside
  261.  
  262. Circle1.Name = "Circle1"
  263. Circle1.Parent = Deco
  264. Circle1.AnchorPoint = Vector2.new(0, 0.5)
  265. Circle1.BackgroundColor3 = Color3.fromRGB(71, 71, 71)
  266. Circle1.BorderSizePixel = 0
  267. Circle1.Position = UDim2.new(0, 0, 1, 0)
  268. Circle1.Size = UDim2.new(0.135000005, 0, 0.174999997, 0)
  269.  
  270. UICorner_2.CornerRadius = UDim.new(1, 0)
  271. UICorner_2.Parent = Circle1
  272.  
  273. Circle2.Name = "Circle2"
  274. Circle2.Parent = Deco
  275. Circle2.AnchorPoint = Vector2.new(1, 0.5)
  276. Circle2.BackgroundColor3 = Color3.fromRGB(71, 71, 71)
  277. Circle2.BorderSizePixel = 0
  278. Circle2.Position = UDim2.new(1, 0, 1, 0)
  279. Circle2.Size = UDim2.new(0.135221019, 0, 0.175284833, 0)
  280.  
  281. UICorner_3.CornerRadius = UDim.new(1, 0)
  282. UICorner_3.Parent = Circle2
  283.  
  284. BottomBar.Name = "BottomBar"
  285. BottomBar.Parent = Deco
  286. BottomBar.AnchorPoint = Vector2.new(0.5, 0.5)
  287. BottomBar.BackgroundColor3 = Color3.fromRGB(71, 71, 71)
  288. BottomBar.BorderSizePixel = 0
  289. BottomBar.Position = UDim2.new(0.5, 0, 1, 0)
  290. BottomBar.Size = UDim2.new(0.850000024, 0, 0.174999997, 0)
  291.  
  292. PartName.Name = "PartName"
  293. PartName.Parent = Inside
  294. PartName.AnchorPoint = Vector2.new(0.5, 0)
  295. PartName.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  296. PartName.BorderSizePixel = 0
  297. PartName.Position = UDim2.new(0.5, 0, 0.100000001, 0)
  298. PartName.Size = UDim2.new(0.75, 0, 0.150000006, 0)
  299. PartName.ClearTextOnFocus = false
  300. PartName.Font = Enum.Font.SourceSans
  301. PartName.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  302. PartName.PlaceholderText = "Part name here"
  303. PartName.Text = ""
  304. PartName.TextColor3 = Color3.fromRGB(255, 255, 255)
  305. PartName.TextScaled = true
  306. PartName.TextSize = 14.000
  307. PartName.TextWrapped = true
  308.  
  309. UICorner_4.Parent = PartName
  310.  
  311. PartType.Name = "PartType"
  312. PartType.Parent = Inside
  313. PartType.AnchorPoint = Vector2.new(0.5, 0)
  314. PartType.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  315. PartType.BorderSizePixel = 0
  316. PartType.Position = UDim2.new(0.5, 0, 0.300000012, 0)
  317. PartType.Size = UDim2.new(0.75, 0, 0.150000006, 0)
  318. PartType.Font = Enum.Font.SourceSans
  319. PartType.Text = "Type: Specific name"
  320. PartType.TextColor3 = Color3.fromRGB(255, 255, 255)
  321. PartType.TextScaled = true
  322. PartType.TextSize = 14.000
  323. PartType.TextWrapped = true
  324. PartType.MouseButton1Click:Connect(function()
  325.     if Type == "Specific" then
  326.         Type = "Match"
  327.         PartType.Text = "Type: Match"
  328.         PartName.TextEditable = true
  329.         PartName.TextColor3 = Color3.fromRGB(255, 255, 255)
  330.     elseif Type == "Match" then
  331.         Type = "Humanoids"
  332.         PartType.Text = "Type: All humanoids"
  333.         PartName.TextEditable = false
  334.         PartName.TextColor3 = Color3.fromRGB(111, 111, 111)
  335.     elseif Type == "Humanoids" then
  336.         Type = "Specific"
  337.         PartType.Text = "Type: Specific name"
  338.         PartName.TextEditable = true
  339.         PartName.TextColor3 = Color3.fromRGB(255, 255, 255)
  340.     end
  341. end)
  342.  
  343. UICorner_5.Parent = PartType
  344.  
  345. Execute.Name = "Execute"
  346. Execute.Parent = Inside
  347. Execute.AnchorPoint = Vector2.new(0.5, 0)
  348. Execute.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  349. Execute.BorderSizePixel = 0
  350. Execute.Position = UDim2.new(0.5, 0, 0.5, 0)
  351. Execute.Size = UDim2.new(0.75, 0, 0.150000006, 0)
  352. Execute.Font = Enum.Font.SourceSans
  353. Execute.Text = "Enable ESP"
  354. Execute.TextColor3 = Color3.fromRGB(255, 255, 255)
  355. Execute.TextScaled = true
  356. Execute.TextSize = 14.000
  357. Execute.TextWrapped = true
  358. Execute.MouseButton1Click:Connect(function()
  359.     Enabled = true
  360.     EnabledType = Type
  361.     if Type == "Specific" then
  362.         for i, v in pairs(game.Workspace:GetDescendants()) do
  363.             if v.Name == PartName.Text then
  364.                 table.insert(ESPTarget, v)
  365.                 local Folder = ESP:CreateESPOnBasePart(v)
  366.                 if Folder then
  367.                     Folder.Parent = ESPFolder
  368.                 end
  369.             end
  370.         end
  371.     elseif Type == "Match" then
  372.         for i, v in pairs(game.Workspace:GetDescendants()) do
  373.             if string.match(v.Name, PartName.Text) then
  374.                 table.insert(ESPTarget, v)
  375.                 local Folder = ESP:CreateESPOnBasePart(v)
  376.                 if Folder then
  377.                     Folder.Parent = ESPFolder
  378.                 end
  379.             end
  380.         end
  381.     elseif Type == "Humanoids" then
  382.         for i, v in pairs(game.Workspace:GetDescendants()) do
  383.             if v:IsA("Humanoid") then
  384.                 if v.Parent ~= game.Players.LocalPlayer.Character then
  385.                     for i, v2 in pairs(v.Parent:GetChildren()) do
  386.                         table.insert(ESPTarget, v2)
  387.                         local Folder = ESP:CreateESPOnBasePart(v2)
  388.                         if Folder then
  389.                             Folder.Parent = ESPFolder
  390.                         end
  391.                     end
  392.                 end
  393.             end
  394.         end
  395.     end
  396. end)
  397.  
  398. game.Workspace.DescendantAdded:Connect(function(v)
  399.     if Enabled then
  400.         local CanDo = true
  401.         for i, v2 in pairs(ESPTarget) do
  402.             if v2 == v then
  403.                 CanDo = false
  404.             end
  405.         end
  406.         if CanDo then
  407.         if EnabledType == "Specific" then
  408.             if v.Name == PartName.Text then
  409.                 local Folder = ESP:CreateESPOnBasePart(v)
  410.                 if Folder then
  411.                     Folder.Parent = ESPFolder
  412.                 end
  413.             end
  414.         elseif EnabledType == "Match" then
  415.             if string.match(v.Name, PartName.Text) then
  416.                 local Folder = ESP:CreateESPOnBasePart(v)
  417.                 if Folder then
  418.                     Folder.Parent = ESPFolder
  419.                 end
  420.             end
  421.         elseif EnabledType == "Humanoids" then
  422.             wait()
  423.             if v.Parent ~= game.Players.LocalPlayer.Character then
  424.                 if v:IsA("Humanoid") then
  425.                     for i, v2 in pairs(v.Parent:GetChildren()) do
  426.                         local Folder = ESP:CreateESPOnBasePart(v2)
  427.                         if Folder then
  428.                             Folder.Parent = ESPFolder
  429.                         end
  430.                     end
  431.                 end
  432.                
  433.             end
  434.         end
  435.         end
  436.     end
  437. end)
  438.  
  439. UICorner_6.Parent = Execute
  440.  
  441. Stop.Name = "Stop"
  442. Stop.Parent = Inside
  443. Stop.AnchorPoint = Vector2.new(0.5, 0)
  444. Stop.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  445. Stop.BorderSizePixel = 0
  446. Stop.Position = UDim2.new(0.5, 0, 0.699999988, 0)
  447. Stop.Size = UDim2.new(0.75, 0, 0.150000006, 0)
  448. Stop.Font = Enum.Font.SourceSans
  449. Stop.Text = "Disable ESP"
  450. Stop.TextColor3 = Color3.fromRGB(255, 255, 255)
  451. Stop.TextScaled = true
  452. Stop.TextSize = 14.000
  453. Stop.TextWrapped = true
  454. Stop.MouseButton1Click:Connect(function()
  455.     Enabled = false
  456.     for i, v in pairs(ESPFolder:GetChildren()) do
  457.         v:Destroy()
  458.     end
  459. end)
  460.  
  461. UICorner_7.Parent = Stop
  462.  
  463. Exit.Name = "Exit"
  464. Exit.Parent = Main
  465. Exit.AnchorPoint = Vector2.new(1, 0)
  466. Exit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  467. Exit.BackgroundTransparency = 1.000
  468. Exit.Position = UDim2.new(1, 0, 0, 0)
  469. Exit.Size = UDim2.new(0.0500000007, 0, 1, 0)
  470. Exit.Font = Enum.Font.SourceSans
  471. Exit.Text = "X"
  472. Exit.TextColor3 = Color3.fromRGB(255, 0, 0)
  473. Exit.TextScaled = true
  474. Exit.TextSize = 14.000
  475. Exit.TextWrapped = true
  476. Exit.MouseButton1Click:Connect(function()
  477.     ScreenGui:Destroy()
  478. end)
  479.  
  480. local CloseLastTween1 = nil
  481. local CloseLastTween2 = nil
  482. local Closed = false
  483.  
  484. Close.Name = "Close"
  485. Close.Parent = Main
  486. Close.AnchorPoint = Vector2.new(1, 0)
  487. Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  488. Close.BackgroundTransparency = 1.000
  489. Close.Position = UDim2.new(0.949999988, 0, 0, 0)
  490. Close.Rotation = 180.000
  491. Close.Size = UDim2.new(0.0500000007, 0, 1, 0)
  492. Close.Font = Enum.Font.SourceSans
  493. Close.Text = "V"
  494. Close.TextColor3 = Color3.fromRGB(84, 84, 84)
  495. Close.TextScaled = true
  496. Close.TextSize = 14.000
  497. Close.TextWrapped = true
  498. Close.MouseButton1Click:Connect(function()
  499.     if Closed then
  500.         Closed = false
  501.         if CloseLastTween1 ~= nil then
  502.             CloseLastTween1:Cancel()
  503.             CloseLastTween1 = nil
  504.         end
  505.         if CloseLastTween2 ~= nil then
  506.             CloseLastTween2:Cancel()
  507.             CloseLastTween2 = nil
  508.         end
  509.         CloseLastTween1 = TS:Create(Close, TweenService:CreateLinear(0.3), {Rotation = 180})
  510.         CloseLastTween1:Play()
  511.         CloseLastTween2 = TS:Create(Inside, TweenService:CreateLinear(0.5), {Size = UDim2.new(0.95, 0, 7, 0)})
  512.         CloseLastTween2:Play()
  513.     else
  514.         Closed = true
  515.         if CloseLastTween1 ~= nil then
  516.             CloseLastTween1:Cancel()
  517.             CloseLastTween1 = nil
  518.         end
  519.         if CloseLastTween2 ~= nil then
  520.             CloseLastTween2:Cancel()
  521.             CloseLastTween2 = nil
  522.         end
  523.         CloseLastTween1 = TS:Create(Close, TweenService:CreateLinear(0.3), {Rotation = 0})
  524.         CloseLastTween1:Play()
  525.         CloseLastTween2 = TS:Create(Inside, TweenService:CreateLinear(0.5), {Size = UDim2.new(0.95, 0, 0, 0)})
  526.         CloseLastTween2:Play()
  527.     end
  528. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement