-- Moves the object around a little to indicate it's similar to an item pickup.

local TweenService = game:GetService("TweenService")

local part = script.parent
local startPosition = part.Position  

part.Anchored = true

local hoverTweenInfo = TweenInfo.new(
	1, -- Time
	Enum.EasingStyle.Sine, -- EasingStyle
	Enum.EasingDirection.InOut, -- EasingDirection
	-1, -- RepeatCount (when less than zero the tween will loop indefinitely)
	true, -- Reverses (tween will reverse once reaching it's goal)
	0 -- DelayTime
)

local tween = TweenService:Create(part, hoverTweenInfo, {Position = startPosition + Vector3.new(0, 0.5, 0)})

tween:Play()
