SHOW:
|
|
- or go back to the newest paste.
| 1 | --made by pdnghiaqoi [marseio] | |
| 2 | --do not change this credit | |
| 3 | local chatting = false | |
| 4 | local currentgui | |
| 5 | local currentline = 2 | |
| 6 | BillboardGui0 = Instance.new("BillboardGui")
| |
| 7 | Frame1 = Instance.new("Frame")
| |
| 8 | Frame2 = Instance.new("Frame")
| |
| 9 | ImageLabel3 = Instance.new("ImageLabel")
| |
| 10 | TextLabel4 = Instance.new("TextLabel")
| |
| 11 | TextLabel5 = Instance.new("TextLabel")
| |
| 12 | BillboardGui0.Parent = mas | |
| 13 | BillboardGui0.Size = UDim2.new(15, 0, 4.5, 0) | |
| 14 | BillboardGui0.ClipsDescendants = true | |
| 15 | BillboardGui0.Adornee = nil | |
| 16 | BillboardGui0.AlwaysOnTop = true | |
| 17 | BillboardGui0.MaxDistance = 35 | |
| 18 | BillboardGui0.SizeOffset = Vector2.new(0, 1) | |
| 19 | Frame1.Name = "White" | |
| 20 | Frame1.Parent = BillboardGui0 | |
| 21 | Frame1.Size = UDim2.new(1, 0, 1, 0) | |
| 22 | Frame1.BackgroundColor = BrickColor.new("Institutional white")
| |
| 23 | Frame1.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 24 | Frame1.BorderSizePixel = 0 | |
| 25 | Frame2.Name = "Black" | |
| 26 | Frame2.Parent = Frame1 | |
| 27 | Frame2.Position = UDim2.new(0, 5, 0, 5) | |
| 28 | Frame2.Size = UDim2.new(1, -10, 1, -10) | |
| 29 | Frame2.BackgroundColor = BrickColor.new("Really black")
| |
| 30 | Frame2.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 31 | Frame2.BorderColor = BrickColor.new("Pastel violet")
| |
| 32 | Frame2.BorderColor3 = Color3.new(0.588235, 0.588235, 1) | |
| 33 | Frame2.BorderSizePixel = 4 | |
| 34 | ImageLabel3.Name = "Portrait" | |
| 35 | ImageLabel3.Parent = Frame2 | |
| 36 | ImageLabel3.Position = UDim2.new(0.0195086356, 0, 0.0609827824, 0) | |
| 37 | ImageLabel3.Size = UDim2.new(0.227539942, 0, 0.870999992, 0) | |
| 38 | ImageLabel3.BackgroundColor = BrickColor.new("Institutional white")
| |
| 39 | ImageLabel3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 40 | ImageLabel3.BackgroundTransparency = 9 | |
| 41 | ImageLabel3.BorderSizePixel = 0 | |
| 42 | ImageLabel3.Image = "rbxassetid://2634816264" | |
| 43 | TextLabel4.Name = "Shadow" | |
| 44 | TextLabel4.Parent = Frame2 | |
| 45 | TextLabel4.Position = UDim2.new(0.277011365, 0, 0.0826922357, 0) | |
| 46 | TextLabel4.Size = UDim2.new(0.716000021, 0, 0.870999992, 0) | |
| 47 | TextLabel4.BackgroundColor = BrickColor.new("Really black")
| |
| 48 | TextLabel4.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 49 | TextLabel4.BackgroundTransparency = 9 | |
| 50 | TextLabel4.Font = Enum.Font.Arcade | |
| 51 | TextLabel4.FontSize = Enum.FontSize.Size60 | |
| 52 | TextLabel4.Text = "* " | |
| 53 | TextLabel4.TextColor = BrickColor.new("Medium lilac")
| |
| 54 | TextLabel4.TextColor3 = Color3.new(0.215686, 0.215686, 0.392157) | |
| 55 | TextLabel4.TextSize = 50 | |
| 56 | TextLabel4.TextTruncate = Enum.TextTruncate.AtEnd | |
| 57 | TextLabel4.TextWrap = true | |
| 58 | TextLabel4.TextWrapped = true | |
| 59 | TextLabel4.TextXAlignment = Enum.TextXAlignment.Left | |
| 60 | TextLabel5.Name = "Msg" | |
| 61 | TextLabel5.Parent = Frame2 | |
| 62 | TextLabel5.Position = UDim2.new(0.275019109, 0, 0.0744685978, 0) | |
| 63 | TextLabel5.Size = UDim2.new(0.716000021, 0, 0.870531261, 0) | |
| 64 | TextLabel5.BackgroundColor = BrickColor.new("Institutional white")
| |
| 65 | TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 66 | TextLabel5.BackgroundTransparency = 9 | |
| 67 | TextLabel5.Font = Enum.Font.Arcade | |
| 68 | TextLabel5.FontSize = Enum.FontSize.Size60 | |
| 69 | TextLabel5.Text = "* " | |
| 70 | TextLabel5.TextColor = BrickColor.new("Institutional white")
| |
| 71 | TextLabel5.TextColor3 = Color3.new(1, 1, 1) | |
| 72 | TextLabel5.TextSize = 50 | |
| 73 | TextLabel5.TextTruncate = Enum.TextTruncate.AtEnd | |
| 74 | TextLabel5.TextWrap = true | |
| 75 | TextLabel5.TextWrapped = true | |
| 76 | TextLabel5.TextXAlignment = Enum.TextXAlignment.Left | |
| 77 | wait() | |
| 78 | function saymsg(player,mes,style) | |
| 79 | pcall(function() | |
| 80 | local gui = BillboardGui0:Clone() | |
| 81 | gui.Parent = player.Character:WaitForChild("Head")
| |
| 82 | local white = gui:WaitForChild("White")
| |
| 83 | local blk = white:WaitForChild("Black")
| |
| 84 | local msg = blk:WaitForChild("Msg")
| |
| 85 | local shd = blk:WaitForChild("Shadow")
| |
| 86 | local img = blk:WaitForChild("Portrait")
| |
| 87 | local ms | |
| 88 | if style == "normal" then | |
| 89 | img.Image = "rbxassetid://2537357477" | |
| 90 | elseif style == "happy" then | |
| 91 | img.Image = "rbxassetid://2537357477" | |
| 92 | elseif style == "angry" then | |
| 93 | img.Image = "rbxassetid://2537357477" | |
| 94 | elseif style == "blush" then | |
| 95 | img.Image = "rbxassetid://2537357477" | |
| 96 | elseif style == "sincere" then | |
| 97 | img.Image = "rbxassetid://2537357477" | |
| 98 | elseif style == "sarcasm" then | |
| 99 | img.Image = "rbxassetid://2537357477" | |
| 100 | end | |
| 101 | ||
| 102 | ms = "* "..mes | |
| 103 | ||
| 104 | if string.len(ms) > 25 then | |
| 105 | msg.TextYAlignment = Enum.TextYAlignment.Top | |
| 106 | shd.TextYAlignment = Enum.TextYAlignment.Top | |
| 107 | end | |
| 108 | if string.len(ms) > 58 then | |
| 109 | msg.TextSize = 40 | |
| 110 | shd.TextSize = 40 | |
| 111 | end | |
| 112 | if string.len(ms) > 108 then | |
| 113 | msg.TextSize = 30 | |
| 114 | shd.TextSize = 30 | |
| 115 | end | |
| 116 | ||
| 117 | white.Visible = true | |
| 118 | local sound = Instance.new("Sound")
| |
| 119 | sound.SoundId = "rbxassetid://2545012765" | |
| 120 | sound.Volume = 1 | |
| 121 | sound.Looped = false | |
| 122 | sound.Parent = player.Character | |
| 123 | for i = 1, #ms do | |
| 124 | msg.Text = string.sub(ms, 1, i) | |
| 125 | shd.Text = string.sub(ms, 1, i) | |
| 126 | if string.sub(msg.Text, string.len(msg.Text) - 1) ~= " " and string.sub(msg.Text, string.len(msg.Text) - 1) ~= "," and string.sub(msg.Text, string.len(msg.Text) - 1) ~= "." then | |
| 127 | if not sound then | |
| 128 | local sound = Instance.new("Sound")
| |
| 129 | sound.SoundId = "rbxassetid://2545012765" | |
| 130 | sound.Volume = 1 | |
| 131 | sound.Looped = false | |
| 132 | sound.Parent = player.Character | |
| 133 | end | |
| 134 | sound:Play() | |
| 135 | elseif string.sub(msg.Text, string.len(msg.Text) - 1) == "," or string.sub(msg.Text, string.len(msg.Text) - 1) == "." then | |
| 136 | wait(0.26) | |
| 137 | end | |
| 138 | wait(0.1) | |
| 139 | end | |
| 140 | wait(3) | |
| 141 | gui:Remove() | |
| 142 | end) | |
| 143 | end | |
| 144 | ||
| 145 | function findplayer(speaker,plr) | |
| 146 | local plrs = {}
| |
| 147 | if tostring(plr) then | |
| 148 | if plr == "me" then | |
| 149 | return speaker | |
| 150 | elseif plr == "random" then | |
| 151 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 152 | if v ~= speaker then | |
| 153 | table.insert(plrs,v) | |
| 154 | end | |
| 155 | end | |
| 156 | return plrs[math.random(1,#plrs)] | |
| 157 | end | |
| 158 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 159 | if string.sub(v.Name, 1, #plr) == plr then | |
| 160 | table.insert(plrs,v) | |
| 161 | end | |
| 162 | end | |
| 163 | return plrs[math.random(1,#plrs)] | |
| 164 | end | |
| 165 | end | |
| 166 | local tb = {}
| |
| 167 | local style = "normal" | |
| 168 | owner.Chatted:Connect(function(msg) | |
| 169 | local mes = msg | |
| 170 | if string.sub(msg,1,3) == "/e " or string.sub(msg,1,3) == "/w " then | |
| 171 | mes = string.sub(msg,4) | |
| 172 | if string.sub(mes, 1,6) == "style:" then | |
| 173 | style = getstyle(tonumber(string.sub(mes,7))) | |
| 174 | elseif string.sub(mes, 1,7) == "pacify:" then | |
| 175 | local a = findplayer(owner,string.sub(mes,8)) | |
| 176 | if not a then return end | |
| 177 | pcall(function() | |
| 178 | a.Character:FindFirstChildOfClass("Humanoid").Health = 0
| |
| 179 | end) | |
| 180 | elseif string.sub(mes, 1, 5) == "heal:" then | |
| 181 | local a = findplayer(owner,string.sub(m,6)) | |
| 182 | if not a then return end | |
| 183 | pcall(function() | |
| 184 | a.Character:FindFirstChildOfClass("Humanoid").Health = a.Character:FindFirstChildOfClass("Humanoid").MaxHealth
| |
| 185 | end) | |
| 186 | end | |
| 187 | return | |
| 188 | end | |
| 189 | saymsg(owner,mes,style) | |
| 190 | end) | |
| 191 | function play(human) | |
| 192 | spawn(function() | |
| 193 | local sound = Instance.new("Sound")
| |
| 194 | sound.Parent = human | |
| 195 | sound.Volume = 1 | |
| 196 | sound.SoundId = "rbxassetid://2545012765" | |
| 197 | sound:Play() | |
| 198 | end) | |
| 199 | end | |
| 200 | ||
| 201 | ||
| 202 | v.CharacterAdded:Connect(function() | |
| 203 | for i,a in pairs(tb) do | |
| 204 | if v.UserId == a then | |
| 205 | - | wait(0.5) |
| 205 | + | wait(0.5) |