Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
-- This script has been converted to FE by iPxter if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end local Player,Mouse,mouse,UserInputService,ContextActionService = owner do print("FE Compatibility code by Mokiros | Translated to FE by iPxter") 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 if io.isMouse then m.Target = io.Target m.Hit = io.Hit else 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 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}) end UIS.InputBegan:Connect(input) UIS.InputEnded:Connect(input) local Mouse = Player:GetMouse() 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) Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS end local p = Owner local char = p.Character local hed = char.Head local LocalPlayer = p local Player = Owner local Character = p.Character local LeftArm2 = Character["Left Arm"] local RightArm2 = Character["Right Arm"] local LeftLeg2 = Character["Left Leg"] local RightLeg2 = Character["Right Leg"] local Head2 = Character.Head local Torso2 = Character.Torso local player = Owner local shirt = player.Character:WaitForChild("Shirt") local pants = player.Character:WaitForChild("Pants") wait() shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=536831523" pants.PantsTemplate = "http://www.roblox.com/asset/?id=547264976" char.Humanoid.MaxHealth = math.huge char.Humanoid.Health = math.huge for i,v in pairs(char:GetChildren()) do if v.ClassName == "Accessory" or v.ClassName == "Hat" then v:destroy() end end local Hair = Instance.new("Part") Hair.Parent = char Hair.Name = "Hair" Hair.Size = Vector3.new(1, 1, 1) Hair.CFrame = char.Head.CFrame Hair:BreakJoints() Hair.CanCollide = false Hair.TopSurface = "Smooth" Hair.BottomSurface = "Smooth" Hair.BrickColor = BrickColor.new("Gold") Weld = Instance.new("Weld") Weld.Name = "Weld" Weld.Part0 = char.Head Weld.Part1 = Hair Weld.Parent = char.Head Weld.C0 = CFrame.new(0.1,0,0.2)*CFrame.fromEulerAnglesXYZ(0,0,0) Mesh = Instance.new("SpecialMesh") Mesh.Parent = Hair Mesh.MeshId = "rbxassetid://886288384" Mesh.TextureId = "rbxassetid://886289004" Mesh.Scale = Vector3.new(0.11,0.1,0.08) cut = Instance.new("Sound", Character) cut.SoundId = "https://www.roblox.com/asset/?id=97095069" cut.Volume = 1.5 thri = Instance.new("Sound", Character) thri.SoundId = "https://www.roblox.com/asset/?id=186311262" thri.Volume = 2.5 WRY = Instance.new("Sound", Character) WRY.SoundId = "https://www.roblox.com/asset/?id=910713928" WRY.Volume = 5 ff = Instance.new("ForceField", game.Players.LocalPlayer.Character) ff.Visible = false local Players=game:service'Players' local Player=Players.LocalPlayer local RenderStepped=game:service'RunService'.RenderStepped local MeshId='http://www.roblox.com/asset?id=202083123' local TextureId='http://www.roblox.com/asset/?id=189436355' local KnifeSpeed= 120 Mouse.Button1Down:connect(function() cut:Play() if Mouse.Target then local Knife=Instance.new('Part',Player.Character) Knife.CanCollide=false Knife.Size=Vector3.new(2,2,2) Knife.CFrame=Player.Character.Torso.CFrame local KnifeMesh=Instance.new('SpecialMesh',Knife) KnifeMesh.MeshType='FileMesh' KnifeMesh.MeshId=MeshId KnifeMesh.TextureId=TextureId KnifeMesh.Scale=Vector3.new(1,1,1) local BodyVel=Instance.new('BodyVelocity',Knife) BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge) local BodyGyro=Instance.new('BodyGyro',Knife) BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge) BodyGyro.P=2e4 coroutine.wrap(function() RenderStepped:connect(function() BodyGyro.cframe=CFrame.new(Knife.Position,Mouse.Hit.p) BodyVel.velocity=Knife.CFrame.lookVector*KnifeSpeed end) end)() Knife.Touched:connect(function(p) if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid' then p.Parent:BreakJoints() Knife:Destroy'' thri:Play() end end) end end) sound = Instance.new("Sound", Character) sound.SoundId = "https://www.roblox.com/asset/?id=840567549" sound.Volume = 2.5 sound2 = Instance.new("Sound", Character) sound2.SoundId = "https://www.roblox.com/asset/?id=616594208" sound2.Volume = 2.5 sound3 = Instance.new("Sound", Character) sound3.SoundId = "https://www.roblox.com/asset/?id=616576400" sound3.Volume = 1.8 sound4 = Instance.new("Sound", Character) sound4.SoundId = "https://www.roblox.com/asset/?id=616576400" sound4.Volume = 2 TSTheme = Instance.new("Sound", Character) TSTheme.SoundId = "https://www.roblox.com/asset/?id=910713928" TSTheme.Volume = 2 canworld = true mse.KeyDown:connect(function(key) key = key:lower() if key == "t" then if canworld == false then return end if canworld then canworld = false sound3:Play() sound:Play() sound4:Play() TSTheme:Play() local function spawnpart() sphere = Instance.new("Part") --game.Debris:AddItem(sphere,3) local sm = Instance.new("SpecialMesh", sphere) sm.MeshType = "Sphere" sphere.Transparency = 0.5 sphere.Anchored = true sphere.CanCollide = false sphere.Material = "Neon" sphere.BrickColor = BrickColor.new("Black") end local function weld(lol) local weld = Instance.new("Weld", Player.Character.Torso) weld.Part0 = Player.Character.Torso weld.Part1 = lol weld.C0 = Player.Character.Torso.CFrame:inverse() weld.C1 = lol.CFrame:inverse() end wait() spawnpart() for i, v in pairs(game.Players:GetChildren()) do t = v.Character:FindFirstChild("Torso") if t then t.Anchored = true Player.Character:FindFirstChild("Torso").Anchored = false end RA = v.Character:FindFirstChild("Right Arm") if RA then RA.Anchored = true Player.Character:FindFirstChild("Right Arm").Anchored = false end LA = v.Character:FindFirstChild("Left Arm") if LA then LA.Anchored = true Player.Character:FindFirstChild("Left Arm").Anchored = false end RL = v.Character:FindFirstChild("Right Leg") if RL then RL.Anchored = true Player.Character:FindFirstChild("Right Leg").Anchored = false end LL = v.Character:FindFirstChild("Left Leg") if LL then LL.Anchored = true Player.Character:FindFirstChild("Left Leg").Anchored = false end end weld(sphere) cce = Instance.new("ColorCorrectionEffect", game.Lighting) cce.Saturation = -5 --game.Debris:AddItem(cce, 5) sphere.Parent = Character.Torso for i = 1,3 do sphere.Size = sphere.Size + Vector3.new(50,50,50) wait() end wait() sphere:Destroy() KnifeSpeed = 0 cce.Saturation = -0.1 wait(0.3) cce.Saturation = -0.2 wait(0.3) cce.Saturation = -0.3 wait(0.2) cce.Saturation = -1.5 wait() end end end ) mse.KeyDown:connect(function(key) key = key:lower() if key == "y" then canworld = true sound2:Play() wait() KnifeSpeed = 1 cce.Saturation = -1.3 wait(0.5) KnifeSpeed = 1.2 cce.Saturation = -0.5 wait(0.5) KnifeSpeed = 1.4 cce.Saturation = -0.4 wait(0.3) KnifeSpeed = 1.5 cce.Saturation = -0.2 wait(0.2) cce.Saturation = 0 for i, v in pairs(game.Players:GetChildren()) do t = v.Character:FindFirstChild("Torso") if t then t.Anchored = false end RA = v.Character:FindFirstChild("Right Arm") if RA then RA.Anchored = false end LA = v.Character:FindFirstChild("Left Arm") if LA then LA.Anchored = false end RL = v.Character:FindFirstChild("Right Leg") if RL then RL.Anchored = false end LL = v.Character:FindFirstChild("Left Leg") if LL then LL.Anchored = false end end KnifeSpeed = 120 TSTheme:Stop() end end)
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
Untitled
JSON | 1 hour ago | 45.87 KB
Amazon Product: 160GB MP3 Player with Bluetoo...
JSON | 2 hours ago | 9.16 KB
Untitled
JSON | 3 hours ago | 45.65 KB
Looks_Patchy.py
Python | 4 hours ago | 7.10 KB
Untitled
C++ | 4 hours ago | 1.08 KB
dom.rab
C | 4 hours ago | 0.53 KB
ToanBreak Violence District Killer Script
Lua | 5 hours ago | 8.64 KB
Polymorphism
Java | 5 hours ago | 3.83 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!