Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- most of this script was made by me, Valerexo.
- print("Check out Valerexo's Discord For Bypasses/Scripts/Other Cool shit! Discord Invite: mnMSg8c From disgust#4594
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code by Mokiros")
- local rp = RealPlayer
- script.Parent = rp.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent then
- for _,f in pairs(t.Functions) do
- f(...)
- end
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=rp then return end
- m.Target = io.Target
- m.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local _rg = game
- --Metatable for fake service
- local fsmt = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then return s[k] end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end,
- __call = function(self,...)
- local s = rawget(self,"_RealService")
- if s then return s(...) end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,fsmt)
- end
- --Fake game object
- local g = {
- GetService = function(self,s)
- return self[s]
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- }
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- g.service = g.GetService
- g.RunService = FakeService({
- RenderStepped = _rg:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- setmetatable(g,{
- __index=function(self,s)
- return _rg:GetService(s) or typeof(_rg[s])=="function"
- and function(_,...)return _rg[s](_rg,...)end or _rg[s]
- end,
- __newindex = fsmt.__newindex,
- __call = fsmt.__call
- })
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = g,g.Players.LocalPlayer
- end
- a=Instance.new("Sky",game.Lighting)
- b={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(b) do
- a["Skybox"..v]="rbxassetid://1887218307"
- end
- sound = Instance.new("Sound", game.Players.LocalPlayer.Character)
- sound.SoundId = "rbxassetid://1882628513"
- sound.Looped = false
- sound.Pitch = 1
- sound.Volume = 10
- sound:Play()
- Wait(5.0)
- BADLIS = Instance.new("Sound", game.Players.LocalPlayer.Character)
- BADLIS.SoundId = "rbxassetid://1846192948"
- BADLIS.Looped = false
- BADLIS.Pitch = 1
- BADLIS.Volume = 10
- BADLIS:Play()
- wait(9.0)
- sound:Stop()
- a=Instance.new("Sky",game.Lighting)
- b={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(b) do
- a["Skybox"..v]="rbxassetid://1889459167"
- end
- music = Instance.new("Sound", game.Players.LocalPlayer.Character)
- music.SoundId = "rbxassetid://1846207665"
- music.Looped = false
- music.Pitch = 1
- music.Volume = 20
- music:Play()
- wait(2.0)
- math = Instance.new("Sound", game.Players.LocalPlayer.Character)
- math.SoundId = "rbxassetid://1843803729"
- math.Looped = false
- math.Pitch = 1
- math.Volume = 20
- math:Play()
- wait(2.0)
- B = Instance.new("Sound", game.Players.LocalPlayer.Character)
- B.SoundId = "rbxassetid://1784592449"
- B.Looped = false
- B.Pitch = 1
- B.Volume = 20
- B:Play()
- wait(2.0)
- C = Instance.new("Sound", game.Players.LocalPlayer.Character)
- C.SoundId = "rbxassetid://1846380458"
- C.Looped = false
- C.Pitch = 1
- C.Volume = 20 --Depends on the amount of volume you want
- C:Play()
- wait(2.0)
- B = Instance.new("Sound", game.Players.LocalPlayer.Character)
- B.SoundId = "rbxassetid://1784592449"
- B.Looped = false
- B.Pitch = 1
- B.Volume = 20
- B:Play()
- wait(3.0)
- E = Instance.new("Sound", game.Players.LocalPlayer.Character)
- E.SoundId = "rbxassetid://1846385376"
- E.Looped = false
- E.Pitch = 1
- E.Volume = 20
- E:Play()
- wait(4.0)
- math:stop()
- a=Instance.new("Sky",game.Lighting)
- b={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(b) do
- a["Skybox"..v]="rbxassetid://1889497537"
- end
- S = Instance.new("Sound", game.Players.LocalPlayer.Character)
- S.SoundId = "rbxassetid://1844033871"
- S.Looped = false
- S.Pitch = 1
- S.Volume = 20
- S:Play()
- wait(5.0)
- a=Instance.new("Sky",game.Lighting)
- b={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(b) do
- a["Skybox"..v]="rbxassetid://1889978188"
- end
- MAD = Instance.new("Sound", game.Players.LocalPlayer.Character)
- MAD.SoundId = "rbxassetid://1784592449"
- MAD.Looped = false
- MAD.Pitch = 1
- MAD.Volume = 20
- MAD:Play()
- Wait(2.0)
- DED = Instance.new("Sound", game.Players.LocalPlayer.Character)
- DED.SoundId = "rbxassetid://231107923"
- DED.Looped = false
- DED.Pitch = 1
- DED.Volume = 20
- DED:Play()
- wait(0.6)
- game.Lighting:SetMinutesAfterMidnight(1 * 0)
- game.Lighting.FogEnd = 70
- game.Lighting.FogColor = Color3.new(0, 0, 0)
- wait(8.0)
- DED = Instance.new("Sound", game.Players.LocalPlayer.Character)
- DED.SoundId = "rbxassetid://1848748988"
- DED.Looped = false
- DED.Pitch = 1
- DED.Volume = 20
- DED:Play()
- wait(7.5)
- game.Lighting.FogEnd = 120
- BE = Instance.new("Sound", game.Players.LocalPlayer.Character)
- BE.SoundId = "rbxassetid://1784592449"
- BE.Looped = true
- BE.Pitch = 1
- BE.Volume = 20
- BE:Play()
- LO = Instance.new("Sound", game.Players.LocalPlayer.Character)
- LO.SoundId = "rbxassetid://526027600"
- LO.Looped = true
- LO.Pitch = 1
- LO.Volume = 20
- LO:Play()
- -- VENGEFUL PROGRAM SHOWCASED EVERYTHING AFTER THIS!
- -- baldi script by theamazingnater enjoy peeps
- plr = game.Players.LocalPlayer
- char = plr.Character
- wait(1)
- local slap = Instance.new("Sound",char)
- slap.SoundId = "rbxassetid://1841427728"
- slap.Volume = 10
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- end
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Accessory" then
- v.Handle.Transparency = 1
- end
- end
- char.Head.face.Transparency = 1
- local sweep = Instance.new("Part")
- local sweepdecal1 = Instance.new("Decal",sweep)
- local sweepdecal2 = Instance.new("Decal",sweep)
- local weld = Instance.new("Weld",sweep)
- sweepdecal1.Face = "Back"
- sweepdecal1.Texture = "rbxassetid://1814499405"
- sweepdecal2.Face = "Front"
- sweepdecal2.Texture = "rbxassetid://1814499405"
- sweep.Name = "gotta sweep sweep sweep"
- sweep.Size = Vector3.new(4.2, 8.4, 0.114)
- sweep.Transparency = 1
- sweep.CanCollide = false
- weld.Part0 = char.Torso
- weld.Part1 = sweep
- weld.C0 = CFrame.new(-0.466694832, 1.18746996, -0.594377518, -0.999195099, 0, 0.0401160046, 0, 1, 0, -0.0401160046, 0, -0.999195099)
- sweep.Parent = char
- char.Humanoid.HipHeight = 0.3
- slapspeed = 2
- walkSpeed = 20.3
- char.Humanoid.WalkSpeed = 20.3
- anger = 1 -- 1 is normal.
- coroutine.wrap(function()
- while true do
- wait()
- if anger == 1 then
- slapspeed = 2 -- Normal speed.
- end
- if anger == 2 then
- slapspeed = 1
- end
- if anger == 3 then
- slapspeed = 0.5
- end
- if anger == 4 then
- slapspeed = 0.1
- end
- end
- end)()
- sweep.Touched:connect(function(part)
- local human = part.Parent:FindFirstChildOfClass("Humanoid")
- if human and human.Parent.Name ~= char.Name then
- anger = anger + 1
- human.Health = 0
- end
- end)
- while true do
- wait(slapspeed)
- sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1814500416"
- sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1814500416"
- slap:Play()
- wait(0.4)
- sweepdecal1.Face = "Back"
- sweepdecal1.Texture = "rbxassetid://1814499405"
- sweepdecal2.Face = "Front"
- sweepdecal2.Texture = "rbxassetid://1814499405"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement