SHOW:
|
|
- or go back to the newest paste.
| 1 | - | -- Created by Nebula_Zorua -- |
| 1 | + | local lovecounter = false |
| 2 | - | -- Your DeTERMINATION -- |
| 2 | + | local love = 99 |
| 3 | - | -- Y o u a c t l i k e y o u h a v e a c h o i c e. =) -- |
| 3 | + | local sprint = false |
| 4 | - | -- Discord: Nebula the Zorua#6969 |
| 4 | + | local done = false |
| 5 | - | -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA |
| 5 | + | local canheal = false |
| 6 | local deathchat1 = false | |
| 7 | local once = true | |
| 8 | - | --// Initializing \\-- |
| 8 | + | local breakjoints = true |
| 9 | - | local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
|
| 9 | + | local dead = false |
| 10 | - | local Plrs = S.Players |
| 10 | + | local candie = true |
| 11 | - | local Plr = Plrs.LocalPlayer |
| 11 | + | local deathchat = false |
| 12 | - | local Char = Plr.Character |
| 12 | + | local canattack = true |
| 13 | - | local Hum = Char:FindFirstChildOfClass'Humanoid' |
| 13 | + | local colorred = 0 |
| 14 | - | local RArm = Char["Right Arm"] |
| 14 | + | local lala = true |
| 15 | - | local LArm = Char["Left Arm"] |
| 15 | + | local idleon = true |
| 16 | - | local RLeg = Char["Right Leg"] |
| 16 | + | local walking = true |
| 17 | - | local LLeg = Char["Left Leg"] |
| 17 | + | local idle1 = true |
| 18 | - | local Root = Char:FindFirstChild'HumanoidRootPart' |
| 18 | + | local canchange = false |
| 19 | - | local Torso = Char.Torso |
| 19 | + | local idle = true |
| 20 | - | local Head = Char.Head |
| 20 | + | local p = game.Players.LocalPlayer |
| 21 | - | local NeutralAnims = true |
| 21 | + | local char = p.Character |
| 22 | - | local Attack = false |
| 22 | + | local mouse = p:GetMouse() |
| 23 | - | local BloodPuddles = {}
|
| 23 | + | local larm = char["Left Arm"] |
| 24 | - | local Effects = {}
|
| 24 | + | local rarm = char["Right Arm"] |
| 25 | - | local Debounces = {Debounces={}}
|
| 25 | + | local lleg = char["Left Leg"] |
| 26 | - | local Mouse = Plr:GetMouse() |
| 26 | + | local rleg = char["Right Leg"] |
| 27 | - | local Hit = {}
|
| 27 | + | local hed = char.Head |
| 28 | - | local Sine = 0 |
| 28 | + | local torso = char.Torso |
| 29 | - | local Change = 1 |
| 29 | + | local hum = char.Humanoid |
| 30 | - | local Souls = 0 |
| 30 | + | |
| 31 | - | --// Debounce System \\-- |
| 31 | + | um = Instance.new("Part",char)
|
| 32 | um.Name = "Immune" | |
| 33 | um.CanCollide = false | |
| 34 | - | function Debounces:New(name,cooldown) |
| 34 | + | um.Anchored = true |
| 35 | - | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
|
| 35 | + | um.Transparency = 1 |
| 36 | - | setmetatable(aaaaa,{__index = Debounces})
|
| 36 | + | dead = true |
| 37 | - | Debounces.Debounces[name] = aaaaa |
| 37 | + | local cam = game.Workspace.CurrentCamera |
| 38 | - | return aaaaa |
| 38 | + | local root = char.HumanoidRootPart |
| 39 | local deb = false | |
| 40 | local shot = 0 | |
| 41 | - | function Debounces:Use(overrideUsable) |
| 41 | + | local debris=game:service"Debris" |
| 42 | - | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") |
| 42 | + | local l = game:GetService("Lighting")
|
| 43 | - | if(self.Usable or overrideUsable)then |
| 43 | + | local rs = game:GetService("RunService").RenderStepped
|
| 44 | - | self.Usable = false |
| 44 | + | local Create = LoadLibrary("RbxUtility").Create
|
| 45 | - | self.CoolingDown = true |
| 45 | + | ff = Instance.new("ForceField",char)
|
| 46 | - | local LastUse = time() |
| 46 | + | ff.Visible = false |
| 47 | - | self.LastUse = LastUse |
| 47 | + | ArtificialHB = Create("BindableEvent", script){
|
| 48 | - | delay(self.Cooldown or 2,function() |
| 48 | + | Parent = script, |
| 49 | - | if(self.LastUse == LastUse)then |
| 49 | + | Name = "Heartbeat", |
| 50 | - | self.CoolingDown = false |
| 50 | + | } |
| 51 | - | self.Usable = true |
| 51 | + | CFuncs = {
|
| 52 | ||
| 53 | - | end) |
| 53 | + | |
| 54 | ["Sound"] = {
| |
| 55 | Create = function(id, par, vol, pit) | |
| 56 | coroutine.resume(coroutine.create(function() | |
| 57 | - | function Debounces:Get(name) |
| 57 | + | local S = Create("Sound"){
|
| 58 | - | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
|
| 58 | + | Volume = vol, |
| 59 | - | for i,v in next, Debounces.Debounces do |
| 59 | + | Pitch = pit or 1, |
| 60 | - | if(i == name)then |
| 60 | + | SoundId = id, |
| 61 | - | return v; |
| 61 | + | Parent = par or workspace, |
| 62 | } | |
| 63 | wait() | |
| 64 | S:play() | |
| 65 | game:GetService("Debris"):AddItem(S, 6)
| |
| 66 | - | function Debounces:GetProgressPercentage() |
| 66 | + | end)) |
| 67 | - | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") |
| 67 | + | end; |
| 68 | - | if(self.CoolingDown and not self.Usable)then |
| 68 | + | }; |
| 69 | - | return math.max( |
| 69 | + | |
| 70 | - | math.floor( |
| 70 | + | |
| 71 | - | ( |
| 71 | + | |
| 72 | - | (time()-self.LastUse)/self.Cooldown or 2 |
| 72 | + | CreateTemplate = {
|
| 73 | - | )*100 |
| 73 | + | |
| 74 | - | ) |
| 74 | + | }; |
| 75 | - | ) |
| 75 | + | } |
| 76 | - | else |
| 76 | + | function swait(num) |
| 77 | - | return 100 |
| 77 | + | if num == 0 or num == nil then |
| 78 | ArtificialHB.Event:wait() | |
| 79 | else | |
| 80 | for i = 0, num do | |
| 81 | - | --// Shortcut Variables \\-- |
| 81 | + | ArtificialHB.Event:wait() |
| 82 | - | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
|
| 82 | + | end |
| 83 | - | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
|
| 83 | + | end |
| 84 | - | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
|
| 84 | + | |
| 85 | - | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
|
| 85 | + | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
|
| 86 | - | local R3 = {N=Region3.new}
|
| 86 | + | function lerp(a, b, t) -- Linear interpolation |
| 87 | - | local De = S.Debris |
| 87 | + | return a + (b - a)*t |
| 88 | - | local WS = workspace |
| 88 | + | |
| 89 | - | local Lght = S.Lighting |
| 89 | + | |
| 90 | - | local RepS = S.ReplicatedStorage |
| 90 | + | function slerp(a, b, t) --Spherical interpolation |
| 91 | - | local IN = Instance.new |
| 91 | + | dot = a:Dot(b) |
| 92 | - | local CSK = ColorSequenceKeypoint.new |
| 92 | + | if dot > 0.99999 or dot < -0.99999 then |
| 93 | - | local CS = ColorSequence.new |
| 93 | + | return t <= 0.5 and a or b |
| 94 | - | --// Instance Creation Functions \\-- |
| 94 | + | else |
| 95 | r = math.acos(dot) | |
| 96 | - | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) |
| 96 | + | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) |
| 97 | - | local Sound = IN("Sound")
|
| 97 | + | end |
| 98 | - | Sound.SoundId = "rbxassetid://".. tostring(id or 0) |
| 98 | + | |
| 99 | - | Sound.Pitch = pitch or 1 |
| 99 | + | function matrixInterpolate(a, b, t) |
| 100 | - | Sound.Volume = volume or 1 |
| 100 | + | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() |
| 101 | - | Sound.Looped = looped or false |
| 101 | + | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() |
| 102 | - | if(autoPlay)then |
| 102 | + | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position |
| 103 | - | coroutine.wrap(function() |
| 103 | + | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right |
| 104 | - | repeat wait() until Sound.IsLoaded |
| 104 | + | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up |
| 105 | - | Sound.Playing = autoPlay or false |
| 105 | + | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back |
| 106 | - | end)() |
| 106 | + | local t = v1:Dot(v2) |
| 107 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 108 | - | if(not looped and effect)then |
| 108 | + | return CFrame.new() |
| 109 | - | Sound.Stopped:connect(function() |
| 109 | + | end |
| 110 | - | Sound.Volume = 0 |
| 110 | + | return CFrame.new( |
| 111 | - | Sound:destroy() |
| 111 | + | v0.x, v0.y, v0.z, |
| 112 | - | end) |
| 112 | + | v1.x, v1.y, v1.z, |
| 113 | - | elseif(effect)then |
| 113 | + | v2.x, v2.y, v2.z, |
| 114 | - | warn("Sound can't be looped and a sound effect!")
|
| 114 | + | v3.x, v3.y, v3.z) |
| 115 | end | |
| 116 | - | Sound.Parent =parent or Torso |
| 116 | + | ---------------------------------------------------- |
| 117 | - | return Sound |
| 117 | + | function genWeld(a,b) |
| 118 | local w = Instance.new("Weld",a)
| |
| 119 | - | function Part(parent,color,material,size,cframe,anchored,cancollide) |
| 119 | + | w.Part0 = a |
| 120 | - | local part = IN("Part")
|
| 120 | + | w.Part1 = b |
| 121 | - | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) |
| 121 | + | return w |
| 122 | - | part.Material = (material or Enum.Material.SmoothPlastic) |
| 122 | + | |
| 123 | - | part.TopSurface,part.BottomSurface=10,10 |
| 123 | + | function weld(a, b) |
| 124 | - | part.Size = (size or V3.N(1,1,1)) |
| 124 | + | local weld = Instance.new("Weld")
|
| 125 | - | part.CFrame = (cframe or CF.N(0,0,0)) |
| 125 | + | weld.Name = "W" |
| 126 | - | part.Anchored = (anchored or false) |
| 126 | + | weld.Part0 = a |
| 127 | - | part.CanCollide = (cancollide or false) |
| 127 | + | weld.Part1 = b |
| 128 | - | part.Parent = (parent or Char) |
| 128 | + | weld.C0 = a.CFrame:inverse() * b.CFrame |
| 129 | - | return part |
| 129 | + | weld.Parent = a |
| 130 | return weld; | |
| 131 | - | function Mesh(parent,meshtype,meshid,textid,scale,offset) |
| 131 | + | |
| 132 | - | local part = IN("SpecialMesh")
|
| 132 | + | ---------------------------------------------------- |
| 133 | - | part.MeshId = meshid or "" |
| 133 | + | function Lerp(c1,c2,al) |
| 134 | - | part.TextureId = textid or "" |
| 134 | + | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
|
| 135 | - | part.Scale = scale or V3.N(1,1,1) |
| 135 | + | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
|
| 136 | - | part.Offset = offset or V3.N(0,0,0) |
| 136 | + | for i,v in pairs(com1) do |
| 137 | - | part.MeshType = meshtype or Enum.MeshType.Sphere |
| 137 | + | com1[i] = v+(com2[i]-v)*al |
| 138 | - | part.Parent = parent |
| 138 | + | |
| 139 | - | return part |
| 139 | + | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) |
| 140 | end | |
| 141 | ---------------------------------------------------- | |
| 142 | - | NewInstance = function(instance,parent,properties) |
| 142 | + | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) |
| 143 | - | local inst = Instance.new(instance,parent) |
| 143 | + | local wld = Instance.new("Weld", wp1)
|
| 144 | - | if(properties)then |
| 144 | + | wld.Part0 = wp0 |
| 145 | - | for i,v in next, properties do |
| 145 | + | wld.Part1 = wp1 |
| 146 | - | pcall(function() inst[i] = v end) |
| 146 | + | |
| 147 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 148 | end | |
| 149 | - | return inst; |
| 149 | + | ---------------------------------------------------- |
| 150 | function weld5(part0, part1, c0, c1) | |
| 151 | weeld=Instance.new("Weld", part0)
| |
| 152 | weeld.Part0=part0 | |
| 153 | weeld.Part1=part1 | |
| 154 | - | --// Extended ROBLOX tables \\-- |
| 154 | + | weeld.C0=c0 |
| 155 | - | local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
|
| 155 | + | weeld.C1=c1 |
| 156 | - | --// Customization \\-- |
| 156 | + | return weeld |
| 157 | end | |
| 158 | - | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this |
| 158 | + | ---------------------------------------------------- |
| 159 | - | local Remove_Hats = false |
| 159 | + | function HasntTouched(plrname) |
| 160 | - | local Remove_Clothing = true |
| 160 | + | local ret = true |
| 161 | - | local PlayerSize = 1 |
| 161 | + | for _, v in pairs(Touche) do |
| 162 | - | local DamageColor = BrickColor.new'Really red' |
| 162 | + | if v == plrname then |
| 163 | - | local MusicID = 519341881 |
| 163 | + | ret = false |
| 164 | - | local WalkSpeed = 8 |
| 164 | + | |
| 165 | - | local MaxSouls = 1000 |
| 165 | + | |
| 166 | - | local MaxHealth = 1000 |
| 166 | + | return ret |
| 167 | end | |
| 168 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 169 | - | if(_G.RefusedAnimation == nil) then _G.RefusedAnimation = false end |
| 169 | + | larm.Weld.C1 = CFrame.new(0, 0.5, 0) |
| 170 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 171 | - | --// Weapon and GUI creation, and Character Customization \\-- |
| 171 | + | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) |
| 172 | newWeld(torso, hed, 0, 1.5, 0) | |
| 173 | - | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end |
| 173 | + | newWeld(torso, lleg, -0.5, -1, 0) |
| 174 | - | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end |
| 174 | + | lleg.Weld.C1 = CFrame.new(0, 1, 0) |
| 175 | - | local Effects = IN("Folder",Char)
|
| 175 | + | newWeld(torso, rleg, 0.5, -1, 0) |
| 176 | - | Effects.Name = "Effects" |
| 176 | + | rleg.Weld.C1 = CFrame.new(0, 1, 0) |
| 177 | newWeld(root, torso, 0, -1, 0) | |
| 178 | - | Hum.MaxHealth = MaxHealth |
| 178 | + | torso.Weld.C1 = CFrame.new(0, -1, 0) |
| 179 | - | Hum.Health = MaxHealth |
| 179 | + | |
| 180 | function chatfunc(text) | |
| 181 | - | local Knife = NewInstance("Part",Char,{Name='Knife',Size=V3.N(.4,3,.7),Anchored=false,CanCollide=false,Locked=true,Archivable=false,Reflectance=.01,Color=C3.N(0,0,0)})
|
| 181 | + | local chat = coroutine.wrap(function() |
| 182 | - | local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://121944778","rbxassetid://362719969",V3.N(1,1,1),V3.N()) |
| 182 | + | if char:FindFirstChild("TalkingBillBoard")~= nil then
|
| 183 | - | local AuraEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS{CSK(0,C3.N(1,0,0)),CSK(0.5,C3.N(1,1,0)),CSK(1,C3.RGB(255,191,0))},LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0,1),LockedToPart=true,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(0)})
|
| 183 | + | char:FindFirstChild("TalkingBillBoard"):destroy()
|
| 184 | - | local FireEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS(C3.N(1,0,0),C3.N(1,0,0)),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(0.755,0,0),NumberSequenceKeypoint.new(1,0,0)},Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0.35,1),Lifetime=NumberRange.new(1,2),Rate=150,Speed=NumberRange.new(3)})
|
| 184 | + | |
| 185 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 186 | - | local KTrail = NewInstance("Trail",Knife,{
|
| 186 | + | naeeym2.Size = UDim2.new(0,100,0,40) |
| 187 | - | Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,-.4,0)}),
|
| 187 | + | naeeym2.StudsOffset = Vector3.new(0,3,0) |
| 188 | - | Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,1.2,0)}),
|
| 188 | + | naeeym2.Adornee = hed |
| 189 | - | Color=CS(C3.N(1,0,0)), |
| 189 | + | naeeym2.Name = "TalkingBillBoard" |
| 190 | - | Enabled=false, |
| 190 | + | local tecks2 = Instance.new("TextLabel",naeeym2)
|
| 191 | - | Transparency=NumberSequence.new(0,1), |
| 191 | + | |
| 192 | - | Lifetime=1.25, |
| 192 | + | |
| 193 | - | }) |
| 193 | + | tecks2.Text = "" |
| 194 | - | local Hair = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false) |
| 194 | + | tecks2.Font = "Arcade" |
| 195 | - | local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://101203373","rbxassetid://0",V3.N(1.05,1.05,1.05),V3.N()) |
| 195 | + | |
| 196 | tecks2.TextStrokeTransparency = 0 | |
| 197 | - | NewInstance("PointLight",Knife,{Color=C3.N(1,0,0),Range=10,Brightness=3})
|
| 197 | + | tecks2.TextColor3 = Color3.new(2,2,2) |
| 198 | tecks2.TextStrokeColor3 = Color3.new(2,2,2) | |
| 199 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 200 | - | Hum.DisplayDistanceType = 'None' |
| 200 | + | |
| 201 | for i = 1,string.len(text),1 do | |
| 202 | - | local naeeym2 = IN("BillboardGui",Char)
|
| 202 | + | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=417445954", hed, 6, .8)
|
| 203 | - | naeeym2.AlwaysOnTop = true |
| 203 | + | tecks2.Text = string.sub(text,1,i) |
| 204 | - | naeeym2.Size = UDim2.new(5,35,2,15) |
| 204 | + | |
| 205 | - | naeeym2.StudsOffset = V3.N(0,2.5,0) |
| 205 | + | wait(0.01) |
| 206 | - | naeeym2.Adornee = Char.Head |
| 206 | + | |
| 207 | - | naeeym2.Name = "Name" |
| 207 | + | wait(2) |
| 208 | - | naeeym2.PlayerToHideFrom = Plr |
| 208 | + | for i = 1, 50 do |
| 209 | - | local tecks2 = IN("TextLabel",naeeym2)
|
| 209 | + | swait() |
| 210 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 211 | - | tecks2.TextScaled = true |
| 211 | + | tecks2.Rotation = tecks2.Rotation - .8 |
| 212 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 213 | - | tecks2.Text = "Dust Sans" |
| 213 | + | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
| 214 | - | tecks2.Font = Enum.Font.Bodoni |
| 214 | + | |
| 215 | end | |
| 216 | naeeym2:Destroy() | |
| 217 | - | tecks2.TextColor3 = C3.N(2,2,2) |
| 217 | + | |
| 218 | - | tecks2.TextStrokeColor3 = C3.N(2,2,2) |
| 218 | + | chat() |
| 219 | end | |
| 220 | - | tecks2.Parent = naeeym2 |
| 220 | + | function onChatted(msg) |
| 221 | chatfunc(msg) | |
| 222 | end | |
| 223 | - | IN("Shirt",Char)
|
| 223 | + | p.Chatted:connect(onChatted) |
| 224 | - | IN("Pants",Char)
|
| 224 | + | hed.face.Texture = "http://www.roblox.com/asset/?id=871052201" |
| 225 | ypcall(function() | |
| 226 | - | Hum.WalkSpeed = WalkSpeed |
| 226 | + | shirt = Instance.new("Shirt", char)
|
| 227 | - | if(PlayerSize ~= 1)then |
| 227 | + | shirt.Name = "Shirt" |
| 228 | - | for _,v in next, Char:GetDescendats() do |
| 228 | + | pants = Instance.new("Pants", char)
|
| 229 | - | if(v:IsA'BasePart')then |
| 229 | + | pants.Name = "Pants" |
| 230 | - | v.Size = v.Size * PlayerSize |
| 230 | + | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1188138037" |
| 231 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=305718140" | |
| 232 | end) | |
| 233 | char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
| |
| 234 | char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
| |
| 235 | - | local Music = Sound(Torso,MusicID,1,3,true,false,true) |
| 235 | + | char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
|
| 236 | - | Music.Name = 'Music' |
| 236 | + | char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
|
| 237 | char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
| |
| 238 | - | --// Stop animations \\-- |
| 238 | + | char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
|
| 239 | - | for _,v in next, Hum:GetPlayingAnimationTracks() do |
| 239 | + | |
| 240 | - | v:Stop(); |
| 240 | + | MegaloStrikesBack = Instance.new("Sound",torso)
|
| 241 | MegaloStrikesBack.Looped = true | |
| 242 | MegaloStrikesBack.SoundId = "http://www.roblox.com/asset?id=576197352" | |
| 243 | - | pcall(game.Destroy,Char:FindFirstChild'Animate') |
| 243 | + | MegaloStrikesBack.Volume = 50 |
| 244 | - | pcall(game.Destroy,Hum:FindFirstChild'Animator') |
| 244 | + | MegaloStrikesBack:Play() |
| 245 | for _, v in pairs(char:GetChildren()) do | |
| 246 | - | --// Joints \\-- |
| 246 | + | if v.ClassName == "Accessory" then |
| 247 | v:remove() | |
| 248 | - | local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
|
| 248 | + | end |
| 249 | - | local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
|
| 249 | + | |
| 250 | - | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
|
| 250 | + | local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat")
|
| 251 | - | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
|
| 251 | + | Hat.AttachmentPos = Vector3.new(0, 0.33, 0) |
| 252 | - | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
|
| 252 | + | Hat.Name = "Hat_F" |
| 253 | - | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
|
| 253 | + | local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
|
| 254 | - | local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
|
| 254 | + | if Handle.Name ~= "Handle" then |
| 255 | - | local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.05,0)})
|
| 255 | + | Handle.Size = Vector3.new(1, 1, 1) |
| 256 | end | |
| 257 | - | local LSC0 = LS.C0 |
| 257 | + | Handle.BottomSurface = 0 |
| 258 | - | local RSC0 = RS.C0 |
| 258 | + | Handle.Name = "Handle" |
| 259 | - | local NKC0 = NK.C0 |
| 259 | + | Handle.TopSurface = 0 |
| 260 | - | local LHC0 = LH.C0 |
| 260 | + | Handle.Locked = 1 |
| 261 | - | local RHC0 = RH.C0 |
| 261 | + | local Mesh = Hat:FindFirstChild("Mesh") or Instance.new("SpecialMesh", Handle)
|
| 262 | - | local RJC0 = RJ.C0 |
| 262 | + | Mesh.TextureId = "http://www.roblox.com/asset/?id=0" |
| 263 | Mesh.MeshId = "http://www.roblox.com/asset/?id=101203373 " | |
| 264 | - | --// Artificial HB \\-- |
| 264 | + | Mesh.Scale = Vector3.new(1, 1, 1) |
| 265 | Hat.Parent = char | |
| 266 | - | local ArtificialHB = IN("BindableEvent", script)
|
| 266 | + | |
| 267 | - | ArtificialHB.Name = "Heartbeat" |
| 267 | + | handle = Instance.new("Part", char)
|
| 268 | handle.TopSurface = "Smooth" | |
| 269 | - | script:WaitForChild("Heartbeat")
|
| 269 | + | handle.BottomSurface = "Smooth" |
| 270 | handle.Material = "Neon" | |
| 271 | - | local tf = 0 |
| 271 | + | |
| 272 | - | local allowframeloss = false |
| 272 | + | handle.Size = Vector3.new(0.2, 0.5, 0.5) |
| 273 | - | local tossremainder = false |
| 273 | + | handle.CanCollide = false |
| 274 | - | local lastframe = tick() |
| 274 | + | |
| 275 | - | local frame = 1/Frame_Speed |
| 275 | + | handle.FormFactor = "Custom" |
| 276 | - | ArtificialHB:Fire() |
| 276 | + | local Weldb = Instance.new("Weld", char)
|
| 277 | Weldb.Part0 = char["Right Arm"] | |
| 278 | - | game:GetService("RunService").Heartbeat:connect(function(s, p)
|
| 278 | + | Weldb.Part1 = handle |
| 279 | - | tf = tf + s |
| 279 | + | Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0) |
| 280 | - | if tf >= frame then |
| 280 | + | local KnifeMesh = Instance.new("SpecialMesh", handle)
|
| 281 | - | if allowframeloss then |
| 281 | + | KnifeMesh.MeshType = "FileMesh" |
| 282 | - | script.Heartbeat:Fire() |
| 282 | + | KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=121944778" |
| 283 | - | lastframe = tick() |
| 283 | + | KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805" |
| 284 | - | else |
| 284 | + | |
| 285 | - | for i = 1, math.floor(tf / frame) do |
| 285 | + | blackhand = Instance.new("Part",char)
|
| 286 | - | ArtificialHB:Fire() |
| 286 | + | blackhand.Material = "Neon" |
| 287 | blackhand.Transparency = 1 | |
| 288 | - | lastframe = tick() |
| 288 | + | blackhand.BrickColor = BrickColor.new("Really black")
|
| 289 | blackhand.Position = Vector3.new(999,999,999) | |
| 290 | - | if tossremainder then |
| 290 | + | blackhand.Size = Vector3.new(1.01,1.01,1.01) |
| 291 | - | tf = 0 |
| 291 | + | blackweld = Instance.new("Weld",blackhand)
|
| 292 | - | else |
| 292 | + | blackweld.Part0 = rarm |
| 293 | - | tf = tf - frame * math.floor(tf / frame) |
| 293 | + | blackweld.Part1 = blackhand |
| 294 | blackweld.C0 = CFrame.new(0,-0.5,0) | |
| 295 | ||
| 296 | ||
| 297 | CV="Really red" | |
| 298 | - | function swait(num) |
| 298 | + | |
| 299 | - | if num == 0 or num == nil then |
| 299 | + | local txt = Instance.new("BillboardGui", char)
|
| 300 | - | ArtificialHB.Event:wait() |
| 300 | + | txt.Adornee = hed |
| 301 | - | else |
| 301 | + | txt.Name = "_status" |
| 302 | - | for i = 0, num do |
| 302 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
| 303 | - | ArtificialHB.Event:wait() |
| 303 | + | txt.StudsOffset = Vector3.new(-9, 11, 0) |
| 304 | local text = Instance.new("TextLabel", txt)
| |
| 305 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 306 | text.FontSize = "Size24" | |
| 307 | text.TextScaled = true | |
| 308 | text.TextTransparency = 0 | |
| 309 | - | --// Effect Function(s) \\-- |
| 309 | + | text.BackgroundTransparency = 1 |
| 310 | text.TextTransparency = 0 | |
| 311 | - | function Bezier(startpos, pos2, pos3, endpos, t) |
| 311 | + | text.TextStrokeTransparency = 0 |
| 312 | - | local A = startpos:lerp(pos2, t) |
| 312 | + | text.Font = "Arcade" |
| 313 | - | local B = pos2:lerp(pos3, t) |
| 313 | + | text.TextStrokeColor3 = Color3.new(255,0,0) |
| 314 | - | local C = pos3:lerp(endpos, t) |
| 314 | + | |
| 315 | - | local lerp1 = A:lerp(B, t) |
| 315 | + | v=Instance.new("Part")
|
| 316 | - | local lerp2 = B:lerp(C, t) |
| 316 | + | v.Name = "ColorBrick" |
| 317 | - | local cubic = lerp1:lerp(lerp2, t) |
| 317 | + | v.Parent=char |
| 318 | - | return cubic |
| 318 | + | v.FormFactor="Symmetric" |
| 319 | v.Anchored=true | |
| 320 | v.CanCollide=false | |
| 321 | - | function Tween(obj,props,time,easing,direction,repeats,backwards) |
| 321 | + | v.BottomSurface="Smooth" |
| 322 | - | local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false) |
| 322 | + | v.TopSurface="Smooth" |
| 323 | - | local tween = S.TweenService:Create(obj, info, props) |
| 323 | + | v.Size=Vector3.new(10,5,3) |
| 324 | v.Transparency=1 | |
| 325 | - | tween:Play() |
| 325 | + | v.CFrame=torso.CFrame |
| 326 | v.BrickColor=BrickColor.new(CV) | |
| 327 | v.Transparency=1 | |
| 328 | - | local FXTable = {}
|
| 328 | + | text.TextColor3 = Color3.new(0,0,0) |
| 329 | v.Shape="Block" | |
| 330 | - | coroutine.resume(coroutine.create(function() |
| 330 | + | text.Text = "" |
| 331 | - | while true do |
| 331 | + | |
| 332 | - | for i = 1, #FXTable do |
| 332 | + | refused = Instance.new("Sound",larm)
|
| 333 | - | local data = FXTable[i] |
| 333 | + | refused.Volume = 100 |
| 334 | - | if(data)then |
| 334 | + | refused.SoundId = "http://www.roblox.com/asset/?id=400905079" |
| 335 | - | local Frame = data.Frame |
| 335 | + | |
| 336 | - | local FX = data.Effect or 'ResizeAndFade' |
| 336 | + | game:GetService("RunService").RenderStepped:connect(function()
|
| 337 | - | local Parent = data.Parent or Effects |
| 337 | + | |
| 338 | - | local Color = data.Color or C3.N(0,0,0) |
| 338 | + | if lala == true then |
| 339 | - | local Size = data.Size or V3.N(1,1,1) |
| 339 | + | if canchange == true then |
| 340 | - | local MoveDir = data.MoveDirection or nil |
| 340 | + | canchange = false |
| 341 | - | local MeshData = data.Mesh or nil |
| 341 | + | |
| 342 | - | local SndData = data.Sound or nil |
| 342 | + | handle.BrickColor = BrickColor.new("Really red")
|
| 343 | - | local Frames = data.Frames or 45 |
| 343 | + | wait(0.01) |
| 344 | - | local CFra = data.CFrame or Torso.CFrame |
| 344 | + | handle.BrickColor = BrickColor.new("Really blue")
|
| 345 | - | local Settings = data.FXSettings or {}
|
| 345 | + | wait(0.01) |
| 346 | - | local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound |
| 346 | + | handle.BrickColor = BrickColor.new("Bright green")
|
| 347 | - | local grow = data.Grow |
| 347 | + | wait(0.01) |
| 348 | handle.BrickColor = BrickColor.new("Toothpaste")
| |
| 349 | - | local MoveSpeed = nil; |
| 349 | + | wait(0.01) |
| 350 | - | if(MoveDir)then |
| 350 | + | handle.BrickColor = BrickColor.new("New Yeller")
|
| 351 | - | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames |
| 351 | + | wait(0.01) |
| 352 | handle.BrickColor = BrickColor.new("Magenta")
| |
| 353 | - | if(FX ~= 'Arc')then |
| 353 | + | wait(0.01) |
| 354 | - | Frame = Frame + 1 |
| 354 | + | handle.BrickColor = BrickColor.new("Deep orange")
|
| 355 | - | if(FX == "Fade")then |
| 355 | + | wait(0.01) |
| 356 | - | Prt.Transparency = (Frame/Frames) |
| 356 | + | canchange = true |
| 357 | - | elseif(FX == "Resize")then |
| 357 | + | |
| 358 | - | if(not Settings.EndSize)then |
| 358 | + | |
| 359 | - | Settings.EndSize = V3.N(0,0,0) |
| 359 | + | if hum.MoveDirection.x == 0 then |
| 360 | - | end |
| 360 | + | if idle == true then |
| 361 | - | if(Settings.EndIsIncrement)then |
| 361 | + | if idleon == true then |
| 362 | - | if(Msh)then |
| 362 | + | idleon = false |
| 363 | - | Msh.Scale = Msh.Scale + Settings.EndSize |
| 363 | + | for i = 1,10 do |
| 364 | - | else |
| 364 | + | wait() |
| 365 | - | Prt.Size = Prt.Size + Settings.EndSize |
| 365 | + | if hum.MoveDirection.x == 0 then |
| 366 | - | end |
| 366 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.3, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) |
| 367 | - | else |
| 367 | + | |
| 368 | - | if(Msh)then |
| 368 | + | if hum.MoveDirection.x == 0 then |
| 369 | - | Msh.Scale = Msh.Scale - grow/Frames |
| 369 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.1) |
| 370 | - | else |
| 370 | + | |
| 371 | - | Prt.Size = Prt.Size - grow/Frames |
| 371 | + | if hum.MoveDirection.x == 0 then |
| 372 | - | end |
| 372 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.1) |
| 373 | - | end |
| 373 | + | |
| 374 | - | elseif(FX == "ResizeAndFade")then |
| 374 | + | if hum.MoveDirection.x == 0 then |
| 375 | - | if(not Settings.EndSize)then |
| 375 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.7, -0.3) * CFrame.Angles(math.rad(5), 0, math.rad(-2)), 0.1) |
| 376 | - | Settings.EndSize = V3.N(0,0,0) |
| 376 | + | |
| 377 | - | end |
| 377 | + | if hum.MoveDirection.x == 0 then |
| 378 | - | if(Settings.EndIsIncrement)then |
| 378 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(2)), 0.1) |
| 379 | - | if(Msh)then |
| 379 | + | end |
| 380 | - | Msh.Scale = Msh.Scale + Settings.EndSize |
| 380 | + | |
| 381 | - | else |
| 381 | + | |
| 382 | - | Prt.Size = Prt.Size + Settings.EndSize |
| 382 | + | |
| 383 | - | end |
| 383 | + | |
| 384 | - | else |
| 384 | + | |
| 385 | - | if(Msh)then |
| 385 | + | for i = 1,10 do |
| 386 | - | Msh.Scale = Msh.Scale - grow/Frames |
| 386 | + | wait() |
| 387 | - | else |
| 387 | + | if hum.MoveDirection.x == 0 then |
| 388 | - | Prt.Size = Prt.Size - grow/Frames |
| 388 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) |
| 389 | - | end |
| 389 | + | |
| 390 | - | end |
| 390 | + | if hum.MoveDirection.x == 0 then |
| 391 | - | Prt.Transparency = (Frame/Frames) |
| 391 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(20)), 0.1) |
| 392 | end | |
| 393 | - | if(Settings.RandomizeCFrame)then |
| 393 | + | if hum.MoveDirection.x == 0 then |
| 394 | - | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) |
| 394 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-20)), 0.1) |
| 395 | end | |
| 396 | - | if(MoveDir and MoveSpeed)then |
| 396 | + | if hum.MoveDirection.x == 0 then |
| 397 | - | local Orientation = Prt.Orientation |
| 397 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.2) * CFrame.Angles(math.rad(5), 0, math.rad(-2)), 0.1) |
| 398 | - | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) |
| 398 | + | |
| 399 | - | Prt.Orientation = Orientation |
| 399 | + | if hum.MoveDirection.x == 0 then |
| 400 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(2)), 0.1) | |
| 401 | - | if(Prt.Transparency >= 1 or Frame >= Frames)then |
| 401 | + | end |
| 402 | - | Prt:destroy() |
| 402 | + | |
| 403 | - | table.remove(FXTable,i) |
| 403 | + | idleon = true |
| 404 | - | else |
| 404 | + | |
| 405 | - | data.Frame = Frame |
| 405 | + | |
| 406 | ||
| 407 | ||
| 408 | - | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End |
| 408 | + | |
| 409 | - | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end |
| 409 | + | |
| 410 | - | if(start and endP)then |
| 410 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 411 | - | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) |
| 411 | + | if walking == true then |
| 412 | - | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) |
| 412 | + | if sprint == false then |
| 413 | - | Frame = Frame + (Settings.Speed or 0.01) |
| 413 | + | if idle1 == true then |
| 414 | - | if(Settings.Home)then |
| 414 | + | idle1 = false |
| 415 | - | endP = Settings.Home.CFrame |
| 415 | + | |
| 416 | - | end |
| 416 | + | idle = false |
| 417 | - | Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame) |
| 417 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 418 | - | if(Prt.Transparency >= 1 or Frame >= Frames)then |
| 418 | + | for i = 1,10 do |
| 419 | - | if(Settings.RemoveOnGoal)then |
| 419 | + | wait() |
| 420 | - | Prt:destroy() |
| 420 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 421 | - | end |
| 421 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.1) |
| 422 | - | end |
| 422 | + | |
| 423 | - | else |
| 423 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 424 | - | Prt:destroy() |
| 424 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.1) |
| 425 | end | |
| 426 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
| 427 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
| 428 | end | |
| 429 | - | swait() |
| 429 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 430 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-2)), 0.1) | |
| 431 | - | end)) |
| 431 | + | |
| 432 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
| 433 | - | function Effect(data) |
| 433 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, math.rad(2)), 0.1) |
| 434 | - | local FX = data.Effect or 'ResizeAndFade' |
| 434 | + | |
| 435 | - | local Parent = data.Parent or Effects |
| 435 | + | |
| 436 | - | local Color = data.Color or C3.N(0,0,0) |
| 436 | + | |
| 437 | - | local Size = data.Size or V3.N(1,1,1) |
| 437 | + | end |
| 438 | - | local MoveDir = data.MoveDirection or nil |
| 438 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 439 | - | local MeshData = data.Mesh or nil |
| 439 | + | for i = 1,10 do |
| 440 | - | local SndData = data.Sound or nil |
| 440 | + | wait() |
| 441 | - | local Frames = data.Frames or 45 |
| 441 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 442 | - | local Manual = data.Manual or nil |
| 442 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.1) |
| 443 | - | local Material = data.Material or nil |
| 443 | + | |
| 444 | - | local CFra = data.CFrame or Torso.CFrame |
| 444 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 445 | - | local Settings = data.FXSettings or {}
|
| 445 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20)), 0.1) |
| 446 | - | local Shape = data.Shape or Enum.PartType.Block |
| 446 | + | |
| 447 | - | local Snd,Prt,Msh; |
| 447 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 448 | - | coroutine.wrap(function() |
| 448 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) |
| 449 | - | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then |
| 449 | + | |
| 450 | - | Prt = Manual |
| 450 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 451 | - | else |
| 451 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, math.rad(-2)), 0.1) |
| 452 | - | Prt = Part(Parent,Color,Material,Size,CFra,true,false) |
| 452 | + | |
| 453 | - | Prt.Shape = Shape |
| 453 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 454 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(90), 0, math.rad(2)), 0.1) | |
| 455 | - | if(typeof(MeshData) == 'table')then |
| 455 | + | |
| 456 | - | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) |
| 456 | + | |
| 457 | - | elseif(typeof(MeshData) == 'Instance')then |
| 457 | + | |
| 458 | - | Msh = MeshData:Clone() |
| 458 | + | if hum.MoveDirection.x == 0 then |
| 459 | - | Msh.Parent = Prt |
| 459 | + | idle = true |
| 460 | - | elseif(Shape == Enum.PartType.Block)then |
| 460 | + | |
| 461 | - | Msh = Mesh(Prt,Enum.MeshType.Brick) |
| 461 | + | idle1 = true |
| 462 | end | |
| 463 | - | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then |
| 463 | + | |
| 464 | - | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) |
| 464 | + | |
| 465 | ||
| 466 | - | if(Snd)then |
| 466 | + | |
| 467 | - | repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 |
| 467 | + | ---------------------------------------------------------------------------------- |
| 468 | - | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch |
| 468 | + | |
| 469 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
| 470 | - | Size = (Msh and Msh.Scale or Size) |
| 470 | + | if walking == true then |
| 471 | - | local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2) |
| 471 | + | if sprint == true then |
| 472 | if idle1 == true then | |
| 473 | - | local MoveSpeed = nil; |
| 473 | + | idle1 = false |
| 474 | - | if(MoveDir)then |
| 474 | + | |
| 475 | - | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames |
| 475 | + | idle = false |
| 476 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
| 477 | - | if(FX ~= 'Arc')then |
| 477 | + | for i = 1,8 do |
| 478 | - | for Frame = 1, Frames do |
| 478 | + | wait() |
| 479 | - | if(FX == "Fade")then |
| 479 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 480 | - | Prt.Transparency = (Frame/Frames) |
| 480 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(20)), 0.1) |
| 481 | - | elseif(FX == "Resize")then |
| 481 | + | |
| 482 | - | if(not Settings.EndSize)then |
| 482 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 483 | - | Settings.EndSize = V3.N(0,0,0) |
| 483 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-20)), 0.1) |
| 484 | end | |
| 485 | - | if(Settings.EndIsIncrement)then |
| 485 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 486 | - | if(Msh)then |
| 486 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.1) |
| 487 | - | Msh.Scale = Msh.Scale + Settings.EndSize |
| 487 | + | |
| 488 | - | else |
| 488 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 489 | - | Prt.Size = Prt.Size + Settings.EndSize |
| 489 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-2)), 0.1) |
| 490 | - | end |
| 490 | + | |
| 491 | - | else |
| 491 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 492 | - | if(Msh)then |
| 492 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-120), 0, math.rad(2)), 0.1) |
| 493 | - | Msh.Scale = Msh.Scale - grow/Frames |
| 493 | + | |
| 494 | - | else |
| 494 | + | |
| 495 | - | Prt.Size = Prt.Size - grow/Frames |
| 495 | + | |
| 496 | - | end |
| 496 | + | end |
| 497 | - | end |
| 497 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 498 | - | elseif(FX == "ResizeAndFade")then |
| 498 | + | for i = 1,8 do |
| 499 | - | if(not Settings.EndSize)then |
| 499 | + | wait() |
| 500 | - | Settings.EndSize = V3.N(0,0,0) |
| 500 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 501 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.1) | |
| 502 | - | if(Settings.EndIsIncrement)then |
| 502 | + | |
| 503 | - | if(Msh)then |
| 503 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 504 | - | Msh.Scale = Msh.Scale + Settings.EndSize |
| 504 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(-20)), 0.1) |
| 505 | - | else |
| 505 | + | |
| 506 | - | Prt.Size = Prt.Size + Settings.EndSize |
| 506 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 507 | - | end |
| 507 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.1) |
| 508 | - | else |
| 508 | + | |
| 509 | - | if(Msh)then |
| 509 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 510 | - | Msh.Scale = Msh.Scale - grow/Frames |
| 510 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-120), 0, math.rad(-2)), 0.1) |
| 511 | - | else |
| 511 | + | |
| 512 | - | Prt.Size = Prt.Size - grow/Frames |
| 512 | + | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then |
| 513 | - | end |
| 513 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(90), 0, math.rad(2)), 0.1) |
| 514 | - | end |
| 514 | + | |
| 515 | - | Prt.Transparency = (Frame/Frames) |
| 515 | + | |
| 516 | end | |
| 517 | - | if(Settings.RandomizeCFrame)then |
| 517 | + | |
| 518 | - | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) |
| 518 | + | if hum.MoveDirection.x == 0 then |
| 519 | idle = true | |
| 520 | - | if(MoveDir and MoveSpeed)then |
| 520 | + | |
| 521 | - | local Orientation = Prt.Orientation |
| 521 | + | idle1 = true |
| 522 | - | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) |
| 522 | + | |
| 523 | - | Prt.Orientation = Orientation |
| 523 | + | |
| 524 | end | |
| 525 | - | swait() |
| 525 | + | |
| 526 | ||
| 527 | - | Prt:destroy() |
| 527 | + | if deathchat1 == true then |
| 528 | - | else |
| 528 | + | char.Parent = workspace.Camera |
| 529 | - | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End |
| 529 | + | char.Archivable = true |
| 530 | - | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end |
| 530 | + | local c = p.Character:Clone() |
| 531 | - | if(start and endP)then |
| 531 | + | c:MakeJoints() |
| 532 | - | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) |
| 532 | + | for y,t in pairs(c:GetChildren()) do |
| 533 | - | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) |
| 533 | + | if t:IsA("Part") then
|
| 534 | - | for Frame = 0, 1, (Settings.Speed or 0.01) do |
| 534 | + | t.CanCollide = false |
| 535 | - | if(Settings.Home)then |
| 535 | + | t.Anchored = true |
| 536 | - | endP = Settings.Home.CFrame |
| 536 | + | t.BrickColor = BrickColor.new("Black")
|
| 537 | t.Transparency = 1 | |
| 538 | - | Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame) |
| 538 | + | |
| 539 | t.TopSurface = "Smooth" | |
| 540 | - | if(Settings.RemoveOnGoal)then |
| 540 | + | t.BottomSurface = "Smooth" |
| 541 | - | Prt:destroy() |
| 541 | + | t.RightSurface = "Smooth" |
| 542 | t.LeftSurface = "Smooth" | |
| 543 | - | else |
| 543 | + | t.FrontSurface = "Smooth" |
| 544 | - | Prt:destroy() |
| 544 | + | t.BackSurface = "Smooth" |
| 545 | - | assert(start,"You need a start position!") |
| 545 | + | |
| 546 | - | assert(endP,"You need a start position!") |
| 546 | + | |
| 547 | else | |
| 548 | t:Remove() | |
| 549 | - | end)() |
| 549 | + | |
| 550 | - | return Prt,Msh,Snd |
| 550 | + | |
| 551 | c.Parent = workspace | |
| 552 | game.Debris:AddItem(c,.05) | |
| 553 | end | |
| 554 | ||
| 555 | - | function SoulSteal(whom,human) |
| 555 | + | hum:SetStateEnabled("Dead",false)
|
| 556 | - | local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso') |
| 556 | + | hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false) |
| 557 | - | local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end) |
| 557 | + | if hum.Health < 5 and candie == true then |
| 558 | - | if(torso and torso:IsA'BasePart' and alive == true)then |
| 558 | + | hum.Name = "NOMOREDAMAGE" |
| 559 | - | whom:FindFirstChildOfClass'Humanoid'.Health = 0 |
| 559 | + | canheal = true |
| 560 | - | whom:BreakJoints() |
| 560 | + | done = false |
| 561 | - | local Model = IN("Model",Effects)
|
| 561 | + | |
| 562 | - | warn('Soul stolen from '..whom.Name)
|
| 562 | + | done = true |
| 563 | - | Model.Name = whom.Name.."'s Soul" |
| 563 | + | candie = false |
| 564 | - | local Soul = Part(Model,(human and BrickColor.new'Really red' or BrickColor.new(C3.N(1,1,1))),'Glass',V3.N(1,1,1),torso.CFrame,true,false) |
| 564 | + | dead = true |
| 565 | - | Soul.CanCollide=false |
| 565 | + | MegaloStrikesBack.Volume = 0 |
| 566 | - | Mesh(Soul,Enum.MeshType.Sphere) |
| 566 | + | refused:Play() |
| 567 | - | Soul.Name = 'Head' |
| 567 | + | |
| 568 | - | if(whom.Name == 'CKbackup')then |
| 568 | + | deathchat = true |
| 569 | - | Soul.Color = C3.N(1,1,1) |
| 569 | + | |
| 570 | - | local DripEmitter = NewInstance("ParticleEmitter",Soul,{EmissionDirection='Bottom',Color=CS(Soul.Color),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://243132757",Transparency=NumberSequence.new(0,1),LockedToPart=false,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(5)})
|
| 570 | + | if deathchat == true then |
| 571 | deathchat = false | |
| 572 | - | local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)})
|
| 572 | + | idle = false |
| 573 | - | local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)})
|
| 573 | + | |
| 574 | - | local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)})
|
| 574 | + | hed.face.Texture = "0" |
| 575 | - | local Trail = NewInstance("Trail",Soul,{Attachment0=AT0,Attachment1=AT1,Transparency=NumberSequence.new(0),FaceCamera = true,Texture="rbxassetid://945758042",LightEmission=.3,Color=CS(Soul.Color),Lifetime=.5,MinLength=0})
|
| 575 | + | if char:FindFirstChild("TalkingBillBoard")~= nil then
|
| 576 | - | NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)})
|
| 576 | + | char:FindFirstChild("TalkingBillBoard"):destroy()
|
| 577 | end | |
| 578 | - | local turdso = Soul:Clone() |
| 578 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
| 579 | - | turdso.Name = "Torso" |
| 579 | + | idle1 = false |
| 580 | - | turdso.CanCollide = false |
| 580 | + | canattack = false |
| 581 | - | turdso.Anchored = true |
| 581 | + | gothitdecal2 = Instance.new("Decal",torso)
|
| 582 | - | turdso.CFrame = Soul.CFrame |
| 582 | + | gothitdecal2.Texture = "http://www.roblox.com/asset/?id=318427241" |
| 583 | - | turdso.Parent = Model |
| 583 | + | gothitdecal2.Face = "Back" |
| 584 | - | turdso.Size = V3.N() |
| 584 | + | gothitdecal1 = Instance.new("Decal",torso)
|
| 585 | - | turdso.Transparency=1 |
| 585 | + | gothitdecal1.Texture = "http://www.roblox.com/asset/?id=318427241" |
| 586 | - | local Distance = math.huge |
| 586 | + | hed.Transparency = 1 |
| 587 | - | repeat |
| 587 | + | torso.Transparency = 1 |
| 588 | - | Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1) |
| 588 | + | larm.Transparency = 1 |
| 589 | - | turdso.CFrame = Soul.CFrame |
| 589 | + | rarm.Transparency = 1 |
| 590 | - | Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude |
| 590 | + | lovecounter = false |
| 591 | - | swait() |
| 591 | + | text.Text = "" |
| 592 | - | until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2 |
| 592 | + | |
| 593 | - | if(Soul.Parent and Hoom.Health > 0)then |
| 593 | + | lleg.Transparency = 1 |
| 594 | - | Model:destroy() |
| 594 | + | rleg.Transparency = 1 |
| 595 | - | Effect{
|
| 595 | + | handle.Transparency = 1 |
| 596 | - | Effect="ResizeAndFade", |
| 596 | + | Handle.Transparency = 1 |
| 597 | - | Mesh={Enum.MeshType.Sphere},
|
| 597 | + | blackhand.Transparency = 1 |
| 598 | - | Color = Soul.Color, |
| 598 | + | wait(1) |
| 599 | - | CFrame=Torso.CFrame, |
| 599 | + | refused:Stop() |
| 600 | - | Size=V3.N(3,3,3), |
| 600 | + | wait(2) |
| 601 | - | Material=Enum.Material.Neon, |
| 601 | + | |
| 602 | - | Sound={SoundId=444667859,Pitch=1,Volume=2.5},
|
| 602 | + | chatfunc("But It Refused")
|
| 603 | - | FXSettings={
|
| 603 | + | wait(1.5) |
| 604 | - | EndSize=V3.N(6,6,6), |
| 604 | + | candie = true |
| 605 | - | } |
| 605 | + | idle = true |
| 606 | - | } |
| 606 | + | idle1 = true |
| 607 | - | Souls = Souls + (human and 1 or .1) |
| 607 | + | hed.face.Texture = "http://www.roblox.com/asset/?id=871052201" |
| 608 | - | warn("Souls: "..Souls)
|
| 608 | + | canattack = true |
| 609 | - | MaxHealth = MaxHealth + Hoom.Health |
| 609 | + | lleg.Anchored = false |
| 610 | - | Hum.Health = Hum.Health + Hoom.Health |
| 610 | + | rleg.Anchored = false |
| 611 | - | for i = 1, 5 do |
| 611 | + | larm.Anchored = false |
| 612 | - | Effect{
|
| 612 | + | rarm.Anchored = false |
| 613 | - | Effect="Fade", |
| 613 | + | hed.Anchored = false |
| 614 | - | Color = Soul.Color, |
| 614 | + | torso.Anchored = false |
| 615 | - | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p |
| 615 | + | gothitdecal2:Destroy() |
| 616 | - | } |
| 616 | + | gothitdecal1:Destroy() |
| 617 | for i = 1,10 do | |
| 618 | - | else |
| 618 | + | wait() |
| 619 | hed.Transparency = hed.Transparency - 0.1 | |
| 620 | - | warn("Soul destroyed!")
|
| 620 | + | torso.Transparency = torso.Transparency - 0.1 |
| 621 | - | for i = 1, 5 do |
| 621 | + | larm.Transparency = larm.Transparency - 0.1 |
| 622 | - | Effect{
|
| 622 | + | rarm.Transparency = rarm.Transparency - 0.1 |
| 623 | - | Effect="Fade", |
| 623 | + | lleg.Transparency = lleg.Transparency - 0.1 |
| 624 | - | Color = Soul.Color, |
| 624 | + | rleg.Transparency = rleg.Transparency - 0.1 |
| 625 | - | CFrame=Soul.CFrame, |
| 625 | + | handle.Transparency = handle.Transparency - 0.1 |
| 626 | - | MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p |
| 626 | + | Handle.Transparency = Handle.Transparency - 0.1 |
| 627 | - | } |
| 627 | + | blackhand.Transparency = blackhand.Transparency - 0.1 |
| 628 | end | |
| 629 | - | Effect{
|
| 629 | + | lovecounter = true |
| 630 | - | Effect="ResizeAndFade", |
| 630 | + | dead = false |
| 631 | - | Mesh={Enum.MeshType.Sphere},
|
| 631 | + | deathchat1 = false |
| 632 | - | Sound={SoundId=444667859,Pitch=1,Volume=5},
|
| 632 | + | canheal = false |
| 633 | - | Color = Soul.Color, |
| 633 | + | hum.Health = 100 |
| 634 | - | CFrame=Soul.CFrame, |
| 634 | + | |
| 635 | - | Size=V3.N(3,3,3), |
| 635 | + | MegaloStrikesBack.Volume = 50 |
| 636 | - | Material=Enum.Material.Neon, |
| 636 | + | wait(1) |
| 637 | - | FXSettings={
|
| 637 | + | hum.Name = "Humanoid" |
| 638 | - | EndSize=V3.N(6,6,6), |
| 638 | + | |
| 639 | - | } |
| 639 | + | |
| 640 | - | } |
| 640 | + | |
| 641 | - | Model:destroy() |
| 641 | + | |
| 642 | ||
| 643 | ||
| 644 | ||
| 645 | if canheal == true then | |
| 646 | - | --// Other Functions \\ -- |
| 646 | + | |
| 647 | hum.Health = math.huge | |
| 648 | - | function getRegion(point,range,ignore) |
| 648 | + | |
| 649 | - | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) |
| 649 | + | |
| 650 | ||
| 651 | if lovecounter == true then | |
| 652 | - | function clerp(startCF,endCF,alpha) |
| 652 | + | text.Text = "Dust Sans LV "..love |
| 653 | - | return startCF:lerp(endCF, alpha) |
| 653 | + | |
| 654 | end) | |
| 655 | ||
| 656 | - | function GetTorso(char) |
| 656 | + | game.Players.CharacterAutoLoads = false |
| 657 | - | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' |
| 657 | + | |
| 658 | ||
| 659 | ||
| 660 | - | function ShowDamage(Pos, Text, Time, Color) |
| 660 | + | |
| 661 | - | coroutine.wrap(function() |
| 661 | + | hed.Transparency = 0 |
| 662 | - | local Rate = (1 / Frame_Speed) |
| 662 | + | torso.Transparency = 0 |
| 663 | - | local Pos = (Pos or Vector3.new(0, 0, 0)) |
| 663 | + | larm.Transparency = 0 |
| 664 | - | local Text = (Text or "") |
| 664 | + | rarm.Transparency = 0 |
| 665 | - | local Time = (Time or 2) |
| 665 | + | lleg.Transparency = 0 |
| 666 | - | local Color = (Color or Color3.new(1, 0, 1)) |
| 666 | + | rleg.Transparency = 0 |
| 667 | - | local EffectPart = NewInstance("Part",Effects,{
|
| 667 | + | handle.Transparency = 0 |
| 668 | - | Material=Enum.Material.SmoothPlastic, |
| 668 | + | Handle.Transparency = 0 |
| 669 | - | Reflectance = 0, |
| 669 | + | |
| 670 | - | Transparency = 1, |
| 670 | + | |
| 671 | - | BrickColor = BrickColor.new(Color), |
| 671 | + | idle = false |
| 672 | - | Name = "Effect", |
| 672 | + | walking = false |
| 673 | - | Size = Vector3.new(0,0,0), |
| 673 | + | soul1 = Instance.new("Part",char)
|
| 674 | - | Anchored = true, |
| 674 | + | soul1.Shape = "Ball" |
| 675 | - | CFrame = CF.N(Pos) |
| 675 | + | soul1.Material = "Neon" |
| 676 | - | }) |
| 676 | + | soul1.BrickColor = BrickColor.new("Really blue")
|
| 677 | - | local BillboardGui = NewInstance("BillboardGui",EffectPart,{
|
| 677 | + | soul1.Size = Vector3.new(1,1,1) |
| 678 | - | Size = UDim2.new(1.25, 0, 1.25, 0), |
| 678 | + | soul1.Transparency = 0.5 |
| 679 | - | Adornee = EffectPart, |
| 679 | + | soul1weld = Instance.new("Weld",soul1)
|
| 680 | - | }) |
| 680 | + | soul1weld.Part0 = torso |
| 681 | - | local TextLabel = NewInstance("TextLabel",BillboardGui,{
|
| 681 | + | soul1weld.Part1 = soul1 |
| 682 | - | BackgroundTransparency = 1, |
| 682 | + | soul1weld.C0 = CFrame.new(4,2,0) |
| 683 | - | Size = UDim2.new(1, 0, 1, 0), |
| 683 | + | soul2 = Instance.new("Part",char)
|
| 684 | - | Text = Text, |
| 684 | + | soul2.Shape = "Ball" |
| 685 | - | Font = "Arcade", |
| 685 | + | soul2.Material = "Neon" |
| 686 | - | TextColor3 = Color, |
| 686 | + | soul2.Transparency = 0.5 |
| 687 | - | TextStrokeColor3 = Color3.new(0,0,0), |
| 687 | + | soul2.BrickColor = BrickColor.new("Bright green")
|
| 688 | - | TextStrokeTransparency=0, |
| 688 | + | soul2.Size = Vector3.new(1,1,1) |
| 689 | - | TextScaled = true, |
| 689 | + | soul2weld = Instance.new("Weld",soul2)
|
| 690 | - | }) |
| 690 | + | soul2weld.Part0 = torso |
| 691 | - | S.Debris:AddItem(EffectPart, (Time)) |
| 691 | + | soul2weld.Part1 = soul2 |
| 692 | - | EffectPart.Parent = workspace |
| 692 | + | soul2weld.C0 = CFrame.new(5,2,0) |
| 693 | - | delay(0, function() |
| 693 | + | soul3 = Instance.new("Part",char)
|
| 694 | - | Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
|
| 694 | + | soul3.Shape = "Ball" |
| 695 | - | local Frames = (Time / Rate) |
| 695 | + | soul3.Transparency = 0.5 |
| 696 | - | for Frame = 1, Frames do |
| 696 | + | soul3.Material = "Neon" |
| 697 | - | swait() |
| 697 | + | soul3.BrickColor = BrickColor.new("Toothpaste")
|
| 698 | - | local Percent = (Frame / Frames) |
| 698 | + | soul3.Size = Vector3.new(1,1,1) |
| 699 | - | TextLabel.TextTransparency = Percent |
| 699 | + | soul3weld = Instance.new("Weld",soul3)
|
| 700 | - | TextLabel.TextStrokeTransparency = Percent |
| 700 | + | soul3weld.Part0 = torso |
| 701 | soul3weld.Part1 = soul3 | |
| 702 | - | if EffectPart and EffectPart.Parent then |
| 702 | + | soul3weld.C0 = CFrame.new(6,2,0) |
| 703 | - | EffectPart:Destroy() |
| 703 | + | soul4 = Instance.new("Part",char)
|
| 704 | soul4.Shape = "Ball" | |
| 705 | - | end) end)() |
| 705 | + | soul4.Transparency = 0.5 |
| 706 | soul4.Material = "Neon" | |
| 707 | soul4.BrickColor = BrickColor.new("New Yeller")
| |
| 708 | - | function Kill(whom) |
| 708 | + | soul4.Size = Vector3.new(1,1,1) |
| 709 | - | if(whom.Name ~= 'Nebula_Zorua')then |
| 709 | + | soul4weld = Instance.new("Weld",soul4)
|
| 710 | - | local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil |
| 710 | + | soul4weld.Part0 = torso |
| 711 | - | coroutine.wrap(SoulSteal)(whom,isPlr) |
| 711 | + | soul4weld.Part1 = soul4 |
| 712 | - | for _,v in next, whom:children() do |
| 712 | + | soul4weld.C0 = CFrame.new(4,-1,0) |
| 713 | - | if(v:IsA'BasePart')then |
| 713 | + | soul5 = Instance.new("Part",char)
|
| 714 | - | v.Parent = Effects |
| 714 | + | soul5.Shape = "Ball" |
| 715 | - | v:ClearAllChildren() |
| 715 | + | soul5.Material = "Neon" |
| 716 | - | v.Anchored = true |
| 716 | + | soul5.Transparency = 0.5 |
| 717 | - | v.CanCollide = false |
| 717 | + | soul5.BrickColor = BrickColor.new("Magenta")
|
| 718 | - | v.Transparency = 1 |
| 718 | + | soul5.Size = Vector3.new(1,1,1) |
| 719 | - | local dust = NewInstance("ParticleEmitter",v,{
|
| 719 | + | soul5weld = Instance.new("Weld",soul5)
|
| 720 | - | Color = ColorSequence.new(C3.N(1,1,1)), |
| 720 | + | soul5weld.Part0 = torso |
| 721 | - | LightEmission=0, |
| 721 | + | soul5weld.Part1 = soul5 |
| 722 | - | LightInfluence=1, |
| 722 | + | soul5weld.C0 = CFrame.new(5,-1,0) |
| 723 | - | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)},
|
| 723 | + | soul6 = Instance.new("Part",char)
|
| 724 | - | Texture="rbxassetid://284205403", |
| 724 | + | soul6.Shape = "Ball" |
| 725 | - | Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
|
| 725 | + | soul6.Transparency = 0.5 |
| 726 | - | Lifetime = NumberRange.new(1), |
| 726 | + | soul6.Material = "Neon" |
| 727 | - | Rate=150, |
| 727 | + | soul6.BrickColor = BrickColor.new("Deep orange")
|
| 728 | - | Acceleration = V3.N(0,10,0), |
| 728 | + | soul6.Size = Vector3.new(1,1,1) |
| 729 | - | Speed = NumberRange.new(5), |
| 729 | + | soul6weld = Instance.new("Weld",soul6)
|
| 730 | - | Enabled = true |
| 730 | + | soul6weld.Part0 = torso |
| 731 | - | }) |
| 731 | + | soul6weld.Part1 = soul6 |
| 732 | - | delay(1, function() |
| 732 | + | soul6weld.C0 = CFrame.new(6,-1,0) |
| 733 | - | dust.Enabled = false |
| 733 | + | soul1s = Instance.new("Part",char)
|
| 734 | - | S.Debris:AddItem(v,2) |
| 734 | + | soul1s.Shape = "Ball" |
| 735 | - | end) |
| 735 | + | soul1s.Material = "Neon" |
| 736 | soul1s.BrickColor = BrickColor.new("White")
| |
| 737 | soul1s.Size = Vector3.new(0.9,0.9,0.9) | |
| 738 | - | else |
| 738 | + | soul1s.Transparency = 0.2 |
| 739 | - | warn"nope. nawt happenin'" |
| 739 | + | soul1sweld = Instance.new("Weld",soul1s)
|
| 740 | soul1sweld.Part0 = torso | |
| 741 | soul1sweld.Part1 = soul1s | |
| 742 | soul1sweld.C0 = CFrame.new(4,2,0) | |
| 743 | - | function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult) |
| 743 | + | soul2s = Instance.new("Part",char)
|
| 744 | - | if(who)then |
| 744 | + | soul2s.Shape = "Ball" |
| 745 | - | local hum = who:FindFirstChildOfClass'Humanoid' |
| 745 | + | soul2s.Material = "Neon" |
| 746 | - | local Damage = M.RNG(minDam,maxDam) |
| 746 | + | soul2s.Transparency = 0.2 |
| 747 | - | local canHit = true |
| 747 | + | soul2s.BrickColor = BrickColor.new("White")
|
| 748 | - | if(hum)then |
| 748 | + | soul2s.Size = Vector3.new(0.9,0.9,0.9) |
| 749 | - | for _, p in pairs(Hit) do |
| 749 | + | soul2sweld = Instance.new("Weld",soul2s)
|
| 750 | - | if p[1] == hum then |
| 750 | + | soul2sweld.Part0 = torso |
| 751 | - | if(time() - p[2] < 0.4) then |
| 751 | + | soul2sweld.Part1 = soul2s |
| 752 | - | canHit = false |
| 752 | + | soul2sweld.C0 = CFrame.new(5,2,0) |
| 753 | - | else |
| 753 | + | soul3s = Instance.new("Part",char)
|
| 754 | - | Hit[_] = nil |
| 754 | + | soul3s.Shape = "Ball" |
| 755 | soul3s.Material = "Neon" | |
| 756 | soul3s.Transparency = 0.2 | |
| 757 | soul3s.BrickColor = BrickColor.new("White")
| |
| 758 | - | if(canHit)then |
| 758 | + | soul3s.Size = Vector3.new(0.9,0.9,0.9) |
| 759 | - | table.insert(Hit,{hum,time()})
|
| 759 | + | soul3sweld = Instance.new("Weld",soul3s)
|
| 760 | - | if(GetTorso(who))then |
| 760 | + | soul3sweld.Part0 = torso |
| 761 | - | Sound(GetTorso(who),406913243,1,10,false,true,true) |
| 761 | + | soul3sweld.Part1 = soul3s |
| 762 | soul3sweld.C0 = CFrame.new(6,2,0) | |
| 763 | - | if(hum.Health >= math.huge)then |
| 763 | + | soul4s = Instance.new("Part",char)
|
| 764 | - | Kill(who) |
| 764 | + | soul4s.Shape = "Ball" |
| 765 | - | if(who:FindFirstChild'Head' and hum.Health > 0)then |
| 765 | + | soul4s.Material = "Neon" |
| 766 | - | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 3, DamageColor.Color) |
| 766 | + | soul4s.Transparency = 0.2 |
| 767 | soul4s.BrickColor = BrickColor.new("White")
| |
| 768 | soul4s.Material = "Neon" | |
| 769 | - | local player = S.Players:GetPlayerFromCharacter(who) |
| 769 | + | soul4s.Size = Vector3.new(0.9,0.9,0.9) |
| 770 | - | if(Type == "Fire")then |
| 770 | + | soul4sweld = Instance.new("Weld",soul4s)
|
| 771 | - | --idk.. |
| 771 | + | soul4sweld.Part0 = torso |
| 772 | - | else |
| 772 | + | soul4sweld.Part1 = soul4s |
| 773 | - | local c = Instance.new("ObjectValue",hum)
|
| 773 | + | soul4sweld.C0 = CFrame.new(4,-1,0) |
| 774 | - | c.Name = "creator" |
| 774 | + | soul5s = Instance.new("Part",char)
|
| 775 | - | c.Value = Plr |
| 775 | + | soul5s.Shape = "Ball" |
| 776 | - | game:service'Debris':AddItem(c,0.35) |
| 776 | + | soul5s.Transparency = 0.2 |
| 777 | - | local Crit = false |
| 777 | + | soul5s.BrickColor = BrickColor.new("White")
|
| 778 | - | if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then |
| 778 | + | soul5s.Size = Vector3.new(0.9,0.9,0.9) |
| 779 | - | Crit = true |
| 779 | + | soul5s.Material = "Neon" |
| 780 | - | Damage = Damage*(critMult or 2) |
| 780 | + | soul5sweld = Instance.new("Weld",soul5s)
|
| 781 | - | end |
| 781 | + | soul5sweld.Part0 = torso |
| 782 | - | Damage = Damage*((Souls/5)+1) |
| 782 | + | soul5sweld.Part1 = soul5s |
| 783 | - | if(who:FindFirstChild'Head' and hum.Health > 0)then |
| 783 | + | soul5sweld.C0 = CFrame.new(5,-1,0) |
| 784 | - | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), (Crit and "[CRIT] " or "").. math.floor(Damage), 3, (Crit and BrickColor.new'New Yeller'.Color or DamageColor.Color)) |
| 784 | + | soul6s = Instance.new("Part",char)
|
| 785 | - | end |
| 785 | + | soul6s.Shape = "Ball" |
| 786 | - | |
| 786 | + | soul6s.Material = "Neon" |
| 787 | - | if(hum.Health - Damage <= 0)then |
| 787 | + | soul6s.Transparency = 0.2 |
| 788 | - | Kill(who) |
| 788 | + | soul6s.BrickColor = BrickColor.new("White")
|
| 789 | - | else |
| 789 | + | soul6s.Size = Vector3.new(0.9,0.9,0.9) |
| 790 | - | hum.Health = hum.Health - Damage |
| 790 | + | soul6sweld = Instance.new("Weld",soul6s)
|
| 791 | - | if(Type == 'Knockback' and GetTorso(who))then |
| 791 | + | soul6sweld.Part0 = torso |
| 792 | - | local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit |
| 792 | + | soul6sweld.Part1 = soul6s |
| 793 | - | local body = NewInstance('BodyVelocity',GetTorso(who),{
|
| 793 | + | soul6sweld.C0 = CFrame.new(6,-1,0) |
| 794 | - | P = 500, |
| 794 | + | |
| 795 | - | maxForce = V3.N(math.huge,0,math.huge), |
| 795 | + | chatfunc("This...")
|
| 796 | - | velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05 |
| 796 | + | wait(2) |
| 797 | - | }) |
| 797 | + | chatfunc("Is all ur fault...")
|
| 798 | - | game:service'Debris':AddItem(body,.5) |
| 798 | + | wait(2) |
| 799 | - | elseif(Type == "Electric")then |
| 799 | + | |
| 800 | - | if(M.RNG(1,100) >= critChance)then |
| 800 | + | chatfunc("...")
|
| 801 | - | if(who:FindFirstChild'Head' and hum.Health > 0)then |
| 801 | + | Weldb.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(-3, 0, 0) |
| 802 | - | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 3, BrickColor.new"New Yeller".Color) |
| 802 | + | for i = 1,100 do |
| 803 | - | end |
| 803 | + | wait() |
| 804 | - | local asd = hum.WalkSpeed/2 |
| 804 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.01) |
| 805 | - | hum.WalkSpeed = asd |
| 805 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-180),math.rad(0),math.rad(-200)), 0.01) |
| 806 | - | local paralyzed = true |
| 806 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.01) |
| 807 | - | coroutine.wrap(function() |
| 807 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-4)), 0.01) |
| 808 | - | while paralyzed do |
| 808 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(4)), 0.01) |
| 809 | - | swait(25) |
| 809 | + | |
| 810 | - | if(M.RNG(1,25) == 1)then |
| 810 | + | |
| 811 | - | if(who:FindFirstChild'Head' and hum.Health > 0)then |
| 811 | + | chatfunc("...")
|
| 812 | - | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 3, BrickColor.new"New Yeller".Color) |
| 812 | + | |
| 813 | - | end |
| 813 | + | for i = 1,10 do |
| 814 | - | hum.PlatformStand = true |
| 814 | + | wait(0.04) |
| 815 | - | end |
| 815 | + | soul1weld.C0 = soul1weld.C0 - Vector3.new(0.45,0.14,0) |
| 816 | - | end |
| 816 | + | soul2weld.C0 = soul2weld.C0 - Vector3.new(0.5,0.14,0) |
| 817 | - | end)() |
| 817 | + | soul3weld.C0 = soul3weld.C0 - Vector3.new(0.6,0.14,0) |
| 818 | - | delay(4, function() |
| 818 | + | soul4weld.C0 = soul4weld.C0 - Vector3.new(0.45,-0.1,0) |
| 819 | - | paralyzed = false |
| 819 | + | soul5weld.C0 = soul5weld.C0 - Vector3.new(0.5,-0.1,0) |
| 820 | - | hum.WalkSpeed = hum.WalkSpeed + asd |
| 820 | + | soul6weld.C0 = soul6weld.C0 - Vector3.new(0.6,-0.1,0) |
| 821 | - | end) |
| 821 | + | soul1sweld.C0 = soul1sweld.C0 - Vector3.new(0.45,0.14,0) |
| 822 | - | end |
| 822 | + | soul2sweld.C0 = soul2sweld.C0 - Vector3.new(0.5,0.14,0) |
| 823 | - | |
| 823 | + | soul3sweld.C0 = soul3sweld.C0 - Vector3.new(0.6,0.14,0) |
| 824 | - | elseif(Type == 'Knockdown' and GetTorso(who))then |
| 824 | + | soul4sweld.C0 = soul4sweld.C0 - Vector3.new(0.45,-0.1,0) |
| 825 | - | local rek = GetTorso(who) |
| 825 | + | soul5sweld.C0 = soul5sweld.C0 - Vector3.new(0.5,-0.1,0) |
| 826 | - | hum.PlatformStand = true |
| 826 | + | soul6sweld.C0 = soul6sweld.C0 - Vector3.new(0.6,-0.1,0) |
| 827 | - | delay(1,function() |
| 827 | + | |
| 828 | - | hum.PlatformStand = false |
| 828 | + | |
| 829 | - | end) |
| 829 | + | |
| 830 | - | local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit |
| 830 | + | soul1d = Instance.new("Part",char)
|
| 831 | - | local bodvol = NewInstance("BodyVelocity",rek,{
|
| 831 | + | soul1d.Shape = "Ball" |
| 832 | - | velocity = angle * Knock, |
| 832 | + | soul1d.Material = "Neon" |
| 833 | - | P = 5000, |
| 833 | + | soul1d.BrickColor = BrickColor.new("Really blue")
|
| 834 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
| 834 | + | soul1d.Size = Vector3.new(1,1,1) |
| 835 | - | }) |
| 835 | + | soul1d.Transparency = 0.5 |
| 836 | - | local rl = NewInstance("BodyAngularVelocity",rek,{
|
| 836 | + | soul1dweld = Instance.new("Weld",soul1d)
|
| 837 | - | P = 3000, |
| 837 | + | soul1dweld.Part0 = torso |
| 838 | - | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
| 838 | + | soul1dweld.Part1 = soul1d |
| 839 | - | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
| 839 | + | soul1dweld.C0 = CFrame.new(0,0,0) |
| 840 | - | }) |
| 840 | + | soul2d = Instance.new("Part",char)
|
| 841 | - | game:GetService("Debris"):AddItem(bodvol, .5)
|
| 841 | + | soul2d.Shape = "Ball" |
| 842 | - | game:GetService("Debris"):AddItem(rl, .5)
|
| 842 | + | soul2d.Material = "Neon" |
| 843 | - | end |
| 843 | + | soul2d.Transparency = 0.5 |
| 844 | - | end |
| 844 | + | soul2d.BrickColor = BrickColor.new("Bright green")
|
| 845 | soul2d.Size = Vector3.new(1,1,1) | |
| 846 | soul2dweld = Instance.new("Weld",soul2d)
| |
| 847 | soul2dweld.Part0 = torso | |
| 848 | soul2dweld.Part1 = soul2d | |
| 849 | soul2dweld.C0 = CFrame.new(0,0,0) | |
| 850 | soul3d = Instance.new("Part",char)
| |
| 851 | soul3d.Shape = "Ball" | |
| 852 | soul3d.Transparency = 0.5 | |
| 853 | - | function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult) |
| 853 | + | soul3d.Material = "Neon" |
| 854 | - | for _,v in next, getRegion(where,range,{Char}) do
|
| 854 | + | soul3d.BrickColor = BrickColor.new("Toothpaste")
|
| 855 | - | if(v.Name ~= 'Nebula_Zorua')then |
| 855 | + | soul3d.Size = Vector3.new(1,1,1) |
| 856 | - | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then |
| 856 | + | soul3dweld = Instance.new("Weld",soul3d)
|
| 857 | - | DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult) |
| 857 | + | soul3dweld.Part0 = torso |
| 858 | soul3dweld.Part1 = soul3d | |
| 859 | soul3dweld.C0 = CFrame.new(0,0,0) | |
| 860 | soul4d = Instance.new("Part",char)
| |
| 861 | soul4d.Shape = "Ball" | |
| 862 | soul4d.Transparency = 0.5 | |
| 863 | - | function AOEKill(where,range) |
| 863 | + | soul4d.Material = "Neon" |
| 864 | - | for _,v in next, getRegion(where,range,{Char,Effects}) do
|
| 864 | + | soul4d.BrickColor = BrickColor.new("New Yeller")
|
| 865 | - | local succ,alive = pcall(function() return v.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 end) |
| 865 | + | soul4d.Size = Vector3.new(1,1,1) |
| 866 | - | if(v.Name ~= 'Nebula_Zorua')then |
| 866 | + | soul4dweld = Instance.new("Weld",soul4d)
|
| 867 | - | if(v.Parent and alive == true)then |
| 867 | + | soul4dweld.Part0 = torso |
| 868 | - | coroutine.wrap(Kill)(v.Parent) |
| 868 | + | soul4dweld.Part1 = soul4d |
| 869 | soul4dweld.C0 = CFrame.new(0,0,0) | |
| 870 | soul5d = Instance.new("Part",char)
| |
| 871 | soul5d.Shape = "Ball" | |
| 872 | soul5d.Material = "Neon" | |
| 873 | soul5d.Transparency = 0.5 | |
| 874 | - | function AOEHeal(where,range,amount) |
| 874 | + | soul5d.BrickColor = BrickColor.new("Magenta")
|
| 875 | - | local healed = {}
|
| 875 | + | soul5d.Size = Vector3.new(1,1,1) |
| 876 | - | for _,v in next, getRegion(where,range,{Char}) do
|
| 876 | + | soul5dweld = Instance.new("Weld",soul5d)
|
| 877 | - | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) |
| 877 | + | soul5dweld.Part0 = torso |
| 878 | - | if(hum and not healed[hum])then |
| 878 | + | soul5dweld.Part1 = soul5d |
| 879 | - | hum.Health = hum.Health + amount |
| 879 | + | soul5dweld.C0 = CFrame.new(0,0,0) |
| 880 | - | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then |
| 880 | + | soul6d = Instance.new("Part",char)
|
| 881 | - | ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color) |
| 881 | + | soul6d.Shape = "Ball" |
| 882 | soul6d.Transparency = 0.5 | |
| 883 | soul6d.Material = "Neon" | |
| 884 | soul6d.BrickColor = BrickColor.new("Deep orange")
| |
| 885 | soul6d.Size = Vector3.new(1,1,1) | |
| 886 | soul6dweld = Instance.new("Weld",soul6d)
| |
| 887 | soul6dweld.Part0 = torso | |
| 888 | - | --// Attack Functions \\-- |
| 888 | + | soul6dweld.Part1 = soul6d |
| 889 | soul6dweld.C0 = CFrame.new(0,0,0) | |
| 890 | soul1sd = Instance.new("Part",char)
| |
| 891 | - | function Slash() |
| 891 | + | soul1sd.Shape = "Ball" |
| 892 | - | Attack = true |
| 892 | + | soul1sd.Material = "Neon" |
| 893 | - | NeutralAnims = false |
| 893 | + | soul1sd.BrickColor = BrickColor.new("White")
|
| 894 | - | local sound = Sound(Knife,437475935,1,5,false,true,false) |
| 894 | + | soul1sd.Size = Vector3.new(0.9,0.9,0.9) |
| 895 | - | for i = 0, 2, 0.1 do |
| 895 | + | soul1sd.Transparency = 0.2 |
| 896 | - | swait() |
| 896 | + | soul1sdweld = Instance.new("Weld",soul1sd)
|
| 897 | - | local Alpha = .2 |
| 897 | + | soul1sdweld.Part0 = torso |
| 898 | - | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0343287587, 0.00629056804, 0.0572580174, 0.943793893, 0.00207689893, 0.330528289, 1.0000764e-06, 0.99998033, -0.00628630351, -0.330534875, 0.00593330665, 0.943775296),Alpha) |
| 898 | + | soul1sdweld.Part1 = soul1sd |
| 899 | - | LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.021652732, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha) |
| 899 | + | soul1sdweld.C0 = CFrame.new(0,0,0) |
| 900 | - | RH.C0 = clerp(RH.C0,CFrame.new(0.498511612, -0.990985274, 0.0154910646, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha) |
| 900 | + | soul2sd = Instance.new("Part",char)
|
| 901 | - | LS.C0 = clerp(LS.C0,CFrame.new(-1.32692134, 0.474511296, -0.0055731535, 0.934981823, 0.354351997, 0.0156129003, -0.354479939, 0.93504262, 0.00628374517, -0.0123721063, -0.0114096552, 0.999858379),Alpha) |
| 901 | + | soul2sd.Shape = "Ball" |
| 902 | - | RS.C0 = clerp(RS.C0,CFrame.new(1.12629449, 0.369358033, -0.486052871, 0.490151912, 0.65154773, 0.57899636, 0.721657813, 0.0691910982, -0.688783586, -0.488836735, 0.755445719, -0.436280251),Alpha) |
| 902 | + | soul2sd.Material = "Neon" |
| 903 | - | NK.C0 = clerp(NK.C0,CFrame.new(-0.0118216109, 1.49854016, -0.0795068145, 0.943793833, 0.0190048125, -0.329988182, 0.00207654224, 0.997985244, 0.0634154305, 0.330528468, -0.0605363287, 0.94185257),Alpha) |
| 903 | + | soul2sd.Transparency = 0.2 |
| 904 | - | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) |
| 904 | + | soul2sd.BrickColor = BrickColor.new("White")
|
| 905 | soul2sd.Size = Vector3.new(0.9,0.9,0.9) | |
| 906 | - | KTrail.Enabled = true |
| 906 | + | soul2sdweld = Instance.new("Weld",soul2sd)
|
| 907 | - | sound:Play() |
| 907 | + | soul2sdweld.Part0 = torso |
| 908 | - | for i = 0, 2.5, 0.1 do |
| 908 | + | soul2sdweld.Part1 = soul2sd |
| 909 | - | swait() |
| 909 | + | soul2sdweld.C0 = CFrame.new(0,0,0) |
| 910 | - | AOEDamage(Knife.CFrame.p,1,15,30,0,"Normal",0,1) |
| 910 | + | soul3sd = Instance.new("Part",char)
|
| 911 | - | local Alpha = .25 |
| 911 | + | soul3sd.Shape = "Ball" |
| 912 | - | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0352100767, 0.00629066909, -0.0097481478, 0.817972422, -0.00361463916, -0.575246274, -1.74103582e-06, 0.99998033, -0.00628598873, 0.575257719, 0.00514276745, 0.817956269),Alpha) |
| 912 | + | soul3sd.Material = "Neon" |
| 913 | - | LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.0216572341, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha) |
| 913 | + | soul3sd.Transparency = 0.2 |
| 914 | - | RH.C0 = clerp(RH.C0,CFrame.new(0.498511702, -0.990985274, 0.0154905058, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha) |
| 914 | + | soul3sd.BrickColor = BrickColor.new("White")
|
| 915 | - | LS.C0 = clerp(LS.C0,CFrame.new(-1.32694602, 0.474510223, -0.00555660389, 0.934981823, 0.354351729, 0.0156157613, -0.354479671, 0.935042739, 0.00628153514, -0.012375474, -0.0114085823, 0.999858379),Alpha) |
| 915 | + | soul3sd.Size = Vector3.new(0.9,0.9,0.9) |
| 916 | - | RS.C0 = clerp(RS.C0,CFrame.new(1.23906493, 0.406229913, 0.00231830776, 0.49015066, -0.849889755, 0.193494052, 0.721655607, 0.520183682, 0.456752002, -0.488841236, -0.0842411816, 0.868295968),Alpha) |
| 916 | + | soul3sdweld = Instance.new("Weld",soul3sd)
|
| 917 | - | NK.C0 = clerp(NK.C0,CFrame.new(0.0315471888, 1.49887729, -0.0257819965, 0.817972481, -0.0330747738, 0.574305832, -0.00361499586, 0.998030663, 0.0626262054, -0.575246155, -0.0533026271, 0.81624186),Alpha) |
| 917 | + | soul3sdweld.Part0 = torso |
| 918 | - | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) |
| 918 | + | soul3sdweld.Part1 = soul3sd |
| 919 | soul3sdweld.C0 = CFrame.new(0,0,0) | |
| 920 | - | KTrail.Enabled = false |
| 920 | + | soul4sd = Instance.new("Part",char)
|
| 921 | - | Attack = false |
| 921 | + | soul4sd.Shape = "Ball" |
| 922 | - | NeutralAnims = true |
| 922 | + | soul4sd.Material = "Neon" |
| 923 | soul4sd.Transparency = 0.2 | |
| 924 | soul4sd.BrickColor = BrickColor.new("White")
| |
| 925 | - | Mouse.Button1Down:connect(function() |
| 925 | + | soul4sd.Material = "Neon" |
| 926 | - | if(Attack)then return end |
| 926 | + | soul4sd.Size = Vector3.new(0.9,0.9,0.9) |
| 927 | - | Slash() |
| 927 | + | soul4dsweld = Instance.new("Weld",soul4sd)
|
| 928 | soul4dsweld.Part0 = torso | |
| 929 | soul4dsweld.Part1 = soul4sd | |
| 930 | - | Mouse.KeyDown:connect(function(k) |
| 930 | + | soul4dsweld.C0 = CFrame.new(0,0,0) |
| 931 | - | if(Attack)then return end |
| 931 | + | soul5sd = Instance.new("Part",char)
|
| 932 | - | if(k == 'z')then AOEKill(Root.CFrame.p,25) end -- TODO: Animation and effects |
| 932 | + | soul5sd.Shape = "Ball" |
| 933 | - | if(k == 'q')then WalkSpeed = (WalkSpeed == 8 and 32 or 8) end |
| 933 | + | soul5sd.Transparency = 0.2 |
| 934 | soul5sd.BrickColor = BrickColor.new("White")
| |
| 935 | soul5sd.Size = Vector3.new(0.9,0.9,0.9) | |
| 936 | soul5sd.Material = "Neon" | |
| 937 | - | function Refuse() |
| 937 | + | soul5sdweld = Instance.new("Weld",soul5sd)
|
| 938 | - | Attack = true |
| 938 | + | soul5sdweld.Part0 = torso |
| 939 | - | warn("B u t i t r e f u s e d.")
|
| 939 | + | soul5sdweld.Part1 = soul5sd |
| 940 | - | local oMH = MaxHealth |
| 940 | + | soul5sdweld.C0 = CFrame.new(0,0,0) |
| 941 | - | MaxHealth = "inf" |
| 941 | + | soul6sd = Instance.new("Part",char)
|
| 942 | - | Hum.MaxHealth = "inf" |
| 942 | + | soul6sd.Shape = "Ball" |
| 943 | - | Hum.Health = "inf" |
| 943 | + | soul6sd.Material = "Neon" |
| 944 | - | Char.Parent = nil |
| 944 | + | soul6sd.Transparency = 0.2 |
| 945 | - | Hum:destroy() |
| 945 | + | soul6sd.BrickColor = BrickColor.new("White")
|
| 946 | - | if(not _G.RefusedAnimation)then |
| 946 | + | soul6sd.Size = Vector3.new(0.9,0.9,0.9) |
| 947 | - | _G.RefusedAnimation = true |
| 947 | + | soul6sdweld = Instance.new("Weld",soul6sd)
|
| 948 | soul6sdweld.Part0 = torso | |
| 949 | soul6sdweld.Part1 = soul6sd | |
| 950 | - | local Soul; |
| 950 | + | soul6sdweld.C0 = CFrame.new(0,0,0) |
| 951 | - | function Soul(where,decalId) |
| 951 | + | |
| 952 | - | local destroy = false |
| 952 | + | |
| 953 | - | local soul = NewInstance("Part",workspace)
|
| 953 | + | soul1mesh = Instance.new("SpecialMesh",soul1d)
|
| 954 | - | soul.Name = "Soul" |
| 954 | + | soul2mesh = Instance.new("SpecialMesh",soul2d)
|
| 955 | - | soul.Transparency=1 |
| 955 | + | soul3mesh = Instance.new("SpecialMesh",soul3d)
|
| 956 | - | soul.Size = V3.N(2,2,.05) |
| 956 | + | soul4mesh = Instance.new("SpecialMesh",soul4d)
|
| 957 | - | soul.Anchored=true |
| 957 | + | soul5mesh = Instance.new("SpecialMesh",soul5d)
|
| 958 | - | soul.CanCollide=false |
| 958 | + | soul6mesh = Instance.new("SpecialMesh",soul6d)
|
| 959 | - | soul.CFrame = where |
| 959 | + | soul1smesh = Instance.new("SpecialMesh",soul1sd)
|
| 960 | - | local heartF = NewInstance("Decal",soul,{Face=Enum.NormalId.Front,Texture="rbxassetid://"..decalId})
|
| 960 | + | soul2smesh = Instance.new("SpecialMesh",soul2sd)
|
| 961 | - | local heartB = NewInstance("Decal",soul,{Face=Enum.NormalId.Back,Texture="rbxassetid://"..decalId})
|
| 961 | + | soul3smesh = Instance.new("SpecialMesh",soul3sd)
|
| 962 | - | return soul,heartF,heartB |
| 962 | + | soul4smesh = Instance.new("SpecialMesh",soul4sd)
|
| 963 | soul5smesh = Instance.new("SpecialMesh",soul5sd)
| |
| 964 | - | local owo = Root.CFrame |
| 964 | + | soul6smesh = Instance.new("SpecialMesh",soul6sd)
|
| 965 | - | local s,f,b = Soul(owo,1569347904) |
| 965 | + | soul1mesh.MeshType = "Sphere" |
| 966 | - | swait(60) |
| 966 | + | soul2mesh.MeshType = "Sphere" |
| 967 | - | local snd = Sound(s,862552636,1,5,false,false,false) |
| 967 | + | soul3mesh.MeshType = "Sphere" |
| 968 | - | snd:Play() |
| 968 | + | soul4mesh.MeshType = "Sphere" |
| 969 | - | f.Texture = "rbxassetid://1569348344" |
| 969 | + | soul5mesh.MeshType = "Sphere" |
| 970 | - | b.Texture = "rbxassetid://1569348344" |
| 970 | + | soul6mesh.MeshType = "Sphere" |
| 971 | - | swait(15) |
| 971 | + | soul1smesh.MeshType = "Sphere" |
| 972 | - | snd:Stop() |
| 972 | + | soul2smesh.MeshType = "Sphere" |
| 973 | - | swait(60) |
| 973 | + | soul3smesh.MeshType = "Sphere" |
| 974 | - | print'lol' |
| 974 | + | soul4smesh.MeshType = "Sphere" |
| 975 | - | for i = 0, 6, .1 do |
| 975 | + | soul5smesh.MeshType = "Sphere" |
| 976 | - | swait() |
| 976 | + | soul6smesh.MeshType = "Sphere" |
| 977 | - | s.CFrame = owo * CF.N(M.RNG(-50,50)/100,M.RNG(-50,50)/100,M.RNG(-50,50)/100) |
| 977 | + | KnifeMesh.TextureId = "" |
| 978 | canchange = true | |
| 979 | - | local snd = Sound(s,862552636,1,5,false,false,false) |
| 979 | + | for i = 1,20 do |
| 980 | - | snd:Play() |
| 980 | + | soul1mesh.Scale = soul1mesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 981 | - | s.CFrame = owo |
| 981 | + | soul1smesh.Scale = soul1smesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 982 | - | f.Texture = "rbxassetid://1569347904" |
| 982 | + | soul1d.Transparency = soul1d.Transparency + 0.025 |
| 983 | - | b.Texture = "rbxassetid://1569347904" |
| 983 | + | soul1sd.Transparency = soul1sd.Transparency + 0.05 |
| 984 | - | swait(15) |
| 984 | + | blackhand.Transparency = blackhand.Transparency - 0.04 |
| 985 | - | snd:Stop() |
| 985 | + | wait() |
| 986 | - | swait(60) |
| 986 | + | |
| 987 | for i = 1,20 do | |
| 988 | - | s:destroy() |
| 988 | + | soul2mesh.Scale = soul2mesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 989 | soul2smesh.Scale = soul2smesh.Scale + Vector3.new(0.5,0.5,0.5) | |
| 990 | soul2d.Transparency = soul2d.Transparency + 0.025 | |
| 991 | - | RJ.Parent = Char |
| 991 | + | soul2sd.Transparency = soul2sd.Transparency + 0.05 |
| 992 | - | LS.Parent = Char |
| 992 | + | wait() |
| 993 | - | RS.Parent = Char |
| 993 | + | |
| 994 | - | LH.Parent = Char |
| 994 | + | for i = 1,20 do |
| 995 | - | RH.Parent = Char |
| 995 | + | soul3mesh.Scale = soul3mesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 996 | - | NK.Parent = Char |
| 996 | + | soul3smesh.Scale = soul3smesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 997 | soul3d.Transparency = soul3d.Transparency + 0.025 | |
| 998 | - | LArm.Parent = Char |
| 998 | + | soul3sd.Transparency = soul3sd.Transparency + 0.05 |
| 999 | - | RArm.Parent = Char |
| 999 | + | wait() |
| 1000 | - | LLeg.Parent = Char |
| 1000 | + | |
| 1001 | - | LArm.Parent = Char |
| 1001 | + | for i = 1,20 do |
| 1002 | - | Root.Parent = Char |
| 1002 | + | soul4mesh.Scale = soul4mesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 1003 | - | Torso.Parent = Char |
| 1003 | + | soul4smesh.Scale = soul4smesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 1004 | - | Head.Parent = Char |
| 1004 | + | soul4d.Transparency = soul4d.Transparency + 0.025 |
| 1005 | soul4sd.Transparency = soul4sd.Transparency + 0.05 | |
| 1006 | - | Knife.Parent = Char |
| 1006 | + | wait() |
| 1007 | - | Hair.Parent = Char |
| 1007 | + | |
| 1008 | for i = 1,20 do | |
| 1009 | - | HW.Parent = Char |
| 1009 | + | soul5mesh.Scale = soul5mesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 1010 | - | HW2.Parent = Char |
| 1010 | + | soul5smesh.Scale = soul5smesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 1011 | soul5d.Transparency = soul5d.Transparency + 0.025 | |
| 1012 | soul5sd.Transparency = soul5sd.Transparency + 0.05 | |
| 1013 | - | REye:destroy() |
| 1013 | + | wait() |
| 1014 | - | LEye:destroy() |
| 1014 | + | |
| 1015 | for i = 1,20 do | |
| 1016 | - | for _,v in next, Char:children() do |
| 1016 | + | soul6mesh.Scale = soul6mesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 1017 | - | if(v.Name == 'ShadowFace')then v:destroy() end |
| 1017 | + | soul6smesh.Scale = soul6smesh.Scale + Vector3.new(0.5,0.5,0.5) |
| 1018 | soul6d.Transparency = soul6d.Transparency + 0.025 | |
| 1019 | - | LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false) |
| 1019 | + | soul6sd.Transparency = soul6sd.Transparency + 0.05 |
| 1020 | - | LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N()) |
| 1020 | + | soul1.Transparency = soul1.Transparency + 0.08 |
| 1021 | - | LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
|
| 1021 | + | soul2.Transparency = soul2.Transparency + 0.08 |
| 1022 | soul3.Transparency = soul3.Transparency + 0.08 | |
| 1023 | - | REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false) |
| 1023 | + | soul4.Transparency = soul4.Transparency + 0.08 |
| 1024 | - | REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N()) |
| 1024 | + | soul5.Transparency = soul5.Transparency + 0.08 |
| 1025 | - | REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
|
| 1025 | + | soul6.Transparency = soul6.Transparency + 0.1 |
| 1026 | - | for i = 1, 35 do |
| 1026 | + | soul1s.Transparency = soul1.Transparency + 0.1 |
| 1027 | - | local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false) |
| 1027 | + | soul2s.Transparency = soul2s.Transparency + 0.1 |
| 1028 | - | FACE.Transparency = 0+(i-1)/35.2 |
| 1028 | + | soul3s.Transparency = soul3s.Transparency + 0.1 |
| 1029 | - | FACE.Name = 'ShadowFace' |
| 1029 | + | soul4s.Transparency = soul4s.Transparency + 0.1 |
| 1030 | - | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
|
| 1030 | + | soul5s.Transparency = soul5s.Transparency + 0.1 |
| 1031 | - | NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
|
| 1031 | + | soul6s.Transparency = soul6s.Transparency + 0.1 |
| 1032 | - | --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
|
| 1032 | + | wait() |
| 1033 | end | |
| 1034 | - | Hum = NewInstance("Humanoid",Char,{DisplayDistanceType='None'})
|
| 1034 | + | |
| 1035 | - | ConnectHum() |
| 1035 | + | |
| 1036 | - | MaxHealth = oMH |
| 1036 | + | wait(1) |
| 1037 | - | Hum.MaxHealth = MaxHealth |
| 1037 | + | |
| 1038 | - | Hum.Health = MaxHealth |
| 1038 | + | |
| 1039 | - | swait(5) |
| 1039 | + | |
| 1040 | - | Char.Parent = workspace |
| 1040 | + | lala = false |
| 1041 | wait(1) | |
| 1042 | - | Attack = false |
| 1042 | + | soul1:Destroy() |
| 1043 | soul2:Destroy() | |
| 1044 | soul3:Destroy() | |
| 1045 | - | function ConnectHum() |
| 1045 | + | soul4:Destroy() |
| 1046 | - | Hum.Died:connect(Refuse) |
| 1046 | + | soul5:Destroy() |
| 1047 | soul6:Destroy() | |
| 1048 | - | ConnectHum() |
| 1048 | + | soul1s:Destroy() |
| 1049 | soul2s:Destroy() | |
| 1050 | soul3s:Destroy() | |
| 1051 | - | --// Wrap it all up \\-- |
| 1051 | + | soul4s:Destroy() |
| 1052 | - | while true do |
| 1052 | + | soul5s:Destroy() |
| 1053 | - | swait() |
| 1053 | + | soul6s:Destroy() |
| 1054 | - | Sine = Sine + Change |
| 1054 | + | soul1d:Destroy() |
| 1055 | - | if(not Music)then |
| 1055 | + | soul2d:Destroy() |
| 1056 | - | Music = Sound(Torso,MusicID,1,3,true,false,true) |
| 1056 | + | soul3d:Destroy() |
| 1057 | - | Music.Name = 'Music' |
| 1057 | + | soul4d:Destroy() |
| 1058 | soul5d:Destroy() | |
| 1059 | - | Music.Pitch = 1 |
| 1059 | + | soul6d:Destroy() |
| 1060 | - | Music.Volume = 5 |
| 1060 | + | soul1sd:Destroy() |
| 1061 | - | Music.SoundId = "rbxassetid://"..MusicID |
| 1061 | + | soul2sd:Destroy() |
| 1062 | - | Music.Parent = Torso |
| 1062 | + | soul3sd:Destroy() |
| 1063 | - | Music:Resume() |
| 1063 | + | soul4sd:Destroy() |
| 1064 | - | local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char) |
| 1064 | + | soul5sd:Destroy() |
| 1065 | - | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) |
| 1065 | + | soul6sd:Destroy() |
| 1066 | - | local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle") |
| 1066 | + | idle = true |
| 1067 | - | if(not Effects or not Effects.Parent)then |
| 1067 | + | chatfunc("JUST DIE!!!")
|
| 1068 | - | Effects = IN("Model",Char)
|
| 1068 | + | hed.face.Texture = "http://www.roblox.com/asset/?id=871052201" |
| 1069 | - | Effects.Name = "Effects" |
| 1069 | + | lovecounter = true |
| 1070 | walking = true | |
| 1071 | - | Hum.WalkSpeed = WalkSpeed |
| 1071 | + | Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0) |
| 1072 | - | if(State == 'Walk')then |
| 1072 | + | KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805" |
| 1073 | - | if(Hum.WalkSpeed >= 24)then |
| 1073 | + | mouse.KeyDown:connect(function(key) |
| 1074 | - | local wsVal = 22 / (Hum.WalkSpeed/16) |
| 1074 | + | if key == "z" then |
| 1075 | - | local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1) |
| 1075 | + | if canattack == true then |
| 1076 | - | Change = 2 |
| 1076 | + | canattack = false |
| 1077 | - | RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(25+45*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha) |
| 1077 | + | |
| 1078 | - | LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(25-45*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha) |
| 1078 | + | idle = false |
| 1079 | - | else |
| 1079 | + | walking = false |
| 1080 | - | Change = .9 |
| 1080 | + | wait(1) |
| 1081 | - | local wsVal = 8 / (Hum.WalkSpeed/8) |
| 1081 | + | |
| 1082 | - | local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1) |
| 1082 | + | kill = Instance.new("Part",char)
|
| 1083 | - | LH.C1 = LH.C1:lerp(CF.N(0,1-.2*M.C(Sine/wsVal)/2,.4*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))-M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0-3*M.C(Sine/wsVal)),0,0),Alpha) |
| 1083 | + | kill.Position = torso.Position - Vector3.new(0,2,0) |
| 1084 | - | RH.C1 = RH.C1:lerp(CF.N(0,1+.2*M.C(Sine/wsVal)/2,-.4*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+3*M.C(Sine/wsVal)),0,0),Alpha) |
| 1084 | + | kill.Size = Vector3.new(200,0.1,200) |
| 1085 | kill.Name = "Immune" | |
| 1086 | - | else |
| 1086 | + | kill.CanCollide = false |
| 1087 | - | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1) |
| 1087 | + | kill.Transparency = 1 |
| 1088 | - | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1) |
| 1088 | + | kill.Anchored = true |
| 1089 | kill.Material = "Neon" | |
| 1090 | - | for _,v in next, Char:children() do |
| 1090 | + | kill.BrickColor = BrickColor.new("Really red")
|
| 1091 | - | if(v:IsA'Accessory')then |
| 1091 | + | killmesh = Instance.new("SpecialMesh",kill)
|
| 1092 | - | v:destroy() |
| 1092 | + | killmesh.MeshType = "FileMesh" |
| 1093 | - | elseif(v:IsA'Shirt')then |
| 1093 | + | killmesh.MeshId = "rbxassetid://465435723" |
| 1094 | - | v.ShirtTemplate = "rbxassetid://1188138037" |
| 1094 | + | killmesh.Scale = Vector3.new(5.2,0.01,5.2) |
| 1095 | - | elseif(v:IsA'Pants')then |
| 1095 | + | Weldb.C1 = CFrame.new(0, -1, -1) * CFrame.fromEulerAnglesXYZ(-2, 0, 0) |
| 1096 | - | v.PantsTemplate = "rbxassetid://305718140" |
| 1096 | + | for i = 1, 20 do |
| 1097 | - | elseif(v:IsA'CharacterMesh')then |
| 1097 | + | wait() |
| 1098 | - | v:destroy() |
| 1098 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(0)), 0.2) |
| 1099 | - | elseif(v:FindFirstChildOfClass'ShirtGraphic')then |
| 1099 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.2) |
| 1100 | - | v:FindFirstChildOfClass'ShirtGraphic':destroy() |
| 1100 | + | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) |
| 1101 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(6), math.rad(0), 0), 0.2) | |
| 1102 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.2) | |
| 1103 | - | local face = Head:FindFirstChild'face' |
| 1103 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.2) |
| 1104 | - | if(not face)then |
| 1104 | + | |
| 1105 | - | NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
|
| 1105 | + | end |
| 1106 | - | else |
| 1106 | + | for i = 1, 20 do |
| 1107 | - | face.Texture = "rbxassetid://871052201" |
| 1107 | + | wait() |
| 1108 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.3)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(0)), 0.2) | |
| 1109 | - | RArm.BrickColor = BrickColor.new'Institutional white' |
| 1109 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.2) |
| 1110 | - | LArm.BrickColor = BrickColor.new'Institutional white' |
| 1110 | + | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) |
| 1111 | - | RLeg.BrickColor = BrickColor.new'Institutional white' |
| 1111 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles( math.rad(-50), math.rad(0), 0), 0.2) |
| 1112 | - | LLeg.BrickColor = BrickColor.new'Institutional white' |
| 1112 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -0.8) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-2)), 0.2) |
| 1113 | - | Torso.BrickColor = BrickColor.new'Institutional white' |
| 1113 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, -0.8) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(2)), 0.2) |
| 1114 | - | Head.BrickColor = BrickColor.new'Institutional white' |
| 1114 | + | |
| 1115 | - | Hum.Name = 'Dust Sans' |
| 1115 | + | end |
| 1116 | - | if(Hum.MaxHealth ~= MaxHealth)then |
| 1116 | + | hitsound:Play() |
| 1117 | - | Hum.MaxHealth = MaxHealth |
| 1117 | + | part = Instance.new("Part",char)
|
| 1118 | part.Size = Vector3.new(0.1,0.1,0.1) | |
| 1119 | - | Hum.DisplayDistanceType='None' |
| 1119 | + | part.Position = handle.Position |
| 1120 | - | if(NeutralAnims)then |
| 1120 | + | part1 = Instance.new("Part",char)
|
| 1121 | - | if(State == 'Idle')then |
| 1121 | + | part1.Size = Vector3.new(0.1,0.1,0.1) |
| 1122 | - | Change = 1 |
| 1122 | + | part1.Position = handle.Position |
| 1123 | - | local Alpha = .1 |
| 1123 | + | part2 = Instance.new("Part",char)
|
| 1124 | - | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0999571308, 0+.05*M.C(Sine/16), -0.237876296, 0.857335567, -0.00323621999, -0.514731407, 0, 0.99998033, -0.00628707698, 0.51474154, 0.00539013464, 0.85731858),Alpha) |
| 1124 | + | part2.Size = Vector3.new(0.1,0.1,0.1) |
| 1125 | - | LH.C0 = clerp(LH.C0,CFrame.new(-0.536091685, -0.991042495-.05*M.C(Sine/16), -0.0134909991, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha) |
| 1125 | + | part2.Position = handle.Position |
| 1126 | - | RH.C0 = clerp(RH.C0,CFrame.new(0.529067397, -0.991597891-.05*M.C(Sine/16), -0.0818087086, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha) |
| 1126 | + | part3 = Instance.new("Part",char)
|
| 1127 | - | LS.C0 = clerp(LS.C0,CFrame.new(-1.32175505, 0.156236127+.15*M.C(Sine/16), 0.233877867, 0.877554953, -0.456876248, 0.145469457, 0.259513229, 0.707695842, 0.657129884, -0.403175086, -0.538916171, 0.739607573),Alpha) |
| 1127 | + | part3.Size = Vector3.new(0.1,0.1,0.1) |
| 1128 | - | RS.C0 = clerp(RS.C0,CFrame.new(1.2516855, 0.604915917+.15*M.C(Sine/16), -0.0189059302, 0.915104508, -0.287113011, -0.283108115, 0.301054537, 0.953587949, 0.00603589695, 0.268235415, -0.0907544345, 0.959069014),Alpha) |
| 1128 | + | part3.Position = handle.Position |
| 1129 | - | NK.C0 = clerp(NK.C0,CFrame.new(1.79447234e-05, 1.49895597, -0.0143749639, 0.769539058, -0.360377938, 0.527197778, 0.387706369, 0.919646919, 0.0627188534, -0.507438183, 0.156133309, 0.847424924),Alpha) |
| 1129 | + | part4 = Instance.new("Part",char)
|
| 1130 | - | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) |
| 1130 | + | part4.Size = Vector3.new(0.1,0.1,0.1) |
| 1131 | - | -- idle |
| 1131 | + | part4.Position = handle.Position |
| 1132 | - | elseif(State == 'Walk')then |
| 1132 | + | part5 = Instance.new("Part",char)
|
| 1133 | - | if(Hum.WalkSpeed >= 24)then |
| 1133 | + | part5.Size = Vector3.new(0.1,0.1,0.1) |
| 1134 | - | local wsVal = 22 / (Hum.WalkSpeed/16) |
| 1134 | + | part5.Position = handle.Position |
| 1135 | - | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) |
| 1135 | + | part6 = Instance.new("Part",char)
|
| 1136 | - | RJ.C0 = RJ.C0:lerp(CF.N(0,0-.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15),M.R(0-15*M.S(Sine/wsVal)/2),0),Alpha) |
| 1136 | + | part6.Size = Vector3.new(0.1,0.1,0.1) |
| 1137 | - | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5+15*M.S(Sine/wsVal))),Alpha) |
| 1137 | + | part6.Position = handle.Position |
| 1138 | - | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5+15*M.S(Sine/wsVal))),Alpha) |
| 1138 | + | part7 = Instance.new("Part",char)
|
| 1139 | - | NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(15),0,0),Alpha) |
| 1139 | + | part7.Size = Vector3.new(0.1,0.1,0.1) |
| 1140 | - | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha) |
| 1140 | + | part7.Position = handle.Position |
| 1141 | - | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha) |
| 1141 | + | part8 = Instance.new("Part",char)
|
| 1142 | - | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) |
| 1142 | + | part8.Size = Vector3.new(0.1,0.1,0.1) |
| 1143 | - | else |
| 1143 | + | part8.Position = handle.Position |
| 1144 | - | local wsVal = 8 / (Hum.WalkSpeed/8) |
| 1144 | + | part9 = Instance.new("Part",char)
|
| 1145 | - | local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1) |
| 1145 | + | part9.Size = Vector3.new(0.1,0.1,0.1) |
| 1146 | - | RJ.C0 = RJ.C0:lerp(CF.N(0,0-.05*M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-5*M.S(Sine/wsVal)/2),0),Alpha) |
| 1146 | + | part9.Position = handle.Position |
| 1147 | - | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-25*M.S(Sine/wsVal)),0,M.R(5-5*M.S(Sine/wsVal))),Alpha) |
| 1147 | + | part10 = Instance.new("Part",char)
|
| 1148 | - | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+25*M.S(Sine/wsVal)),0,M.R(-5-5*M.S(Sine/wsVal))),Alpha) |
| 1148 | + | part10.Size = Vector3.new(0.1,0.1,0.1) |
| 1149 | - | NK.C0 = NK.C0:lerp(NKC0,Alpha) |
| 1149 | + | part10.Position = handle.Position |
| 1150 | - | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha) |
| 1150 | + | KnifeMesh.TextureId = "" |
| 1151 | - | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha) |
| 1151 | + | for i = 1,100 do |
| 1152 | - | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) |
| 1152 | + | wait() |
| 1153 | colorred = colorred + 0.006 | |
| 1154 | - | elseif(State == 'Jump' or State == 'Fall')then |
| 1154 | + | handle.Color = Color3.new(colorred,0,0) |
| 1155 | - | if(Walking)then |
| 1155 | + | |
| 1156 | - | local Alpha = .2 |
| 1156 | + | chatfunc("Welcome To My Special Attack =)")
|
| 1157 | - | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) |
| 1157 | + | for i = 1,120 do |
| 1158 | - | LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha) |
| 1158 | + | wait() |
| 1159 | - | RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha) |
| 1159 | + | kill.Transparency = kill.Transparency - 0.005 |
| 1160 | - | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) |
| 1160 | + | |
| 1161 | - | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) |
| 1161 | + | |
| 1162 | - | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) |
| 1162 | + | function onTouched(hit) |
| 1163 | - | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) |
| 1163 | + | if hit.Parent:FindFirstChild("Immune") == nil then
|
| 1164 | - | else |
| 1164 | + | if hit.Parent:FindFirstChild("Humanoid") ~= nil then
|
| 1165 | - | local Alpha = .2 |
| 1165 | + | hit.Parent:FindFirstChild("Head").Anchored = true
|
| 1166 | - | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) |
| 1166 | + | hitsound:Play() |
| 1167 | - | LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha) |
| 1167 | + | |
| 1168 | - | RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha) |
| 1168 | + | |
| 1169 | - | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) |
| 1169 | + | |
| 1170 | - | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) |
| 1170 | + | hit.Parent:BreakJoints() |
| 1171 | - | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) |
| 1171 | + | hit.Parent:FindFirstChild("Humanoid").Health = -1
|
| 1172 | - | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) |
| 1172 | + | |
| 1173 | ||
| 1174 | - | elseif(State == 'Paralyzed')then |
| 1174 | + | |
| 1175 | - | -- paralyzed |
| 1175 | + | |
| 1176 | - | elseif(State == 'Sit')then |
| 1176 | + | |
| 1177 | - | -- sit |
| 1177 | + | |
| 1178 | end | |
| 1179 | end | |
| 1180 | - | end |
| 1180 | + | kill.Touched:connect(onTouched) |
| 1181 | ||
| 1182 | ||
| 1183 | kill1 = Instance.new("Part",char)
| |
| 1184 | kill1.Position = torso.Position - Vector3.new(0,2,0) | |
| 1185 | kill1.Size = Vector3.new(200,300,200) | |
| 1186 | kill1.Name = "Immune" | |
| 1187 | kill1.CanCollide = false | |
| 1188 | kill1.Transparency = 1 | |
| 1189 | kill1.Anchored = false | |
| 1190 | kill1.Material = "Neon" | |
| 1191 | kill1.BrickColor = BrickColor.new("Really red")
| |
| 1192 | ||
| 1193 | function onTouched(hit) | |
| 1194 | if hit.Parent:FindFirstChild("Immune") == nil then
| |
| 1195 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1196 | hit.Parent:FindFirstChild("Head").Anchored = true
| |
| 1197 | hitsound:Play() | |
| 1198 | ||
| 1199 | ||
| 1200 | ||
| 1201 | hit.Parent:FindFirstChild("Humanoid").Health = -1
| |
| 1202 | hit.Parent:BreakJoints() | |
| 1203 | end | |
| 1204 | ||
| 1205 | ||
| 1206 | ||
| 1207 | end | |
| 1208 | ||
| 1209 | end | |
| 1210 | kill1.Touched:connect(onTouched) | |
| 1211 | for i = 1,50 do | |
| 1212 | wait() | |
| 1213 | killmesh.Scale = killmesh.Scale + Vector3.new(0,0.2,0) | |
| 1214 | end | |
| 1215 | wait(2) | |
| 1216 | kill.Anchored = false | |
| 1217 | canattack = true | |
| 1218 | idle = true | |
| 1219 | walking = true | |
| 1220 | if char:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 1221 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 1222 | end | |
| 1223 | KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805" | |
| 1224 | colorred = 0 | |
| 1225 | Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0) | |
| 1226 | end | |
| 1227 | end | |
| 1228 | end) | |
| 1229 | slashsound = Instance.new("Sound",torso)
| |
| 1230 | slashsound.SoundId = "http://www.roblox.com/asset/?id=357417055" | |
| 1231 | slashsound.Volume = 10 | |
| 1232 | hitsound = Instance.new("Sound",torso)
| |
| 1233 | hitsound.SoundId = "http://www.roblox.com/asset/?id=623904185" | |
| 1234 | hitsound.Volume = 10 | |
| 1235 | mouse.KeyDown:connect(function(key) | |
| 1236 | if key == "q" then | |
| 1237 | if canattack == true then | |
| 1238 | canattack = false | |
| 1239 | idle = false | |
| 1240 | walking = false | |
| 1241 | wait(0.5) | |
| 1242 | slash = Instance.new("Part",char)
| |
| 1243 | slash.CanCollide = false | |
| 1244 | slash.Transparency = 1 | |
| 1245 | slash.Size = Vector3.new(5,5,1) | |
| 1246 | slashweld = Instance.new("Weld",slash)
| |
| 1247 | slashweld.Part0 = torso | |
| 1248 | slashweld.Part1 = slash | |
| 1249 | slashweld.C0 = CFrame.new(0,0,-2) | |
| 1250 | slashdecal = Instance.new("Decal",slash)
| |
| 1251 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
| 1252 | ||
| 1253 | slashdecal1 = Instance.new("Decal",slash)
| |
| 1254 | slashdecal1.Face = "Back" | |
| 1255 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
| 1256 | slashsound:Play() | |
| 1257 | function onTouched(hit) | |
| 1258 | if hit.Parent:FindFirstChild("Immune") == nil then
| |
| 1259 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1260 | hit.Parent:FindFirstChild("Head").Anchored = true
| |
| 1261 | slash.TouchInterest:Destroy() | |
| 1262 | wait(1) | |
| 1263 | hitsound:Play() | |
| 1264 | ||
| 1265 | gothit = Instance.new("Part",hit)
| |
| 1266 | gothit.CanCollide = false | |
| 1267 | gothit.Transparency = 1 | |
| 1268 | gothit.Size = Vector3.new(10,10,1) | |
| 1269 | gothitweld1 = Instance.new("Weld",gothit)
| |
| 1270 | gothitweld1.Part0 = hit.Parent:FindFirstChild("Torso")
| |
| 1271 | gothitweld1.Part1 = gothit | |
| 1272 | ||
| 1273 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1274 | gothitdecal = Instance.new("Decal",gothit)
| |
| 1275 | gothitdecal.Texture = "http://www.roblox.com/asset/?id=941619213" | |
| 1276 | love = love + 1 | |
| 1277 | gothit = Instance.new("Part",hit)
| |
| 1278 | gothit.CanCollide = false | |
| 1279 | gothit.Transparency = 1 | |
| 1280 | gothit.Size = Vector3.new(10,10,1) | |
| 1281 | gothitweld = Instance.new("Weld",gothit)
| |
| 1282 | gothitweld.Part0 = hit.Parent:FindFirstChild("Torso")
| |
| 1283 | gothitweld.Part1 = gothit | |
| 1284 | gothitweld.C0 = CFrame.new(0,5,0) | |
| 1285 | ||
| 1286 | gothitdecal = Instance.new("Decal",gothit)
| |
| 1287 | gothitdecal.Texture = "http://www.roblox.com/asset/?id=941619213" | |
| 1288 | gothitdecal.Face = "Back" | |
| 1289 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1290 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1291 | wait(0.2) | |
| 1292 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1293 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1294 | wait(0.2) | |
| 1295 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1296 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1297 | wait(0.2) | |
| 1298 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1299 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1300 | wait(0.2) | |
| 1301 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1302 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1303 | wait(0.2) | |
| 1304 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1305 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1306 | wait(0.2) | |
| 1307 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1308 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1309 | wait(0.2) | |
| 1310 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1311 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1312 | wait(0.2) | |
| 1313 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1314 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1315 | wait(0.2) | |
| 1316 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1317 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1318 | wait(0.2) | |
| 1319 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1320 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1321 | wait(0.2) | |
| 1322 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1323 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1324 | wait(0.2) | |
| 1325 | ||
| 1326 | hit.Parent:FindFirstChild("Humanoid").Health = -1
| |
| 1327 | hit.Parent:BreakJoints() | |
| 1328 | else | |
| 1329 | if hit.Parent:IsA("Model") then
| |
| 1330 | wait(1) | |
| 1331 | ||
| 1332 | hit.Parent:BreakJoints() | |
| 1333 | ||
| 1334 | ||
| 1335 | ||
| 1336 | ||
| 1337 | ||
| 1338 | end | |
| 1339 | if hit:IsA("Part") and hit.Size.X < 500 then
| |
| 1340 | ||
| 1341 | hit.BrickColor = BrickColor.new("Really black")
| |
| 1342 | hitsound:Play() | |
| 1343 | for i = 1,20 do | |
| 1344 | wait() | |
| 1345 | hit.Transparency = hit.Transparency + 0.05 | |
| 1346 | end | |
| 1347 | ||
| 1348 | ||
| 1349 | ||
| 1350 | ||
| 1351 | end | |
| 1352 | end | |
| 1353 | ||
| 1354 | end | |
| 1355 | ||
| 1356 | end | |
| 1357 | slash.Touched:connect(onTouched) | |
| 1358 | ||
| 1359 | for i = 1, 5 do | |
| 1360 | wait() | |
| 1361 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
| 1362 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1363 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1364 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
| 1365 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1366 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1367 | ||
| 1368 | end | |
| 1369 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
| 1370 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
| 1371 | for i = 1, 5 do | |
| 1372 | wait() | |
| 1373 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
| 1374 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1375 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1376 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
| 1377 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1378 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1379 | ||
| 1380 | end | |
| 1381 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
| 1382 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
| 1383 | ||
| 1384 | wait(0.1) | |
| 1385 | slash:Destroy() | |
| 1386 | canattack = true | |
| 1387 | idle = true | |
| 1388 | walking = true | |
| 1389 | end | |
| 1390 | end | |
| 1391 | end) | |
| 1392 | ||
| 1393 | ||
| 1394 | ||
| 1395 | ||
| 1396 | ||
| 1397 | ||
| 1398 | ||
| 1399 | ||
| 1400 | mouse.KeyDown:connect(function(key) | |
| 1401 | if key == "x" then | |
| 1402 | hed.Transparency = 1 | |
| 1403 | torso.Transparency = 1 | |
| 1404 | larm.Transparency = 1 | |
| 1405 | hed.face.Texture = "" | |
| 1406 | MegaloStrikesBack.Volume = 0.1 | |
| 1407 | lovecounter = false | |
| 1408 | rarm.Transparency = 1 | |
| 1409 | lleg.Transparency = 1 | |
| 1410 | rleg.Transparency = 1 | |
| 1411 | handle.Transparency = 1 | |
| 1412 | Handle.Transparency = 1 | |
| 1413 | blackhand.Transparency = 1 | |
| 1414 | hum.WalkSpeed = 60 | |
| 1415 | text.Text = "" | |
| 1416 | if char:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 1417 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 1418 | end | |
| 1419 | end | |
| 1420 | end) | |
| 1421 | mouse.KeyUp:connect(function(key) | |
| 1422 | if key == "x" then | |
| 1423 | hed.Transparency = 0 | |
| 1424 | lovecounter = true | |
| 1425 | torso.Transparency = 0 | |
| 1426 | larm.Transparency = 0 | |
| 1427 | rarm.Transparency = 0 | |
| 1428 | MegaloStrikesBack.Volume = 50 | |
| 1429 | lleg.Transparency = 0 | |
| 1430 | rleg.Transparency = 0 | |
| 1431 | handle.Transparency = 0 | |
| 1432 | Handle.Transparency = 0 | |
| 1433 | blackhand.Transparency = 0 | |
| 1434 | hum.WalkSpeed = 16 | |
| 1435 | hed.face.Texture = "http://www.roblox.com/asset/?id=946610608" | |
| 1436 | end | |
| 1437 | end) | |
| 1438 | mouse.KeyDown:connect(function(Key) | |
| 1439 | if Key:byte() == 48 then | |
| 1440 | hum.WalkSpeed = 40 | |
| 1441 | workspace.Camera.FieldOfView = 80 | |
| 1442 | sprint = true | |
| 1443 | end | |
| 1444 | end) | |
| 1445 | ||
| 1446 | mouse.KeyUp:connect(function(Key) | |
| 1447 | if Key:byte() == 48 then | |
| 1448 | hum.WalkSpeed = 16 | |
| 1449 | workspace.Camera.FieldOfView = 70 | |
| 1450 | sprint = false | |
| 1451 | end | |
| 1452 | end) | |
| 1453 | ||
| 1454 | ||
| 1455 | ||
| 1456 | mouse.KeyDown:connect(function(key) | |
| 1457 | if key == "e" then | |
| 1458 | if canattack == true then | |
| 1459 | canattack = false | |
| 1460 | idle = false | |
| 1461 | walking = false | |
| 1462 | wait(1) | |
| 1463 | ||
| 1464 | ||
| 1465 | slashsound:Play() | |
| 1466 | ||
| 1467 | for i = 1, 5 do | |
| 1468 | wait() | |
| 1469 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
| 1470 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1471 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1472 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
| 1473 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1474 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1475 | ||
| 1476 | end | |
| 1477 | ||
| 1478 | for i = 1, 5 do | |
| 1479 | wait() | |
| 1480 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
| 1481 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1482 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1483 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
| 1484 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1485 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1486 | ||
| 1487 | end | |
| 1488 | slash4 = Instance.new("Part",char)
| |
| 1489 | slash4.CanCollide = false | |
| 1490 | slash4.Transparency = 0 | |
| 1491 | slash4.Position = Vector3.new(999,999,999) | |
| 1492 | slash4.BrickColor = BrickColor.new("Really red")
| |
| 1493 | slash4.Size = Vector3.new(0.3,9,0.3) | |
| 1494 | slashweld4 = Instance.new("Weld",slash4)
| |
| 1495 | slashweld4.Part0 = torso | |
| 1496 | slashweld4.Part1 = slash4 | |
| 1497 | slashweld4.C0 = CFrame.new(0,0,-3.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-80)) | |
| 1498 | slashsound:Play() | |
| 1499 | for i = 1, 5 do | |
| 1500 | wait() | |
| 1501 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(30)), 0.7) | |
| 1502 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1503 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1504 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-5), math.rad(15), 0), 0.7) | |
| 1505 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1506 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1507 | ||
| 1508 | end | |
| 1509 | slash3 = Instance.new("Part",char)
| |
| 1510 | slash3.CanCollide = false | |
| 1511 | slash3.Transparency = 0 | |
| 1512 | slash3.Position = Vector3.new(999,999,999) | |
| 1513 | slash3.BrickColor = BrickColor.new("Really red")
| |
| 1514 | slash3.Size = Vector3.new(0.3,9,0.3) | |
| 1515 | slashweld3 = Instance.new("Weld",slash3)
| |
| 1516 | slashweld3.Part0 = torso | |
| 1517 | slashweld3.Part1 = slash3 | |
| 1518 | slashweld3.C0 = CFrame.new(0,0,-3.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)) | |
| 1519 | slashsound:Play() | |
| 1520 | for i = 1, 5 do | |
| 1521 | wait() | |
| 1522 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-70)), 0.7) | |
| 1523 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1524 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1525 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-7), math.rad(17), 0), 0.7) | |
| 1526 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1527 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1528 | ||
| 1529 | end | |
| 1530 | slash2 = Instance.new("Part",char)
| |
| 1531 | slash2.CanCollide = false | |
| 1532 | slash2.Transparency = 0 | |
| 1533 | slash2.Position = Vector3.new(999,999,999) | |
| 1534 | slash2.BrickColor = BrickColor.new("Really red")
| |
| 1535 | slash2.Size = Vector3.new(0.3,9,0.3) | |
| 1536 | slashweld2 = Instance.new("Weld",slash2)
| |
| 1537 | slashweld2.Part0 = torso | |
| 1538 | slashweld2.Part1 = slash2 | |
| 1539 | slashweld2.C0 = CFrame.new(0,0,-3.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(150)) | |
| 1540 | for i = 1, 5 do | |
| 1541 | wait() | |
| 1542 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
| 1543 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1544 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1545 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
| 1546 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1547 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1548 | ||
| 1549 | end | |
| 1550 | slashsound:Play() | |
| 1551 | for i = 1, 5 do | |
| 1552 | wait() | |
| 1553 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20)), 0.7) | |
| 1554 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1555 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1556 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-7), math.rad(17), 0), 0.7) | |
| 1557 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1558 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1559 | ||
| 1560 | end | |
| 1561 | slash1 = Instance.new("Part",char)
| |
| 1562 | slash1.CanCollide = false | |
| 1563 | slash1.Transparency = 0 | |
| 1564 | slash1.Position = Vector3.new(999,999,999) | |
| 1565 | slash1.BrickColor = BrickColor.new("Really red")
| |
| 1566 | slash1.Size = Vector3.new(0.3,9,0.3) | |
| 1567 | slashweld1 = Instance.new("Weld",slash1)
| |
| 1568 | slashweld1.Part0 = torso | |
| 1569 | slashweld1.Part1 = slash1 | |
| 1570 | slashweld1.C0 = CFrame.new(0,0,-3.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(78)) | |
| 1571 | for i = 1, 5 do | |
| 1572 | wait() | |
| 1573 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
| 1574 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1575 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1576 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
| 1577 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1578 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1579 | ||
| 1580 | end | |
| 1581 | slash5 = Instance.new("Part",char)
| |
| 1582 | slash5.CanCollide = true | |
| 1583 | slash5.Transparency = 1 | |
| 1584 | slash5.Position = Vector3.new(999,999,999) | |
| 1585 | slash5.BrickColor = BrickColor.new("Really red")
| |
| 1586 | slash5.Size = Vector3.new(4,3,4) | |
| 1587 | slashweld5 = Instance.new("Weld",slash5)
| |
| 1588 | slashweld5.Part0 = torso | |
| 1589 | slashweld5.Part1 = slash5 | |
| 1590 | slashweld5.C0 = CFrame.new(0,0,-3.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(130)) | |
| 1591 | function onTouched(hit) | |
| 1592 | if hit.Parent:FindFirstChild("Immune") == nil then
| |
| 1593 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1594 | hit.Parent:FindFirstChild("Head").Anchored = true
| |
| 1595 | ||
| 1596 | wait(1) | |
| 1597 | hitsound:Play() | |
| 1598 | ||
| 1599 | gothit = Instance.new("Part",hit)
| |
| 1600 | gothit.CanCollide = false | |
| 1601 | gothit.Transparency = 1 | |
| 1602 | gothit.Size = Vector3.new(10,10,1) | |
| 1603 | gothitweld1 = Instance.new("Weld",gothit)
| |
| 1604 | gothitweld1.Part0 = hit.Parent:FindFirstChild("Torso")
| |
| 1605 | gothitweld1.Part1 = gothit | |
| 1606 | ||
| 1607 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1608 | gothitdecal = Instance.new("Decal",gothit)
| |
| 1609 | gothitdecal.Texture = "http://www.roblox.com/asset/?id=941619213" | |
| 1610 | love = love + 1 | |
| 1611 | gothit = Instance.new("Part",hit)
| |
| 1612 | gothit.CanCollide = false | |
| 1613 | gothit.Transparency = 1 | |
| 1614 | gothit.Size = Vector3.new(10,10,1) | |
| 1615 | gothitweld = Instance.new("Weld",gothit)
| |
| 1616 | gothitweld.Part0 = hit.Parent:FindFirstChild("Torso")
| |
| 1617 | gothitweld.Part1 = gothit | |
| 1618 | gothitweld.C0 = CFrame.new(0,5,0) | |
| 1619 | ||
| 1620 | gothitdecal = Instance.new("Decal",gothit)
| |
| 1621 | gothitdecal.Texture = "http://www.roblox.com/asset/?id=941619213" | |
| 1622 | gothitdecal.Face = "Back" | |
| 1623 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1624 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1625 | wait(0.2) | |
| 1626 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1627 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1628 | wait(0.2) | |
| 1629 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1630 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1631 | wait(0.2) | |
| 1632 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1633 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1634 | wait(0.2) | |
| 1635 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1636 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1637 | wait(0.2) | |
| 1638 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1639 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1640 | wait(0.2) | |
| 1641 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1642 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1643 | wait(0.2) | |
| 1644 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1645 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1646 | wait(0.2) | |
| 1647 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1648 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1649 | wait(0.2) | |
| 1650 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1651 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1652 | wait(0.2) | |
| 1653 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
| 1654 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
| 1655 | wait(0.2) | |
| 1656 | gothitweld.C0 = CFrame.new(0,4,0) | |
| 1657 | gothitweld1.C0 = CFrame.new(0,4,0) | |
| 1658 | wait(0.2) | |
| 1659 | ||
| 1660 | hit.Parent:FindFirstChild("Humanoid").Health = -1
| |
| 1661 | hit.Parent:BreakJoints() | |
| 1662 | else | |
| 1663 | if hit.Parent:IsA("Model") then
| |
| 1664 | wait(1) | |
| 1665 | ||
| 1666 | hit.Parent:BreakJoints() | |
| 1667 | ||
| 1668 | ||
| 1669 | ||
| 1670 | ||
| 1671 | ||
| 1672 | end | |
| 1673 | if hit:IsA("Part") and hit.Size.X < 500 then
| |
| 1674 | ||
| 1675 | hit.BrickColor = BrickColor.new("Really black")
| |
| 1676 | hitsound:Play() | |
| 1677 | for i = 1,20 do | |
| 1678 | wait() | |
| 1679 | hit.Transparency = hit.Transparency + 0.05 | |
| 1680 | end | |
| 1681 | ||
| 1682 | ||
| 1683 | ||
| 1684 | ||
| 1685 | end | |
| 1686 | end | |
| 1687 | ||
| 1688 | end | |
| 1689 | ||
| 1690 | end | |
| 1691 | slash5.Touched:connect(onTouched) | |
| 1692 | for i = 1,70 do | |
| 1693 | wait() | |
| 1694 | ||
| 1695 | slashweld1.C0 = slashweld1.C0 - Vector3.new(0,0,4) | |
| 1696 | slashweld2.C0 = slashweld2.C0 - Vector3.new(0,0,4) | |
| 1697 | slashweld3.C0 = slashweld3.C0 - Vector3.new(0,0,4) | |
| 1698 | slashweld4.C0 = slashweld4.C0 - Vector3.new(0,0,4) | |
| 1699 | slashweld5.C0 = slashweld5.C0 - Vector3.new(0,0,4) | |
| 1700 | ||
| 1701 | ||
| 1702 | ||
| 1703 | end | |
| 1704 | slash1:Destroy() | |
| 1705 | slash2:Destroy() | |
| 1706 | slash3:Destroy() | |
| 1707 | slash4:Destroy() | |
| 1708 | slash5:Destroy() | |
| 1709 | canattack = true | |
| 1710 | idle = true | |
| 1711 | walking = true | |
| 1712 | end | |
| 1713 | end | |
| 1714 | end) | |
| 1715 | ||
| 1716 | ||
| 1717 | mouse.KeyDown:connect(function(key) | |
| 1718 | if key == "r" then | |
| 1719 | if canattack == true then | |
| 1720 | ||
| 1721 | ||
| 1722 | ||
| 1723 | what = Instance.new("Part",char)
| |
| 1724 | what.Size = Vector3.new(60,60,60) | |
| 1725 | what.Transparency = 1 | |
| 1726 | what.Position = torso.Position | |
| 1727 | what.CanCollide = false | |
| 1728 | function onTouched(hit) | |
| 1729 | if hit.Parent:FindFirstChild("Immune") == nil then
| |
| 1730 | if hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 1731 | chatfunc('I GOT YOU! =)')
| |
| 1732 | ||
| 1733 | t = hit.Parent:FindFirstChild("Torso")
| |
| 1734 | h = hit.Parent:FindFirstChild("Head")
| |
| 1735 | la = hit.Parent:FindFirstChild("Left Arm")
| |
| 1736 | ra = hit.Parent:FindFirstChild("Right Arm")
| |
| 1737 | ll = hit.Parent:FindFirstChild("Left Leg")
| |
| 1738 | rl = hit.Parent:FindFirstChild("Right Leg")
| |
| 1739 | ||
| 1740 | what:Destroy() | |
| 1741 | ||
| 1742 | torso.CFrame = t.CFrame * CFrame.Angles(0,math.rad(180),0) + t.CFrame.lookVector * 3 | |
| 1743 | h.Anchored = true | |
| 1744 | ||
| 1745 | ||
| 1746 | ||
| 1747 | hed.Anchored = true | |
| 1748 | wait(2) | |
| 1749 | chatfunc('=)')
| |
| 1750 | slash = Instance.new("Part",char)
| |
| 1751 | slash.CanCollide = false | |
| 1752 | slash.Transparency = 1 | |
| 1753 | slash.Size = Vector3.new(5,5,1) | |
| 1754 | slashweld = Instance.new("Weld",slash)
| |
| 1755 | slashweld.Part0 = torso | |
| 1756 | slashweld.Part1 = slash | |
| 1757 | slashweld.C0 = CFrame.new(0,0,-2) | |
| 1758 | slashdecal = Instance.new("Decal",slash)
| |
| 1759 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
| 1760 | ||
| 1761 | slashdecal1 = Instance.new("Decal",slash)
| |
| 1762 | slashdecal1.Face = "Back" | |
| 1763 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
| 1764 | slashsound:Play() | |
| 1765 | for i = 1, 5 do | |
| 1766 | wait() | |
| 1767 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
| 1768 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1769 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1770 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
| 1771 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1772 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1773 | ||
| 1774 | end | |
| 1775 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
| 1776 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
| 1777 | for i = 1, 5 do | |
| 1778 | wait() | |
| 1779 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
| 1780 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1781 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1782 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
| 1783 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1784 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1785 | ||
| 1786 | end | |
| 1787 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
| 1788 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
| 1789 | ||
| 1790 | wait(0.1) | |
| 1791 | slash:Destroy() | |
| 1792 | if la ~= nil then | |
| 1793 | la.BrickColor = BrickColor.new("Really black")
| |
| 1794 | hitsound:Play() | |
| 1795 | for i = 1,20 do | |
| 1796 | wait() | |
| 1797 | la.Transparency = la.Transparency + 0.05 | |
| 1798 | end | |
| 1799 | la:Destroy() | |
| 1800 | end | |
| 1801 | slash = Instance.new("Part",char)
| |
| 1802 | slash.CanCollide = false | |
| 1803 | slash.Transparency = 1 | |
| 1804 | slash.Size = Vector3.new(5,5,1) | |
| 1805 | slashweld = Instance.new("Weld",slash)
| |
| 1806 | slashweld.Part0 = torso | |
| 1807 | slashweld.Part1 = slash | |
| 1808 | slashweld.C0 = CFrame.new(0,0,-2) | |
| 1809 | slashdecal = Instance.new("Decal",slash)
| |
| 1810 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
| 1811 | ||
| 1812 | slashdecal1 = Instance.new("Decal",slash)
| |
| 1813 | slashdecal1.Face = "Back" | |
| 1814 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
| 1815 | slashsound:Play() | |
| 1816 | for i = 1, 5 do | |
| 1817 | wait() | |
| 1818 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
| 1819 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1820 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1821 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
| 1822 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1823 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1824 | ||
| 1825 | end | |
| 1826 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
| 1827 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
| 1828 | for i = 1, 5 do | |
| 1829 | wait() | |
| 1830 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
| 1831 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1832 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1833 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
| 1834 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1835 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1836 | ||
| 1837 | end | |
| 1838 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
| 1839 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
| 1840 | ||
| 1841 | wait(0.1) | |
| 1842 | slash:Destroy() | |
| 1843 | if ll ~= nil then | |
| 1844 | ll.BrickColor = BrickColor.new("Really black")
| |
| 1845 | hitsound:Play() | |
| 1846 | for i = 1,20 do | |
| 1847 | wait() | |
| 1848 | ll.Transparency = ll.Transparency + 0.05 | |
| 1849 | end | |
| 1850 | ll:Destroy() | |
| 1851 | end | |
| 1852 | slash = Instance.new("Part",char)
| |
| 1853 | slash.CanCollide = false | |
| 1854 | slash.Transparency = 1 | |
| 1855 | slash.Size = Vector3.new(5,5,1) | |
| 1856 | slashweld = Instance.new("Weld",slash)
| |
| 1857 | slashweld.Part0 = torso | |
| 1858 | slashweld.Part1 = slash | |
| 1859 | slashweld.C0 = CFrame.new(0,0,-2) | |
| 1860 | slashdecal = Instance.new("Decal",slash)
| |
| 1861 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
| 1862 | ||
| 1863 | slashdecal1 = Instance.new("Decal",slash)
| |
| 1864 | slashdecal1.Face = "Back" | |
| 1865 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
| 1866 | slashsound:Play() | |
| 1867 | for i = 1, 5 do | |
| 1868 | wait() | |
| 1869 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
| 1870 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1871 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1872 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
| 1873 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1874 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1875 | ||
| 1876 | end | |
| 1877 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
| 1878 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
| 1879 | for i = 1, 5 do | |
| 1880 | wait() | |
| 1881 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
| 1882 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1883 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1884 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
| 1885 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1886 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1887 | ||
| 1888 | end | |
| 1889 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
| 1890 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
| 1891 | ||
| 1892 | wait(0.1) | |
| 1893 | slash:Destroy() | |
| 1894 | if ra ~= nil then | |
| 1895 | ra.BrickColor = BrickColor.new("Really black")
| |
| 1896 | hitsound:Play() | |
| 1897 | for i = 1,20 do | |
| 1898 | wait() | |
| 1899 | ra.Transparency = ra.Transparency + 0.05 | |
| 1900 | end | |
| 1901 | ra:Destroy() | |
| 1902 | end | |
| 1903 | slash = Instance.new("Part",char)
| |
| 1904 | slash.CanCollide = false | |
| 1905 | slash.Transparency = 1 | |
| 1906 | slash.Size = Vector3.new(5,5,1) | |
| 1907 | slashweld = Instance.new("Weld",slash)
| |
| 1908 | slashweld.Part0 = torso | |
| 1909 | slashweld.Part1 = slash | |
| 1910 | slashweld.C0 = CFrame.new(0,0,-2) | |
| 1911 | slashdecal = Instance.new("Decal",slash)
| |
| 1912 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
| 1913 | ||
| 1914 | slashdecal1 = Instance.new("Decal",slash)
| |
| 1915 | slashdecal1.Face = "Back" | |
| 1916 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
| 1917 | slashsound:Play() | |
| 1918 | for i = 1, 5 do | |
| 1919 | wait() | |
| 1920 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
| 1921 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1922 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1923 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
| 1924 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1925 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1926 | ||
| 1927 | end | |
| 1928 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
| 1929 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
| 1930 | for i = 1, 5 do | |
| 1931 | wait() | |
| 1932 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
| 1933 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1934 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1935 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
| 1936 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1937 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1938 | ||
| 1939 | end | |
| 1940 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
| 1941 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
| 1942 | ||
| 1943 | wait(0.1) | |
| 1944 | slash:Destroy() | |
| 1945 | if rl ~= nil then | |
| 1946 | rl.BrickColor = BrickColor.new("Really black")
| |
| 1947 | hitsound:Play() | |
| 1948 | for i = 1,20 do | |
| 1949 | wait() | |
| 1950 | rl.Transparency = rl.Transparency + 0.05 | |
| 1951 | end | |
| 1952 | rl:Destroy() | |
| 1953 | end | |
| 1954 | slash = Instance.new("Part",char)
| |
| 1955 | slash.CanCollide = false | |
| 1956 | slash.Transparency = 1 | |
| 1957 | slash.Size = Vector3.new(5,5,1) | |
| 1958 | slashweld = Instance.new("Weld",slash)
| |
| 1959 | slashweld.Part0 = torso | |
| 1960 | slashweld.Part1 = slash | |
| 1961 | slashweld.C0 = CFrame.new(0,0,-2) | |
| 1962 | slashdecal = Instance.new("Decal",slash)
| |
| 1963 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
| 1964 | ||
| 1965 | slashdecal1 = Instance.new("Decal",slash)
| |
| 1966 | slashdecal1.Face = "Back" | |
| 1967 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
| 1968 | slashsound:Play() | |
| 1969 | for i = 1, 5 do | |
| 1970 | wait() | |
| 1971 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
| 1972 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1973 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1974 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
| 1975 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1976 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1977 | ||
| 1978 | end | |
| 1979 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
| 1980 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
| 1981 | for i = 1, 5 do | |
| 1982 | wait() | |
| 1983 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
| 1984 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 1985 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 1986 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
| 1987 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 1988 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 1989 | ||
| 1990 | end | |
| 1991 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
| 1992 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
| 1993 | ||
| 1994 | wait(0.1) | |
| 1995 | slash:Destroy() | |
| 1996 | ||
| 1997 | t.BrickColor = BrickColor.new("Really black")
| |
| 1998 | hitsound:Play() | |
| 1999 | for i = 1,20 do | |
| 2000 | wait() | |
| 2001 | t.Transparency = t.Transparency + 0.05 | |
| 2002 | end | |
| 2003 | t:Destroy() | |
| 2004 | slash = Instance.new("Part",char)
| |
| 2005 | slash.CanCollide = false | |
| 2006 | slash.Transparency = 1 | |
| 2007 | slash.Size = Vector3.new(5,5,1) | |
| 2008 | slashweld = Instance.new("Weld",slash)
| |
| 2009 | slashweld.Part0 = torso | |
| 2010 | slashweld.Part1 = slash | |
| 2011 | slashweld.C0 = CFrame.new(0,0,-2) | |
| 2012 | slashdecal = Instance.new("Decal",slash)
| |
| 2013 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
| 2014 | ||
| 2015 | slashdecal1 = Instance.new("Decal",slash)
| |
| 2016 | slashdecal1.Face = "Back" | |
| 2017 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
| 2018 | slashsound:Play() | |
| 2019 | for i = 1, 5 do | |
| 2020 | wait() | |
| 2021 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
| 2022 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 2023 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 2024 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
| 2025 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 2026 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 2027 | ||
| 2028 | end | |
| 2029 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
| 2030 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
| 2031 | for i = 1, 5 do | |
| 2032 | wait() | |
| 2033 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
| 2034 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
| 2035 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
| 2036 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
| 2037 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
| 2038 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
| 2039 | ||
| 2040 | end | |
| 2041 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
| 2042 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
| 2043 | ||
| 2044 | wait(0.1) | |
| 2045 | slash:Destroy() | |
| 2046 | if h ~= nil then | |
| 2047 | h.BrickColor = BrickColor.new("Really black")
| |
| 2048 | hitsound:Play() | |
| 2049 | for i = 1,20 do | |
| 2050 | wait() | |
| 2051 | h.Transparency = h.Transparency + 0.05 | |
| 2052 | end | |
| 2053 | h:Destroy() | |
| 2054 | end | |
| 2055 | hed.Anchored = false | |
| 2056 | ||
| 2057 | end | |
| 2058 | end | |
| 2059 | end | |
| 2060 | what.Touched:connect(onTouched) | |
| 2061 | end | |
| 2062 | end | |
| 2063 | end) |