Hello everyone, I’m a beginner developer. I want to make a pop the lock system in Roblox, but I don’t know how to do it. I’ve watched a lot of videos about this system, but I haven’t found anything. I’m asking for help, advice, or a link to a video. Here’s what I have so far:
local ts = game:GetService("TweenService")
local GUI = script.Parent
local ImageRed = GUI.ImageRed
local rot = 0
while true do
local tween = ts:Create(ImageRed, TweenInfo.new(5, Enum.EasingStyle.Linear), {Rotation = ImageRed.Rotation + 360})
tween:Play()
tween.Completed:Wait()
end