Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- char = plr.Character
- local mouse = plr:GetMouse()
- mode = 'damage'
- local human = char.Humanoid
- char.Animate:Destroy()
- running = false
- human.Running:connect(function(speed)
- if speed <= 0 then
- running = false
- else
- running = true
- end
- end)
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld")
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = CFrame.new()
- weld.C1 = b.CFrame:inverse() * a.CFrame
- weld.Parent = a
- return weld;
- end
- function takehats(char)
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" then
- v.Parent = game.Players.LocalPlayer.Character
- end
- end
- end
- char.Torso.Transparency = 1
- --------------------------ARM 1-----------------------------------------
- local rawc = char["Right Arm"]:clone()
- char["Right Arm"]:Destroy()
- rawc.Parent = char
- local RAW = weldBetween(char.Torso, char["Right Arm"])
- RAW.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- --------------------------LEG 1-----------------------------------------
- local rlwc = char["Right Leg"]:clone()
- char["Right Leg"]:Destroy()
- rlwc.Parent = char
- local RLW = weldBetween(char.Torso, char["Right Leg"])
- RLW.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- --------------------------LEG 2-----------------------------------------
- local llwc = char["Left Leg"]:clone()
- char["Left Leg"]:Destroy()
- llwc.Parent = char
- local LLW = weldBetween(char.Torso, char["Left Leg"])
- LLW.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- ----------------------------ARM 2---------------------------------------
- local lawc = char["Left Arm"]:clone()
- char["Left Arm"]:Destroy()
- lawc.Parent = char
- local LAW = weldBetween(char.Torso, char["Left Arm"])
- LAW.C1 = CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- --==/Oni0n's Snap w/ Derp Walk/==--
- --[[
- This is known as a snap script, mainly because it snaps the victim's neck and lets you grab them. I know, it's badass.
- I based it off wulfbug9's original snap and made mine 500x better [no offence wulfy <3].
- --=//=--
- Keys are as follow:
- #1: q = "KILL"
- #2: e = "Release as ragdoll to die slowly"
- #3: r = "Release unharmed"
- --=//=--
- P.S.:
- Steal credit for this and I will kick your ass.
- My foot will go so far up your anal passage that it will come out of your mouth then re-enter through your anal passage a second time.
- My guess is, that it'll hurt like hell
- Yes, my leg is long enough to do that. Don't question my legs. (Not really, just don't take credit)
- HOWEVER; if you want to edit the code, feel free to do so.
- (YOU MUST BE AT LEAST A STUD AWAY FROM THE VICTIM TO SNAP HIM/HER. CLICK ON THE VICTIM AND YOU WILL HAVE HIM IN YOUR GRIP.
- TO USE ONE OF THE KEYS, PRESS WHILE THE VICTIM IS SNAPPED)
- --=//=--
- Copyright© Root Corporation and Others 2016, 2050.
- All Rights Reserved.
- --=//=--
- ]]--
- Player, Char, Mouse = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse()
- Humanoid = Char:findFirstChild("Humanoid")
- Torso = Char:findFirstChild("Torso")
- Head = Char:findFirstChild("Head")
- ra = Char:findFirstChild("Right Arm")
- la = Char:findFirstChild("Left Arm")
- rl = Char:findFirstChild("Right Leg")
- ll = Char:findFirstChild("Left Leg")
- rs = Torso:findFirstChild("Right Shoulder")
- ls = Torso:findFirstChild("Left Shoulder")
- rh = Torso:findFirstChild("Right Hip")
- lh = Torso:findFirstChild("Left Hip")
- neck = Torso:findFirstChild("Neck")
- rp = Char:findFirstChild("HumanoidRootPart")
- rp.Archivable = true
- rj = rp:findFirstChild("RootJoint")
- rj.Archivable = true
- Humanoid:ClearAllChildren()
- rootpart = Char:findFirstChild("HumanoidRootPart")
- Camera = workspace.CurrentCamera
- CF = CFrame.new
- components = CF().components
- local Targetz
- local Targetz1
- local hat
- grab = false
- --==/ V DO NOT TOUCH THIS V /==--
- function Lerp(a, b, i) --< DO NOT TOUCH THIS >--
- return a:lerp(b, i) --< DO NOT TOUCH THIS : GENERALIZED FUNCTIONS >--
- end --< DO NOT TOUCH THIS >--
- --==/ ^ DO NOT TOUCH THIS ^ /==--
- --==/BASE/DEFAULT WELDS/==--
- --=/ARM REWELDS/=--
- --/Right Arm/--
- rm = Instance.new("Motor6D", Torso)
- rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
- rm.C1 = CFrame.new(0, 0.5, 0)
- rm.Part0 = Torso
- rm.Part1 = ra
- --/Left Arm/--
- lm = Instance.new("Motor6D", Torso)
- lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
- lm.C1 = CFrame.new(0, 0.5, 0)
- lm.Part0 = Torso
- lm.Part1 = la
- --=/LEG REWELDS/=--
- --/Right Leg/--
- rlegm = Instance.new("Motor6D", Torso)
- rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
- rlegm.C1 = CFrame.new(0, 1, 0)
- rlegm.Part0 = Torso
- rlegm.Part1 = rl
- --/Left Leg/--
- llegm = Instance.new("Motor6D", Torso)
- llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
- llegm.C1 = CFrame.new(0, 1, 0)
- llegm.Part0 = Torso
- llegm.Part1 = ll
- --=/Neck Motor6D/=--
- neck.C0 = CFrame.new(0,1,0)
- neck.C1 = CFrame.new(0,-0.5,0)
- --==/BASE VARIABLES & DEBOUNCES/==--
- --=/TRIGONOMETRY/=--
- sine = 1
- angle = 0
- axis = 0
- anglespeed = 1
- axisspeed = anglespeed
- --=/DEBOUNCES/=--
- anim = false
- walking = false
- --==/SNAP FUNCTION/==--
- function snap()
- if(Mouse.Target and Mouse.Target.Parent and Mouse.Target.Parent:findFirstChild("Humanoid") and Mouse.Target.Parent:findFirstChild("Humanoid").Parent and (Mouse.Target.Position - Torso.Position).magnitude < 5) or hat~=nil then
- anim = true
- for i = 1, 10 do
- wait()
- rm.C0 = Lerp(rm.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(100), 0, 0), 0.35)
- end
- anim = false
- if hat ~= nil then
- Targetz = hat.Character
- end
- TargetzHum = Targetz:findFirstChild("Humanoid")
- TargetzHum.PlatformStand = true
- torso2 = Targetz:findFirstChild("Torso")
- head2 = Targetz:findFirstChild("Head")
- ra2 = Targetz:findFirstChild("Right Arm")
- la2 = Targetz:findFirstChild("Left Arm")
- rl2 = Targetz:findFirstChild("Right Leg")
- ll2 = Targetz:findFirstChild("Left Leg")
- local rootpart2
- if Targetz:findFirstChild("HumanoidRootPart") then
- rootpart2 = Targetz:findFirstChild("HumanoidRootPart")
- rootpart2:Destroy()
- end
- for i,v in pairs(torso2:children()) do
- if v:IsA("Motor6D") and v.Name ~= "Neck" then
- v:destroy()
- end
- end
- local rm = Instance.new("Rotate", torso2)
- rm.C0 = CFrame.new(1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- rm.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- rm.Part0 = torso2
- rm.Part1 = ra2
- rm.Name = "Right Shoulder"
- local lm = Instance.new("Rotate", torso2)
- lm.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- lm.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- lm.Part0 = torso2
- lm.Part1 = la2
- lm.Name = "Left Shoulder"
- local rlegm = Instance.new("Rotate", torso2)
- rlegm.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(0, math.pi/2, 0)
- rlegm.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, math.pi/2, 0)
- rlegm.Part0 = torso2
- rlegm.Part1 = rl2
- local llegm = Instance.new("Rotate", torso2)
- llegm.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, math.pi/2, 0)
- llegm.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, math.pi/2, 0)
- llegm.Part0 = torso2
- llegm.Part1 = ll2
- name = Targetz.Name
- NAME = string.upper(name)
- print("HAH "..NAME..", GIT SNAPPED FU\5CKER")
- Grab = Instance.new("Motor6D", ra)
- Grab.Part0 = ra
- Grab.Part1 = torso2
- Grab.C0 = CFrame.new(0, -0.8, 0.65) * CFrame.Angles(math.rad(250), math.rad(180), 0)
- hat=nil
- end
- end
- function letgoasragdoll()
- anim = true
- grab = false
- for i = 1, 10 do
- wait()
- rm.C0 = Lerp(rm.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(110), 0, 0), 0.35)
- end
- anim = false
- grab = false
- wait()
- Grab:Destroy()
- Targetz:findFirstChild("Humanoid"):ChangeState("Physics")
- end
- function letgounharmed()
- anim = true
- grab = false
- for i = 1, 10 do
- wait()
- rm.C0 = Lerp(rm.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(110), 0, 0), 0.35)
- end
- anim = false
- grab = false
- wait()
- Targetz:findFirstChild("Humanoid"):ChangeState("Physics")
- Grab:Destroy()
- end
- --==/MOUSE EVENTS/==--
- --=/BUTTON1DOWN/=--
- Mouse.Button1Down:connect(function(hit)
- if grab == false then
- if Mouse.Target.Parent:findFirstChild("Humanoid") then
- grab=true
- Targetz1 = game.Players:GetPlayerFromCharacter(Mouse.Target.Parent:findFirstChild("Humanoid").Parent)
- Targetz = Targetz1.Character
- elseif Mouse.Target.Parent.ClassName == ("Hat") then
- grab = true
- hat = game.Players:GetPlayerFromCharacter(Mouse.Target.Parent.Parent:findFirstChild("Head").Parent)
- end
- if Targetz ~= nil or hat ~= nil then
- snap()
- end
- end
- end)
- --=/KEYDOWN/=--
- Mouse.KeyDown:connect(function(key)
- if key == "q" then
- if Targetz then
- Targetz:BreakJoints()
- print("killed target HEUHEUEHUEH")
- end
- elseif key == "e" then
- if Targetz and Grab then
- letgoasragdoll()
- print("let go poisoned")
- end
- elseif key == "r" then
- if Targetz and Grab then
- letgounharmed()
- print("let go unragdolled and unharmed")
- end
- end
- end)
- --==/BASIC MOVEMENT & ATTACKS/==--
- game:GetService("RunService").Stepped:connect(function()
- angle = (angle % 100) + anglespeed/10
- axis = (axis % 100) + axisspeed/10
- speed = Vector3.new(rootpart.Velocity.X, 0, rootpart.Velocity.Z).magnitude
- --=/IDLE/=--
- if speed < 2 then
- animpose = "Idle"
- --=/WALKING/=--
- elseif speed > 2 then
- animpose = "Walking"
- walking = true
- end
- --==/ANIMATION FUNCTIONS/==--
- if animpose == "Idle" and anim == false then --> idle
- anglespeed = 0.1
- axisspeed = 0.1
- rm.C0 = Lerp(rm.C0, CFrame.new(1.4, 0.6, 0) * CFrame.Angles(math.rad(10), 0, math.rad(10)), 0.35)
- lm.C0 = Lerp(lm.C0, CFrame.new(-1.4, 0.6, 0) * CFrame.Angles(-math.rad(10), 0, -math.rad(10)), 0.35)
- rlegm.C0 = Lerp(rlegm.C0, CFrame.new(0.5, -0.95, 0) * CFrame.Angles(-math.rad(10), 0, math.rad(5)), 0.35)
- llegm.C0 = Lerp(llegm.C0, CFrame.new(-0.5, -0.95, 0) * CFrame.Angles(math.rad(10), 0, -math.rad(5)), 0.35)
- neck.C0 = Lerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0), 0.35)
- rj.C0 = Lerp(rj.C0, CFrame.new(0, -0.25, 0) * CFrame.Angles(math.rad(-90), 0, math.rad(180)), 0.35)
- elseif animpose == "Walking" and anim == false and walking == true then --> walk
- anglespeed = 2.5
- rm.C0 = Lerp(rm.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.sin(angle) * 1.5, 0, -math.sin(angle) * 0.7), 0.35)
- lm.C0 = Lerp(lm.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.sin(angle) * 1.5, 0, -math.sin(angle) * 0.7), 0.35)
- rlegm.C0 = Lerp(rlegm.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.asin(-math.sin(angle)) * 1.25, 0, math.rad(2.5)), 0.35)
- llegm.C0 = Lerp(llegm.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.sin(angle) * 1.25, 0, -math.rad(2.5)), 0.35)
- neck.C0 = Lerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(0, math.sin(angle) * -0.2, 0), 0.35)
- rj.C0 = Lerp(rj.C0, CFrame.new(0, -0.25 + math.abs(math.sin(angle) * 0.6), 0) * CFrame.Angles(math.rad(-80), Head.RotVelocity.Y/-50, math.rad(180) + math.sin(angle) * 0.1, 0), 0.35)
- Humanoid.WalkSpeed = 16
- end
- end)
- Plrs = game:GetService("Players")
- GuitarColour = "Lime green"
- me = Plrs.NyonicBear
- char = me.Character
- Modelname = "xGuitar"
- Toolname = "Guitar"
- Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
- necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- selected = false
- Hurt = false
- Deb = true
- Able = true
- Prop = {Damage = 30}
- volume = 0.75
- ToolIcon = ""
- MouseIc = ""
- MouseDo = ""
- Add = {
- Sphere = function(P)
- local m = Instance.new("SpecialMesh",P)
- m.MeshType = "Sphere"
- return m
- end,
- BF = function(P)
- local bf = Instance.new("BodyForce",P)
- bf.force = Vector3.new(0, P:GetMass()*187, 0)
- return bf
- end,
- BP = function(P)
- local bp = Instance.new("BodyPosition",P)
- bp.maxForce = Vector3.new(math.huge, 0, math.huge)
- bp.P = 14000
- return bp
- end,
- BG = function(P)
- local bg = Instance.new("BodyGyro",P)
- bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- bg.P = 14000
- return bg
- end,
- Mesh = function(P, ID, x, y, z)
- local m = Instance.new("SpecialMesh")
- m.MeshId = ID
- m.Scale = Vector3.new(x, y, z)
- m.Parent = P
- return m
- end,
- Sound = function(P, ID, vol, pitch)
- local s = Instance.new("Sound")
- s.SoundId = ID
- s.Volume = vol
- s.Pitch = pitch
- s.Parent = P
- return s
- end
- }
- function find(tab, arg)
- local ah = nil
- for i,v in pairs(tab) do
- if v == arg then
- ah = v
- end
- end
- return ah
- end
- function getAllParts(from)
- local t = {}
- function getParts(where)
- for i, v in pairs(where:children()) do
- if v:IsA("BasePart") then
- if v.Parent ~= char and v.Parent.Parent ~= char then
- table.insert(t, v)
- end
- end
- getParts(v)
- end
- end
- getParts(workspace)
- return t
- end
- function RayCast(pos1, pos2, maxDist, forward)
- local list = getAllParts(workspace)
- local pos0 = pos1
- for dist = 1, maxDist, forward do
- pos0 = (CFrame.new(pos1, pos2) * CFrame.new(0, 0, -dist)).p
- for _, v in pairs(list) do
- local pos3 = v.CFrame:pointToObjectSpace(pos0)
- local s = v.Size
- if pos3.x > -(s.x/2) and pos3.x < (s.x/2) and pos3.y > -(s.y/2) and pos3.y < (s.y/2) and pos3.z > -(s.z/2) and pos3.x < (s.z/2) and v.CanCollide == true then
- return pos0, v
- end
- end
- end
- return pos0, nil
- end
- function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
- local p = Instance.new("Part")
- p.formFactor = "Custom"
- p.Anchored = Anchor
- p.CanCollide = Collide
- p.Transparency = Tran
- p.Reflectance = Ref
- p.BrickColor = BrickColor.new(Color)
- for _, Surf in pairs(Surfaces) do
- p[Surf] = "Smooth"
- end
- p.Size = Vector3.new(X, Y, Z)
- if Break then
- p:BreakJoints()
- else p:MakeJoints() end
- p.Parent = Parent
- return p
- end
- function Weld(p0, p1, x, y, z, a, b, c)
- local w = Instance.new("Weld")
- w.Parent = p0
- w.Part0 = p0
- w.Part1 = p1
- w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
- return w
- end
- function ComputePos(pos1, pos2)
- local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
- return CFrame.new(pos1, pos3)
- end
- function getHumanoid(c)
- local h = nil
- for i,v in pairs(c:children()) do
- if v:IsA("Humanoid") and c ~= char then
- if v.Health > 0 then
- h = v
- end
- end
- end
- return h
- end
- for i,v in pairs(char:children()) do
- if v.Name == Modelname then
- v:remove()
- end
- end
- torso = char.Torso
- neck = torso.Neck
- hum = char.Humanoid
- Rarm = char["Right Arm"]
- Larm = char["Left Arm"]
- Rleg = char["Right Leg"]
- Lleg = char["Left Leg"]
- hc = Instance.new("Humanoid")
- hc.Health = 0
- hc.MaxHealth = 0
- slash = Add.Sound(nil, "rbxasset://sounds//swordslash.wav", 0.9, 0.8)
- hitsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2801263", 0.7, 0.6)
- charge = Add.Sound(nil, "http://www.roblox.com/asset/?id=2101137", 0.8, 0.65)
- boom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2691586", 0.8, 0.3)
- smashsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2692806", 0.8, 0.35)
- boomboom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2760979", 1, 0.18)
- GSound = Add.Sound(nil, "http://www.roblox.com/asset/?id=1089403", 0.75, 1)
- function PlaySound(sound, pitch, vol)
- local s = sound:clone()
- if pitch ~= nil then
- if tonumber(pitch) then
- s.Pitch = tonumber(pitch)
- end
- end
- if vol ~= nil then
- if tonumber(vol) then
- s.Volume = tonumber(vol)
- end
- end
- s.Parent = torso
- s.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- wait()
- s:remove()
- end))
- end
- Mo = Instance.new("Model")
- Mo.Name = Modelname
- RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
- LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
- RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
- LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
- RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
- LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
- RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
- LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
- RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
- LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
- RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
- LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
- HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
- HBW = Weld(Rarm, HB, 0, 1, 0, 0, 0, 0)
- HW = Weld(HB, nil, 0, -1.3, 0, math.pi/2, 0, 0)
- TH = Weld(torso, nil, -0.8, 0.4, -0.4, 0, math.pi/2, math.rad(80))
- THMain = TH.C1
- RAWStand, LAWStand, RLWStand, LLWStand, HWStand = nil
- NeckStand = necko * CFrame.Angles(math.rad(17), 0, math.rad(35))
- handle = Part(Mo, false, false, 0, 0, GuitarColour, 0.6, 1.5, 1.5, true)
- handle.Name = "Handle"
- handletip1 = Part(Mo, false, false, 0, 0.2, "Really black", 0.5, 0.5, 0.5, true)
- local w1 = Weld(handle, handletip1, 0, 1.12, 0, 0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), 0, 0)
- Add.Mesh(handletip1, "http://www.roblox.com/asset/?id=9756362", 0.65, 0.45, 0.65)
- handletip2 = Part(Mo, false, false, 0, 0.2, "Dark grey", 0.5, 0.5, 0.5, true)
- Weld(handletip1, handletip2, 0, 0, 0, 0, math.rad(45), 0)
- Add.Mesh(handletip2, "http://www.roblox.com/asset/?id=9756362", 0.65, 0.35, 0.65)
- for i = 45, 360+45-90, 90 do
- local p = Part(Mo, false, false, 0, 0, GuitarColour, 0.7, 0.9, 0.6, true)
- local w = Weld(handle, p, 0, 0, 0, 0, 0, 0)
- w.C0 = CFrame.Angles(0, math.pi/2, math.rad(i))
- w.C1 = CFrame.new(-1, 0, 0) * CFrame.Angles(0, 0, math.pi/4)
- end
- for i = 0, 40, 40 do
- local p = Part(Mo, false, false, 0, 0, "Really black", 0.2, 0.2, 0.2, true)
- Add.Mesh(p, "http://www.roblox.com/asset/?id=1033714", 0.14, 0.12, 0.14)
- local w = Weld(handle, p, 0, -0.35, -0.7, 0, 0, math.pi/2)
- w.C0 = CFrame.Angles(math.rad(i+130), 0, 0)
- local p2 = Part(Mo, false, false, 0, 0, "Black", 0.2, 0.2, 0.2, true)
- Instance.new("CylinderMesh",p2).Scale = Vector3.new(1, 0.7, 1)
- Weld(p, p2, 0, -0.04, 0, 0, 0, 0)
- end
- fretboard = Part(Mo, false, false, 0, 0, "Black", 0.45, 2.6, 0.6, true)
- Weld(handle, fretboard, -0.1, -1.95, 0, math.pi/4, 0, 0)
- for i = 0, 2.48, 2.48/10 do
- local asd = (1*i)
- local p = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.55, 0.2, true)
- Instance.new("CylinderMesh",p).Scale = Vector3.new(0.3, 1, 0.3)
- Weld(fretboard, p, -0.21, 0, -1.1+asd, math.pi/2, 0, 0)
- end
- Strings = {}
- for i = -0.24, 0.24, 0.48/6 do
- local p = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 3.7, 0.2, true)
- Instance.new("CylinderMesh",p).Scale = Vector3.new(0.06, 1, 0.06)
- local w = Weld(fretboard, p, -0.25, 0.75, i+0.04, 0, 0, 0)
- table.insert(Strings, {p, w})
- end
- for i = -20, 20, 20 do
- local asd = (20+i)/60
- local p = Part(Mo, false, false, 0, 0, "White", 0.2, 0.3, 0.6, true)
- Instance.new("BlockMesh",p).Scale = Vector3.new(1, 0.5, 1)
- local w = Weld(fretboard, p, 0, 0, 0, 0, 0, 0)
- w.C0 = CFrame.new(0.11, -1.5-asd, 0)
- w.C1 = CFrame.Angles(math.rad(i), 0, 0)
- for x = -0.18, 0.18, 0.18 do
- local p2 = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.2, 0.2, true)
- Instance.new("CylinderMesh",p2).Scale = Vector3.new(0.5, 0.3, 0.5)
- Weld(p, p2, 0, -0.08, x, 0, 0, math.pi/2)
- end
- end
- stringattach = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.2, 0.8, true)
- Instance.new("BlockMesh",stringattach)
- Weld(fretboard, stringattach, -0.13, 2.55, 0, 0, 0, 0)
- vibra = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.32, 0.2, true)
- Instance.new("SpecialMesh",vibra).Scale = Vector3.new(0.35, 1, 0.35)
- VW = Weld(stringattach, vibra, 0, -0.15, 0, 0, 0, 0)
- VW.C0 = CFrame.new(0, 0, -0.36) * CFrame.Angles(0, 0, math.rad(-75))
- vibra2 = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.62, 0.2, true)
- Instance.new("SpecialMesh",vibra2).Scale = Vector3.new(0.35, 1, 0.35)
- vwz = Weld(vibra, vibra2, 0, -0.29, 0, 0, 0, 0)
- vwz.C0 = CFrame.new(0, 0.15, 0) * CFrame.Angles(0, 0, math.rad(70))
- vibra3 = Part(Mo, false, false, 0, 0, GuitarColour, 0.2, 0.3, 0.2, true)
- Add.Sphere(vibra3).Scale = Vector3.new(0.55, 1, 0.55)
- Weld(vibra2, vibra3, 0, -0.25, 0, 0, 0, 0)
- stringat2 = Part(Mo, false, false, 0, 0, "Dark grey", 0.2, 0.2, 0.7, true)
- Instance.new("BlockMesh",stringat2).Scale = Vector3.new(1, 0.3, 1)
- Weld(stringattach, stringat2, -0.02, 0, 0, 0, 0, 0)
- for i = -0.2, 0.21, 0.4/5 do
- local p = Part(Mo, false, false, 0, 0, "Mid gray", 0.2, 0.2, 0.2, true)
- Instance.new("BlockMesh",p).Scale = Vector3.new(1, 0.8, 0.2)
- Weld(stringat2, p, -0.01, 0, i, 0, 0, 0)
- end
- stringattach2 = Part(Mo, false, false, 0, 0, GuitarColour, 0.45, 1.2, 0.62, true)
- local wdz = Weld(fretboard, stringattach2, 0, 0, 0, 0, 0, math.rad(8))
- wdz.C0 = CFrame.new(0.1, 1.7, 0)
- for i = 0, 180, 180 do
- local p = Part(Mo, false, false, 0, 0, GuitarColour, 0.45, 1.2, 0.62, true)
- Instance.new("SpecialMesh",p).MeshType = "Wedge"
- local w = Weld(stringattach2, p, 0, 0, -0.21, math.rad(20), 0, math.pi)
- w.C0 = CFrame.new(0, 0.4, 0) * CFrame.Angles(0, math.rad(i), 0)
- for x = -0.4, 0.2, 0.3 do
- local asd = -0.15 + (i/600)
- local p2 = Part(Mo, false, false, 0, 0, "Dark grey", 0.2, 0.2, 0.2, true)
- local w2 = Weld(p, p2, 0, 0, 0, 0, 0, math.pi/2)
- w2.C0 = CFrame.new(asd, x, 0.15)
- Instance.new("CylinderMesh",p2)
- local p3 = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.3, 0.2, true)
- Instance.new("CylinderMesh",p3).Scale = Vector3.new(0.8, 1, 0.8)
- Weld(p2, p3, 0, 0, 0, 0, 0, 0)
- end
- end
- for i = -0.6, 0.61, 1.2 do
- local p = Part(Mo, false, false, 0, 0, "Really black", 0.5, 2.8, 0.2, true)
- Weld(torso, p, 0, 0, i, 0, 0, math.rad(-40))
- local p2 = Part(Mo, false, false, 0, 0, "Really black", 0.5, 0.2, 1.1, true)
- Weld(torso, p2, -i*1.4, i*1.75, 0, 0, 0, 0)
- end
- Mo.Parent = char
- TH.Part1 = handle
- if script.Parent.className ~= "HopperBin" then
- h = Instance.new("HopperBin",me.Backpack)
- h.Name = Toolname
- h.TextureId = ToolIcon
- script.Parent = h
- end
- bin = script.Parent
- function detach(bool)
- LLW.C0 = CFrame.new(0, 0, 0)
- RLW.C0 = CFrame.new(0, 0, 0)
- LAW.C0 = CFrame.new(0,0,0)
- RAW.C0 = CFrame.new(0, 0, 0)
- if bool then
- LLW.Part1 = nil
- RLW.Part1 = nil
- RAW.Part1 = nil
- LAW.Part1 = nil
- end
- end
- function attach()
- RAW.Part1 = Rarm
- LAW.Part1 = Larm
- RLW.Part1 = Rleg
- LLW.Part1 = Lleg
- end
- function normal()
- neck.C0 = NeckStand
- RAW.C0 = RAWStand
- LAW.C0 = LAWStand
- RLW.C0 = RLWStand
- LLW.C0 = LLWStand
- RAW.C1 = CFrame.new(0, 0.5, 0)
- LAW.C1 = CFrame.new(0, 0.5, 0)
- RLW.C1 = CFrame.new(0, 0.8, 0)
- LLW.C1 = CFrame.new(0, 0.8, 0)
- HW.C0 = HWStand
- end
- function selectanim()
- RAW.Part1 = Rarm
- for i = 0.09, 1, 0.09 do
- TH.C0 = CFrame.Angles(0, math.rad(90*i), 0)
- TH.C1 = THMain * CFrame.Angles(0, 0, math.rad(-30*i)) * CFrame.new(0, 0.3*i, -0.1*i)
- RAW.C0 = CFrame.Angles(math.rad(110*i), 0, math.rad(10*i)) * CFrame.new(0, 0, -0.3*i)
- neck.C0 = necko * CFrame.Angles(math.rad(5*i), 0, math.rad(-35*i))
- wait()
- end
- LAW.Part1 = Larm
- for i = 0.1, 1, 0.1 do
- TH.C0 = CFrame.Angles(0, math.rad(90+90*i), 0)
- TH.C1 = THMain * CFrame.Angles(math.rad(15*i), 0, math.rad(-30-30*i)) * CFrame.new(0, 0.3+0.2*i, -0.1)
- RAW.C0 = CFrame.Angles(math.rad(110-65*i), 0, math.rad(10-30*i)) * CFrame.new(0, -0.5*i, -0.3-0.2*i)
- LAW.C0 = CFrame.Angles(math.rad(75*i), math.rad(-15*i), math.rad(-10*i)) * CFrame.new(0, -0.2*i, 0)
- neck.C0 = necko * CFrame.Angles(math.rad(5+12*i), 0, math.rad(-35+70*i))
- wait()
- end
- if RAWStand == nil then
- RAWStand = RAW.C0
- LAWStand = LAW.C0
- RLWStand = RLW.C0
- LLWStand = LLW.C0
- HWStand = HW.C0
- end
- normal()
- end
- function deselanim()
- for i = 0.9, 0, -0.1 do
- TH.C0 = CFrame.Angles(0, math.rad(90+90*i), 0)
- TH.C1 = THMain * CFrame.Angles(math.rad(15*i), 0, math.rad(-30-30*i)) * CFrame.new(0, 0.3+0.2*i, -0.1)
- RAW.C0 = CFrame.Angles(math.rad(110-65*i), 0, math.rad(10-30*i)) * CFrame.new(0, -0.5*i, -0.3-0.2*i)
- LAW.C0 = CFrame.Angles(math.rad(75*i), math.rad(-15*i), math.rad(-10*i)) * CFrame.new(0, -0.2*i, 0)
- neck.C0 = necko * CFrame.Angles(math.rad(5+12*i), 0, math.rad(-35+70*i))
- wait()
- end
- LAW.Part1 = nil
- for i = 0.91, 0, -0.09 do
- TH.C0 = CFrame.Angles(0, math.rad(90*i), 0)
- TH.C1 = THMain * CFrame.Angles(0, 0, math.rad(-30*i)) * CFrame.new(0, 0.3*i, -0.1*i)
- RAW.C0 = CFrame.Angles(math.rad(110*i), 0, math.rad(10*i)) * CFrame.new(0, 0, -0.3*i)
- neck.C0 = necko * CFrame.Angles(math.rad(5*i), 0, math.rad(-35*i))
- wait()
- end
- neck.C0 = necko
- detach(true)
- end
- keys = {"r", "t", "y", "u", "f", "g", "h", "j", "k", "l", "z", "x", "c", "v", "b", "n", "m"}
- function PlayString(pitch, vol)
- LAW.C0 = LAWStand * CFrame.new(pitch/7, 0, 0) * CFrame.Angles(0, 0, math.rad(pitch*18))
- neck.C0 = NeckStand * CFrame.Angles(0, 0, math.rad(-pitch*13))
- for i = 0, 1, 0.5 do
- RAW.C0 = RAWStand * CFrame.Angles(math.rad(-5*i), 0, math.rad(-15*i)) * CFrame.new(0, 0.3*i, 0)
- wait()
- end
- PlaySound(GSound, pitch, vol)
- for i = 0, 1, 0.33 do
- RAW.C0 = RAWStand * CFrame.Angles(math.rad(-5-10*i), 0, math.rad(-15+35*i)) * CFrame.new(0, 0.3-0.8*i, 0)
- wait()
- end
- local lol = math.floor(pitch*2.5)
- if lol < 1 then lol = 1 elseif lol > #keys then lol = #keys end
- coroutine.resume(coroutine.create(function()
- local vollol = vol*40
- for i = 1, math.random(vollol/1.8, vollol) do
- Strings[lol][2].C0 = CFrame.new(0, 0, math.random(-vollol, vollol)/1000)
- wait()
- end
- Strings[lol][2].C0 = CFrame.new()
- end))
- for i = 0, 1, 0.25 do
- RAW.C0 = RAWStand * CFrame.Angles(math.rad(-5-10+15*i), 0, math.rad(20-20*i)) * CFrame.new(0, 0.3-0.8+0.5*i, 0)
- wait()
- end
- RAW.C0 = RAWStand
- end
- function select(mouse)
- selectanim()
- selected = true
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- for i, v in pairs(keys) do
- if key == v then
- local pitch = 0.3 + (i/7.5)
- PlayString(pitch, volume)
- end
- end
- end)
- end
- function deselect(mouse)
- selected = false
- deselanim()
- end
- bin.Selected:connect(select)
- bin.Deselected:connect(deselect)
- --MADE BY OneLegend (NOT THE SCRIPT) Thanks to TheRedAngel for letting me add. Feel free to take his model too. http://www.roblox.com/TheRedAngels-SB-Gift-NEW-SCRIPTS-item?id=88063410
- --REGULAR SCRIPT: Go to line 4 and put your name where it says "RazorShockk"
- Name="NyonicBear"
- player=game.Players[Name]
- char=player.Character
- Color=BrickColor.new("Grey")
- Color2=BrickColor.new(Color3.new(0,0,0))
- model=Instance.new("Model")
- model.Name="Suit"
- model.Parent=char
- d=0
- Debounce=true
- fake=char.Head:clone()
- pcall(function() fake.face:remove() end)
- char.Head.Transparency=1
- fake.Parent=model
- fake.Transparency=0
- w=Instance.new("Weld")
- w.Part1=fake
- w.Part0=char.Head
- w.Parent=char
- fake.Mesh.Scale=fake.Mesh.Scale+Vector3.new(-0.01,-0.01,-0.01)
- fake.BrickColor=Color2
- char.Head.Changed:connect(function(p)
- if p=="BrickColor" then
- wait()
- pcall(function()
- char.Head.face:Remove()
- char.Torso.roblox:remove()
- char["Shirt Graphic"]:remove()
- end)
- char.Humanoid.WalkSpeed=25
- char.Humanoid.MaxHealth=math.huge
- char.Humanoid.Health=math.huge
- for _,v in pairs(char:children()) do
- if v.className=="Hat" then
- v:remove()
- elseif v:IsA("Part") then
- v.BrickColor=Color2
- v.TopSurface="Smooth"
- v.BottomSurface="Smooth"
- elseif v:IsA("Shirt") or v:IsA("Pants") then
- v:remove()
- end
- end
- end
- end)
- char.Head.BrickColor=Color2
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=Color2
- Tor.Reflectance=0
- Tor.Transparency=0
- Tor.CanCollide=false
- Tor.Parent=char
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshId="http://www.roblox.com/asset/?id=16952952"
- Mesh.Scale=Vector3.new(1.05,1.05,1.05)
- Mesh.Parent=Tor
- w = Instance.new("Weld")
- w.Parent = char["Head"]
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,0.35,0)
- --NOTE TO SELF:Use Add([Object],[Delay]) instead of Debris:AddItem
- function Add(object,delay)
- coroutine.resume(coroutine.create(function() wait(delay) pcall(function() object:remove() end) end))
- end
- if script.Parent.className~="HopperBin" then
- Sword = Instance.new("HopperBin")
- Sword.Parent = game.Players[Name].Backpack
- Sword.Name="Sword"
- script.Parent=Sword
- end
- Sword=script.Parent
- Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
- function hint(msg,de)
- local h=Instance.new("Hint")
- h.Text=tostring(msg)
- h.Parent=player
- Delay(tonumber(de),function() h:remove() end)
- end
- function makeSword()
- Sword=model
- wait(0.1)
- Handle=Instance.new("Part")
- Handle.Size=Vector3.new(1,1,1)
- Handle.Parent=Sword
- Handle.BrickColor=Color2
- Handle.Name="Handle"
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType=0
- Mesh.Parent=Handle
- Mesh.Scale=Vector3.new(0.4,0.75,0.4)
- HenWeld=Instance.new("Weld")
- HenWeld.Parent=char["Right Arm"]
- HenWeld.Part1=HenWeld.Parent
- HenWeld.Part0=Handle
- HenWeld.C0=CFrame.new(0,-0.2,1)*CFrame.Angles(math.rad(90),math.rad(25),0)
- Hy=HenWeld.C0
- GripTop=Instance.new("Part")
- GripTop.BrickColor=BrickColor.new(27)
- GripTop.Size=Vector3.new(1,1,1)
- GripTop.Parent=Sword
- GripTop.Name="GripTop"
- Mesh=Instance.new("BlockMesh")
- Mesh.Parent=GripTop
- Mesh.Scale=Vector3.new(0.47,0.15,.97)
- Weld=Instance.new("Weld")
- Weld.Parent=Handle
- Weld.Part1=Weld.Parent
- Weld.Part0=GripTop
- Weld.C0=CFrame.new(0,-0.4,0)
- Blade1=Instance.new("Part")
- Blade1.BrickColor=Color
- Blade1.Size=Vector3.new(1,5,1)
- Blade1.Parent=Sword
- Blade1.Name="Blade1"
- Blade1.Reflectance=0.11
- Mesh=Instance.new("BlockMesh")
- Mesh.Parent=Blade1
- Mesh.Scale=Vector3.new(0.1,0.99,0.8)
- Weld=Instance.new("Weld")
- Weld.Parent=Handle
- Weld.Part1=Weld.Parent
- Weld.Part0=Blade1
- Weld.C0=CFrame.new(0,-2.69,0)
- Pi=Blade1.Touched:connect(Hit)
- Blade2=Instance.new("Part")
- Blade2.BrickColor=Color
- Blade2.Size=Vector3.new(1,1,1)
- Blade2.Parent=Sword
- Blade2.Name="Blade2"
- Blade2.Reflectance=0.11
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType="Wedge"
- Mesh.Parent=Blade2
- Mesh.Scale=Vector3.new(0.1,0.45,0.8)
- Weld=Instance.new("Weld")
- Weld.Parent=Handle
- Weld.Part1=Weld.Parent
- Weld.Part0=Blade2
- Weld.C0=CFrame.new(0,-5.33,0)
- De1=Instance.new("Part")
- De1.BrickColor=Color2
- De1.Size=Vector3.new(1,5,1)
- De1.Parent=Sword
- De1.Name="De1"
- De1.Reflectance=0.05
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType="Brick"
- Mesh.Parent=De1
- Mesh.Scale=Vector3.new(0.11,0.65,0.15)
- Weld=Instance.new("Weld")
- Weld.Parent=Handle
- Weld.Part1=Weld.Parent
- Weld.Part0=De1
- Weld.C0=CFrame.new(0,-1.75,0)
- end
- function Button(mouse)
- for i=0,0.6,0.05 do
- wait()
- local p=Blade1:Clone()
- p.Transparency=0.7
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.35,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/2)
- end
- wait()
- for i=0.95,0,-.05 do
- local p=Blade1:Clone()
- p.Transparency=0.7
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.35,function() p:remove() end)
- wait()
- w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.1/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
- end
- wait()
- for i=0,0.35,0.05 do
- wait()
- local p=Blade1:Clone()
- p.Transparency=0.7
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.35,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0)
- end
- w2.C0=Wr
- end
- function Sm(mouse)
- for i=0,0.2,0.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
- end
- wait(0.5)
- local Blade2=Instance.new("Part")
- Blade2.BrickColor=Color2
- Blade2.Size=Vector3.new(1,1,1)
- Blade2.Parent=Sword
- Blade2.Name="Blade2"
- Blade2.Reflectance=0
- Blade2.Transparency=0.3
- local Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType="Sphere"
- Mesh.Parent=Blade2
- Mesh.Scale=Vector3.new(0.1,0.08,0.1)
- local Weld=Instance.new("Weld")
- Weld.Parent=Handle
- Weld.Part1=Weld.Parent
- Weld.Part0=Blade2
- Weld.C0=CFrame.new(0,-5.53,0)
- for i=1,20 do
- Mesh.Scale=Mesh.Scale+Vector3.new(0.1,0.08,0.1)
- Weld.C0=Weld.C0*CFrame.new(0,-0.005,-0.025)
- wait()
- end
- Delay(0,function()
- local b=Instance.new("Part")
- b.BrickColor=Color2
- b.Reflectance=0
- b.Transparency=1
- b.Size=Vector3.new(2,2,2)
- b.Shape="Ball"
- b.CanCollide=false
- b.TopSurface="Smooth"
- b.Position=Blade2.Position
- b.BottomSurface="Smooth"
- b.Friction=0
- local bo=Instance.new("BodyVelocity")
- bo.maxForce=Vector3.new(9999,9999,9999)
- bo.velocity=(mouse.Hit.p-Blade2.Position).unit*150
- bo.Parent=b
- local co=b.Touched:connect(function(hit)
- if hit.Parent.Name~=Name and Bo.Parent then
- Hit(hit)
- Bo:remove()
- end
- end)
- b.Parent=Blade2
- local Bo=b
- while b.Parent do
- if mouse.Target and (Bo.Position-mouse.Target.Position).magnitude<7 then
- Hit(mouse.Target)
- Bo.Parent=nil
- else
- bo.velocity=(mouse.Hit.p-Bo.Position).unit*200
- end
- wait()
- local b=Instance.new("Part")
- b.BrickColor=Color2
- b.Reflectance=0
- b.Transparency=0.2
- b.Size=Vector3.new(2,2,2)
- b.CanCollide=false
- b.Anchored=true
- b.TopSurface="Smooth"
- b.Parent=Bo
- b.CFrame=Bo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
- b.BottomSurface="Smooth"
- b.Touched:connect(function(hit)
- if hit.Parent.Name~=Name then
- Hit(hit)
- end
- end)
- Delay(1.5,function() b:remove() end)
- end
- end)
- wait(2.25)
- Blade2:remove()
- for i=0.2,0,-.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
- end
- w2.C0=Wr
- end
- function Final(mouse)
- for i=0,0.2,0.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
- end
- wait(0.5)
- for i=1,7 do
- wait(0.55)
- local Laz=Instance.new("Part")
- Laz.Anchored=true
- Laz.BrickColor=Color2
- Laz.Reflectance=0
- Laz.Transparency=0.65
- Laz.TopSurface="Smooth"
- Laz.BottomSurface="Smooth"
- Laz.CanCollide=false
- Laz.Size=Vector3.new(1,1,1)
- Laz.CFrame=Blade1.CFrame
- Laz.Parent=workspace
- local Me=Instance.new("SpecialMesh")
- Me.MeshType="Sphere"
- Me.Parent=Laz
- Delay(0,function()
- local Laz=Laz
- local Me=Me
- for i=1,7,0.5 do
- Me.Scale = Vector3.new(i/5,i,i/2)
- Laz.CFrame=Blade1.CFrame
- wait()
- end
- Laz:remove()
- end)
- end
- for i=0.6,0,-.05 do
- wait(0.075)
- local p=Blade1:Clone()
- p.Transparency=0.5
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.75,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
- end
- for i=1,0,-0.1 do
- game:GetService("Lighting").Ambient=Color3.new(i,i,i)
- game:GetService("Lighting").Brightness=i
- wait(0.05)
- end
- m=Instance.new("Message",workspace)
- m.Text="The End."
- for _,v in pairs(game.Players:children()) do
- if v.Name~=Name then
- Delay(0,function() Hit(v.Character.Torso) end)
- wait()
- end
- end
- wait(1)
- m:remove()
- for i=0,1,0.1 do
- game:GetService("Lighting").Ambient=Color3.new(i,i,i)
- game:GetService("Lighting").Brightness=i
- wait(0.05)
- end
- --Play with lighting,Make a message saying 'The end.' in workspace,massacure here.--
- wait()
- for i=0,0.6,0.05 do
- wait()
- local p=Blade1:Clone()
- p.Transparency=0.5
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.75,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
- end
- w2.C0=Wr
- end
- function Bl(mouse)
- pcall(function() Pi:disconnect() end)
- for i=0,0.4,0.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
- end
- wait(0.75)
- for i=0.95,0,-.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
- end
- function Check(d)
- for _,v in pairs(game.Players:children()) do
- if (v.Character.Torso.Position-Tor.Position).magnitude<d then
- Delay(0,function() Hit(v.Character.Torso) end)
- end
- end
- end
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=BrickColor:Black()
- Tor.Reflectance=0
- Tor.Anchored=true
- Tor.Transparency=0.65
- Tor.CanCollide=false
- Tor.Parent=workspace
- Tor.TopSurface="Weld"
- Star=Tor
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(3,1.2,3)
- Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
- Delay(0.1,function()
- for i=1,20*5 do
- wait()
- Mesh.Scale=Mesh.Scale+Vector3.new(0.5,0,0.5)
- Dist=Mesh.Scale.x/2
- Check(Dist)
- end
- Tor:remove()
- end)
- wait()
- for i=0,0.25,0.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0)
- end
- w2.C0=Wr
- Pi=Blade1.Touched:connect(Hit)
- end
- function Button2(mouse)
- pcall(function() Pi:disconnect() end)
- local Tu=Blade1.Touched:connect(function(h)
- if h.Parent~=nil and h.Parent.Name~=Name and h.Parent:findFirstChild("Humanoid")~=nil and h.Parent.Humanoid.Health>0 then
- h.Parent.Humanoid:TakeDamage(35)
- local shockRing = Instance.new("Part")
- shockRing.formFactor = 2
- shockRing.Size = Vector3.new(1, 0.4, 1)
- shockRing.Anchored = true
- shockRing.Locked = true
- shockRing.CanCollide = false
- shockRing.TopSurface = 0
- shockRing.BrickColor=BrickColor:Black()
- shockRing.BottomSurface = 0
- shockRing.Transparency = 1
- local decal = Instance.new("Decal")
- decal.Face = 1
- decal.Texture = "http://www.roblox.com/asset/?id=5971534"
- decal.Parent = shockRing
- local bottomDecal = decal:Clone()
- bottomDecal.Face = 4
- bottomDecal.Parent = shockRing
- for i=1,2 do
- wait(0.15)
- Delay(0,function()
- local shockRng=shockRing:clone()
- shockRng.Parent=char
- shockRng.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
- for i=1,16 do
- wait()
- shockRng.Size=Vector3.new(i,0.4,i)
- shockRng.CFrame=char.Torso.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
- end
- shockRng:remove()
- end)
- end
- end
- end)
- for i=1,3 do
- for i=0,0.4,0.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/1.1)
- end
- wait()
- for i=0.7,0,-.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,0.1/2,-.1/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/1.1)
- end
- wait()
- for i=0,0.4,0.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/1.1)
- end
- wait()
- w2.C0=Wr
- end
- Tu:disconnect()
- Pi=Blade1.Touched:connect(Hit)
- end
- function Gate(mouse)
- for i=0,0.2,0.05 do
- wait()
- local p=Blade1:Clone()
- p.Transparency=0.5
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.75,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
- end
- wait()
- local b=Instance.new("BodyPosition")
- b.position=char.Torso.Position+Vector3.new(0,30,0)
- b.maxForce=Vector3.new(200,999999999,200)
- b.Parent=char.Torso
- wait(0.75)
- for i=0.6,0,-.05 do
- wait(0.05)
- local p=Blade1:Clone()
- p.Transparency=0.5
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.75,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((108/5)/2),-.1/2,-0.05/2)
- end
- b:remove()
- function Check(d)
- for _,v in pairs(game.Players:children()) do
- if v.Name~=Name and (v.Character.Torso.Position-Star.Position).magnitude<d then
- v.Character.Humanoid:TakeDamage(5)
- v.Character.Humanoid.PlatformStand=true
- v.Character.Torso.Velocity=(v.Character.Torso.Position-Star.Position).unit*120
- end
- end
- end
- wait(0.5)
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=BrickColor:Black()
- Tor.Reflectance=0
- Tor.Anchored=true
- Tor.Transparency=1
- Tor.CanCollide=false
- Tor.Parent=workspace
- Tor.TopSurface="Weld"
- Star=Tor
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(3,1.2,3)
- Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
- Delay(0.1,function()
- for i=1,40 do
- wait()
- Mesh.Scale=Mesh.Scale+Vector3.new(1,0,1)
- Star.Transparency=i/50
- Dist=Mesh.Scale.x/2
- Check(Dist)
- end
- Tor:remove()
- end)
- w2.C0=Wr
- end
- function Rush(mouse)
- if mouse.Target and game.Players:getPlayerFromCharacter(mouse.Target.Parent) then
- person=mouse.Target.Parent
- --person.Torso.Anchored=true
- Pi:disconnect()
- for i=0.2,0,-.05 do
- wait(0.05)
- local p=Blade1:Clone()
- p.Transparency=0.3
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.25,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.02/2)
- end
- char.Torso.CFrame=person.Torso.CFrame*CFrame.new(0,0,2)
- wait()
- Joi=Instance.new("Weld")
- Joi.Parent=Blade1
- Joi.Part1=Joi.Parent
- Joi.Part0=person.Head
- Joi.C0=Joi.C0*CFrame.Angles(0,math.rad(45),0)
- wait(0.75)
- for i=0,0.2,0.05 do
- wait()
- local p=Blade1:Clone()
- p.Transparency=0.3
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.25,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
- end
- w2.C0=Wr
- person:BreakJoints()
- Joi:remove()
- Pi=Blade1.Touched:connect(function(h) Hit(h) end)
- end
- end
- function Tele(mouse)
- local mouset=mouse.Target
- local mouseh=mouse.Hit
- if mouset then
- local Laz=Instance.new("Part")
- Laz.Anchored=false
- Laz.BrickColor=BrickColor:Black()
- Laz.Reflectance=0
- Laz.Transparency=1
- Laz.Shape="Ball"
- Laz.TopSurface="Smooth"
- Laz.BottomSurface="Smooth"
- Laz.CanCollide=false
- Laz.Size=Vector3.new(1,1,1)
- Laz.CFrame=char.Torso.CFrame
- Laz.Parent=char.Torso
- Laz.Transparency=1
- w = Instance.new("Weld")
- w.Parent = Laz
- w.Part0 = w.Parent
- w.Part1 = char.Torso
- w.C0 = CFrame.new(0,0,0)
- local Me=Instance.new("SpecialMesh")
- Me.MeshType="Sphere"
- Me.Scale=Vector3.new(15,15,15)
- Me.Parent=Laz
- for i=1,20 do
- Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5)
- Laz.Transparency=Laz.Transparency-1/20
- wait()
- end
- char.Torso.CFrame=mouseh*CFrame.new(0,5,0)
- for i=1,20 do
- Me.Scale=Me.Scale+Vector3.new(0.5,0.5,0.5)
- Laz.Transparency=i/20
- wait()
- end
- Laz:remove()
- end
- end
- fire={Button2,Bl,Sm,Final,Gate,Rush,Tele}
- name={"Trislash","Oblivion","Smite","The end","Hell's Gate","Rush","Teleport"}
- klick={"z","x","c","m","v","b","n"}
- function Kay(ke)
- for _,v in pairs(klick) do
- if v==ke then
- return _
- end
- end
- return false
- end
- f=Sword.Selected:connect(function(mouse)
- pcall(function() script.Sour.Value=[[print("Hello,World!")]] end) --Nothing to see here.
- if d==0 and char.Torso:findFirstChild("Right Shoulder")~=nil then
- d=1
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- De=0
- f:disconnect()
- pcall(function() game["LocalBackpack"]:children()[1]:remove() end)
- Debou=true
- Numb=Instance.new("NumberValue")
- Numb.Value=0
- Numb.Parent=Sword
- Numb.Changed:connect(function()
- if Debou then
- Debou=false
- wait(0.2)
- ghk:disconnect()
- if Numb.Value>1 then
- Numb.Value=0
- Button2()
- else Numb.Value=0
- Button()
- end
- ghk=mouse.Button1Down:connect(function()
- Delay(0,function()
- if Debounce then
- Debounce=false
- Numb.Value=Numb.Value+1
- wait()
- Debounce=true
- end
- end)
- end)
- Debou=true
- end
- end)
- Arms[2].Parent=nil
- w2 = Instance.new("Weld")
- w2.Name="Right Shouldr"
- w2.Parent = char.Torso
- w2.Part0 = char["Right Arm"]
- w2.Part1 = w2.Parent
- makeSword()
- ---Animation Start---
- for i=0,1,0.05 do
- wait()
- w2.C0 = CFrame.new(-1.2+(i*0.05)/10,-0.1-i*0.05,.5-i/1.3)*CFrame.Angles(math.rad(73*-i),math.rad(-i*45),math.rad(-i*20))
- end
- ----Animation End----
- Wr=w2.C0
- wait()
- ghk=mouse.Button1Down:connect(function()
- Delay(0,function()
- if Debounce then
- Debounce=false
- Numb.Value=Numb.Value+1
- wait()
- Debounce=true
- end
- end)
- end)
- mouse.KeyDown:connect(function(key)
- if Kay(tostring(key))~=false then
- hint(tostring(name[Kay(tostring(key))]).."!",2)
- wait()
- fire[Kay(tostring(key))](mouse)
- end
- end)
- end
- end)
- local cr=Instance.new("ObjectValue")
- cr.Value=player
- cr.Name="creator"
- function Hit(h)
- if h.Parent~=nil and h.Parent.Name~=Name and h.Parent:findFirstChild("Humanoid")~=nil and h.Parent.Humanoid.Health>0 then
- pcall(function() cr:clone().Parent=h.Parent.Humanoid h.Parent.Shirt:remove() h.Parent.Pants:remove() end)
- for _,v in pairs(h.Parent:children()) do
- if v:IsA("Part") then
- wait()
- b=Instance.new("BodyVelocity")
- b.Parent=v
- v:BreakJoints()
- b.velocity=(v.Position-Vector3.new(math.random(-100,100),v.Position.y,math.random(-100,100))).unit*50
- end
- end
- wait()
- pcall(function() h.Parent.Humanoid.creator:remove() end)
- for i=1,17 do
- wait()
- for _,v in pairs(h.Parent:children()) do
- if v:IsA("Part") then
- v.BrickColor=BrickColor:Black()
- v:BreakJoints()
- v.Reflectance=0
- wait()
- v.Reflectance=0.7
- end
- end
- end
- end
- end
- --[[TODO:
- ]]
- --lego
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement