Advertisement
Guest User

Undertale

a guest
Jun 26th, 2019
989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. wait(0.1)i
  2. dof game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  3. local Plr = game.Players.LocalPlayer
  4. local PChar = Plr.Character
  5. local HeadID = "305163339"
  6. local TalkSoundID = "138093607"
  7. -- New Instances
  8. local BillGui = Instance.new("BillboardGui", game.Workspace)
  9. local Frame = Instance.new("Frame", BillGui)
  10. local ImageFace = Instance.new("ImageLabel", Frame)
  11. local TextDial = Instance.new("TextLabel", Frame)
  12. local TalkSound = Instance.new("Sound", BillGui)
  13. -- SetUp GUI
  14. BillGui.Size = UDim2.new(0, 200, 0, 52)
  15.  
  16. Frame.Position = UDim2.new(0, 0, 0, -50)
  17. Frame.Size = UDim2.new(0, 200, 0, 52)
  18. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  19. Frame.BorderColor3 = Color3.new(255, 255, 255)
  20.  
  21. ImageFace.BackgroundTransparency = 1
  22. ImageFace.Image = "http://www.roblox.com/asset/?id="..HeadID
  23. ImageFace.Size = UDim2.new(0, 50, 0, 52)
  24.  
  25. TextDial.Text = "Label"
  26. TextDial.BackgroundTransparency = 1
  27. TextDial.Position = UDim2.new(0, 52, 0, 0)
  28. TextDial.Size = UDim2.new(0, 150, 0, 52)
  29. TextDial.TextColor3 = Color3.new(255, 255, 255)
  30.  
  31. TalkSound.SoundId = "http://www.roblox.com/asset/?id="..TalkSoundID
  32.  
  33. Frame.Visible = false
  34.  
  35. wait(1)
  36.  
  37. BillGui.Parent = PChar.Head
  38. -- Chatted Function
  39. Plr.Chatted:connect(function(MSG)
  40. Frame.Visible = true
  41. TextDial.Text = MSG
  42. TalkSound:Play()
  43. wait(3)
  44. Frame.Visible = false
  45. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement