I want to create a scanner that scans an inventory, I want it to monitor on a screen and show a picture of the one that gets scanned and all the items in the inventory.

Video

Current script:

local open = false

local ScanningPart = script.Parent.Parent.Parent.ScanningPart
 

local TweenService = game:GetService("TweenService")

local Part = script.Parent

 

local tweenInfo = TweenInfo.new(2,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0)

 

local Door1Open = {CFrame = ScanningPart.CFrame + ScanningPart.CFrame.lookVector * 12}

local Door1Close = {CFrame = ScanningPart.CFrame }

 

local Up = TweenService:Create(ScanningPart,tweenInfo,Door1Open)


local Down = TweenService:Create(ScanningPart,tweenInfo,Door1Close)


 

script.Parent.MouseClick:connect(function()

Up:Play()

wait(2)

Down:Play()

end)

1 comment

0

This is just the moving script