Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
- local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
- local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
- local Window = Fluent:CreateWindow({
- Title = "Macro Recorder & Player",
- SubTitle = "by YourName",
- TabWidth = 160,
- Size = UDim2.fromOffset(580, 460),
- Acrylic = true,
- Theme = "Dark",
- MinimizeKey = Enum.KeyCode.LeftControl
- })
- local Tabs = {
- Main = Window:AddTab({ Title = "Main", Icon = "" }),
- Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
- }
- local isRecording = false
- local recordedEvents = {}
- -- Função para iniciar a gravação de macros
- local function StartRecording()
- isRecording = true
- recordedEvents = {}
- print("Gravação iniciada...")
- end
- -- Função para reproduzir os eventos gravados
- local function PlayRecording()
- print("Reproduzindo eventos...")
- for _, event in ipairs(recordedEvents) do
- print("Evento reproduzido:", event)
- -- Aqui você reproduziria o evento no jogo
- -- Por enquanto, apenas imprimimos os eventos
- end
- end
- local remoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("Actions"):WaitForChild("Action")
- remoteEvent.OnServerEvent:Connect(function(player, args)
- if isRecording then
- table.insert(recordedEvents, args)
- print("Evento gravado:", args)
- end
- end)
- Tabs.Main:AddButton({
- Title = "Macro Recorder",
- Description = "Iniciar a gravação de macros",
- Callback = function()
- StartRecording()
- end
- })
- Tabs.Main:AddButton({
- Title = "Macro Player",
- Description = "Reproduzir os eventos gravados",
- Callback = function()
- PlayRecording()
- end
- })
- SaveManager:SetLibrary(Fluent)
- InterfaceManager:SetLibrary(Fluent)
- SaveManager:IgnoreThemeSettings()
- SaveManager:SetIgnoreIndexes({})
- InterfaceManager:SetFolder("MacroRecorder")
- SaveManager:SetFolder("MacroRecorder")
- InterfaceManager:BuildInterfaceSection(Tabs.Settings)
- SaveManager:BuildConfigSection(Tabs.Settings)
- Window:SelectTab(1)
- Fluent:Notify({
- Title = "Macro Recorder & Player",
- Content = "O script foi carregado.",
- Duration = 8
- })
- SaveManager:LoadAutoloadConfig()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement