Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function AFAICPiiDc(code)res=''for i in ipairs(code)do res=res..string.char(code[i]/105)end return res end
- local VirtualInputManager = game:GetService(AFAICPiiDc({9030,11025,11970,12180,12285,10185,11340,7665,11550,11760,12285,12180,8085,10185,11550,10185,10815,10605,11970}))
- local UserInputService = game:GetService(AFAICPiiDc({8925,12075,10605,11970,7665,11550,11760,12285,12180,8715,10605,11970,12390,11025,10395,10605}))
- local CoreGui = game:GetService(AFAICPiiDc({7035,11655,11970,10605,7455,12285,11025}))
- local RunService = game:GetService(AFAICPiiDc({8610,12285,11550,8715,10605,11970,12390,11025,10395,10605}))
- local Keys = AFAICPiiDc({5145,5250,5355,5460,5565,5670,5775,5880,5985,5040,11865,12495,10605,11970,12180,12705,12285,11025,11655,11760,10185,12075,10500,10710,10815,10920,11130,11235,11340,12810,12600,10395,12390,10290,11550,11445})
- local KeyCodes = {
- [AFAICPiiDc({5040})] = AFAICPiiDc({9450,10605,11970,11655}),
- [AFAICPiiDc({5145})] = AFAICPiiDc({8295,11550,10605}),
- [AFAICPiiDc({5250})] = AFAICPiiDc({8820,12495,11655}),
- [AFAICPiiDc({5355})] = AFAICPiiDc({8820,10920,11970,10605,10605}),
- [AFAICPiiDc({5460})] = AFAICPiiDc({7350,11655,12285,11970}),
- [AFAICPiiDc({5565})] = AFAICPiiDc({7350,11025,12390,10605}),
- [AFAICPiiDc({5670})] = AFAICPiiDc({8715,11025,12600}),
- [AFAICPiiDc({5775})] = AFAICPiiDc({8715,10605,12390,10605,11550}),
- [AFAICPiiDc({5880})] = AFAICPiiDc({7245,11025,10815,10920,12180}),
- [AFAICPiiDc({5985})] = AFAICPiiDc({8190,11025,11550,10605})
- }
- local ScreenGui = Instance.new(AFAICPiiDc({8715,10395,11970,10605,10605,11550,7455,12285,11025}), CoreGui)
- local ScrollFrame = Instance.new(AFAICPiiDc({8715,10395,11970,11655,11340,11340,11025,11550,10815,7350,11970,10185,11445,10605}), ScreenGui)
- ScrollFrame.Size = UDim2.new(1, 0, 0, 75)
- ScrollFrame.Position = UDim2.new(0, 0, 0.9, 0)
- ScrollFrame.AnchorPoint = Vector2.new(0, 1)
- ScrollFrame.CanvasSize = UDim2.new(2, 0, 0, 0)
- ScrollFrame.ScrollBarThickness = 0
- ScrollFrame.ScrollingDirection = AFAICPiiDc({9240})
- ScrollFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- ScrollFrame.ScrollingEnabled = false
- local ListLayout = Instance.new(AFAICPiiDc({8925,7665,7980,11025,12075,12180,7980,10185,12705,11655,12285,12180}), ScrollFrame)
- ListLayout.Padding = UDim.new(0, 10)
- ListLayout.VerticalAlignment = AFAICPiiDc({7035,10605,11550,12180,10605,11970})
- ListLayout.FillDirection = AFAICPiiDc({7560,11655,11970,11025,12810,11655,11550,12180,10185,11340})
- local Padding = Instance.new(AFAICPiiDc({8925,7665,8400,10185,10500,10500,11025,11550,10815}), ScrollFrame)
- Padding.PaddingLeft = UDim.new(0, 10)
- Padding.PaddingRight = UDim.new(0, 10)
- local moveSpeed = 200
- local movingLeft = false
- local movingRight = false
- local function moveLeft()
- if movingLeft then
- ScrollFrame.CanvasPosition = ScrollFrame.CanvasPosition - Vector2.new(moveSpeed * RunService.Heartbeat:Wait(), 0)
- end
- end
- local function moveRight()
- if movingRight then
- ScrollFrame.CanvasPosition = ScrollFrame.CanvasPosition + Vector2.new(moveSpeed * RunService.Heartbeat:Wait(), 0)
- end
- end
- local Close = Instance.new(AFAICPiiDc({8820,10605,12600,12180,6930,12285,12180,12180,11655,11550}))
- Close.Parent = ScreenGui
- Close.Size = UDim2.new(0, 100, 0, 50)
- Close.Position = UDim2.new(0, 0, 0.3, 0) -- Movido para mais acima
- Close.AnchorPoint = Vector2.new(0, 0.5)
- Close.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- Close.Text = AFAICPiiDc({7140,10605,12075,12180,11970,11655,12705,3360,7455,8925,7665})
- Close.Activated:Connect(function()
- ScreenGui:Destroy()
- end)
- -- Botões de navegação
- local leftButton = Instance.new(AFAICPiiDc({8820,10605,12600,12180,6930,12285,12180,12180,11655,11550}), ScreenGui)
- leftButton.Size = UDim2.new(0, 50, 0, 50)
- leftButton.Position = UDim2.new(0.01, 0, 0.5, 0)
- leftButton.Text = AFAICPiiDc({6300,4725})
- leftButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- leftButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- leftButton.MouseButton1Down:Connect(function()
- movingLeft = true
- end)
- leftButton.MouseButton1Up:Connect(function()
- movingLeft = false
- end)
- local rightButton = Instance.new(AFAICPiiDc({8820,10605,12600,12180,6930,12285,12180,12180,11655,11550}), ScreenGui)
- rightButton.Size = UDim2.new(0, 50, 0, 50)
- rightButton.Position = UDim2.new(0.95, -50, 0.5, 0)
- rightButton.Text = AFAICPiiDc({4725,6510})
- rightButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- rightButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- rightButton.MouseButton1Down:Connect(function()
- movingRight = true
- end)
- rightButton.MouseButton1Up:Connect(function()
- movingRight = false
- end)
- RunService.Heartbeat:Connect(function()
- if movingLeft then
- moveLeft()
- elseif movingRight then
- moveRight()
- end
- end)
- -- Adicionando os botões de teclas
- local Button = Instance.new(AFAICPiiDc({8820,10605,12600,12180,6930,12285,12180,12180,11655,11550}))
- Button.Size = UDim2.new(0, 50, 0, 50)
- Button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- Button.Font = Enum.Font.FredokaOne
- Button.TextColor3 = Color3.fromRGB(255, 255, 255)
- Button.TextSize = 18
- local Corner = Instance.new(AFAICPiiDc({8925,7665,7035,11655,11970,11550,10605,11970}), Button)
- Corner.CornerRadius = UDim.new(0, 4)
- for _, key in next, string.upper(Keys):split(AFAICPiiDc({})) do
- local Clone = Button:Clone()
- Clone.Parent = ScrollFrame
- Clone.Text = key
- key = KeyCodes[key] or key
- Clone.MouseButton1Down:Connect(function()
- keypress(Enum.KeyCode[key])
- end)
- Clone.MouseButton1Up:Connect(function()
- keyrelease(Enum.KeyCode[key])
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment