SebTDZ

(QYN Network)

Oct 13th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.40 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local __Message__ = Instance.new("ScreenGui")
  5. local Sound = Instance.new("Sound")
  6. local Frame = Instance.new("ImageLabel")
  7. local TextLabel = Instance.new("TextLabel")
  8. --Properties:
  9. __Message__.Name = "__Message__"
  10. __Message__.Parent = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
  11. __Message__.ResetOnSpawn = false
  12.  
  13. Sound.Name = "Sound"
  14. Sound.Parent = __Message__
  15. Sound.SoundId = "rbxassetid://2946997202"
  16.  
  17. Frame.Name = "Frame"
  18. Frame.Parent = __Message__
  19. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  20. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  21. Frame.BackgroundTransparency = 1
  22. Frame.Position = UDim2.new(0.5, 0, 0.200000003, 0)
  23. Frame.Size = UDim2.new(0, 0, 0.100000001, 0)
  24. Frame.Image = "rbxassetid://2851920938"
  25. Frame.ScaleType = Enum.ScaleType.Slice
  26. Frame.SliceCenter = Rect.new(25, 25, 25, 25)
  27.  
  28. TextLabel.Parent = Frame
  29. TextLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  30. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  31. TextLabel.BackgroundTransparency = 1
  32. TextLabel.BorderSizePixel = 0
  33. TextLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
  34. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  35. TextLabel.Font = Enum.Font.GothamBold
  36. TextLabel.Text = ""
  37. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  38. TextLabel.TextScaled = true
  39. TextLabel.TextSize = 14
  40. TextLabel.TextWrapped = true
  41. -- Scripts:
  42. function SCRIPT_ZCPL74_FAKESCRIPT() -- Frame.LocalScript
  43.     local script = Instance.new('LocalScript')
  44.     script.Parent = Frame
  45.     function Message(Text,Time)
  46.         Sound:Play()
  47.         local Open = game.TweenService:Create(script.Parent, TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0), {Size = UDim2.new(0.8,0,0.1,0)})
  48.         Open:Play()
  49.         local Sec = 1/#Text
  50.         for i=1,#Text do
  51.             script.Parent:WaitForChild("TextLabel").Text = Text:sub(1,#Text)
  52.             wait(Sec)
  53.         end
  54.         wait(Time)
  55.         local Close = game.TweenService:Create(script.Parent, TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0), {Size = UDim2.new(0,0,0.1,0)})
  56.         Close:Play()
  57.         wait(1)
  58.         script.Parent:WaitForChild("TextLabel").Text = ""
  59.     end
  60.     Message("(QYN Network)",2)
  61.     game:GetService("Players").PlayerAdded:Connect(function(NewPlayer)
  62.         Message(NewPlayer.Name .. " Joined",2)
  63.     end)
  64.     game:GetService("Players").PlayerRemoving:Connect(function(OldPlayer)
  65.         Message(OldPlayer.Name .. " Left",2)
  66.     end)
  67. end
  68. coroutine.resume(coroutine.create(SCRIPT_ZCPL74_FAKESCRIPT))
Add Comment
Please, Sign In to add comment