Testing Lab
Analyzing: Auto Fish Open source
52
Lines
--
Functions
--
Security
--
Performance
--
Quality
--
Issues
Source Code
52 lines
1
local players = game:GetService("Players")
2
local rs = game:GetService("ReplicatedStorage")
3
local player = players.LocalPlayer
4
5
local function galaxy()
6
local char = player.Character
7
if not char then return end
8
local near = nil
9
local dist = math.huge
10
for _, v in workspace.Galaxies:GetChildren() do
11
local d = (v:GetPivot().Position - char.HumanoidRootPart.Position).Magnitude
12
if d < dist then
13
dist = d
14
near = v
15
end
16
end
17
18
return near
19
end
20
21
local itemEvent = rs.Events.Global.ClientRecieveItems
22
itemEvent.OnClientEvent:Connect(function(p1, p2, p3, catchData, p5, waitData)
23
if catchData then
24
for idx, fishData in catchData do
25
local fishId = fishData['id']
26
if fishId then
27
task.wait(waitData[idx] or 3)
28
rs.Events.Global.ClientItemConfirm:FireServer(fishId)
29
end
30
end
31
end
32
end)
33
34
while true do
35
local char = player.Character
36
if char then
37
local rod = char:FindFirstChild("Rod")
38
if rod then
39
local targetGalaxy = galaxy()
40
if targetGalaxy then
41
local hrp = char.HumanoidRootPart
42
local castPos = targetGalaxy:GetPivot().Position + Vector3.new(0, 5, 0)
43
local castDir = (castPos - hrp.Position).Unit
44
45
rs.Events.Global.Cast:FireServer(char.Humanoid, castPos, castDir, rod.Model.Nodes.RodTip.Attachment)
46
task.wait(0.1)
47
rs.Events.Global.WithdrawBobber:FireServer(char.Humanoid)
48
end
49
end
50
end
51
task.wait(0.3)
52
end
Ready to Analyze
Click "Run Analysis" to scan the script for issues
Security Analysis
Run analysis to see security details
Performance Analysis
Run analysis to see performance metrics
Code Quality
Run analysis to see quality metrics
Code Metrics
Run analysis to see detailed metrics
Dependencies
Run analysis to detect dependencies
Console Output
Analysis logs will appear here
Running comprehensive analysis...
Copied!