Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Message = game.ReplicatedStorage:WaitForChild('Message')
- Image = Message:WaitForChild('SpeakerImage')
- Speaker = Message:WaitForChild('SpeakerName')
- Message:GetPropertyChangedSignal('Value'):Connect(function()
- if Message.Value == 'None' then
- script.Parent.Frame.Visible = false
- else
- script.Parent.Frame.Visible = true
- end
- script.Parent.Frame.Message.Text = Message.Value
- end)
- Speaker:GetPropertyChangedSignal('Value'):Connect(function()
- script.Parent.Frame.ImageLabel.Image = Image.Value
- script.Parent.Frame.PlayerName.Text = Speaker.Value
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement