SHOW:
|
|
- or go back to the newest paste.
| 1 | --[[i stole zappa model!11!11 | |
| 2 | Genocider by grgrgry21. | |
| 3 | Credit to CKBackUp's Psychopath and idk.. | |
| 4 | B | |
| 5 | U R | |
| 6 | N I N H | |
| 7 | E L | |
| 8 | L | |
| 9 | ]]-- | |
| 10 | wait(1 / 60) | |
| 11 | Effects = { }
| |
| 12 | local Player = game.Players.localPlayer | |
| 13 | local Character = Player.Character | |
| 14 | local Humanoid = Character.Humanoid | |
| 15 | local Mouse = Player:GetMouse() | |
| 16 | local LeftArm = Character["Left Arm"] | |
| 17 | local RightArm = Character["Right Arm"] | |
| 18 | local LeftLeg = Character["Left Leg"] | |
| 19 | local RightLeg = Character["Right Leg"] | |
| 20 | local Head = Character.Head | |
| 21 | local Torso = Character.Torso | |
| 22 | local Camera = game.Workspace.CurrentCamera | |
| 23 | local RootPart = Character.HumanoidRootPart | |
| 24 | local RootJoint = RootPart.RootJoint | |
| 25 | local attack = false | |
| 26 | local Anim = 'Idle' | |
| 27 | local attacktype = 1 | |
| 28 | local delays = false | |
| 29 | local play = true | |
| 30 | local targetted = nil | |
| 31 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 32 | local velocity = RootPart.Velocity.y | |
| 33 | local sine = 0 | |
| 34 | local change = 1 | |
| 35 | local Create = LoadLibrary("RbxUtility").Create
| |
| 36 | Humanoid.WalkSpeed = 8 | |
| 37 | local m = Create("Model"){
| |
| 38 | Parent = Character, | |
| 39 | Name = "WeaponModel", | |
| 40 | } | |
| 41 | ||
| 42 | Humanoid.Animator.Parent = nil | |
| 43 | Character.Animate.Parent = nil | |
| 44 | ||
| 45 | local newMotor = function(part0, part1, c0, c1) | |
| 46 | local w = Create('Motor'){
| |
| 47 | Parent = part0, | |
| 48 | Part0 = part0, | |
| 49 | Part1 = part1, | |
| 50 | C0 = c0, | |
| 51 | C1 = c1, | |
| 52 | } | |
| 53 | return w | |
| 54 | end | |
| 55 | ||
| 56 | function clerp(a, b, t) | |
| 57 | return a:lerp(b, t) | |
| 58 | end | |
| 59 | ||
| 60 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 61 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 62 | ||
| 63 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 64 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 65 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 66 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 67 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 68 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 69 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 70 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 71 | ||
| 72 | local rarmc1 = RW.C1 | |
| 73 | local larmc1 = LW.C1 | |
| 74 | local rlegc1 = RH.C1 | |
| 75 | local llegc1 = LH.C1 | |
| 76 | ||
| 77 | local resetc1 = false | |
| 78 | ||
| 79 | function PlayAnimationFromTable(table, speed, bool) | |
| 80 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 81 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 82 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 83 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 84 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 85 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 86 | if bool == true then | |
| 87 | if resetc1 == false then | |
| 88 | resetc1 = true | |
| 89 | RootJoint.C1 = RootJoint.C1 | |
| 90 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 91 | RW.C1 = rarmc1 | |
| 92 | LW.C1 = larmc1 | |
| 93 | RH.C1 = rlegc1 | |
| 94 | LH.C1 = llegc1 | |
| 95 | end | |
| 96 | end | |
| 97 | end | |
| 98 | ||
| 99 | ArtificialHB = Create("BindableEvent", script){
| |
| 100 | Parent = script, | |
| 101 | Name = "Heartbeat", | |
| 102 | } | |
| 103 | ||
| 104 | script:WaitForChild("Heartbeat")
| |
| 105 | ||
| 106 | frame = 1 / 30 | |
| 107 | tf = 0 | |
| 108 | allowframeloss = false | |
| 109 | tossremainder = false | |
| 110 | lastframe = tick() | |
| 111 | script.Heartbeat:Fire() | |
| 112 | ||
| 113 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 114 | tf = tf + s | |
| 115 | if tf >= frame then | |
| 116 | if allowframeloss then | |
| 117 | script.Heartbeat:Fire() | |
| 118 | lastframe = tick() | |
| 119 | else | |
| 120 | for i = 1, math.floor(tf / frame) do | |
| 121 | script.Heartbeat:Fire() | |
| 122 | end | |
| 123 | lastframe = tick() | |
| 124 | end | |
| 125 | if tossremainder then | |
| 126 | tf = 0 | |
| 127 | else | |
| 128 | tf = tf - frame * math.floor(tf / frame) | |
| 129 | end | |
| 130 | end | |
| 131 | end) | |
| 132 | ||
| 133 | function swait(num) | |
| 134 | if num == 0 or num == nil then | |
| 135 | ArtificialHB.Event:wait() | |
| 136 | else | |
| 137 | for i = 0, num do | |
| 138 | ArtificialHB.Event:wait() | |
| 139 | end | |
| 140 | end | |
| 141 | end | |
| 142 | ||
| 143 | function RemoveOutlines(part) | |
| 144 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 145 | end | |
| 146 | ||
| 147 | CFuncs = {
| |
| 148 | ["Part"] = {
| |
| 149 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 150 | local Part = Create("Part"){
| |
| 151 | Parent = Parent, | |
| 152 | Reflectance = Reflectance, | |
| 153 | Transparency = Transparency, | |
| 154 | CanCollide = false, | |
| 155 | Locked = true, | |
| 156 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 157 | Name = Name, | |
| 158 | Size = Size, | |
| 159 | Material = Material, | |
| 160 | } | |
| 161 | RemoveOutlines(Part) | |
| 162 | return Part | |
| 163 | end; | |
| 164 | }; | |
| 165 | ||
| 166 | ["Mesh"] = {
| |
| 167 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 168 | local Msh = Create(Mesh){
| |
| 169 | Parent = Part, | |
| 170 | Offset = OffSet, | |
| 171 | Scale = Scale, | |
| 172 | } | |
| 173 | if Mesh == "SpecialMesh" then | |
| 174 | Msh.MeshType = MeshType | |
| 175 | Msh.MeshId = MeshId | |
| 176 | end | |
| 177 | return Msh | |
| 178 | end; | |
| 179 | }; | |
| 180 | ||
| 181 | ["Mesh"] = {
| |
| 182 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 183 | local Msh = Create(Mesh){
| |
| 184 | Parent = Part, | |
| 185 | Offset = OffSet, | |
| 186 | Scale = Scale, | |
| 187 | } | |
| 188 | if Mesh == "SpecialMesh" then | |
| 189 | Msh.MeshType = MeshType | |
| 190 | Msh.MeshId = MeshId | |
| 191 | end | |
| 192 | return Msh | |
| 193 | end; | |
| 194 | }; | |
| 195 | ||
| 196 | ["Weld"] = {
| |
| 197 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 198 | local Weld = Create("Weld"){
| |
| 199 | Parent = Parent, | |
| 200 | Part0 = Part0, | |
| 201 | Part1 = Part1, | |
| 202 | C0 = C0, | |
| 203 | C1 = C1, | |
| 204 | } | |
| 205 | return Weld | |
| 206 | end; | |
| 207 | }; | |
| 208 | ||
| 209 | ["Sound"] = {
| |
| 210 | Create = function(id, par, vol, pit) | |
| 211 | coroutine.resume(coroutine.create(function() | |
| 212 | local S = Create("Sound"){
| |
| 213 | Volume = vol, | |
| 214 | Pitch = pit or 1, | |
| 215 | SoundId = id, | |
| 216 | Parent = par or workspace, | |
| 217 | } | |
| 218 | wait() | |
| 219 | S:play() | |
| 220 | game:GetService("Debris"):AddItem(S, 6)
| |
| 221 | end)) | |
| 222 | end; | |
| 223 | }; | |
| 224 | ||
| 225 | ["ParticleEmitter"] = {
| |
| 226 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 227 | local fp = Create("ParticleEmitter"){
| |
| 228 | Parent = Parent, | |
| 229 | Color = ColorSequence.new(Color1, Color2), | |
| 230 | LightEmission = LightEmission, | |
| 231 | Size = Size, | |
| 232 | Texture = Texture, | |
| 233 | Transparency = Transparency, | |
| 234 | ZOffset = ZOffset, | |
| 235 | Acceleration = Accel, | |
| 236 | Drag = Drag, | |
| 237 | LockedToPart = LockedToPart, | |
| 238 | VelocityInheritance = VelocityInheritance, | |
| 239 | EmissionDirection = EmissionDirection, | |
| 240 | Enabled = Enabled, | |
| 241 | Lifetime = LifeTime, | |
| 242 | Rate = Rate, | |
| 243 | Rotation = Rotation, | |
| 244 | RotSpeed = RotSpeed, | |
| 245 | Speed = Speed, | |
| 246 | VelocitySpread = VelocitySpread, | |
| 247 | } | |
| 248 | return fp | |
| 249 | end; | |
| 250 | }; | |
| 251 | ||
| 252 | CreateTemplate = {
| |
| 253 | ||
| 254 | }; | |
| 255 | } | |
| 256 | ||
| 257 | ||
| 258 | ||
| 259 | New = function(Object, Parent, Name, Data) | |
| 260 | local Object = Instance.new(Object) | |
| 261 | for Index, Value in pairs(Data or {}) do
| |
| 262 | Object[Index] = Value | |
| 263 | end | |
| 264 | Object.Parent = Parent | |
| 265 | Object.Name = Name | |
| 266 | return Object | |
| 267 | end | |
| 268 | ||
| 269 | ||
| 270 | - | ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 270 | + | ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 271 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
| |
| 272 | Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 273 | ||
| 274 | Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 275 | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
| |
| 276 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 277 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
| |
| 278 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 279 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 280 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
| |
| 281 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 282 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 283 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
| |
| 284 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 285 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 286 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
| |
| 287 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 288 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 289 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
| |
| 290 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 291 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 292 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
| |
| 293 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 294 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 295 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
| |
| 296 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 297 | - | Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 297 | + | Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 298 | Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
| |
| 299 | mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 300 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 301 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
| |
| 302 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 303 | - | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 303 | + | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 304 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 305 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 306 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 307 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 308 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
| |
| 309 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 310 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 311 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
| |
| 312 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 313 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 314 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
| |
| 315 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 316 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 317 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
| |
| 318 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 319 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 320 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
| |
| 321 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 322 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 323 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
| |
| 324 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 325 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 326 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
| |
| 327 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 328 | - | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 328 | + | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 329 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
| |
| 330 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 331 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 332 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
| |
| 333 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 334 | - | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 334 | + | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 335 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
| |
| 336 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 337 | ||
| 338 | for _,v in pairs(m:children()) do | |
| 339 | if v:IsA("Part") then
| |
| 340 | v.CanCollide = false | |
| 341 | end | |
| 342 | end | |
| 343 | if Character.Name == "grgrgry21" or Character.Name == "Player1" then | |
| 344 | for _,v in pairs(Character:children()) do | |
| 345 | if v:IsA("Accessory") then
| |
| 346 | v:Remove() | |
| 347 | end | |
| 348 | end | |
| 349 | - | Handle = New("Part",Head,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 349 | + | Handle = New("Part",Head,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Crimson"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 350 | Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
| |
| 351 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=146022204",})
| |
| 352 | mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
| |
| 353 | - | Handle1 = New("Part",Head,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Bright red"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
|
| 353 | + | Handle1 = New("Part",Head,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Crimson"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
|
| 354 | Mesh = New("SpecialMesh",Handle1,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
| |
| 355 | mot = New("Motor",Handle1,"mot",{Part0 = Handle1,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
| |
| 356 | end | |
| 357 | ||
| 358 | ||
| 359 | function rayCast(Position, Direction, Range, Ignore) | |
| 360 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 361 | end | |
| 362 | ||
| 363 | --[[FindNearestTorso = function(pos) | |
| 364 | local list = (game.Workspace:children()) | |
| 365 | local torso = nil | |
| 366 | local dist = 1000 | |
| 367 | local temp, human, temp2 = nil, nil, nil | |
| 368 | for x = 1, #list do | |
| 369 | temp2 = list[x] | |
| 370 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 371 | temp = temp2:findFirstChild("Torso")
| |
| 372 | human = temp2:findFirstChild("Humanoid")
| |
| 373 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 374 | local dohit = true | |
| 375 | if dohit == true then | |
| 376 | torso = temp | |
| 377 | dist = (temp.Position - pos).magnitude | |
| 378 | end | |
| 379 | end | |
| 380 | end | |
| 381 | end | |
| 382 | return torso, dist | |
| 383 | end]] | |
| 384 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 385 | if SinglePlayer then | |
| 386 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 387 | end | |
| 388 | local List = {}
| |
| 389 | for i, v in pairs(workspace:GetChildren()) do | |
| 390 | if v:IsA("Model") then
| |
| 391 | if v:findFirstChild("Torso") then
| |
| 392 | if v ~= Character then | |
| 393 | if (v.Torso.Position - Position).magnitude <= Distance then | |
| 394 | table.insert(List, v) | |
| 395 | end | |
| 396 | end | |
| 397 | end | |
| 398 | end | |
| 399 | end | |
| 400 | return List | |
| 401 | end | |
| 402 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 403 | if hit.Parent == nil then | |
| 404 | return | |
| 405 | end | |
| 406 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 407 | for _, v in pairs(hit.Parent:children()) do | |
| 408 | if v:IsA("Humanoid") then
| |
| 409 | h = v | |
| 410 | end | |
| 411 | end | |
| 412 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 413 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 414 | if hit.Parent.DebounceHit.Value == true then | |
| 415 | return | |
| 416 | end | |
| 417 | end | |
| 418 | local c = Create("ObjectValue"){
| |
| 419 | Name = "creator", | |
| 420 | Value = game:service("Players").LocalPlayer,
| |
| 421 | Parent = h, | |
| 422 | } | |
| 423 | game:GetService("Debris"):AddItem(c, .5)
| |
| 424 | if HitSound ~= nil and HitPitch ~= nil then | |
| 425 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 426 | end | |
| 427 | local Damage = math.random(minim, maxim) | |
| 428 | local blocked = false | |
| 429 | local block = hit.Parent:findFirstChild("Block")
| |
| 430 | if block ~= nil then | |
| 431 | if block.className == "IntValue" then | |
| 432 | if block.Value > 0 then | |
| 433 | blocked = true | |
| 434 | block.Value = block.Value - 1 | |
| 435 | print(block.Value) | |
| 436 | end | |
| 437 | end | |
| 438 | end | |
| 439 | if blocked == false then | |
| 440 | h.Health = h.Health - Damage | |
| 441 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 442 | else | |
| 443 | h.Health = h.Health - (Damage / 2) | |
| 444 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 445 | end | |
| 446 | if Type == "Knockdown" then | |
| 447 | local hum = hit.Parent.Humanoid | |
| 448 | hum.PlatformStand = true | |
| 449 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 450 | swait(1) | |
| 451 | HHumanoid.PlatformStand = false | |
| 452 | end), hum) | |
| 453 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 454 | local bodvol = Create("BodyVelocity"){
| |
| 455 | velocity = angle * knockback, | |
| 456 | P = 5000, | |
| 457 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 458 | Parent = hit, | |
| 459 | } | |
| 460 | local rl = Create("BodyAngularVelocity"){
| |
| 461 | P = 3000, | |
| 462 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 463 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 464 | Parent = hit, | |
| 465 | } | |
| 466 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 467 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 468 | elseif Type == "Normal" then | |
| 469 | local vp = Create("BodyVelocity"){
| |
| 470 | P = 500, | |
| 471 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 472 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 473 | } | |
| 474 | if knockback > 0 then | |
| 475 | vp.Parent = hit.Parent.Torso | |
| 476 | end | |
| 477 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 478 | elseif Type == "Up" then | |
| 479 | local bodyVelocity = Create("BodyVelocity"){
| |
| 480 | velocity = Vector3.new(0, 20, 0), | |
| 481 | P = 5000, | |
| 482 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 483 | Parent = hit, | |
| 484 | } | |
| 485 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 486 | elseif Type == "DarkUp" then | |
| 487 | coroutine.resume(coroutine.create(function() | |
| 488 | for i = 0, 1, 0.1 do | |
| 489 | swait() | |
| 490 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 491 | end | |
| 492 | end)) | |
| 493 | local bodyVelocity = Create("BodyVelocity"){
| |
| 494 | velocity = Vector3.new(0, 20, 0), | |
| 495 | P = 5000, | |
| 496 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 497 | Parent = hit, | |
| 498 | } | |
| 499 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 500 | elseif Type == "Snare" then | |
| 501 | local bp = Create("BodyPosition"){
| |
| 502 | P = 2000, | |
| 503 | D = 100, | |
| 504 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 505 | position = hit.Parent.Torso.Position, | |
| 506 | Parent = hit.Parent.Torso, | |
| 507 | } | |
| 508 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 509 | elseif Type == "Freeze" then | |
| 510 | local BodPos = Create("BodyPosition"){
| |
| 511 | P = 50000, | |
| 512 | D = 1000, | |
| 513 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 514 | position = hit.Parent.Torso.Position, | |
| 515 | Parent = hit.Parent.Torso, | |
| 516 | } | |
| 517 | local BodGy = Create("BodyGyro") {
| |
| 518 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 519 | P = 20e+003, | |
| 520 | Parent = hit.Parent.Torso, | |
| 521 | cframe = hit.Parent.Torso.CFrame, | |
| 522 | } | |
| 523 | hit.Parent.Torso.Anchored = true | |
| 524 | coroutine.resume(coroutine.create(function(Part) | |
| 525 | swait(1.5) | |
| 526 | Part.Anchored = false | |
| 527 | end), hit.Parent.Torso) | |
| 528 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 529 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 530 | end | |
| 531 | local debounce = Create("BoolValue"){
| |
| 532 | Name = "DebounceHit", | |
| 533 | Parent = hit.Parent, | |
| 534 | Value = true, | |
| 535 | } | |
| 536 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 537 | c = Create("ObjectValue"){
| |
| 538 | Name = "creator", | |
| 539 | Value = Player, | |
| 540 | Parent = h, | |
| 541 | } | |
| 542 | game:GetService("Debris"):AddItem(c, .5)
| |
| 543 | end | |
| 544 | end | |
| 545 | ||
| 546 | function ShowDamage(Pos, Text, Time, Color) | |
| 547 | local Rate = (1 / 30) | |
| 548 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 549 | local Text = (Text or "") | |
| 550 | local Time = (Time or 2) | |
| 551 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 552 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 553 | EffectPart.Anchored = true | |
| 554 | local BillboardGui = Create("BillboardGui"){
| |
| 555 | Size = UDim2.new(3, 0, 3, 0), | |
| 556 | Adornee = EffectPart, | |
| 557 | Parent = EffectPart, | |
| 558 | } | |
| 559 | local TextLabel = Create("TextLabel"){
| |
| 560 | BackgroundTransparency = 1, | |
| 561 | Size = UDim2.new(1, 0, 1, 0), | |
| 562 | Text = Text, | |
| 563 | Font = "SciFi", | |
| 564 | TextColor3 = Color, | |
| 565 | TextScaled = true, | |
| 566 | Parent = BillboardGui, | |
| 567 | } | |
| 568 | game.Debris:AddItem(EffectPart, (Time)) | |
| 569 | EffectPart.Parent = game:GetService("Workspace")
| |
| 570 | delay(0, function() | |
| 571 | local Frames = (Time / Rate) | |
| 572 | for Frame = 1, Frames do | |
| 573 | wait(Rate) | |
| 574 | local Percent = (Frame / Frames) | |
| 575 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 576 | TextLabel.TextTransparency = Percent | |
| 577 | end | |
| 578 | if EffectPart and EffectPart.Parent then | |
| 579 | EffectPart:Destroy() | |
| 580 | end | |
| 581 | end) | |
| 582 | end | |
| 583 | ||
| 584 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 585 | for _, c in pairs(workspace:children()) do | |
| 586 | local hum = c:findFirstChild("Humanoid")
| |
| 587 | if hum ~= nil then | |
| 588 | local head = c:findFirstChild("Torso")
| |
| 589 | if head ~= nil then | |
| 590 | local targ = head.Position - Part.Position | |
| 591 | local mag = targ.magnitude | |
| 592 | if mag <= Magnitude and c.Name ~= Player.Name then | |
| 593 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 594 | end | |
| 595 | end | |
| 596 | end | |
| 597 | end | |
| 598 | end | |
| 599 | ||
| 600 | EffectModel = Create("Model"){
| |
| 601 | Parent = Character, | |
| 602 | Name = "Effects", | |
| 603 | } | |
| 604 | ||
| 605 | Effects = {
| |
| 606 | Block = {
| |
| 607 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 608 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 609 | prt.Anchored = true | |
| 610 | prt.CFrame = cframe | |
| 611 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 612 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 613 | if Type == 1 or Type == nil then | |
| 614 | table.insert(Effects, {
| |
| 615 | prt, | |
| 616 | "Block1", | |
| 617 | delay, | |
| 618 | x3, | |
| 619 | y3, | |
| 620 | z3, | |
| 621 | msh | |
| 622 | }) | |
| 623 | elseif Type == 2 then | |
| 624 | table.insert(Effects, {
| |
| 625 | prt, | |
| 626 | "Block2", | |
| 627 | delay, | |
| 628 | x3, | |
| 629 | y3, | |
| 630 | z3, | |
| 631 | msh | |
| 632 | }) | |
| 633 | end | |
| 634 | end; | |
| 635 | }; | |
| 636 | ||
| 637 | Cylinder = {
| |
| 638 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 639 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 640 | prt.Anchored = true | |
| 641 | prt.CFrame = cframe | |
| 642 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 643 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 644 | table.insert(Effects, {
| |
| 645 | prt, | |
| 646 | "Cylinder", | |
| 647 | delay, | |
| 648 | x3, | |
| 649 | y3, | |
| 650 | z3, | |
| 651 | msh | |
| 652 | }) | |
| 653 | end; | |
| 654 | }; | |
| 655 | Head = {
| |
| 656 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 657 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 658 | prt.Anchored = true | |
| 659 | prt.CFrame = cframe | |
| 660 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 661 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 662 | table.insert(Effects, {
| |
| 663 | prt, | |
| 664 | "Cylinder", | |
| 665 | delay, | |
| 666 | x3, | |
| 667 | y3, | |
| 668 | z3, | |
| 669 | msh | |
| 670 | }) | |
| 671 | end; | |
| 672 | }; | |
| 673 | ||
| 674 | Sphere = {
| |
| 675 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 676 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 677 | prt.Anchored = true | |
| 678 | prt.CFrame = cframe | |
| 679 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 680 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 681 | table.insert(Effects, {
| |
| 682 | prt, | |
| 683 | "Cylinder", | |
| 684 | delay, | |
| 685 | x3, | |
| 686 | y3, | |
| 687 | z3, | |
| 688 | msh | |
| 689 | }) | |
| 690 | end; | |
| 691 | }; | |
| 692 | ||
| 693 | Elect = {
| |
| 694 | Create = function(cff, x, y, z) | |
| 695 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
| |
| 696 | prt.Anchored = true | |
| 697 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 698 | prt.CFrame = CFrame.new(prt.Position) | |
| 699 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 700 | local xval = math.random() / 2 | |
| 701 | local yval = math.random() / 2 | |
| 702 | local zval = math.random() / 2 | |
| 703 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 704 | table.insert(Effects, {
| |
| 705 | prt, | |
| 706 | "Elec", | |
| 707 | 0.1, | |
| 708 | x, | |
| 709 | y, | |
| 710 | z, | |
| 711 | xval, | |
| 712 | yval, | |
| 713 | zval | |
| 714 | }) | |
| 715 | end; | |
| 716 | ||
| 717 | }; | |
| 718 | ||
| 719 | Ring = {
| |
| 720 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 721 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 722 | prt.Anchored = true | |
| 723 | prt.CFrame = cframe | |
| 724 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 725 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 726 | table.insert(Effects, {
| |
| 727 | prt, | |
| 728 | "Cylinder", | |
| 729 | delay, | |
| 730 | x3, | |
| 731 | y3, | |
| 732 | z3, | |
| 733 | msh | |
| 734 | }) | |
| 735 | end; | |
| 736 | }; | |
| 737 | ||
| 738 | ||
| 739 | Wave = {
| |
| 740 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 741 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 742 | prt.Anchored = true | |
| 743 | prt.CFrame = cframe | |
| 744 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 745 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 746 | table.insert(Effects, {
| |
| 747 | prt, | |
| 748 | "Cylinder", | |
| 749 | delay, | |
| 750 | x3, | |
| 751 | y3, | |
| 752 | z3, | |
| 753 | msh | |
| 754 | }) | |
| 755 | end; | |
| 756 | }; | |
| 757 | ||
| 758 | Break = {
| |
| 759 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 760 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 761 | prt.Anchored = true | |
| 762 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 763 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 764 | local num = math.random(10, 50) / 1000 | |
| 765 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 766 | table.insert(Effects, {
| |
| 767 | prt, | |
| 768 | "Shatter", | |
| 769 | num, | |
| 770 | prt.CFrame, | |
| 771 | math.random() - math.random(), | |
| 772 | 0, | |
| 773 | math.random(50, 100) / 100 | |
| 774 | }) | |
| 775 | end; | |
| 776 | }; | |
| 777 | ||
| 778 | Fire = {
| |
| 779 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 780 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 781 | prt.Anchored = true | |
| 782 | prt.CFrame = cframe | |
| 783 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 784 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 785 | table.insert(Effects, {
| |
| 786 | prt, | |
| 787 | "Fire", | |
| 788 | delay, | |
| 789 | 1, | |
| 790 | 1, | |
| 791 | 1, | |
| 792 | msh | |
| 793 | }) | |
| 794 | end; | |
| 795 | }; | |
| 796 | ||
| 797 | FireWave = {
| |
| 798 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 799 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 800 | prt.Anchored = true | |
| 801 | prt.CFrame = cframe | |
| 802 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 803 | local d = Create("Decal"){
| |
| 804 | Parent = prt, | |
| 805 | - | Texture = "rbxassetid://26356434", |
| 805 | + | Texture = "rbxassetid://52894112", |
| 806 | Face = "Top", | |
| 807 | } | |
| 808 | local d = Create("Decal"){
| |
| 809 | Parent = prt, | |
| 810 | - | Texture = "rbxassetid://26356434", |
| 810 | + | Texture = "rbxassetid://52894112", |
| 811 | Face = "Bottom", | |
| 812 | } | |
| 813 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 814 | table.insert(Effects, {
| |
| 815 | prt, | |
| 816 | "FireWave", | |
| 817 | 1, | |
| 818 | 30, | |
| 819 | math.random(400, 600) / 100, | |
| 820 | msh | |
| 821 | }) | |
| 822 | end; | |
| 823 | }; | |
| 824 | ||
| 825 | Lightning = {
| |
| 826 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 827 | local magz = (p0 - p1).magnitude | |
| 828 | local curpos = p0 | |
| 829 | local trz = {
| |
| 830 | -ofs, | |
| 831 | ofs | |
| 832 | } | |
| 833 | for i = 1, tym do | |
| 834 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 835 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 836 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 837 | li.Material = "Neon" | |
| 838 | if tym == i then | |
| 839 | local magz2 = (curpos - p1).magnitude | |
| 840 | li.Size = Vector3.new(th, th, magz2) | |
| 841 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 842 | table.insert(Effects, {
| |
| 843 | li, | |
| 844 | "Disappear", | |
| 845 | last | |
| 846 | }) | |
| 847 | else | |
| 848 | do | |
| 849 | do | |
| 850 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 851 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 852 | game.Debris:AddItem(li, 10) | |
| 853 | table.insert(Effects, {
| |
| 854 | li, | |
| 855 | "Disappear", | |
| 856 | last | |
| 857 | }) | |
| 858 | end | |
| 859 | end | |
| 860 | end | |
| 861 | end | |
| 862 | end | |
| 863 | }; | |
| 864 | ||
| 865 | EffectTemplate = {
| |
| 866 | ||
| 867 | }; | |
| 868 | } | |
| 869 | ||
| 870 | abss = Instance.new("BillboardGui",Character)
| |
| 871 | abss.Size = UDim2.new(10,0,10,0) | |
| 872 | abss.Enabled = false | |
| 873 | imgl = Instance.new("ImageLabel",abss)
| |
| 874 | imgl.Position = UDim2.new(0,0,0,0) | |
| 875 | imgl.Size = UDim2.new(1,0,1,0) | |
| 876 | - | imgl.Image = "rbxassetid://711463989" |
| 876 | + | imgl.Image = "rbxassetid://227681719" |
| 877 | imgl.BackgroundTransparency = 1 | |
| 878 | imgl.ImageColor3 = Color3.new(.9,0,0) | |
| 879 | img2 = Instance.new("ImageLabel",abss)
| |
| 880 | img2.Position = UDim2.new(0,0,0,0) | |
| 881 | img2.Size = UDim2.new(1,0,1,0) | |
| 882 | - | img2.Image = "rbxassetid://711463989" |
| 882 | + | img2.Image = "rbxassetid://131394739" |
| 883 | img2.BackgroundTransparency = 1 | |
| 884 | img2.ImageColor3 = Color3.new(.9,0,0) | |
| 885 | ||
| 886 | function dmg(dude) | |
| 887 | dude.Humanoid.PlatformStand = true | |
| 888 | ||
| 889 | local partasdeff = Instance.new("ParticleEmitter",dude.Torso)
| |
| 890 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
| 891 | partasdeff.LightEmission = .1 | |
| 892 | partasdeff.Size = NumberSequence.new(0.2) | |
| 893 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
| 894 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
| |
| 895 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 896 | partasdeff.Transparency = bbb | |
| 897 | partasdeff.Size = aaa | |
| 898 | partasdeff.ZOffset = .9 | |
| 899 | partasdeff.Acceleration = Vector3.new(0, -2, 0) | |
| 900 | partasdeff.LockedToPart = false | |
| 901 | partasdeff.EmissionDirection = "Back" | |
| 902 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
| 903 | partasdeff.Rate = 1000 | |
| 904 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
| 905 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
| 906 | partasdeff.Speed = NumberRange.new(10) | |
| 907 | partasdeff.VelocitySpread = 20 | |
| 908 | partasdeff.Enabled=true | |
| 909 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 910 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 911 | local val = Instance.new("BoolValue",dude)
| |
| 912 | val.Name = "IsHit" | |
| 913 | for i = 1, 6 do | |
| 914 | local blo = Instance.new("Part",game.Workspace)
| |
| 915 | blo.Size = Vector3.new(.6,.2,.6) | |
| 916 | blo.Material = "SmoothPlastic" | |
| 917 | blo.BrickColor = BrickColor.new("Crimson")
| |
| 918 | blo.Position = dude.Head.Position | |
| 919 | blo.CFrame = dude.Head.CFrame | |
| 920 | game:GetService("Debris"):AddItem(blo,30)
| |
| 921 | end | |
| 922 | local ds = coroutine.wrap(function() | |
| 923 | wait(.2) | |
| 924 | dude.Torso:BreakJoints() | |
| 925 | partasdeff.Enabled=false | |
| 926 | wait(2) | |
| 927 | partasdeff:Remove() | |
| 928 | end) | |
| 929 | ds() | |
| 930 | end | |
| 931 | ||
| 932 | function attackone() | |
| 933 | attack = true | |
| 934 | Humanoid.WalkSpeed = 0 | |
| 935 | for i = 0, 3, 0.1 do | |
| 936 | swait() | |
| 937 | PlayAnimationFromTable({
| |
| 938 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 939 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 940 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 941 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 942 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 943 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 944 | }, .1, false) | |
| 945 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 946 | end | |
| 947 | Effects.Block.Create(BrickColor.new("New Yeller"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
| |
| 948 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
| |
| 949 | dmg(targetted) | |
| 950 | for i = 0, 1, 0.1 do | |
| 951 | swait() | |
| 952 | PlayAnimationFromTable({
| |
| 953 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 954 | CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 955 | CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 956 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 957 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 958 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 959 | }, .3, false) | |
| 960 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 961 | end | |
| 962 | for i = 0, 2, 0.1 do | |
| 963 | swait() | |
| 964 | PlayAnimationFromTable({
| |
| 965 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 966 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 967 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 968 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 969 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 970 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 971 | }, .3, false) | |
| 972 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 973 | end | |
| 974 | Humanoid.WalkSpeed = 8 | |
| 975 | attack = false | |
| 976 | end | |
| 977 | local Grabbed = false | |
| 978 | ||
| 979 | function hedshoot() | |
| 980 | attack = true | |
| 981 | ||
| 982 | local GGyro = Instance.new("BodyPosition")
| |
| 983 | local WhoTfDidYouGrab = nil | |
| 984 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do | |
| 985 | if v:FindFirstChild('Torso') then
| |
| 986 | Grabbed = true | |
| 987 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Torso, 1, .8)
| |
| 988 | WhoTfDidYouGrab = v | |
| 989 | end | |
| 990 | end | |
| 991 | - | Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07)
|
| 991 | + | Effects.Wave.Create(BrickColor.new("Fossil"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07)
|
| 992 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=200632211", RootPart, 1.5, .5)
| |
| 993 | for i = 0, 1, 0.1 do | |
| 994 | swait() | |
| 995 | if Grabbed == true then | |
| 996 | WhoTfDidYouGrab.Humanoid.PlatformStand = true | |
| 997 | GGyro.position = Partss.Position | |
| 998 | GGyro.Parent = WhoTfDidYouGrab.Head | |
| 999 | WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0) | |
| 1000 | end | |
| 1001 | PlayAnimationFromTable({
| |
| 1002 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1003 | CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1004 | CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1005 | CFrame.new(-1.66092706, 0.266950369, 2.51774691e-06, 0.876968205, 0.480548859, -2.5331974e-06, -0.480548888, 0.876968026, -7.03267551e-06, -1.13248825e-06, 7.38352537e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1006 | CFrame.new(0.146832585, -1.7542398, 0.105335698, 0.266426086, 0.491796821, -0.828946948, 0.0135936746, 0.8580302, 0.513420045, 0.96375972, -0.148056909, 0.221916124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1007 | CFrame.new(-1.09110987, -1.74702656, 0.342675447, 0.765578806, 0.632523358, 0.117487431, -0.642276406, 0.740949869, 0.196148768, 0.0370163769, -0.225626737, 0.973510265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1008 | }, .3, false) | |
| 1009 | RootPart.Velocity = RootPart.CFrame.lookVector * 90 | |
| 1010 | ||
| 1011 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1012 | end | |
| 1013 | if Grabbed == true then | |
| 1014 | Humanoid.WalkSpeed = 0 | |
| 1015 | for i = 0, 2, 0.1 do | |
| 1016 | swait() | |
| 1017 | if Grabbed == true then | |
| 1018 | WhoTfDidYouGrab.Humanoid.PlatformStand = true | |
| 1019 | GGyro.position = Partss.Position | |
| 1020 | GGyro.Parent = WhoTfDidYouGrab.Head | |
| 1021 | WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0) | |
| 1022 | end | |
| 1023 | PlayAnimationFromTable({
| |
| 1024 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1025 | CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1026 | CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1027 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1028 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1029 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1030 | }, .3, false) | |
| 1031 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1032 | end | |
| 1033 | ||
| 1034 | ||
| 1035 | for i = 0, 2, 0.1 do | |
| 1036 | swait() | |
| 1037 | if Grabbed == true then | |
| 1038 | WhoTfDidYouGrab.Humanoid.PlatformStand = true | |
| 1039 | GGyro.position = Partss.Position | |
| 1040 | GGyro.Parent = WhoTfDidYouGrab.Head | |
| 1041 | WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0) | |
| 1042 | end | |
| 1043 | PlayAnimationFromTable({
| |
| 1044 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1045 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1046 | CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1047 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1048 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1049 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1050 | }, .1, false) | |
| 1051 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1052 | end | |
| 1053 | Effects.Block.Create(BrickColor.new("New Yeller"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
| |
| 1054 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
| |
| 1055 | dmg(WhoTfDidYouGrab) | |
| 1056 | WhoTfDidYouGrab.Head.Velocity = WhoTfDidYouGrab.Head.CFrame.lookVector * -60 | |
| 1057 | ||
| 1058 | for i = 0, 1, 0.1 do | |
| 1059 | swait() | |
| 1060 | PlayAnimationFromTable({
| |
| 1061 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1062 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1063 | CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1064 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1065 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1066 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1067 | }, .3, false) | |
| 1068 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1069 | end | |
| 1070 | for i = 0, 2.5, 0.1 do | |
| 1071 | swait() | |
| 1072 | PlayAnimationFromTable({
| |
| 1073 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1074 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1075 | CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1076 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1077 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1078 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1079 | }, .1, false) | |
| 1080 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1081 | end | |
| 1082 | end | |
| 1083 | GGyro.Parent = nil | |
| 1084 | attack = false | |
| 1085 | Grabbed = false | |
| 1086 | Humanoid.WalkSpeed = 8 | |
| 1087 | end | |
| 1088 | function TargetSelect(person) | |
| 1089 | local dd=coroutine.wrap(function() | |
| 1090 | if targetted ~= person then | |
| 1091 | targetted = person | |
| 1092 | img2.Size = UDim2.new(1,0,1,0) | |
| 1093 | img2.ImageTransparency = 0 | |
| 1094 | img2.Position = UDim2.new(0,0,0,0) | |
| 1095 | for i = 0, 2, 0.1 do | |
| 1096 | swait() | |
| 1097 | img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
| 1098 | img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
| 1099 | img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
| 1100 | end | |
| 1101 | end | |
| 1102 | end) | |
| 1103 | dd() | |
| 1104 | end | |
| 1105 | ||
| 1106 | function LockOn() | |
| 1107 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1108 | TargetSelect(Mouse.Target.Parent) | |
| 1109 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8)
| |
| 1110 | end | |
| 1111 | end | |
| 1112 | ||
| 1113 | ||
| 1114 | function ofmoosic() -- 2 lazi hoh | |
| 1115 | delays = true | |
| 1116 | while wait() and kkk and kkk.Volume >= 0.02 do | |
| 1117 | kkk.Volume = kkk.Volume - 0.05 | |
| 1118 | end | |
| 1119 | wait(0.1) | |
| 1120 | kkk.Pitch = 0 | |
| 1121 | kkk.PlaybackSpeed = 0 | |
| 1122 | play = false | |
| 1123 | delays = false | |
| 1124 | end | |
| 1125 | function onmoosic() | |
| 1126 | delays = true | |
| 1127 | - | kkk.Pitch = .6 |
| 1127 | + | kkk.Pitch = 1 |
| 1128 | - | kkk.PlaybackSpeed = .6 |
| 1128 | + | |
| 1129 | while wait() and kkk and kkk.Volume <= 1.5 do | |
| 1130 | kkk.Volume = kkk.Volume + 0.05 | |
| 1131 | end | |
| 1132 | wait(0.1) | |
| 1133 | play = true | |
| 1134 | delays = false | |
| 1135 | end | |
| 1136 | Mouse.Button1Down:connect(function() | |
| 1137 | if attack == false and targetted ~= nil then | |
| 1138 | attackone() | |
| 1139 | end | |
| 1140 | end) | |
| 1141 | ||
| 1142 | Mouse.KeyDown:connect(function(k) | |
| 1143 | k = k:lower() | |
| 1144 | if attack == false and k == 'q' then | |
| 1145 | LockOn() | |
| 1146 | end | |
| 1147 | if k == 'z' and attack == false then | |
| 1148 | hedshoot() | |
| 1149 | elseif k == 'm' and play == true and delays == false then | |
| 1150 | ofmoosic() | |
| 1151 | elseif k == 'm' and play == false and delays == false then | |
| 1152 | onmoosic() | |
| 1153 | end | |
| 1154 | end) | |
| 1155 | ||
| 1156 | kkk = Instance.new("Sound",Character)
| |
| 1157 | kkk.Volume = 1.5 | |
| 1158 | kkk.PlaybackSpeed = 1 | |
| 1159 | - | kkk.Pitch = .6 |
| 1159 | + | kkk.Pitch = 1 |
| 1160 | - | kkk.SoundId = "rbxassetid://583415095" |
| 1160 | + | kkk.SoundId = "rbxassetid://1222505987" |
| 1161 | kkk:Play() | |
| 1162 | kkk.Name = "a" | |
| 1163 | kkk.Looped = true | |
| 1164 | ||
| 1165 | ||
| 1166 | ||
| 1167 | while true do | |
| 1168 | swait() | |
| 1169 | for i, v in pairs(Character:GetChildren()) do | |
| 1170 | if v:IsA("Part") then
| |
| 1171 | v.Material = "SmoothPlastic" | |
| 1172 | elseif v:IsA("Accessory") then
| |
| 1173 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1174 | end | |
| 1175 | end | |
| 1176 | while true do | |
| 1177 | swait() | |
| 1178 | Character.Humanoid.MaxHealth = math.huge | |
| 1179 | Character.Humanoid.Health = math.huge | |
| 1180 | imgl.Rotation = imgl.Rotation + 3 | |
| 1181 | img2.Rotation = img2.Rotation + 3 | |
| 1182 | if targetted ~= nil then | |
| 1183 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
| |
| 1184 | abss.Enabled = true | |
| 1185 | elseif targetted == nil then | |
| 1186 | abss.Adornee = nil | |
| 1187 | abss.Enabled = false | |
| 1188 | end | |
| 1189 | while true and imgl.Rotation >= 360 do | |
| 1190 | imgl.Rotation = 0 | |
| 1191 | img2.Rotation = 0 | |
| 1192 | end | |
| 1193 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1194 | velocity = RootPart.Velocity.y | |
| 1195 | sine = sine + change | |
| 1196 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1197 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1198 | Anim = "Jump" | |
| 1199 | if attack == false then | |
| 1200 | PlayAnimationFromTable({
| |
| 1201 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1202 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1203 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1204 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1205 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1206 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1207 | }, .3, false) | |
| 1208 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1209 | end | |
| 1210 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1211 | Anim = "Fall" | |
| 1212 | if attack == false then | |
| 1213 | PlayAnimationFromTable({
| |
| 1214 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1215 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1216 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1217 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1218 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1219 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1220 | }, .3, false) | |
| 1221 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1222 | end | |
| 1223 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 1224 | Anim = "Idle" | |
| 1225 | if attack == false then | |
| 1226 | change = 1 | |
| 1227 | PlayAnimationFromTable({
| |
| 1228 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1229 | CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0), | |
| 1230 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)), | |
| 1231 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)), | |
| 1232 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1233 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1234 | }, .3, false) | |
| 1235 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1236 | end | |
| 1237 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1238 | Anim = "Walk" | |
| 1239 | if attack == false then | |
| 1240 | PlayAnimationFromTable({
| |
| 1241 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
| 1242 | CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1243 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
| 1244 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
| 1245 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
| 1246 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
| 1247 | }, .3, false) | |
| 1248 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1249 | end | |
| 1250 | end | |
| 1251 | if 0 < #Effects then | |
| 1252 | for e = 1, #Effects do | |
| 1253 | if Effects[e] ~= nil then | |
| 1254 | local Thing = Effects[e] | |
| 1255 | if Thing ~= nil then | |
| 1256 | local Part = Thing[1] | |
| 1257 | local Mode = Thing[2] | |
| 1258 | local Delay = Thing[3] | |
| 1259 | local IncX = Thing[4] | |
| 1260 | local IncY = Thing[5] | |
| 1261 | local IncZ = Thing[6] | |
| 1262 | if Thing[2] == "Shoot" then | |
| 1263 | local Look = Thing[1] | |
| 1264 | local move = 30 | |
| 1265 | if Thing[8] == 3 then | |
| 1266 | move = 10 | |
| 1267 | end | |
| 1268 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
| 1269 | if Thing[10] ~= nil then | |
| 1270 | da = pos | |
| 1271 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 1272 | cfa = CFrame.new(Thing[4], pos) | |
| 1273 | tehCF = cfa:lerp(cf2, 0.2) | |
| 1274 | Thing[1] = tehCF.lookVector | |
| 1275 | end | |
| 1276 | local mag = (Thing[4] - pos).magnitude | |
| 1277 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
| 1278 | if Thing[8] == 2 then | |
| 1279 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
| 1280 | end | |
| 1281 | Thing[4] = Thing[4] + Look * move | |
| 1282 | Thing[3] = Thing[3] - 1 | |
| 1283 | if 2 < Thing[5] then | |
| 1284 | Thing[5] = Thing[5] - 0.3 | |
| 1285 | Thing[6] = Thing[6] - 0.3 | |
| 1286 | end | |
| 1287 | if hit ~= nil then | |
| 1288 | Thing[3] = 0 | |
| 1289 | if Thing[8] == 1 or Thing[8] == 3 then | |
| 1290 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1291 | else | |
| 1292 | if Thing[8] == 2 then | |
| 1293 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1294 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
| |
| 1295 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1296 | ref.Anchored = true | |
| 1297 | ref.CFrame = CFrame.new(pos) | |
| 1298 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
| |
| 1299 | game:GetService("Debris"):AddItem(ref, 0.2)
| |
| 1300 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
| 1301 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
| |
| 1302 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
| 1303 | end | |
| 1304 | end | |
| 1305 | end | |
| 1306 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1307 | ref.Anchored = true | |
| 1308 | ref.CFrame = CFrame.new(pos) | |
| 1309 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
| 1310 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 1311 | end | |
| 1312 | if Thing[3] <= 0 then | |
| 1313 | table.remove(Effects, e) | |
| 1314 | end | |
| 1315 | end | |
| 1316 | do | |
| 1317 | do | |
| 1318 | if Thing[2] == "FireWave" then | |
| 1319 | if Thing[3] <= Thing[4] then | |
| 1320 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 1321 | Thing[3] = Thing[3] + 1 | |
| 1322 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 1323 | else | |
| 1324 | Part.Parent = nil | |
| 1325 | table.remove(Effects, e) | |
| 1326 | end | |
| 1327 | end | |
| 1328 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 1329 | if Thing[1].Transparency <= 1 then | |
| 1330 | if Thing[2] == "Block1" then | |
| 1331 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1332 | Mesh = Thing[7] | |
| 1333 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1334 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1335 | else | |
| 1336 | if Thing[2] == "Block2" then | |
| 1337 | Thing[1].CFrame = Thing[1].CFrame | |
| 1338 | Mesh = Thing[7] | |
| 1339 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1340 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1341 | else | |
| 1342 | if Thing[2] == "Fire" then | |
| 1343 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 1344 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1345 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1346 | else | |
| 1347 | if Thing[2] == "Cylinder" then | |
| 1348 | Mesh = Thing[7] | |
| 1349 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1350 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1351 | else | |
| 1352 | if Thing[2] == "Blood" then | |
| 1353 | Mesh = Thing[7] | |
| 1354 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 1355 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1356 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1357 | else | |
| 1358 | if Thing[2] == "Elec" then | |
| 1359 | Mesh = Thing[10] | |
| 1360 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1361 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1362 | else | |
| 1363 | if Thing[2] == "Disappear" then | |
| 1364 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1365 | else | |
| 1366 | if Thing[2] == "Shatter" then | |
| 1367 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1368 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1369 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1370 | Thing[6] = Thing[6] + Thing[5] | |
| 1371 | end | |
| 1372 | end | |
| 1373 | end | |
| 1374 | end | |
| 1375 | end | |
| 1376 | end | |
| 1377 | end | |
| 1378 | end | |
| 1379 | else | |
| 1380 | Part.Parent = nil | |
| 1381 | table.remove(Effects, e) | |
| 1382 | end | |
| 1383 | end | |
| 1384 | end | |
| 1385 | end | |
| 1386 | end | |
| 1387 | end | |
| 1388 | end | |
| 1389 | end | |
| 1390 | end | |
| 1391 | end |