Advertisement
Sheckles

dalls

Jun 3rd, 2018
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. wait(math.randomseed(tick()))
  2. local plr=game.Players.LocalPlayer;ch=plr.Character;
  3. local tor=ch.Torso;local head=ch.Head;local ra=ch['Right Arm'];local la=ch['Left Arm'];local rl=ch['Right Leg'];local ll=ch['Left Leg'];
  4. local rj=ch.HumanoidRootPart.RootJoint;local neck=tor.Neck;
  5. local hum=ch.Humanoid
  6. local defWS=16
  7. local defJP=50
  8. local mo=plr:GetMouse();local cam=workspace.CurrentCamera;
  9.  
  10. local godName="Dallas123456788"
  11. local godTalkSFX="rbxassetid://418252437"
  12.  
  13. local talkGui=Instance.new("BillboardGui",head)
  14. local im=Instance.new("ImageLabel",talkGui)
  15. local text=Instance.new("TextLabel",im)
  16. talkGui.Name="BillBoardGui"
  17. talkGui.Size=UDim2.new(15,0,5,0)
  18. talkGui.Active=true
  19. talkGui.ExtentsOffset=Vector3.new(0,3.25,0)
  20.  
  21. im.Position=UDim2.new(0.10000000149012,0,0,0)
  22. im.Size=UDim2.new(0.80000001192093,0,0.80000001192093,0)
  23. im.Position=UDim2.new(0.10000000149012,0,0,0)
  24. im.Active=true
  25. im.BackgroundColor3=Color3.new(0,0,0)
  26. im.BackgroundTransparency=1
  27. im.Image="http://www.roblox.com/asset/?id=0"
  28.  
  29. text.BackgroundTransparency=1
  30. text.Size=UDim2.new(1,0,1,0)
  31. text.BackgroundColor3=Color3.new(0,1,1)
  32. text.Font=Enum.Font.SourceSans
  33. text.FontSize=Enum.FontSize.Size14
  34. text.TextScaled=true
  35. text.TextWrapped=true
  36. text.Text=""
  37.  
  38. local talkSound=Instance.new("Sound",head)
  39. talkSound.SoundId=godTalkSFX
  40. talkSound.Volume=0.85
  41.  
  42. function say(msg,col,strokeCol,font)
  43. coroutine.resume(coroutine.create(function()
  44. text.TextColor3=col
  45. text.TextStrokeColor3=strokeCol
  46. text.Font=font
  47. text.Text=""..godName..": "
  48. for i=1,msg:len() do
  49. local x=math.random(855,1155)
  50. talkSound.Pitch=x/1000
  51. talkSound:play()
  52. text.Text=""..text.Text..""..msg:sub(i,i)..""
  53. wait(.05)
  54. end
  55. wait(1.5)
  56. text.Text=""
  57. end))
  58. end
  59.  
  60. plr.Chatted:connect(function(msg)
  61. say(msg,Color3.new(255, 0, 0),Color3.new(255, 0, 0),"Fantasy")
  62. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement