Universal Script 📌
6 Views
0 Executions

offset (bugged physics)

Universal Script 📌
jonhno5q
jonhno5qFirst script
2 days ago · Updated

Reviewed by QueueMatttsPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

yes

View Raw
-- https://lua.expert/
local LocalPlayer = game:GetService("Players").LocalPlayer
local t = {
	Head = Vector3.new(0, 1.5, 0),
	["Left Arm"] = Vector3.new(-1.5, 0, 0),
	["Right Arm"] = Vector3.new(1.5, 0, 0),
	["Left Leg"] = Vector3.new(-0.5, -2, 0),
	["Right Leg"] = Vector3.new(0.5, -2, 0)
}
local t2 = {
	Head = Vector3.new(0, 1.5, 0),
	UpperTorso = Vector3.new(0, 1, 0),
	LowerTorso = Vector3.new(0, 0, 0),
	LeftUpperArm = Vector3.new(-0.5, 1, 0),
	LeftLowerArm = Vector3.new(-0.75, 0.25, 0),
	LeftHand = Vector3.new(-1, -0.5, 0),
	RightUpperArm = Vector3.new(0.5, 1, 0),
	RightLowerArm = Vector3.new(0.75, 0.25, 0),
	RightHand = Vector3.new(1, -0.5, 0),
	LeftUpperLeg = Vector3.new(-0.5, -1, 0),
	LeftLowerLeg = Vector3.new(-0.5, -2, 0),
	LeftFoot = Vector3.new(-0.5, -3, 0),
	RightUpperLeg = Vector3.new(0.5, -1, 0),
	RightLowerLeg = Vector3.new(0.5, -2, 0),
	RightFoot = Vector3.new(0.5, -3, 0)
}

local function calcCOM(p1, p2) --[[ calcCOM | Line: 36 ]]
	local v1 = p1:FindFirstChild("HumanoidRootPart") or (p1:FindFirstChildOfClass("Humanoid") and p1:FindFirstChildOfClass("Humanoid").RootPart or (p1.PrimaryPart or p1:FindFirstChildWhichIsA("BasePart")))

	if not v1 then
		return Vector3.new(0, 0, 0), 0
	end

	local v2 = v1:GetMass()
	local sum = Vector3.new(0, 0, 0) + v1.Position * v2
	local sum2 = 0 + v2
	local v3 = p1:FindFirstChild("Torso") or p1:FindFirstChild("UpperTorso")

	if v3 then


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
26
0
Bumped 15 minutes ago
Script hub
5
0
Approved 21 minutes ago
Universal Script 📌
13
1
Approved 44 minutes ago