Advertisement
Guest User

Untitled

a guest
Jun 10th, 2018
3,395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. repeat wait() until plr.Character
  3. char = plr.Character
  4.  
  5. wait(1/60)
  6.  
  7. print("Principal From Baldi's Basics By NanesROBLOX! Showcase By Purpleguy2playZ")
  8.  
  9. char.Humanoid.JumpPower = 0
  10. char.Humanoid.Animator:Destroy()
  11. char.Animate:Destroy()
  12. char.Head.face.Transparency = 1
  13. local sweep = Instance.new("Part")
  14. local slap = Instance.new("Sound",char)
  15. slap.SoundId = ""
  16. slap.Volume = 10
  17. local congrats = Instance.new("Sound",char)
  18. congrats.SoundId = "rbxassetid://1847298619"
  19. congrats.Volume = 10
  20. local death = Instance.new("Sound",char)
  21. death.SoundId = "rbxassetid://1847317494"
  22. death.Volume = 10
  23. local schoolhouse = Instance.new("Sound",char)
  24. schoolhouse.SoundId = "rbxassetid://1857731449"
  25. schoolhouse.Volume = 10
  26. local doors = Instance.new("Sound",char)
  27. doors.SoundId = "rbxassetid://1847317494"
  28. doors.Volume = 10
  29. local sweepdecal1 = Instance.new("Decal",sweep)
  30. local sweepdecal2 = Instance.new("Decal",sweep)
  31. local weld = Instance.new("Weld",sweep)
  32. sweepdecal1.Face = "Back"
  33. sweepdecal1.Texture = "rbxassetid://1826739512"
  34. sweepdecal2.Face = "Front"
  35. sweepdecal2.Texture = "rbxassetid://1826739512"
  36. sweep.Name = "gotta sweep sweep sweep"
  37. sweep.Size = Vector3.new(4.2, 8.4, 0.114)
  38. sweep.Transparency = 1
  39. sweep.CanCollide = false
  40. weld.Part0 = char.Torso
  41. weld.Part1 = sweep
  42. weld.C0 = CFrame.new(-0.466694832, 1.18746996, -0.594377518, -0.999195099, 0, 0.0401160046, 0, 1, 0, -0.0401160046, 0, -0.999195099)
  43. sweep.Parent = char
  44. local vel = Instance.new("BodyVelocity",sweep)
  45. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  46. vel.Velocity = Vector3.new(0,0,0)
  47. for i,v in pairs(char:GetChildren()) do
  48. if v.ClassName == "Part" then
  49. v.Transparency = 1
  50.  
  51. elseif v.ClassName == "Accessory" then
  52. v.Handle.Transparency = 1
  53. end
  54. end
  55. mouse = plr:GetMouse()
  56. SpeedofBaldi = 40
  57. using = false
  58. char.Torso.Touched:connect(function(part)
  59. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  60. if human and using then
  61. human.Health = 0
  62. death:Play()
  63. end
  64. end)
  65. function Taunt()
  66. local rd = math.random(1,3)
  67. if rd == 1 then
  68. congrats:Play()
  69. end
  70. if rd == 2 then
  71. schoolhouse:Play()
  72. end
  73. if rd == 3 then
  74. doors:Play()
  75. end
  76. end
  77. function Teleport()
  78. char.Torso.CFrame = mouse.Hit + Vector3.new(0,3,0)
  79. slap:Play()
  80. using = true
  81. sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1826739512"
  82. sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1826739512"
  83. wait(0.4)
  84. using = false
  85. sweepdecal1.Face = "Back"
  86. sweepdecal1.Texture = "rbxassetid://1826739512"
  87. sweepdecal2.Face = "Front"
  88. sweepdecal2.Texture = "rbxassetid://1826739512"
  89. end
  90. mouse.KeyDown:connect(function(k)
  91. if k == "v" then
  92. Taunt()
  93. end
  94. if k == "f" then
  95. Teleport()
  96. end
  97. end)
  98.  
  99. function move()
  100. vel.Velocity = char.Torso.CFrame.lookVector * SpeedofBaldi
  101. sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1826739512"
  102. sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1826739512"
  103. using = true
  104. slap:Play()
  105. wait(0.4)
  106. using = false
  107. vel.Velocity = Vector3.new(0,0,0)
  108. sweepdecal1.Face = "Back"
  109. sweepdecal1.Texture = "rbxassetid://1826739512"
  110. sweepdecal2.Face = "Front"
  111. sweepdecal2.Texture = "rbxassetid://1826739512"
  112. end
  113. mouse.Button1Down:connect(function()
  114. move()
  115. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement