
7.7k Views
976 Executions
Wall Walk working
Universal Script 📌Uploaded by 11 months ago
Please login to perform these actions:
Description
you can now walk on walls (i will edit this later)
Comments
6
6 comments
0

Offline
-2
is AI but mid
0
you can remove the: local map = workspace:FindFirstChild("Map")
if map then
table.insert(rayParams.FilterDescendantsInstances, map)
end
0
local function isTargetVisible(target)
if not Settings.WallCheck then return true end -- make table settings and add bool named "wallcheck"
local cam = workspace.CurrentCamera
local origin = cam.CFrame.Position
local targetPart = target.Character and target.Character:FindFirstChild(Settings.AimPart) -- string named "Aimpart"
if not targetPart then return false end
local destination = targetPart.Position
local rayParams = RaycastParams.new()
rayParams.FilterDescendantsInstances = {LocalPlayer.Character, target.Character}
rayParams.FilterType = Enum.RaycastFilterType.Blacklist
rayParams.IgnoreWater = true
local map = workspace:FindFirstChild("Map")
if map then
table.insert(rayParams.FilterDescendantsInstances, map)
end
local result = workspace:Raycast(origin, destination - origin, rayParams)
return Settings.WallbangEnabled or not result or result.Instance:IsDescendantOf(target.Character)
end









