Skip to content

Commit

Permalink
Remove anti animation (#1771)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccuser44 authored Nov 26, 2024
1 parent 114cb6b commit 649f790
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions MainModule/Server/Plugins/Anti_Cheat.luau
Original file line number Diff line number Diff line change
Expand Up @@ -143,18 +143,6 @@ return function(Vargs, GetEnv)
end)
end

local animator = humanoid:WaitForChild("Animator")

animator.AnimationPlayed:Connect(function(animationTrack)
local animationId = animationTrack.Animation.AnimationId
if animationId == "rbxassetid://148840371" or string.match(animationId, "[%d%l]+://[/%w%p%?=%-_%$&'%*%+%%]*148840371/*") then
task.defer(function()
animationTrack:Stop(1/60)
end)
Detected(player, "log", "Player played an inappropriate character animation")
end
end)

local connections = {}
local function makeConnection(Conn)
local connection
Expand Down

0 comments on commit 649f790

Please sign in to comment.