Forum > Scripts >

Does anyone know how to combine scripts?

Posts: 23

Threads: 6

Joined: Nov, 2020

Reputation: 0

Posted

im new to this stuff. right now im just making GUI's because its easier but can someone combine these two scripts if that even possible?

 

here are the scripts 

 

game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char) repeat wait() until char:FindFirstChild("HumanoidRootPart") _G.antifreeze = true while _G.antifreeze do wait(.1) if char:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity") then char:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity"):Destroy() end end end)

-

-

-

-

_G.antifreeze = true while _G.antifreeze do wait(.1) if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity") then game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity"):Destroy() end end
 
 
  • 0

say that again i could'nt hear you over me sh!ting myself

Posts: 251

Threads: 44

Joined: Oct, 2020

Reputation: 7

Replied

game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char) repeat wait() until char:FindFirstChild("HumanoidRootPart") _G.antifreeze = true while _G.antifreeze do wait(.1) if char:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity") then char:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity"):Destroy() end end end)

_G.antifreeze = true while _G.antifreeze do wait(.1) if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity") then game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity"):Destroy() end end

-- lol?
  • 0

soy pro

Posts: 23

Threads: 6

Joined: Nov, 2020

Reputation: 0

Replied

@62726lol idk

  • 0

say that again i could'nt hear you over me sh!ting myself

lostburger13

Burger Sensei

Posts: 3

Threads: 2

Joined: Nov, 2020

Reputation: 0

Replied

  • 0

Join the Burger army today! Sell yourself- *Cough cough* Sign up now at BurgerArmy.orgz

Users viewing this thread:

( Members: 0, Guests: 0, Total: 0 )