uoryetwq

D

Mar 12th, 2025
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local UICorner = Instance.new("UICorner")
  4. local TextLabel = Instance.new("TextLabel")
  5.  
  6. -- 효과음 준비
  7. local AppearSound = Instance.new("Sound")
  8. AppearSound.SoundId = "rbxassetid://1234567890" -- 로고 등장 시 소리 (자신의 소리 ID로 변경)
  9. AppearSound.Parent = game.Workspace
  10.  
  11. local DisappearSound = Instance.new("Sound")
  12. DisappearSound.SoundId = "rbxassetid://9876543210" -- 로고 사라질 때 소리 (자신의 소리 ID로 변경)
  13. DisappearSound.Parent = game.Workspace
  14.  
  15. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16.  
  17. -- 로고 배경 (Frame)
  18. Frame.Parent = ScreenGui
  19. Frame.Size = UDim2.new(0.4, 0, 0.15, 0) -- 크기
  20. Frame.Position = UDim2.new(0.3, 0, 0.4, 0) -- 중앙 배치
  21. Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  22. Frame.BackgroundTransparency = 1 -- 처음엔 안 보이게 설정
  23.  
  24. -- 둥근 모서리 추가
  25. UICorner.CornerRadius = UDim.new(0.2, 0)
  26. UICorner.Parent = Frame
  27.  
  28. -- 텍스트 (로고 제목)
  29. TextLabel.Parent = Frame
  30. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  31. TextLabel.BackgroundTransparency = 1
  32. TextLabel.Text = "힝 속았쥬?"
  33. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  34. TextLabel.TextScaled = true
  35. TextLabel.Font = Enum.Font.FredokaOne
  36. TextLabel.TextTransparency = 1 -- 처음엔 안 보이게 설정
  37.  
  38. -- 무지개 색상 효과 (배경과 텍스트)
  39. local function rainbowEffect()
  40. local rainbowTween = Instance.new("TweenService")
  41. local rainbowTweenInfo = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, -1, true)
  42.  
  43. -- 배경 색상 변화
  44. local rainbowBackground = TweenService:Create(Frame, rainbowTweenInfo, {
  45. BackgroundColor3 = Color3.fromHSV(tick() % 10 / 10, 1, 1)
  46. })
  47.  
  48. -- 텍스트 색상 변화
  49. local rainbowText = TweenService:Create(TextLabel, rainbowTweenInfo, {
  50. TextColor3 = Color3.fromHSV(tick() % 10 / 10, 1, 1)
  51. })
  52.  
  53. rainbowBackground:Play()
  54. rainbowText:Play()
  55. end
  56.  
  57. -- 애니메이션을 위한 Tween 설정 (천천히 등장)
  58. local TweenService = game:GetService("TweenService")
  59. local TweenInfoAppear = TweenInfo.new(3, Enum.EasingStyle.Quart, Enum.EasingDirection.Out)
  60. local TweenInfoDisappear = TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.In)
  61.  
  62. local TweenAppear = TweenService:Create(Frame, TweenInfoAppear, {BackgroundTransparency = 0.2})
  63. local TweenDisappear = TweenService:Create(Frame, TweenInfoDisappear, {BackgroundTransparency = 1})
  64. local TextAppear = TweenService:Create(TextLabel, TweenInfoAppear, {TextTransparency = 0})
  65. local TextDisappear = TweenService:Create(TextLabel, TweenInfoDisappear, {TextTransparency = 1})
  66.  
  67. -- 부드럽게 등장
  68. AppearSound:Play() -- 등장 효과음 재생
  69. TweenAppear:Play()
  70. TextAppear:Play()
  71. rainbowEffect() -- 무지개 색상 효과 시작
  72.  
  73. wait(5) -- 5초 동안 유지
  74.  
  75. -- 부드럽게 사라짐
  76. DisappearSound:Play() -- 사라짐 효과음 재생
  77. TweenDisappear:Play()
  78. TextDisappear:Play()
  79. wait(1)
  80.  
  81. ScreenGui:Destroy()
  82.  
Advertisement
Add Comment
Please, Sign In to add comment