Skip to content

Commit

Permalink
Update Main.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Gelatekussy authored Nov 6, 2022
1 parent d1f61c7 commit 79cfb6b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -759,9 +759,9 @@ table.insert(Events, ArtificalEvent:Connect(function()
if v:IsA("BasePart") then
if v and v.Parent then
if CollideFlingPart and v.Name ~= CollideFlingPart.Name then
v.Velocity = Velocity
v.AssemblyLinearVelocity = Velocity
elseif not CollideFlingPart then
v.Velocity = Velocity
v.AssemblyLinearVelocity = Velocity
end
end
end
Expand All @@ -772,12 +772,12 @@ table.insert(Events, ArtificalEvent:Connect(function()
if IsTorsoFling == true and CollideFlingPart then
if RigType == "R6" then
if FakeHum.MoveDirection.Magnitude < 0.1 then
CollideFlingPart.Velocity = Velocity
CollideFlingPart.AssemblyLinearVelocity = Velocity
elseif FakeHum.MoveDirection.Magnitude > 0.1 then
CollideFlingPart.Velocity = Vector3.new(1000,1000,1000)
CollideFlingPart.AssemblyLinearVelocity = Vector3.new(1000,1000,1000)
end
else
CollideFlingPart.Velocity = Velocity
CollideFlingPart.AssemblyLinearVelocity = Velocity
if FakeHum.MoveDirection.Magnitude < 0.1 then
CollideFlingPart.RotVelocity = Vector3.new()
elseif FakeHum.MoveDirection.Magnitude > 0.1 then
Expand Down

0 comments on commit 79cfb6b

Please sign in to comment.