Onaylı Üye
Game :
!!! IT DRAINS STAMINA QUICKLY !!!
The Script (AUTO DODGES WHILE HOLDING X):
Bağlantıları görmek için lütfen
Giriş Yap
!!! IT DRAINS STAMINA QUICKLY !!!
The Script (AUTO DODGES WHILE HOLDING X):
Kod:
repeat wait() until game.Players.LocalPlayer ~= nil
repeat wait() until game.ReplicatedStorage:FindFirstChild("ClientTemplates")
repeat wait() until game:IsLoaded()
local Dodging = false
local UserInputService = game:GetService("UserInputService")
local HostileAnimations = {}
local HostileNames = {"Jab","Hook","Uppercut","Ultimate","Left","Right"}
for i,v in pairs(game.ReplicatedStorage.ClientTemplates:GetDescendants()) do
if v:IsA("Animation") and not table.find(HostileAnimations, v.AnimationId) then
for x = 1,#HostileNames do
if string.find(v.Name, HostileNames[x]) then
table.insert(HostileAnimations, v.AnimationId)
end
end
end
end
UserInputService.InputBegan:Connect(function(inputobject, stuffhappening)
if tostring(UserInputService:GetFocusedTextBox()) == "ChatBar" then
return
end
if inputobject.KeyCode == Enum.KeyCode.X then
Dodging = true
end
end)
UserInputService.InputEnded:Connect(function(inputobject, stuffhappening)
if tostring(UserInputService:GetFocusedTextBox()) == "ChatBar" then
return
end
if inputobject.KeyCode == Enum.KeyCode.X then
Dodging = false
end
end)
for i,v in pairs(game.Players:GetPlayers()) do
if v.Character ~= nil and v ~= game.Players.LocalPlayer then
if v.Character:FindFirstChild("Humanoid") then
v.Character.Humanoid.AnimationPlayed:Connect(function(track)
if table.find(HostileAnimations, track.Animation.AnimationId) and v.Character:FindFirstChild("HumanoidRootPart") then
if Dodging and game.Players.LocalPlayer:DistanceFromCharacter(v.Character.HumanoidRootPart.Position) < 40 and v.Character.Parent.Parent == game.Players.LocalPlayer.Character.Parent.Parent then
wait(0.1)
game:GetService("ReplicatedStorage").RemoteEvents.PlayerDodgeRemote:FireServer(true)
end
end
end)
end
end
if v ~= game.Players.LocalPlayer then
v.CharacterAdded:Connect(function(char)
repeat wait() until char:FindFirstChild("Humanoid")
if char:FindFirstChild("Humanoid") then
char.Humanoid.AnimationPlayed:Connect(function(track)
if table.find(HostileAnimations, track.Animation.AnimationId) and char:FindFirstChild("HumanoidRootPart") then
if Dodging and game.Players.LocalPlayer:DistanceFromCharacter(char.HumanoidRootPart.Position) < 40 and char.Parent.Parent == game.Players.LocalPlayer.Character.Parent.Parent then
wait(0.1)
game:GetService("ReplicatedStorage").RemoteEvents.PlayerDodgeRemote:FireServer(true)
end
end
end)
end
end)
end
end