Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Workspace = game:GetService("Workspace")
- local Players = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- local RunService = game:GetService("RunService")
- local Lighting = game:GetService("Lighting")
- local LocalPlayer = Players.LocalPlayer
- local PlayerGui = LocalPlayer.PlayerGui
- if PlayerGui:FindFirstChild("Lacden Client") then PlayerGui:FindFirstChild("Lacden Client"):Destroy() end
- local ScreenGui = Instance.new("ScreenGui", PlayerGui)
- ------------------------
- local Frame = Instance.new("Frame", ScreenGui)
- local FrameUICorner = Instance.new("UICorner", Frame)
- local FrameUIStroke = Instance.new("UIStroke", Frame)
- local ResizeButton = Instance.new("TextButton", ScreenGui)
- local Resize_Button_UICorner = Instance.new("UICorner", ResizeButton)
- local Resize_Button_UIStroke = Instance.new("UIStroke", ResizeButton)
- local Container = Instance.new("ScrollingFrame", Frame)
- local ContainerUIGridLayout = Instance.new("UIGridLayout", Container)
- local ContainerUIPadding = Instance.new("UIPadding", Container)
- local PlayerPositionLabel = Instance.new("TextLabel", Frame)
- local PlayerPositionUICorner = Instance.new("UICorner", PlayerPositionLabel)
- local ItemAmountLabel = Instance.new("TextLabel", Frame)
- local ItemAmountLabelUICorner = Instance.new("UICorner", ItemAmountLabel)
- local TrashAmountLabel = Instance.new("TextLabel", Frame)
- local TrashAmountLabelUICorner = Instance.new("UICorner", TrashAmountLabel)
- local TitleLabel = Instance.new("TextLabel", Frame)
- local Janitor_Frame = Instance.new("Frame", Container)
- local Janitor_Frame_UICorner = Instance.new("UICorner", Janitor_Frame)
- local Janitor_Frame_UIStroke = Instance.new("UIStroke", Janitor_Frame)
- local Janitor_Frame_Toggle = Instance.new("Frame", Janitor_Frame)
- local Janitor_Frame_Toggle_UICorner = Instance.new("UICorner", Janitor_Frame_Toggle)
- local Janitor_Frame_Toggle_Button = Instance.new("TextButton", Janitor_Frame_Toggle)
- local Janitor_Frame_Toggle_Button_UICorner = Instance.new("UICorner", Janitor_Frame_Toggle_Button)
- local Janitor_Frame_Toggle_Button_UIStroke = Instance.new("UIStroke", Janitor_Frame_Toggle_Button)
- local Janitor_Frame_Title = Instance.new('TextLabel', Janitor_Frame)
- local Teleport_Player_Button = Instance.new("TextButton", Container)
- local Teleport_Player_Button_UICorner = Instance.new("UICorner", Teleport_Player_Button)
- local Teleport_Player_Button_UIStroke = Instance.new("UIStroke", Teleport_Player_Button)
- local Teleport_To_Item_Button = Instance.new("TextButton", Container)
- local Teleport_To_Item_Button_UICorner = Instance.new("UICorner", Teleport_To_Item_Button)
- local Teleport_To_Item_Button_UIStroke = Instance.new("UIStroke", Teleport_To_Item_Button)
- local Player_Speed_Frame = Instance.new("Frame", Container)
- local Player_Speed_Frame_UICorner = Instance.new("UICorner", Player_Speed_Frame)
- local Player_Speed_Frame_UIStroke = Instance.new("UIStroke", Player_Speed_Frame)
- local Player_Speed_Frame_TextBox = Instance.new("TextBox", Player_Speed_Frame)
- local Player_Speed_Frame_Label = Instance.new("TextLabel", Player_Speed_Frame)
- -----------------------
- local TeleportMenu = Instance.new("Frame", ScreenGui)
- local TeleportMenuUICorner = Instance.new("UICorner", TeleportMenu)
- local TeleportMenuUIStroke = Instance.new("UIStroke", TeleportMenu)
- local TeleportMenuButtons = Instance.new("Frame", TeleportMenu)
- local TeleportMenuButtonsUICorner = Instance.new("UICorner", TeleportMenuButtons)
- local TeleportMenuButtonsUIGridLayout = Instance.new("UIGridLayout", TeleportMenuButtons)
- local TeleportPlayerButton = Instance.new("TextButton", TeleportMenuButtons)
- local TeleportLocationButton = Instance.new("TextButton", TeleportMenuButtons)
- local TeleportMenuPlayersContainer = Instance.new("ScrollingFrame", TeleportMenu)
- local TeleportMenuPlayersContainerUIGridLayout = Instance.new("UIGridLayout", TeleportMenuPlayersContainer)
- local TeleportMenuPlayersContainerUIPadding = Instance.new("UIPadding", TeleportMenuPlayersContainer)
- local TeleportMenuPlayerTemplate = Instance.new("TextButton", TeleportMenuPlayersContainer)
- local TeleportMenuPlayerTemplateUICorner = Instance.new("UICorner", TeleportMenuPlayerTemplate)
- local TeleportMenuPlayerTemplateUIStroke = Instance.new("UIStroke", TeleportMenuPlayerTemplate)
- local TeleportMenuPlayerTemplateHeadshot = Instance.new("ImageLabel", TeleportMenuPlayerTemplate)
- local TeleportMenuPlayerTemplateHeadshotUICorner = Instance.new("UICorner", TeleportMenuPlayerTemplate)
- local TeleportMenuPlayerTemplatePlayerName = Instance.new("TextLabel", TeleportMenuPlayerTemplate)
- local TeleportMenuPlayerTemplatePlayerPosition = Instance.new("TextLabel", TeleportMenuPlayerTemplate)
- local TeleportMenuLocationsContainer = Instance.new("ScrollingFrame", TeleportMenu)
- local TeleportMenuLocationsContainerUIGridLayout = Instance.new("UIGridLayout", TeleportMenuLocationsContainer)
- local TeleportMenuLocationsContainerUIPadding = Instance.new("UIPadding", TeleportMenuLocationsContainer)
- local TeleportMenuLocationsTemplate = Instance.new("TextButton", TeleportMenuLocationsContainer)
- local TeleportMenuLocationsTemplateUICorner = Instance.new("UICorner", TeleportMenuLocationsTemplate)
- local TeleportMenuLocationsTemplateUIStroke = Instance.new("UIStroke", TeleportMenuLocationsTemplate)
- local TeleportMenuLocationsTemplateLocationName = Instance.new("TextLabel", TeleportMenuLocationsTemplate)
- local TeleportMenuLocationsTemplateLocationPosition = Instance.new("TextLabel", TeleportMenuLocationsTemplate)
- local TeleportMenuClose = Instance.new("TextButton", TeleportMenu)
- local TeleportMenuCloseUICorner = Instance.new("UICorner", TeleportMenuClose)
- local TeleportMenuTitle = Instance.new("TextLabel", TeleportMenu)
- ScreenGui.Name = "Lacden Client"
- ScreenGui.IgnoreGuiInset = true
- ScreenGui.Enabled = true
- ScreenGui.ResetOnSpawn = false
- ScreenGui.DisplayOrder = 0
- ---------------
- Frame.Name = "Frame"
- Frame.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
- Frame.Position = UDim2.new(0.885, 0, 0.3, 0)
- Frame.Size = UDim2.new(0.15, 0, 0.4, 0)
- Frame.Visible = true
- ---------------
- FrameUICorner.Name = "UICorner"
- FrameUICorner.CornerRadius = UDim.new(0.03, 0)
- ---------------
- FrameUIStroke.Name = "UIStroke"
- FrameUIStroke.Color = Color3.fromRGB(255, 255, 255)
- FrameUIStroke.Thickness = 2
- FrameUIStroke.Enabled = true
- ---------------
- Container.Name = "Container"
- Container.AnchorPoint = Vector2.new(0.5, 0.5)
- Container.BackgroundTransparency = 1
- Container.Position = UDim2.new(0.5, 0, 0.4, 0)
- Container.Size = UDim2.new(0.95, 0, 0.5, 0)
- Container.CanvasSize = UDim2.new(0, 0, 2, 0)
- Container.ScrollBarImageColor3 = Color3.fromRGB(255, 255 ,255)
- Container.ScrollBarThickness = 6
- Container.VerticalScrollBarInset = Enum.ScrollBarInset.None
- Container.Visible = true
- --------------
- ContainerUIGridLayout.Name = "UIGridLayout"
- ContainerUIGridLayout.CellPadding = UDim2.new(0, 0, 0.01, 0)
- ContainerUIGridLayout.CellSize = UDim2.new(1, 0, 0.03, 0)
- ContainerUIGridLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- --------------
- ContainerUIPadding.Name = "UIPadding"
- ContainerUIPadding.PaddingLeft = UDim.new(0.01, 0)
- ContainerUIPadding.PaddingRight = UDim.new(0.075, 0)
- ContainerUIPadding.PaddingTop = UDim.new(0.01, 0)
- --------------
- Janitor_Frame.Name = "Janitor Work"
- Janitor_Frame.AnchorPoint = Vector2.new(0.5, 0.5)
- Janitor_Frame.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
- Janitor_Frame.LayoutOrder = 3
- Janitor_Frame.Visible = true
- -------------
- Janitor_Frame_UICorner.Name = "UICorner"
- Janitor_Frame_UICorner.CornerRadius = UDim.new(0.3, 0)
- -------------
- Janitor_Frame_UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- Janitor_Frame_UIStroke.Name = "UIStroke"
- Janitor_Frame_UIStroke.Color = Color3.fromRGB(255, 255, 255)
- Janitor_Frame_UIStroke.Thickness = 1
- Janitor_Frame_UIStroke.Enabled = true
- -------------
- Janitor_Frame_Toggle.Name = "Toggle"
- Janitor_Frame_Toggle.AnchorPoint = Vector2.new(0.5, 0.5)
- Janitor_Frame_Toggle.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- Janitor_Frame_Toggle.Position = UDim2.new(0.75, 0, 0.5, 0)
- Janitor_Frame_Toggle.Size = UDim2.new(0.3, 0, 0.5, 0)
- Janitor_Frame_Toggle.Archivable = true
- Janitor_Frame_Toggle.Visible = true
- -------------
- Janitor_Frame_Toggle_UICorner.Name = "UICorner"
- Janitor_Frame_Toggle_UICorner.CornerRadius = UDim.new(1, 0)
- -------------
- Janitor_Frame_Toggle_Button.Name = "Button"
- Janitor_Frame_Toggle_Button.AnchorPoint = Vector2.new(0, 0.5)
- Janitor_Frame_Toggle_Button.BackgroundColor3 = Color3.fromRGB(58, 58, 58)
- Janitor_Frame_Toggle_Button.Position = UDim2.new(0, 0, 0.5, 0)
- Janitor_Frame_Toggle_Button.Size = UDim2.new(0.2, 0, 1, 0)
- Janitor_Frame_Toggle_Button.Text = ""
- -------------
- Janitor_Frame_Toggle_Button_UICorner.Name = "UICorner"
- Janitor_Frame_Toggle_Button_UICorner.CornerRadius = UDim.new(1, 0)
- -------------
- Janitor_Frame_Toggle_Button_UIStroke.Name = "UIStroke"
- Janitor_Frame_Toggle_Button_UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- Janitor_Frame_Toggle_Button_UIStroke.Color = Color3.fromRGB(0, 0, 0)
- Janitor_Frame_Toggle_Button_UIStroke.Thickness = 2
- -------------
- Janitor_Frame_Title.Name = "Title"
- Janitor_Frame_Title.AnchorPoint = Vector2.new(0.5, 0.5)
- Janitor_Frame_Title.BackgroundTransparency = 1
- Janitor_Frame_Title.Position = UDim2.new(0.31, 0, 0.5, 0)
- Janitor_Frame_Title.Size = UDim2.new(0.520, 0, 0.8, 0)
- Janitor_Frame_Title.Font = Enum.Font.GothamBold
- Janitor_Frame_Title.Text = "Janitor"
- Janitor_Frame_Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Janitor_Frame_Title.TextScaled = true
- Janitor_Frame_Title.TextStrokeTransparency = 1
- -------------
- Teleport_Player_Button.Name = "Teleport"
- Teleport_Player_Button.AnchorPoint = Vector2.new(0.5, 0.5)
- Teleport_Player_Button.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
- Teleport_Player_Button.Font = Enum.Font.GothamBold
- Teleport_Player_Button.Text = "Teleport Menu"
- Teleport_Player_Button.TextColor3 = Color3.fromRGB(255, 255, 255)
- Teleport_Player_Button.TextScaled = true
- Teleport_Player_Button.TextStrokeTransparency = 0
- Teleport_Player_Button.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
- Teleport_Player_Button.LayoutOrder = 1
- Teleport_Player_Button.Visible = true
- -------------
- Teleport_Player_Button_UICorner.Name = "UICorner"
- Teleport_Player_Button_UICorner.CornerRadius = UDim.new(0.3, 0)
- -------------
- Teleport_Player_Button_UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- Teleport_Player_Button_UIStroke.Name = "UIStroke"
- Teleport_Player_Button_UIStroke.Color = Color3.fromRGB(255, 255, 255)
- Teleport_Player_Button_UIStroke.Thickness = 1
- Teleport_Player_Button_UIStroke.Enabled = true
- -------------
- Teleport_To_Item_Button.Name = "TeleportToItems"
- Teleport_To_Item_Button.AnchorPoint = Vector2.new(0.5, 0.5)
- Teleport_To_Item_Button.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
- Teleport_To_Item_Button.Font = Enum.Font.GothamBold
- Teleport_To_Item_Button.Text = "Teleport To Items"
- Teleport_To_Item_Button.TextColor3 = Color3.fromRGB(255, 255, 255)
- Teleport_To_Item_Button.TextScaled = true
- Teleport_To_Item_Button.TextStrokeTransparency = 0
- Teleport_To_Item_Button.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
- Teleport_To_Item_Button.LayoutOrder = 2
- Teleport_To_Item_Button.Visible = true
- -------------
- Teleport_To_Item_Button_UICorner.Name = "UICorner"
- Teleport_To_Item_Button_UICorner.CornerRadius = UDim.new(0.3, 0)
- -------------
- Teleport_To_Item_Button_UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- Teleport_To_Item_Button_UIStroke.Name = "UIStroke"
- Teleport_To_Item_Button_UIStroke.Color = Color3.fromRGB(255, 255, 255)
- Teleport_To_Item_Button_UIStroke.Thickness = 1
- Teleport_To_Item_Button_UIStroke.Enabled = true
- -------------
- Player_Speed_Frame.Name = "Speed"
- Player_Speed_Frame.AnchorPoint = Vector2.new(0.5, 0.5)
- Player_Speed_Frame.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
- Player_Speed_Frame.LayoutOrder = 15
- Player_Speed_Frame.Visible = true
- -------------
- Player_Speed_Frame_UICorner.Name = "UICorner"
- Player_Speed_Frame_UICorner.CornerRadius = UDim.new(0.3, 0)
- -------------
- Player_Speed_Frame_UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- Player_Speed_Frame_UIStroke.Name = "UIStroke"
- Player_Speed_Frame_UIStroke.Color = Color3.fromRGB(255, 255, 255)
- Player_Speed_Frame_UIStroke.Thickness = 1
- Player_Speed_Frame_UIStroke.Enabled = true
- -------------
- Player_Speed_Frame_TextBox.Name = "TextBox"
- Player_Speed_Frame_TextBox.AnchorPoint = Vector2.new(0.5, 0.5)
- Player_Speed_Frame_TextBox.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- Player_Speed_Frame_TextBox.Position = UDim2.new(0.8, 0, 0.5, 0)
- Player_Speed_Frame_TextBox.Size = UDim2.new(0.3, 0, 0.8, 0)
- Player_Speed_Frame_TextBox.Font = Enum.Font.GothamBold
- Player_Speed_Frame_TextBox.TextScaled = true
- Player_Speed_Frame_TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- Player_Speed_Frame_TextBox.TextStrokeTransparency = 0
- -------------
- Player_Speed_Frame_Label.Name = "Speed"
- Player_Speed_Frame_Label.AnchorPoint = Vector2.new(0.5, 0.5)
- Player_Speed_Frame_Label.BackgroundTransparency = 1
- Player_Speed_Frame_Label.Position = UDim2.new(0.35, 0, 0.5, 0)
- Player_Speed_Frame_Label.Size = UDim2.new(0.6, 0, 0.8, 0)
- Player_Speed_Frame_Label.Font = Enum.Font.GothamBold
- Player_Speed_Frame_Label.TextColor3 = Color3.fromRGB(255, 255, 255)
- Player_Speed_Frame_Label.Text = "Set Speed:"
- Player_Speed_Frame_Label.TextScaled = true
- Player_Speed_Frame_Label.TextStrokeTransparency = 0
- -------------
- ResizeButton.Name = "Resize"
- ResizeButton.AnchorPoint = Vector2.new(0.5, 0.5)
- ResizeButton.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
- ResizeButton.Position = UDim2.new(0.885, 0, 0.05, 0)
- ResizeButton.Size = UDim2.new(0.15, 0, 0.05, 0)
- ResizeButton.Font = Enum.Font.GothamBold
- ResizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ResizeButton.TextScaled = true
- ResizeButton.Text = "Retract"
- ResizeButton.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
- ResizeButton.TextStrokeTransparency = 0
- ResizeButton.Visible = true
- -------------
- Resize_Button_UICorner.CornerRadius = UDim.new(0.03, 0)
- -------------
- Resize_Button_UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- Resize_Button_UIStroke.Color = Color3.fromRGB(255, 255, 255)
- Resize_Button_UIStroke.Thickness = 2
- -------------
- TitleLabel.Name = "Title"
- TitleLabel.AnchorPoint = Vector2.new(0.5, 0.5)
- TitleLabel.BackgroundTransparency = 1
- TitleLabel.Position = UDim2.new(0.5, 0, 0.075, 0)
- TitleLabel.Size = UDim2.new(0.9, 0, 0.1, 0)
- TitleLabel.Font = Enum.Font.GothamBold
- TitleLabel.Text = "Lacden Client"
- TitleLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TitleLabel.TextScaled = true
- TitleLabel.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- TitleLabel.TextStrokeTransparency = 0
- --------------------
- TeleportMenu.Name = "TeleportMenu"
- TeleportMenu.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenu.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
- TeleportMenu.Position = UDim2.new(0.5, 0, 0.5, 0)
- TeleportMenu.Size = UDim2.new(0.4, 0, 0.5, 0)
- TeleportMenu.Visible = false
- --------------
- TeleportMenuUICorner.Name = "UICorner"
- TeleportMenuUICorner.CornerRadius = UDim.new(0.03, 0)
- ---------------
- TeleportMenuUIStroke.Name = "UIStroke"
- TeleportMenuUIStroke.Color = Color3.fromRGB(255, 255, 255)
- TeleportMenuUIStroke.Thickness = 2
- TeleportMenuUIStroke.Enabled = true
- -------------
- TeleportMenuButtons.Name = "Buttons"
- TeleportMenuButtons.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenuButtons.BackgroundColor3 = Color3.fromRGB(22, 22, 22)
- TeleportMenuButtons.Position = UDim2.new(0.5, 0, 0.25, 0)
- TeleportMenuButtons.Size = UDim2.new(0.9, 0, 0.125, 0)
- TeleportMenuButtons.Visible = true
- ---------------------
- TeleportMenuButtonsUICorner.Name = "UICorner"
- TeleportMenuButtonsUICorner.CornerRadius = UDim.new(0.2, 0)
- ---------------------
- TeleportMenuButtonsUIGridLayout.Name = "UIGridLayout"
- TeleportMenuButtonsUIGridLayout.CellPadding = UDim2.new(0.03, 0, 0, 0)
- TeleportMenuButtonsUIGridLayout.CellSize = UDim2.new(0.3, 0, 0.8, 0)
- TeleportMenuButtonsUIGridLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- TeleportMenuButtonsUIGridLayout.VerticalAlignment = Enum.VerticalAlignment.Center
- ---------------------
- TeleportPlayerButton.Name = "Player"
- TeleportPlayerButton.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportPlayerButton.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
- TeleportPlayerButton.Font = Enum.Font.GothamBold
- TeleportPlayerButton.Text = "Players"
- TeleportPlayerButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportPlayerButton.TextScaled = true
- TeleportPlayerButton.TextStrokeTransparency = 1
- TeleportPlayerButton.Visible = true
- ---------------------
- TeleportLocationButton.Name = "Location"
- TeleportLocationButton.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportLocationButton.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
- TeleportLocationButton.Font = Enum.Font.GothamBold
- TeleportLocationButton.Text = "Locations"
- TeleportLocationButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportLocationButton.TextScaled = true
- TeleportLocationButton.TextStrokeTransparency = 1
- TeleportLocationButton.Visible = true
- ---------------------
- TeleportMenuPlayersContainer.Name = "PlayersContainer"
- TeleportMenuPlayersContainer.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenuPlayersContainer.BackgroundTransparency = 1
- TeleportMenuPlayersContainer.Position = UDim2.new(0.5, 0, 0.65, 0)
- TeleportMenuPlayersContainer.Size = UDim2.new(0.9, 0, 0.6, 0)
- TeleportMenuPlayersContainer.CanvasSize = UDim2.new(0, 0, 10, 0)
- TeleportMenuPlayersContainer.ScrollBarThickness = 6
- TeleportMenuPlayersContainer.ScrollBarImageColor3 = Color3.fromRGB(255, 255, 255)
- TeleportMenuPlayersContainer.Visible = false
- --------------------
- TeleportMenuPlayersContainerUIPadding.Name = "UIPadding"
- TeleportMenuPlayersContainerUIPadding.PaddingLeft = UDim.new(0.01, 0)
- TeleportMenuPlayersContainerUIPadding.PaddingRight = UDim.new(0.03, 0)
- TeleportMenuPlayersContainerUIPadding.PaddingTop = UDim.new(0.001, 0)
- -------------------
- TeleportMenuPlayersContainerUIGridLayout.Name = "UIGridLayout"
- TeleportMenuPlayersContainerUIGridLayout.CellPadding = UDim2.new(1, 0, 0.004, 0)
- TeleportMenuPlayersContainerUIGridLayout.CellSize = UDim2.new(1, 0, 0.014, 0)
- -------------------
- TeleportMenuPlayerTemplate.Name = "Template"
- TeleportMenuPlayerTemplate.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- TeleportMenuPlayerTemplate.Text = ""
- TeleportMenuPlayerTemplate.Visible = false
- TeleportMenuPlayerTemplate.Archivable = true
- -------------------
- TeleportMenuPlayerTemplateUICorner.Name = "UICorner"
- TeleportMenuPlayerTemplateUICorner.CornerRadius = UDim.new(0.2, 0)
- -------------------
- TeleportMenuPlayerTemplateUIStroke.Name = "UIStroke"
- TeleportMenuPlayerTemplateUIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- TeleportMenuPlayerTemplateUIStroke.Color = Color3.fromRGB(63, 63, 63)
- TeleportMenuPlayerTemplateUIStroke.Thickness = 3
- -------------------
- TeleportMenuPlayerTemplateHeadshot.Name = "Headshot"
- TeleportMenuPlayerTemplateHeadshot.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenuPlayerTemplateHeadshot.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- TeleportMenuPlayerTemplateHeadshot.Position = UDim2.new(0.075, 0, 0.5, 0)
- TeleportMenuPlayerTemplateHeadshot.Size = UDim2.new(0.09, 0, 0.8, 0)
- TeleportMenuPlayerTemplateHeadshot.Visible = true
- TeleportMenuPlayerTemplateHeadshot.Archivable = true
- -------------------
- TeleportMenuPlayerTemplateHeadshotUICorner.Name = "UICorner"
- TeleportMenuPlayerTemplateHeadshotUICorner.CornerRadius = UDim.new(0.2, 0)
- -------------------
- TeleportMenuPlayerTemplatePlayerName.Name = "PlayerName"
- TeleportMenuPlayerTemplatePlayerName.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenuPlayerTemplatePlayerName.BackgroundTransparency = 1
- TeleportMenuPlayerTemplatePlayerName.Position = UDim2.new(0.3, 0, 0.5, 0)
- TeleportMenuPlayerTemplatePlayerName.Size = UDim2.new(0.3, 0, 0.6, 0)
- TeleportMenuPlayerTemplatePlayerName.Font = Enum.Font.GothamBold
- TeleportMenuPlayerTemplatePlayerName.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportMenuPlayerTemplatePlayerName.TextScaled = true
- TeleportMenuPlayerTemplatePlayerName.TextStrokeTransparency = 0
- TeleportMenuPlayerTemplatePlayerName.Visible = true
- TeleportMenuPlayerTemplatePlayerName.Archivable = true
- -------------------
- TeleportMenuPlayerTemplatePlayerPosition.Name = "PlayerPosition"
- TeleportMenuPlayerTemplatePlayerPosition.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenuPlayerTemplatePlayerPosition.BackgroundTransparency = 1
- TeleportMenuPlayerTemplatePlayerPosition.Position = UDim2.new(0.75, 0, 0.5, 0)
- TeleportMenuPlayerTemplatePlayerPosition.Size = UDim2.new(0.45, 0, 0.6, 0)
- TeleportMenuPlayerTemplatePlayerPosition.Font = Enum.Font.GothamBold
- TeleportMenuPlayerTemplatePlayerPosition.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportMenuPlayerTemplatePlayerPosition.TextScaled = true
- TeleportMenuPlayerTemplatePlayerPosition.TextStrokeTransparency = 0
- TeleportMenuPlayerTemplatePlayerPosition.Visible = true
- TeleportMenuPlayerTemplatePlayerPosition.Archivable = true
- -------------------
- TeleportMenuLocationsContainer.Name = "LocationsContainer"
- TeleportMenuLocationsContainer.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenuLocationsContainer.BackgroundTransparency = 1
- TeleportMenuLocationsContainer.Position = UDim2.new(0.5, 0, 0.65, 0)
- TeleportMenuLocationsContainer.Size = UDim2.new(0.9, 0, 0.6, 0)
- TeleportMenuLocationsContainer.CanvasSize = UDim2.new(0, 0, 10, 0)
- TeleportMenuLocationsContainer.ScrollBarThickness = 6
- TeleportMenuLocationsContainer.ScrollBarImageColor3 = Color3.fromRGB(255, 255, 255)
- TeleportMenuLocationsContainer.Archivable = true
- TeleportMenuLocationsContainer.Visible = false
- --------------------
- TeleportMenuLocationsContainerUIPadding.Name = "UIPadding"
- TeleportMenuLocationsContainerUIPadding.PaddingLeft = UDim.new(0.01, 0)
- TeleportMenuLocationsContainerUIPadding.PaddingRight = UDim.new(0.03, 0)
- TeleportMenuLocationsContainerUIPadding.PaddingTop = UDim.new(0.001, 0)
- -------------------
- TeleportMenuLocationsContainerUIGridLayout.Name = "UIGridLayout"
- TeleportMenuLocationsContainerUIGridLayout.CellPadding = UDim2.new(1, 0, 0.004, 0)
- TeleportMenuLocationsContainerUIGridLayout.CellSize = UDim2.new(1, 0, 0.014, 0)
- -------------------
- TeleportMenuLocationsTemplate.Name = "Template"
- TeleportMenuLocationsTemplate.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- TeleportMenuLocationsTemplate.Text = ""
- TeleportMenuLocationsTemplate.Visible = false
- TeleportMenuLocationsTemplate.Archivable = true
- -------------------
- TeleportMenuLocationsTemplateUICorner.Name = "UICorner"
- TeleportMenuLocationsTemplateUICorner.CornerRadius = UDim.new(0.2, 0)
- -------------------
- TeleportMenuLocationsTemplateUIStroke.Name = "UIStroke"
- TeleportMenuLocationsTemplateUIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- TeleportMenuLocationsTemplateUIStroke.Color = Color3.fromRGB(63, 63, 63)
- TeleportMenuLocationsTemplateUIStroke.Thickness = 3
- -------------------
- TeleportMenuLocationsTemplateLocationName.Name = "LocationName"
- TeleportMenuLocationsTemplateLocationName.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenuLocationsTemplateLocationName.BackgroundTransparency = 1
- TeleportMenuLocationsTemplateLocationName.Position = UDim2.new(0.3, 0, 0.5, 0)
- TeleportMenuLocationsTemplateLocationName.Size = UDim2.new(0.3, 0, 0.6, 0)
- TeleportMenuLocationsTemplateLocationName.Font = Enum.Font.GothamBold
- TeleportMenuLocationsTemplateLocationName.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportMenuLocationsTemplateLocationName.TextScaled = true
- TeleportMenuLocationsTemplateLocationName.TextStrokeTransparency = 0
- TeleportMenuLocationsTemplateLocationName.Visible = true
- TeleportMenuLocationsTemplateLocationName.Archivable = true
- -------------------
- TeleportMenuLocationsTemplateLocationPosition.Name = "LocationPosition"
- TeleportMenuLocationsTemplateLocationPosition.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenuLocationsTemplateLocationPosition.BackgroundTransparency = 1
- TeleportMenuLocationsTemplateLocationPosition.Position = UDim2.new(0.75, 0, 0.5, 0)
- TeleportMenuLocationsTemplateLocationPosition.Size = UDim2.new(0.45, 0, 0.6, 0)
- TeleportMenuLocationsTemplateLocationPosition.Font = Enum.Font.GothamBold
- TeleportMenuLocationsTemplateLocationPosition.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportMenuLocationsTemplateLocationPosition.TextScaled = true
- TeleportMenuLocationsTemplateLocationPosition.TextStrokeTransparency = 0
- TeleportMenuLocationsTemplateLocationPosition.Visible = true
- TeleportMenuLocationsTemplateLocationPosition.Archivable = true
- -------------------
- TeleportMenuClose.Name = "Close"
- TeleportMenuClose.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenuClose.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
- TeleportMenuClose.Position = UDim2.new(0.95, 0, 0.08, 0)
- TeleportMenuClose.Size = UDim2.new(0.07, 0, 0.1, 0)
- TeleportMenuClose.Font = Enum.Font.GothamBold
- TeleportMenuClose.Text = "X"
- TeleportMenuClose.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportMenuClose.TextScaled = true
- TeleportMenuClose.TextStrokeTransparency = 1
- TeleportMenuClose.Visible = true
- --------------------
- TeleportMenuCloseUICorner.Name = "UICorner"
- TeleportMenuCloseUICorner.CornerRadius = UDim.new(0.2, 0)
- --------------------
- PlayerPositionLabel.Name = "PlayerPosition"
- PlayerPositionLabel.AnchorPoint = Vector2.new(0.5, 0.5)
- PlayerPositionLabel.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- PlayerPositionLabel.Position = UDim2.new(0.5, 0, 0.95, 0)
- PlayerPositionLabel.Size = UDim2.new(0.9, 0, 0.08, 0)
- PlayerPositionLabel.Font = Enum.Font.GothamBold
- PlayerPositionLabel.Text = ""
- PlayerPositionLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- PlayerPositionLabel.TextScaled = true
- PlayerPositionLabel.TextStrokeTransparency = 0
- PlayerPositionLabel.Archivable = true
- PlayerPositionLabel.Visible = true
- ---------------------
- PlayerPositionUICorner.Name = "UICorner"
- PlayerPositionUICorner.CornerRadius = UDim.new(0.2, 0)
- --------------------
- ItemAmountLabel.Name = "AmountOfItems"
- ItemAmountLabel.AnchorPoint = Vector2.new(0.5, 0.5)
- ItemAmountLabel.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- ItemAmountLabel.Position = UDim2.new(0.5, 0, 0.85, 0)
- ItemAmountLabel.Size = UDim2.new(0.9, 0, 0.08, 0)
- ItemAmountLabel.Font = Enum.Font.GothamBold
- ItemAmountLabel.Text = `Items: 0`
- ItemAmountLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- ItemAmountLabel.TextScaled = true
- ItemAmountLabel.TextStrokeTransparency = 0
- ItemAmountLabel.Archivable = true
- ItemAmountLabel.Visible = true
- ---------------------
- ItemAmountLabelUICorner.Name = "UICorner"
- ItemAmountLabelUICorner.CornerRadius = UDim.new(0.2, 0)
- --------------------
- TrashAmountLabel.Name = "AmountOfTrashes"
- TrashAmountLabel.AnchorPoint = Vector2.new(0.5, 0.5)
- TrashAmountLabel.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- TrashAmountLabel.Position = UDim2.new(0.5, 0, 0.75, 0)
- TrashAmountLabel.Size = UDim2.new(0.9, 0, 0.08, 0)
- TrashAmountLabel.Font = Enum.Font.GothamBold
- TrashAmountLabel.Text = `Trashes: 0`
- TrashAmountLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TrashAmountLabel.TextScaled = true
- TrashAmountLabel.TextStrokeTransparency = 0
- TrashAmountLabel.Archivable = true
- TrashAmountLabel.Visible = true
- ---------------------
- TrashAmountLabelUICorner.Name = "UICorner"
- TrashAmountLabelUICorner.CornerRadius = UDim.new(0.2, 0)
- ---------------------
- TeleportMenuTitle.Name = "Title"
- TeleportMenuTitle.AnchorPoint = Vector2.new(0.5, 0.5)
- TeleportMenuTitle.BackgroundTransparency = 1
- TeleportMenuTitle.Position = UDim2.new(0.5, 0, 0.075, 0)
- TeleportMenuTitle.Size = UDim2.new(0.8, 0, 0.1, 0)
- TeleportMenuTitle.Font = Enum.Font.GothamBold
- TeleportMenuTitle.Text = "Teleport Menu"
- TeleportMenuTitle.TextColor3 = Color3.fromRGB(0, 0, 0)
- TeleportMenuTitle.TextScaled = true
- TeleportMenuTitle.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- TeleportMenuTitle.TextStrokeTransparency = 0
- TeleportMenuTitle.Visible = true
- ------------------
- local ItemHighlight = Instance.new("Highlight")
- ------------------
- ItemHighlight.Name = "Highlight"
- ItemHighlight.Archivable = true
- ItemHighlight.Enabled = true
- ItemHighlight.OutlineColor = Color3.fromRGB(255, 255, 255)
- ItemHighlight.FillColor = Color3.fromRGB(255, 255, 0)
- ItemHighlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
- local FrameMode = "Retract"
- local LoopPlayerContainer = true
- local SpawnLocation = CFrame.new(255, 75, -423)
- local AutoFind = true
- local AutoJanitor = false
- local function TweenFrameSize()
- local NewSize = if FrameMode == "Retract" then UDim2.new(0.15, 0, 0, 0) else UDim2.new(0.15, 0, 0.4, 0)
- local NewPosition = if FrameMode == "Retract" then UDim2.new(0.886, 0, 0.125, 0) else UDim2.new(0.885, 0, 0.3, 0)
- if FrameMode == "Retract" then FrameMode = "Expand" else FrameMode = "Retract" end
- ResizeButton.Text = FrameMode
- local tween = TweenService:Create(Frame, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {Size = NewSize, Position = NewPosition})
- tween:Play()
- end
- local function ToggleSwitch(Frame: Frame, Mode: boolean)
- local NewPosition = Mode and UDim2.new(0.875, 0, 0.5, 0) or UDim2.new(0, 0, 0.5, 0)
- local Color = Mode and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0)
- Frame.BackgroundColor3 = Color
- local tween = TweenService:Create(Frame.Button, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {Position = NewPosition})
- tween:Play()
- return not Mode
- end
- local function GetItems()
- local ItemsName = {
- "Cadeau des 1 an blanc",
- "Cadeau des 1 an rose",
- "Cadeau des 1 an jaune",
- "Part de gateau des 1 an",
- "Cadeau des 1 an vert",
- "Cadeau des 1 an bleu",
- "Cahier des 1 an",
- "Stylo des 1 an",
- }
- local Items = {}
- for _, desc in Workspace:FindFirstChild("Oxi'sInteractable"):FindFirstChild("EventSpawners"):GetDescendants() do
- if not table.find(ItemsName, desc.Name) then continue end
- table.insert(Items, desc.Parent)
- end
- return Items
- end
- local function GetTrashes(mode)
- local Trashes = {}
- for _, desc in Workspace:FindFirstChild("Oxi'sInteractable"):FindFirstChild("Trash"):FindFirstChild(mode):GetDescendants() do
- if desc.Name ~= "Trash" then continue end
- if not desc.Showed.Value then continue end
- table.insert(Trashes, desc)
- end
- return Trashes
- end
- local function fireproximityprompt(ProximityPrompt: ProximityPrompt, Amount: Integer, Skip: Boolean)
- assert(ProximityPrompt, "Argument #1 Missing or nil")
- assert(typeof(ProximityPrompt) == "Instance" and ProximityPrompt:IsA("ProximityPrompt"), "Attempted to fire a Value that is not a ProximityPrompt")
- local HoldDuration = ProximityPrompt.HoldDuration
- if Skip then
- ProximityPrompt.HoldDuration = 0
- end
- for i = 1, Amount or 1 do
- ProximityPrompt:InputHoldBegin()
- if Skip then
- local RunService = game:GetService("RunService")
- local Start = time()
- repeat
- RunService.Heartbeat:Wait(0.1)
- until time() - Start > HoldDuration
- end
- ProximityPrompt:InputHoldEnd()
- end
- ProximityPrompt.HoldDuration = HoldDuration
- end
- local function JanitorTeleport(Frame, Mode)
- local retrunedValue = ToggleSwitch(Frame, Mode)
- AutoJanitor = retrunedValue
- while AutoJanitor do
- local Trashes = GetTrashes("FloorPuddle")
- if not Trashes then return end
- for _, Trash in Trashes do
- if not AutoJanitor then continue end
- local Character = LocalPlayer.Character
- if not Character then continue end
- local ProximityPrompt = Trash:FindFirstChildOfClass("ProximityPrompt")
- if not ProximityPrompt then continue end
- local targetCFrame = Trash.CFrame
- if not targetCFrame then continue end
- Character:PivotTo(targetCFrame + Vector3.new(0, 3, 0))
- fireproximityprompt(ProximityPrompt, 0, true)
- task.wait(1.25)
- Character:PivotTo(SpawnLocation + Vector3.new(0, 200, 0))
- task.wait(0.3)
- end
- task.wait(1)
- end
- end
- local function TeleportPlayerToItems()
- local Items = GetItems()
- if not Items then return end
- for _, item in Items do
- local Character = LocalPlayer.Character
- if not Character then continue end
- local targetCFrame = nil
- local proximityPrompt = nil
- for _, desc in item:GetDescendants() do
- if desc.Name == "ProximityPrompt" then
- proximityPrompt = desc
- continue
- end
- if desc.Name == "Spawner" then
- targetCFrame = desc
- continue
- end
- end
- if not proximityPrompt then continue end
- if not targetCFrame then continue end
- Character:PivotTo(targetCFrame.CFrame + Vector3.new(0, 3, 0))
- fireproximityprompt(proximityPrompt, 0, true)
- print(`Teleported to {item.Parent.Name}`)
- task.wait(0.3)
- Character:PivotTo(SpawnLocation + Vector3.new(0, 200, 0))
- task.wait(0.2)
- end
- local Character = LocalPlayer.Character
- if not Character then return end
- Character:PivotTo(SpawnLocation)
- end
- local function HighlightAllItems()
- local Items = GetItems()
- if not Items then return end
- for _, item in Items do
- if item.Parent:FindFirstChild("Highlight") then continue end
- local HighlightClone = ItemHighlight:Clone()
- local HighlightClone2 = ItemHighlight:Clone()
- HighlightClone.Parent = item.Parent
- HighlightClone.Adornee = item
- HighlightClone2.Parent = item.Parent
- HighlightClone2.Adornee = item
- end
- return #Items
- end
- local function SetPlayerSpeed(amount: number)
- if type(tonumber(amount)) ~= "number" then return end
- if tonumber(amount) > 32 then amount = 32 Player_Speed_Frame_TextBox.Text = 32 end
- local Character = LocalPlayer.Character
- if not Character then return end
- local Humanoid = Character:FindFirstChild("Humanoid")
- if not Humanoid then return end
- Humanoid.WalkSpeed = amount
- end
- local function OpenTeleportMenu()
- TeleportMenu.Visible = true
- TeleportMenuPlayersContainer.Visible = false
- LoopPlayerContainer = true
- end
- local function CloseTeleportMenu()
- TeleportMenu.Visible = false
- LoopPlayerContainer = false
- end
- local function GeneratePlayers()
- local PLACEHOLDER_IMAGE = "rbxassetid://0"
- for _, template in TeleportMenuPlayersContainer:GetChildren() do
- if template.Name == "Template" or not template:IsA("TextButton") then continue end
- template:Destroy()
- end
- for _, player: Player in Players:GetChildren() do
- local userId = player.UserId
- local thumbType = Enum.ThumbnailType.HeadShot
- local thumbSize = Enum.ThumbnailSize.Size420x420
- local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
- local Character = player.Character
- if not Character then continue end
- local template = TeleportMenuPlayerTemplate:Clone()
- template.Name = player.Name
- template.Headshot.Image = content or PLACEHOLDER_IMAGE
- template.PlayerName.Text = player.Name
- template.PlayerPosition.Text = `{Character.PrimaryPart.Position.X}, {Character.PrimaryPart.Position.Y}, {Character.PrimaryPart.Position.Z}`
- template.Parent = TeleportMenuPlayersContainer
- template.Visible = Character.PrimaryPart.Position.X ~= 0
- template.Activated:Connect(function ()
- task.delay(0.5, function ()
- local Character = LocalPlayer.Character
- if not Character then return end
- local targetCharacter = player.Character
- if not targetCharacter then return end
- local targetCharacterCFrame = targetCharacter.PrimaryPart.CFrame
- if not targetCharacterCFrame then return end
- Character:PivotTo(targetCharacterCFrame + Vector3.new(0, 2, 0))
- end)
- end)
- end
- end
- local function GenerateLocations()
- for _, location: SpawnLocation in workspace:FindFirstChild("Oxi'sInteractable"):FindFirstChild("Spawns"):GetChildren() do
- print(location)
- local template = TeleportMenuLocationsTemplate:Clone()
- template.Name = location.Name
- template.LocationName.Text = location.Name
- template.LocationPosition.Text = `{location.Position.X}, {location.Position.Y}, {location.Position.Z}`
- template.Visible = true
- template.Parent = TeleportMenuLocationsContainer
- template.Activated:Connect(function ()
- task.delay(0.5, function ()
- local Character = LocalPlayer.Character
- if not Character then return end
- local targetCFrame = location.CFrame
- if not targetCFrame then return end
- Character:PivotTo(targetCFrame + Vector3.new(0, 2, 0))
- end)
- end)
- end
- end
- local function EnabledPlayerTeleportContainer()
- TeleportMenuPlayersContainer.Visible = true
- TeleportMenuLocationsContainer.Visible = false
- task.spawn(function ()
- while LoopPlayerContainer do
- GeneratePlayers()
- task.wait(15)
- end
- end)
- end
- local function EnabledLocationsTeleportContainer()
- TeleportMenuLocationsContainer.Visible = true
- TeleportMenuPlayersContainer.Visible = false
- end
- Player_Speed_Frame_TextBox:GetPropertyChangedSignal("Text"):Connect(function ()
- SetPlayerSpeed(Player_Speed_Frame_TextBox.Text)
- end)
- RunService.Heartbeat:Connect(function ()
- local Character = LocalPlayer.Character
- if not Character then return end
- local HumanoidRootPart = Character:FindFirstChild('HumanoidRootPart')
- if not HumanoidRootPart then return end
- PlayerPositionLabel.Text = `{math.round(HumanoidRootPart.Position.X)}, {math.round(HumanoidRootPart.Position.Y)}, {math.round(HumanoidRootPart.Position.Z)}`
- TrashAmountLabel.Text = `Trashes: {#GetTrashes("FloorPuddle")}`
- if AutoFind then
- local amount = HighlightAllItems()
- ItemAmountLabel.Text = `Items: {amount}`
- end
- end)
- ResizeButton.Activated:Connect(TweenFrameSize)
- Janitor_Frame_Toggle_Button.Activated:Connect(function ()
- JanitorTeleport(Janitor_Frame_Toggle, AutoJanitor)
- end)
- TeleportMenuClose.Activated:Connect(CloseTeleportMenu)
- TeleportPlayerButton.Activated:Connect(EnabledPlayerTeleportContainer)
- TeleportLocationButton.Activated:Connect(EnabledLocationsTeleportContainer)
- Teleport_Player_Button.Activated:Connect(OpenTeleportMenu)
- Teleport_To_Item_Button.Activated:Connect(TeleportPlayerToItems)
- GenerateLocations()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement