Advertisement
pitrioptixiop

Roblox | Baldi Bully script

Jul 14th, 2018
694
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.43 KB | None | 0 0
  1.  
  2. --fixed now it is FE! :D
  3.  
  4.  
  5. --made by retrojoooooono
  6. warn("made by retrojooooono the baldi script principal script and bsoda and zestybar too")
  7. noitemtext = {"No candy, give me candy, I want CANDYYYyyy...","Give me something GRREATTTttt...","What? No items? No items, no PASSSsss...","Sacrifice an ITEMMMmmm...","Look in your backpack, KIDDDddd..."}
  8. thankstext = {"I'll take that. It's mine NOWWWWwww...","Thanks for the generous DONATIONNNnnn...","Yum yum candy, yum yum TASTEEEeee...","Thanks kid, now I SKEDADDLEEEeee..."}
  9. wait(1)
  10. victim = nil
  11. lp = game.Players["retrojooooono"] -- change ur anme here
  12. char = lp.Character
  13. torso = nil
  14. gc = char:GetChildren()
  15. char:FindFirstChildOfClass("Humanoid").WalkSpeed = 25
  16. hum = char:FindFirstChildOfClass("Humanoid")
  17. for i=1, #gc do
  18.     if gc[i].ClassName == "Accessory" or gc[i].ClassName == "Hat" or gc[i].ClassName == "Shirt" or gc[i].ClassName == "Pants" or gc[i].ClassName == "ShirtGraphic" or gc[i].ClassName == "ShirtGraphics" then
  19.         gc[i]:Destroy()
  20.     end
  21.     if gc[i].ClassName == "Part" then
  22.         gc[i].Transparency = 1
  23.     end
  24. end
  25. char.Head:FindFirstChildOfClass("Decal"):Destroy()
  26. head = char.Head
  27. ft = char:FindFirstChild("Torso")
  28. if ft then
  29.     torso = ft 
  30. elseif char:FindFirstChild("UpperTorso") then
  31.     torso = char:FindFirstChild("UpperTorso")
  32. end
  33. bgui = Instance.new("BillboardGui",torso)
  34. bgui.Size = UDim2.new(0,200,0,300)
  35. bgui.Adornee = torso
  36. il = Instance.new("ImageLabel",bgui)
  37. il.BackgroundTransparency = 1
  38. il.Size = UDim2.new(0,200,0,300)
  39. il.Image = "http://www.roblox.com/asset/?id=1895295552"
  40. blockpart = Instance.new("Part",char)
  41. blockpart.Anchored = true
  42. blockpart.Name = "BlockPart"
  43. blockpart.Transparency = 1
  44. blockpart.CanCollide = false
  45. blockpart.Size = Vector3.new(10,10,10)
  46. bgui2 = Instance.new("BillboardGui",torso)
  47. bgui2.Name = "TextGui"
  48. bgui2.Size = UDim2.new(0,500,0,1000)
  49. bgui2.Adornee = torso
  50. text = Instance.new("TextLabel",bgui2)
  51. text.BackgroundTransparency = 1
  52. text.Size = UDim2.new(0,500,0,100)
  53. text.Position = UDim2.new(0,0,0,250)
  54. text.TextColor3 = Color3.new(1,1,1)
  55. text.Font = Enum.Font.Cartoon
  56. text.Text = ""
  57. text.TextScaled = true
  58. function changetext(msg)
  59. for i=1, string.len(msg) do
  60. wait(0.01)
  61. text.Text = string.sub(msg,1,i)
  62. end
  63. wait(0.2)
  64. for i=1, 10 do
  65. wait(0.02)
  66. text.TextTransparency = text.TextTransparency + 0.1
  67. end
  68. text.Text = ""
  69. text.TextTransparency = 0
  70. end
  71.  
  72. blockdebounce = false
  73. blockpart.Touched:connect(function(hit)
  74.     if hit.Parent ~= char and hit.Parent.Parent ~= char and hit.Parent.Parent.Parent ~= char and hit.Parent:FindFirstChildOfClass("Humanoid") then
  75.         if not hit.Parent:FindFirstChildOfClass("Tool") then
  76.             if blockdebounce == false then
  77.                 blockdebounce = true
  78.                 torso.Anchored = true
  79.                 blockpart.CanCollide = true
  80.                 changetext(noitemtext[math.random(1,#noitemtext)])
  81.                 wait(0.2)
  82.                 blockpart.CanCollide = false
  83.                 torso.Anchored = false
  84.                 blockdebounce = false
  85.             end
  86.         else
  87.             if blockdebounce == false then
  88.                 blockdebounce = true
  89.                 hit.Parent:FindFirstChildOfClass("Tool"):Destroy()
  90.                 changetext(thankstext[math.random(1,#thankstext)])
  91.                 wait(0.2)
  92.                 for a=1, 10 do
  93.                     wait(0.1)
  94.                     il.ImageTransparency = il.ImageTransparency + 0.1
  95.                 end
  96.                 head.CFrame = head.CFrame + Vector3.new(math.random(-100,100),0,math.random(-100,100))
  97.                 il.ImageTransparency = 0
  98.                 blockdebounce = false
  99.             end
  100.         end
  101.     end
  102. end)
  103.  
  104.  
  105.  
  106. while true do
  107. wait(0.01)
  108. blockpart.CFrame = torso.CFrame
  109. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement