here is the code situated in starter gui (local script):
local db = false
local plr = game.Players.LocalPlayer.Name
local rlplr = game.Workspace:FindFirstChild(plr)
local TweenService = game:GetService("TweenService")
print(db)
game.Workspace.Map.idk.L.Touched:Connect(function(hit)
if db == false then
db = true
print(db)
-- Not work part
script.Parent.AchievementGui.Enabled = true
------------------
print("k")
script.Parent.AchievementGui.AchievementFrame.CornerImage.AchievementText.Text = "Well, Dont fall!"
local Frame = script.Parent.AchievementGui.AchievementFrame
local Tween = TweenService:Create(Frame, TweenInfo.new(.5), {Position = UDim2.new(0, 0,0.280, 0)})
Tween:Play()
script.Parent.AchievementGui.Enabled = false
end
end)
here’s a video:
robloxapp-20240203-2115014.wmv (1.5 MB)