Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --made by pdnghiaqoi [marseio]
- --do not change this credit
- local chatting = false
- local currentgui
- local currentline = 2
- BillboardGui0 = Instance.new("BillboardGui")
- Frame1 = Instance.new("Frame")
- Frame2 = Instance.new("Frame")
- ImageLabel3 = Instance.new("ImageLabel")
- TextLabel4 = Instance.new("TextLabel")
- TextLabel5 = Instance.new("TextLabel")
- BillboardGui0.Parent = mas
- BillboardGui0.Size = UDim2.new(15, 0, 4.5, 0)
- BillboardGui0.ClipsDescendants = true
- BillboardGui0.Adornee = nil
- BillboardGui0.AlwaysOnTop = true
- BillboardGui0.MaxDistance = 35
- BillboardGui0.SizeOffset = Vector2.new(0, 1)
- Frame1.Name = "White"
- Frame1.Parent = BillboardGui0
- Frame1.Size = UDim2.new(1, 0, 1, 0)
- Frame1.BackgroundColor = BrickColor.new("Institutional white")
- Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame1.BorderSizePixel = 0
- Frame2.Name = "Black"
- Frame2.Parent = Frame1
- Frame2.Position = UDim2.new(0, 5, 0, 5)
- Frame2.Size = UDim2.new(1, -10, 1, -10)
- Frame2.BackgroundColor = BrickColor.new("Really black")
- Frame2.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame2.BorderColor = BrickColor.new("Pastel violet")
- Frame2.BorderColor3 = Color3.new(0.588235, 0.588235, 1)
- Frame2.BorderSizePixel = 4
- ImageLabel3.Name = "Portrait"
- ImageLabel3.Parent = Frame2
- ImageLabel3.Position = UDim2.new(0.0195086356, 0, 0.0609827824, 0)
- ImageLabel3.Size = UDim2.new(0.227539942, 0, 0.870999992, 0)
- ImageLabel3.BackgroundColor = BrickColor.new("Institutional white")
- ImageLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel3.BackgroundTransparency = 9
- ImageLabel3.BorderSizePixel = 0
- ImageLabel3.Image = "rbxassetid://2634816264"
- TextLabel4.Name = "Shadow"
- TextLabel4.Parent = Frame2
- TextLabel4.Position = UDim2.new(0.277011365, 0, 0.0826922357, 0)
- TextLabel4.Size = UDim2.new(0.716000021, 0, 0.870999992, 0)
- TextLabel4.BackgroundColor = BrickColor.new("Really black")
- TextLabel4.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel4.BackgroundTransparency = 9
- TextLabel4.Font = Enum.Font.Arcade
- TextLabel4.FontSize = Enum.FontSize.Size60
- TextLabel4.Text = "* "
- TextLabel4.TextColor = BrickColor.new("Medium lilac")
- TextLabel4.TextColor3 = Color3.new(0.215686, 0.215686, 0.392157)
- TextLabel4.TextSize = 50
- TextLabel4.TextTruncate = Enum.TextTruncate.AtEnd
- TextLabel4.TextWrap = true
- TextLabel4.TextWrapped = true
- TextLabel4.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel5.Name = "Msg"
- TextLabel5.Parent = Frame2
- TextLabel5.Position = UDim2.new(0.275019109, 0, 0.0744685978, 0)
- TextLabel5.Size = UDim2.new(0.716000021, 0, 0.870531261, 0)
- TextLabel5.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel5.BackgroundTransparency = 9
- TextLabel5.Font = Enum.Font.Arcade
- TextLabel5.FontSize = Enum.FontSize.Size60
- TextLabel5.Text = "* "
- TextLabel5.TextColor = BrickColor.new("Institutional white")
- TextLabel5.TextColor3 = Color3.new(1, 1, 1)
- TextLabel5.TextSize = 50
- TextLabel5.TextTruncate = Enum.TextTruncate.AtEnd
- TextLabel5.TextWrap = true
- TextLabel5.TextWrapped = true
- TextLabel5.TextXAlignment = Enum.TextXAlignment.Left
- wait()
- function saymsg(player,mes,style)
- pcall(function()
- local gui = BillboardGui0:Clone()
- gui.Parent = player.Character:WaitForChild("Head")
- local white = gui:WaitForChild("White")
- local blk = white:WaitForChild("Black")
- local msg = blk:WaitForChild("Msg")
- local shd = blk:WaitForChild("Shadow")
- local img = blk:WaitForChild("Portrait")
- local ms
- if style == "normal" then
- img.Image = "rbxassetid://2537357477"
- elseif style == "happy" then
- img.Image = "rbxassetid://2537357477"
- elseif style == "angry" then
- img.Image = "rbxassetid://2537357477"
- elseif style == "blush" then
- img.Image = "rbxassetid://2537357477"
- elseif style == "sincere" then
- img.Image = "rbxassetid://2537357477"
- elseif style == "sarcasm" then
- img.Image = "rbxassetid://2537357477"
- end
- ms = "* "..mes
- if string.len(ms) > 25 then
- msg.TextYAlignment = Enum.TextYAlignment.Top
- shd.TextYAlignment = Enum.TextYAlignment.Top
- end
- if string.len(ms) > 58 then
- msg.TextSize = 40
- shd.TextSize = 40
- end
- if string.len(ms) > 108 then
- msg.TextSize = 30
- shd.TextSize = 30
- end
- white.Visible = true
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545012765"
- sound.Volume = 1
- sound.Looped = false
- sound.Parent = player.Character
- for i = 1, #ms do
- msg.Text = string.sub(ms, 1, i)
- shd.Text = string.sub(ms, 1, i)
- 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
- if not sound then
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545012765"
- sound.Volume = 1
- sound.Looped = false
- sound.Parent = player.Character
- end
- sound:Play()
- elseif string.sub(msg.Text, string.len(msg.Text) - 1) == "," or string.sub(msg.Text, string.len(msg.Text) - 1) == "." then
- wait(0.26)
- end
- wait(0.1)
- end
- wait(3)
- gui:Remove()
- end)
- end
- owner.CharacterAdded:Connect(function()
- wait(0.5)
- function findplayer(speaker,plr)
- local plrs = {}
- if tostring(plr) then
- if plr == "me" then
- return speaker
- elseif plr == "random" then
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v ~= speaker then
- table.insert(plrs,v)
- end
- end
- return plrs[math.random(1,#plrs)]
- end
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if string.sub(v.Name, 1, #plr) == plr then
- table.insert(plrs,v)
- end
- end
- return plrs[math.random(1,#plrs)]
- end
- end
- local tb = {}
- local style = "normal"
- owner.Chatted:Connect(function(msg)
- local mes = msg
- if string.sub(msg,1,3) == "/e " or string.sub(msg,1,3) == "/w " then
- mes = string.sub(msg,4)
- if string.sub(mes, 1,6) == "style:" then
- style = getstyle(tonumber(string.sub(mes,7)))
- elseif string.sub(mes, 1,7) == "pacify:" then
- local a = findplayer(owner,string.sub(mes,8))
- if not a then return end
- pcall(function()
- a.Character:FindFirstChildOfClass("Humanoid").Health = 0
- end)
- elseif string.sub(mes, 1, 5) == "heal:" then
- local a = findplayer(owner,string.sub(m,6))
- if not a then return end
- pcall(function()
- a.Character:FindFirstChildOfClass("Humanoid").Health = a.Character:FindFirstChildOfClass("Humanoid").MaxHealth
- end)
- end
- return
- end
- saymsg(owner,mes,style)
- end)
- function play(human)
- spawn(function()
- local sound = Instance.new("Sound")
- sound.Parent = human
- sound.Volume = 1
- sound.SoundId = "rbxassetid://2545012765"
- sound:Play()
- end)
- end
- v.CharacterAdded:Connect(function()
- for i,a in pairs(tb) do
- if v.UserId == a then
- wait(0.5)
- morph(v)
- local char = v.Character
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- local root = char:WaitForChild("HumanoidRootPart")
- humanoid.Died:Connect(function()
- local pos = root.Position
- v.Character = nil
- local a = Part0:Clone()
- a.Parent = workspace
- a.Position = pos
- local front = a:WaitForChild("front")
- local back = a:WaitForChild("back")
- front.Texture = "rbxassetid://3287241175"
- back.Texture = "rbxassetid://3287241175"
- wait(1)
- front.Texture = "rbxassetid://3287240573"
- back.Texture = "rbxassetid://3287240573"
- play(a)
- wait(0.85)
- front.Transparency = 1
- back.Transparency = 1
- local ParticleEmitter0 = Instance.new("ParticleEmitter")
- ParticleEmitter0.Parent = a
- ParticleEmitter0.Speed = NumberRange.new(35, 35)
- ParticleEmitter0.Rotation = NumberRange.new(10, 10)
- ParticleEmitter0.LightInfluence = 1
- ParticleEmitter0.Texture = "rbxassetid://3287241175"
- ParticleEmitter0.ZOffset = 10
- ParticleEmitter0.Size = NumberSequence.new(0.5,0.5)
- ParticleEmitter0.Acceleration = Vector3.new(0, -75, 0)
- ParticleEmitter0.Lifetime = NumberRange.new(0.5, 1)
- ParticleEmitter0.Rate = 250
- ParticleEmitter0.RotSpeed = NumberRange.new(10, 10)
- ParticleEmitter0.SpreadAngle = Vector2.new(100, 100)
- ParticleEmitter0.VelocitySpread = 100
- ParticleEmitter0.Name = "pt"
- wait(1)
- ParticleEmitter0.Enabled = false
- wait(2)
- v:LoadCharacter()
- end)
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement