Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
--By naser2018 mouse = game.Players.LocalPlayer:GetMouse() gun = Instance.new("Part", game.Players.LocalPlayer.Character) gun.Size = Vector3.new(0.5, 1, 2) gun.CanCollide = false gun:BreakJoints() weld = Instance.new("Weld", gun) weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"] weld.Part1 = gun weld.C0 = weld.C0 * CFrame.new(-0.2,-1.7,-0.25) * CFrame.Angles(0,1.6,-1.53) mesh = Instance.new("SpecialMesh", gun) mesh.MeshId = "rbxassetid://623102664" mesh.TextureId = "rbxassetid://623102879" mesh.Scale = Vector3.new(0.01,0.01,0.01) local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) shooting = false for i = 1,2 do wait() rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.03) end for i = 1,2 do wait() rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.07) end for i = 1,7 do wait() rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.17) end for i = 1,2 do wait() rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.07) end for i = 1,2 do wait() rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.03) end function shoot() if not shooting then shooting = true local shotsound = Instance.new("Sound", gun) shotsound.EmitterSize = 1 shotsound.SoundId = "rbxassetid://139593133" shotsound.Volume = 3 shotsound:Play() local missle = Instance.new("Part", workspace) missle.Size = Vector3.new(5,5,5) missle.CanCollide = false missle.BrickColor = BrickColor.new("New Yeller") missle.Shape = "Ball" missle.CFrame = gun.CFrame missle:BreakJoints() local velo = Instance.new("BodyVelocity", missle) velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge) velo.Velocity = mouse.Hit.lookVector * 1900 for i = 1,2 do weld.C0 = weld.C0 * CFrame.Angles(0,0,0.14) rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.14) end for i = 1,2 do wait() weld.C0 = weld.C0 * CFrame.Angles(0,0,-0.07) rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.07) end local function kill(part) local hum = part.Parent:findFirstChild("Humanoid") local torso = part.Parent:findFirstChild("Torso") local larm = part.Parent:findFirstChild("Left Arm") local rarm = part.Parent:findFirstChild("Right Arm") local lleg = part.Parent:findFirstChild("Left Leg") local rleg = part.Parent:findFirstChild("Right Leg") missle:destroy() if hum ~= nil then if torso then hum.Health = hum.Health - math.random(100,100) local shotsound1 = Instance.new("Sound", torso) shotsound1:Play() shotsound1.EmitterSize = 2 shotsound1.SoundId = "rbxassetid://144884872" shotsound1.Volume = 8 shotsound1:Play() local shotsound1 = Instance.new("Sound", torso) shotsound1:Play() shotsound1.EmitterSize = 2 shotsound1.SoundId = "rbxassetid://175272131" shotsound1.Volume = 8 shotsound1:Play() using = false hit = Instance.new("Sound", torso) hit.SoundId = "rbxassetid://260430060" hit.Volume = 5 hit1 = Instance.new("Sound", torso) hit1.SoundId = "rbxassetid://138087186" hit1.Volume = 5 hit2 = Instance.new("Sound", torso) hit2.SoundId = "rbxassetid://131237241" hit2.Volume = 5 hit3 = Instance.new("Sound", torso) hit3.SoundId = "rbxassetid://278062209" hit3.Volume = 5 hit3.TimePosition = 0.33 print("You killed "..hum.Parent.Name) hum.PlatformStand = true ---------- local lhip = torso:findFirstChild("Left Hip") if lhip then --- torso["Left Hip"]:destroy() local head = game.Players.LocalPlayer.Character.Head local glue = Instance.new("Glue", torso) glue.Part0 = torso glue.Part1 = torso.Parent["Left Leg"] glue.Name = "Left leg" local collider = Instance.new("Part", torso.Parent["Left Leg"]) collider.Position = Vector3.new(0,999,0) collider.Size = Vector3.new(1.7, 1, 1) collider.Shape = "Cylinder" local weld = Instance.new("Weld", collider) weld.Part0 = torso.Parent["Left Leg"] weld.Part1 = collider weld.C0 = CFrame.Angles(0, 0, 80) collider.TopSurface = "Smooth" collider.BottomSurface = "Smooth" collider.formFactor = "Symmetric" glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) collider.Transparency = 1 end local rhip = torso:findFirstChild("Right Hip") if rhip then ------------ torso["Right Hip"]:destroy() local glue1 = Instance.new("Glue", torso) glue1.Part0 = torso glue1.Part1 = torso.Parent["Right Leg"] glue1.Name = "Right leg" local collider1 = Instance.new("Part", torso.Parent["Right Leg"]) collider1.Position = Vector3.new(0,9999,0) collider1.Size = Vector3.new(1.7, 1, 1) collider1.Shape = "Cylinder" local weld1 = Instance.new("Weld", collider1) weld1.Part0 = torso.Parent["Right Leg"] weld1.Part1 = collider1 weld1.C0 = CFrame.Angles(0, 0, 80) collider1.TopSurface = "Smooth" collider1.BottomSurface = "Smooth" collider1.formFactor = "Symmetric" glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) collider1.Transparency = 1 end ------------ local rshoulder = torso:findFirstChild("Right Shoulder") if rshoulder then torso["Right Shoulder"]:destroy() local glue11 = Instance.new("Glue", torso) glue11.Part0 = torso glue11.Part1 = torso.Parent["Right Arm"] glue11.Name = "Right shoulder" local collider11 = Instance.new("Part", torso.Parent["Right Arm"]) collider11.Position = Vector3.new(0,9999,0) collider11.Size = Vector3.new(1.8,1,1) collider11.Shape = "Cylinder" local weld11 = Instance.new("Weld", collider11) weld11.Part0 = torso.Parent["Right Arm"] weld11.Part1 = collider11 weld11.C0 = CFrame.Angles(0, 0, 80) collider11.TopSurface = "Smooth" collider11.BottomSurface = "Smooth" collider11.formFactor = "Symmetric" glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) collider11.Transparency = 1 end ------------ local lshoulder = torso:findFirstChild("Left Shoulder") if lshoulder then torso["Left Shoulder"]:destroy() local glue111 = Instance.new("Glue", torso) glue111.Part0 = torso glue111.Part1 = torso.Parent["Left Arm"] glue111.Name = "Left shoulder" local collider111 = Instance.new("Part", torso.Parent["Left Arm"]) collider111.Position = Vector3.new(0,9999,0) collider111.Size = Vector3.new(1.8,1,1) collider111.Shape = "Cylinder" local weld111 = Instance.new("Weld", collider111) weld111.Part0 = torso.Parent["Left Arm"] weld111.Part1 = collider111 weld111.C0 = CFrame.Angles(0, 0, 80) collider111.TopSurface = "Smooth" collider111.BottomSurface = "Smooth" collider111.formFactor = "Symmetric" glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) collider111.Transparency = 1 end ----------------- local sensoring = Instance.new("Part", torso) sensoring.Size = Vector3.new(1.2,1.1,0.8) sensoring.CanCollide = false sensoring.Position = torso.Position local welder = Instance.new("Weld", sensoring) welder.Part0 = torso welder.Part1 = sensoring welder.C0 = welder.C0 * CFrame.new(0,0,1.05) sensoring.Transparency = 1 ----------------- local sensoring1 = Instance.new("Part", torso) sensoring1.Size = Vector3.new(1.2,1.1,0.8) sensoring1.CanCollide = false sensoring1.Position = torso.Position local welder1 = Instance.new("Weld", sensoring) welder1.Part0 = torso welder1.Part1 = sensoring1 welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05) sensoring1.Transparency = 1 local function touch() if not using then using = true local Math = math.random(1,4) if Math == 1 then hit:Play() end if Math == 2 then hit1:Play() end if Math == 3 then hit2:Play() end if Math == 4 then hit3:Play() end wait(0.1) using = false end end sensoring.Touched:connect(touch) sensoring1.Touched:connect(touch) if part.Name == "Head" then local hed = Instance.new("Sound", torso) hed.SoundId = "rbxassetid://147936251" hed.Volume = 5 hed:Play() hum.Health = 0.00001 for i,v in pairs(torso.Parent:GetChildren()) do if v.ClassName == "Hat" or v.ClassName == "Accessory" then v:destroy() end end for i,v in pairs(torso.Parent.Head:GetChildren()) do if v.ClassName == "Decal" then v:destroy() end end torso.Parent.Head.Transparency = 1 wait(3) hum.Health = 0 end while true do wait(0.3) hum.PlatformStand = true end --di ent end end end missle.Touched:connect(kill) for i = 1,2 do wait() weld.C0 = weld.C0 * CFrame.Angles(0,0,-0.07) rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.07) end shooting = false wait(3) shotsound:destroy() end end mouse.Button1Down:connect(shoot) function ragdoll() game.Players.LocalPlayer.Character.Archivable = true clone = game.Players.LocalPlayer.Character:Clone() clone.Parent = workspace for i,v in pairs(clone:GetChildren()) do if v.ClassName == "Script" or v.ClassName == "LocalScript" then v:destroy() end for i,p in pairs(v:GetChildren()) do if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then p:destroy() end end end for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if t.ClassName == "Accessory" or t.ClassName == "ForceField" then t:destroy() end end vel = Instance.new("BodyVelocity", clone.Torso) vel.Velocity = clone.Torso.CFrame.lookVector * -5 vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608" using = false hit = Instance.new("Sound", clone.Torso) hit.SoundId = "rbxassetid://260430060" hit.Volume = 5 hit1 = Instance.new("Sound", clone.Torso) hit1.SoundId = "rbxassetid://138087186" hit1.Volume = 5 hit2 = Instance.new("Sound", clone.Torso) hit2.SoundId = "rbxassetid://131237241" hit2.Volume = 5 hit3 = Instance.new("Sound", clone.Torso) hit3.SoundId = "rbxassetid://278062209" hit3.Volume = 5 hit3.TimePosition = 0.33 ded = Instance.new("Sound", clone.Torso) ded.SoundId = "rbxassetid://418892870" ded.Volume = 5 local leftarm = clone:findFirstChild("Left Arm") local rightrm = clone:findFirstChild("Right Arm") local leftleg = clone:findFirstChild("Left Leg") local rightleg = clone:findFirstChild("Right Leg") local head = clone:findFirstChild("Head") local welding = Instance.new("Weld", clone.Torso) welding.Part0 = clone.Torso welding.Part1 = head welding.C0 = welding.C0 * CFrame.new(0,1.5,0) for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if g.ClassName == "Part" then g:destroy() end end for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if h.ClassName == "Accesory" then h:destroy() end end game.Workspace.CurrentCamera.CameraSubject = head if leftleg ~= nil then local glue = Instance.new("Glue", clone.Torso) glue.Part0 = clone.Torso glue.Part1 = leftleg glue.Name = "Left leg" local collider = Instance.new("Part", leftleg) collider.Position = Vector3.new(0,999,0) collider.Size = Vector3.new(1.7, 1, 1) collider.Shape = "Cylinder" local weld = Instance.new("Weld", collider) weld.Part0 = leftleg weld.Part1 = collider weld.C0 = CFrame.Angles(0, 0, 80) collider.TopSurface = "Smooth" collider.BottomSurface = "Smooth" collider.formFactor = "Symmetric" glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) collider.Transparency = 1 end ------------ if rightleg ~= nil then local glue1 = Instance.new("Glue", clone.Torso) glue1.Part0 = clone.Torso glue1.Part1 = rightleg glue1.Name = "Right leg" local collider1 = Instance.new("Part", rightleg) collider1.Position = Vector3.new(0,999,0) collider1.Size = Vector3.new(1.7, 1, 1) collider1.Shape = "Cylinder" local weld1 = Instance.new("Weld", collider1) weld1.Part0 = rightleg weld1.Part1 = collider1 weld1.C0 = CFrame.Angles(0, 0, 80) collider1.TopSurface = "Smooth" collider1.BottomSurface = "Smooth" collider1.formFactor = "Symmetric" glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) collider1.Transparency = 1 end ------------ if rightrm ~= nil then local glue11 = Instance.new("Glue", clone.Torso) glue11.Part0 = clone.Torso glue11.Part1 = rightrm glue11.Name = "Right shoulder" local collider11 = Instance.new("Part", rightrm) collider11.Position = Vector3.new(0,9999,0) collider11.Size = Vector3.new(1.8,1,1) collider11.Shape = "Cylinder" local weld11 = Instance.new("Weld", collider11) weld11.Part0 = rightrm weld11.Part1 = collider11 weld11.C0 = CFrame.Angles(0, 0, 80) collider11.TopSurface = "Smooth" collider11.BottomSurface = "Smooth" collider11.formFactor = "Symmetric" glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) collider11.Transparency = 1 end ------------ if leftarm ~= nil then local glue111 = Instance.new("Glue", clone.Torso) glue111.Part0 = clone.Torso glue111.Part1 = leftarm glue111.Name = "Left shoulder" local collider111 = Instance.new("Part", leftarm) collider111.Position = Vector3.new(0,9999,0) collider111.Size = Vector3.new(1.8,1,1) collider111.Shape = "Cylinder" local weld111 = Instance.new("Weld", collider111) weld111.Part0 = leftarm weld111.Part1 = collider111 weld111.C0 = CFrame.Angles(0, 0, 80) collider111.TopSurface = "Smooth" collider111.BottomSurface = "Smooth" collider111.formFactor = "Symmetric" glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) collider111.Transparency = 1 ---------------- sensoring = Instance.new("Part", clone.Torso) sensoring.Size = Vector3.new(1.2,1.1,0.8) sensoring.CanCollide = false sensoring.Position = clone.Torso.Position local welder = Instance.new("Weld", sensoring) welder.Part0 = clone.Torso welder.Part1 = sensoring welder.C0 = welder.C0 * CFrame.new(0,0,1.05) sensoring.Transparency = 1 ----------------- sensoring1 = Instance.new("Part", clone.Torso) sensoring1.Size = Vector3.new(1.2,1.1,0.8) sensoring1.CanCollide = false sensoring1.Position = clone.Torso.Position local welder1 = Instance.new("Weld", sensoring) welder1.Part0 = clone.Torso welder1.Part1 = sensoring1 welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05) sensoring1.Transparency = 1 end clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)" ded:Play() vel:destroy() wait(0.5) local function touch() if not using then using = true local Math = math.random(1,4) if Math == 1 then hit:Play() end if Math == 2 then hit1:Play() end if Math == 3 then hit2:Play() end if Math == 4 then hit3:Play() end wait(0.1) using = false end end sensoring.Touched:connect(touch) sensoring1.Touched:connect(touch) wait(4.47) hit1.Volume = 0 hit2.Volume = 0 hit3.Volume = 0 hit.Volume = 0 end game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll) --di ent
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
Google Docs - Exploit
5 min ago | 0.32 KB
Earn money on Changelly
CSS | 19 min ago | 0.32 KB
SwapEngine Bug [build 1.3]
34 min ago | 0.32 KB
December smells like money
CSS | 48 min ago | 0.32 KB
SelectionEdit.pas
Delphi | 8 hours ago | 27.66 KB
SelectionEdit.h
C++ | 8 hours ago | 1.42 KB
SelectionEdit.cpp
C++ | 8 hours ago | 17.22 KB
PackageRelease.ps1
PowerShell | 8 hours ago | 24.87 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!