Roblox Script BOXING BETA: Sub-Par "Autododge"

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Onaylı Üye
Katılım
11 Ocak 2017
Mesajlar
71
Çözümler
1
Tepki puanı
14
Ödüller
6
9 HİZMET YILI
Game :
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
 
Ne kadar yaşadığımız değil nasıl yaşadığmız önemli
Ultra Üye
Katılım
5 Nis 2021
Mesajlar
1,612
Çözümler
9
Tepki puanı
150
Ödüller
6
Sosyal
5 HİZMET YILI
reis comet ile yaptım da dodgelemiyor sebebi nedir
 
Onaylı Üye
Katılım
21 Mar 2022
Mesajlar
55
Tepki puanı
3
Ödüller
3
4 HİZMET YILI
Eu quero saber se tem alguma escola que ensine a criar scripts para jogos?
 
Seçkin Üye
Katılım
15 Ara 2021
Mesajlar
462
Tepki puanı
19
Ödüller
2
Yaş
38
4 HİZMET YILI
Game :
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
thank you brother
 
Süper Üye
Katılım
19 Haz 2021
Mesajlar
937
Çözümler
1
Tepki puanı
158
Ödüller
4
Yaş
28
4 HİZMET YILI
thats good to look copying someone code
 
I Love MH
Seçkin Üye
Katılım
1 Mar 2020
Mesajlar
405
Tepki puanı
29
Ödüller
3
Yaş
25
6 HİZMET YILI
I Test But didn't Work :) IS there any Video or Steps to use this Script
 
cutiepie
Banlı Üye
Katılım
5 Mar 2020
Mesajlar
608
Tepki puanı
18
Ödüller
4
6 HİZMET YILI
dam we have roblox players here too
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst