Script a part linking 2 parts or positions [ROBLOX STUDIO]



Script a part linking 2 parts or positions [ROBLOX STUDIO]

Script a part linking 2 parts or positions [ROBLOX STUDIO]

Script a part linking 2 parts or positions [ROBLOX STUDIO]
This is a quick tutorial for how to form a part in-between 2 parts or positions (Vector3) in Roblox Studio.

I just bought a new microphone and it’s stunning, the video turned out a bit like ASMR lmao

I have exactly what you want 😉
The uncopylocked place of the tutorial:
https://www.roblox.com/games/7805767169/Linking-2-parts-together-using-a-part-script
============ Script ==============
local a = workspace.A.Position
local b = workspace.B.Position

local distance = (a-b).magnitude
local midPosition = (a+b)/2
local UP = Vector3.new(0,1,0)

local thickness = 1

local part = Instance.new(“Part”)
part.Anchored = true

part.Size = Vector3.new(thickness, thickness, distance)
part.CFrame = CFrame.lookAt(midPosition, b, UP)

part.Parent = workspace
==========================
Discord server:
https://discord.gg/mxqM4hf
Support me in paypal:
https://www.paypal.com/paypalme/CodesOtakuYT
Download my cutscene plugin:
https://www.roblox.com/library/4897560482/Codes-Otaku-Cutscene

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

Comments are closed.