Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --顶部UI
- local TweenService = game:GetService("TweenService")
- local UserInputService = game:GetService("UserInputService")
- local ContextActionService = game:GetService("ContextActionService")
- local TopbarUI = game.Players.LocalPlayer.PlayerGui.TopbarUI.ButtonsLeft
- local MainUI = game.Players.LocalPlayer.PlayerGui.Sciptmode.Main
- local ModeUI = MainUI.Modifier.List.Mode
- local ItemUI = MainUI.Modifier.List.Item
- local ThemeUI = MainUI.Modifier.List.Theme
- local ModeSettings = MainUI.Modifier.Preview
- local Open = false
- local Mode = false
- local Item = false
- local Theme = false
- local MenuButton = Instance.new("TextButton")
- MenuButton.Size = UDim2.new(0, 44, 0, 44)
- MenuButton.Text = " "
- MenuButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- MenuButton.BackgroundTransparency = 0.3
- MenuButton.Parent = TopbarUI
- MenuButton.LayoutOrder = -1
- MenuButton.Name = "Scrpts-Mode MenuButton"
- local MenuButtonImage = Instance.new("ImageLabel")
- MenuButtonImage.BackgroundTransparency = 1
- MenuButtonImage.Size = UDim2.new(0.75, 0, 0.75, 0)
- MenuButtonImage.AnchorPoint = Vector2.new(0.5, 0.5)
- MenuButtonImage.Position = UDim2.new(0.5, 0, 0.5, 0)
- MenuButtonImage.Image = "rbxassetid://106301167631445"
- MenuButtonImage.Parent = MenuButton
- local UIAspectRatioConstraint1 = Instance.new("UIAspectRatioConstraint")
- UIAspectRatioConstraint1.Parent = MenuButtonImage
- local TextTitle = Instance.new("TextLabel")
- TextTitle.BackgroundTransparency = 1
- TextTitle.Size = UDim2.new(0.128, 0, 1, 0)
- TextTitle.Font = Enum.Font.Oswald
- TextTitle.TextScaled = true
- TextTitle.Text = "Scripts Mode"
- TextTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextTitle.Parent = TopbarUI
- TextTitle.LayoutOrder = 0
- TextTitle.Name = "Scripts Mode"
- local Corner1 = Instance.new("UICorner")
- Corner1.Parent = MenuButton
- Corner1.CornerRadius = UDim.new(1, 1)
- local List = Instance.new("Frame")
- List.Size = UDim2.new(0, 0, 0, 0)
- List.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- List.BackgroundTransparency = 0.3
- List.Position = UDim2.new(0, 0, 1, 0)
- List.Size = UDim2.new(1, 0, 0, 0)
- List.Parent = MenuButton
- local Corner2 = Instance.new("UICorner")
- Corner2.Parent = List
- Corner2.CornerRadius = UDim.new(1, 1)
- local UIGridLayout = Instance.new("UIGridLayout")
- UIGridLayout.CellSize = UDim2.new(1, 0, 0.29, 0)
- UIGridLayout.CellPadding = UDim2.new(0, 5, 0, 5)
- UIGridLayout.Parent = List
- local ModeButton = Instance.new("ImageButton")
- ModeButton.BackgroundTransparency = 1
- ModeButton.LayoutOrder = 1
- ModeButton.Image = "rbxassetid://85027147222252"
- ModeButton.Parent = List
- local UIAspectRatioConstraint2 = Instance.new("UIAspectRatioConstraint")
- UIAspectRatioConstraint2.Parent = ModeButton
- local Corner1 = Instance.new("UICorner")
- Corner1.Parent = ModeButton
- Corner1.CornerRadius = UDim.new(1, 1)
- local ItemButton = Instance.new("ImageButton")
- ItemButton.BackgroundTransparency = 1
- ItemButton.LayoutOrder = 2
- ItemButton.Image = "rbxassetid://109328845782391"
- ItemButton.Parent = List
- local UIAspectRatioConstraint3 = Instance.new("UIAspectRatioConstraint")
- UIAspectRatioConstraint3.Parent = ItemButton
- local Corner1 = Instance.new("UICorner")
- Corner1.Parent = ItemButton
- Corner1.CornerRadius = UDim.new(1, 1)
- local ThemeButton = Instance.new("ImageButton")
- ThemeButton.BackgroundTransparency = 1
- ThemeButton.LayoutOrder = 3
- ThemeButton.Image = "rbxassetid://107425974390808"
- ThemeButton.Parent = List
- local UIAspectRatioConstraint3 = Instance.new("UIAspectRatioConstraint")
- UIAspectRatioConstraint3.Parent = ThemeButton
- local Corner1 = Instance.new("UICorner")
- Corner1.Parent = ThemeButton
- Corner1.CornerRadius = UDim.new(1, 1)
- local backgroundGoal1 = {BackgroundColor3 = Color3.fromRGB(255, 255, 255)}
- local backgroundTween1 = TweenService:Create(MenuButton, TweenInfo.new(0.1), backgroundGoal1)
- local backgroundGoal2 = {BackgroundColor3 = Color3.fromRGB(0, 0, 0)}
- local backgroundTween2 = TweenService:Create(MenuButton, TweenInfo.new(0.1), backgroundGoal2)
- local imageGoal1 = {ImageColor3 = Color3.fromRGB(0, 0, 0)}
- local imageTween1 = TweenService:Create(MenuButtonImage, TweenInfo.new(0.5), imageGoal1)
- local imageGoal2 = {ImageColor3 = Color3.fromRGB(255, 255, 255)}
- local imageTween2 = TweenService:Create(MenuButtonImage, TweenInfo.new(0.5), imageGoal2)
- local listGoalOpen = {Size = UDim2.new(1, 0, 3.5, 0)}
- local listTweenOpen = TweenService:Create(List, TweenInfo.new(0.5), listGoalOpen)
- local listGoalClose = {Size = UDim2.new(1, 0, 0, 0)}
- local listTweenClose = TweenService:Create(List, TweenInfo.new(0.5), listGoalClose)
- local transparencyGoalVisible = {ImageTransparency = 0}
- local transparencyGoalHidden = {ImageTransparency = 1}
- local modeTweenVisible = TweenService:Create(ModeButton, TweenInfo.new(0.2), transparencyGoalVisible)
- local itemTweenVisible = TweenService:Create(ItemButton, TweenInfo.new(0.2), transparencyGoalVisible)
- local ThemeTweenVisible = TweenService:Create(ThemeButton, TweenInfo.new(0.2), transparencyGoalVisible)
- local modeTweenHidden = TweenService:Create(ModeButton, TweenInfo.new(0.2), transparencyGoalHidden)
- local itemTweenHidden = TweenService:Create(ItemButton, TweenInfo.new(0.2), transparencyGoalHidden)
- local ThemeTweenHidden = TweenService:Create(ThemeButton, TweenInfo.new(0.2), transparencyGoalHidden)
- local modeImageGoal1 = {ImageColor3 = Color3.fromRGB(0, 0, 0)}
- local modeBackgroundGoal1 = {BackgroundTransparency = 0}
- local modeImageTween1 = TweenService:Create(ModeButton, TweenInfo.new(0.2), modeImageGoal1)
- local modeBackgroundTween1 = TweenService:Create(ModeButton, TweenInfo.new(0.2), modeBackgroundGoal1)
- local modeImageGoal2 = {ImageColor3 = Color3.fromRGB(255, 255, 255)}
- local modeBackgroundGoal2 = {BackgroundTransparency = 1}
- local modeImageTween2 = TweenService:Create(ModeButton, TweenInfo.new(0.2), modeImageGoal2)
- local modeBackgroundTween2 = TweenService:Create(ModeButton, TweenInfo.new(0.2), modeBackgroundGoal2)
- local itemImageGoal1 = {ImageColor3 = Color3.fromRGB(0, 0, 0)}
- local itemBackgroundGoal1 = {BackgroundTransparency = 0}
- local itemImageTween1 = TweenService:Create(ItemButton, TweenInfo.new(0.2), itemImageGoal1)
- local itemBackgroundTween1 = TweenService:Create(ItemButton, TweenInfo.new(0.2), itemBackgroundGoal1)
- local itemImageGoal2 = {ImageColor3 = Color3.fromRGB(255, 255, 255)}
- local itemBackgroundGoal2 = {BackgroundTransparency = 1}
- local itemImageTween2 = TweenService:Create(ItemButton, TweenInfo.new(0.2), itemImageGoal2)
- local itemBackgroundTween2 = TweenService:Create(ItemButton, TweenInfo.new(0.2), itemBackgroundGoal2)
- local placeImageGoal1 = {ImageColor3 = Color3.fromRGB(0, 0, 0)}
- local placeBackgroundGoal1 = {BackgroundTransparency = 0}
- local ThemeImageTween1 = TweenService:Create(ThemeButton, TweenInfo.new(0.2), placeImageGoal1)
- local ThemeBackgroundTween1 = TweenService:Create(ThemeButton, TweenInfo.new(0.2), placeBackgroundGoal1)
- local ThemeImageGoal2 = {ImageColor3 = Color3.fromRGB(255, 255, 255)}
- local ThemeBackgroundGoal2 = {BackgroundTransparency = 1}
- local ThemeImageTween2 = TweenService:Create(ThemeButton, TweenInfo.new(0.2), ThemeImageGoal2)
- local ThemeBackgroundTween2 = TweenService:Create(ThemeButton, TweenInfo.new(0.2), ThemeBackgroundGoal2)
- local UserInputService = game:GetService("UserInputService")
- local GuiService = game:GetService("GuiService")
- local function ToggleMenu()
- if Open == false then
- Open = true
- backgroundTween1:Play()
- imageTween1:Play()
- listTweenOpen:Play()
- modeTweenVisible:Play()
- itemTweenVisible:Play()
- ThemeTweenVisible:Play()
- if Mode then
- modeBackgroundTween1:Play()
- end
- if Item then
- itemBackgroundTween1:Play()
- end
- if Theme then
- ThemeBackgroundTween1:Play()
- end
- else
- Open = false
- Mode = false
- Item = false
- Theme = false
- MainUI.Visible = false
- ModeUI.Visible = false
- ItemUI.Visible = false
- ThemeUI.Visible = false
- backgroundTween2:Play()
- imageTween2:Play()
- listTweenClose:Play()
- modeTweenHidden:Play()
- itemTweenHidden:Play()
- ThemeTweenHidden:Play()
- modeBackgroundTween2:Play()
- itemBackgroundTween2:Play()
- ThemeBackgroundTween2:Play()
- itemImageTween2:Play()
- itemBackgroundTween2:Play()
- modeImageTween2:Play()
- modeBackgroundTween2:Play()
- ThemeImageTween2:Play()
- ThemeBackgroundTween2:Play()
- end
- end
- ModeButton.MouseButton1Click:Connect(function()
- if Mode == false then
- MainUI.Visible = true
- ModeUI.Visible = true
- ItemUI.Visible = false
- ThemeUI.Visible = false
- Mode = true
- Item = false
- Theme = false
- itemImageTween2:Play()
- itemBackgroundTween2:Play()
- ThemeImageTween2:Play()
- ThemeBackgroundTween2:Play()
- modeImageTween1:Play()
- modeBackgroundTween1:Play()
- else
- MainUI.Visible = false
- ModeUI.Visible = false
- ItemUI.Visible = false
- ThemeUI.Visible = false
- Mode = false
- modeImageTween2:Play()
- modeBackgroundTween2:Play()
- end
- end)
- ItemButton.MouseButton1Click:Connect(function()
- if Item == false then
- Item = true
- Mode = false
- Theme = false
- MainUI.Visible = true
- ModeUI.Visible = false
- ItemUI.Visible = true
- ThemeUI.Visible = false
- modeImageTween2:Play()
- modeBackgroundTween2:Play()
- ThemeImageTween2:Play()
- ThemeBackgroundTween2:Play()
- itemImageTween1:Play()
- itemBackgroundTween1:Play()
- else
- MainUI.Visible = false
- ModeUI.Visible = false
- ItemUI.Visible = false
- ThemeUI.Visible = false
- Item = false
- itemImageTween2:Play()
- itemBackgroundTween2:Play()
- end
- end)
- ThemeButton.MouseButton1Click:Connect(function()
- if Theme == false then
- Theme = true
- Mode = false
- Item = false
- MainUI.Visible = true
- ModeUI.Visible = false
- ItemUI.Visible = false
- ThemeUI.Visible = true
- modeImageTween2:Play()
- modeBackgroundTween2:Play()
- itemImageTween2:Play()
- itemBackgroundTween2:Play()
- ThemeImageTween1:Play()
- ThemeBackgroundTween1:Play()
- else
- Theme = false
- MainUI.Visible = false
- ModeUI.Visible = false
- ItemUI.Visible = false
- ThemeUI.Visible = false
- ThemeImageTween2:Play()
- ThemeBackgroundTween2:Play()
- end
- end)
- local KeyCode = Enum.KeyCode.N
- MenuButton.MouseButton1Click:Connect(function()
- ToggleMenu()
- end)
- UserInputService.InputBegan:Connect(function(input, gameProcessed)
- if input.KeyCode == KeyCode and not gameProcessed then
- ToggleMenu()
- end
- end)
- --设置
- local UserInputService = game:GetService("UserInputService")
- local TweenService = game:GetService("TweenService")
- local Expand = false
- local MainUI = game.Players.LocalPlayer.PlayerGui.MainUI.Settings
- local Original = MainUI.List
- local Feature = Instance.new("Frame")
- local ScrollingFrame1 = Instance.new("ScrollingFrame")
- local UIListLayout1 = Instance.new("UIListLayout")
- local UIListLayout2 = Instance.new("UIListLayout")
- local UIListLayout3 = Instance.new("UIListLayout")
- local GameButton = Instance.new("ImageButton")
- local ScriptButton = Instance.new("ImageButton")
- local UIAspectRatioConstraint1 = Instance.new("UIAspectRatioConstraint")
- local UIAspectRatioConstraint2 = Instance.new("UIAspectRatioConstraint")
- local UIAspectRatioConstraint3 = Instance.new("UIAspectRatioConstraint")
- local UIAspectRatioConstraint4 = Instance.new("UIAspectRatioConstraint")
- local UICorner1 = Instance.new("UICorner")
- local UICorner2 = Instance.new("UICorner")
- local UICorner3 = Instance.new("UICorner")
- local UICorner4 = Instance.new("UICorner")
- local UICorner5 = Instance.new("UICorner")
- local UICorner6 = Instance.new("UICorner")
- local UICorner7 = Instance.new("UICorner")
- local UICorner8 = Instance.new("UICorner")
- local UICorner9 = Instance.new("UICorner")
- local UICorner10 = Instance.new("UICorner")
- local UICorner11 = Instance.new("UICorner")
- local UICorner12 = Instance.new("UICorner")
- local ImageLabel1 = Instance.new("ImageLabel")
- local ImageButton1 = Instance.new("ImageButton")
- local UIStroke1 = Instance.new("UIStroke")
- local UIStroke2 = Instance.new("UIStroke")
- local UIStroke3 = Instance.new("UIStroke")
- local UIStroke4 = Instance.new("UIStroke")
- local UIGradient1 = Instance.new("UIGradient")
- local Settings = Instance.new("Frame")
- local Separator = Instance.new("TextLabel")
- local Language = Instance.new("TextButton")
- local Toggle = Instance.new("TextLabel")
- local UIPadding1 = Instance.new("UIPadding")
- local UIPadding2 = Instance.new("UIPadding")
- local UIPadding3 = Instance.new("UIPadding")
- local UIPadding4 = Instance.new("UIPadding")
- local TextBox1 = Instance.new("TextBox")
- local TextLabel1 = Instance.new("TextLabel")
- local ENUS = Instance.new("TextButton")
- local ZHCN = Instance.new("TextButton")
- local ZHTW = Instance.new("TextButton")
- local JAJP = Instance.new("TextButton")
- Feature.Parent = MainUI
- Feature.Name = "Feature"
- Feature.BackgroundTransparency = 1
- Feature.Position = UDim2.new(-0.22, 0, 0, 0)
- Feature.Size = UDim2.new(0.176, 0, 1, 0)
- UIListLayout1.Padding = UDim.new(0, 10)
- UIListLayout1.Parent = Feature
- GameButton.BackgroundTransparency = 0.1
- GameButton.Position = UDim2.new(1.064, 0, 0.152, 0)
- GameButton.Size = UDim2.new(1.064, 0, 0.152, 0)
- GameButton.Image = "rbxassetid://94786187453458"
- GameButton.Name = "Game"
- GameButton.BackgroundColor3 = Color3.fromRGB(30, 17, 16)
- GameButton.ImageColor3 = Color3.fromRGB(255, 222, 189)
- GameButton.Parent = Feature
- GameButton.ZIndex = 2150
- UIAspectRatioConstraint1.Parent = GameButton
- UICorner1.CornerRadius = UDim.new(0, 8)
- UICorner1.Parent = GameButton
- UIStroke1.Color = Color3.fromRGB(255, 222, 189)
- UIStroke1.Parent = GameButton
- ScriptButton.BackgroundTransparency = 0.1
- ScriptButton.Position = UDim2.new(1.064, 0, 0.152, 0)
- ScriptButton.Size = UDim2.new(1.064, 0, 0.152, 0)
- ScriptButton.Image = "rbxassetid://106301167631445"
- ScriptButton.Name = "Script"
- ScriptButton.BackgroundColor3 = Color3.fromRGB(30, 17, 16)
- ScriptButton.Parent = Feature
- ScriptButton.ZIndex = 2150
- UIAspectRatioConstraint2.Parent = ScriptButton
- UICorner2.CornerRadius = UDim.new(0, 8)
- UICorner2.Parent = ScriptButton
- UIStroke2.Color = Color3.fromRGB(255, 222, 189)
- UIStroke2.Parent = ScriptButton
- UIGradient1.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 0)),ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
- UIGradient1.Rotation = 270
- UIGradient1.Parent = ScriptButton
- Settings.AnchorPoint = Vector2.new(0.5, 1)
- Settings.BackgroundTransparency = 1
- Settings.Position = UDim2.new(0.5, 0, 1, 0)
- Settings.Size = UDim2.new(1, 0, 0.85, 0)
- Settings.Name = "ScriptsMode"
- Settings.Parent = MainUI
- Settings.Visible = false
- UIListLayout2.Padding = UDim.new(0.01, 0)
- UIListLayout2.Parent = Settings
- UIListLayout2.SortOrder = Enum.SortOrder.LayoutOrder
- Separator.BackgroundTransparency = 0.7
- Separator.BackgroundColor3 = Color3.fromRGB(124, 82, 73)
- Separator.LayoutOrder = 1
- Separator.Size = UDim2.new(1, 0, 0.1, 2)
- Separator.ZIndex = 2205
- Separator.Font = Enum.Font.Oswald
- Separator.Text = "<b>MISC</b>"
- Separator.RichText = true
- Separator.Name = "Separator"
- Separator.TextColor3 = Color3.fromRGB(255, 222, 189)
- Separator.TextScaled = true
- Separator.TextXAlignment = Enum.TextXAlignment.Left
- Separator.TextYAlignment = Enum.TextYAlignment.Top
- Separator.Parent = Settings
- UICorner3.CornerRadius = UDim.new(0.2, 0)
- UIPadding1.PaddingBottom = UDim.new(0.2, -6)
- UIPadding1.PaddingLeft = UDim.new(0.03, 0)
- UIPadding1.PaddingRight = UDim.new(0.03, 0)
- UIPadding1.PaddingTop = UDim.new(0.2, -6)
- UIPadding1.Parent = Separator
- Language.BackgroundTransparency = 1
- Language.LayoutOrder = 3
- Language.Size = UDim2.new(1, 0, 0.105, 0)
- Language.ZIndex = 2310
- Language.Font = Enum.Font.Oswald
- Language.LineHeight = 1.04
- Language.Text = "<b>Language</b>"
- Language.Name = "Language"
- Language.RichText = true
- Language.TextColor3 = Color3.fromRGB(255, 222, 189)
- Language.TextScaled = true
- Language.TextXAlignment = Enum.TextXAlignment.Left
- Language.Parent = Settings
- Toggle.BackgroundColor3 = Color3.fromRGB(204, 147, 121)
- Toggle.BackgroundTransparency = 0.9
- Toggle.AnchorPoint = Vector2.new(1, 0.5)
- Toggle.Position = UDim2.new(1.27, 0, 0.589, 0)
- Toggle.Size = UDim2.new(1.92, 0, 0.8, 0)
- Toggle.SizeConstraint = Enum.SizeConstraint.RelativeYY
- Toggle.Text = ""
- Toggle.Name = "Toggle"
- Toggle.ZIndex = 2310
- Toggle.Parent = Language
- UIPadding2.PaddingBottom = UDim.new(0, 0)
- UIPadding2.PaddingLeft = UDim.new(0.05, 0)
- UIPadding2.PaddingRight = UDim.new(0.22, 0)
- UIPadding2.PaddingTop = UDim.new(0, 0)
- UIPadding2.Parent = Language
- UICorner4.CornerRadius = UDim.new(1, 0)
- UICorner4.Parent = Language
- ImageButton1.BackgroundColor3 = Color3.fromRGB(255, 222, 189)
- ImageButton1.Position = UDim2.new(-0.425, 0, 0, 0)
- ImageButton1.Size = UDim2.new(1, 0, 1, 0)
- ImageButton1.ZIndex = 2310
- ImageButton1.Name = "Fream"
- ImageButton1.Parent = Toggle
- ImageButton1.Image = ""
- ImageLabel1.AnchorPoint = Vector2.new(0.5, 0.5)
- ImageLabel1.Size = UDim2.new(0.5, 0, 0.5, 0)
- ImageLabel1.Position = UDim2.new(0.5, 0, 0.5, 0)
- ImageLabel1.BackgroundTransparency = 1
- ImageLabel1.ZIndex = 2310
- ImageLabel1.Parent = ImageButton1
- ImageLabel1.Name = "Expand"
- ImageLabel1.Image = "rbxassetid://87702149708209"
- ImageLabel1.ImageColor3 = Color3.fromRGB(0, 0, 0)
- ScrollingFrame1.BackgroundTransparency = 1
- ScrollingFrame1.Position = UDim2.new(0, 0, 1, 0)
- ScrollingFrame1.Size = UDim2.new(1, 0, 5, 0)
- ScrollingFrame1.ZIndex = 2302
- ScrollingFrame1.ScrollBarThickness = 0
- ScrollingFrame1.ScrollingDirection = Enum.ScrollingDirection.Y
- ScrollingFrame1.Parent = Toggle
- ScrollingFrame1.Name = "Language"
- ScrollingFrame1.Visible = false
- TextLabel1.BackgroundTransparency = 1
- TextLabel1.Size = UDim2.new(1, 0, 1, 0)
- TextLabel1.ZIndex = 2302
- TextLabel1.Font = Enum.Font.Oswald
- TextLabel1.Text = "<b>EN_US</b>"
- TextLabel1.TextColor3 = Color3.fromRGB(255, 222, 189)
- TextLabel1.TextScaled = true
- TextLabel1.RichText = true
- TextLabel1.Parent = Toggle
- TextLabel1.Name = "LanguageText"
- UICorner6.CornerRadius = UDim.new(1, 0)
- UICorner6.Parent = Toggle
- UIStroke3.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- UIStroke3.Color = Color3.fromRGB(255, 222, 189)
- UIStroke3.Thickness = 3
- UIStroke3.Parent = Toggle
- UIAspectRatioConstraint3.Parent = ImageButton1
- UICorner5.CornerRadius = UDim.new(1, 0)
- UICorner5.Parent = ImageButton1
- UIAspectRatioConstraint4.Parent = ImageLabel1
- UIListLayout3.Parent = ScrollingFrame1
- UIListLayout3.Padding = UDim.new(0.01, 0)
- UIListLayout3.HorizontalAlignment = Enum.HorizontalAlignment.Right
- local uiCorner1 = Instance.new("UICorner")
- local uiCorner2 = Instance.new("UICorner")
- local uiCorner3 = Instance.new("UICorner")
- local uiCorner4 = Instance.new("UICorner")
- ENUS.Size = UDim2.new(1, 0, 0.212, 0)
- ENUS.Position = UDim2.new(0, 0, 0, 25)
- ENUS.Parent = ScrollingFrame1
- ENUS.BackgroundColor3 = Color3.fromRGB(155, 135, 115)
- ENUS.Font = Enum.Font.Oswald
- ENUS.TextScaled = true
- ENUS.LayoutOrder = 1
- ENUS.Text = "<b>EN_US</b>"
- ENUS.RichText = true
- ENUS.ZIndex = 2302
- uiCorner1.Parent = ENUS
- uiCorner1.CornerRadius = UDim.new(1, 0)
- ZHCN.Size = UDim2.new(1, 0, 0.212, 0)
- ZHCN.Position = UDim2.new(0, 0, 0, 25)
- ZHCN.Parent = ScrollingFrame1
- ZHCN.BackgroundColor3 = Color3.fromRGB(255, 222, 189)
- ZHCN.Font = Enum.Font.Oswald
- ZHCN.TextScaled = true
- ZHCN.Text = "<b>ZH_CN</b>"
- ZHCN.RichText = true
- ZHCN.LayoutOrder = 2
- ZHCN.ZIndex = 2302
- uiCorner2.Parent = ZHCN
- uiCorner2.CornerRadius = UDim.new(1, 0)
- JAJP.Size = UDim2.new(1, 0, 0.212, 0)
- JAJP.Position = UDim2.new(0, 0, 0, 25)
- JAJP.Parent = ScrollingFrame1
- JAJP.BackgroundColor3 = Color3.fromRGB(255, 222, 189)
- JAJP.Font = Enum.Font.Oswald
- JAJP.TextScaled = true
- JAJP.Text = "<b>JA_JP</b>"
- JAJP.RichText = true
- JAJP.LayoutOrder = 4
- JAJP.ZIndex = 2302
- uiCorner3.Parent = JAJP
- uiCorner3.CornerRadius = UDim.new(1, 0)
- ZHTW.Size = UDim2.new(1, 0, 0.212, 0)
- ZHTW.Position = UDim2.new(0, 0, 0, 25)
- ZHTW.Parent = ScrollingFrame1
- ZHTW.BackgroundColor3 = Color3.fromRGB(255, 222, 189)
- ZHTW.Font = Enum.Font.Oswald
- ZHTW.TextScaled = true
- ZHTW.Text = "<b>ZH_TW</b>"
- ZHTW.RichText = true
- ZHTW.LayoutOrder = 3
- ZHTW.ZIndex = 2302
- uiCorner4.Parent = ZHTW
- uiCorner4.CornerRadius = UDim.new(1, 0)
- ImageButton1.MouseButton1Click:Connect(function()
- if Expand == false then
- ImageLabel1.Rotation = 180
- ScrollingFrame1.Visible = true
- Expand = true
- else
- ImageLabel1.Rotation = 0
- ScrollingFrame1.Visible = false
- Expand = false
- end
- end)
- GameButton.MouseButton1Click:Connect(function()
- Original.Visible = true
- Settings.Visible = false
- end)
- ScriptButton.MouseButton1Click:Connect(function()
- Settings.Visible = true
- Original.Visible = false
- end)
- local function inputFilter(input)
- local restrictedChars = " �"
- local filteredInput = input:gsub(restrictedChars, "")
- return filteredInput:sub(1, 1)
- end
- TextBox1.Changed:Connect(function()
- local input = TextBox1.Text
- local filteredInput = inputFilter(input)
- TextBox1.Text = filteredInput
- end)
- local ScriptsMode = game.Players.LocalPlayer.PlayerGui.Sciptmode.Main
- local Modifier = ScriptsMode.Modifier
- local Extra = ScriptsMode.Extra
- local List = Modifier.List
- local Settings = Modifier.Preview
- local ModePreview = {Desc = List.Mode.Preview.Desc, Title = List.Mode.Preview.Title}
- local ItemPreview = {Desc = List.Item.Preview.Desc, Title = List.Item.Preview.Title}
- local ThemePreview = {Desc = List.Theme.Preview.Desc, Title = List.Theme.Preview.Title}
- local SettingsMode = {
- Title = Settings.Preview.Mode.Title,
- Continue = Settings.Continue,
- Executor = Settings.Preview.Mode.Status.Executor,
- Floor = Settings.Preview.Mode.Status.Floor
- }
- local CustEntTitle = Extra.CustEnt.Title
- local Entity = {
- Asset = Extra.CustEnt.Select.Rush.Entity.Asset.ActionName,
- EntityName = Extra.CustEnt.Select.Rush.Entity.EntityName.ActionName,
- HeightOffset = Extra.CustEnt.Select.Rush.Entity.HeightOffset.ActionName,
- SettingHeader = Extra.CustEnt.Select.Rush.Entity.SettingHeader.Title
- }
- local Lights = {
- Duration = Extra.CustEnt.Select.Rush.Lights.Duration.ActionName,
- Earthquake = Extra.CustEnt.Select.Rush.Lights.Earthquake.ActionName,
- Enabled = Extra.CustEnt.Select.Rush.Lights.Enabled.ActionName,
- Repair = Extra.CustEnt.Select.Rush.Lights.Repair.ActionName,
- Shatter = Extra.CustEnt.Select.Rush.Lights.Shatter.ActionName,
- SettingHeader = Extra.CustEnt.Select.Rush.Lights.SettingHeader.Title
- }
- local CameraShake = {
- Enabled = Extra.CustEnt.Select.Rush.CameraShake.Enabled.ActionName,
- FadeIn = Extra.CustEnt.Select.Rush.CameraShake.FadeIn.ActionName,
- FadeOut = Extra.CustEnt.Select.Rush.CameraShake.FadeOut.ActionName,
- Magnitude = Extra.CustEnt.Select.Rush.CameraShake.Magnitude.ActionName,
- Range = Extra.CustEnt.Select.Rush.CameraShake.Range.ActionName,
- Roughness = Extra.CustEnt.Select.Rush.CameraShake.Roughness.ActionName,
- SettingHeader = Extra.CustEnt.Select.Rush.CameraShake.SettingHeader.Title
- }
- local Rebounding = {
- Delay = Extra.CustEnt.Select.Rush.Rebounding.Delay.ActionName,
- Enabled = Extra.CustEnt.Select.Rush.Rebounding.Enabled.ActionName,
- Max = Extra.CustEnt.Select.Rush.Rebounding.Max.ActionName,
- Min = Extra.CustEnt.Select.Rush.Rebounding.Min.ActionName,
- Type = Extra.CustEnt.Select.Rush.Rebounding.Type.ActionName,
- SettingHeader = Extra.CustEnt.Select.Rush.Rebounding.SettingHeader.Title
- }
- local Movement = {
- Delay = Extra.CustEnt.Select.Rush.Movement.Delay.ActionName,
- Reversed = Extra.CustEnt.Select.Rush.Movement.Reversed.ActionName,
- Speed = Extra.CustEnt.Select.Rush.Movement.Speed.ActionName,
- SettingHeader = Extra.CustEnt.Select.Rush.Movement.SettingHeader.Title
- }
- local Damage = {
- Amount = Extra.CustEnt.Select.Rush.Damage.Amount.ActionName,
- Enabled = Extra.CustEnt.Select.Rush.Damage.Enabled.ActionName,
- Range = Extra.CustEnt.Select.Rush.Damage.Range.ActionName,
- SettingHeader = Extra.CustEnt.Select.Rush.Damage.SettingHeader.Title
- }
- local Death = {
- Cause = Extra.CustEnt.Select.Rush.Death.Cause.ActionName,
- Hints = Extra.CustEnt.Select.Rush.Death.Hints.ActionName,
- Type = Extra.CustEnt.Select.Rush.Death.Type.ActionName,
- SettingHeader = Extra.CustEnt.Select.Rush.Death.SettingHeader.Title
- }
- local Crucifixion = {
- Break = Extra.CustEnt.Select.Rush.Crucifixion.Break.ActionName,
- Enabled = Extra.CustEnt.Select.Rush.Crucifixion.Enabled.ActionName,
- Range = Extra.CustEnt.Select.Rush.Crucifixion.Range.ActionName,
- Resist = Extra.CustEnt.Select.Rush.Crucifixion.Resist.ActionName,
- SettingHeader = Extra.CustEnt.Select.Rush.Crucifixion.SettingHeader.Title
- }
- local CustEntbutton = {Execute = Extra.CustEnt.Select.Rush.Button.Execute, GetCode = Extra.CustEnt.Select.Rush.Button.GetCode}
- local CreditsMode = Extra.Credits.ScrollingFrame.Mode.Title
- local Credits = {
- Credits1 = Extra.Credits.ScrollingFrame.Scrtpt.Scrtpt["Script Owner"].ScriptOwner,
- Credits2 = Extra.Credits.ScrollingFrame.Scrtpt.Scrtpt["Script Helper"].ScriptHelper
- }
- local tweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
- local function setActiveButton(activeButton, otherButtons)
- activeButton.BackgroundColor3 = Color3.fromRGB(155, 135, 115)
- for _, button in ipairs(otherButtons) do
- button.BackgroundColor3 = Color3.fromRGB(255, 222, 189)
- end
- end
- local function ENUSButton()
- setActiveButton(ENUS, {ZHCN, JAJP, ZHTW})
- ModePreview.Desc.Text = "Make the game harder!"
- ModePreview.Title.Text = "Mode"
- ItemPreview.Title.Text = "Item"
- ItemPreview.Desc.Text = "Make your game easier!"
- ThemePreview.Title.Text = "Change the game theme!"
- ThemePreview.Desc.Text = "Theme"
- CustEntTitle.Text = "Custom Entity Spawner"
- if SettingsMode.Title.Text == "Unselected" or "未选中" or "未選択" or "未選中" then
- SettingsMode.Title.Text = "Unselected"
- end
- SettingsMode.Continue.Text = "Execute"
- SettingsMode.Executor = "Executor:" .. identifyexecutor()
- Entity.Asset.Text = "Model"
- Entity.EntityName.Text = "Name"
- Entity.HeightOffset.Text = "HeightOffset"
- Entity.SettingHeader.Text = "Entity"
- Lights.Duration.Text = "Duration"
- Lights.Earthquake.Text = "Earthquake"
- Lights.Enabled.Text = "Enabled"
- Lights.Repair.Text = "Repair"
- Lights.Shatter.Text = "Shatter"
- Lights.SettingHeader.Text = "Lights"
- CameraShake.Enabled.Text = "Enabled"
- CameraShake.Range.Text = "Range"
- CameraShake.FadeIn.Text = "FadeIn"
- CameraShake.FadeOut.Text = "FadeOut"
- CameraShake.Magnitude.Text = "Magnitude"
- CameraShake.Roughness.Text = "Roughness"
- CameraShake.SettingHeader.Text = "SettingHeader"
- Rebounding.Delay.Text = "Delay"
- Rebounding.Enabled.Text = "Enabled"
- Rebounding.Max.Text = "Max"
- Rebounding.Min.Text = "Min"
- Rebounding.Type.Text = "Type"
- Rebounding.SettingHeader.Text = "Rebounding"
- Movement.Delay.Text = "Delay"
- Movement.Reversed.Text = "Reversed"
- Movement.Speed.Text = "Speed"
- Movement.SettingHeader.Text = "CameraShake"
- Damage.Amount.Text = "Amount"
- Damage.Enabled.Text = "Enabled"
- Damage.Range.Text = "Range"
- Damage.SettingHeader.Text = "Damage"
- Death.Cause.Text = "Cause"
- Death.Hints.Text = "Hints"
- Death.Type.Text = "Type"
- Death.SettingHeader.Text = "Death"
- Crucifixion.Break.Text = "Break"
- Crucifixion.Enabled.Text = "Enabled"
- Crucifixion.Range.Text = "Range"
- Crucifixion.Resist.Text = "Resist"
- Crucifixion.SettingHeader.Text = "Crucifixion"
- CustEntbutton.GetCode.Text = "GetCode"
- CustEntbutton.Execute.Text = "Execute"
- Credits.Credits1.Text = "Script Owner"
- Credits.Credits2.Text = "Script Helper"
- CreditsMode.Text = "Mode/Item/Theme/And More"
- TextLabel1.Text = "<b>ENUS</b>"
- end
- local function ZHCNButton()
- setActiveButton(ZHCN, {ENUS, JAJP, ZHTW})
- ModePreview.Desc.Text = "困难重重!"
- ModePreview.Title.Text = "模式"
- ItemPreview.Title.Text = "物品"
- ItemPreview.Desc.Text = "轻松自在!"
- ThemePreview.Title.Text = "更换主题!"
- ThemePreview.Desc.Text = "主题"
- SettingsMode.Executor = "注入器:" .. identifyexecutor()
- CustEntTitle.Text = "自定义实体生成器"
- if SettingsMode.Title.Text == "Unselected" or "未选中" or "未選択" or "未選中" then
- SettingsMode.Title.Text = "未选中"
- end
- SettingsMode.Continue.Text = "执行"
- Entity.Asset.Text = "模型"
- Entity.EntityName.Text = "名称"
- Entity.HeightOffset.Text = "高度偏移"
- Entity.SettingHeader.Text = "实体"
- Lights.Duration.Text = "持续"
- Lights.Earthquake.Text = "地震"
- Lights.Enabled.Text = "启用"
- Lights.Repair.Text = "恢复"
- Lights.Shatter.Text = "闪灯"
- Lights.SettingHeader.Text = "灯光"
- CameraShake.Enabled.Text = "启用"
- CameraShake.Range.Text = "范围"
- CameraShake.FadeIn.Text = "淡入"
- CameraShake.FadeOut.Text = "淡出"
- CameraShake.Magnitude.Text = "等级"
- CameraShake.Roughness.Text = "粗糙"
- CameraShake.SettingHeader.Text = "屏幕摇晃"
- Rebounding.Delay.Text = "延迟"
- Rebounding.Enabled.Text = "启用"
- Rebounding.Max.Text = "最大"
- Rebounding.Min.Text = "最小"
- Rebounding.Type.Text = "类型"
- Rebounding.SettingHeader.Text = "回弹"
- Movement.Delay.Text = "延迟"
- Movement.Reversed.Text = "逆行"
- Movement.Speed.Text = "速度"
- Movement.SettingHeader.Text = "移动"
- Damage.Amount.Text = "伤害值"
- Damage.Enabled.Text = "启用"
- Damage.Range.Text = "范围"
- Damage.SettingHeader.Text = "伤害"
- Death.Cause.Text = "原因"
- Death.Hints.Text = "提示"
- Death.Type.Text = "类型"
- Death.SettingHeader.Text = "死亡"
- Crucifixion.Break.Text = "破坏"
- Crucifixion.Enabled.Text = "启用"
- Crucifixion.Range.Text = "范围"
- Crucifixion.Resist.Text = "抵抗"
- Crucifixion.SettingHeader.Text = "封印"
- CustEntbutton.GetCode.Text = "获取脚本"
- CustEntbutton.Execute.Text = "执行"
- Credits.Credits1.Text = "脚本作者"
- Credits.Credits2.Text = "脚本辅助"
- CreditsMode.Text = "模式/物品/主题/和更多"
- TextLabel1.Text = "<b>ZHCN</b>"
- end
- local function JAJPButton()
- setActiveButton(JAJP, {ENUS, ZHCN, ZHTW})
- ModePreview.Desc.Text = "ゲームを難しくする!"
- ModePreview.Title.Text = "モード"
- ItemPreview.Title.Text = "アイテム"
- ItemPreview.Desc.Text = "ゲームを簡単にする!"
- ThemePreview.Title.Text = "テーマの変更!"
- SettingsMode.Executor = "実行者:" .. identifyexecutor()
- ThemePreview.Desc.Text = "テーマ"
- CustEntTitle.Text = "カスタムエンティティスポナー"
- Entity.Asset.Text = "モデル"
- Entity.EntityName.Text = "名前"
- Entity.HeightOffset.Text = "高さオフセット"
- Entity.SettingHeader.Text = "エンティティ"
- Lights.Duration.Text = "期間"
- Lights.Earthquake.Text = "地震"
- Lights.Enabled.Text = "有効"
- Lights.Repair.Text = "修理"
- Lights.Shatter.Text = "粉々にする"
- Lights.SettingHeader.Text = "ライト"
- CameraShake.Enabled.Text = "有効"
- CameraShake.Range.Text = "範囲"
- CameraShake.FadeIn.Text = "フェードイン"
- CameraShake.FadeOut.Text = "フェードアウト"
- CameraShake.Magnitude.Text = "マグニチュード"
- CameraShake.Roughness.Text = "粗さ"
- CameraShake.SettingHeader.Text = "設定ヘッダー"
- Rebounding.Delay.Text = "遅延"
- Rebounding.Enabled.Text = "有効"
- Rebounding.Max.Text = "最大"
- Rebounding.Min.Text = "最小"
- Rebounding.Type.Text = "タイプ"
- Rebounding.SettingHeader.Text = "リバウンディング"
- Movement.Delay.Text = "遅延"
- Movement.Reversed.Text = "逆転"
- Movement.Speed.Text = "速度"
- Movement.SettingHeader.Text = "カメラシェイク"
- Damage.Amount.Text = "量"
- Damage.Enabled.Text = "有効"
- Damage.Range.Text = "範囲"
- Damage.SettingHeader.Text = "ダメージ"
- Death.Cause.Text = "原因"
- Death.Hints.Text = "ヒント"
- Death.Type.Text = "タイプ"
- Death.SettingHeader.Text = "デス"
- Crucifixion.Break.Text = "壊れる"
- Crucifixion.Enabled.Text = "有効"
- Crucifixion.Range.Text = "範囲"
- Crucifixion.Resist.Text = "抵抗"
- Crucifixion.SettingHeader.Text = "十字架刑"
- CustEntbutton.GetCode.Text = "コードを取得"
- CustEntbutton.Execute.Text = "実行"
- Credits.Credits1.Text = "スクリプトオーナー"
- Credits.Credits2.Text = "スクリプトヘルパー"
- CreditsMode.Text = "モード/アイテム/テーマ/その他"
- TextLabel1.Text = "<b>JAJP</b>"
- end
- local function ZHTWButton()
- setActiveButton(ZHTW, {ENUS, ZHCN, JAJP})
- ModePreview.Desc.Text = "難上加難!"
- ModePreview.Title.Text = "模式"
- ItemPreview.Title.Text = "物品"
- ItemPreview.Desc.Text = "輕鬆自在!"
- ThemePreview.Title.Text = "變更主題!"
- ThemePreview.Desc.Text = "主題"
- Entity.SettingHeader.Text = "實體"
- CustEntTitle.Text = "自定義實體生成器"
- Entity.Asset.Text = "模型"
- Entity.EntityName.Text = "名稱"
- SettingsMode.Executor = "執行者:" .. identifyexecutor()
- Entity.HeightOffset.Text = "高度偏移"
- Lights.Duration.Text = "持續時間"
- Lights.Earthquake.Text = "地震"
- Lights.Enabled.Text = "啟用"
- Lights.Repair.Text = "修復"
- Lights.Shatter.Text = "破碎"
- Lights.SettingHeader.Text = "燈光"
- CameraShake.Enabled.Text = "啟用"
- CameraShake.Range.Text = "範圍"
- CameraShake.FadeIn.Text = "淡入"
- CameraShake.FadeOut.Text = "淡出"
- CameraShake.Magnitude.Text = "震級"
- CameraShake.Roughness.Text = "粗糙度"
- CameraShake.SettingHeader.Text = "設置標題"
- Rebounding.Delay.Text = "延遲"
- Rebounding.Enabled.Text = "啟用"
- Rebounding.Max.Text = "最大值"
- Rebounding.Min.Text = "最小值"
- Rebounding.Type.Text = "類型"
- Rebounding.SettingHeader.Text = "回彈"
- Movement.Delay.Text = "延遲"
- Movement.Reversed.Text = "逆向"
- Movement.Speed.Text = "速度"
- Movement.SettingHeader.Text = "運動"
- Damage.Amount.Text = "數量"
- Damage.Enabled.Text = "啟用"
- Damage.Range.Text = "範圍"
- Damage.SettingHeader.Text = "傷害"
- Death.Cause.Text = "原因"
- Death.Hints.Text = "提示"
- Death.Type.Text = "類型"
- Death.SettingHeader.Text = "死亡"
- Crucifixion.Break.Text = "破壞"
- Crucifixion.Enabled.Text = "啟用"
- Crucifixion.Range.Text = "範圍"
- Crucifixion.Resist.Text = "抵抗"
- Crucifixion.SettingHeader.Text = "釘十字架"
- CustEntbutton.GetCode.Text = "獲取代碼"
- CustEntbutton.Execute.Text = "執行"
- Credits.Credits1.Text = "腳本擁有者"
- Credits.Credits2.Text = "腳本助手"
- CreditsMode.Text = "模式/物品/主題/及更多"
- TextLabel1.Text = "<b>ZHTW</b>"
- end
- ENUS.MouseButton1Click:Connect(ENUSButton)
- ZHCN.MouseButton1Click:Connect(ZHCNButton)
- JAJP.MouseButton1Click:Connect(JAJPButton)
- ZHTW.MouseButton1Click:Connect(ZHTWButton)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement