--just put this on the top of a script and boom 89% works --note this does not work on big scripts 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 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 --workspace.ayyman:Remove() (Run this after each use of the guillotine) NiggaKilla = "XTheShowcaserX" -- Person who is going to kill the victim Victim = "Tabby_Cxt" -- Person who gonna die xd game.Players[Victim].Character.Humanoid.WalkSpeed = 0 game.Players[Victim].Character.Humanoid.JumpPower = 0 game:GetObjects("rbxassetid://1064951471")[1].Parent = game.Workspace -- Lib Func -- loadstring(game:GetObjects("rbxassetid://1064957068")[1].Source)() -- Realistic Blood loadstring(game:GetObjects("rbxassetid://1064956088")[1].Source)() -- Guillotine Script Main -- Lib Func -- wait(.5) game.Workspace[Victim].HumanoidRootPart.CFrame = CFrame.new(105.919, 2046.955, -40.277) game.Workspace[NiggaKilla].HumanoidRootPart.CFrame = CFrame.new(109.305, 2045.6, -34.156) --Gui version local BitchHoldUp = Instance.new("ScreenGui") local Opener = Instance.new("Frame") local Open = Instance.new("TextButton") local DaGui = Instance.new("Frame") local Frame = Instance.new("Frame") local Close = Instance.new("TextButton") local Username = Instance.new("TextBox") local VanDaPlayer = Instance.new("TextButton") local TextLabel = Instance.new("TextLabel") -- asd BitchHoldUp.Name = "BitchHoldUp" BitchHoldUp.Parent = game.CoreGui Opener.Name = "Opener" Opener.Parent = BitchHoldUp Opener.BackgroundColor3 = Color3.new(0, 0, 0) Opener.BackgroundTransparency = 0.5 Opener.Position = UDim2.new(0, 19, 0, 564) Opener.Size = UDim2.new(0, 224, 0, 40) Open.Name = "Open" Open.Parent = Opener Open.BackgroundColor3 = Color3.new(0, 0, 0) Open.BackgroundTransparency = 0.5 Open.Size = UDim2.new(0, 224, 0, 40) Open.Font = Enum.Font.SciFi Open.FontSize = Enum.FontSize.Size42 Open.Text = "Open" Open.TextColor3 = Color3.new(0, 1, 1) Open.TextSize = 42 DaGui.Name = "DaGui" DaGui.Parent = BitchHoldUp DaGui.BackgroundColor3 = Color3.new(0, 0, 0) DaGui.BackgroundTransparency = 0.5 DaGui.Draggable = true DaGui.Position = UDim2.new(0, 0, 0, 311) DaGui.Size = UDim2.new(0, 343, 0, 197) DaGui.Visible = false Frame.Parent = DaGui Frame.BackgroundColor3 = Color3.new(1, 0, 0.0156863) Frame.Position = UDim2.new(0, 313, 0, 0) Frame.Size = UDim2.new(0, 30, 0, 26) Close.Name = "Close" Close.Parent = Frame Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863) Close.Size = UDim2.new(0, 30, 0, 26) Close.Font = Enum.Font.SciFi Close.FontSize = Enum.FontSize.Size14 Close.Text = "X" Close.TextColor3 = Color3.new(1, 1, 1) Close.TextSize = 14 Close.TextStrokeTransparency = 5 Username.Name = "Username" Username.Parent = DaGui Username.BackgroundColor3 = Color3.new(0, 0, 0) Username.BackgroundTransparency = 0.5 Username.Position = UDim2.new(0, 72, 0, 76) Username.Size = UDim2.new(0, 200, 0.0999999866, 24) Username.Font = Enum.Font.SciFi Username.FontSize = Enum.FontSize.Size18 Username.Text = "Username" Username.TextColor3 = Color3.new(0, 1, 1) Username.TextSize = 18 VanDaPlayer.Name = "VanDaPlayer" VanDaPlayer.Parent = DaGui VanDaPlayer.BackgroundColor3 = Color3.new(0, 0, 0) VanDaPlayer.BackgroundTransparency = 0.5 VanDaPlayer.Position = UDim2.new(0.0199999996, 90, 0.00999999978, 138) VanDaPlayer.Size = UDim2.new(0, 150, 0, 26) VanDaPlayer.Font = Enum.Font.SciFi VanDaPlayer.FontSize = Enum.FontSize.Size14 VanDaPlayer.Text = "Van Player" VanDaPlayer.TextColor3 = Color3.new(0, 1, 1) VanDaPlayer.TextSize = 14 TextLabel.Parent = DaGui TextLabel.BackgroundColor3 = Color3.new(0, 0, 0) TextLabel.BackgroundTransparency = 0.5 TextLabel.Position = UDim2.new(0, 48, 0, 22) TextLabel.Size = UDim2.new(0, 246, 0, 19) TextLabel.TextScaled = true TextLabel.Font = Enum.Font.SciFi TextLabel.FontSize = Enum.FontSize.Size18 TextLabel.Text = "Van Player Gui by Hopeless (Talha)" TextLabel.TextColor3 = Color3.new(0, 1, 1) TextLabel.TextSize = 17 Open.MouseButton1Down:connect(function() DaGui.Visible = true Opener.Visible = false end) Close.MouseButton1Down:connect(function() DaGui.Visible = false Opener.Visible = true end) VanDaPlayer.MouseButton1Down:connect(function() Victim = Username.Text -- Person who gonna die xd game.Players[Victim].Character.Humanoid.WalkSpeed = 0 game.Players[Victim].Character.Humanoid.JumpPower = 0 game:GetObjects("rbxassetid://1064951471")[1].Parent = game.Workspace -- Lib Func -- loadstring(game:GetObjects("rbxassetid://1064957068")[1].Source)() -- Realistic Blood loadstring(game:GetObjects("rbxassetid://1064956088")[1].Source)() -- Guillotine Script Main -- Lib Func -- wait(.5) game.Workspace[Victim].HumanoidRootPart.CFrame = CFrame.new(105.919, 2046.955, -40.277) game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart.CFrame = CFrame.new(109.305, 2045.6, -34.156) end) -- I like to asd a lot