Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- --Services:
- local TweenService = game:GetService("TweenService")
- --Values:
- local currentmenu = nil
- local menuEnabled = true
- local LocalPlayer = game.Players.LocalPlayer
- -- Instances:
- local Menu = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local Controlpanel = Instance.new("Frame")
- local UICorner_2 = Instance.new("UICorner")
- local Main = Instance.new("TextButton")
- local Player = Instance.new("TextButton")
- local MenuScrollingFrame = Instance.new("ScrollingFrame")
- local Welcome = Instance.new("TextLabel")
- local PlayerScrollingFrame = Instance.new("ScrollingFrame")
- local Information = Instance.new("TextLabel")
- local Speed = Instance.new("TextLabel")
- local SpeedBox = Instance.new("TextBox")
- local CameraMode = Instance.new("TextLabel")
- local CameraModeApply = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- local LoadingText = Instance.new("TextLabel")
- local Menu_2 = Instance.new("TextButton")
- local UICorner_4 = Instance.new("UICorner")
- --Properties:
- Menu.Name = "Menu"
- Menu.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Menu.Parent = LocalPlayer.PlayerGui
- Frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.265258223, 0, 0.286474973, 0)
- Frame.Size = UDim2.new(0.469483554, 0, 0.42545262, 0)
- Frame.Parent = Menu
- Frame.Active = true
- Frame.Draggable = true
- UICorner.CornerRadius = UDim.new(0, 15)
- UICorner.Parent = Frame
- Controlpanel.Name = "Controlpanel"
- Controlpanel.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
- Controlpanel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Controlpanel.BorderSizePixel = 0
- Controlpanel.Position = UDim2.new(0, 0, 4.13189376e-08, 0)
- Controlpanel.Size = UDim2.new(0.287279308, 0, 0.99999994, 0)
- Controlpanel.Parent = Frame
- UICorner_2.CornerRadius = UDim.new(0, 15)
- UICorner_2.Parent = Controlpanel
- Main.Name = "Main"
- Main.BackgroundColor3 = Color3.fromRGB(94, 94, 94)
- Main.BackgroundTransparency = 1.000
- Main.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0, 0, 0.0350000001, 0)
- Main.Size = UDim2.new(1.00000095, 0, 0.108315125, 0)
- Main.Modal = true
- Main.Font = Enum.Font.Sarpanch
- Main.Text = "Menü"
- Main.TextColor3 = Color3.fromRGB(255, 255, 255)
- Main.TextScaled = true
- Main.TextSize = 14.000
- Main.TextWrapped = true
- Main.Parent = Controlpanel
- Player.Name = "Player"
- Player.BackgroundColor3 = Color3.fromRGB(94, 94, 94)
- Player.BackgroundTransparency = 1.000
- Player.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Player.BorderSizePixel = 0
- Player.Position = UDim2.new(0, 0, 0.175999999, 0)
- Player.Size = UDim2.new(1.00000095, 0, 0.108315125, 0)
- Player.Modal = true
- Player.Font = Enum.Font.Sarpanch
- Player.Text = "Oyuncu"
- Player.TextColor3 = Color3.fromRGB(255, 255, 255)
- Player.TextScaled = true
- Player.TextSize = 14.000
- Player.TextWrapped = true
- Player.Parent = Controlpanel
- MenuScrollingFrame.Name = "MenuScrollingFrame"
- MenuScrollingFrame.Active = true
- MenuScrollingFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- MenuScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- MenuScrollingFrame.BorderSizePixel = 0
- MenuScrollingFrame.Position = UDim2.new(0.287279189, 0, 0.0731127411, 0)
- MenuScrollingFrame.Size = UDim2.new(0.682497978, 0, 0.899808466, 0)
- MenuScrollingFrame.Visible = false
- MenuScrollingFrame.ScrollBarThickness = 5
- MenuScrollingFrame.Parent = Frame
- Welcome.Name = "Welcome"
- Welcome.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Welcome.BackgroundTransparency = 1.000
- Welcome.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Welcome.BorderSizePixel = 0
- Welcome.Position = UDim2.new(0.179435074, 0, 0, 0)
- Welcome.Size = UDim2.new(0.49999994, 0, 0.0804964229, 0)
- Welcome.Font = Enum.Font.Sarpanch
- Welcome.Text = "Hoş geldiniz"
- Welcome.TextColor3 = Color3.fromRGB(255, 255, 255)
- Welcome.TextScaled = true
- Welcome.TextSize = 14.000
- Welcome.TextWrapped = true
- Welcome.Parent = MenuScrollingFrame
- PlayerScrollingFrame.Name = "PlayerScrollingFrame"
- PlayerScrollingFrame.Active = true
- PlayerScrollingFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- PlayerScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- PlayerScrollingFrame.BorderSizePixel = 0
- PlayerScrollingFrame.Position = UDim2.new(0.287279189, 0, 0.0731127411, 0)
- PlayerScrollingFrame.Size = UDim2.new(0.682497978, 0, 0.899808466, 0)
- PlayerScrollingFrame.Visible = false
- PlayerScrollingFrame.ScrollBarThickness = 5
- PlayerScrollingFrame.Parent = Frame
- Information.Name = "Information"
- Information.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Information.BackgroundTransparency = 1.000
- Information.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Information.BorderSizePixel = 0
- Information.Position = UDim2.new(0.174551085, 0, 0, 0)
- Information.Size = UDim2.new(0.648962617, 0, 0.115509175, 0)
- Information.Font = Enum.Font.Sarpanch
- Information.Text = "Karakterine hileleri buradan uygula"
- Information.TextColor3 = Color3.fromRGB(255, 255, 255)
- Information.TextScaled = true
- Information.TextSize = 14.000
- Information.TextWrapped = true
- Information.Parent = PlayerScrollingFrame
- Speed.Name = "Speed"
- Speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Speed.BackgroundTransparency = 1.000
- Speed.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Speed.BorderSizePixel = 0
- Speed.Position = UDim2.new(0.0249711908, 0, 0.199675441, 0)
- Speed.Size = UDim2.new(0.116048515, 0, 0.0474819504, 0)
- Speed.Font = Enum.Font.Sarpanch
- Speed.Text = "hız:"
- Speed.TextColor3 = Color3.fromRGB(255, 255, 255)
- Speed.TextScaled = true
- Speed.TextSize = 14.000
- Speed.TextWrapped = true
- Speed.Parent = PlayerScrollingFrame
- SpeedBox.Name = "SpeedBox"
- SpeedBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SpeedBox.BackgroundTransparency = 1.000
- SpeedBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
- SpeedBox.BorderSizePixel = 0
- SpeedBox.Position = UDim2.new(0.150000006, 0, 0.199000001, 0)
- SpeedBox.Size = UDim2.new(0.5, 0, 0.0500000007, 0)
- SpeedBox.Font = Enum.Font.Sarpanch
- SpeedBox.PlaceholderColor3 = Color3.fromRGB(120, 120, 120)
- SpeedBox.PlaceholderText = "Buraya hız gir... [12-17 arası girmeni tavsiye ederim]"
- SpeedBox.Text = ""
- SpeedBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- SpeedBox.TextScaled = true
- SpeedBox.TextSize = 14.000
- SpeedBox.TextWrapped = true
- SpeedBox.Parent = PlayerScrollingFrame
- CameraMode.Name = "CameraMode"
- CameraMode.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- CameraMode.BackgroundTransparency = 1.000
- CameraMode.BorderColor3 = Color3.fromRGB(0, 0, 0)
- CameraMode.BorderSizePixel = 0
- CameraMode.Position = UDim2.new(0.0250000004, 0, 0.280000001, 0)
- CameraMode.Size = UDim2.new(0.200000003, 0, 0.0469999984, 0)
- CameraMode.Font = Enum.Font.Sarpanch
- CameraMode.Text = "Kamera:"
- CameraMode.TextColor3 = Color3.fromRGB(255, 255, 255)
- CameraMode.TextScaled = true
- CameraMode.TextSize = 14.000
- CameraMode.TextWrapped = true
- CameraMode.Parent = PlayerScrollingFrame
- CameraModeApply.Name = "CameraModeApply"
- CameraModeApply.BackgroundColor3 = Color3.fromRGB(28, 94, 0)
- CameraModeApply.BorderColor3 = Color3.fromRGB(0, 0, 0)
- CameraModeApply.BorderSizePixel = 0
- CameraModeApply.Position = UDim2.new(0.25, 0, 0.270000011, 0)
- CameraModeApply.Size = UDim2.new(0.5, 0, 0.0700000003, 0)
- CameraModeApply.Font = Enum.Font.Sarpanch
- CameraModeApply.Text = "Uygula"
- CameraModeApply.TextColor3 = Color3.fromRGB(255, 255, 255)
- CameraModeApply.TextScaled = true
- CameraModeApply.TextSize = 14.000
- CameraModeApply.TextWrapped = true
- CameraModeApply.Parent = PlayerScrollingFrame
- UICorner_3.Parent = CameraModeApply
- LoadingText.Name = "LoadingText"
- LoadingText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- LoadingText.BackgroundTransparency = 1.000
- LoadingText.BorderColor3 = Color3.fromRGB(0, 0, 0)
- LoadingText.BorderSizePixel = 0
- LoadingText.Position = UDim2.new(0.399663597, 0, 0.45161289, 0)
- LoadingText.Size = UDim2.new(0.200000003, 0, 0.0700000003, 0)
- LoadingText.Visible = false
- LoadingText.Font = Enum.Font.Sarpanch
- LoadingText.Text = "Yükleniyor... [Uzun süre yüklenmezse oyuna tekrar girin]"
- LoadingText.TextColor3 = Color3.fromRGB(255, 255, 255)
- LoadingText.TextScaled = true
- LoadingText.TextSize = 14.000
- LoadingText.TextWrapped = true
- LoadingText.Parent = Menu
- Menu_2.Name = "Menu"
- Menu_2.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- Menu_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Menu_2.BorderSizePixel = 0
- Menu_2.Position = UDim2.new(0.449214637, 0, 0, 0)
- Menu_2.Size = UDim2.new(0.0585289523, 0, 0.0850230455, 0)
- Menu_2.Font = Enum.Font.Sarpanch
- Menu_2.Text = "Menü"
- Menu_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Menu_2.TextScaled = true
- Menu_2.TextSize = 14.000
- Menu_2.TextWrapped = true
- Menu_2.Parent = Menu
- Menu_2.Draggable = true
- UICorner_4.CornerRadius = UDim.new(1, 0)
- UICorner_4.Parent = Menu_2
- menuEnabled = true
- --Functions:
- Main.MouseButton1Down:Connect(function()
- if currentmenu == nil then
- currentmenu = "Main"
- MenuScrollingFrame.Visible = true
- TweenService:Create(Main,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(0,100,0)}):Play()
- elseif currentmenu == "Player" then
- currentmenu = "Main"
- PlayerScrollingFrame.Visible = false
- MenuScrollingFrame.Visible = true
- TweenService:Create(Player,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(255,255,255)}):Play()
- TweenService:Create(Main,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(0,100,0)}):Play()
- end
- end)
- Player.MouseButton1Down:Connect(function()
- if currentmenu == nil then
- currentmenu = "Player"
- PlayerScrollingFrame.Visible = true
- TweenService:Create(Player,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(0,100,0)}):Play()
- elseif currentmenu == "Main" then
- currentmenu = "Player"
- PlayerScrollingFrame.Visible = true
- MenuScrollingFrame.Visible = false
- TweenService:Create(Main,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(255,255,255)}):Play()
- TweenService:Create(Player,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(0,100,0)}):Play()
- end
- end)
- SpeedBox.FocusLost:Connect(function(Entered)
- if Entered == true then
- if tonumber(SpeedBox.ContentText) < 12 or tonumber(SpeedBox.ContentText) > 17 then
- SpeedBox.TextEditable = false
- SpeedBox.Text = "böyle bir hız ayarlayamassın"
- wait(2)
- SpeedBox.TextEditable = true
- SpeedBox.Text = ""
- elseif tonumber(SpeedBox.ContentText) >= 12 or tonumber(SpeedBox.ContentText) <= 17 then
- SpeedBox.TextEditable = false
- LocalPlayer.Character:WaitForChild("Humanoid").WalkSpeed = tonumber(SpeedBox.ContentText)
- SpeedBox.Text = "hız ayarlandı"
- wait(0.05)
- SpeedBox.TextEditable = true
- end
- end
- end)
- CameraModeApply.MouseButton1Down:Connect(function()
- LocalPlayer.CameraMode = Enum.CameraMode.Classic
- end)
- Menu_2.MouseButton1Click:Connect(function()
- if menuEnabled == false then
- menuEnabled = true
- Frame.Visible = true
- else
- menuEnabled = false
- Frame.Visible = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement