So out of no where, my /e animations script stopped working. So when players do /e and type the animation name in to do it, it no longer works.
This is my script: prefix = "/e "
game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(m)
m = m:lower()
if m == prefix..“lowend4” then
local a = Instance.new(“Animation”,p.Character)
a.AnimationId = “rbxassetid://12795008138”
local h = p.Character:FindFirstChild’Humanoid’
local t = h:LoadAnimation(a)
t:Play()
p.Chatted:connect(function(m)
m = m:lower()
if m == prefix..“stop” then
t:Stop()
end
end)
end
end)
end)
Can anyone help me fix this?