Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("hi motherfucking skid its h/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("| FE Compatibility by pizzacruster | Made & Scripted by MasterPiece9876 |")
- script.Parent = Player.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,Connect=function(self,f)self.Function=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 and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player 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)
- local _rg = game
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,{
- __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,
- })
- end
- local g = FakeService({
- 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"),
- RunService = FakeService({RenderStepped=game:GetService("RunService").Heartbeat},"RunService")
- },game)
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- getmetatable(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
- game = g
- owner = g.Players.LocalPlayer
- end
- warn[[u can trip in this script
- made by masterpiece9876
- have fun lol
- press button to continue!
- -by the way hi skid]]
- ply = game:GetService("Players").LocalPlayer
- chr = ply.Character
- tors = chr.Torso
- songs={
- 1248405065,
- 152833989,
- 314743407,
- 575578869,
- 203626421,
- 418669540,
- 190475759,
- 887398431,
- {910355112,1.2},
- 271588868,
- 1016907020,
- 532665591,
- 474589531,
- 845375455,
- 1263164996,
- 155973042,
- 283591759,
- 1063142561,
- 426760325,
- 383237778,
- 1081581415,
- 169143768,
- 488472970,
- 130783719,
- 150794704,
- 1121799023,
- 997599367,
- 915288747,
- 514350248,
- 785989388,
- 206910323,
- 1567969322,
- 1645482497,
- 585748628,
- 1285760020,
- 382403699,
- 241560895,
- {974451759,1.2},
- 338049378,
- 1441359561,
- 981952417,
- 521014607,
- 1131624146,
- 1031279861,
- 156989725,
- 1608398085,
- 547100042,
- }
- screams={
- 513492655,
- 527970724,
- 535528169,
- 1278710301,
- 1278709078,
- 572979823,
- 571879674,
- 12222242,
- 1311150759,
- 656222908,
- 1006723227,
- 165487479,
- 525166232,
- 1093589689,
- 1238804383,
- }
- song=Instance.new("Sound",workspace)
- scream=Instance.new("Sound",workspace)
- Player = game:GetService'Players'.localPlayer
- chara = Player.Character
- Head = chara.Head
- function playRandomSong()
- local song_id=songs[math.floor(math.random(1,#songs))]
- if(type(song_id)=="number")then song.SoundId="rbxassetid://"..tostring(song_id)end
- if(type(song_id)=="table")then song.SoundId="rbxassetid://"..tostring(song_id[1]) song.PlaybackSpeed=song_id[2] end
- song:Play()
- end
- function playRandomScream()
- local scream_id=screams[math.floor(math.random(1,#screams))]
- if(type(scream_id)=="number")then scream.SoundId="rbxassetid://"..tostring(scream_id)end
- if(type(scream_id)=="table")then scream.SoundId="rbxassetid://"..tostring(scream_id[1]) scream.PlaybackSpeed=scream_id[2] end
- scream:Play()
- end
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- -- Objects
- ScreenGui = Instance.new("ScreenGui")
- TextButton = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Position = UDim2.new(0.318378747, 0, 0.816154361, 0)
- TextButton.Size = UDim2.new(0, 496, 0, 135)
- TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- TextButton.Font = Enum.Font.Cartoon
- TextButton.FontSize = Enum.FontSize.Size14
- TextButton.Text = "trip"
- TextButton.TextColor3 = Color3.new(0.454902, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- function trip()
- ScreenGui:destroy()
- --[[local oof = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- oof.Volume = 10
- oof.SoundId = "rbxassetid://12222242"
- wait(0.2)
- oof:Play()]]-- NO LONGER IN USE, RANDOM SCREAMS ADDED
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
- if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
- game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10
- for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do
- if v.ClassName == "Motor6D" then
- if v.Name == "Neck" then
- else
- v:destroy()
- end
- end
- end
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment
- ball.Attachment1 = attachment
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(-1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = attachment
- ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment
- ball.Attachment1 = attachment
- game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(-0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment
- ball.Attachment1 = attachment
- game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Head") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head)
- attachment.Position = Vector3.new(0, -0.5, 0)
- attachment.Name = "lol"
- attachment.Visible = false
- game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false
- game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
- ball.Attachment1 = attachment
- ball.LimitsEnabled = true
- ball.TwistLimitsEnabled = true
- ball.UpperAngle = 90
- ball.Restitution = 0.5
- ball.TwistUpperAngle = 180
- ball.TwistLowerAngle = -180
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = collidepartofleftleg
- weeld.Part1 = game.Players.LocalPlayer.Character["Head"]
- if game.Players.LocalPlayer.Character.Torso:findFirstChild("Neck") then
- game.Players.LocalPlayer.Character.Torso.Neck:destroy()
- end
- if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then
- game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=163713156"
- end
- end
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false)
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health = 0.1
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").JumpPower = 0
- playRandomScream()
- scream.Volume = 5
- scream.Parent = tors
- playRandomSong()
- song.Looped = true
- song.Volume = 5
- song.Parent = tors
- while true do
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health = 0.1
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
- wait()
- end
- end
- TextButton.MouseButton1Click:connect(trip)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement