so i made a custom proximity prompt and i tweened the pp_ui’s (billboard gui) size when the prompt shows and stuff. i just want to know if there’s a way to scale it up so that it looks like a circle and not a square?
this is mid tween, you can see its in the shape of a square
local function showPrompt()
local PP_UI = playerGui:WaitForChild("PP_UI")
PP_UI.Size = UDim2.new(0, 0, 0, 0)
local tweenInfo = TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 0, false, 0)
local tween = ts:Create(PP_UI, tweenInfo, {Size = UDim2.new(0, 150, 0, 150)})
tween:Play()
return PP_UI, tweenInfo, tween
end
pp.PromptShown:Connect(showPrompt)
local function hidePrompt()
local PP_UI, tweenInfo, tween = showPrompt()
if tween then
tween:Cancel()
end
PP_UI.Size = UDim2.new(0, 150, 0, 150)
tween = ts:Create(PP_UI, tweenInfo, {Size = UDim2.new(0, 0, 0, 0)})
tween:Play()
end