Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a inventory scanner? [Read desc]

Asked by 4 years ago
Edited 4 years ago

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)
0
This is just the moving script alessandroE_pro 0 — 4y

Answer this question