Rpg aura open source
Key Required

Rpg aura open source

[Visby] War TycoonCbohCboh 2.6K views 72 executesUpdated Nov 23, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•51 lines (1155 chars)
-- lol

local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")
local tool = char:WaitForChild("RPG")
local ev = game.ReplicatedStorage.RocketSystem.Events
local fx = ev.RocketReloadedFX
local fire = ev.FireRocket
local hit = ev.RocketHit
local cnt = 0
local idx = 1

local function tgt()
local lst = {}
for _, w in pairs(game.Players:GetPlayers()) do
 if w ~= plr and w.Character and w.Character:FindFirstChild("HumanoidRootPart") then
  lst[#lst + 1] = w
 end
end
return lst
end

local function atk(w)
local pos = w.Character.HumanoidRootPart.Position
local dir = (pos - hrp.Position).Unit
fx:FireServer(tool, true)
fire:InvokeServer(vector.create(dir.X, dir.Y, dir.Z), tool, tool, vector.create(pos.X, pos.Y, pos.Z))
hit:FireServer(
 vector.create(pos.X, pos.Y, pos.Z),
 vector.create(dir.X, dir.Y, dir.Z),
 tool,
 tool,
 w.Character.HumanoidRootPart,
 nil,
 plr.Name .. "Rocket" .. cnt
)
cnt = cnt + 1
end

spawn(function()
while true do
 local lst = tgt()
 if #lst > 0 then
  if idx > #lst then idx = 1 end
  atk(lst[idx])
  idx = idx + 1
 end
 wait(0.1)
end
end)

Features & Information

source code
#rpg

Community Comments (0)

No comments yet for this script.

More Scripts for [Visby] War Tycoon