TheYoutuber_Pro

qwfgq

Jan 16th, 2022 (edited)
851
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local mult = 1
  2. local real = Instance.new("SpawnLocation"  , Instance.new("WorldModel" , script))
  3. real.CanCollide = false
  4. real.Parent = script
  5. real.Size = Vector3.new(3.5,7,3.5) * mult
  6. real.CanTouch = false
  7. real.Enabled = false
  8. pcall(function()
  9. real.CFrame = owner.Character.Head.CFrame * CFrame.new(0,0,-8)
  10. end)
  11. real.Anchored = true
  12. real.CanQuery = false
  13. local mesh = Instance.new("SpecialMesh" , real)
  14. mesh.MeshId = 'rbxassetid://3054461843'
  15. mesh.TextureId = 'rbxassetid://3054461863'
  16. mesh.Scale = Vector3.new(.15,.15,.15)
  17. local yes = Instance.new("Sound" , real)
  18. yes.EmitterSize = 25 + (mult/10)
  19. yes.SoundId = 'rbxassetid://6855412882'
  20. yes.Volume = 2
  21. yes.Looped = true
  22. function chatfunc(text)
  23. local chat = coroutine.wrap(function()
  24. pcall(function()
  25. real:FindFirstChild("TalkingBillBoard"):Destroy()
  26. end)
  27. local naeeym2 = Instance.new("BillboardGui" , real)
  28. naeeym2.Size = UDim2.new(0, 250, 0, 250)
  29. naeeym2.StudsOffset = Vector3.new(0,3 * mult,0)
  30. naeeym2.Name = "TalkingBillBoard"
  31. local tecks2 = Instance.new("TextBox",naeeym2)
  32. tecks2.BackgroundTransparency = 1
  33. tecks2.BorderSizePixel = 0
  34. tecks2.Text = ""
  35. tecks2.Font = "Bodoni"
  36. tecks2.TextScaled = true
  37. tecks2.TextSize = 25
  38. tecks2.TextStrokeTransparency = 0
  39. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  40. tecks2.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  41. tecks2.Size = UDim2.new(1,0,0.5,0)
  42. coroutine.wrap(function()
  43. for c = 1,string.len(text),1 do
  44. tecks2.Text = string.sub(text,1,c)
  45. task.wait(.03)
  46. end
  47. end)()
  48. end)
  49. chat()
  50. end
  51. local re = Instance.new("RemoteEvent" , real)
  52. re.Name = "NoMoreSayingCussWordsEvent"
  53. re.OnServerEvent:Connect(function(plr, ld)
  54. mesh.Scale = (Vector3.new(.15,.15,.15) * mult) * (ld/500)
  55. end)
  56. NLS([[
  57. local re = workspace:FindFirstChild("NoMoreSayingCussWordsEvent", true)
  58. local sound = re.Parent.Sound
  59. re.Name = "RemoteEvent"
  60. while task.wait() do
  61. pcall(function()
  62. if sound.isPlaying == true then
  63. re:FireServer(sound.PlaybackLoudness)
  64. end
  65. end)
  66. end
  67. ]], owner.PlayerGui)
  68. yes:Play()
  69. local ignore = {}
  70. local function FindNearestPlayer(position, range, ignorelist)
  71. local found
  72. local maxdistance = range
  73. for _,plyr in pairs(game:GetService("Players"):GetPlayers()) do
  74. coroutine.wrap(function()
  75. pcall(function()
  76. if not table.find(ignorelist, plyr) then
  77. local distance = (position - plyr.Character:FindFirstChildWhichIsA("BasePart").Position).Magnitude
  78. if distance < maxdistance then
  79. found = plyr
  80. maxdistance = distance
  81. end
  82. end
  83. end)
  84. end)()
  85. end
  86. return found
  87. end
  88.  
  89. coroutine.wrap(function()
  90. while task.wait() do
  91. pcall(function()
  92. local g = FindNearestPlayer(real.CFrame.p, 1000, ignore)
  93. if g then
  94. local targ = g.Character:FindFirstChildWhichIsA("BasePart")
  95. real.CFrame = real.CFrame:Lerp(targ.CFrame * CFrame.new(-3,0,-10 * mult), .05)
  96. real.CFrame = CFrame.new(real.CFrame.p, targ.CFrame.p) * CFrame.Angles(0,math.rad(180),0)
  97. end
  98. end)
  99. end
  100. end)()
  101.  
  102. function speech()
  103. pcall(function()
  104. task.wait(1)
  105. chatfunc("")
  106. task.wait(3)
  107. chatfunc("")
  108. task.wait(1)
  109. chatfunc("")
  110. task.wait(3)
  111. chatfunc("")
  112. task.wait(4 )
  113. chatfunc(")
  114. task.wait(1)
  115. chatfunc("")
  116. task.wait(2)
  117. chatfunc("")
  118. task.wait(2)
  119. chatfunc("")
  120. task.wait(1)
  121. chatfunc("")
  122. task.wait(1)
  123. chatfunc("")
  124. task.wait(1.5)
  125. chatfunc("")
  126. task.wait(2)
  127. chatfunc("")
  128. task.wait(2)
  129. chatfunc("")
  130. task.wait(1)
  131. chatfunc("")
  132. task.wait(1)
  133. chatfunc("")
  134. task.wait(2)
  135. chatfunc("")
  136. task.wait(1)
  137. chatfunc("")
  138. task.wait(3)
  139. chatfunc("")
  140. task.wait(1.5)
  141. chatfunc("")
  142. task.wait(1.5)
  143. chatfunc("")
  144. task.wait(1)
  145. chatfunc("")
  146. task.wait(2)
  147. chatfunc("")
  148. task.wait(4)
  149. chatfunc("")
  150. task.wait(2)
  151. chatfunc("")
  152. task.wait(3)
  153. chatfunc("")
  154. task.wait(3)
  155. chatfunc("")
  156. task.wait(2)
  157. chatfunc("")
  158. task.wait(1.5)
  159. chatfunc("")
  160. task.wait(2)
  161. chatfunc("T")
  162. task.wait(2)
  163. chatfunc("")
  164. task.wait(.5)
  165. end)
  166. end
  167. --coroutine.wrap(function()
  168. --speech()
  169. --end)()
  170. while task.wait() do
  171. speech()
  172. end
RAW Paste Data Copied