Advertisement
Im_Meme

Valerexo's BALDI Script

Aug 1st, 2018
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.96 KB | None | 0 0
  1. -- most of this script was made by me, Valerexo.
  2. print("Check out Valerexo's Discord For Bypasses/Scripts/Other Cool shit! Discord Invite: mnMSg8c From disgust#4594
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129. self._btrs[name] = self.Heartbeat:Connect(fun)
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147.  
  148. a=Instance.new("Sky",game.Lighting)
  149. b={"Bk","Dn","Ft","Lf","Rt","Up"}
  150. for i,v in pairs(b) do
  151. a["Skybox"..v]="rbxassetid://1887218307"
  152. end
  153.  
  154. sound = Instance.new("Sound", game.Players.LocalPlayer.Character)
  155. sound.SoundId = "rbxassetid://1882628513"
  156. sound.Looped = false
  157. sound.Pitch = 1
  158. sound.Volume = 10
  159. sound:Play()
  160.  
  161. Wait(5.0)
  162.  
  163. BADLIS = Instance.new("Sound", game.Players.LocalPlayer.Character)
  164. BADLIS.SoundId = "rbxassetid://1846192948"
  165. BADLIS.Looped = false
  166. BADLIS.Pitch = 1
  167. BADLIS.Volume = 10
  168. BADLIS:Play()
  169.  
  170. wait(9.0)
  171.  
  172. sound:Stop()
  173.  
  174. a=Instance.new("Sky",game.Lighting)
  175. b={"Bk","Dn","Ft","Lf","Rt","Up"}
  176. for i,v in pairs(b) do
  177. a["Skybox"..v]="rbxassetid://1889459167"
  178. end
  179.  
  180. music = Instance.new("Sound", game.Players.LocalPlayer.Character)
  181. music.SoundId = "rbxassetid://1846207665"
  182. music.Looped = false
  183. music.Pitch = 1
  184. music.Volume = 20
  185. music:Play()
  186.  
  187.  
  188. wait(2.0)
  189.  
  190. math = Instance.new("Sound", game.Players.LocalPlayer.Character)
  191. math.SoundId = "rbxassetid://1843803729"
  192. math.Looped = false
  193. math.Pitch = 1
  194. math.Volume = 20
  195. math:Play()
  196.  
  197. wait(2.0)
  198.  
  199. B = Instance.new("Sound", game.Players.LocalPlayer.Character)
  200. B.SoundId = "rbxassetid://1784592449"
  201. B.Looped = false
  202. B.Pitch = 1
  203. B.Volume = 20
  204. B:Play()
  205.  
  206. wait(2.0)
  207.  
  208. C = Instance.new("Sound", game.Players.LocalPlayer.Character)
  209. C.SoundId = "rbxassetid://1846380458"
  210. C.Looped = false
  211. C.Pitch = 1
  212. C.Volume = 20 --Depends on the amount of volume you want
  213. C:Play()
  214.  
  215. wait(2.0)
  216.  
  217. B = Instance.new("Sound", game.Players.LocalPlayer.Character)
  218. B.SoundId = "rbxassetid://1784592449"
  219. B.Looped = false
  220. B.Pitch = 1
  221. B.Volume = 20
  222. B:Play()
  223.  
  224. wait(3.0)
  225.  
  226. E = Instance.new("Sound", game.Players.LocalPlayer.Character)
  227. E.SoundId = "rbxassetid://1846385376"
  228. E.Looped = false
  229. E.Pitch = 1
  230. E.Volume = 20
  231. E:Play()
  232.  
  233. wait(4.0)
  234.  
  235. math:stop()
  236.  
  237. a=Instance.new("Sky",game.Lighting)
  238. b={"Bk","Dn","Ft","Lf","Rt","Up"}
  239. for i,v in pairs(b) do
  240. a["Skybox"..v]="rbxassetid://1889497537"
  241. end
  242.  
  243. S = Instance.new("Sound", game.Players.LocalPlayer.Character)
  244. S.SoundId = "rbxassetid://1844033871"
  245. S.Looped = false
  246. S.Pitch = 1
  247. S.Volume = 20
  248. S:Play()
  249.  
  250. wait(5.0)
  251.  
  252. a=Instance.new("Sky",game.Lighting)
  253. b={"Bk","Dn","Ft","Lf","Rt","Up"}
  254. for i,v in pairs(b) do
  255. a["Skybox"..v]="rbxassetid://1889978188"
  256. end
  257.  
  258. MAD = Instance.new("Sound", game.Players.LocalPlayer.Character)
  259. MAD.SoundId = "rbxassetid://1784592449"
  260. MAD.Looped = false
  261. MAD.Pitch = 1
  262. MAD.Volume = 20
  263. MAD:Play()
  264.  
  265. Wait(2.0)
  266.  
  267. DED = Instance.new("Sound", game.Players.LocalPlayer.Character)
  268. DED.SoundId = "rbxassetid://231107923"
  269. DED.Looped = false
  270. DED.Pitch = 1
  271. DED.Volume = 20
  272. DED:Play()
  273. wait(0.6)
  274. game.Lighting:SetMinutesAfterMidnight(1 * 0)
  275. game.Lighting.FogEnd = 70
  276. game.Lighting.FogColor = Color3.new(0, 0, 0)
  277.  
  278. wait(8.0)
  279.  
  280.  
  281. DED = Instance.new("Sound", game.Players.LocalPlayer.Character)
  282. DED.SoundId = "rbxassetid://1848748988"
  283. DED.Looped = false
  284. DED.Pitch = 1
  285. DED.Volume = 20
  286. DED:Play()
  287.  
  288. wait(7.5)
  289.  
  290. game.Lighting.FogEnd = 120
  291.  
  292.  
  293. BE = Instance.new("Sound", game.Players.LocalPlayer.Character)
  294. BE.SoundId = "rbxassetid://1784592449"
  295. BE.Looped = true
  296. BE.Pitch = 1
  297. BE.Volume = 20
  298. BE:Play()
  299.  
  300. LO = Instance.new("Sound", game.Players.LocalPlayer.Character)
  301. LO.SoundId = "rbxassetid://526027600"
  302. LO.Looped = true
  303. LO.Pitch = 1
  304. LO.Volume = 20
  305. LO:Play()
  306.  
  307. -- VENGEFUL PROGRAM SHOWCASED EVERYTHING AFTER THIS!
  308. -- baldi script by theamazingnater enjoy peeps
  309. plr = game.Players.LocalPlayer
  310. char = plr.Character
  311.  
  312. wait(1)
  313. local slap = Instance.new("Sound",char)
  314. slap.SoundId = "rbxassetid://1841427728"
  315. slap.Volume = 10
  316. for i,v in pairs(char:GetChildren()) do
  317. if v.ClassName == "Part" then
  318. v.Transparency = 1
  319. end
  320. end
  321. for i,v in pairs(char:GetChildren()) do
  322. if v.ClassName == "Accessory" then
  323. v.Handle.Transparency = 1
  324. end
  325. end
  326. char.Head.face.Transparency = 1
  327. local sweep = Instance.new("Part")
  328. local sweepdecal1 = Instance.new("Decal",sweep)
  329. local sweepdecal2 = Instance.new("Decal",sweep)
  330. local weld = Instance.new("Weld",sweep)
  331. sweepdecal1.Face = "Back"
  332. sweepdecal1.Texture = "rbxassetid://1814499405"
  333. sweepdecal2.Face = "Front"
  334. sweepdecal2.Texture = "rbxassetid://1814499405"
  335. sweep.Name = "gotta sweep sweep sweep"
  336. sweep.Size = Vector3.new(4.2, 8.4, 0.114)
  337. sweep.Transparency = 1
  338. sweep.CanCollide = false
  339. weld.Part0 = char.Torso
  340. weld.Part1 = sweep
  341. weld.C0 = CFrame.new(-0.466694832, 1.18746996, -0.594377518, -0.999195099, 0, 0.0401160046, 0, 1, 0, -0.0401160046, 0, -0.999195099)
  342. sweep.Parent = char
  343. char.Humanoid.HipHeight = 0.3
  344. slapspeed = 2
  345. walkSpeed = 20.3
  346. char.Humanoid.WalkSpeed = 20.3
  347. anger = 1 -- 1 is normal.
  348. coroutine.wrap(function()
  349. while true do
  350. wait()
  351. if anger == 1 then
  352. slapspeed = 2 -- Normal speed.
  353. end
  354. if anger == 2 then
  355. slapspeed = 1
  356. end
  357. if anger == 3 then
  358. slapspeed = 0.5
  359. end
  360. if anger == 4 then
  361. slapspeed = 0.1
  362. end
  363. end
  364. end)()
  365. sweep.Touched:connect(function(part)
  366. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  367. if human and human.Parent.Name ~= char.Name then
  368. anger = anger + 1
  369. human.Health = 0
  370. end
  371. end)
  372. while true do
  373. wait(slapspeed)
  374. sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1814500416"
  375. sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1814500416"
  376. slap:Play()
  377. wait(0.4)
  378. sweepdecal1.Face = "Back"
  379. sweepdecal1.Texture = "rbxassetid://1814499405"
  380. sweepdecal2.Face = "Front"
  381. sweepdecal2.Texture = "rbxassetid://1814499405"
  382. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement