View difference between Paste ID: zN8PkRjT and VLuqGHpG
SHOW: | | - or go back to the newest paste.
1
wait(0.1)
2
local Plr = game.Players.LocalPlayer
3
local PChar = Plr.Character
4-
local HeadID = "305163339"
4+
local HeadID = "2744839"
5-
local TalkSoundID = "138093607"
5+
local TalkSoundID = "434403768"
6
-- New Instances
7
local BillGui = Instance.new("BillboardGui", game.Workspace)
8
local Frame = Instance.new("Frame", BillGui)
9
local ImageFace = Instance.new("ImageLabel", Frame)
10
local TextDial = Instance.new("TextLabel", Frame)
11
local TalkSound = Instance.new("Sound", BillGui)
12
-- SetUp GUI
13
BillGui.Size = UDim2.new(0, 200, 0, 52)
14
15
Frame.Position = UDim2.new(0, 0, 0, -50)
16
Frame.Size = UDim2.new(0, 200, 0, 52)
17
Frame.BackgroundColor3 = Color3.new(0, 0, 0)
18
Frame.BorderColor3 = Color3.new(255, 255, 255)
19
20
ImageFace.BackgroundTransparency = 1
21-
ImageFace.Image = "http://www.roblox.com/asset/?id="..HeadID
21+
ImageFace.Image = "http://www.roblox.com/asset/?id=2744839"..HeadID
22
ImageFace.Size = UDim2.new(0, 50, 0, 52)
23
24
TextDial.Text = "Label"
25
TextDial.BackgroundTransparency = 1
26
TextDial.Position = UDim2.new(0, 52, 0, 0)
27
TextDial.Size = UDim2.new(0, 150, 0, 52)
28
TextDial.TextColor3 = Color3.new(255, 255, 255)
29
30-
TalkSound.SoundId = "http://www.roblox.com/asset/?id="..TalkSoundID
30+
TalkSound.SoundId = "http://www.roblox.com/asset/?id=434403768"..TalkSoundID
31
32
Frame.Visible = false
33
34
wait(1)
35
36
BillGui.Parent = PChar.Head
37
-- Chatted Function
38
Plr.Chatted:connect(function(MSG)
39
	Frame.Visible = true
40
	TextDial.Text = MSG
41
	TalkSound:Play()
42
	wait(3)
43
	Frame.Visible = false
44
end)