Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- deb = false
- nochat = {}
- owner.Chatted:connect(function(m)
- if m:sub(1,7) ~= ";nochat" then
- if deb == false then
- for i,v in pairs(owner.Parent:GetChildren()) do
- deb = true
- local ScreenGui = Instance.new("ScreenGui")
- local Chat = Instance.new("TextLabel")
- local Speaker = Instance.new("TextLabel")
- local Frame = Instance.new("Frame")
- local Version = Instance.new("TextLabel")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Chat.Name = "Chat"
- Chat.Parent = ScreenGui
- if owner.Character:FindFirstChild("Torso") then
- Chat.BackgroundColor3 = owner.Character.Torso.Color
- end
- if owner.Character:FindFirstChild("UpperTorso") then
- Chat.BackgroundColor3 = owner.Character.UpperTorso.Color
- end
- Chat.BackgroundTransparency = 0.60000002384186
- if owner.Character:FindFirstChild("Torso") then
- Chat.BorderColor3 = owner.Character.Torso.Color
- end
- if owner.Character:FindFirstChild("UpperTorso") then
- Chat.BorderColor3 = owner.Character.UpperTorso.Color
- end
- Chat.BorderSizePixel = 5
- Chat.Position = UDim2.new(0, 0, 0.673558235, 0)
- Chat.Size = UDim2.new(0, 332, 0, 159)
- Chat.Font = Enum.Font.Arcade
- Chat.TextColor3 = Color3.new(1, 1, 1)
- Chat.TextScaled = true
- Chat.TextSize = 14
- Chat.TextWrapped = true
- Speaker.Name = "Speaker"
- Speaker.Parent = Chat
- if owner.Character:FindFirstChild("Torso") then
- Speaker.BackgroundColor3 = owner.Character.Torso.Color
- end
- if owner.Character:FindFirstChild("UpperTorso") then
- Speaker.BackgroundColor3 = owner.Character.UpperTorso.Color
- end
- Speaker.BackgroundTransparency = 1
- Speaker.Position = UDim2.new(0.054, 0,-0.314, 0)
- Speaker.Size = UDim2.new(0, 200, 0, 50)
- Speaker.Font = Enum.Font.Arcade
- Speaker.TextColor3 = Color3.new(1, 1, 1)
- Speaker.TextScaled = true
- Speaker.TextSize = 14
- Speaker.TextWrapped = true
- Frame.Parent = ScreenGui
- if owner.Character:FindFirstChild("Torso") then
- Frame.BackgroundColor3 = owner.Character.Torso.Color
- end
- if owner.Character:FindFirstChild("UpperTorso") then
- Frame.BackgroundColor3 = owner.Character.UpperTorso.Color
- end
- Frame.BackgroundTransparency = 0.60000002384186
- if owner.Character:FindFirstChild("Torso") then
- Frame.BorderColor3 = owner.Character.Torso.Color
- end
- if owner.Character:FindFirstChild("UpperTorso") then
- Frame.BorderColor3 = owner.Character.UpperTorso.Color
- end
- Frame.BorderSizePixel = 5
- Frame.Position = UDim2.new(0.172916666, 0, 0.558215439, 0)
- Frame.Size = UDim2.new(0, 100, 0, 100)
- Version.Name = "Version"
- Version.Parent = ScreenGui
- if owner.Character:FindFirstChild("Torso") then
- Version.BackgroundColor3 = owner.Character.Torso.Color
- end
- if owner.Character:FindFirstChild("UpperTorso") then
- Version.BackgroundColor3 = owner.Character.UpperTorso.Color
- end
- Version.BackgroundTransparency = 1
- Version.Position = UDim2.new(0.172916666, 0, 0.587943435, 0)
- Version.Size = UDim2.new(0, 100, 0, 44)
- Version.Font = Enum.Font.Arcade
- Version.Text = "v.II"
- Version.TextColor3 = Color3.new(1, 1, 1)
- Version.TextScaled = true
- Version.TextSize = 14
- Version.TextWrapped = true
- a = coroutine.wrap(function()
- while game:GetService("RunService").Stepped:wait() do
- Frame.Rotation = Frame.Rotation +7
- end
- end)
- a()
- b = coroutine.wrap(function()
- Cos = 5
- while game:GetService("RunService").Stepped:wait() do
- Cos = Cos +2
- Chat.Rotation = Chat.Rotation +math.cos(Cos) *1
- Speaker.Rotation = Speaker.Rotation -math.cos(Cos) *1.5
- end
- end)
- b()
- ScreenGui.Name = "chatgui"
- Speaker.Text = owner.Name
- Chat.Text = m
- ScreenGui.Parent = v.PlayerGui
- for i = 1,#nochat do
- if v.Name == nochat[i] then
- ScreenGui:Destroy()
- end
- end
- end
- wait(5)
- for i,v in pairs(owner.Parent:GetChildren()) do
- if v.PlayerGui:FindFirstChild("chatgui") then
- v.PlayerGui.chatgui:Destroy()
- end
- end
- deb = false
- end
- end
- if m:sub(1,7) == ";nochat" then
- table.insert(nochat, m:sub(9))
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement