--[[
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "Gun Modifier",
LoadingTitle = "Loading...",
LoadingSubtitle = "by you",
ConfigurationSaving = {
Enabled = false,
}
})
local Tab = Window:CreateTab("Main", 4483362458)
local running = false
local function getGunStats()
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local tool = character:FindFirstChildOfClass("Tool")
if not tool then return nil end
local stats = tool:FindFirstChild("CurrentStats")
return stats
end
-- toggle
Tab:CreateToggle({
Name = "OP Gun",
CurrentValue = false,
Callback = function(Value)
running = Value
if running then
task.spawn(function()
while running do
local gunstats = getGunStats()
if gunstats then
gunstats:SetAttribute("magazineSize", 999999999)
gunstats:SetAttribute("rateOfFire", 10000)
gunstats:SetAttribute("rayRadius", 3)
gunstats:SetAttribute("raysPerShot", 1)
gunstats:SetAttribute("damage", 999999999)
gunstats:SetAttribute("reloadTime", 0)
gunstats:SetAttribute("spread", 0)
end
task.wait(0.1)
end
end)
end
end
})
Rayfield:Notify({
Title = "Loaded",
Content = "Script successfully loaded",
Duration = 3
})