Skip to content

Commit

Permalink
Update ChaWatcherDistributedComputingClient.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
AqwamCreates authored Oct 18, 2023
1 parent 7397a93 commit 3aa0425
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ local function updateDataVectors(watchedPlayerStringUserId, deltaTime: number, i

local CharacterPrimaryPart = Character.PrimaryPart

local CHaracterCFrame = Character:GetPivot() -- Since hackers can fake a HumanoidRootPart and control its properties, we'll be relying on both combination of primary part and model position for best results.
local CharacterCFrame = Character:GetPivot() -- Since hackers can fake a HumanoidRootPart and control its properties, we'll be relying on both combination of primary part and model position for best results.

local Position = CHaracterCFrame.Position
local Position = CharacterCFrame.Position

local Orientation = Vector3.new(math.deg(CHaracterCFrame.LookVector.X), math.deg(CHaracterCFrame.LookVector.Y), math.deg(CHaracterCFrame.LookVector.Z)) -- in degrees so it is easier to convert to radians later
local Orientation = Vector3.new(math.deg(CharacterCFrame.LookVector.X), math.deg(CharacterCFrame.LookVector.Y), math.deg(CharacterCFrame.LookVector.Z)) -- in degrees so it is easier to convert to radians later

local Velocity = CharacterPrimaryPart.Velocity

Expand Down

0 comments on commit 3aa0425

Please sign in to comment.