Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Jujutsu Infinite Script
- by: @not.node
- ]]--
- if getgenv().JUJUTSU_INFINITE then return end
- getgenv().JUJUTSU_INFINITE = {}
- getgenv().JUJUTSU_INFINITE.AUTO_FARM = {}
- getgenv().JUJUTSU_INFINITE.AUTO_FARM.ENABLED = false
- getgenv().JUJUTSU_INFINITE.AUTO_FARM.AUTO_M1 = false
- local UILibrary = loadstring(game:GetObjects('rbxassetid://7657867786')[1].Source)()
- local Window = UILibrary:CreateWindow({ Name = 'Jujutsu Infinite' })
- local MainTab = Window:CreateTab({ Name = 'Main' })
- local AutoFarmSection = MainTab:CreateSection({ Name = 'Auto Farm' })
- AutoFarmSection:AddToggle({
- Name = 'Enable',
- Flag = 'JUJUTSU_INFINITE.AUTO_FARM.ENABLED',
- Callback = function(Value: boolean)
- JUJUTSU_INFINITE.AUTO_FARM.ENABLED = Value
- end,
- Value = false
- })
- AutoFarmSection:AddToggle({
- Name = 'Auto M1',
- Flag = 'JUJUTSU_INFINITE.AUTO_FARM.AUTO_M1',
- Callback = function(Value: boolean)
- JUJUTSU_INFINITE.AUTO_FARM.AUTO_M1 = Value
- end,
- Value = false
- })
- local RunService = game:GetService('RunService')
- local ReplicatedStorage = game:GetService('ReplicatedStorage')
- local Player = game:GetService('Players').LocalPlayer
- local PlayerGui = Player:WaitForChild('PlayerGui')
- local Remotes = ReplicatedStorage:WaitForChild('Remotes')
- local ServerRemotes = Remotes.Server
- local AcceptQuestRemote = ServerRemotes.Data.AcceptQuest
- local M1Remote = ServerRemotes.Combat.M1
- local function M1(Mob: Instance): nil
- if not Mob:IsDescendantOf(workspace) then return end
- local Humanoid = Mob:FindFirstChildOfClass('Humanoid')
- if not Humanoid then return end
- M1Remote:FireServer(2, {Humanoid})
- end
- local function AcceptQuest(): nil
- local Config = {
- ['type'] = 'Kill',
- ['set'] = 'Shijo Town Set',
- ['rewards'] = {
- ['essence'] = 2,
- ['cash'] = 3178,
- ['exp'] = 54621,
- ['chestMeter'] = 55
- },
- ['rewardsText'] = '$3178 | 54621 EXP | 2 Mission Essence',
- ['difficulty'] = 2,
- ['title'] = 'Defeat',
- ['level'] = 51,
- ['subtitle'] = 'a Curse User',
- ['grade'] = 'Non Sorcerer'
- }
- AcceptQuestRemote:InvokeServer(Config)
- end
- local function GetQuestMob(): Model | nil
- local QuestMarker = PlayerGui:WaitForChild('QuestMarker', 1)
- if not QuestMarker then return end
- local Adornee = QuestMarker.Adornee
- if not Adornee then return end
- local Mob = Adornee.Parent
- if not Mob:FindFirstChildOfClass('Humanoid') then return end
- return Mob
- end
- local function GotoMob(): nil
- local Character = Player.Character
- if not Character then return end
- local Mob = GetQuestMob()
- if not Mob then return end
- local HumanoidRootPart = Mob:FindFirstChild('HumanoidRootPart')
- if not HumanoidRootPart then return end
- Character:PivotTo(HumanoidRootPart.CFrame)
- end
- local function Update(): nil
- if not JUJUTSU_INFINITE.AUTO_FARM.ENABLED then return end
- AcceptQuest()
- GotoMob()
- if JUJUTSU_INFINITE.AUTO_FARM.AUTO_M1 then M1(GetQuestMob()) end
- end
- RunService.RenderStepped:Connect(Update)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement