local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "Fuckass Magic",
LoadingTitle = "Don't ask",
LoadingSubtitle = "by Rob123",
ConfigurationSaving = {
Enabled = false
}
})
local Tab = Window:CreateTab("Main", 4483362458)
local auraEnabled = false
local auraRange = 50
local fireRate = 0.2
local projectileRemotes = {}
for _, obj in ipairs(ReplicatedStorage:GetChildren()) do
if obj:IsA("RemoteEvent") and obj.Name:match("^FireMagicProjectile%d+$") then
table.insert(projectileRemotes, obj)
end
end
Tab:CreateToggle({
Name = "Enable Aura",
CurrentValue = false,
Callback = function(value)
auraEnabled = value
end
})
Tab:CreateSlider({
Name = "Range",
Range = {10, 200},
Increment = 5,
Suffix = "studs",
CurrentValue = 50,
Callback = function(value)
auraRange = value
end
})
Tab:CreateSlider({
Name = "Fire Rate",
Range = {0.05, 1},
Increment = 0.05,
Suffix = "sec",
CurrentValue = 0.2,
Callback = function(value)
fireRate = value
end
})
local function getEnemiesInRange(root)
local enemies = {}
for _, folder in ipairs(workspace:GetChildren()) do
if folder:IsA("Folder") then
for _, enemy in ipairs(folder:GetChildren()) do
if enemy:IsA("Model") and enemy:FindFirstChild("HumanoidRootPart") then
local dist = (enemy.HumanoidRootPart.Position - root.Position).Magnitude
if dist <= auraRange then
table.insert(enemies, enemy.HumanoidRootPart)
end
end
end
end
end
return enemies
end
local function run(character)
local root = character:WaitForChild("HumanoidRootPart")
while character.Parent do
if auraEnabled then
local enemies = getEnemiesInRange(root)
for _, enemyRoot in ipairs(enemies) do
local args = { enemyRoot.Position }
for _, remote in ipairs(projectileRemotes) do
remote:FireServer(unpack(args))
end
end
end
task.wait(fireRate)
end
end
if player.Character then
task.spawn(run, player.Character)
end
player.CharacterAdded:Connect(function(char)
task.wait(1)
task.spawn(run, char)
end)Powerful enemy nuker script with magic aura that instantly targets and hits all enemies in range. Gain +1 skill point every second while farming effortlessly. Adjustable range and fire rate, smooth UI, and fully keyless. Works on both mobile and PC.
No comments yet. Be the first to comment!
1local Players = game:GetService("Players")
2local ReplicatedStorage = game:GetService("ReplicatedStorage")
3
4local player = Players.LocalPlayer
5
6local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
7
8local Window = Rayfield:CreateWindow({
9 Name = "Fuckass Magic",
10 LoadingTitle = "Don't ask",
11 LoadingSubtitle = "by Rob123",
12 ConfigurationSaving = {
13 Enabled = false
14 }
15})
16
17local Tab = Window:CreateTab("Main", 4483362458)
18
19local auraEnabled = false
20local auraRange = 50
21local fireRate = 0.2
22
23local projectileRemotes = {}
24for _, obj in ipairs(ReplicatedStorage:GetChildren()) do
25 if obj:IsA("RemoteEvent") and obj.Name:match("^FireMagicProjectile%d+$") then
26 table.insert(projectileRemotes, obj)
27 end
28end
29
30Tab:CreateToggle({
31 Name = "Enable Aura",
32 CurrentValue = false,
33 Callback = function(value)
34 auraEnabled = value
35 end
36})
37
38Tab:CreateSlider({
39 Name = "Range",
40 Range = {10, 200},
41 Increment = 5,
42 Suffix = "studs",
43 CurrentValue = 50,
44 Callback = function(value)
45 auraRange = value
46 end
47})
48
49Tab:CreateSlider({
50 Name = "Fire Rate",
51 Range = {0.05, 1},
52 Increment = 0.05,
53 Suffix = "sec",
54 CurrentValue = 0.2,
55 Callback = function(value)
56 fireRate = value
57 end
58})
59
60
61local function getEnemiesInRange(root)
62 local enemies = {}
63
64 for _, folder in ipairs(workspace:GetChildren()) do
65 if folder:IsA("Folder") then
66 for _, enemy in ipairs(folder:GetChildren()) do
67 if enemy:IsA("Model") and enemy:FindFirstChild("HumanoidRootPart") then
68 local dist = (enemy.HumanoidRootPart.Position - root.Position).Magnitude
69 if dist <= auraRange then
70 table.insert(enemies, enemy.HumanoidRootPart)
71 end
72 end
73 end
74 end
75 end
76
77 return enemies
78end
79
80local function run(character)
81 local root = character:WaitForChild("HumanoidRootPart")
82
83 while character.Parent do
84 if auraEnabled then
85 local enemies = getEnemiesInRange(root)
86
87 for _, enemyRoot in ipairs(enemies) do
88 local args = { enemyRoot.Position }
89
90 for _, remote in ipairs(projectileRemotes) do
91 remote:FireServer(unpack(args))
92 end
93 end
94 end
95
96 task.wait(fireRate)
97 end
98end
99
100if player.Character then
101 task.spawn(run, player.Character)
102end
103
104player.CharacterAdded:Connect(function(char)
105 task.wait(1)
106 task.spawn(run, char)
107end)