Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- frameincrease = 30
- local folder = {
- "€",
- "¬ ",
- "Æ",
- "Â¥",
- "Ã",
- "Æ’",
- }
- warn("Made by SezHu. I made this Voodoo doll before Creterisk or Nebula_Zorua ever released theirs. I thought to myself, what has no one made? So I went for making this. It is hella old, and you probably arent reading this anyways, so ill just say it. Creterisk was inspired by this script. Use Q to target people, click to kill, press F when you have 5 souls or more to go insane, and hit random buttons on your keyboard for the other moves idfk")
- local beg = {
- "FÃÆ’ŒÂ·Ãƒ‹ÃÆ’ŒÅ¾ ÃÆ’ŒÂ¶ÃÆ’ŒÅ½ÃÆ’Å’ OÃÆ’ŒÂ¸ÃÆ’ÂÂÂÂÂÂÂÂÂÂÂÃÆ’ŒÂ§ ÃÆ’ŒÂ·ÃÆ’Œâ€¦ÃÆ’ŒÂ³RÃÆ’ŒÂ´ÃÆ���ŒÂ½ÃÆ’ŒÂ ÃÆ’ŒÂ´Ãƒ€ÃÆ’ŒÂ¨GÃÆ’ŒÂ¸ÃÆ’ΉۢÃÆ’ŒÂ¡ ÃÆ’ŒÂ¶ÃÆ’Œâ€ÂÂÂÂÂÃÆ’ŒËœIÃÆ’ŒÂ¸ÃÆ’ŒÂÂÂÂÂÂÃÆ’ÂÂÂÂÂ… ÃÆ’ŒÂ·ÃÆ’ŒË†ÃÆ’Œâ€“VÃÆ’ŒÂ·ÃÆ’Ή۪ÃÆ’ŒÂ§ ÃÆ’ŒÂ¸ÃÆ’ ÃÆ’ŒËœEÃÆ’ŒÂ·ÃÆ’ÂÂÂÂÂÂÂÂÂÂÂÃÆ’ŒÂ¦ ÃÆ’ŒÂµÃÆ’ÂÂÂÂÂÂÂÂÂÂÂÃÆ’ŒÂ©MÃÆ’ŒÂ¸ÃÆ’ŒË†ÃÆ’ŒÂ£ ÃÆ’ŒÂµÃÆ’����ÂÂÂÂ’ÃÆ’ŒÅ“EÃÆ’ŒÂ¶Ãƒ„ÃÆ’ŒÂÂÂÂÂÂ",
- "S̵ ̵P̸ Ì·AÌ´ Ì·R̶ ÃŒ�����´E̸ Ì·M̸ ̵E̸",
- "FÃÆ’ŒÂ´Ãƒ„ÃÆ’ŒÂ ÃÆ’ŒÂµÃÆ’ŒË†ÃÆ’ŒÂ¤RÃÆ’ŒÂÂÃ��µÃƒÃ†’ÂÂÂÂÂ’ÃÆ’ŒÂ§ ÃÆ’ŒÂ¸ÃÆ’Œâ€ ÃÆ’ÂÂÂÂÂâ€ÂÂÂÂÂEÃÆ’ŒÂ´Ãƒ„ÃÆ’ŒÂ¬ ÃÆ’ŒÂ·ÃÆ’ÂÂÂÂÂÃ… ÃÆ’ŒÂ«EÃÆ’ŒÂ·Ãƒ„ÃÆ’ŒÂª ÃÆ’ŒÂ¸ÃÆ’Œâ€šÃÆ’ŒÂÂÂÂÂÂMÃÆ’ŒÂ·ÃÆ’ΉۢÃÆ’ŒÅ¸ ÃÆ’ŒÂ´ÃÆ’ÂÂÂÂÂËœÃÆ’ŒÂ²EÃÆ’ŒÂµÃÆ’ÂÂÂÂÂâ€â€ÂÂÂÂÓ",
- "HÃÆ’ŒÂ·ÃÆ’ ÃÆ’ÂÂÂÂÂâ„¢ ÃÆ’ŒÂµÃÆ’ÂÂÂÂÂÅ’ÃÆ’Œâ„¢EÃÆ’ŒÂµÃÆ’Œâ€ÂÂÂÂÂÃÆ’ÂÂÂÂÂÅ“ ÃÆ’ŒÂ¸ÃÆ’ŒÂÂÂÂÂÂÃÆ’ŒÂ¯LÃÆ’ŒÂ´Ãƒ‹ÃÆ’ŒÂ³ ÃÆ’ŒÂ´ÃÆ’Œâ€œÃÆ’ŒÂ«PÃÆ’ŒÂ·ÃÆ’ÂÂÂÂÂÂÂÂÂÂÂÃÆ’ŒÂ¦ ÃÆ’ŒÂ·ÃÆ’ÂÂÂÂÂËœÃÆ’Å’ MÃÆ’ŒÂ¶ÃÆ’ÂÂÂÂÂ’ÃÆ’ŒÂª ÃÆ’ŒÂ¸ÃÆ’Œâ€˜ÃÆ���ˆEÃÆ’ŒÂ´ÃÆ’ÂÂ��ÂÅ’ÃÆ’ŒÅ¾",
- "A̸ Ì·J̵S̵ ̸JÌ·E̸ MÃŒÃâ�������¬Å¡Ãƒâ€šÃ‚¶W̶NÃŒÃââ��¬Å¡Ãƒâ€šÃ‚¶ ̶A̸B̵N̸" ,
- ">ÃÆ’ŒÂ¶ÃÆ’ÂÂÂÂÂÂÂÂÂÂÂÃÆ’ŒÂ£!ÃÆ’ŒÂµÃÆ’Œâ€¦Ãĥ.ÃÆ’ŒÂ¸ÃÆ’ŒË†ÃÆ’ŒÂº2ÃÆ’ŒÂ¶ÃÆ’ ÃÆ’ŒÂ²pÃÆ’ŒÂ¶ÃÆ’Œâ€¡ÃÆ’ÂÂÂÂÂÂÂÂÂÂÂ1ÃÆ’ŒÂ·ÃÆ’ŒÂÂÂÂÂÂÃÆ’ŒÂ§*ÃÆ’ŒÂ·ÃÆ’ŒÅ½ÃÆ’Œâ„¢(ÃÆ’ŒÂ´Ãƒ‘ÃÆ’Ã…ââ���¬â„¢ &ÃÆ’ŒÂ·ÃÆ’ÂÂÂÂÂâ€Ãâ€��œÃÆ’ŒÂª#ÃÆ’ŒÂ´ÃÆ’ÂÂÂÂÂ’ÃÆ’ŒÅ¾@ÃÆ’ŒÂ´ÃÆ’Œâ€˜ÃÆ’ŒÅ“!ÃÆ’ŒÂ¸ÃÆ’ÂÂÂÂÂ’Ãĥ4ÃÆ’ŒÂ´ÃÆ’ŒÂÂÂÂÂÂÃÆ’ŒÂ«2ÃÆ’ŒÂµÃÆ’Œâ€ÂÂÂÂÂÉ4ÃÆ’ŒÂ´ÃÆ’ÂÂÂÂÂÃ… ÃÆ’ŒÂ«",
- }
- local function soundbork(obj)
- if obj:IsA("Sound") and obj.Name ~= "speak" and obj.Name ~= "spook3" and obj.Name ~= "spook" and obj.Name ~= "spook2" and obj.Name ~= "lock" and obj.Name ~= "laughy" and obj.Name ~= "skreem" and obj.Name ~= "strike" and obj.Name ~= "wattha" and obj.Name ~= "pow" then
- --obj.SoundId = "rbxassetid://1212564385"
- obj.Looped = false
- obj.Pitch = 1
- obj.Volume = 0
- return
- end
- local children = obj:GetChildren()
- for i = 1, #children do
- soundbork(children[i])
- end
- return
- end
- wait(1 / 60)
- Effects = { }
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Players = game:GetService("Players")
- Players.CharacterAutoLoads = false
- ws = 8
- Humanoid.WalkSpeed = ws
- local Mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local attacktype = 1
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local Create = LoadLibrary("RbxUtility").Create
- local mad = false
- local leftShoulder = Torso["Left Shoulder"]
- --[[RightLeg.Transparency = .001
- LeftLeg.Transparency = .001
- Head.Transparency = .001
- LeftArm.Transparency = .001
- RightArm.Transparency = .001
- Torso.Transparency = .001--]]
- Character.Humanoid.Name = "help"
- humanoid = Character.help
- red = "Crimson"
- targetted = nil
- Head.face.Texture = "rbxasset://textures/face.png"
- Instance.new("ForceField",Character).Visible = false
- hit = nil
- local m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel",
- }
- LeftArm.BrickColor = BrickColor.new("White")
- RightArm.BrickColor = BrickColor.new("White")
- RightLeg.BrickColor = BrickColor.new("White")
- LeftLeg.BrickColor = BrickColor.new("White")
- Head.BrickColor = BrickColor.new("White")
- Torso.BrickColor = BrickColor.new("White")
- for y,t in pairs(Character:GetChildren()) do
- if t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 1
- end
- end
- humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- local skillcolorscheme = BrickColor.new(Torso.Color).Color
- local scrn = Instance.new("ScreenGui", Player.PlayerGui)
- function makeframe(par, trans, pos, size, color)
- local frame = Instance.new("Frame", par)
- frame.BackgroundTransparency = .991
- frame.BorderSizePixel = 0
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- return frame
- end
- function makelabel(par, text)
- local label = Instance.new("TextLabel", par)
- label.BackgroundTransparency = 1
- label.Size = UDim2.new(5, 0, 5, 0)
- label.Position = UDim2.new(0, 0, 0, 0)
- label.TextColor3 = Color3.new(255, 255, 255)
- label.TextStrokeTransparency = 0
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.SourceSansLight
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- end
- souls = 0
- framesk1 = makeframe(scrn, 1, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- bar1 = makeframe(framesk1, 1, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- text1 = Instance.new("TextLabel", framesk1)
- text1.BackgroundTransparency = 1
- text1.Size = UDim2.new(1, 0, 1, 0)
- text1.Position = UDim2.new(0, 0, 0, 0)
- text1.TextColor3 = Color3.new(255, 255, 255)
- text1.TextStrokeTransparency = 0
- text1.FontSize = Enum.FontSize.Size24
- text1.BorderSizePixel = 0
- text1.TextScaled = false
- text1.Active = false
- text1.Draggable = false
- text1.Font = "Garamond"
- text1.Text = "Souls collected: " ..souls
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- if Size == Vector3.new() then
- Part.Size = Vector3.new(0.2, 0.2, 0.2)
- else
- Part.Size = Size
- end
- return Part
- end;
- };
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- Sound = {
- Create = function(id, par, vol, pit)
- local Sound = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = "rbxassetid://" .. id,
- Parent = par or workspace,
- }
- Sound:play()
- return Sound
- end;
- };
- Decal = {
- Create = function(Color, Texture, Transparency, Name, Parent)
- local Decal = Create("Decal"){
- Color3 = Color,
- Texture = "rbxassetid://" .. Texture,
- Transparency = Transparency,
- Name = Name,
- Parent = Parent,
- }
- return Decal
- end;
- };
- BillboardGui = {
- Create = function(Parent, Image, Position, Size)
- local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
- BillPar.CFrame = CFrame.new(Position)
- local Bill = Create("BillboardGui"){
- Parent = BillPar,
- Adornee = BillPar,
- Size = UDim2.new(1, 0, 1, 0),
- SizeOffset = Vector2.new(Size, Size),
- }
- local d = Create("ImageLabel", Bill){
- Parent = Bill,
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Image = "rbxassetid://" .. Image,
- }
- return BillPar
- end
- };
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local Particle = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return Particle
- end;
- };
- CreateTemplate = {
- };
- }
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function FindNearestTorso(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- if v:findFirstChild("Torso") then
- if v ~= Character then
- if (v.Torso.Position - Position).magnitude <= Distance then
- table.insert(List, v)
- end
- end
- end
- end
- end
- return List
- end
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- else
- h.Health = h.Health - (Damage / 2)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = RootPart.CFrame.lookVector * knockback * 2,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif Type == "Bleed" then
- coroutine.resume(coroutine.create(function()
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = RootPart.CFrame.lookVector * knockback * 2,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- ShowDamage((hit.Parent.Head.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "Bleeding!", .5, BrickColor.new(maincol).Color,BrickColor.new("Really black").Color)
- wait(.3)
- for i = 0, 9, 1 do
- wait(1)
- --CFuncs.Sound.Create(oofowmybones[math.random(#oofowmybones)], hit.Parent.Head, .3, 1)
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 1
- ShowDamage((hit.Parent.Head.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "-1", 1.5, BrickColor.new(maincol).Color,BrickColor.new("Really black").Color)
- end
- end))
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition"){
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Stagger" then
- local BodPos = Create("BodyPosition"){
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- local BodGy = Create("BodyGyro") {
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.Torso,
- CFrame = hit.Parent.Torso.CFrame,
- }
- ShowDamage((hit.Parent.Head.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "Staggered!", 1, BrickColor.new("New Yeller").Color,BrickColor.new("Really black").Color)
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- wait(.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, .8)
- game:GetService("Debris"):AddItem(BodGy, .8)
- end
- local debounce = Create("BoolValue"){
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true,
- }
- if Delay > 0 then
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Create("ObjectValue"){
- Name = "creator",
- Value = Player,
- Parent = h,
- }
- end
- game:GetService("Debris"):AddItem(c, .5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 60)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "Fantasy",
- TextColor3 = Color,
- TextScaled = true,
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- crosshair = Instance.new("BillboardGui",Character)
- crosshair.Size = UDim2.new(10,0,10,0)
- crosshair.Enabled = false
- crosshair.AlwaysOnTop = true
- imgl = Instance.new("ImageLabel",crosshair)
- imgl.Position = UDim2.new(0,0,0,0)
- imgl.Size = UDim2.new(1,0,1,0)
- imgl.Image = "rbxassetid://1165138836"
- imgl.BackgroundTransparency = 1
- imgl.ImageColor3 = Color3.new(1,0,0)
- function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = hit
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= Magnitude and c.Name ~= Player.Name then
- CFuncs.Sound.Create("324867021", head, 1, 1)
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
- end
- end
- end
- end
- end
- --[[Credit to CKBackup for his lock-on script.--]]
- function LockOn()
- if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- TargetSelect(Mouse.Target.Parent)
- print("Targeting")
- print(Mouse.Target.Parent)
- lock=CFuncs.Sound.Create("179647221", targetted.Torso, .3, .8)
- lock.Name = "lock"
- else end
- end
- function TargetSelect(person)
- local dd=coroutine.wrap(function()
- if targetted ~= person then
- targetted = person
- for i = 0,9,1 do
- wait(.01)
- crosshair.Size = UDim2.new(13-i,0,13-i,0)
- end
- end
- end)
- dd()
- end
- Handle1=CFuncs.Part.Create(m,Enum.Material.Grass,0,.000001,"Smoky grey","Handle1",Vector3.new(0.0718538612, 0.57483077, 0.43112269))
- Handle1Weld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.257038116, 0.589717865, 0.530781746, -0.254764616, 0.0992460549, 0.961896718, 0.966506541, 0.058013171, 0.249999866, -0.0309911743, 0.993370533, -0.11070168))
- meshy=CFuncs.Mesh.Create("SpecialMesh",Handle1,Enum.MeshType.FileMesh,"rbxassetid://63216455",Vector3.new(0, 0, 0),Vector3.new(1.43707716, 1.43707716, 1.43707716))
- Voodooeye1=CFuncs.Part.Create(m,Enum.Material.Neon,0,.001,"White","Voodooeye1",Vector3.new(0.114966214, 0.287415445, 0.287415236))
- Voodooeye1Weld=CFuncs.Weld.Create(m,Handle1,Voodooeye1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.249851227, -0.675312996, 0.143596649, -8.94069672e-08, -1, 5.96046448e-08, -8.94069672e-08, 3.5658946e-08, 1.00000012, -0.999999881, 6.57903172e-08, -5.96046448e-08))
- CFuncs.Mesh.Create("SpecialMesh",Voodooeye1,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.400000006, 0.300000012))
- Voodooeye2=CFuncs.Part.Create(m,Enum.Material.Neon,0,.001,"White","Voodooeye2",Vector3.new(0.114966214, 0.287415445, 0.287415236))
- Voodooeye2Weld=CFuncs.Weld.Create(m,Handle1,Voodooeye2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.249853134, -0.675312996, -0.151461601, -7.4505806e-08, -0.999999881, 5.96046448e-08, -8.94069672e-08, 3.5658946e-08, 1.00000012, -0.999999762, 6.57903101e-08, -5.96046448e-08))
- CFuncs.Mesh.Create("SpecialMesh",Voodooeye2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.400000006, 0.300000012))
- Handle2=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle2",Vector3.new(0.199999556, 0.200000003, 0.799999833))
- Handle2Weld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.136569977, 0.474960327, -0.374771118, -0.00580351055, 0.146951407, 0.989126921, -0.052100271, 0.987755537, -0.147053331, -0.99862504, -0.0523871481, 0.00192379951))
- fakehandle2=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle2",Vector3.new(0.199999556, 0.200000003, 0.799999833))
- fakehandle2Weld=CFuncs.Weld.Create(m,fakehandle2,Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.136569977, 0.474960327, -0.374771118, -0.00580351055, 0.146951407, 0.989126921, -0.052100271, 0.987755537, -0.147053331, -0.99862504, -0.0523871481, 0.00192379951))
- H1=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H1",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H1Weld=CFuncs.Weld.Create(m,fakehandle2,H1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319328308, 0.0348701477, -0.17480278, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H1,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H10=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H10",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H10Weld=CFuncs.Weld.Create(m,fakehandle2,H10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0309810638, -0.243400574, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H10,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.13333334))
- H11=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H11",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H11Weld=CFuncs.Weld.Create(m,fakehandle2,H11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0309810638, -0.312000275, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H11,"","",Vector3.new(0, 0, 0),Vector3.new(0.166666672, 0.300000012, 0.0333333351))
- H12=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H12",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H12Weld=CFuncs.Weld.Create(m,fakehandle2,H12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, -0.0309829712, -0.24339962, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H12,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.13333334))
- H13=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","H13",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H13Weld=CFuncs.Weld.Create(m,fakehandle2,H13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, 0.0348701477, -0.174803734, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H13,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H14=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H14",Vector3.new(0.823188484, 0.329275399, 0.823188484))
- H14Weld=CFuncs.Weld.Create(m,fakehandle2,H14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0593738556, -0.0858631134, 1.29982662, 0.984807849, -0.150384158, -0.0868241042, -0.150384068, -0.988605797, 0.00657919049, -0.0868242234, 0.00657771528, -0.996202052))
- CFuncs.Mesh.Create("SpecialMesh",H14,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.300000012, 0.366666675))
- H15=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H15",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H15Weld=CFuncs.Weld.Create(m,fakehandle2,H15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868148804, -0.0968399048, -0.17480278, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H15,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H16=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H16",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H16Weld=CFuncs.Weld.Create(m,fakehandle2,H16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319347382, 0.0348701477, 0.456313133, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H16,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H17=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H17",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H17Weld=CFuncs.Weld.Create(m,fakehandle2,H17,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, -0.0309829712, 0.511191368, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H17,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.100000001))
- H18=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H18",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H18Weld=CFuncs.Weld.Create(m,fakehandle2,H18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0309810638, 0.511191368, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H18,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.100000001))
- H19=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H19",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H19Weld=CFuncs.Weld.Create(m,fakehandle2,H19,CFrame.new(0, 0, 0, 1, .001, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593719482, 0.0348701477, 0.456314087, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H19,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H2=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H2",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H2Weld=CFuncs.Weld.Create(m,fakehandle2,H2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0309810638, 0.1407547, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H2,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.733333349))
- H20=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H20",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H20Weld=CFuncs.Weld.Create(m,fakehandle2,H20,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593719482, -0.0968379974, -0.17480278, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H20,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H21=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H21",Vector3.new(0.823188484, 0.329275399, 0.823188484))
- H21Weld=CFuncs.Weld.Create(m,fakehandle2,H21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.737314224, -0.0309829712, -0.0593719482, -0.0868242234, 0.00657771528, -0.996202052, -0.150384068, -0.988605797, 0.00657919049, -0.984807849, 0.150384158, 0.0868241042))
- CFuncs.Mesh.Create("BlockMesh",H21,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.633333325, 0.0333333351))
- H22=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H22",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H22Weld=CFuncs.Weld.Create(m,fakehandle2,H22,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868148804, -0.0968399048, 0.566068649, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("SpecialMesh",H22,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H23=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H23",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H23Weld=CFuncs.Weld.Create(m,fakehandle2,H23,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0868167877, -0.0348701477, 0.566067696, 0.984807849, -0.150384158, -0.0868241042, 0.150384068, 0.988605797, -0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("SpecialMesh",H23,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H24=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H24",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H24Weld=CFuncs.Weld.Create(m,fakehandle2,H24,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0968399048, 0.566069603, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("SpecialMesh",H24,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H25=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H25",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H25Weld=CFuncs.Weld.Create(m,fakehandle2,H25,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0968379974, 0.456313133, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H25,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H26=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H26",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H26Weld=CFuncs.Weld.Create(m,fakehandle2,H26,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319328308, -0.0968379974, 0.456313133, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H26,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H27=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H27",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H27Weld=CFuncs.Weld.Create(m,fakehandle2,H27,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868148804, -0.0309829712, 0.140755653, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H27,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.733333349))
- H28=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H28",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H28Weld=CFuncs.Weld.Create(m,fakehandle2,H28,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, 0.0348720551, 0.45631218, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H28,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H29=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"White","H29",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H29Weld=CFuncs.Weld.Create(m,fakehandle2,H29,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319366455, -0.0309810638, -0.174803734, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H29,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
- H3=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H3",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H3Weld=CFuncs.Weld.Create(m,fakehandle2,H3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0593738556, -0.0348701477, 0.566068649, 0.984807849, -0.150384158, -0.0868241042, 0.150384068, 0.988605797, -0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("SpecialMesh",H3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H30=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H30",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H30Weld=CFuncs.Weld.Create(m,fakehandle2,H30,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868148804, -0.0968379974, 0.45631218, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H30,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H31=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H31",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H31Weld=CFuncs.Weld.Create(m,fakehandle2,H31,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593719482, -0.0309810638, -0.17480278, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H31,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
- H32=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H32",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H32Weld=CFuncs.Weld.Create(m,fakehandle2,H32,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, 0.0348701477, -0.174803734, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H32,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H33=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H33",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H33Weld=CFuncs.Weld.Create(m,fakehandle2,H33,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, -0.0309810638, 0.566068649, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H33,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
- H34=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H34",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H34Weld=CFuncs.Weld.Create(m,fakehandle2,H34,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319328308, -0.0968379974, -0.174801826, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H34,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H35=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"White","H35",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H35Weld=CFuncs.Weld.Create(m,fakehandle2,H35,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319328308, -0.0309829712, 0.456313133, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H35,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
- H36=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H36",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H36Weld=CFuncs.Weld.Create(m,fakehandle2,H36,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319347382, -0.0968379974, 0.566068649, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("SpecialMesh",H36,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H37=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H37",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H37Weld=CFuncs.Weld.Create(m,fakehandle2,H37,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319328308, -0.0309810638, 0.140755653, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H37,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.733333349))
- H38=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H38",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H38Weld=CFuncs.Weld.Create(m,fakehandle2,H38,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0319347382, -0.0348701477, 0.566068649, 0.984807849, -0.150384158, -0.0868241042, 0.150384068, 0.988605797, -0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("SpecialMesh",H38,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
- H39=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H39",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H39Weld=CFuncs.Weld.Create(m,fakehandle2,H39,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0309810638, 0.456313133, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H39,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
- H4=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H4",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H4Weld=CFuncs.Weld.Create(m,fakehandle2,H4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593719482, -0.0309829712, 0.566069603, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H4,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
- H5=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H5",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H5Weld=CFuncs.Weld.Create(m,fakehandle2,H5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319347382, -0.0309810638, -0.24339962, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H5,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.13333334))
- H6=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H6",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H6Weld=CFuncs.Weld.Create(m,fakehandle2,H6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319347382, -0.0309810638, 0.511191368, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H6,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.100000001))
- H7=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H7",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H7Weld=CFuncs.Weld.Create(m,fakehandle2,H7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319347382, -0.0309810638, 0.566068649, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H7,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
- H8=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H8",Vector3.new(0.823188484, 0.329275399, 0.823188484))
- H8Weld=CFuncs.Weld.Create(m,fakehandle2,H8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.018409729, 1.29982758, -0.984807849, 0.150384158, 0.0868241042, 0.150384068, 0.988605797, -0.00657919049, -0.0868242234, 0.00657771528, -0.996202052))
- CFuncs.Mesh.Create("SpecialMesh",H8,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.333333343, 0.366666675))
- H9=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"White","H9",Vector3.new(0.823188484, 0.987826228, 0.823188484))
- H9Weld=CFuncs.Weld.Create(m,fakehandle2,H9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, -0.0309829712, -0.17480278, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
- CFuncs.Mesh.Create("BlockMesh",H9,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
- MatchHandle=CFuncs.Part.Create(m,Enum.Material.Wood,0,1,"Brick yellow","MatchHandle",Vector3.new(0.200000003, 1.2069068, 0.200000003))
- MatchHandleWeld=CFuncs.Weld.Create(m,Character["Left Arm"],MatchHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.183748245, 0.0853595734, -0.637422562, -0.0409919024, 0.417125523, -0.907922506, 0.879357815, 0.446499467, 0.165432349, 0.474392921, -0.791607499, -0.38510561))
- CFuncs.Mesh.Create("BlockMesh",MatchHandle,"","",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 0.400000006))
- efex=CFuncs.Part.Create(m,Enum.Material.Concrete,0,1,"Burgundy","efex",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
- efexWeld=CFuncs.Weld.Create(m,MatchHandle,efex,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-06, -0.74656105, 0, 0.866022825, -4.47034836e-08, 0.499998599, -6.33299351e-08, 0.999999881, 2.38418579e-07, -0.49999848, -3.7252903e-07, 0.866022825))
- MatchHead=CFuncs.Part.Create(m,Enum.Material.Concrete,0,1,"Burgundy","MatchHead",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- MatchHeadWeld=CFuncs.Weld.Create(m,MatchHandle,MatchHead,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000194549561, -0.700827599, 0.000228881836, 0.999998569, 2.23517418e-08, 0, 3.7252903e-08, 0.999999881, -2.98023224e-08, 5.96046448e-08, -2.98023224e-08, 0.999998569))
- CFuncs.Mesh.Create("BlockMesh",MatchHead,"","",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 0.400000006))
- meshy.TextureId = "rbxassetid://27688359"
- sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- sref.Anchored = true
- --Main Sounds--
- spook=CFuncs.Sound.Create("720316845", Handle2, .1, .5)
- spook.Looped=true
- spook.Pitch = .5
- spook.Name = "spook"
- Instance.new("ReverbSoundEffect", spook)
- spook2=CFuncs.Sound.Create("990088111", Character, .1, 1)
- spook2.Looped=true
- spook2.Pitch = .5
- spook2.Name = "spook2"
- spook3=CFuncs.Sound.Create("671095111", Character, .1, .3)
- spook3.Looped=true
- spook3.Pitch = .5
- spook3.Name = "spook3"
- Facemask=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Really black","Facemask",Vector3.new(0.100000903, 0.199999914, 0.0999996811))
- FacemaskWeld=CFuncs.Weld.Create(m,Character["Head"],Facemask,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0500009656, -0.10001123, 0.150001526, 0, 0, 1, 0, 1, 0, -1, 0, 0))
- function soundrefresh()
- spook:Destroy()
- spook2:Destroy()
- spook3:Destroy()
- spook=CFuncs.Sound.Create("720316845", Handle2, .1, .5)
- spook.Looped=true
- spook.Pitch = .5
- spook.Name = "spook"
- Instance.new("ReverbSoundEffect", spook)
- spook2=CFuncs.Sound.Create("990088111", Character, .1, 1)
- spook2.Looped=true
- spook2.Pitch = .5
- spook2.Name = "spook2"
- spook3=CFuncs.Sound.Create("671095111", Character, .1, .3)
- spook3.Looped=true
- spook3.Pitch = .5
- spook3.Name = "spook3"
- end
- EffectModel = Create("Model"){
- Parent = Character,
- Name = "Effects",
- }
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end;
- };
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Head = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Elect = {
- Create = function(cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("New Yeller"), "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 2)
- local xval = math.random() / 2
- local yval = math.random() / 2
- local zval = math.random() / 2
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- table.insert(Effects, {
- prt,
- "Elec",
- 0.1,
- x,
- y,
- z,
- xval,
- yval,
- zval
- })
- end;
- };
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end;
- };
- Fire = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Fire",
- delay,
- 1,
- 1,
- 1,
- msh
- })
- end;
- };
- FireWave = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local d = Create("Decal"){
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Top",
- }
- local d = Create("Decal"){
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Bottom",
- }
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "FireWave",
- 1,
- 30,
- math.random(400, 600) / 100,
- msh
- })
- end;
- };
- Lightning = {
- Create = function(p0, p1, tym, ofs, col, th, tra, last)
- local magz = (p0 - p1).magnitude
- local curpos = p0
- local trz = {
- -ofs,
- ofs
- }
- for i = 1, tym do
- local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
- local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
- li.Material = "Neon"
- if tym == i then
- local magz2 = (curpos - p1).magnitude
- li.Size = Vector3.new(th, th, magz2)
- li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- else
- do
- do
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
- curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
- game.Debris:AddItem(li, 10)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- end
- end
- end
- end
- end
- };
- EffectTemplate = {
- };
- }
- --Chat--
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Garamond"
- tecks2.FontSize = "Size18"
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(1,1,1)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local shk = coroutine.wrap(function()
- while tecks2 ~= nil do
- wait(.05)
- tecks2.Position = UDim2.new(0,math.random(-2,2),0,math.random(-2,2))
- end
- end)
- shk()
- for i = 1,string.len(text),1 do
- local speak = CFuncs.Sound.Create("265970978", Torso, 1, 1)
- speak.Name = "speak"
- tecks2.Text = string.sub(text,1,i)
- wait(0.05)
- end
- wait(2)
- for i = 1, 5 do
- wait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- Player.Chatted:connect(onChatted)
- local Ragdolls = {}
- function Tween(obj,props,time,easing,direction,repeats,backwards)
- local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
- local tween = game:service'TweenService':Create(obj, info, props)
- tween:Play()
- end
- function Ghost(who)
- table.insert(Ragdolls,who)
- end
- function KillGhosts()
- for _,v in next, Ragdolls do
- v:destroy''
- end
- Ragdolls = {}
- end
- function ragdollenemy()
- local rm = Create("Model"){
- Parent = Character,
- Name = "RagdollModel",
- }
- KillGhosts()
- targetted:FindFirstChild("Torso").CanCollide = false
- targetted:FindFirstChild("Head").CanCollide = false
- targetted:FindFirstChild("Left Arm").CanCollide = false
- targetted:FindFirstChild("Right Arm").CanCollide = false
- targetted:FindFirstChild("Right Leg").CanCollide = false
- targetted:FindFirstChild("Left Leg").CanCollide = false
- targetted:FindFirstChildOfClass("Humanoid"):Destroy()
- if Torso then
- targetted.Torso.Transparency = 1
- local sm00k = Instance.new("Smoke", targetted.Torso)
- sm00k.Opacity = .2
- sm00k.Color = Color3.new(0,0,0)
- sm00k.Size = 8
- local rHead = targetted:FindFirstChild("Head")
- bodpos2 = Instance.new("BodyPosition",targetted.Torso)
- bodpos2.P = 850
- bodpos2.D = 1000
- bodpos2.Position = rHead.Position
- bodpos2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- rHead.Parent = rm
- rHead.Transparency = 1
- rHead.CanCollide = false
- if rHead then
- local Neck = Instance.new("Weld")
- Neck.Name = "Neck"
- Neck.Part0 = targetted.Torso
- Neck.Part1 = rHead
- Neck.C0 = CFrame.new(0, 1.5, 0)
- Neck.C1 = CFrame.new()
- Neck.Parent = rm
- end
- local rLimb = targetted:FindFirstChild("Right Arm")
- rLimb.Parent = rm
- if rLimb then
- rLimb.Transparency = 1
- rLimb.CanCollide = false
- rLimb.CFrame = targetted.Torso.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightShoulder"
- Joint.Part0 = targetted.Torso
- Joint.Part1 = rLimb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = targetted.Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = targetted
- local W = Instance.new("Weld")
- W.Part0 = rLimb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = rLimb
- end
- local rLimb = targetted:FindFirstChild("Left Arm")
- rLimb.Parent = rm
- if rLimb then
- rLimb.Transparency = 1
- rLimb.CanCollide = false
- rLimb.CFrame = targetted.Torso.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = targetted.Torso
- Joint.Part1 = rLimb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = targetted.Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = targetted
- local W = Instance.new("Weld")
- W.Part0 = rLimb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = rLimb
- end
- local rLimb = targetted:FindFirstChild("Right Leg")
- rLimb.Parent = rm
- if rLimb then
- rLimb.Transparency = 1
- rLimb.CanCollide = false
- rLimb.CFrame = targetted.Torso.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightHip"
- Joint.Part0 = targetted.Torso
- Joint.Part1 = rLimb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = targetted.Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = targetted
- local W = Instance.new("Weld")
- W.Part0 = rLimb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = rLimb
- end
- local rLimb = targetted:FindFirstChild("Left Leg")
- rLimb.Parent = rm
- if rLimb then
- rLimb.Transparency = 1
- rLimb.CanCollide = false
- rLimb.CFrame = targetted.Torso.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftHip"
- Joint.Part0 = targetted.Torso
- Joint.Part1 = rLimb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = targetted.Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = targetted
- local W = Instance.new("Weld")
- W.Part0 = rLimb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = rLimb
- end
- --[
- local Bar = Instance.new("Part")
- Bar.TopSurface = 0
- Bar.BottomSurface = 0
- Bar.formFactor = "Symmetric"
- Bar.Size = Vector3.new(1, 1, 1)
- Bar.Transparency = 1
- Bar.CFrame = targetted.Torso.CFrame * CFrame.new(0, 0.5, 0)
- Bar.Parent = targetted
- local Weld = Instance.new("Weld")
- Weld.Part0 = targetted.Torso
- Weld.Part1 = Bar
- Weld.C0 = CFrame.new(0, 0.5, 0)
- Weld.Parent = targetted.Torso
- --]]
- local spooky=CFuncs.Sound.Create("94247729", targetted.Torso, .1, .5)
- spooky.Looped = true
- spooky.Pitch = .8
- spooky.Name = "spook"
- local con = targetted.Torso.Touched:connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= Character then
- Damage(Torso, hit, 20, 30, 0, "Normal", hit, 0.1, "94247873", .9)
- if hit.Parent:FindFirstChildOfClass("Humanoid").Health == 0 then
- targetted = nil
- end
- end end)
- targetted.Torso.Parent = rm
- Ghost(rm)
- end
- end
- function ragdollself()
- local rm = Create("Model"){
- Parent = Character,
- Name = "RagdollModel",
- }
- KillGhosts()
- Character:FindFirstChildOfClass("Humanoid"):Destroy()
- if Torso then
- local sm00k = Instance.new("Smoke", Torso)
- sm00k.Opacity = .2
- sm00k.Color = Color3.new(1,0,0)
- sm00k.Size = 8
- Torso.Transparency = 1
- local rHead = Character:FindFirstChild("Head")
- rHead.Parent = rm
- rHead.Transparency = 1
- rHead.CanCollide = false
- if rHead then
- local Neck = Instance.new("Weld")
- Neck.Name = "Neck"
- Neck.Part0 = Torso
- Neck.Part1 = rHead
- Neck.C0 = CFrame.new(0, 1.5, 0)
- Neck.C1 = CFrame.new()
- Neck.Parent = rm
- end
- local rLimb = Character:FindFirstChild("Right Arm")
- rLimb.Parent = rm
- if rLimb then
- rLimb.Transparency = 1
- rLimb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightShoulder"
- Joint.Part0 = Torso
- Joint.Part1 = rLimb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = rLimb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = rLimb
- end
- local rLimb = Character:FindFirstChild("Left Arm")
- rLimb.Parent = rm
- if rLimb then
- rLimb.Transparency = 1
- rLimb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = Torso
- Joint.Part1 = rLimb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = rLimb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = rLimb
- end
- local rLimb = Character:FindFirstChild("Right Leg")
- rLimb.Parent = rm
- if rLimb then
- rLimb.Transparency = 1
- rLimb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightHip"
- Joint.Part0 = Torso
- Joint.Part1 = rLimb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = rLimb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = rLimb
- end
- local rLimb = Character:FindFirstChild("Left Leg")
- rLimb.Parent = rm
- if rLimb then
- rLimb.Transparency = 1
- rLimb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftHip"
- Joint.Part0 = Torso
- Joint.Part1 = rLimb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = rLimb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = rLimb
- end
- --[
- local Bar = Instance.new("Part")
- Bar.TopSurface = 0
- Bar.BottomSurface = 0
- Bar.formFactor = "Symmetric"
- Bar.Size = Vector3.new(1, 1, 1)
- Bar.Transparency = 1
- Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
- Bar.Parent = Character
- local Weld = Instance.new("Weld")
- Weld.Part0 = Torso
- Weld.Part1 = Bar
- Weld.C0 = CFrame.new(0, 0.5, 0)
- Weld.Parent = Torso
- --]]
- local spooky=CFuncs.Sound.Create("530591527", Torso, 1, 1)
- spooky.Looped = true
- spooky.Pitch = 1
- spooky.Name = "spook"
- Torso.Parent = rm
- Ghost(rm)
- end
- end
- spawn(function()
- while true do
- swait()
- for _,rm in next, Ragdolls do
- for _,v in next, rm:children() do
- if(v:IsA'BasePart')then
- pcall(function()
- local trace = Instance.new(v.ClassName)
- trace.Parent = Character
- trace.Size = v.Size
- trace.Material = Enum.Material.Neon
- trace.Color = Color3.new(0,0,0)
- trace.Transparency = .3
- trace.Anchored = true
- trace.CanCollide = false
- trace.CFrame = v.CFrame
- Tween(trace,{Transparency=1},.5)
- game:GetService("Debris"):AddItem(trace, 1)
- if v.Name == "Head" then
- local mehs = Instance.new("CylinderMesh",trace)
- mehs.Scale = Vector3.new(1.25,1.25,1.25)
- end
- end)
- end
- end
- end
- end
- end)
- function burnragdollenemy()
- targetted:FindFirstChildOfClass("Humanoid").Parent = nil
- game:GetService("Debris"):AddItem(targetted, 10)
- if Torso then
- game:GetService("Debris"):AddItem(PE2, 10)
- local Head = targetted:FindFirstChild("Head")
- if Head then
- local Neck = Instance.new("Weld")
- Neck.Name = "Neck"
- Neck.Part0 = targetted.Torso
- Neck.Part1 = Head
- Neck.C0 = CFrame.new(0, 1.5, 0)
- Neck.C1 = CFrame.new()
- Neck.Parent = targetted.Torso
- end
- local Limb = targetted:FindFirstChild("Right Arm")
- if Limb then
- Limb.CFrame = targetted.Torso.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightShoulder"
- Joint.Part0 = targetted.Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = targetted.Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = targetted
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = targetted:FindFirstChild("Left Arm")
- if Limb then
- Limb.CFrame = targetted.Torso.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = targetted.Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = targetted.Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = targetted
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = targetted:FindFirstChild("Right Leg")
- if Limb then
- Limb.CFrame = targetted.Torso.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightHip"
- Joint.Part0 = targetted.Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = targetted.Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = targetted
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = targetted:FindFirstChild("Left Leg")
- if Limb then
- Limb.CFrame = targetted.Torso.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftHip"
- Joint.Part0 = targetted.Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = targetted.Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = targetted
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- --[
- local Bar = Instance.new("Part")
- Bar.TopSurface = 0
- Bar.BottomSurface = 0
- Bar.formFactor = "Symmetric"
- Bar.Size = Vector3.new(1, 1, 1)
- Bar.Transparency = 1
- Bar.CFrame = targetted.Torso.CFrame * CFrame.new(0, 0.5, 0)
- Bar.Parent = targetted
- local Weld = Instance.new("Weld")
- Weld.Part0 = targetted.Torso
- Weld.Part1 = Bar
- Weld.C0 = CFrame.new(0, 0.5, 0)
- Weld.Parent = targetted.Torso
- --]]
- end
- end
- function burnthem()
- Humanoid.WalkSpeed = 0
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.863071084, 0.037429601, -0.671211839, 0.82317239, 0.163175449, -0.543839157, -0.511009216, 0.630423009, -0.584325612, 0.24750112, 0.758907497, 0.602330983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.52372348, 0.0687570125, 0.110776901, 0.88543123, 0.0834808722, 0.457211822, -0.0599410161, 0.996032119, -0.0657813028, -0.460889131, 0.0308390725, 0.886921763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500000358, -1.9999969, 7.4505806e-08, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500003219, -1.9999969, 8.49366188e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- MatchHandle.Transparency = 0
- MatchHead.Transparency = 0
- local strike = CFuncs.Sound.Create("261841453", targetted, 1, 1)
- strike.Name = "strike"
- local PE1 = Instance.new("ParticleEmitter",efex)
- PE1.LightEmission = NumberSequence.new(0.2)
- PE1.Size = NumberSequence.new(.2)
- PE1.Texture = "http://www.roblox.com/asset/?id=242461088"
- PE1.Lifetime = NumberRange.new(.75)
- PE1.Rate = 50.000
- PE1.Transparency = NumberSequence.new(0.2)
- PE1.LightEmission = NumberSequence.new(1)
- PE1.Rotation = NumberRange.new(0)
- PE1.Speed = NumberRange.new(.1)
- PE1.RotSpeed = NumberRange.new(0)
- PE1.ZOffset = .2
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.863075495, 0.0374291539, -0.671212196, 0.82317239, 0.163175449, -0.543839157, -0.511009216, 0.630423009, -0.584325612, 0.24750112, 0.758907497, 0.602330983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.14803481, 0.107736275, 0.532279968, 0.967316866, -0.244378552, 0.0676561743, 0.150543988, 0.768174708, 0.622289479, -0.204045966, -0.591765761, 0.779858112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500000179, -1.9999969, 5.21540642e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500000477, -1.9999969, -1.78813934e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- local wattha=CFuncs.Sound.Create("239443642", targetted.Torso, 1, 1)
- wattha.Name = "wattha"
- skreem = CFuncs.Sound.Create("147758746", targetted.Torso, .8, 1)
- skreem.Name = "skreem"
- local PE2 = Instance.new("ParticleEmitter",targetted.Torso)
- PE2.LightEmission = NumberSequence.new(0.2)
- PE2.Size = NumberSequence.new(3)
- PE2.Texture = "http://www.roblox.com/asset/?id=242461088"
- PE2.Lifetime = NumberRange.new(.75)
- PE2.Rate = 50.000
- PE2.Transparency = NumberSequence.new(0.2)
- PE2.LightEmission = NumberSequence.new(1)
- PE2.Rotation = NumberRange.new(0)
- PE2.Speed = NumberRange.new(.1)
- PE2.RotSpeed = NumberRange.new(0)
- PE2.ZOffset = .2
- SoulSteal()
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.596077204, 0.822730899, -0.847055137, -0.439862877, -0.890815496, 0.113878824, 0.881083786, -0.40351975, 0.246704638, -0.173815951, 0.208853006, 0.962376475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.799236, 0.0252398103, -0.444895387, 0.468589991, -0.644656956, 0.604020596, 0.838784993, 0.539245546, -0.0751925781, -0.277242005, 0.541877925, 0.793413758) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- targetted:FindFirstChildOfClass("Humanoid").Health = 0
- wait(.01)
- burnragdollenemy()
- MatchHandle.Transparency = 1
- MatchHead.Transparency = 1
- PE1:Destroy()
- targetted = nil
- attack = false
- Humanoid.WalkSpeed = ws
- end
- function vood()
- attack = true
- humanoid.WalkSpeed = 0
- for i = 0, 1, 0.1 do
- swait()
- fakehandle2Weld.C0 = clerp(fakehandle2Weld.C0, CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(180), math.rad(-90), math.rad(0)), 1)
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.55196524, 1.19630826, 0.2391451, -0.773338616, 0.192630485, 0.604020596, -0.295925856, -0.952246606, -0.0751947463, 0.560691774, -0.236896321, 0.79341346) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- ded = math.random(1,1)
- pow = CFuncs.Sound.Create("982278034", targetted.Torso, 1, 1)
- pow.Name = "pow"
- for i = 0, 1, 0.1 do
- swait()
- stuf = CFuncs.Part.Create(workspace, "Fabric", .1, .1, BrickColor.new("White"), "stuf", Vector3.new(.1,.1,.1))
- stuf.Anchored = false
- stuf.CanCollide = true
- stuf.Position = Handle1.Position
- game:GetService("Debris"):AddItem(stuf, 1)
- blud = CFuncs.Part.Create(workspace, "Neon", .1, .1, BrickColor.new("Crimson"), "blud", Vector3.new(.1,.1,.1))
- blud.Anchored = false
- blud.CanCollide = true
- blud.Position = targetted.Torso.Position
- game:GetService("Debris"):AddItem(blud, 3)
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.596077204, 0.822730899, -0.847055137, -0.439862877, -0.890815496, 0.113878824, 0.881083786, -0.40351975, 0.246704638, -0.173815951, 0.208853006, 0.962376475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- SoulSteal()
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.55196524, 1.19630826, 0.2391451, -0.773338616, 0.192630485, 0.604020596, -0.295925856, -0.952246606, -0.0751947463, 0.560691774, -0.236896321, 0.79341346) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- targetted:FindFirstChildOfClass("Humanoid").Health = 0
- wait(.01)
- ragdollenemy()
- humanoid.WalkSpeed = ws
- targetted = nil
- attack = false
- end
- function madvood()
- attack = true
- humanoid.WalkSpeed = 0
- targetted:FindFirstChildOfClass("Humanoid").MaxHealth = 100
- for i = 0, 3, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),
- CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)),
- CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)),
- CFrame.new(-1.55196524, 1.19630826, 0.2391451, -0.773338616, 0.192630485, 0.604020596, -0.295925856, -0.952246606, -0.0751947463, 0.560691774, -0.236896321, 0.79341346) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- fakehandle2Weld.C0 = clerp(fakehandle2Weld.C0, CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(180), math.rad(-90), math.rad(0)), 1)
- end
- spook.Pitch = 1.1
- dis2 = Instance.new("ChorusSoundEffect", spook)
- dis2.Depth = .7
- for i = 0, 2, 1 do
- pow = CFuncs.Sound.Create("429400881", targetted.Torso, .5, 1)
- pow.Name = "pow"
- targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health/2
- spook.TimePosition = spook.TimePosition - 1
- for i = 0, 1, 0.1 do
- swait()
- local smonk = Instance.new("ParticleEmitter",targetted.Torso)
- smonk.LightEmission = .1
- smonk.Size = NumberSequence.new(0.2)
- smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- smonk.Transparency = bbb
- smonk.Size = aaa
- smonk.ZOffset = 1
- smonk.Acceleration = Vector3.new(0,0, 0)
- smonk.LockedToPart = false
- smonk.EmissionDirection = "Back"
- smonk.Lifetime = NumberRange.new(.2, .3)
- smonk.Rate = 10
- smonk.Rotation = NumberRange.new(-10, 10)
- smonk.RotSpeed = NumberRange.new(-10, 10)
- smonk.Speed = NumberRange.new(5)
- smonk.VelocitySpread = 100
- smonk.Enabled=true
- game:GetService("Debris"):AddItem(smonk, .5)
- game:GetService("Debris"):AddItem(blud, 3)
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)),
- CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.596077204, 0.822730899, -0.847055137, -0.439862877, -0.890815496, 0.113878824, 0.881083786, -0.40351975, 0.246704638, -0.173815951, 0.208853006, 0.962376475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)),
- CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.55196524, 1.19630826, 0.2391451, -0.773338616, 0.192630485, 0.604020596, -0.295925856, -0.952246606, -0.0751947463, 0.560691774, -0.236896321, 0.79341346) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- end
- SoulSteal()
- targetted:FindFirstChildOfClass("Humanoid").Health = 0
- wait(.01)
- ragdollenemy()
- humanoid.WalkSpeed = ws
- targetted = nil
- attack = false
- dis2.Enabled = false
- spook.Pitch = .5
- end
- function minenow()
- attack = true
- humanoid.WalkSpeed = 0
- for i = 0, 2, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0, -0, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.49998999, 0, 0.939692736, 0, 0.342019916, 0, 1, 0, -0.342019886, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.846437991, 0.0426445305, -0.774509072, 0.719846129, 0.69410944, -0.00581353903, -0.642788053, 0.663413763, -0.383021921, -0.262002319, 0.279453695, 0.923721075) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.5032959, 0.424854994, -1.00595379, 1, 2.98023224e-08, -0, 0, 0, -1, 2.98023224e-08, 1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.469847649, -1.99999297, -0.17100963, 0.984807789, 0, -0.173648685, 0, 1, 0, 0.173648715, 0, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.53245151, -1.99999297, -0.000996470451, 0.939692736, 0, 0.342019916, 0, 1, 0, -0.342019886, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- SoulSteal()
- local zap = CFuncs.Sound.Create("1135476193", targetted.Torso, 1, .9)
- zap.Name = "spook"
- local zap = CFuncs.Sound.Create("177359995", Torso, .5, .9)
- zap.Name = "spook"
- local pow = CFuncs.Sound.Create("429400881", targetted.Torso, 1, 1)
- pow.Name = "spook"
- targetted:FindFirstChildOfClass("Humanoid").Health = 0
- local smonk2 = Instance.new("ParticleEmitter",targetted.Torso)
- smonk2.LightEmission = .1
- smonk2.Size = NumberSequence.new(0.2)
- smonk2.Texture = "http://www.roblox.com/asset/?ID=122022304"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- smonk2.Transparency = bbb
- smonk2.Size = aaa
- smonk2.ZOffset = 1
- smonk2.Acceleration = Vector3.new(0,0, 0)
- smonk2.LockedToPart = false
- smonk2.EmissionDirection = "Back"
- smonk2.Lifetime = NumberRange.new(.2, .3)
- smonk2.Rate = 10
- smonk2.Rotation = NumberRange.new(-10, 10)
- smonk2.RotSpeed = NumberRange.new(-10, 10)
- smonk2.Speed = NumberRange.new(5)
- smonk2.VelocitySpread = 100
- smonk2.Enabled=true
- game:GetService("Debris"):AddItem(smonk2, 2)
- local smonk = Instance.new("ParticleEmitter",targetted.Torso)
- smonk.LightEmission = .5
- smonk.Size = NumberSequence.new(0.2)
- smonk.Texture = "http://www.roblox.com/asset/?ID=137243001"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- smonk.Transparency = bbb
- smonk.Size = aaa
- smonk.ZOffset = 1
- smonk.Acceleration = Vector3.new(0,0, 0)
- smonk.LockedToPart = false
- smonk.EmissionDirection = "Back"
- smonk.Lifetime = NumberRange.new(.2, .3)
- smonk.Rate = 10
- smonk.Rotation = NumberRange.new(-10, 10)
- smonk.RotSpeed = NumberRange.new(-10, 10)
- smonk.Speed = NumberRange.new(5)
- smonk.VelocitySpread = 100
- smonk.Enabled=true
- game:GetService("Debris"):AddItem(smonk, 2)
- bodpos = Instance.new("BodyPosition",targetted.Torso)
- bodpos.D = 1000
- bodpos.Position = targetted.Torso.Position
- wait(.01)
- ragdollenemy()
- targetted = nil
- for i = 0, 3, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, 0, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.49998999, 0, 0.939692736, 0, -0.342019916, 0, 1, 0, 0.342019886, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.864185929, -0.407940805, -0.379718959, 0.719846129, 0.450618565, -0.527981699, -0.642788053, 0.71984607, -0.262002498, 0.262002319, 0.527981758, 0.807830513) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.1422416, 0.424854994, -0.977448702, 0.766044796, -0.642787218, 0, 0, 0, -1, 0.642787218, 0.766044855, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.469847172, -1.99999297, 0.171010986, 0.642787755, 0, -0.766044497, 0, 1, 0, 0.766044497, 0, 0.642787755) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.407241195, -1.99999297, -0.343016356, 0.939692736, 0, -0.342019916, 0, 1, 0, 0.342019886, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- bodpos.Position = Torso.Position
- end
- KillGhosts()
- zap:Destroy()
- if mad == false then
- Head.face.Texture = "rbxasset://textures/face.png"
- end
- bodpos:Destroy()
- attack = false
- humanoid.WalkSpeed = ws
- end
- function selfvood()
- attack = true
- humanoid.WalkSpeed = 0
- for i = 0, 3, 0.1 do
- swait()
- fakehandle2Weld.C0 = clerp(fakehandle2Weld.C0, CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(180), math.rad(-90), math.rad(0)), 1)
- PlayAnimationFromTable({
- CFrame.new(-0, -1.06227326, -0.0901979208, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.496984, -0.0755676329, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),
- CFrame.new(1.50000381, -0.180755094, -0.579459548, -0, 0, -1, -0.499997973, 0.8660267, 0, 0.8660267, 0.499997914, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.27641273, 0.51513654, -1.0454185, -0.984807253, -0.173651338, -6.02125851e-07, 0.0301534254, -0.171008766, 0.984808028, -0.171013325, 0.96984601, 0.173646823) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.59199977, 0.40675956, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.6275661, 0.325588763, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- spook:Pause()
- spook2:Pause()
- spook3:Pause()
- Head.face.Texture = "http://www.roblox.com/asset/?id=176777497"
- local spook = CFuncs.Sound.Create("642753669", Character, 1, 1)
- local pow = CFuncs.Sound.Create("429400881", Torso, 1, 1)
- local smonk = Instance.new("ParticleEmitter",Torso)
- smonk.LightEmission = .1
- smonk.Size = NumberSequence.new(0.2)
- smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- smonk.Transparency = bbb
- smonk.Size = aaa
- smonk.ZOffset = 1
- smonk.Acceleration = Vector3.new(0,0, 0)
- smonk.LockedToPart = false
- smonk.EmissionDirection = "Back"
- smonk.Lifetime = NumberRange.new(.2, .3)
- smonk.Rate = 10
- smonk.Rotation = NumberRange.new(-10, 10)
- smonk.RotSpeed = NumberRange.new(-10, 10)
- smonk.Speed = NumberRange.new(5)
- smonk.VelocitySpread = 100
- smonk.Enabled=true
- game:GetService("Debris"):AddItem(smonk, .8)
- for i = 0, 3, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -1.06227326, -0.0901979208, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)),
- CFrame.new(1.50000381, -0.180755094, -0.579459548, -0, 0, -1, -0.499997973, 0.8660267, 0, 0.8660267, 0.499997914, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1)),
- CFrame.new(-0.568172455, 0.515136659, -1.04541838, 0, -1, 0, 0.17364718, 0, 0.984807909, -0.984807909, 0, 0.17364715) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1)),
- CFrame.new(0.5, -1.59199977, 0.40675956, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.6275661, 0.325588763, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- spook.TimePosition = 23
- end
- local smonk = Instance.new("ParticleEmitter",Torso)
- smonk.LightEmission = .1
- smonk.Size = NumberSequence.new(0.2)
- smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- smonk.Transparency = bbb
- smonk.Size = aaa
- smonk.ZOffset = 1
- smonk.Acceleration = Vector3.new(0,0, 0)
- smonk.LockedToPart = false
- smonk.EmissionDirection = "Back"
- smonk.Lifetime = NumberRange.new(.2, .3)
- smonk.Rate = 10
- smonk.Rotation = NumberRange.new(-10, 10)
- smonk.RotSpeed = NumberRange.new(-10, 10)
- smonk.Speed = NumberRange.new(5)
- smonk.VelocitySpread = 100
- smonk.Enabled=true
- game:GetService("Debris"):AddItem(smonk, .8)
- chatfunc(beg[math.random(#beg)])
- for i = 0, 12, 1 do
- spook.Pitch = 1
- for i = 0, .6, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -1.06227326, -0.0901979208, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)),
- CFrame.new(1.50000381, -0.180755094, -0.579459548, -0, 0, -1, -0.499997973, 0.8660267, 0, 0.8660267, 0.499997914, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)),
- CFrame.new(-1.45222509, 0.532710016, -1.14508247, -0.984807849, 0.173648134, 3.13053391e-07, -0.0301533286, -0.171009853, 0.984807849, 0.171010122, 0.969846427, 0.173647866) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)),
- CFrame.new(0.5, -1.59199977, 0.40675956, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.6275661, 0.325588763, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- local pow = CFuncs.Sound.Create("429400881", Torso, 1, 1)
- Head.face.Texture = "http://www.roblox.com/asset/?id=176777497"
- local smonk = Instance.new("ParticleEmitter",Torso)
- smonk.LightEmission = .1
- smonk.Size = NumberSequence.new(0.2)
- smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- smonk.Transparency = bbb
- smonk.Size = aaa
- smonk.ZOffset = 1
- smonk.Acceleration = Vector3.new(0,0, 0)
- smonk.LockedToPart = false
- smonk.EmissionDirection = "Back"
- smonk.Lifetime = NumberRange.new(.2, .3)
- smonk.Rate = 10
- smonk.Rotation = NumberRange.new(-10, 10)
- smonk.RotSpeed = NumberRange.new(-10, 10)
- smonk.Speed = NumberRange.new(5)
- smonk.VelocitySpread = 100
- smonk.Enabled=true
- game:GetService("Debris"):AddItem(smonk, .8)
- spook.Pitch = .8
- for i = 0, .6, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -1.06227326, -0.0901979208, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)),
- CFrame.new(1.50000381, -0.180755094, -0.579459548, -0, 0, -1, -0.499997973, 0.8660267, 0, 0.8660267, 0.499997914, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1)),
- CFrame.new(-0.568172455, 0.515136659, -1.04541838, 0, -1, 0, 0.17364718, 0, 0.984807909, -0.984807909, 0, 0.17364715) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1)),
- CFrame.new(0.5, -1.59199977, 0.40675956, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.6275661, 0.325588763, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- spook.TimePosition = 23
- end
- end
- for i = 0, 13, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -2.40031433, -1.12047958, 1, 0, 0, 0, 0, 1, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),
- CFrame.new(0.135637388, 1.25514591, -0.148081794, 0.808915854, 0.586822987, -0.0359715298, -0.587052941, 0.802873313, -0.103746079, -0.0319999978, 0.10503903, 0.993953228) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .3 * math.cos(sine/1), 0 + .1 * math.cos(sine/2), 0 + .2 * math.cos(sine/2)),
- CFrame.new(1.50000381, 1.09464121, -0.179402828, 0, 0, -1, 0, -1, 0, -1, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)),
- CFrame.new(-1.63862431, 1.42091811, 0.0412508622, -0.984807849, 0.171009973, 0.0301539823, -0.171009988, -0.985265851, 0.00259810337, 0.0301539954, -0.00259799929, 0.999541879) * CFrame.new(0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1), 0 + .1 * math.cos(sine/1)) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)),
- CFrame.new(0.5, -1.9570061, -0.0188293457, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .1 * math.cos(sine/2), 0 + .2 * math.cos(sine/2)),
- CFrame.new(-0.965170562, -1.72358632, -0.0800125599, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/2), 0 + .1 * math.cos(sine/2)),
- }, .3, false)
- end
- Humanoid.Health=0
- attack = false
- end
- Mouse.Button1Down:connect(function()
- if attack == false and targetted ~= nil and targetted.Name ~= "SezHu" and mad == false then
- vood()
- elseif attack == false and targetted ~= nil and targetted.Name == "SezHu" then
- selfvood()
- elseif attack == false and targetted ~= nil and targetted.Name ~= "SezHu" and mad == true then
- madvood()
- end
- end)
- function shadestep()
- attack = true
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- Humanoid.AutoRotate = false
- local portal = Instance.new("Part",Torso)
- portal.Size = Vector3.new(7,8,3.5)
- portal.CanCollide = false
- portal.Anchored = true
- portal.Material = "Glass"
- portal.CFrame = RootPart.CFrame * CFrame.new(-6,0,0)
- portal.BrickColor = BrickColor.new("Earth green")
- portal.Transparency = .9999999
- targetted.Torso.Anchored = true
- zap = CFuncs.Sound.Create("1135476193", Torso, .5, .9)
- zap.Name = "spook"
- local smonk = Instance.new("ParticleEmitter",portal)
- smonk.LightEmission = .1
- smonk.Size = NumberSequence.new(0.2)
- smonk.Texture = "http://www.roblox.com/asset/?ID=137243001"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 1)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- smonk.Transparency = bbb
- smonk.Size = aaa
- smonk.ZOffset = 1
- smonk.Acceleration = Vector3.new(0,0, 0)
- smonk.LockedToPart = false
- smonk.EmissionDirection = "Back"
- smonk.Lifetime = NumberRange.new(.2, .3)
- smonk.Rate = 100
- smonk.Rotation = NumberRange.new(-10, 10)
- smonk.RotSpeed = NumberRange.new(-10, 10)
- smonk.Speed = NumberRange.new(5)
- smonk.VelocitySpread = 100
- smonk.Enabled=true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(3.42726707e-07, 1.49998903, 9.53674316e-07, 0.939692736, -0.0593911372, 0.336823851, 0, 0.984807849, 0.173648164, -0.342019916, -0.163175926, 0.925416648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.931666315, -0.0946135819, -0.746298254, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.49999905, 0, -0, 1, 0, -0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.99999368, -5.36441803e-07, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.720551491, -1.48057103, -0.248975754, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- RightLeg.Transparency = .001
- LeftLeg.Transparency = .001
- Head.Transparency = .001
- LeftArm.Transparency = .001
- RightArm.Transparency = .001
- Torso.Transparency = .001
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-5.22641468, -0.00028098881, 0.000417715404, 1.00001502, -4.24588279e-06, -1.15687726e-09, -4.24588279e-06, 1.00000072, 2.03726813e-10, -1.15687726e-09, 2.03726813e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.23381615e-05, 1.50001132, 3.1888485e-06, 0.866936922, -0.059389241, 0.494882226, -0.0301606432, 0.984807909, 0.171010628, -0.497516185, -0.163180113, 0.851968348) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.526583731, -0.0394355357, -0.714433908, 0.500005841, 0.866030812, 1.66532845e-06, -0.750003815, 0.43301329, -0.499994576, -0.433007985, 0.249996915, 0.866028786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.5000447, 4.98362851e-06, -9.59282715e-08, 0.984814703, 0.173652425, -2.29182479e-06, -0.163184389, 0.925419688, -0.342009157, -0.0593881272, 0.33681336, 0.939696729) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.848292768, -1.88091469, -0.0433515906, 0.93969965, -0.342022836, -2.45875708e-06, 0.321391046, 0.883024156, 0.342018813, -0.116975173, -0.321393222, 0.939693213) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.710637033, -1.42431033, -0.40600121, 0.9848153, 0.171010852, 0.0301539209, -0.173651934, 0.969846129, 0.171009913, -1.1019074e-07, -0.173648119, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,5)
- portal.CFrame = RootPart.CFrame * CFrame.new(-6,0,0)
- zap = CFuncs.Sound.Create("177359995", Torso, .5, .9)
- zap.Name = "spook"
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-3.96769428, -0.000213317384, 0.000316624471, 1.00001502, -4.24588279e-06, -1.15687726e-09, -4.24588279e-06, 1.00000072, 2.03726813e-10, -1.15687726e-09, 2.03726813e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.32024288e-05, 1.50001109, 1.22189522e-06, 0.862049878, -0.0593847744, -0.503347397, 0.133013517, 0.984808683, 0.111624479, 0.48906824, -0.163176596, 0.856846392) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.18375278, -0.0413921922, -0.538647294, 0.939700425, 0.34202072, 3.87117325e-06, -0.29619953, 0.813800216, -0.499996006, -0.171010777, 0.469841599, 0.866027951) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.932069957, -0.103391632, -0.719776034, 0.866033554, -0.500000954, -1.84038799e-06, 0.469841331, 0.813804984, -0.342011005, 0.171005979, 0.296189845, 0.939696014) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.951902509, -1.61429334, -0.140393496, 0.984815419, -0.173648387, -2.52752943e-06, 0.163171723, 0.925418317, 0.342018664, -0.0593881905, -0.336822987, 0.939693272) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.7694332, -1.75775802, -0.34629786, 0.9848153, 0.173648983, 1.36140443e-07, -0.173651934, 0.984807491, 1.44253136e-07, -1.1019074e-07, -1.65717211e-07, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(3.42726707e-07, 1.49998903, 9.53674316e-07, 0.939692736, -0.0593911372, 0.336823851, 0, 0.984807849, 0.173648164, -0.342019916, -0.163175926, 0.925416648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.931666315, -0.0946135819, -0.746298254, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.49999905, 0, -0, 1, 0, -0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.99999368, -5.36441803e-07, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.720551491, -1.48057103, -0.248975754, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- portal:Destroy()
- RightLeg.Transparency = 0
- LeftLeg.Transparency = 0
- Head.Transparency = 0
- LeftArm.Transparency = 0
- RightArm.Transparency = 0
- Torso.Transparency = 0
- Humanoid.WalkSpeed = ws
- Humanoid.JumpPower = 60
- Humanoid.AutoRotate = true
- attack = false
- targetted.Torso.Anchored = false
- end
- function SoulSteal(pos)
- local soulst = coroutine.wrap(function()
- local soul = Instance.new("Part",targetted)
- soul.Size = Vector3.new(.2,.2,.2)
- soul.CanCollide = false
- soul.Anchored = false
- soul.BrickColor = BrickColor.new("Really red")
- soul.Position = targetted.Torso.Position
- soul.Transparency = 1
- local bodpos = Instance.new("BodyPosition",soul)
- bodpos.Position = targetted.Torso.Position
- local col = targetted.Torso.Color
- game:GetService("Debris"):AddItem(soul, 20)
- wait(2)
- soul.Touched:connect(function(hit)
- if hit.Parent == Character then
- Effects.Block.Create(BrickColor.new(col), Torso.CFrame, .2, .2, .2, .2, .2, .2, .01, 1)
- soul:Destroy()
- humanoid.WalkSpeed = humanoid.WalkSpeed + souls
- frameincrease = frameincrease + souls
- ws = ws + souls
- souls = souls + 1
- --chatfunc("In the forest, dark and deep, I offer you, eternal sleep..")
- end
- end)
- while soul do
- swait()
- bodpos.Position = Torso.Position
- end
- end)
- soulst()
- end
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == 'q' and attack == false then
- LockOn()
- elseif k == 'e' and attack == false and targetted ~= nil then
- burnthem()
- elseif k == 't' and attack == false and targetted ~= nil then
- minenow()
- elseif k == 'g' and mad == false then
- soundrefresh()
- elseif k == 'f' and attack == false and souls >= 5 and mad == false then
- mad = true
- spook.Pitch = .5
- spook.Volume = .5
- local dis2 = Instance.new("ChorusSoundEffect", spook)
- dis2.Depth = .7
- spook2:Pause()
- spook2=CFuncs.Sound.Create("1285581251", Torso, 1, .5)
- spook2.Name = "spook2"
- spook2.Looped = true
- spook3:Pause()
- zap = CFuncs.Sound.Create("223103466", Character, .005, .5)
- zap.Name = "spook"
- zap.Looped = true
- Head.face.Texture = "http://www.roblox.com/asset/?id=176777497"
- local l = Instance.new("PointLight",Torso)
- l.Range = 10
- l.Brightness = 1
- l.Color = Color3.new(1,0,0)
- elseif k == 'r' and attack == false and targetted ~= nil then
- shadestep()
- end
- end)
- punished = false
- Humanoid.Died:connect(function()
- local bodposs = Instance.new("BodyPosition",Torso)
- bodposs.P = 1500
- bodposs.D = 500
- bodposs.Position = Torso.Position
- bodposs.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local con = Torso.Touched:connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= Character then
- hit:BreakJoints()
- end
- end)
- ragdollself()
- punished = true
- if punished == true then
- while true do
- for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10000)) do
- if v:FindFirstChild('Torso') then
- if v:FindFirstChildOfClass("Humanoid").Health > 0 then
- i = v
- bodposs.Position = i.Torso.Position
- end
- end
- end
- wait(.1)
- end
- end
- for v,i in pairs(game.Players:GetChildren()) do
- end
- end)
- while true do
- text1.Text = "Souls collected: " ..souls
- swait()
- sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392e-007, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif Torsovelocity < 1 and hit ~= nil and mad == false then
- Anim = "Idle"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .02 * math.cos(sine/1), 0 + .02 * math.cos(sine/1), 0 + .02 * math.cos(sine/1)),
- CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.799236, 0.0252398103, -0.444895387, 0.468589991, -0.644656956, 0.604020596, 0.838784993, 0.539245546, -0.0751925781, -0.277242005, 0.541877925, 0.793413758) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0 - .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0 - .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- fakehandle2Weld.C0 = clerp(fakehandle2Weld.C0, CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(180), math.rad(-90), math.rad(0)), 1)
- end
- elseif Torsovelocity < 1 and hit ~= nil and mad == true then
- Anim = "Idle"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)),
- CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .01 * math.cos(sine/1), 0 + .01 * math.cos(sine/1), 0 + .01 * math.cos(sine/1)),
- CFrame.new(-0.799236, 0.0252398103, -0.444895387, 0.468589991, -0.644656956, 0.604020596, 0.838784993, 0.539245546, -0.0751925781, -0.277242005, 0.541877925, 0.793413758) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .01 * math.cos(sine/1), 0 + .01 * math.cos(sine/1), 0 + .01 * math.cos(sine/1)),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0 - .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0 - .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- spook.Pitch = .5
- spook.Volume = .5
- ws = 4
- humanoid.WalkSpeed = ws
- fakehandle2Weld.C0 = clerp(fakehandle2Weld.C0, CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(180), math.rad(-90), math.rad(0)), 1)
- end
- elseif Torsovelocity > 2 and hit ~= nil and mad == false then
- Anim = "Walk"
- if attack == false then
- change = 2
- PlayAnimationFromTable({
- CFrame.new(-0, 0, 0, 0.998444736, 0.0471846126, 0.0296955798, -0.0533299893, 0.963592768, 0.262001783, -0.0162519962, -0.263177931, 0.964610517) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(3 * math.sin(sine / 8)), math.rad(3)),
- CFrame.new(-0.0272574369, 1.52851033, -0.137963861, 0.977806866, 0.0838034153, -0.192017511, -0.0877529904, 0.996068299, -0.0121424496, 0.190244973, 0.0287230853, 0.981316388) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),
- CFrame.new(0.59841007, 0.0103551596, -0.747657239, 0.604022443, 0.766044676, -0.219846517, -0.794415593, 0.55667001, -0.242945373, -0.0637250468, 0.321393907, 0.944799006) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),
- CFrame.new(-1.68601704, 0.119868845, 0.0212422945, 0.975082457, 0.21984607, -0.0296994951, -0.21674411, 0.972632885, 0.0837100297, 0.0472900234, -0.0751869828, 0.996047497) * CFrame.new(math.rad(3 * math.sin(sine / 8)), math.rad(0), math.rad(3 * math.sin(sine / 8))) * CFrame.Angles(math.rad(0), math.rad(3 * math.sin(sine / 8)), math.rad(5 * math.sin(sine / 8))),
- CFrame.new(.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
- CFrame.new(-.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0)),
- }, .3, false)
- fakehandle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- elseif Torsovelocity > 2 and hit ~= nil and mad == true then
- Anim = "Walk"
- if attack == false then
- ws = 5
- humanoid.WalkSpeed = ws
- change = 2
- PlayAnimationFromTable({
- CFrame.new(-0, 0, 0, 0.998444736, 0.0471846126, 0.0296955798, -0.0533299893, 0.963592768, 0.262001783, -0.0162519962, -0.263177931, 0.964610517) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(3 * math.sin(sine / 8)), math.rad(3)),
- CFrame.new(-0.0272574369, 1.52851033, -0.137963861, 0.977806866, 0.0838034153, -0.192017511, -0.0877529904, 0.996068299, -0.0121424496, 0.190244973, 0.0287230853, 0.981316388) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1),0 + .03 * math.cos(sine/1),math.rad(-10)),
- CFrame.new(0.59841007, 0.0103551596, -0.747657239, 0.604022443, 0.766044676, -0.219846517, -0.794415593, 0.55667001, -0.242945373, -0.0637250468, 0.321393907, 0.944799006) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),
- CFrame.new(-1.68601704, 0.119868845, 0.0212422945, 0.975082457, 0.21984607, -0.0296994951, -0.21674411, 0.972632885, 0.0837100297, 0.0472900234, -0.0751869828, 0.996047497) * CFrame.new(math.rad(3 * math.sin(sine / 8)), math.rad(0), math.rad(3 * math.sin(sine / 8))) * CFrame.Angles(math.rad(0), math.rad(3 * math.sin(sine / 8)), math.rad(5 * math.sin(sine / 8))),
- CFrame.new(.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
- CFrame.new(-.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0)),
- }, .3, false)
- fakehandle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- end
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if Thing[2] == "Shoot" then
- local Look = Thing[1]
- local move = 5
- local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
- if Thing[10] ~= nil then
- da = pos
- cf2 = CFrame.new(Thing[4], Thing[10].Position)
- cfa = CFrame.new(Thing[4], pos)
- tehCF = cfa:lerp(cf2, 0.2)
- Thing[1] = tehCF.lookVector
- end
- local mag = (Thing[4] - pos).magnitude
- Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
- Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
- Thing[4] = Thing[4] + Look * move
- Thing[3] = Thing[3] - 1
- if 2 < Thing[5] then
- Thing[5] = Thing[5] - 0.3
- Thing[6] = Thing[6] - 0.3
- end
- if hit ~= nil then
- Thing[3] = 0
- MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- Effects.Block.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
- Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
- game:GetService("Debris"):AddItem(ref, 1)
- end
- if Thing[3] <= 0 then
- table.remove(Effects, e)
- end
- end
- do
- do
- if Thing[2] == "FireWave" then
- if Thing[3] <= Thing[4] then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
- Thing[3] = Thing[3] + 1
- Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Fire" then
- Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Cylinder" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Elec" then
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- end
- end
- end
- end
- end
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- end
- end
- twitchy = math.random(1,500)
- if twitchy == 1 and Anim == "Idle" and attack == false and mad == false then
- Head.face.Texture = "http://www.roblox.com/asset/?id=176777497"
- line = math.random(1,5)
- if line == 1 then
- laughy = CFuncs.Sound.Create("453313332", Character, 1, 1)
- laughy.Name = "laughy"
- elseif line == 2 then
- laughy = CFuncs.Sound.Create("453313353", Character, 1, 1)
- laughy.Name = "laughy"
- elseif line == 3 then
- laughy = CFuncs.Sound.Create("456177573", Character, 1, 1)
- laughy.Name = "laughy"
- elseif line == 4 then
- laughy = CFuncs.Sound.Create("456179838", Character, 1, 1)
- laughy.Name = "laughy"
- end
- zap = CFuncs.Sound.Create("223103466", Character, 3, 1)
- zap.Name = "zap"
- for i = 0, .1, 0.1 do
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.2433438, 1.16466844, 0.804812133, 0.977807224, -0.209098667, -0.0130749447, -0.0877520218, -0.352086037, -0.931845009, 0.190244049, 0.912312031, -0.362621069) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .5 * math.cos(sine/20), 0, 0),
- CFrame.new(1.64227509, 0.827429175, -1.03914833, 0.604023039, -0.219846934, -0.76604414, -0.794415116, -0.242945939, -0.556670427, -0.0637250096, 0.944798768, -0.321394682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.68601704, 0.119868845, 0.0212422945, 0.975082457, 0.21984607, -0.0296994951, -0.21674411, 0.972632885, 0.0837100297, 0.0472900234, -0.0751869828, 0.996047497) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- wait(.3)
- Head.face.Texture = "rbxasset://textures/face.png"
- zap:Destroy()
- end
- if game.Lighting.OutdoorAmbient ~= Color3.new(.2,.2,.2) then
- game.Lighting.OutdoorAmbient = Color3.new(.2,.2,.2)
- game.Lighting.Ambient = Color3.new(.2,.2,.2)
- game.Lighting.TimeOfDay = "00:00:00"
- game.Lighting.FogColor = Color3.new(0,0,0)
- game.Lighting.FogEnd = 100
- end
- if targetted ~= nil then
- crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
- crosshair.Enabled = true
- elseif targetted == nil then
- crosshair.Adornee = nil
- crosshair.Enabled = false
- if mad == true then
- efekt=CFuncs.Part.Create(Torso, "Neon", 0, 1, BrickColor.new("Crimson"), "ref", Vector3.new(0,0,0))
- efekt.Anchored=true
- efekt.CanCollide=false
- game:GetService("Debris"):AddItem(efekt, 1)
- efekt.CFrame=Torso.CFrame*CFrame.new(math.random(-10,10),-2.5,math.random(-10,10))
- ShowDamage((efekt.CFrame * CFrame.new(0, 0, 0).p + Vector3.new(0, 0, 0)), folder[math.random(#folder)], 1, BrickColor.new(red).Color)
- for _,v in next, game.Players:players() do
- if(v.Character and v.Character:FindFirstChild'Head' and not v.Character.Parent)then
- pcall(function()
- v.Character.Parent = workspace
- v.Character:BreakJoints()
- end)
- end
- end
- end
- soundbork(workspace)
- humanoid.Health = math.huge
- end
- if bodpos2 then
- bodpos2.Position = Head.Position
- end
- if bodpos2 and targetted ~= nil and not bodpos then
- bodpos2.Position = targetted.Head.Position
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement