I can’t understand much of the code, but would I need to modify anything to use it on an existing part? There’s an instance.new for a part in it. Will anything need to be modified?
The existing code doesnt normally need to be modified, it creates instances for the part, the surface gui, and the video frames… if you want it to work on your part just replace the first instance with your part like this (it will then create instances of the surface gui and video in your part):
local screenPart = -- reference your part here
local surfaceGui = Instance.new("SurfaceGui")
surfaceGui.Parent = screenPart
local videoFrame = Instance.new("VideoFrame")
videoFrame.Parent = surfaceGui
videoFrame.Looped = true
videoFrame.Video = "rbxassetid://" -- add an asset ID to this
while not videoFrame.IsLoaded do
task.wait()
end
videoFrame:Play()