Big Paintball Script RobloxScripts
Big Paintball Script RobloxScripts
--
return closestPlayer
end
shared.fov = 400
local circle = Drawing.new('Circle')
circle.Thickness = 2
circle.NumSides = 12
circle.Radius = shared.fov or 400
circle.Filled = false
circle.Transparency = 1
circle.Color = Color3.new(1, 0, 0.384313)
circle.Visible = true
local target = nil
RunService.Heartbeat:Connect(function(deltaTime)
task.wait(deltaTime ^ 2)
target = getClosestPlayerToCursor(shared.fov)
circle.Position = get_mouse_location()
end)
local OldNamecall
OldNamecall = hookmetamethod(workspace, '__namecall', newcclosure(function(...)
local args = { ... }
local method = string.lower(getnamecallmethod())
local caller = getcallingscript()
if method == 'findpartonraywithwhitelist' and tostring(caller) == 'First Person
Controller' then
return OldNamecall(unpack(args))
else
return OldNamecall(...)
end
end
return OldNamecall(...)
end))