Advertisement
DrakerMaker

better star glitcher chat gui :flushed:

Dec 6th, 2019
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. deb = false
  2. nochat = {}
  3. owner.Chatted:connect(function(m)
  4. if m:sub(1,7) ~= ";nochat" then
  5. if deb == false then
  6. for i,v in pairs(owner.Parent:GetChildren()) do
  7. deb = true
  8. local ScreenGui = Instance.new("ScreenGui")
  9.  
  10. local Chat = Instance.new("TextLabel")
  11. local Speaker = Instance.new("TextLabel")
  12. local Frame = Instance.new("Frame")
  13. local Version = Instance.new("TextLabel")
  14.  
  15. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. Chat.Name = "Chat"
  18. Chat.Parent = ScreenGui
  19. if owner.Character:FindFirstChild("Torso") then
  20. Chat.BackgroundColor3 = owner.Character.Torso.Color
  21. end
  22. if owner.Character:FindFirstChild("UpperTorso") then
  23. Chat.BackgroundColor3 = owner.Character.UpperTorso.Color
  24. end
  25. Chat.BackgroundTransparency = 0.60000002384186
  26. if owner.Character:FindFirstChild("Torso") then
  27. Chat.BorderColor3 = owner.Character.Torso.Color
  28. end
  29. if owner.Character:FindFirstChild("UpperTorso") then
  30. Chat.BorderColor3 = owner.Character.UpperTorso.Color
  31. end
  32. Chat.BorderSizePixel = 5
  33. Chat.Position = UDim2.new(0, 0, 0.673558235, 0)
  34. Chat.Size = UDim2.new(0, 332, 0, 159)
  35. Chat.Font = Enum.Font.Arcade
  36. Chat.TextColor3 = Color3.new(1, 1, 1)
  37. Chat.TextScaled = true
  38. Chat.TextSize = 14
  39. Chat.TextWrapped = true
  40.  
  41. Speaker.Name = "Speaker"
  42. Speaker.Parent = Chat
  43. if owner.Character:FindFirstChild("Torso") then
  44. Speaker.BackgroundColor3 = owner.Character.Torso.Color
  45. end
  46. if owner.Character:FindFirstChild("UpperTorso") then
  47. Speaker.BackgroundColor3 = owner.Character.UpperTorso.Color
  48. end
  49. Speaker.BackgroundTransparency = 1
  50. Speaker.Position = UDim2.new(0.054, 0,-0.314, 0)
  51. Speaker.Size = UDim2.new(0, 200, 0, 50)
  52. Speaker.Font = Enum.Font.Arcade
  53. Speaker.TextColor3 = Color3.new(1, 1, 1)
  54. Speaker.TextScaled = true
  55. Speaker.TextSize = 14
  56. Speaker.TextWrapped = true
  57.  
  58. Frame.Parent = ScreenGui
  59. if owner.Character:FindFirstChild("Torso") then
  60. Frame.BackgroundColor3 = owner.Character.Torso.Color
  61. end
  62. if owner.Character:FindFirstChild("UpperTorso") then
  63. Frame.BackgroundColor3 = owner.Character.UpperTorso.Color
  64. end
  65. Frame.BackgroundTransparency = 0.60000002384186
  66. if owner.Character:FindFirstChild("Torso") then
  67. Frame.BorderColor3 = owner.Character.Torso.Color
  68. end
  69. if owner.Character:FindFirstChild("UpperTorso") then
  70. Frame.BorderColor3 = owner.Character.UpperTorso.Color
  71. end
  72. Frame.BorderSizePixel = 5
  73. Frame.Position = UDim2.new(0.172916666, 0, 0.558215439, 0)
  74. Frame.Size = UDim2.new(0, 100, 0, 100)
  75.  
  76. Version.Name = "Version"
  77. Version.Parent = ScreenGui
  78. if owner.Character:FindFirstChild("Torso") then
  79. Version.BackgroundColor3 = owner.Character.Torso.Color
  80. end
  81. if owner.Character:FindFirstChild("UpperTorso") then
  82. Version.BackgroundColor3 = owner.Character.UpperTorso.Color
  83. end
  84. Version.BackgroundTransparency = 1
  85. Version.Position = UDim2.new(0.172916666, 0, 0.587943435, 0)
  86. Version.Size = UDim2.new(0, 100, 0, 44)
  87. Version.Font = Enum.Font.Arcade
  88. Version.Text = "v.II"
  89. Version.TextColor3 = Color3.new(1, 1, 1)
  90. Version.TextScaled = true
  91. Version.TextSize = 14
  92. Version.TextWrapped = true
  93. a = coroutine.wrap(function()
  94. while game:GetService("RunService").Stepped:wait() do
  95. Frame.Rotation = Frame.Rotation +7
  96. end
  97. end)
  98. a()
  99. b = coroutine.wrap(function()
  100. Cos = 5
  101. while game:GetService("RunService").Stepped:wait() do
  102. Cos = Cos +2
  103. Chat.Rotation = Chat.Rotation +math.cos(Cos) *1
  104. Speaker.Rotation = Speaker.Rotation -math.cos(Cos) *1.5
  105. end
  106. end)
  107. b()
  108. ScreenGui.Name = "chatgui"
  109. Speaker.Text = owner.Name
  110. Chat.Text = m
  111. ScreenGui.Parent = v.PlayerGui
  112. for i = 1,#nochat do
  113. if v.Name == nochat[i] then
  114. ScreenGui:Destroy()
  115. end
  116. end
  117. end
  118. wait(5)
  119. for i,v in pairs(owner.Parent:GetChildren()) do
  120. if v.PlayerGui:FindFirstChild("chatgui") then
  121. v.PlayerGui.chatgui:Destroy()
  122. end
  123. end
  124. deb = false
  125. end
  126. end
  127. if m:sub(1,7) == ";nochat" then
  128. table.insert(nochat, m:sub(9))
  129. end
  130. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement