Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local m = Instance.new("Frame")
- local sentence = Instance.new("TextBox")
- local user = Instance.new("TextBox")
- local txt = Instance.new("TextBox")
- local reaction = Instance.new("TextBox")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextLabel_3 = Instance.new("TextLabel")
- local TextLabel_4 = Instance.new("TextLabel")
- local btn = Instance.new("TextButton")
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- m.Name = "m"
- m.Parent = ScreenGui
- m.BackgroundColor3 = Color3.new(0.443137, 1, 0.188235)
- m.BorderSizePixel = 0
- m.Position = UDim2.new(0.370298952, 0, 0.197343454, 0)
- m.Size = UDim2.new(0, 446, 0, 333)
- m.Draggable = true
- m.Active = true
- sentence.Name = "sentence"
- sentence.Parent = m
- sentence.BackgroundColor3 = Color3.new(1, 1, 1)
- sentence.Position = UDim2.new(0.0313901342, 0, 0.197492152, 0)
- sentence.Size = UDim2.new(0, 418, 0, 25)
- sentence.Font = Enum.Font.SourceSans
- sentence.Text = ""
- sentence.TextColor3 = Color3.new(0, 0, 0)
- sentence.TextSize = 14
- user.Name = "user"
- user.Parent = m
- user.BackgroundColor3 = Color3.new(1, 1, 1)
- user.Position = UDim2.new(0.226457402, 0, 0.401253909, 0)
- user.Size = UDim2.new(0, 239, 0, 25)
- user.Font = Enum.Font.SourceSans
- user.Text = ""
- user.TextColor3 = Color3.new(0, 0, 0)
- user.TextSize = 14
- txt.Name = "txt"
- txt.Parent = m
- txt.BackgroundColor3 = Color3.new(1, 1, 1)
- txt.Position = UDim2.new(0.0448430479, 0, 0.591450334, 0)
- txt.Size = UDim2.new(0, 412, 0, 30)
- txt.Font = Enum.Font.SourceSans
- txt.Text = ""
- txt.TextColor3 = Color3.new(0, 0, 0)
- txt.TextSize = 14
- reaction.Name = "reaction"
- reaction.Parent = m
- reaction.BackgroundColor3 = Color3.new(1, 1, 1)
- reaction.Position = UDim2.new(0.0448430479, 0, 0.81649673, 0)
- reaction.Size = UDim2.new(0, 412, 0, 25)
- reaction.Font = Enum.Font.SourceSans
- reaction.Text = ""
- reaction.TextColor3 = Color3.new(0, 0, 0)
- reaction.TextSize = 14
- TextLabel.Parent = m
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.19730942, 0, 0.0420420431, 0)
- TextLabel.Size = UDim2.new(0, 276, 0, 36)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Sentence"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- TextLabel_2.Parent = m
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.Position = UDim2.new(0.19730942, 0, 0.291291296, 0)
- TextLabel_2.Size = UDim2.new(0, 276, 0, 36)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "User"
- TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14
- TextLabel_2.TextWrapped = true
- TextLabel_3.Parent = m
- TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_3.BackgroundTransparency = 1
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Position = UDim2.new(0.183856502, 0, 0.480480492, 0)
- TextLabel_3.Size = UDim2.new(0, 276, 0, 36)
- TextLabel_3.Font = Enum.Font.SourceSans
- TextLabel_3.Text = "Text"
- TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 14
- TextLabel_3.TextWrapped = true
- TextLabel_4.Parent = m
- TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_4.BackgroundTransparency = 1
- TextLabel_4.BorderSizePixel = 0
- TextLabel_4.Position = UDim2.new(0.183856502, 0, 0.705705702, 0)
- TextLabel_4.Size = UDim2.new(0, 276, 0, 36)
- TextLabel_4.Font = Enum.Font.SourceSans
- TextLabel_4.Text = "Reaction"
- TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_4.TextScaled = true
- TextLabel_4.TextSize = 14
- TextLabel_4.TextWrapped = true
- btn.Name = "btn"
- btn.Parent = m
- btn.BackgroundColor3 = Color3.new(0.34902, 0.34902, 0.34902)
- btn.BorderSizePixel = 0
- btn.Position = UDim2.new(0.269058287, 0, 0.921921909, 0)
- btn.Size = UDim2.new(0, 200, 0, 26)
- btn.Font = Enum.Font.SourceSans
- btn.TextColor3 = Color3.new(0, 0, 0)
- btn.TextSize = 14
- btn.MouseButton1Click:connect(function()
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(""..sentence.Text.." "..user.Text.." "..txt.Text,"All")
- wait(1)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(""..reaction.Text,"All")
- end)
- open = false
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(k)
- if k == "e" then
- if open == false then
- open = true
- m.Visible = false
- else
- open = false
- m.Visible = true
- end
- end
- end
- )
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(k)
- if k == "p" then
- ScreenGui:Destroy()
- end
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement