Advertisement
SmokeDelsin

fail2.0

Jul 9th, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. dot = false
  2. des = false
  3. local ChatService = game:GetService("Chat")
  4. local player = game.Players.LocalPlayer
  5. char = player.Character
  6. hum = char.Humanoid
  7. torso = hum.Torso
  8. lig = Instance.new("PointLight",player.Character.Torso)
  9. lig.Color=Color3.new(0,255,255)
  10. m=player:GetMouse()
  11. bb = Instance.new("BillboardGui",player.Character.Head)
  12. bb.Enabled = true
  13. bb.AlwaysOnTop = true
  14. bb.Size = UDim2.new(0,200,0,50)
  15. bb.StudsOffset = Vector3.new(0,1,0)
  16. gui=Instance.new("TextBox",bb)
  17. gui.Text = "* "
  18. gui.Size = UDim2.new(0,133,0,45)
  19. gui.Position=UDim2.new(0,57,0,-40)
  20. gui.TextColor3 = Color3.new(255,255,255)
  21. gui.BackgroundColor3=Color3.new(0,0,0)
  22. gui.TextWrapped = true
  23. gui.TextScaled = true
  24. gui.TextXAlignment = "Left"
  25. gui.TextYAlignment = "Top"
  26. gui.Visible = false
  27. gui.BorderColor3 = Color3.new(0,0,0)
  28.  
  29. gui1=Instance.new("TextButton",bb)
  30. gui1.Position=UDim2.new(0,5,0,-43)
  31. gui1.Size = UDim2.new(0,190,0,51)
  32.  
  33. gui1.TextColor3 = Color3.new(255,255,255)
  34. gui1.BackgroundColor3=Color3.new(0,0,0)
  35.  
  36. Debounces = {
  37. ["IsSpeech"]=false;
  38. }
  39.  
  40.  
  41. Speeches = {
  42. "rbxassetid://316403916",
  43. "rbxassetid://316403844",
  44. "rbxassetid://316403787",
  45. "rbxassetid://316403490"
  46. };
  47.  
  48.  
  49.  
  50.  
  51. function swait(num)
  52. if num==0 or num==nil then
  53. game:service'RunService'.Stepped:wait(0)
  54. else
  55. for i=0,num do
  56. game:service'RunService'.Stepped:wait(0)
  57. end
  58. end
  59. end
  60.  
  61.  
  62. for _,v in pairs(Speeches) do
  63.  
  64. game:GetService("ContentProvider"):Preload(v)
  65.  
  66. end
  67.  
  68. so = function(id,par,vol,pit)
  69. coroutine.resume(coroutine.create(function()
  70. local sou = Instance.new("Sound",par or workspace)
  71. sou.Volume=vol
  72. sou.Pitch=pit or 1
  73. sou.SoundId=id
  74. swait()
  75. sou:play()
  76. game:GetService("Debris"):AddItem(sou,sou.TimeLength)
  77. end))
  78. end
  79.  
  80.  
  81.  
  82. function speech()
  83. if Debounces.IsSpeech then return end
  84. Debounces.IsSpeech = true
  85.  
  86. so(""..Speeches[math.random(1,#Speeches)].."",torso,1,1)
  87.  
  88. swait()
  89.  
  90. Debounces.IsSpeech = false
  91. end
  92.  
  93.  
  94. gui1.Visible = false
  95. img = Instance.new("ImageLabel",bb)
  96. img.Size = UDim2.new(0,46,0,47)
  97. img.Position = UDim2.new(0,10,0,-41)
  98. img.Image = "rbxassetid://424970146"
  99. img.BorderColor3 = Color3.new(0,0,1)
  100. img.Visible = false
  101. asd = Instance.new("Sound",player.Character.Torso)
  102. asd.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  103.  
  104. asd1 = Instance.new("Sound",player.Character.Torso)
  105. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  106.  
  107. asd2 = Instance.new("Sound",player.Character.Torso)
  108. asd2.SoundId = "http://www.roblox.com/asset/?id = 358950238"
  109. asd2.Looped = true
  110. asd3 = Instance.new("Sound",player.Character.Torso)
  111. asd3.SoundId = "http://www.roblox.com/asset/?id = 177078299"
  112. asd3.Looped = true
  113. asd4 = Instance.new("Sound",player.Character.Torso)
  114. asd4.SoundId = "http://www.roblox.com/asset/?id = 408035394"
  115. asd4.Looped = false
  116. asd5 = Instance.new("Sound",player.Character.Torso)
  117. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  118. asd5.Looped = true
  119. dunkd = Instance.new("Sound",player.Character.Torso)
  120. dunkd.SoundId = "http://www.roblox.com/asset/?id = "
  121. dunkd.Looped = false
  122. function play(play)
  123. asd:Play()
  124. asd1:Play()
  125. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement