Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
--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
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
🔥🔥🔥 QUICK $2,500 IN 2 HOURS 🔥🔥🔥
JavaScript | 1 min ago | 0.67 KB
✅✅✅ EARN 12,500$ IN LESS THAN 10 MINUTES OF W...
JavaScript | 11 min ago | 0.67 KB
BIG TECH BLOCKER v2.2
Batch | 11 min ago | 6.83 KB
Infinite Money Glitch
JavaScript | 21 min ago | 0.67 KB
Blade Ball Script (My Version)
Lua | 28 min ago | 19.62 KB
🚨🚨 Earn 18,000$ Monthly Leaked Guide 🚨🚨
JavaScript | 31 min ago | 0.67 KB
🔥🔥🔥 QUICK $2,500 IN 2 HOURS
JavaScript | 41 min ago | 0.67 KB
💎 From Zero to a Millionaire PDF 💎
JavaScript | 52 min ago | 0.67 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!