Roblox Zombie Attack Silent Aim Script Pastebin galore.
Roblox Zombie Attack
Zombie Attack game where you can Team up with your friends as you earn new weapons to survive the most waves possible! The gameplay entails players to Fight the boss and kill rare zombies for even better rewards and become the best zombie hunter ever! Need help? Invite some friends! Having a little help goes a long way in the game.
How to Execute Script in Roblox
In your bid to execute the listed scripts, it is paramount you've a script executor or exploit. Having said that, here's how to execute Script in Roblox games.
To begin, download one of the Roblox Script executor like VEGA X, Krnl, Synapses X, jj exploit or any other one that you prefer.Once you've installed the executor, go right onto Roblox.
Now Fire up the Roblox game and the Roblox exploit you have downloaded
Next copy and paste any of the script enlisted above into the box on the executor or exploit you earlier installed.
Once you've done that, click on the inject button and followed by execute.
On seeing the script GUI, go on and enable the hack of your choice.
Roblox Zombie Attack Script
Script:
local EnemiesFolder = workspace.enemies
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Mouse = Player:GetMouse()
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local HitTI = TweenInfo.new(.4, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut)
local GetClosestToCursor = function()
local closestDistance = math.huge
local closestEnemy = nil
for _, enemy in pairs(EnemiesFolder:GetChildren()) do
if not enemy:FindFirstChild("Head") then continue end
if not enemy:FindFirstChildOfClass("Humanoid") then continue end
if enemy.Humanoid.Health <= 0 then continue end
local screenPos, visible = workspace.CurrentCamera:WorldToViewportPoint(enemy.Head.Position)
local distance = (Vector2.new(Mouse.X, Mouse.Y) - Vector2.new(screenPos.X, screenPos.Y)).Magnitude
if distance < closestDistance then
closestEnemy = enemy
closestDistance = distance
end
end
return closestEnemy
end
local ClosestEnemy = GetClosestToCursor()
RunService.Stepped:Connect(function(time, deltaTime)
ClosestEnemy = GetClosestToCursor()
end)
local Highlight = function(ClosestEnemy)
local hl = Instance.new("Highlight")
hl.Adornee = ClosestEnemy
hl.FillColor = Color3.fromRGB(255, 0, 0)
hl.FillTransparency = .2
hl.OutlineColor = Color3.fromRGB(200, 0, 0)
hl.OutlineTransparency = .2
hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
hl.Parent = ClosestEnemy
local t = TweenService:Create(hl, HitTI, {FillTransparency = 1, OutlineTransparency= .8})
t.Completed:Connect(function()
hl:Destroy()
end)
t:Play()
end
local old; old = hookmetamethod(game, '__namecall', function(this, ...)
local args = {...}
local method = getnamecallmethod()
if not checkcaller() and method == 'FireServer' and this.Name == "Gun" then
if ClosestEnemy then
task.spawn(Highlight, ClosestEnemy)
args[1]["Hit"] = ClosestEnemy.Head
end
end
return old(this, unpack(args))
end)
About Gameplay
"Welcome to Zombie Attack! Team up with your friends as you earn new weapons to survive the most waves possible! Fight the boss and kill rare zombies for even better rewards and become the best zombie hunter ever! Need help? Invite some friends! Having a little help goes a long way!"
No comments
Post a Comment