SHOW:
|
|
- or go back to the newest paste.
| 1 | local p = game:GetService("Players").LocalPlayer
| |
| 2 | local char = p.Character | |
| 3 | local mouse = p:GetMouse() | |
| 4 | local larm = char["Left Arm"] | |
| 5 | local rarm = char["Right Arm"] | |
| 6 | local lleg = char["Left Leg"] | |
| 7 | local rleg = char["Right Leg"] | |
| 8 | local hed = char.Head | |
| 9 | local torso = char.Torso | |
| 10 | local hum = char.Humanoid | |
| 11 | local cam = game.Workspace.CurrentCamera | |
| 12 | local root = char.HumanoidRootPart | |
| 13 | local deb = false | |
| 14 | local shot = 0 | |
| 15 | local stanceToggle = "Normal" | |
| 16 | local l = game:GetService("Lighting")
| |
| 17 | local rs = game:GetService("RunService").RenderStepped
| |
| 18 | hum.DisplayDistanceType = "None" | |
| 19 | math.randomseed(os.time()) | |
| 20 | for i,v in pairs(char:children()) do | |
| 21 | if v:IsA("Hat") then
| |
| 22 | v:Destroy() | |
| 23 | end | |
| 24 | end | |
| 25 | for i,v in pairs (hed:GetChildren()) do | |
| 26 | if v:IsA("Sound") then
| |
| 27 | v:Destroy() | |
| 28 | end | |
| 29 | end | |
| 30 | ---------------------------------------------------- | |
| 31 | Debounces = {
| |
| 32 | CanAttack = true; | |
| 33 | CanJoke = true; | |
| 34 | NoIdl = false; | |
| 35 | Slashing = false; | |
| 36 | Slashed = false; | |
| 37 | Slapping = false; | |
| 38 | Slapped = false; | |
| 39 | ks = false; | |
| 40 | } | |
| 41 | ---------------------------------------------------- | |
| 42 | function weld5(part0, part1, c0, c1) | |
| 43 | weeld=Instance.new("Weld", part0)
| |
| 44 | weeld.Part0=part0 | |
| 45 | weeld.Part1=part1 | |
| 46 | weeld.C0=c0 | |
| 47 | weeld.C1=c1 | |
| 48 | return weeld | |
| 49 | end | |
| 50 | ---------------------------------------------------- | |
| 51 | mod4 = Instance.new("Model",char)
| |
| 52 | ||
| 53 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 54 | ||
| 55 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 56 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 57 | local List = {}
| |
| 58 | for i,v in pairs(workspace:GetChildren())do | |
| 59 | if v:IsA("Model")then
| |
| 60 | if v:findFirstChild("Torso")then
| |
| 61 | if v ~= char then | |
| 62 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 63 | table.insert(List,v) | |
| 64 | end | |
| 65 | end | |
| 66 | end | |
| 67 | end | |
| 68 | end | |
| 69 | return List | |
| 70 | end | |
| 71 | ---------------------------------------------------- | |
| 72 | GroundWave3 = function() | |
| 73 | local HandCF = CFrame.new(root.Position - Vector3.new(0,0,0)) * CFrame.Angles(0,0,0) | |
| 74 | local wave1 = Instance.new("Part", torso)
| |
| 75 | wave1.BrickColor = BrickColor.new("Really black")
| |
| 76 | wave1.Anchored = true | |
| 77 | wave1.CanCollide = false | |
| 78 | wave1.Locked = true | |
| 79 | wave1.Material = "Neon" | |
| 80 | wave1.Size = Vector3.new(1, 1, 1) | |
| 81 | wave1.TopSurface = "Smooth" | |
| 82 | wave1.BottomSurface = "Smooth" | |
| 83 | wave1.Transparency = 0.35 | |
| 84 | wave1.CFrame = HandCF | |
| 85 | wm = Instance.new("SpecialMesh", wave1)
| |
| 86 | wm.Scale = Vector3.new(.1,.1,.1) | |
| 87 | wm.MeshType = "Sphere" | |
| 88 | coroutine.wrap(function() | |
| 89 | for i = 1, 20, 1 do | |
| 90 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
| 91 | --wave1.Size = wm.Scale | |
| 92 | wave1.CFrame = HandCF | |
| 93 | wave1.Transparency = i/20 | |
| 94 | wait() | |
| 95 | end | |
| 96 | wait() | |
| 97 | wave1:Destroy() | |
| 98 | end)() | |
| 99 | end | |
| 100 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 101 | local wave = Instance.new("Part", torso)
| |
| 102 | wave.BrickColor = BrickColor.new("New Yeller")
| |
| 103 | wave.Anchored = true | |
| 104 | wave.CanCollide = false | |
| 105 | wave.Locked = true | |
| 106 | wave.Size = Vector3.new(1, 1, 1) | |
| 107 | wave.TopSurface = "Smooth" | |
| 108 | wave.BottomSurface = "Smooth" | |
| 109 | wave.Transparency = 0.8 | |
| 110 | wave.CFrame = HandCF | |
| 111 | wm = Instance.new("SpecialMesh", wave)
| |
| 112 | wm.MeshId = "rbxassetid://3270017" | |
| 113 | coroutine.wrap(function() | |
| 114 | for i = 1, 14, 1 do | |
| 115 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
| 116 | wave.Size = wm.Scale | |
| 117 | wave.CFrame = HandCF | |
| 118 | wave.Transparency = i/14 | |
| 119 | wait() | |
| 120 | end | |
| 121 | wait() | |
| 122 | wave:Destroy() | |
| 123 | end)() | |
| 124 | ---------------------------------------------------- | |
| 125 | function lerp(a, b, t) -- Linear interpolation | |
| 126 | return a + (b - a)*t | |
| 127 | end | |
| 128 | ||
| 129 | function slerp(a, b, t) --Spherical interpolation | |
| 130 | dot = a:Dot(b) | |
| 131 | if dot > 0.99999 or dot < -0.99999 then | |
| 132 | return t <= 0.5 and a or b | |
| 133 | else | |
| 134 | r = math.acos(dot) | |
| 135 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 136 | end | |
| 137 | end | |
| 138 | ||
| 139 | function matrixInterpolate(a, b, t) | |
| 140 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 141 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 142 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 143 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 144 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 145 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 146 | local t = v1:Dot(v2) | |
| 147 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 148 | return CFrame.new() | |
| 149 | end | |
| 150 | return CFrame.new( | |
| 151 | v0.x, v0.y, v0.z, | |
| 152 | v1.x, v1.y, v1.z, | |
| 153 | v2.x, v2.y, v2.z, | |
| 154 | v3.x, v3.y, v3.z) | |
| 155 | end | |
| 156 | ---------------------------------------------------- | |
| 157 | function genWeld(a,b) | |
| 158 | local w = Instance.new("Weld",a)
| |
| 159 | w.Part0 = a | |
| 160 | w.Part1 = b | |
| 161 | return w | |
| 162 | end | |
| 163 | function weld(a, b) | |
| 164 | local weld = Instance.new("Weld")
| |
| 165 | weld.Name = "W" | |
| 166 | weld.Part0 = a | |
| 167 | weld.Part1 = b | |
| 168 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 169 | weld.Parent = a | |
| 170 | return weld; | |
| 171 | end | |
| 172 | ---------------------------------------------------- | |
| 173 | function Lerp(c1,c2,al) | |
| 174 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 175 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 176 | for i,v in pairs(com1) do | |
| 177 | com1[i] = v+(com2[i]-v)*al | |
| 178 | end | |
| 179 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 180 | end | |
| 181 | ---------------------------------------------------- | |
| 182 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 183 | local wld = Instance.new("Weld", wp1)
| |
| 184 | wld.Part0 = wp0 | |
| 185 | wld.Part1 = wp1 | |
| 186 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 187 | end | |
| 188 | ---------------------------------------------------- | |
| 189 | local AddInstance = function(Object, ...) | |
| 190 | local Obj = Instance.new(Object) | |
| 191 | for i,v in next,(...) do | |
| 192 | Obj[i] = v | |
| 193 | end | |
| 194 | return Obj | |
| 195 | end | |
| 196 | ---------------------------------------------------- | |
| 197 | larm.Size = larm.Size * 4.5 | |
| 198 | rarm.Size = rarm.Size * 4.5 | |
| 199 | lleg.Size = lleg.Size * 4.5 | |
| 200 | rleg.Size = rleg.Size * 4.5 | |
| 201 | torso.Size = torso.Size * 4.5 | |
| 202 | hed.Size = hed.Size * 4.5 | |
| 203 | root.Size = root.Size * 4.5 | |
| 204 | ---------------------------------------------------- | |
| 205 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 206 | larm.Weld.C1 = CFrame.new(5.2,0.5,0) | |
| 207 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 208 | rarm.Weld.C1 = CFrame.new(-5.2, 0.5, 0) | |
| 209 | newWeld(torso, hed, 0, 6.8, 0) | |
| 210 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 211 | lleg.Weld.C1 = CFrame.new(1.7, 8, 0) | |
| 212 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 213 | rleg.Weld.C1 = CFrame.new(-1.7, 8, 0) | |
| 214 | newWeld(root, torso, 0, 0, 0) | |
| 215 | torso.Weld.C1 = CFrame.new(0, 0, 0) | |
| 216 | ---------------------------------------------------- | |
| 217 | --local SIDz = {"389780352"}, 167161785, 148274436
| |
| 218 | z = Instance.new("Sound",char)
| |
| 219 | z.SoundId = "rbxassetid://389780352"--..SIDz[math.random(1,#SIDz)] | |
| 220 | z.Looped = true | |
| 221 | z.Volume = math.huge | |
| 222 | z.Pitch = 1 | |
| 223 | wait(1) | |
| 224 | z:Play() | |
| 225 | hum.WalkSpeed = 16 | |
| 226 | ---------------------------------------------------- | |
| 227 | local Eye1 = AddInstance("Part",{
| |
| 228 | Name = "Eye1", | |
| 229 | Parent = hed, | |
| 230 | CFrame = hed.CFrame, | |
| 231 | Color = Color3.new(255,0,0), | |
| 232 | Material = "Neon", | |
| 233 | formFactor = "Symmetric", | |
| 234 | Size = Vector3.new(1, 1, 1), | |
| 235 | CanCollide = false, | |
| 236 | Shape = "Ball", | |
| 237 | TopSurface = "Smooth", | |
| 238 | BottomSurface = "Smooth", | |
| 239 | Locked = true, | |
| 240 | }) | |
| 241 | local Weld = AddInstance("Weld",{
| |
| 242 | Parent = Eye1, | |
| 243 | Part0 = hed, | |
| 244 | C0 = CFrame.new(-0.7, 0.6, -3.8)*CFrame.Angles(0, 0, 0), | |
| 245 | Part1 = Eye1, | |
| 246 | }) | |
| 247 | local Eye2 = AddInstance("Part",{
| |
| 248 | Name = "Eye2", | |
| 249 | Parent = hed, | |
| 250 | CFrame = hed.CFrame, | |
| 251 | Color = Color3.new(255,0,0), | |
| 252 | Material = "Neon", | |
| 253 | formFactor = "Symmetric", | |
| 254 | Size = Vector3.new(1, 1, 1), | |
| 255 | CanCollide = false, | |
| 256 | Shape = "Ball", | |
| 257 | TopSurface = "Smooth", | |
| 258 | BottomSurface = "Smooth", | |
| 259 | Locked = true, | |
| 260 | }) | |
| 261 | local Weld = AddInstance("Weld",{
| |
| 262 | Parent = Eye2, | |
| 263 | Part0 = hed, | |
| 264 | C0 = CFrame.new(0.7, 0.6, -3.8)*CFrame.Angles(0, 0, 0), | |
| 265 | Part1 = Eye2, | |
| 266 | }) | |
| 267 | local Reaper = AddInstance("Part",{
| |
| 268 | Parent = hed, | |
| 269 | CFrame = hed.CFrame, | |
| 270 | formFactor = "Symmetric", | |
| 271 | Size = Vector3.new(1, 1, 1), | |
| 272 | CanCollide = false, | |
| 273 | TopSurface = "Smooth", | |
| 274 | BottomSurface = "Smooth", | |
| 275 | Locked = true, | |
| 276 | }) | |
| 277 | local Weld = AddInstance("Weld",{
| |
| 278 | Parent = Reaper, | |
| 279 | Part0 = hed, | |
| 280 | C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, 0, 0), | |
| 281 | Part1 = Reaper, | |
| 282 | }) | |
| 283 | local Mesh = AddInstance("SpecialMesh",{
| |
| 284 | Parent = Reaper, | |
| 285 | MeshId = "rbxassetid://16150814", | |
| 286 | TextureId = "rbxassetid://16150799", | |
| 287 | Scale = Vector3.new(5.181, 5.181, 5.181), | |
| 288 | VertexColor = Vector3.new(0.3, 0.3, 0.3), | |
| 289 | }) | |
| 290 | ---------------------------------------------------- | |
| 291 | local o1 = AddInstance("Model",{
| |
| 292 | Name = "Genkadda", | |
| 293 | Parent = char, | |
| 294 | }) | |
| 295 | local o2 = AddInstance("Part",{
| |
| 296 | Name = "Handle", | |
| 297 | Parent = o1, | |
| 298 | Material = Enum.Material.Granite, | |
| 299 | BrickColor = BrickColor.new("Black"),
| |
| 300 | CanCollide = false, | |
| 301 | Size = Vector3.new(0.54285717, 4.96428585, 1.02857149), | |
| 302 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 303 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 304 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 305 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 306 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 307 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 308 | Color = Color3.new(0.105882, 0.164706, 0.207843), | |
| 309 | Locked = true, | |
| 310 | }) | |
| 311 | local o3 = AddInstance("Part",{
| |
| 312 | Parent = o1, | |
| 313 | Material = Enum.Material.Granite, | |
| 314 | BrickColor = BrickColor.new("Really black"),
| |
| 315 | CanCollide = false, | |
| 316 | Size = Vector3.new(0.521428645, 0.200000003, 4.92857265), | |
| 317 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 318 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 319 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 320 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 321 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 322 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 323 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
| 324 | Locked = true, | |
| 325 | }) | |
| 326 | local Weld = AddInstance("Weld",{
| |
| 327 | Parent = o3, | |
| 328 | Part0 = o2, | |
| 329 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 330 | Part1 = o3, | |
| 331 | C1 = CFrame.new(7.12578583, -2.70594311, -56.9015656, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 332 | }) | |
| 333 | local o6 = AddInstance("Part",{
| |
| 334 | Name = "8", | |
| 335 | Parent = o1, | |
| 336 | Material = Enum.Material.Neon, | |
| 337 | BrickColor = BrickColor.new("New Yeller"),
| |
| 338 | CanCollide = false, | |
| 339 | Size = Vector3.new(0.864285767, 0.221428677, 5.65714407), | |
| 340 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 341 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 342 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 343 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 344 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 345 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 346 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 347 | Locked = true, | |
| 348 | }) | |
| 349 | local Weld = AddInstance("Weld",{
| |
| 350 | Parent = o6, | |
| 351 | Part0 = o2, | |
| 352 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 353 | Part1 = o6, | |
| 354 | C1 = CFrame.new(7.12578583, -2.68451595, -56.9015579, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 355 | }) | |
| 356 | local o8 = AddInstance("Part",{
| |
| 357 | Name = "20", | |
| 358 | Parent = o1, | |
| 359 | Material = Enum.Material.Neon, | |
| 360 | BrickColor = BrickColor.new("New Yeller"),
| |
| 361 | CanCollide = false, | |
| 362 | Size = Vector3.new(0.54285717, 0.657142878, 1.02857149), | |
| 363 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 364 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 365 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 366 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 367 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 368 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 369 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 370 | Locked = true, | |
| 371 | }) | |
| 372 | local Weld = AddInstance("Weld",{
| |
| 373 | Parent = o8, | |
| 374 | Part0 = o2, | |
| 375 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 376 | Part1 = o8, | |
| 377 | C1 = CFrame.new(7.12578964, 2.69762135, -56.9015579, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 378 | }) | |
| 379 | local o10 = AddInstance("Part",{
| |
| 380 | Name = "15", | |
| 381 | Parent = o1, | |
| 382 | Material = Enum.Material.Neon, | |
| 383 | BrickColor = BrickColor.new("New Yeller"),
| |
| 384 | CanCollide = false, | |
| 385 | Size = Vector3.new(0.54285717, 0.657142937, 2.02857161), | |
| 386 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 387 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 388 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 389 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 390 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 391 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 392 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 393 | Locked = true, | |
| 394 | }) | |
| 395 | local Weld = AddInstance("Weld",{
| |
| 396 | Parent = o10, | |
| 397 | Part0 = o2, | |
| 398 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 399 | Part1 = o10, | |
| 400 | C1 = CFrame.new(7.12578773, 2.69762325, -55.3730087, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 401 | }) | |
| 402 | local o11 = AddInstance("SpecialMesh",{
| |
| 403 | Parent = o10, | |
| 404 | MeshType = Enum.MeshType.Wedge, | |
| 405 | }) | |
| 406 | o12 = AddInstance("Part",{
| |
| 407 | Name = "10", | |
| 408 | Parent = o1, | |
| 409 | Material = Enum.Material.Neon, | |
| 410 | BrickColor = BrickColor.new("New Yeller"),
| |
| 411 | CanCollide = false, | |
| 412 | Size = Vector3.new(0.54285717, 0.657142878, 2.02857161), | |
| 413 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 414 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 415 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 416 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 417 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 418 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 419 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 420 | Locked = true, | |
| 421 | }) | |
| 422 | local Weld = AddInstance("Weld",{
| |
| 423 | Parent = o12, | |
| 424 | Part0 = o2, | |
| 425 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 426 | Part1 = o12, | |
| 427 | C1 = CFrame.new(-7.12579155, 2.69761753, 58.4300995, 0.999990702, -0.00427576201, 0.000560929009, 0.00055484724, -0.00142344052, -0.999998868, 0.0042765555, 0.999989867, -0.00142105494), | |
| 428 | }) | |
| 429 | local o13 = AddInstance("SpecialMesh",{
| |
| 430 | Parent = o12, | |
| 431 | MeshType = Enum.MeshType.Wedge, | |
| 432 | }) | |
| 433 | local o14 = AddInstance("Part",{
| |
| 434 | Name = "9", | |
| 435 | Parent = o1, | |
| 436 | Material = Enum.Material.Neon, | |
| 437 | BrickColor = BrickColor.new("New Yeller"),
| |
| 438 | CanCollide = false, | |
| 439 | Size = Vector3.new(0.54285717, 1.11428583, 0.371428579), | |
| 440 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 441 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 442 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 443 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 444 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 445 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 446 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 447 | Locked = true, | |
| 448 | }) | |
| 449 | local Weld = AddInstance("Weld",{
| |
| 450 | Parent = o14, | |
| 451 | Part0 = o2, | |
| 452 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 453 | Part1 = o14, | |
| 454 | C1 = CFrame.new(7.12578201, 2.12619781, -56.2015648, -0.999990702, 0.00427558692, -0.000560841348, 0.00055476022, -0.00142335275, -0.999998868, -0.00427637994, -0.999989867, 0.00142096763), | |
| 455 | }) | |
| 456 | local o15 = AddInstance("SpecialMesh",{
| |
| 457 | Parent = o14, | |
| 458 | MeshType = Enum.MeshType.Wedge, | |
| 459 | }) | |
| 460 | o16 = AddInstance("Part",{
| |
| 461 | Name = "6", | |
| 462 | Parent = o1, | |
| 463 | Material = Enum.Material.Neon, | |
| 464 | BrickColor = BrickColor.new("New Yeller"),
| |
| 465 | CanCollide = false, | |
| 466 | Size = Vector3.new(0.54285717, 1.11428583, 0.371428579), | |
| 467 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 468 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 469 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 470 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 471 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 472 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 473 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 474 | Locked = true, | |
| 475 | }) | |
| 476 | local Weld = AddInstance("Weld",{
| |
| 477 | Parent = o16, | |
| 478 | Part0 = o2, | |
| 479 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 480 | Part1 = o16, | |
| 481 | C1 = CFrame.new(-7.12579536, 2.12619114, 57.6015701, 0.999990702, -0.00427576201, 0.000560841581, 0.000554759463, -0.0014235276, -0.999998868, 0.0042765555, 0.999989867, -0.00142114237), | |
| 482 | }) | |
| 483 | local o17 = AddInstance("SpecialMesh",{
| |
| 484 | Parent = o16, | |
| 485 | MeshType = Enum.MeshType.Wedge, | |
| 486 | }) | |
| 487 | o18 = AddInstance("Part",{
| |
| 488 | Name = "21", | |
| 489 | Parent = o1, | |
| 490 | Material = Enum.Material.Neon, | |
| 491 | BrickColor = BrickColor.new("New Yeller"),
| |
| 492 | CanCollide = false, | |
| 493 | Size = Vector3.new(0.564285755, 0.257142901, 0.514285743), | |
| 494 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 495 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 496 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 497 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 498 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 499 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 500 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 501 | Locked = true, | |
| 502 | }) | |
| 503 | local Weld = AddInstance("Weld",{
| |
| 504 | Parent = o18, | |
| 505 | Part0 = o2, | |
| 506 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 507 | Part1 = o18, | |
| 508 | C1 = CFrame.new(-7.12578964, 2.24047565, 57.1586876, 0.999990702, -0.00427576201, 0.000560841581, 0.000554759463, -0.0014235276, -0.999998868, 0.0042765555, 0.999989867, -0.00142114237), | |
| 509 | }) | |
| 510 | local o19 = AddInstance("SpecialMesh",{
| |
| 511 | Parent = o18, | |
| 512 | MeshType = Enum.MeshType.Wedge, | |
| 513 | }) | |
| 514 | o20 = AddInstance("Part",{
| |
| 515 | Name = "13", | |
| 516 | Parent = o1, | |
| 517 | Material = Enum.Material.Neon, | |
| 518 | BrickColor = BrickColor.new("New Yeller"),
| |
| 519 | CanCollide = false, | |
| 520 | Size = Vector3.new(0.564285755, 0.257142901, 0.514285743), | |
| 521 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 522 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 523 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 524 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 525 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 526 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 527 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 528 | Locked = true, | |
| 529 | }) | |
| 530 | local Weld = AddInstance("Weld",{
| |
| 531 | Parent = o20, | |
| 532 | Part0 = o2, | |
| 533 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 534 | Part1 = o20, | |
| 535 | C1 = CFrame.new(7.1258049, 2.24045849, -56.6443939, -0.999990702, 0.00427594269, -0.000560964399, 0.000554880884, -0.00142379443, -0.999998868, -0.00427673617, -0.999989867, 0.00142140849), | |
| 536 | }) | |
| 537 | local o21 = AddInstance("SpecialMesh",{
| |
| 538 | Parent = o20, | |
| 539 | MeshType = Enum.MeshType.Wedge, | |
| 540 | }) | |
| 541 | o22 = AddInstance("Part",{
| |
| 542 | Name = "16", | |
| 543 | Parent = o1, | |
| 544 | Material = Enum.Material.Neon, | |
| 545 | BrickColor = BrickColor.new("New Yeller"),
| |
| 546 | CanCollide = false, | |
| 547 | Size = Vector3.new(0.564285755, 1.73571444, 0.200000003), | |
| 548 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 549 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 550 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 551 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 552 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 553 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 554 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 555 | Locked = true, | |
| 556 | }) | |
| 557 | local Weld = AddInstance("Weld",{
| |
| 558 | Parent = o22, | |
| 559 | Part0 = o2, | |
| 560 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 561 | Part1 = o22, | |
| 562 | C1 = CFrame.new(7.1258049, 1.38688946, -56.830143, -0.999990702, 0.00427594269, -0.000560964399, 0.000554880884, -0.00142379443, -0.999998868, -0.00427673617, -0.999989867, 0.00142140849), | |
| 563 | }) | |
| 564 | local o23 = AddInstance("SpecialMesh",{
| |
| 565 | Parent = o22, | |
| 566 | Scale = Vector3.new(1, 1, 0.714285672), | |
| 567 | MeshType = Enum.MeshType.Wedge, | |
| 568 | }) | |
| 569 | o24 = AddInstance("Part",{
| |
| 570 | Name = "14", | |
| 571 | Parent = o1, | |
| 572 | Material = Enum.Material.Neon, | |
| 573 | BrickColor = BrickColor.new("New Yeller"),
| |
| 574 | CanCollide = false, | |
| 575 | Size = Vector3.new(0.564285755, 1.73571444, 0.200000003), | |
| 576 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 577 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 578 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 579 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 580 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 581 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 582 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 583 | Locked = true, | |
| 584 | }) | |
| 585 | local Weld = AddInstance("Weld",{
| |
| 586 | Parent = o24, | |
| 587 | Part0 = o2, | |
| 588 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 589 | Part1 = o24, | |
| 590 | C1 = CFrame.new(-7.12580872, 1.38689709, 56.9729919, 0.999990702, -0.0042760619, 0.000560866669, 0.000554783503, -0.00142366707, -0.999998868, 0.00427685538, 0.999989867, -0.00142128149), | |
| 591 | }) | |
| 592 | local o25 = AddInstance("SpecialMesh",{
| |
| 593 | Parent = o24, | |
| 594 | Scale = Vector3.new(1, 1, 0.714285672), | |
| 595 | MeshType = Enum.MeshType.Wedge, | |
| 596 | }) | |
| 597 | o26 = AddInstance("Part",{
| |
| 598 | Name = "4", | |
| 599 | Parent = o1, | |
| 600 | Material = Enum.Material.Neon, | |
| 601 | BrickColor = BrickColor.new("New Yeller"),
| |
| 602 | CanCollide = false, | |
| 603 | Size = Vector3.new(0.54285717, 0.657142878, 1.02857149), | |
| 604 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 605 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 606 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 607 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 608 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 609 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 610 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 611 | Locked = true, | |
| 612 | }) | |
| 613 | local Weld = AddInstance("Weld",{
| |
| 614 | Parent = o26, | |
| 615 | Part0 = o2, | |
| 616 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 617 | Part1 = o26, | |
| 618 | C1 = CFrame.new(-7.12579346, 2.69762135, 57.9301262, 0.999990702, -0.00427576201, 0.000560929009, 0.00055484724, -0.00142344052, -0.999998868, 0.0042765555, 0.999989867, -0.00142105494), | |
| 619 | }) | |
| 620 | local o27 = AddInstance("SpecialMesh",{
| |
| 621 | Parent = o26, | |
| 622 | MeshType = Enum.MeshType.Wedge, | |
| 623 | }) | |
| 624 | o28 = AddInstance("Part",{
| |
| 625 | Name = "11", | |
| 626 | Parent = o1, | |
| 627 | Material = Enum.Material.Neon, | |
| 628 | BrickColor = BrickColor.new("New Yeller"),
| |
| 629 | CanCollide = false, | |
| 630 | Size = Vector3.new(0.864285767, 0.657142937, 1.02857149), | |
| 631 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 632 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 633 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 634 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 635 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 636 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 637 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 638 | Locked = true, | |
| 639 | }) | |
| 640 | local Weld = AddInstance("Weld",{
| |
| 641 | Parent = o28, | |
| 642 | Part0 = o2, | |
| 643 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 644 | Part1 = o28, | |
| 645 | C1 = CFrame.new(7.12579346, 59.387291, -2.07380676, -0.999990702, 0.00427573128, -0.000560924469, 0.00427652476, 0.999989867, -0.00142105541, 0.000554842758, -0.00142344099, -0.999998868), | |
| 646 | }) | |
| 647 | local o29 = AddInstance("SpecialMesh",{
| |
| 648 | Parent = o28, | |
| 649 | MeshType = Enum.MeshType.Wedge, | |
| 650 | }) | |
| 651 | o30 = AddInstance("Part",{
| |
| 652 | Name = "17", | |
| 653 | Parent = o1, | |
| 654 | Material = Enum.Material.Granite, | |
| 655 | BrickColor = BrickColor.new("Really black"),
| |
| 656 | CanCollide = false, | |
| 657 | Size = Vector3.new(0.542999983, 20, 3.02900004), | |
| 658 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 659 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 660 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 661 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 662 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 663 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 664 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
| 665 | Locked = true, | |
| 666 | }) | |
| 667 | local Weld = AddInstance("Weld",{
| |
| 668 | Parent = o30, | |
| 669 | Part0 = o2, | |
| 670 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 671 | Part1 = o30, | |
| 672 | C1 = CFrame.new(7.1257782, -12.6132841, -56.901535, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 673 | }) | |
| 674 | local o32 = AddInstance("Part",{
| |
| 675 | Name = "3", | |
| 676 | Parent = o1, | |
| 677 | Material = Enum.Material.Neon, | |
| 678 | BrickColor = BrickColor.new("New Yeller"),
| |
| 679 | CanCollide = false, | |
| 680 | Size = Vector3.new(0.864285767, 0.657142937, 1.02857149), | |
| 681 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 682 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 683 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 684 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 685 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 686 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 687 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 688 | Locked = true, | |
| 689 | }) | |
| 690 | local Weld = AddInstance("Weld",{
| |
| 691 | Parent = o32, | |
| 692 | Part0 = o2, | |
| 693 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 694 | Part1 = o32, | |
| 695 | C1 = CFrame.new(-7.12579155, -54.4158592, -2.07380486, 0.999990702, -0.00427573407, 0.000560930872, -0.00427652756, -0.999989867, 0.00142105471, 0.000554849161, -0.00142344029, -0.999998868), | |
| 696 | }) | |
| 697 | local o33 = AddInstance("SpecialMesh",{
| |
| 698 | Parent = o32, | |
| 699 | MeshType = Enum.MeshType.Wedge, | |
| 700 | }) | |
| 701 | o34 = AddInstance("Part",{
| |
| 702 | Name = "18", | |
| 703 | Parent = o1, | |
| 704 | Material = Enum.Material.Neon, | |
| 705 | BrickColor = BrickColor.new("New Yeller"),
| |
| 706 | CanCollide = false, | |
| 707 | Size = Vector3.new(0.400000006, 6.11428595, 5.03142834), | |
| 708 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 709 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 710 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 711 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 712 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 713 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 714 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 715 | Locked = true, | |
| 716 | }) | |
| 717 | local Weld = AddInstance("Weld",{
| |
| 718 | Parent = o34, | |
| 719 | Part0 = o2, | |
| 720 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 721 | Part1 = o34, | |
| 722 | C1 = CFrame.new(-7.12446594, -25.670372, 56.9022903, 0.999990761, -0.00427558692, 0.000561015506, 0.000554933562, -0.00142352702, -0.999998868, 0.00427638087, 0.999989927, -0.00142114121), | |
| 723 | }) | |
| 724 | local o35 = AddInstance("SpecialMesh",{
| |
| 725 | Parent = o34, | |
| 726 | MeshType = Enum.MeshType.Wedge, | |
| 727 | }) | |
| 728 | o36 = AddInstance("Part",{
| |
| 729 | Name = "7", | |
| 730 | Parent = o1, | |
| 731 | Material = Enum.Material.Granite, | |
| 732 | BrickColor = BrickColor.new("Really black"),
| |
| 733 | CanCollide = false, | |
| 734 | Size = Vector3.new(0.542999983, 4.11428595, 3.03142834), | |
| 735 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 736 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 737 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 738 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 739 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 740 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 741 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
| 742 | Locked = true, | |
| 743 | }) | |
| 744 | local Weld = AddInstance("Weld",{
| |
| 745 | Parent = o36, | |
| 746 | Part0 = o2, | |
| 747 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 748 | Part1 = o36, | |
| 749 | C1 = CFrame.new(-7.12448502, -24.6703815, 56.9065475, 0.999990761, -0.00427558692, 0.000561015506, 0.000554933562, -0.00142352702, -0.999998868, 0.00427638087, 0.999989927, -0.00142114121), | |
| 750 | }) | |
| 751 | local o37 = AddInstance("SpecialMesh",{
| |
| 752 | Parent = o36, | |
| 753 | MeshType = Enum.MeshType.Wedge, | |
| 754 | }) | |
| 755 | local o38 = AddInstance("Part",{
| |
| 756 | Name = "19", | |
| 757 | Parent = o1, | |
| 758 | Material = Enum.Material.Neon, | |
| 759 | BrickColor = BrickColor.new("New Yeller"),
| |
| 760 | CanCollide = false, | |
| 761 | Size = Vector3.new(4.54285717, 5.01428556, 1.02857161), | |
| 762 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 763 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 764 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 765 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 766 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 767 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 768 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 769 | Locked = true, | |
| 770 | }) | |
| 771 | local Weld = AddInstance("Weld",{
| |
| 772 | Parent = o38, | |
| 773 | Part0 = o2, | |
| 774 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 775 | Part1 = o38, | |
| 776 | C1 = CFrame.new(2.95587444, -56.843811, -7.12423134, -0.000554800034, 0.00142350839, 0.999998927, -0.00427680276, -0.999989867, 0.0014211227, 0.999990702, -0.00427600928, 0.000560882385), | |
| 777 | }) | |
| 778 | local o39 = AddInstance("SpecialMesh",{
| |
| 779 | Parent = o38, | |
| 780 | MeshId = "http://www.roblox.com/asset?id=156292343", | |
| 781 | Scale = Vector3.new(7, 7, 15), | |
| 782 | MeshType = Enum.MeshType.FileMesh, | |
| 783 | }) | |
| 784 | local o40 = AddInstance("Part",{
| |
| 785 | Name = "12", | |
| 786 | Parent = o1, | |
| 787 | Material = Enum.Material.Neon, | |
| 788 | BrickColor = BrickColor.new("New Yeller"),
| |
| 789 | CanCollide = false, | |
| 790 | Size = Vector3.new(4.54285717, 5.01428556, 1.02857161), | |
| 791 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 792 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 793 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 794 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 795 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 796 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 797 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 798 | Locked = true, | |
| 799 | }) | |
| 800 | local Weld = AddInstance("Weld",{
| |
| 801 | Parent = o40, | |
| 802 | Part0 = o2, | |
| 803 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 804 | Part1 = o40, | |
| 805 | C1 = CFrame.new(-12.5559368, 56.88451, -7.11906242, 0.000555172679, -0.00142338919, -0.999998868, 0.00427656481, 0.999989867, -0.00142100221, 0.999990702, -0.00427577086, 0.000561254215), | |
| 806 | }) | |
| 807 | local o41 = AddInstance("SpecialMesh",{
| |
| 808 | Parent = o40, | |
| 809 | MeshId = "rbxassetid://430139732", | |
| 810 | Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001), | |
| 811 | MeshType = Enum.MeshType.FileMesh, | |
| 812 | }) | |
| 813 | local o42 = AddInstance("Part",{
| |
| 814 | Name = "2", | |
| 815 | Parent = o1, | |
| 816 | Material = Enum.Material.Neon, | |
| 817 | BrickColor = BrickColor.new("New Yeller"),
| |
| 818 | CanCollide = false, | |
| 819 | Size = Vector3.new(0.400000006, 20, 5.02900028), | |
| 820 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 821 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 822 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 823 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 824 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 825 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
| 826 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
| 827 | Locked = true, | |
| 828 | }) | |
| 829 | local Weld = AddInstance("Weld",{
| |
| 830 | Parent = o42, | |
| 831 | Part0 = o2, | |
| 832 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 833 | Part1 = o42, | |
| 834 | C1 = CFrame.new(7.1257782, -12.6132774, -56.9015694, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 835 | }) | |
| 836 | ---------------------------------------------------- | |
| 837 | local cor = AddInstance("Part",{
| |
| 838 | Parent = char.Genkadda, | |
| 839 | Name = "Thingy", | |
| 840 | Locked = true, | |
| 841 | BottomSurface = 0, | |
| 842 | CanCollide = false, | |
| 843 | Size = Vector3.new(5.5, 5.5, 5.5), | |
| 844 | Transparency = 1, | |
| 845 | TopSurface = 0, | |
| 846 | }) | |
| 847 | local corw = AddInstance("Weld",{
| |
| 848 | Parent = cor, | |
| 849 | Part0 = rarm, | |
| 850 | Part1 = cor, | |
| 851 | C0 = CFrame.new(0, -3, 0) * CFrame.Angles(0,0,0), | |
| 852 | C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0), | |
| 853 | }) | |
| 854 | local weld1 = AddInstance("Weld",{
| |
| 855 | Parent = char.Genkadda, | |
| 856 | Part0 = cor, | |
| 857 | Part1 = o2, | |
| 858 | C0 = CFrame.new(-7, 57, 0), | |
| 859 | C1 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
| 860 | }) | |
| 861 | ---------------------------------------------------- | |
| 862 | function Vanish() | |
| 863 | for i = 1, 10 do wait() | |
| 864 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
| 865 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 866 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
| 867 | v.Transparency = v.Transparency + 0.1 | |
| 868 | ||
| 869 | end | |
| 870 | end | |
| 871 | end | |
| 872 | end | |
| 873 | end | |
| 874 | ---------------------------------------------------- | |
| 875 | function Appear() | |
| 876 | for i = 1, 10 do wait() | |
| 877 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
| 878 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 879 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
| 880 | v.Transparency = v.Transparency - 0.1 | |
| 881 | end | |
| 882 | end | |
| 883 | end | |
| 884 | end | |
| 885 | end | |
| 886 | ---------------------------------------------------- | |
| 887 | local player = game:GetService("Players").LocalPlayer
| |
| 888 | local pchar = player.Character | |
| 889 | local mouse = player:GetMouse() | |
| 890 | local cam = workspace.CurrentCamera | |
| 891 | ||
| 892 | local keysDown = {}
| |
| 893 | local flySpeed = 0 | |
| 894 | local MAX_FLY_SPEED = 80 | |
| 895 | ||
| 896 | local canFly = false | |
| 897 | local flyToggled = false | |
| 898 | ||
| 899 | local forward, side = 0, 0 | |
| 900 | local lastForward, lastSide = 0, 0 | |
| 901 | ||
| 902 | local floatBP = Instance.new("BodyPosition")
| |
| 903 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 904 | local flyBV = Instance.new("BodyVelocity")
| |
| 905 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 906 | local turnBG = Instance.new("BodyGyro")
| |
| 907 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 908 | ||
| 909 | mouse.KeyDown:connect(function(key) | |
| 910 | keysDown[key] = true | |
| 911 | ||
| 912 | if key == "f" then | |
| 913 | flyToggled = not flyToggled | |
| 914 | ||
| 915 | if not flyToggled then | |
| 916 | stanceToggle = "Normal" | |
| 917 | floatBP.Parent = nil | |
| 918 | flyBV.Parent = nil | |
| 919 | turnBG.Parent = nil | |
| 920 | root.Velocity = Vector3.new() | |
| 921 | pchar.Humanoid.PlatformStand = false | |
| 922 | end | |
| 923 | end | |
| 924 | ||
| 925 | end) | |
| 926 | mouse.KeyUp:connect(function(key) | |
| 927 | keysDown[key] = nil | |
| 928 | end) | |
| 929 | ||
| 930 | local function updateFly() | |
| 931 | ||
| 932 | if not flyToggled then return end | |
| 933 | ||
| 934 | lastForward = forward | |
| 935 | lastSide = side | |
| 936 | ||
| 937 | forward = 0 | |
| 938 | side = 0 | |
| 939 | ||
| 940 | if keysDown.w then | |
| 941 | forward = forward + 1 | |
| 942 | end | |
| 943 | if keysDown.s then | |
| 944 | forward = forward - 1 | |
| 945 | end | |
| 946 | if keysDown.a then | |
| 947 | side = side - 1 | |
| 948 | end | |
| 949 | if keysDown.d then | |
| 950 | side = side + 1 | |
| 951 | end | |
| 952 | ||
| 953 | canFly = (forward ~= 0 or side ~= 0) | |
| 954 | ||
| 955 | if canFly then | |
| 956 | stanceToggle = "Floating" | |
| 957 | turnBG.Parent = root | |
| 958 | floatBP.Parent = nil | |
| 959 | flyBV.Parent = root | |
| 960 | ||
| 961 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 962 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 963 | else | |
| 964 | floatBP.position = root.Position | |
| 965 | floatBP.Parent = root | |
| 966 | ||
| 967 | flySpeed = flySpeed - 1 | |
| 968 | if flySpeed < 0 then flySpeed = 0 end | |
| 969 | end | |
| 970 | ||
| 971 | local camCF = cam.CoordinateFrame | |
| 972 | local in_forward = canFly and forward or lastForward | |
| 973 | local in_side = canFly and side or lastSide | |
| 974 | ||
| 975 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 976 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 977 | ||
| 978 | turnBG.cframe = camCF * CFrame.Angles(-math.rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 979 | 0) | |
| 980 | end | |
| 981 | ||
| 982 | game:service'RunService'.RenderStepped:connect(function() | |
| 983 | if flyToggled then | |
| 984 | pchar.Humanoid.PlatformStand = true | |
| 985 | end | |
| 986 | updateFly() | |
| 987 | end) | |
| 988 | ---------------------------------------------------- | |
| 989 | o42.Touched:connect(function(ht) | |
| 990 | hit = ht.Parent | |
| 991 | if ht and hit:IsA("Model") then
| |
| 992 | if hit:FindFirstChild("Humanoid") then
| |
| 993 | if hit.Name ~= p.Name then | |
| 994 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 995 | Debounces.Slashed = true | |
| 996 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 997 | wait(.3) | |
| 998 | Debounces.Slashed = false | |
| 999 | end | |
| 1000 | end | |
| 1001 | end | |
| 1002 | elseif ht and hit:IsA("Hat") then
| |
| 1003 | if hit.Parent.Name ~= p.Name then | |
| 1004 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1005 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1006 | Debounces.Slashed = true | |
| 1007 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1008 | wait(.3) | |
| 1009 | Debounces.Slashed = false | |
| 1010 | end | |
| 1011 | end | |
| 1012 | end | |
| 1013 | end | |
| 1014 | end) | |
| 1015 | ---------------------------------------------------- | |
| 1016 | ptz = {0.7, 0.8, 0.9, 1}
| |
| 1017 | idz = {"161006212", "161006195"}
| |
| 1018 | mouse.KeyDown:connect(function(key) | |
| 1019 | if key == "q" then | |
| 1020 | if Debounces.CanAttack == true then | |
| 1021 | Debounces.CanAttack = false | |
| 1022 | Debounces.NoIdl = true | |
| 1023 | Debounces.on = true | |
| 1024 | for i = 1, 20 do | |
| 1025 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(5,0.65,-6)*CFrame.Angles(math.rad(60),math.rad(70),math.rad(70)), 0.2) | |
| 1026 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-1,2.2) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2) | |
| 1027 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2) | |
| 1028 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2) | |
| 1029 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2) | |
| 1030 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2) | |
| 1031 | if Debounces.on == false then break end | |
| 1032 | rs:wait(2) | |
| 1033 | end | |
| 1034 | z = Instance.new("Sound", hed)
| |
| 1035 | z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
| 1036 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1037 | z.Volume = math.huge | |
| 1038 | wait(.01) | |
| 1039 | z:Play() | |
| 1040 | Debounces.Slashing = true | |
| 1041 | for i = 1, 20 do | |
| 1042 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2, -2, 3) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3) | |
| 1043 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3) | |
| 1044 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3) | |
| 1045 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3) | |
| 1046 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3) | |
| 1047 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3) | |
| 1048 | if Debounces.on == false then break end | |
| 1049 | rs:wait(2) | |
| 1050 | end | |
| 1051 | Debounces.Slashing = false | |
| 1052 | z:Destroy() | |
| 1053 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
| 1054 | if Debounces.CanAttack == false then | |
| 1055 | Debounces.CanAttack = true | |
| 1056 | Debounces.NoIdl = false | |
| 1057 | Debounces.on = false | |
| 1058 | end | |
| 1059 | end | |
| 1060 | end | |
| 1061 | end) | |
| 1062 | ---------------------------------------------------- | |
| 1063 | mouse.KeyDown:connect(function(key) | |
| 1064 | if key == "r" then | |
| 1065 | if Debounces.CanAttack == true then | |
| 1066 | Debounces.CanAttack = false | |
| 1067 | Debounces.NoIdl = true | |
| 1068 | Debounces.on = true | |
| 1069 | for i = 1, 20 do | |
| 1070 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3) | |
| 1071 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3) | |
| 1072 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
| 1073 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3) | |
| 1074 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 1075 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
| 1076 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35) | |
| 1077 | if Debounces.on==false then break end | |
| 1078 | rs:wait(2) | |
| 1079 | end | |
| 1080 | Debounces.Slashing = true | |
| 1081 | z = Instance.new("Sound",hed)
| |
| 1082 | z.SoundId = "rbxassetid://206083107" | |
| 1083 | z.Pitch = .75 | |
| 1084 | z.Volume = .65 | |
| 1085 | wait(0.1) | |
| 1086 | z:Play() | |
| 1087 | z1 = Instance.new("Sound", hed)
| |
| 1088 | z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
| 1089 | z1.Pitch = ptz[math.random(1,#ptz)] | |
| 1090 | z1.Volume = math.huge | |
| 1091 | wait(.01) | |
| 1092 | z1:Play() | |
| 1093 | for i = 1, 20 do | |
| 1094 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3) | |
| 1095 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3) | |
| 1096 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 1097 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
| 1098 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
| 1099 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
| 1100 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 2, 0) * CFrame.Angles (math.rad(40), math.rad(20), math.rad(20)), 0.35) | |
| 1101 | if Debounces.on==false then break end | |
| 1102 | rs:wait(2) | |
| 1103 | end | |
| 1104 | Debounces.Slashing = false | |
| 1105 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
| 1106 | if Debounces.CanAttack == false then | |
| 1107 | Debounces.CanAttack = true | |
| 1108 | Debounces.NoIdl = false | |
| 1109 | Debounces.on = false | |
| 1110 | end | |
| 1111 | end | |
| 1112 | end | |
| 1113 | end) | |
| 1114 | ------------------------------- | |
| 1115 | mouse.KeyDown:connect(function(key) | |
| 1116 | if key == "g" then | |
| 1117 | if Debounces.CanAttack == true then | |
| 1118 | Debounces.CanAttack = false | |
| 1119 | Debounces.NoIdl = true | |
| 1120 | Debounces.on = true | |
| 1121 | Debounces.Slashing = true | |
| 1122 | for i = 1, 8 do | |
| 1123 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8.2, -2.9, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8) | |
| 1124 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8.2, -2.9, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8) | |
| 1125 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
| 1126 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
| 1127 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
| 1128 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
| 1129 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 2, 0) * CFrame.Angles (math.rad(80), math.rad(0), math.rad(0)), 0.35) | |
| 1130 | if Debounces.on==false then break end | |
| 1131 | rs:wait(2) | |
| 1132 | end | |
| 1133 | for i = 1, 1440, 48 do | |
| 1134 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0)) | |
| 1135 | rs:wait(4) | |
| 1136 | end | |
| 1137 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 1138 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
| 1139 | Debounces.Slashing = false | |
| 1140 | if Debounces.CanAttack == false then | |
| 1141 | Debounces.CanAttack = true | |
| 1142 | Debounces.NoIdl = false | |
| 1143 | Debounces.on = false | |
| 1144 | end | |
| 1145 | end | |
| 1146 | end | |
| 1147 | end) | |
| 1148 | ---------------------------------------------------- | |
| 1149 | pt = {6.6, 6.8, 7, 7.2, 7.4}
| |
| 1150 | mouse.KeyDown:connect(function(key) | |
| 1151 | if key == "h" then | |
| 1152 | if Debounces.CanJoke == true then | |
| 1153 | Debounces.CanJoke = false | |
| 1154 | u = Instance.new("Sound",char)
| |
| 1155 | u.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
| 1156 | u.Pitch = pt[math.random(1,#pt)] | |
| 1157 | u.Volume = math.huge | |
| 1158 | u2 = Instance.new("Sound",char)
| |
| 1159 | u2.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
| 1160 | u2.Pitch = u.Pitch | |
| 1161 | u2.Volume = math.huge | |
| 1162 | u3 = Instance.new("Sound",char)
| |
| 1163 | u3.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
| 1164 | u3.Pitch = u.Pitch | |
| 1165 | u3.Volume = math.huge | |
| 1166 | wait(.01) | |
| 1167 | u:Play() | |
| 1168 | u2:Play() | |
| 1169 | u3:Play() | |
| 1170 | wait(1.5) | |
| 1171 | u:Destroy() | |
| 1172 | u2:Destroy() | |
| 1173 | u3:Destroy() | |
| 1174 | if Debounces.CanJoke == false then | |
| 1175 | Debounces.CanJoke = true | |
| 1176 | end | |
| 1177 | end | |
| 1178 | end | |
| 1179 | end) | |
| 1180 | ---------------------------------------------------- | |
| 1181 | Melee = false | |
| 1182 | mouse.KeyDown:connect(function(key) | |
| 1183 | if key == "m" then | |
| 1184 | if Melee == false then | |
| 1185 | Melee = true | |
| 1186 | Vanish() | |
| 1187 | stanceToggle = "Melee" | |
| 1188 | elseif Melee == true then | |
| 1189 | Melee = false | |
| 1190 | Appear() | |
| 1191 | stanceToggle = "Normal" | |
| 1192 | end | |
| 1193 | end | |
| 1194 | end) | |
| 1195 | ------------------------------- | |
| 1196 | mouse.KeyDown:connect(function(key) | |
| 1197 | if string.byte(key) == 48 then | |
| 1198 | if Debounces.CanAttack == true then | |
| 1199 | if stanceToggle ~= "Floating" then | |
| 1200 | char.Humanoid.WalkSpeed = 80 | |
| 1201 | elseif Debounces.CanAttack == false then | |
| 1202 | elseif stanceToggle == "Floating" then | |
| 1203 | wait() | |
| 1204 | end | |
| 1205 | end | |
| 1206 | end | |
| 1207 | end) | |
| 1208 | mouse.KeyUp:connect(function(key) | |
| 1209 | if string.byte(key) == 48 then | |
| 1210 | char.Humanoid.WalkSpeed = 16 | |
| 1211 | end | |
| 1212 | end) | |
| 1213 | ------------------------------- | |
| 1214 | local animpose = "Idle" | |
| 1215 | local lastanimpose = "Idle" | |
| 1216 | local sine = 0 | |
| 1217 | local change = 1 | |
| 1218 | local val = 0 | |
| 1219 | local ffing = false | |
| 1220 | ------------------------------- | |
| 1221 | --[[if stanceToggle == "Sitting" then | |
| 1222 | if wait(math.random(1,2)) == 1 then | |
| 1223 | stanceToggle = "Sitting2" | |
| 1224 | wait(8) | |
| 1225 | stanceToggle = "Sitting" | |
| 1226 | end | |
| 1227 | end]]-- | |
| 1228 | ------------------------------- | |
| 1229 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 1230 | --[[if char.Humanoid.Jump == true then | |
| 1231 | jump = true | |
| 1232 | else | |
| 1233 | jump = false | |
| 1234 | end]] | |
| 1235 | char.Humanoid.FreeFalling:connect(function(f) | |
| 1236 | if f then | |
| 1237 | ffing = true | |
| 1238 | else | |
| 1239 | ffing = false | |
| 1240 | end | |
| 1241 | end) | |
| 1242 | sine = sine + change | |
| 1243 | if jumpn == true then | |
| 1244 | animpose = "Jumping" | |
| 1245 | elseif ffing == true then | |
| 1246 | animpose = "Freefalling" | |
| 1247 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 1248 | animpose = "Idle" | |
| 1249 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 1250 | animpose = "Walking" | |
| 1251 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 1252 | animpose = "Running" | |
| 1253 | end | |
| 1254 | if animpose ~= lastanimpose then | |
| 1255 | sine = 0 | |
| 1256 | if Debounces.NoIdl == false then | |
| 1257 | if stanceToggle == "Normal" then | |
| 1258 | for i = 1, 2 do | |
| 1259 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2) | |
| 1260 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2) | |
| 1261 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2) | |
| 1262 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
| 1263 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 1264 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2) | |
| 1265 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1266 | end | |
| 1267 | elseif stanceToggle == "Floating" then | |
| 1268 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
| 1269 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
| 1270 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 1271 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 1272 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 1273 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 1274 | wait() | |
| 1275 | end | |
| 1276 | else | |
| 1277 | end | |
| 1278 | end | |
| 1279 | lastanimpose = animpose | |
| 1280 | if Debounces.NoIdl == false then | |
| 1281 | if animpose == "Idle" then | |
| 1282 | if stanceToggle == "Normal" then | |
| 1283 | change = 0.5 | |
| 1284 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
| 1285 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2) | |
| 1286 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(50),0), 0.2) | |
| 1287 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
| 1288 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 1289 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2) | |
| 1290 | elseif stanceToggle == "Melee" then | |
| 1291 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2) | |
| 1292 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2) | |
| 1293 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 1294 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 1295 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 1296 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 1297 | elseif stanceToggle == "Floating" then | |
| 1298 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
| 1299 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
| 1300 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 1301 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 1302 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 1303 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 1304 | end | |
| 1305 | elseif animpose == "Walking" then | |
| 1306 | if stanceToggle == "Normal" then | |
| 1307 | change = 1 | |
| 1308 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
| 1309 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2) | |
| 1310 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
| 1311 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
| 1312 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
| 1313 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
| 1314 | elseif stanceToggle == "Melee" then | |
| 1315 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2) | |
| 1316 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2) | |
| 1317 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
| 1318 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
| 1319 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
| 1320 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
| 1321 | elseif stanceToggle == "Floating" then | |
| 1322 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 1323 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 1324 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) | |
| 1325 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4) | |
| 1326 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4) | |
| 1327 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 1328 | end | |
| 1329 | elseif animpose == "Running" then | |
| 1330 | if stanceToggle == "Normal" then | |
| 1331 | change = 1 | |
| 1332 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
| 1333 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
| 1334 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-4, -0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
| 1335 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(4, -0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
| 1336 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
| 1337 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
| 1338 | elseif stanceToggle == "Floating" then | |
| 1339 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 1340 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 1341 | hed.Weld.C0 = CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0) | |
| 1342 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4) | |
| 1343 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4) | |
| 1344 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05) | |
| 1345 | end | |
| 1346 | end | |
| 1347 | end | |
| 1348 | end) | |
| 1349 | ||
| 1350 | Spawn(function() | |
| 1351 | while wait() do | |
| 1352 | updateFly() | |
| 1353 | end | |
| 1354 | end) | |
| 1355 | ||
| 1356 | Spawn(function() | |
| 1357 | while wait(5) do | |
| 1358 | GroundWave3() | |
| 1359 | end | |
| 1360 | end) | |
| 1361 | Spawn(function() | |
| 1362 | while wait(0) do | |
| 1363 | hum.MaxHealth = 1.79769e+308 | |
| 1364 | hum.Health = 1.79769e+308 | |
| 1365 | end | |
| 1366 | end) | |
| 1367 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
| 1368 | --[[Part0 = Vector3 (Start pos) | |
| 1369 | Part1 = Vector3 (End pos) | |
| 1370 | Times = number (Amount of lightning parts) | |
| 1371 | Offset = number (Offset) | |
| 1372 | Color = color (brickcolor value) | |
| 1373 | Thickness = number (thickness) | |
| 1374 | Trans = number (transparency) | |
| 1375 | ]]-- | |
| 1376 | local magz = (Part0 - Part1).magnitude | |
| 1377 | local curpos = Part0 | |
| 1378 | local trz = {-Offset,Offset}
| |
| 1379 | for i=1,Times do | |
| 1380 | local li = Instance.new("Part", torso)
| |
| 1381 | li.Name = "Lightning" | |
| 1382 | li.TopSurface =0 | |
| 1383 | li.Material = "Neon" | |
| 1384 | li.BottomSurface = 0 | |
| 1385 | li.Anchored = true | |
| 1386 | li.Locked = true | |
| 1387 | li.Transparency = Trans or 0.4 | |
| 1388 | li.BrickColor = BrickColor.new(Color) | |
| 1389 | li.formFactor = "Custom" | |
| 1390 | li.CanCollide = false | |
| 1391 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
| 1392 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
| 1393 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
| 1394 | if Times == i then | |
| 1395 | local magz2 = (curpos - Part1).magnitude | |
| 1396 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
| 1397 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
| 1398 | else | |
| 1399 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
| 1400 | end | |
| 1401 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
| 1402 | game.Debris:AddItem(li,.1) | |
| 1403 | end | |
| 1404 | end | |
| 1405 | ||
| 1406 | BodyParts = {} -- Parts to emit lightning effects from
| |
| 1407 | for _, v in pairs(char:GetChildren()) do | |
| 1408 | if v:IsA("Part") then
| |
| 1409 | table.insert(BodyParts, v) | |
| 1410 | end | |
| 1411 | end | |
| 1412 | ||
| 1413 | Bounding = {} -- Calculate the bounding boxes
| |
| 1414 | for _, v in pairs(BodyParts) do | |
| 1415 | local temp = {X=nil, Y=nil, Z=nil}
| |
| 1416 | temp.X = v.Size.X/2 * 35 | |
| 1417 | temp.Y = v.Size.Y/2 * 35 | |
| 1418 | temp.Z = v.Size.Z/2 * 35 | |
| 1419 | Bounding[v.Name] = temp | |
| 1420 | --table.insert(Bounding, v.Name, temp) | |
| 1421 | end | |
| 1422 | ||
| 1423 | while wait(0) do -- Emit the Lightning effects randomly | |
| 1424 | local Body1 = BodyParts[math.random(#BodyParts)] | |
| 1425 | local Body2 = BodyParts[math.random(#BodyParts)] | |
| 1426 | local Pos1 = Vector3.new( | |
| 1427 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/35, | |
| 1428 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/35, | |
| 1429 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/35 | |
| 1430 | ) | |
| 1431 | local Pos2 = Vector3.new( | |
| 1432 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/35, | |
| 1433 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/35, | |
| 1434 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/35 | |
| 1435 | ) | |
| 1436 | local SPos1 = Body1.Position + Pos1 | |
| 1437 | local SPos2 = Body2.Position + Pos2 | |
| 1438 | Lightning(SPos1, SPos2, 4, 3, "Teal", .3, .56) | |
| 1439 | - | end |
| 1439 | + | |
| 1440 | ||
| 1441 | wait'.5' | |
| 1442 | local WrapMaterial="SmoothPlastic" | |
| 1443 | local WrapColor=BrickColor.new("Brown")
| |
| 1444 | local BladeMaterial='Neon' | |
| 1445 | local HandleMaterial='Neon' | |
| 1446 | local LightColor=BrickColor.new("Cyan")
| |
| 1447 | local HandleColor=BrickColor.new("Really black")
| |
| 1448 | local BladeColor=BrickColor.new("Institutional white")
| |
| 1449 | local BladeRefl=.3 | |
| 1450 | local AttackOrbColor=BrickColor.new("White")
| |
| 1451 | local HealOrbColor=BrickColor.new("New Yeller")
| |
| 1452 | ||
| 1453 | local plr = game.Players.LocalPlayer | |
| 1454 | local chr = plr.Character | |
| 1455 | local maus = plr:GetMouse() | |
| 1456 | local PGui=plr.PlayerGui | |
| 1457 | local lleg = chr["Left Leg"] | |
| 1458 | local rleg = chr["Right Leg"] | |
| 1459 | local larm = chr["Left Arm"] | |
| 1460 | local rarm = chr["Right Arm"] | |
| 1461 | local hed = chr.Head | |
| 1462 | local rutprt = chr.HumanoidRootPart | |
| 1463 | local torso = chr.Torso | |
| 1464 | local otheranims=false | |
| 1465 | local armmovement=false | |
| 1466 | chr.Animate.Disabled=true | |
| 1467 | local sitting=false | |
| 1468 | local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
| |
| 1469 | local hitdb=false | |
| 1470 | local Swing='Swing1' | |
| 1471 | local RunSpeed=36 | |
| 1472 | local WlkSpeed=18 | |
| 1473 | local SneakSpeed=10 | |
| 1474 | local runnin=false | |
| 1475 | local disabled=false | |
| 1476 | local tik=0 | |
| 1477 | local spinvalue=0 | |
| 1478 | local death=Instance.new('Sound',rutprt)
| |
| 1479 | death.Pitch=1 | |
| 1480 | death.Volume=.5 | |
| 1481 | death.SoundId='http://www.roblox.com/asset?id=170399891' | |
| 1482 | chr.Humanoid.Died:connect(function() | |
| 1483 | death:play'' | |
| 1484 | end) | |
| 1485 | local trailing=false | |
| 1486 | local shootdb=false | |
| 1487 | local idlesineinc=35 | |
| 1488 | local sneaking=false | |
| 1489 | coroutine.wrap(function() | |
| 1490 | for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
| |
| 1491 | function Lerp(a, b, i) | |
| 1492 | local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
| |
| 1493 | local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
| |
| 1494 | local calx = com1[1] + (com2[1] - com1[1]) * i | |
| 1495 | local caly = com1[2] + (com2[2] - com1[2]) * i | |
| 1496 | local calz = com1[3] + (com2[3] - com1[3]) * i | |
| 1497 | local cala = com1[4] + (com2[4] - com1[4]) * i | |
| 1498 | local calb = com1[5] + (com2[5] - com1[5]) * i | |
| 1499 | local calc = com1[6] + (com2[6] - com1[6]) * i | |
| 1500 | return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc) | |
| 1501 | end | |
| 1502 | function TwnSingleNumber(s,f,m) | |
| 1503 | local wot=s+(f-s)*m | |
| 1504 | return wot | |
| 1505 | end | |
| 1506 | function TwnVector3(q,w,e) | |
| 1507 | local begin={q.x,q.y,q.z}
| |
| 1508 | local ending={w.x,w.y,w.z}
| |
| 1509 | local bgx=begin[1]+(ending[1]-begin[1])*e | |
| 1510 | local bgy=begin[2]+(ending[2]-begin[2])*e | |
| 1511 | local bgz=begin[3]+(ending[3]-begin[3])*e | |
| 1512 | return Vector3.new(bgx,bgy,bgz) | |
| 1513 | end | |
| 1514 | newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z) | |
| 1515 | wld = Instance.new("Weld", wp1)
| |
| 1516 | wld.Part0 = wp0 | |
| 1517 | wld.Part1 = wp1 | |
| 1518 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 1519 | end | |
| 1520 | function Avg(a, b) | |
| 1521 | return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2) | |
| 1522 | end | |
| 1523 | local jump=Instance.new('Sound',rutprt)
| |
| 1524 | jump.Volume=.2 | |
| 1525 | jump.Pitch=1 | |
| 1526 | jump.SoundId='http://www.roblox.com/asset?id=170588191' | |
| 1527 | newWeld(law, torso, larm, -1.5, 0.5, 0) | |
| 1528 | newWeld(raw, torso, rarm, 1.5, 0.5, 0) | |
| 1529 | newWeld(llw, torso, lleg, -.5, -2, 0) | |
| 1530 | newWeld(rlw, torso, rleg, .5, -2, 0) | |
| 1531 | newWeld(hw, torso, hed, 0, 1.5, 0) | |
| 1532 | local rutwald=Instance.new('Weld',rutprt)
| |
| 1533 | rutwald.Part0=rutprt | |
| 1534 | rutwald.Part1=torso | |
| 1535 | rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0) | |
| 1536 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 1537 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 1538 | rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0) | |
| 1539 | lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0) | |
| 1540 | local anim = "Idling" | |
| 1541 | local lastanim = "Idling" | |
| 1542 | local val = 0 | |
| 1543 | local syne = 0 | |
| 1544 | local num = 0 | |
| 1545 | local runtime = 0 | |
| 1546 | local TrailModel=Instance.new("Model",chr)
| |
| 1547 | TrailModel.Name="Trails" | |
| 1548 | local Sword=Instance.new('Model',chr)
| |
| 1549 | Sword.Name='BlackIronBroadSword' | |
| 1550 | local obj1=Instance.new('Part',Sword)
| |
| 1551 | obj1.Name='Handle' | |
| 1552 | obj1.formFactor='Custom' | |
| 1553 | obj1.Size=Vector3.new(.2,1.25,.2) | |
| 1554 | obj1.BrickColor=HandleColor | |
| 1555 | obj1.Material=HandleMaterial | |
| 1556 | obj1.CanCollide=false | |
| 1557 | obj1.TopSurface=10 | |
| 1558 | obj1.BottomSurface=10 | |
| 1559 | obj1.LeftSurface=10 | |
| 1560 | obj1.RightSurface=10 | |
| 1561 | obj1.FrontSurface=10 | |
| 1562 | obj1.BackSurface=10 | |
| 1563 | obj1:breakJoints() | |
| 1564 | local objm1=Instance.new('CylinderMesh',obj1)
| |
| 1565 | local objw1=Instance.new('Weld',obj1)
| |
| 1566 | objw1.Part0=obj1 | |
| 1567 | objw1.Part1=torso | |
| 1568 | objw1.C0=CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(37.5)) | |
| 1569 | local obj2=Instance.new('Part',Sword)
| |
| 1570 | obj2.Name='Handle' | |
| 1571 | obj2.formFactor='Custom' | |
| 1572 | obj2.Size=Vector3.new(.25,.1,.25) | |
| 1573 | obj2.BrickColor=HandleColor | |
| 1574 | obj2.Material=HandleMaterial | |
| 1575 | obj2.CanCollide=false | |
| 1576 | obj2.TopSurface=10 | |
| 1577 | obj2.BottomSurface=10 | |
| 1578 | obj2.LeftSurface=10 | |
| 1579 | obj2.RightSurface=10 | |
| 1580 | obj2.FrontSurface=10 | |
| 1581 | obj2.BackSurface=10 | |
| 1582 | obj2:breakJoints() | |
| 1583 | local objm2=Instance.new('CylinderMesh',obj2)
| |
| 1584 | local objw2=Instance.new('Weld',obj2)
| |
| 1585 | objw2.Part0=obj2 | |
| 1586 | objw2.Part1=obj1 | |
| 1587 | objw2.C0=CFrame.new(0,-.625,0)*CFrame.Angles(0,0,0) | |
| 1588 | local obj3=Instance.new('Part',Sword)
| |
| 1589 | obj3.Name='Handle' | |
| 1590 | obj3.formFactor='Custom' | |
| 1591 | obj3.Size=Vector3.new(.3,.1,.3) | |
| 1592 | obj3.BrickColor=HandleColor | |
| 1593 | obj3.Material=HandleMaterial | |
| 1594 | obj3.CanCollide=false | |
| 1595 | obj3.TopSurface=10 | |
| 1596 | obj3.BottomSurface=10 | |
| 1597 | obj3.LeftSurface=10 | |
| 1598 | obj3.RightSurface=10 | |
| 1599 | obj3.FrontSurface=10 | |
| 1600 | obj3.BackSurface=10 | |
| 1601 | obj3:breakJoints() | |
| 1602 | local objm3=Instance.new('CylinderMesh',obj3)
| |
| 1603 | local objw3=Instance.new('Weld',obj3)
| |
| 1604 | objw3.Part0=obj3 | |
| 1605 | objw3.Part1=obj1 | |
| 1606 | objw3.C0=CFrame.new(0,-.725,0)*CFrame.Angles(0,0,0) | |
| 1607 | local obj4=Instance.new('Part',Sword)
| |
| 1608 | obj4.Name='Handle' | |
| 1609 | obj4.formFactor='Custom' | |
| 1610 | obj4.Size=Vector3.new(.25,.1,.25) | |
| 1611 | obj4.BrickColor=HandleColor | |
| 1612 | obj4.Material=HandleMaterial | |
| 1613 | obj4.CanCollide=false | |
| 1614 | obj4.TopSurface=10 | |
| 1615 | obj4.BottomSurface=10 | |
| 1616 | obj4.LeftSurface=10 | |
| 1617 | obj4.RightSurface=10 | |
| 1618 | obj4.FrontSurface=10 | |
| 1619 | obj4.BackSurface=10 | |
| 1620 | obj4:breakJoints() | |
| 1621 | local objm4=Instance.new('CylinderMesh',obj4)
| |
| 1622 | local objw4=Instance.new('Weld',obj4)
| |
| 1623 | objw4.Part0=obj4 | |
| 1624 | objw4.Part1=obj1 | |
| 1625 | objw4.C0=CFrame.new(0,.625,0)*CFrame.Angles(0,0,0) | |
| 1626 | local obj5=Instance.new('Part',Sword)
| |
| 1627 | obj5.Name='Handle' | |
| 1628 | obj5.formFactor='Custom' | |
| 1629 | obj5.Size=Vector3.new(.3,.1,.3) | |
| 1630 | obj5.BrickColor=HandleColor | |
| 1631 | obj5.Material=HandleMaterial | |
| 1632 | obj5.CanCollide=false | |
| 1633 | obj5.TopSurface=10 | |
| 1634 | obj5.BottomSurface=10 | |
| 1635 | obj5.LeftSurface=10 | |
| 1636 | obj5.RightSurface=10 | |
| 1637 | obj5.FrontSurface=10 | |
| 1638 | obj5.BackSurface=10 | |
| 1639 | obj5:breakJoints() | |
| 1640 | local objm5=Instance.new('CylinderMesh',obj5)
| |
| 1641 | local objw5=Instance.new('Weld',obj5)
| |
| 1642 | objw5.Part0=obj5 | |
| 1643 | objw5.Part1=obj1 | |
| 1644 | objw5.C0=CFrame.new(0,.725,0)*CFrame.Angles(0,0,0) | |
| 1645 | local obj6=Instance.new('Part',Sword)
| |
| 1646 | obj6.Name='Handle' | |
| 1647 | obj6.formFactor='Custom' | |
| 1648 | obj6.Size=Vector3.new(1.2,.3,.35) | |
| 1649 | obj6.BrickColor=HandleColor | |
| 1650 | obj6.Material=HandleMaterial | |
| 1651 | obj6.CanCollide=false | |
| 1652 | obj6.TopSurface=10 | |
| 1653 | obj6.BottomSurface=10 | |
| 1654 | obj6.LeftSurface=10 | |
| 1655 | obj6.RightSurface=10 | |
| 1656 | obj6.FrontSurface=10 | |
| 1657 | obj6.BackSurface=10 | |
| 1658 | obj6:breakJoints() | |
| 1659 | local objm6=Instance.new('SpecialMesh',obj6)
| |
| 1660 | objm6.MeshType='Sphere' | |
| 1661 | local objw6=Instance.new('Weld',obj6)
| |
| 1662 | objw6.Part0=obj6 | |
| 1663 | objw6.Part1=obj1 | |
| 1664 | objw6.C0=CFrame.new(0,.775,0)*CFrame.Angles(0,0,0) | |
| 1665 | local obj7=Instance.new('Part',Sword)
| |
| 1666 | obj7.Name='Handle' | |
| 1667 | obj7.formFactor='Custom' | |
| 1668 | obj7.Size=Vector3.new(1.2,.1,.35) | |
| 1669 | obj7.BrickColor=HandleColor | |
| 1670 | obj7.Material=HandleMaterial | |
| 1671 | obj7.CanCollide=false | |
| 1672 | obj7.TopSurface=10 | |
| 1673 | obj7.BottomSurface=10 | |
| 1674 | obj7.LeftSurface=10 | |
| 1675 | obj7.RightSurface=10 | |
| 1676 | obj7.FrontSurface=10 | |
| 1677 | obj7.BackSurface=10 | |
| 1678 | obj7:breakJoints() | |
| 1679 | local objm7=Instance.new('SpecialMesh',obj7)
| |
| 1680 | objm7.MeshId='http://www.roblox.com/asset?id=3270017' | |
| 1681 | objm7.Scale=Vector3.new(1.2,.175,2) | |
| 1682 | local objw7=Instance.new('Weld',obj7)
| |
| 1683 | objw7.Part0=obj7 | |
| 1684 | objw7.Part1=obj1 | |
| 1685 | objw7.C0=CFrame.new(0,0,.775)*CFrame.Angles(math.rad(90),0,0) | |
| 1686 | ||
| 1687 | local obj8=Instance.new('Part',Sword)
| |
| 1688 | obj8.Name='Handle' | |
| 1689 | obj8.formFactor='Custom' | |
| 1690 | obj8.Size=Vector3.new(.55,.1,.55) | |
| 1691 | obj8.BrickColor=HandleColor | |
| 1692 | obj8.Material=HandleMaterial | |
| 1693 | obj8.CanCollide=false | |
| 1694 | obj8.TopSurface=10 | |
| 1695 | obj8.BottomSurface=10 | |
| 1696 | obj8.LeftSurface=10 | |
| 1697 | obj8.RightSurface=10 | |
| 1698 | obj8.FrontSurface=10 | |
| 1699 | obj8.BackSurface=10 | |
| 1700 | obj8:breakJoints() | |
| 1701 | local objm8=Instance.new('CylinderMesh',obj8)
| |
| 1702 | objm8.Scale=Vector3.new(1,.4,1) | |
| 1703 | local objw8=Instance.new('Weld',obj8)
| |
| 1704 | objw8.Part0=obj8 | |
| 1705 | objw8.Part1=obj1 | |
| 1706 | objw8.C0=CFrame.new(0,0,.95)*CFrame.Angles(math.rad(90),0,0) | |
| 1707 | ||
| 1708 | local obj9=Instance.new('Part',Sword)
| |
| 1709 | obj9.Name='Handle' | |
| 1710 | obj9.formFactor='Custom' | |
| 1711 | obj9.Size=Vector3.new(.55,.1,.55) | |
| 1712 | obj9.BrickColor=HandleColor | |
| 1713 | obj9.Material=HandleMaterial | |
| 1714 | obj9.CanCollide=false | |
| 1715 | obj9.TopSurface=10 | |
| 1716 | obj9.BottomSurface=10 | |
| 1717 | obj9.LeftSurface=10 | |
| 1718 | obj9.RightSurface=10 | |
| 1719 | obj9.FrontSurface=10 | |
| 1720 | obj9.BackSurface=10 | |
| 1721 | obj9:breakJoints() | |
| 1722 | local objm9=Instance.new('CylinderMesh',obj9)
| |
| 1723 | objm9.Scale=Vector3.new(1.25,.35,1.25) | |
| 1724 | local objw9=Instance.new('Weld',obj9)
| |
| 1725 | objw9.Part0=obj9 | |
| 1726 | objw9.Part1=obj1 | |
| 1727 | objw9.C0=CFrame.new(0,0,.95)*CFrame.Angles(math.rad(90),0,0) | |
| 1728 | ||
| 1729 | local obj10=Instance.new('Part',Sword)
| |
| 1730 | obj10.Name='Handle' | |
| 1731 | obj10.formFactor='Custom' | |
| 1732 | obj10.Size=Vector3.new(.55,.1,.55) | |
| 1733 | obj10.BrickColor=HandleColor | |
| 1734 | obj10.Material=HandleMaterial | |
| 1735 | obj10.CanCollide=false | |
| 1736 | obj10.TopSurface=10 | |
| 1737 | obj10.BottomSurface=10 | |
| 1738 | obj10.LeftSurface=10 | |
| 1739 | obj10.RightSurface=10 | |
| 1740 | obj10.FrontSurface=10 | |
| 1741 | obj10.BackSurface=10 | |
| 1742 | obj10:breakJoints() | |
| 1743 | local objm10=Instance.new('CylinderMesh',obj10)
| |
| 1744 | objm10.Scale=Vector3.new(1.5,.3,1.5) | |
| 1745 | local objw10=Instance.new('Weld',obj10)
| |
| 1746 | objw10.Part0=obj10 | |
| 1747 | objw10.Part1=obj1 | |
| 1748 | objw10.C0=CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),0,0) | |
| 1749 | ||
| 1750 | local obj11=Instance.new('Part',Sword)
| |
| 1751 | obj11.Name='Handle' | |
| 1752 | obj11.formFactor='Custom' | |
| 1753 | obj11.Size=Vector3.new(.35,.2,3.5) | |
| 1754 | obj11.BrickColor=HandleColor | |
| 1755 | obj11.Material=HandleMaterial | |
| 1756 | obj11.CanCollide=false | |
| 1757 | obj11.TopSurface=10 | |
| 1758 | obj11.BottomSurface=10 | |
| 1759 | obj11.LeftSurface=10 | |
| 1760 | obj11.RightSurface=10 | |
| 1761 | obj11.FrontSurface=10 | |
| 1762 | obj11.BackSurface=10 | |
| 1763 | obj11:breakJoints() | |
| 1764 | local objm11=Instance.new('SpecialMesh',obj11)
| |
| 1765 | objm11.MeshType='Wedge' | |
| 1766 | objm11.Scale=Vector3.new(.16,1,1) | |
| 1767 | local objw11=Instance.new('Weld',obj11)
| |
| 1768 | objw11.Part0=obj11 | |
| 1769 | objw11.Part1=obj1 | |
| 1770 | objw11.C0=CFrame.new(0,-.25,2.75)*CFrame.Angles(math.rad(90),math.rad(90),0) | |
| 1771 | ||
| 1772 | local obj12=Instance.new('Part',Sword)
| |
| 1773 | obj12.Name='Handle' | |
| 1774 | obj12.formFactor='Custom' | |
| 1775 | obj12.Size=Vector3.new(.35,.2,3.5) | |
| 1776 | obj12.BrickColor=HandleColor | |
| 1777 | obj12.Material=HandleMaterial | |
| 1778 | obj12.CanCollide=false | |
| 1779 | obj12.TopSurface=10 | |
| 1780 | obj12.BottomSurface=10 | |
| 1781 | obj12.LeftSurface=10 | |
| 1782 | obj12.RightSurface=10 | |
| 1783 | obj12.FrontSurface=10 | |
| 1784 | obj12.BackSurface=10 | |
| 1785 | obj12:breakJoints() | |
| 1786 | local objm12=Instance.new('SpecialMesh',obj12)
| |
| 1787 | objm12.MeshType='Wedge' | |
| 1788 | objm12.Scale=Vector3.new(.16,1,1) | |
| 1789 | local objw12=Instance.new('Weld',obj12)
| |
| 1790 | objw12.Part0=obj12 | |
| 1791 | objw12.Part1=obj1 | |
| 1792 | objw12.C0=CFrame.new(0,-.25,2.75)*CFrame.Angles(math.rad(90),math.rad(-90),0) | |
| 1793 | ||
| 1794 | local obj13=Instance.new('Part',Sword)
| |
| 1795 | obj13.Name='Handle' | |
| 1796 | obj13.formFactor='Custom' | |
| 1797 | obj13.Size=Vector3.new(.35,.35,.35) | |
| 1798 | obj13.BrickColor=HandleColor | |
| 1799 | obj13.Material=HandleMaterial | |
| 1800 | obj13.CanCollide=false | |
| 1801 | obj13.TopSurface=10 | |
| 1802 | obj13.BottomSurface=10 | |
| 1803 | obj13.LeftSurface=10 | |
| 1804 | obj13.RightSurface=10 | |
| 1805 | obj13.FrontSurface=10 | |
| 1806 | obj13.BackSurface=10 | |
| 1807 | obj13:breakJoints() | |
| 1808 | local objm13=Instance.new('BlockMesh',obj13)
| |
| 1809 | objm13.Scale=Vector3.new(.1605,.62175,.62175) | |
| 1810 | local objw13=Instance.new('Weld',obj13)
| |
| 1811 | objw13.Part0=obj13 | |
| 1812 | objw13.Part1=obj1 | |
| 1813 | objw13.C0=CFrame.new(0,3.1775,3.1775)*CFrame.Angles(math.rad(45),math.rad(-90),0) | |
| 1814 | ||
| 1815 | local obj14=Instance.new('Part',Sword)
| |
| 1816 | obj14.Name='Handle' | |
| 1817 | obj14.formFactor='Custom' | |
| 1818 | obj14.Size=Vector3.new(.35,.4,4) | |
| 1819 | obj14.BrickColor=BladeColor | |
| 1820 | obj14.Material=BladeMaterial | |
| 1821 | obj14.Reflectance=BladeRefl | |
| 1822 | obj14.CanCollide=false | |
| 1823 | obj14.TopSurface=10 | |
| 1824 | obj14.BottomSurface=10 | |
| 1825 | obj14.LeftSurface=10 | |
| 1826 | obj14.RightSurface=10 | |
| 1827 | obj14.FrontSurface=10 | |
| 1828 | obj14.BackSurface=10 | |
| 1829 | obj14:breakJoints() | |
| 1830 | local objm14=Instance.new('SpecialMesh',obj14)
| |
| 1831 | objm14.MeshType='Wedge' | |
| 1832 | objm14.Scale=Vector3.new(.1495,1,1) | |
| 1833 | local objw14=Instance.new('Weld',obj14)
| |
| 1834 | objw14.Part0=obj14 | |
| 1835 | objw14.Part1=obj1 | |
| 1836 | objw14.C0=CFrame.new(0,-.35,2.8)*CFrame.Angles(math.rad(90),math.rad(-90),0) | |
| 1837 | ||
| 1838 | ||
| 1839 | local obj15=Instance.new('Part',Sword)
| |
| 1840 | obj15.Name='Handle' | |
| 1841 | obj15.formFactor='Custom' | |
| 1842 | obj15.Size=Vector3.new(.35,.4,4) | |
| 1843 | obj15.BrickColor=BladeColor | |
| 1844 | obj15.Material=BladeMaterial | |
| 1845 | obj15.Reflectance=BladeRefl | |
| 1846 | obj15.CanCollide=false | |
| 1847 | obj15.TopSurface=10 | |
| 1848 | obj15.BottomSurface=10 | |
| 1849 | obj15.LeftSurface=10 | |
| 1850 | obj15.RightSurface=10 | |
| 1851 | obj15.FrontSurface=10 | |
| 1852 | obj15.BackSurface=10 | |
| 1853 | obj15:breakJoints() | |
| 1854 | local objm15=Instance.new('SpecialMesh',obj15)
| |
| 1855 | objm15.MeshType='Wedge' | |
| 1856 | objm15.Scale=Vector3.new(.1495,1,1) | |
| 1857 | local objw15=Instance.new('Weld',obj15)
| |
| 1858 | objw15.Part0=obj15 | |
| 1859 | objw15.Part1=obj1 | |
| 1860 | objw15.C0=CFrame.new(0,-.35,2.8)*CFrame.Angles(math.rad(90),math.rad(90),0) | |
| 1861 | ||
| 1862 | local obj16=Instance.new('Part',Sword)
| |
| 1863 | obj16.Name='Handle' | |
| 1864 | obj16.formFactor='Custom' | |
| 1865 | obj16.Size=Vector3.new(.35,.3,4) | |
| 1866 | obj16.BrickColor=BladeColor | |
| 1867 | obj16.Material=BladeMaterial | |
| 1868 | obj16.Reflectance=BladeRefl | |
| 1869 | obj16.CanCollide=false | |
| 1870 | obj16.TopSurface=10 | |
| 1871 | obj16.BottomSurface=10 | |
| 1872 | obj16.LeftSurface=10 | |
| 1873 | obj16.RightSurface=10 | |
| 1874 | obj16.FrontSurface=10 | |
| 1875 | obj16.BackSurface=10 | |
| 1876 | obj16:breakJoints() | |
| 1877 | local objm16=Instance.new('BlockMesh',obj16)
| |
| 1878 | objm16.Scale=Vector3.new(.1495,1,1) | |
| 1879 | local objw16=Instance.new('Weld',obj16)
| |
| 1880 | objw16.Part0=obj16 | |
| 1881 | objw16.Part1=obj1 | |
| 1882 | objw16.C0=CFrame.new(0,0,2.8)*CFrame.Angles(math.rad(90),math.rad(90),0) | |
| 1883 | ||
| 1884 | local obj17=Instance.new('Part',Sword)
| |
| 1885 | obj17.Name='Handle' | |
| 1886 | obj17.formFactor='Custom' | |
| 1887 | obj17.Size=Vector3.new(.35,.25,.25) | |
| 1888 | obj17.BrickColor=BladeColor | |
| 1889 | obj17.Material=BladeMaterial | |
| 1890 | obj17.Reflectance=BladeRefl | |
| 1891 | obj17.CanCollide=false | |
| 1892 | obj17.TopSurface=10 | |
| 1893 | obj17.BottomSurface=10 | |
| 1894 | obj17.LeftSurface=10 | |
| 1895 | obj17.RightSurface=10 | |
| 1896 | obj17.FrontSurface=10 | |
| 1897 | obj17.BackSurface=10 | |
| 1898 | obj17:breakJoints() | |
| 1899 | local objm17=Instance.new('SpecialMesh',obj17)
| |
| 1900 | objm17.MeshType='Wedge' | |
| 1901 | objm17.Scale=Vector3.new(.1495,.61,1) | |
| 1902 | local objw17=Instance.new('Weld',obj17)
| |
| 1903 | objw17.Part0=obj17 | |
| 1904 | objw17.Part1=obj1 | |
| 1905 | objw17.C0=CFrame.new(0,-.075,4.925)*CFrame.Angles(math.rad(90),math.rad(-90),0) | |
| 1906 | ||
| 1907 | ||
| 1908 | local obj18=Instance.new('Part',Sword)
| |
| 1909 | obj18.Name='Handle' | |
| 1910 | obj18.formFactor='Custom' | |
| 1911 | obj18.Size=Vector3.new(.35,.25,.25) | |
| 1912 | obj18.BrickColor=BladeColor | |
| 1913 | obj18.Reflectance=BladeRefl | |
| 1914 | obj18.Material=BladeMaterial | |
| 1915 | obj18.CanCollide=false | |
| 1916 | obj18.TopSurface=10 | |
| 1917 | obj18.BottomSurface=10 | |
| 1918 | obj18.LeftSurface=10 | |
| 1919 | obj18.RightSurface=10 | |
| 1920 | obj18.FrontSurface=10 | |
| 1921 | obj18.BackSurface=10 | |
| 1922 | obj18:breakJoints() | |
| 1923 | local objm18=Instance.new('SpecialMesh',obj18)
| |
| 1924 | objm18.MeshType='Wedge' | |
| 1925 | objm18.Scale=Vector3.new(.1495,.61,1) | |
| 1926 | local objw18=Instance.new('Weld',obj18)
| |
| 1927 | objw18.Part0=obj18 | |
| 1928 | objw18.Part1=obj1 | |
| 1929 | objw18.C0=CFrame.new(0,-.075,4.925)*CFrame.Angles(math.rad(90),math.rad(90),0) | |
| 1930 | ||
| 1931 | local obj19=Instance.new('Part',Sword)
| |
| 1932 | obj19.Name='Handle' | |
| 1933 | obj19.formFactor='Custom' | |
| 1934 | obj19.Size=Vector3.new(.35,.25,.25) | |
| 1935 | obj19.BrickColor=BladeColor | |
| 1936 | obj19.Material=BladeMaterial | |
| 1937 | obj19.Reflectance=BladeRefl | |
| 1938 | obj19.CanCollide=false | |
| 1939 | obj19.TopSurface=10 | |
| 1940 | obj19.BottomSurface=10 | |
| 1941 | obj19.LeftSurface=10 | |
| 1942 | obj19.RightSurface=10 | |
| 1943 | obj19.FrontSurface=10 | |
| 1944 | obj19.BackSurface=10 | |
| 1945 | obj19:breakJoints() | |
| 1946 | local objm19=Instance.new('BlockMesh',obj19)
| |
| 1947 | objm19.Scale=Vector3.new(.1495,.35,1) | |
| 1948 | local objw19=Instance.new('Weld',obj19)
| |
| 1949 | objw19.Part0=obj19 | |
| 1950 | objw19.Part1=obj1 | |
| 1951 | objw19.C0=CFrame.new(0,0,3.9)*CFrame.Angles(math.rad(90),math.rad(90),0) | |
| 1952 | ||
| 1953 | local obj20=Instance.new('Part',Sword)
| |
| 1954 | obj20.Name='Handle' | |
| 1955 | obj20.formFactor='Custom' | |
| 1956 | obj20.Size=Vector3.new(.35,.3,3.5) | |
| 1957 | obj20.BrickColor=HandleColor | |
| 1958 | obj20.Material=HandleMaterial | |
| 1959 | obj20.CanCollide=false | |
| 1960 | obj20.TopSurface=10 | |
| 1961 | obj20.BottomSurface=10 | |
| 1962 | obj20.LeftSurface=10 | |
| 1963 | obj20.RightSurface=10 | |
| 1964 | obj20.FrontSurface=10 | |
| 1965 | obj20.BackSurface=10 | |
| 1966 | obj20:breakJoints() | |
| 1967 | local objm20=Instance.new('BlockMesh',obj20)
| |
| 1968 | objm20.Scale=Vector3.new(.16,1,1) | |
| 1969 | local objw20=Instance.new('Weld',obj20)
| |
| 1970 | objw20.Part0=obj20 | |
| 1971 | objw20.Part1=obj1 | |
| 1972 | objw20.C0=CFrame.new(0,0,2.75)*CFrame.Angles(math.rad(90),math.rad(-90),0) | |
| 1973 | ||
| 1974 | local obj21=Instance.new('Part',Sword)
| |
| 1975 | obj21.Name='Handle' | |
| 1976 | obj21.formFactor='Custom' | |
| 1977 | obj21.Size=Vector3.new(.25,1.15,4.25) | |
| 1978 | obj21.Transparency=1 | |
| 1979 | obj21.BrickColor=HandleColor | |
| 1980 | obj21.CanCollide=false | |
| 1981 | obj21.TopSurface=10 | |
| 1982 | obj21.BottomSurface=10 | |
| 1983 | obj21.LeftSurface=10 | |
| 1984 | obj21.RightSurface=10 | |
| 1985 | obj21.FrontSurface=10 | |
| 1986 | obj21.BackSurface=10 | |
| 1987 | obj21:breakJoints() | |
| 1988 | local objw21=Instance.new('Weld',obj21)
| |
| 1989 | objw21.Part0=obj21 | |
| 1990 | objw21.Part1=obj1 | |
| 1991 | objw21.C0=CFrame.new(0,0,3)*CFrame.Angles(math.rad(90),math.rad(-90),0) | |
| 1992 | local gu=Instance.new(string.reverse('iuGecafruS'),obj21)
| |
| 1993 | gu.Name='noooplsdontremoveme' | |
| 1994 | gu.Adornee=obj21 | |
| 1995 | gu.Face='Right' | |
| 1996 | gu.CanvasSize=Vector2.new(450,200) | |
| 1997 | local tb=Instance.new(string.reverse('lebaLtxeT'),gu)
| |
| 1998 | tb.Name='noooooooplsstap' | |
| 1999 | tb.Size=UDim2.new(.25,0,.25,0) | |
| 2000 | tb.Position=UDim2.new(.375,0,.375,0) | |
| 2001 | tb.TextTransparency=.96 | |
| 2002 | tb.BackgroundTransparency=1 | |
| 2003 | tb.TextColor3=Color3.new(1,1,1) | |
| 2004 | tb.TextScaled=true | |
| 2005 | tb.BorderSizePixel=0 | |
| 2006 | tb.TextStrokeTransparency=.96 | |
| 2007 | tb.Text=string.reverse'777yobradec' | |
| 2008 | ||
| 2009 | local obj22=Instance.new('Part',Sword)
| |
| 2010 | obj22.Name='Handle' | |
| 2011 | obj22.formFactor='Custom' | |
| 2012 | obj22.Size=Vector3.new(1.2,.1,.35) | |
| 2013 | obj22.BrickColor=WrapColor | |
| 2014 | obj22.Material=WrapMaterial | |
| 2015 | obj22.CanCollide=false | |
| 2016 | obj22.TopSurface=10 | |
| 2017 | obj22.BottomSurface=10 | |
| 2018 | obj22.LeftSurface=10 | |
| 2019 | obj22.RightSurface=10 | |
| 2020 | obj22.FrontSurface=10 | |
| 2021 | obj22.BackSurface=10 | |
| 2022 | obj22:breakJoints() | |
| 2023 | local objm22=Instance.new('SpecialMesh',obj22)
| |
| 2024 | objm22.MeshId='http://www.roblox.com/asset?id=3270017' | |
| 2025 | objm22.Scale=Vector3.new(1,.125,2) | |
| 2026 | local objw22=Instance.new('Weld',obj22)
| |
| 2027 | objw22.Part0=obj22 | |
| 2028 | objw22.Part1=obj1 | |
| 2029 | objw22.C0=CFrame.new(0,0,1.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)) | |
| 2030 | ||
| 2031 | local obj23=Instance.new('Part',Sword)
| |
| 2032 | obj23.Name='Handle' | |
| 2033 | obj23.formFactor='Custom' | |
| 2034 | obj23.Size=Vector3.new(1.2,.1,.35) | |
| 2035 | obj23.BrickColor=WrapColor | |
| 2036 | obj23.Material=WrapMaterial | |
| 2037 | obj23.CanCollide=false | |
| 2038 | obj23.TopSurface=10 | |
| 2039 | obj23.BottomSurface=10 | |
| 2040 | obj23.LeftSurface=10 | |
| 2041 | obj23.RightSurface=10 | |
| 2042 | obj23.FrontSurface=10 | |
| 2043 | obj23.BackSurface=10 | |
| 2044 | obj23:breakJoints() | |
| 2045 | local objm23=Instance.new('SpecialMesh',obj23)
| |
| 2046 | objm23.MeshId='http://www.roblox.com/asset?id=3270017' | |
| 2047 | objm23.Scale=Vector3.new(.81,.125,2) | |
| 2048 | local objw23=Instance.new('Weld',obj23)
| |
| 2049 | objw23.Part0=obj23 | |
| 2050 | objw23.Part1=obj1 | |
| 2051 | objw23.C0=CFrame.new(0,0,2.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)) | |
| 2052 | ||
| 2053 | ||
| 2054 | ||
| 2055 | ||
| 2056 | local clang=Instance.new('Sound',obj21)
| |
| 2057 | clang.Volume=.8 | |
| 2058 | clang.Pitch=1.15 | |
| 2059 | clang.SoundId='http://www.roblox.com/asset?id=155427306' | |
| 2060 | local rustle=Instance.new('Sound',obj21)
| |
| 2061 | rustle.Volume=.8 | |
| 2062 | rustle.Pitch=1.15 | |
| 2063 | rustle.SoundId='http://www.roblox.com/asset?id=154162195' | |
| 2064 | local swing=Instance.new('Sound',obj21)
| |
| 2065 | swing.Volume=.25 | |
| 2066 | swing.Pitch=1 | |
| 2067 | swing.SoundId='http://www.roblox.com/asset?id=160225846' | |
| 2068 | local smack=Instance.new('Sound',obj21)
| |
| 2069 | smack.Volume=.05 | |
| 2070 | smack.Pitch=1.75 | |
| 2071 | smack.SoundId='http://www.roblox.com/asset?id=137579113' | |
| 2072 | obj21.Touched:connect(function(hit) | |
| 2073 | coroutine.wrap(function() | |
| 2074 | if hit then | |
| 2075 | for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
| |
| 2076 | local hawm=hit.Parent and hyoom and hit.Parent:findFirstChild('Torso') and hit.Parent.Parent
| |
| 2077 | if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and damaging and not hitdb then | |
| 2078 | smack:play'' | |
| 2079 | hyoom.Health=hyoom.Health-(math.random(30,50)*(hyoom.MaxHealth/100)) | |
| 2080 | hitdb=true | |
| 2081 | wait(.5) | |
| 2082 | hitdb=false | |
| 2083 | end | |
| 2084 | local hawm=hit.Parent and hit.Parent:findFirstChild('Humanoid') and hit.Parent:findFirstChild('Torso') and hit.Parent.Parent
| |
| 2085 | if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and ((torso.Velocity*Vector3.new(1,0,1)).magnitude>RunSpeed-10 or rutprt:findFirstChild("SpinAttackVelocity")) and equipped and not armmovement then
| |
| 2086 | if otheranims and anim=="DashSwing" then | |
| 2087 | hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(4*(hit.Parent.Humanoid.MaxHealth/100)) | |
| 2088 | local asd=Instance.new("BodyVelocity",hit.Parent.Humanoid.Parent.Torso)
| |
| 2089 | asd.maxForce=Vector3.new(1/0,1/0,1/0) | |
| 2090 | asd.velocity=((obj23.CFrame.p-hit.Parent.Torso.CFrame.p).unit*-15)+Vector3.new(0,5,0) | |
| 2091 | game:service'Debris':AddItem(asd,.1) | |
| 2092 | hyoom.Sit=true | |
| 2093 | else | |
| 2094 | hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(2*(hit.Parent.Humanoid.MaxHealth/100)) | |
| 2095 | end | |
| 2096 | end | |
| 2097 | end | |
| 2098 | end)() | |
| 2099 | end) | |
| 2100 | ||
| 2101 | local asd=Instance.new("PointLight",hed)
| |
| 2102 | asd.Brightness=123 | |
| 2103 | asd.Shadows=false | |
| 2104 | asd.Range=3 | |
| 2105 | asd.Color=BrickColor.new("Really black").Color
| |
| 2106 | ||
| 2107 | local footstep=Instance.new('Sound',rutprt)
| |
| 2108 | footstep.Pitch=1.235 | |
| 2109 | footstep.Volume=.02 | |
| 2110 | footstep.SoundId='http://www.roblox.com/asset?id=154162195' | |
| 2111 | ||
| 2112 | local slide=Instance.new('Sound',rutprt)
| |
| 2113 | slide.Pitch=.675 | |
| 2114 | slide.Volume=.075 | |
| 2115 | slide.SoundId='http://www.roblox.com/asset?id=179650551' | |
| 2116 | ||
| 2117 | maus.Button1Down:connect(function() | |
| 2118 | if equipped and not otheranims and not sitting and not armmovement then | |
| 2119 | if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 then | |
| 2120 | otheranims=true | |
| 2121 | anim="DashSwing" | |
| 2122 | local dashvelocity=Instance.new("BodyVelocity",rutprt)
| |
| 2123 | dashvelocity.maxForce=Vector3.new(1/0,1/0,1/0) | |
| 2124 | dashvelocity.Name="DashAttackVelocity" | |
| 2125 | dashvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*(RunSpeed*1.5)+Vector3.new(0,2.5,0) | |
| 2126 | local dashrotvelo=Instance.new("BodyAngularVelocity",rutprt)
| |
| 2127 | dashrotvelo.Name="DashAttackRotVelocity" | |
| 2128 | dashrotvelo.maxTorque=Vector3.new(0,math.huge,0) | |
| 2129 | dashrotvelo.angularvelocity=Vector3.new(0,40,0) | |
| 2130 | game:service'Debris':AddItem(dashvelocity,.5) | |
| 2131 | game:service'Debris':AddItem(dashrotvelo,.5) | |
| 2132 | for asdasd=1,5 do | |
| 2133 | dashvelocity.velocity=dashvelocity.velocity-((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed*.3 | |
| 2134 | dashrotvelo.angularvelocity=dashrotvelo.angularvelocity-Vector3.new(0,8,0) | |
| 2135 | wait(.085) | |
| 2136 | end | |
| 2137 | otheranims=false | |
| 2138 | else | |
| 2139 | trailing=true | |
| 2140 | armmovement=true | |
| 2141 | swing.Pitch=math.random(85,100)*.01 | |
| 2142 | if Swing=='Swing1' then | |
| 2143 | armanim='Swing1P1' | |
| 2144 | wait(.35) | |
| 2145 | swing:play'' | |
| 2146 | damaging=true | |
| 2147 | armanim='Swing1P2' | |
| 2148 | wait(.45) | |
| 2149 | Swing='Swing2' | |
| 2150 | ||
| 2151 | elseif Swing=='Swing2' then | |
| 2152 | armanim='Swing2P1' | |
| 2153 | wait(.35) | |
| 2154 | swing:play'' | |
| 2155 | damaging=true | |
| 2156 | armanim='Swing2P2' | |
| 2157 | wait(.45) | |
| 2158 | Swing='Swing3' | |
| 2159 | ||
| 2160 | elseif Swing=='Swing3' then | |
| 2161 | armanim='Swing3P1' | |
| 2162 | wait(.35) | |
| 2163 | swing:play'' | |
| 2164 | damaging=true | |
| 2165 | armanim='Swing3P2' | |
| 2166 | wait(.45) | |
| 2167 | Swing='Swing1' | |
| 2168 | end | |
| 2169 | trailing=false | |
| 2170 | armmovement=false | |
| 2171 | damaging=false | |
| 2172 | end | |
| 2173 | end | |
| 2174 | end) | |
| 2175 | ||
| 2176 | ||
| 2177 | ||
| 2178 | ||
| 2179 | ||
| 2180 | ||
| 2181 | plr.Chatted:connect(function(m) | |
| 2182 | if m:lower():sub(1,3)=='/e ' then m=m:sub(4) | |
| 2183 | if m:lower():sub(1,5)=='dance' and not otheranims and surfing then | |
| 2184 | dnc=true | |
| 2185 | anim='Dance' | |
| 2186 | end | |
| 2187 | end | |
| 2188 | end) | |
| 2189 | ||
| 2190 | maus.KeyDown:connect(function(kei) | |
| 2191 | if (string.byte(kei)==48 or string.byte(kei)==47) and not otheranims and not sitting and not disabled and not sneaking then | |
| 2192 | chr.Humanoid.WalkSpeed=RunSpeed | |
| 2193 | end | |
| 2194 | if kei=="v" and not otheranims and not sneaking and not sitting and not flying and not armmovement and not disabled and not lit then | |
| 2195 | if (torso.Velocity*Vector3.new(1,0,1)).magnitude>=RunSpeed-2.5 then | |
| 2196 | otheranims=true | |
| 2197 | anim="Sliding" | |
| 2198 | local tempvelocity=Instance.new('BodyVelocity',rutprt)
| |
| 2199 | tempvelocity.Name="TemporaryVelocity" | |
| 2200 | tempvelocity.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 2201 | tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed | |
| 2202 | coroutine.resume(coroutine.create(function() | |
| 2203 | local totesvelocity=RunSpeed | |
| 2204 | repeat | |
| 2205 | if (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude<=1 then otheranims=false tempvelocity:destroy'' | |
| 2206 | elseif (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude>1 then | |
| 2207 | totesvelocity=totesvelocity-(.5*(RunSpeed/100)) | |
| 2208 | tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*totesvelocity | |
| 2209 | end | |
| 2210 | wait'' | |
| 2211 | until tempvelocity.Parent==nil | |
| 2212 | end)) | |
| 2213 | coroutine.resume(coroutine.create(function() | |
| 2214 | repeat slide:play'' wait'1.35' until tempvelocity.Parent~=rutprt end)) | |
| 2215 | coroutine.resume(coroutine.create(function() | |
| 2216 | repeat | |
| 2217 | local rei=Ray.new(rleg.CFrame.p,((rleg.CFrame*CFrame.new(0,1.25,0)).p-rleg.CFrame.p).unit*-2) | |
| 2218 | local parthit,point=Workspace:FindPartOnRay(rei) | |
| 2219 | if parthit and point and parthit.CanCollide then | |
| 2220 | local asdf=Instance.new('Part',Sword)
| |
| 2221 | asdf.CanCollide=false | |
| 2222 | asdf.Anchored=true | |
| 2223 | asdf.Name="Smokin' hawt" | |
| 2224 | asdf.formFactor='Custom' | |
| 2225 | asdf.Size=Vector3.new(.5,.5,.5) | |
| 2226 | asdf.BrickColor=parthit.BrickColor | |
| 2227 | asdf.CFrame=rleg.CFrame*CFrame.new(0,-.9,0) | |
| 2228 | asdf.TopSurface=10 | |
| 2229 | asdf.Material='Neon' | |
| 2230 | asdf.BottomSurface=10 | |
| 2231 | asdf.LeftSurface=10 | |
| 2232 | asdf.RightSurface=10 | |
| 2233 | asdf.FrontSurface=10 | |
| 2234 | asdf.BackSurface=10 | |
| 2235 | game:service'Debris':AddItem(asdf,1.5) | |
| 2236 | local asdfg=Instance.new("SpecialMesh",asdf)
| |
| 2237 | asdfg.MeshType="Sphere" | |
| 2238 | coroutine.wrap(function() | |
| 2239 | for jkl=1,4,.15 do asdfg.Scale=Vector3.new(jkl,jkl,jkl) asdf.Transparency=asdf.Transparency+.05 asdf.CFrame=asdf.CFrame+Vector3.new(0,.05,0) wait'' end | |
| 2240 | end)() | |
| 2241 | end | |
| 2242 | wait'' | |
| 2243 | until tempvelocity.Parent==nil | |
| 2244 | end)) | |
| 2245 | end | |
| 2246 | end | |
| 2247 | if kei=='c' and not otheranims and not sitting and not flying and not lit and not disabled then | |
| 2248 | if sneaking then | |
| 2249 | sneaking=false | |
| 2250 | chr.Humanoid.WalkSpeed=WlkSpeed | |
| 2251 | elseif not sneaking then | |
| 2252 | chr.Humanoid.WalkSpeed=SneakSpeed | |
| 2253 | sneaking=true | |
| 2254 | anim='Pre-Sneak' | |
| 2255 | wait(.5) | |
| 2256 | anim='Sneaking' | |
| 2257 | end | |
| 2258 | end | |
| 2259 | if kei=='g' then | |
| 2260 | if not armmovement and not otheranims and equipped and not sitting and not flying and not sneaking then | |
| 2261 | trailing=false | |
| 2262 | lit=true armmovement=true armanim='Glowing' | |
| 2263 | light=Instance.new('Part',Sword)
| |
| 2264 | light.Name='LightOrbASD' | |
| 2265 | light.formFactor='Custom' | |
| 2266 | light.Size=Vector3.new(.6,.6,.6) | |
| 2267 | light.BrickColor=LightColor | |
| 2268 | light.Material="Neon" | |
| 2269 | light.Transparency=.6 | |
| 2270 | light.CanCollide=false | |
| 2271 | light.TopSurface=10 | |
| 2272 | light.BottomSurface=10 | |
| 2273 | light.LeftSurface=10 | |
| 2274 | light.RightSurface=10 | |
| 2275 | light.FrontSurface=10 | |
| 2276 | light.BackSurface=10 | |
| 2277 | light.Locked=true | |
| 2278 | light:breakJoints() | |
| 2279 | local lightm=Instance.new('SpecialMesh',light)
| |
| 2280 | lightm.MeshType='Sphere' | |
| 2281 | lightw=Instance.new('Weld',light)
| |
| 2282 | lightw.Part0=light | |
| 2283 | lightw.Part1=obj1 | |
| 2284 | lightw.C0=CFrame.new(0,5.5,0)*CFrame.Angles(0,0,0) | |
| 2285 | lgt=Instance.new('PointLight',light)
| |
| 2286 | lgt.Brightness=123123 | |
| 2287 | lgt.Color=light.BrickColor.Color | |
| 2288 | lgt.Shadows=true | |
| 2289 | lgt.Range=0 | |
| 2290 | light2=Instance.new('Part',light)
| |
| 2291 | light2.Name='LightOrbASD2' | |
| 2292 | light2.formFactor='Custom' | |
| 2293 | light2.Size=Vector3.new(.25,.25,.25) | |
| 2294 | light2.BrickColor=LightColor | |
| 2295 | light2.Material="Neon" | |
| 2296 | light2.CanCollide=false | |
| 2297 | light2.TopSurface=10 | |
| 2298 | light2.BottomSurface=10 | |
| 2299 | light2.LeftSurface=10 | |
| 2300 | light2.RightSurface=10 | |
| 2301 | light2.FrontSurface=10 | |
| 2302 | light2.BackSurface=10 | |
| 2303 | light2.Locked=true | |
| 2304 | light2:breakJoints() | |
| 2305 | local lightm2=Instance.new('SpecialMesh',light2)
| |
| 2306 | lightm2.MeshType='Sphere' | |
| 2307 | lightw2=Instance.new('Weld',light2)
| |
| 2308 | lightw2.Part0=light2 | |
| 2309 | lightw2.Part1=light | |
| 2310 | lightw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 2311 | end end | |
| 2312 | if kei=='e' and not otheranims and not armmovement and not disabled and not lit and not sneaking then | |
| 2313 | otheranims=true | |
| 2314 | anim="PreSuperJump" | |
| 2315 | chr.Humanoid.WalkSpeed=0 | |
| 2316 | wait'' | |
| 2317 | local rang=Instance.new('Part',TrailModel)
| |
| 2318 | rang.formFactor='Custom' | |
| 2319 | rang.Transparency=1 | |
| 2320 | rang.BrickColor=BrickColor.new("Institutional white")
| |
| 2321 | rang.Size=Vector3.new(10,10,10) | |
| 2322 | rang.Name='rang' | |
| 2323 | rang.Material="Neon" | |
| 2324 | rang.TopSurface=10 | |
| 2325 | rang.BottomSurface=10 | |
| 2326 | rang.Locked=true | |
| 2327 | rang.FrontSurface=10 | |
| 2328 | rang.LeftSurface=10 | |
| 2329 | rang.RightSurface=10 | |
| 2330 | rang.BackSurface=10 | |
| 2331 | rang.CanCollide=false | |
| 2332 | rang.Anchored=true | |
| 2333 | rang.CFrame=rutprt.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0) | |
| 2334 | local rmsh=Instance.new('SpecialMesh',rang)
| |
| 2335 | rmsh.MeshId="http://www.roblox.com/asset/?id=3270017" | |
| 2336 | rmsh.Scale=Vector3.new(2,2,1.5) | |
| 2337 | game:service'Debris':AddItem(rang,.8) | |
| 2338 | coroutine.wrap(function() | |
| 2339 | for asdd=10,0,-.4 do | |
| 2340 | rang.CFrame=rutprt.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(90),0,0) | |
| 2341 | rmsh.Scale=Vector3.new(asdd,asdd,1.5) | |
| 2342 | rang.Transparency=rang.Transparency-.05 wait'0' | |
| 2343 | end | |
| 2344 | end)() | |
| 2345 | wait'.8' | |
| 2346 | chr.Humanoid.WalkSpeed=WlkSpeed | |
| 2347 | chr.Humanoid.Jump=true | |
| 2348 | anim="SuperJump" | |
| 2349 | local aasdd=Instance.new("BodyVelocity",rutprt)
| |
| 2350 | aasdd.maxForce=Vector3.new(0,1/0,0) | |
| 2351 | aasdd.velocity=Vector3.new(0,111,0) | |
| 2352 | game:service'Debris':AddItem(aasdd,.175) | |
| 2353 | wait(.5) | |
| 2354 | otheranims=false | |
| 2355 | end | |
| 2356 | if kei=='w' then fldb.w=true end | |
| 2357 | if kei=='a' then fldb.a=true end | |
| 2358 | if kei=='s' then fldb.s=true end | |
| 2359 | if kei=='d' then fldb.d=true end | |
| 2360 | if kei=='x' and not otheranims and not armmovement and equipped and not disabled and not lit and not sneaking then | |
| 2361 | if not sitting then | |
| 2362 | chr.Humanoid.WalkSpeed=0 | |
| 2363 | sitting=true | |
| 2364 | anim='Sitting' | |
| 2365 | elseif sitting then | |
| 2366 | chr.Humanoid.WalkSpeed=WlkSpeed | |
| 2367 | sitting=false | |
| 2368 | end | |
| 2369 | end | |
| 2370 | if kei=='m' then | |
| 2371 | if not armmovement and not otheranims and equipped and not sitting and not tpdb and not flying and not disabled and not sneaking then | |
| 2372 | tpdb=true | |
| 2373 | local ray=Ray.new(rutprt.CFrame.p,((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*30) | |
| 2374 | local p,b=workspace:FindPartOnRay(ray,chr) | |
| 2375 | if p and p.CanCollide then | |
| 2376 | rutprt.CFrame=rutprt.CFrame*CFrame.new(0,0,-((rutprt.CFrame.p-b).magnitude)) | |
| 2377 | else | |
| 2378 | rutprt.CFrame=rutprt.CFrame*CFrame.new(0,0,-30) | |
| 2379 | end | |
| 2380 | wait(2) | |
| 2381 | tpdb=false | |
| 2382 | end | |
| 2383 | end | |
| 2384 | if kei=="f" and not otheranims and not armmovement and not sitting and not lit and equipped and not sneaking and not disabled and not flying then | |
| 2385 | otheranims=true | |
| 2386 | trailing=true | |
| 2387 | anim="SpinAttack" | |
| 2388 | local spinvelocity=Instance.new("BodyAngularVelocity",rutprt)
| |
| 2389 | spinvelocity.Name="SpinAttackVelocity" | |
| 2390 | spinvelocity.maxTorque=Vector3.new(0,math.huge,0) | |
| 2391 | end | |
| 2392 | if kei=='r' and not otheranims and not armmovement and not sitting and not lit and equipped and not sneaking then | |
| 2393 | trailing=false | |
| 2394 | runnin=false | |
| 2395 | armmovement=true | |
| 2396 | disabled=true | |
| 2397 | armanim='Healing' | |
| 2398 | chr.Humanoid.WalkSpeed=0 | |
| 2399 | heal=Instance.new('Part',TrailModel)
| |
| 2400 | heal.Name='healOrbASD' | |
| 2401 | heal.formFactor='Custom' | |
| 2402 | heal.Size=Vector3.new(.85,.85,.85) | |
| 2403 | heal.BrickColor=HealOrbColor | |
| 2404 | heal.Transparency=.6 | |
| 2405 | heal.Material="Neon" | |
| 2406 | heal.Reflectance=.5 | |
| 2407 | heal.CanCollide=false | |
| 2408 | heal.TopSurface=10 | |
| 2409 | heal.BottomSurface=10 | |
| 2410 | heal.LeftSurface=10 | |
| 2411 | heal.RightSurface=10 | |
| 2412 | heal.FrontSurface=10 | |
| 2413 | heal.BackSurface=10 | |
| 2414 | heal.Locked=true | |
| 2415 | heal:breakJoints() | |
| 2416 | local healm=Instance.new('SpecialMesh',heal)
| |
| 2417 | healm.MeshType='Sphere' | |
| 2418 | healw=Instance.new('Weld',heal)
| |
| 2419 | healw.Part0=heal | |
| 2420 | healw.Part1=torso | |
| 2421 | healw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 2422 | local asd=Instance.new('PointLight',heal)
| |
| 2423 | asd.Brightness=123123 | |
| 2424 | asd.Color=heal.BrickColor.Color | |
| 2425 | asd.Shadows=true | |
| 2426 | asd.Range=8 | |
| 2427 | local heal2=Instance.new('Part',heal)
| |
| 2428 | heal2.Name='healOrbASD2' | |
| 2429 | heal2.formFactor='Custom' | |
| 2430 | heal2.Size=Vector3.new(.4,.4,.4) | |
| 2431 | heal2.BrickColor=HealOrbColor | |
| 2432 | heal2.Material="Neon" | |
| 2433 | heal2.CanCollide=false | |
| 2434 | heal2.Reflectance=.5 | |
| 2435 | heal2.TopSurface=10 | |
| 2436 | heal2.BottomSurface=10 | |
| 2437 | heal2.LeftSurface=10 | |
| 2438 | heal2.RightSurface=10 | |
| 2439 | heal2.FrontSurface=10 | |
| 2440 | heal2.BackSurface=10 | |
| 2441 | heal2.Locked=true | |
| 2442 | heal2:breakJoints() | |
| 2443 | local healm2=Instance.new('SpecialMesh',heal2)
| |
| 2444 | healm2.MeshType='Sphere' | |
| 2445 | healw2=Instance.new('Weld',heal2)
| |
| 2446 | healw2.Part0=heal2 | |
| 2447 | healw2.Part1=heal | |
| 2448 | healw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 2449 | other=Instance.new('Part',TrailModel)
| |
| 2450 | other.Name='otherOrbASD' | |
| 2451 | other.formFactor='Custom' | |
| 2452 | other.Size=Vector3.new(.85,.85,.85) | |
| 2453 | other.BrickColor=HealOrbColor | |
| 2454 | other.Material="Neon" | |
| 2455 | other.Transparency=.6 | |
| 2456 | other.Reflectance=.5 | |
| 2457 | other.CanCollide=false | |
| 2458 | other.TopSurface=10 | |
| 2459 | other.BottomSurface=10 | |
| 2460 | other.LeftSurface=10 | |
| 2461 | other.RightSurface=10 | |
| 2462 | other.FrontSurface=10 | |
| 2463 | other.BackSurface=10 | |
| 2464 | other.Locked=true | |
| 2465 | other:breakJoints() | |
| 2466 | local otherm=Instance.new('SpecialMesh',other)
| |
| 2467 | otherm.MeshType='Sphere' | |
| 2468 | otherw=Instance.new('Weld',other)
| |
| 2469 | otherw.Part0=other | |
| 2470 | otherw.Part1=torso | |
| 2471 | otherw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 2472 | local asd2=Instance.new('PointLight',other)
| |
| 2473 | asd2.Brightness=123123 | |
| 2474 | asd2.Color=other.BrickColor.Color | |
| 2475 | asd2.Shadows=true | |
| 2476 | asd2.Range=8 | |
| 2477 | local other2=Instance.new('Part',other)
| |
| 2478 | other2.Name='otherOrbASD2' | |
| 2479 | other2.formFactor='Custom' | |
| 2480 | other2.Size=Vector3.new(.4,.4,.4) | |
| 2481 | other2.BrickColor=HealOrbColor | |
| 2482 | other2.CanCollide=false | |
| 2483 | other2.Material="Neon" | |
| 2484 | other2.Reflectance=.5 | |
| 2485 | other2.TopSurface=10 | |
| 2486 | other2.BottomSurface=10 | |
| 2487 | other2.LeftSurface=10 | |
| 2488 | other2.RightSurface=10 | |
| 2489 | other2.FrontSurface=10 | |
| 2490 | other2.BackSurface=10 | |
| 2491 | other2.Locked=true | |
| 2492 | other2:breakJoints() | |
| 2493 | local otherm2=Instance.new('SpecialMesh',other2)
| |
| 2494 | otherm2.MeshType='Sphere' | |
| 2495 | otherw2=Instance.new('Weld',other2)
| |
| 2496 | otherw2.Part0=other2 | |
| 2497 | otherw2.Part1=other | |
| 2498 | otherw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 2499 | end | |
| 2500 | if kei=='z' and not armmovement and not otheranims and not disabled and not sitting and not lit and not shootdb and equipped and not sneaking then | |
| 2501 | armmovement=true | |
| 2502 | shootdb=true | |
| 2503 | armanim='Swing2P1' | |
| 2504 | wait(.25) | |
| 2505 | trailing=true | |
| 2506 | armanim='Swing2P2' | |
| 2507 | wait() | |
| 2508 | local blast=Instance.new('Part',TrailModel)
| |
| 2509 | blast.Name='BlastOrb' | |
| 2510 | blast.formFactor='Custom' | |
| 2511 | blast.Size=Vector3.new(2,2,2) | |
| 2512 | blast.BrickColor=AttackOrbColor | |
| 2513 | blast.Transparency=.6 | |
| 2514 | blast.CanCollide=false | |
| 2515 | blast.Material="Neon" | |
| 2516 | blast.TopSurface=10 | |
| 2517 | blast.BottomSurface=10 | |
| 2518 | blast.LeftSurface=10 | |
| 2519 | blast.RightSurface=10 | |
| 2520 | blast.FrontSurface=10 | |
| 2521 | blast.BackSurface=10 | |
| 2522 | blast.Locked=true | |
| 2523 | blast:breakJoints() | |
| 2524 | blast.CFrame=obj1.CFrame*CFrame.new(0,-6,0) | |
| 2525 | local whizz=Instance.new('Sound',blast)
| |
| 2526 | whizz.Volume=.25 | |
| 2527 | whizz.Pitch=2 | |
| 2528 | whizz.Looped=true | |
| 2529 | whizz.SoundId='http://www.roblox.com/asset?id=133116870' | |
| 2530 | whizz:play'' | |
| 2531 | local blastm=Instance.new('SpecialMesh',blast)
| |
| 2532 | blastm.MeshType='Sphere' | |
| 2533 | local blastlt2=Instance.new('PointLight',blast)
| |
| 2534 | blastlt2.Brightness=123123 | |
| 2535 | blastlt2.Color=blast.BrickColor.Color | |
| 2536 | blastlt2.Shadows=true | |
| 2537 | blastlt2.Range=10 | |
| 2538 | local blast2=Instance.new('Part',blast)
| |
| 2539 | blast2.Name='BlastOrb' | |
| 2540 | blast2.formFactor='Custom' | |
| 2541 | blast2.Size=Vector3.new(1.25,1.25,1.25) | |
| 2542 | blast2.BrickColor=AttackOrbColor | |
| 2543 | blast2.Transparency=0 | |
| 2544 | blast2.CanCollide=false | |
| 2545 | blast2.Anchored=true | |
| 2546 | blast2.Material="Neon" | |
| 2547 | blast2.TopSurface=10 | |
| 2548 | blast2.BottomSurface=10 | |
| 2549 | blast2.LeftSurface=10 | |
| 2550 | blast2.RightSurface=10 | |
| 2551 | blast2.FrontSurface=10 | |
| 2552 | blast2.BackSurface=10 | |
| 2553 | blast2.Locked=true | |
| 2554 | blast2:breakJoints() | |
| 2555 | local blastm2=Instance.new('SpecialMesh',blast2)
| |
| 2556 | blastm2.MeshType='Sphere' | |
| 2557 | local blvel=Instance.new('BodyVelocity',blast)
| |
| 2558 | blvel.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 2559 | blvel.velocity=Vector3.new(math.cos(syne)/5,0,math.sin(syne)/5)+(((obj1.CFrame*CFrame.new(0,-6,0)).p-(maus.Hit.p+Vector3.new(0,.5,0))).unit*-80) | |
| 2560 | game:service'Debris':AddItem(blast,30) | |
| 2561 | game:service'Debris':AddItem(blast2,30) | |
| 2562 | blast.Touched:connect(function(hit) | |
| 2563 | coroutine.wrap(function() | |
| 2564 | if hit then | |
| 2565 | for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
| |
| 2566 | local hawm=hit.Parent and hyoom and hit.Parent:findFirstChild('Torso') and hit.Parent.Parent
| |
| 2567 | if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr then | |
| 2568 | hyoom.Health=hyoom.Health-(.8*(hyoom.MaxHealth/100)) | |
| 2569 | end | |
| 2570 | end | |
| 2571 | end)() | |
| 2572 | end) | |
| 2573 | coroutine.resume(coroutine.create(function() | |
| 2574 | armmovement=false | |
| 2575 | trailing=false | |
| 2576 | wait(25) | |
| 2577 | shootdb=false | |
| 2578 | end)) | |
| 2579 | coroutine.resume(coroutine.create(function() | |
| 2580 | repeat | |
| 2581 | blast2.CFrame=blast.CFrame | |
| 2582 | local pos1=blast.CFrame | |
| 2583 | wait(-1) | |
| 2584 | local pos2=blast.CFrame | |
| 2585 | blast2.CFrame=blast.CFrame | |
| 2586 | local dees=(pos1.p-pos2.p).magnitude | |
| 2587 | local treel=Instance.new('Part',TrailModel)
| |
| 2588 | treel.Name='treelOrbASD' | |
| 2589 | treel.formFactor='Custom' | |
| 2590 | treel.Size=Vector3.new(.5,dees,.5) | |
| 2591 | treel.BrickColor=AttackOrbColor | |
| 2592 | treel.Anchored=true | |
| 2593 | treel.Transparency=0 | |
| 2594 | treel.Material="Neon" | |
| 2595 | treel.CanCollide=false | |
| 2596 | treel.TopSurface=10 | |
| 2597 | treel.BottomSurface=10 | |
| 2598 | treel.LeftSurface=10 | |
| 2599 | treel.RightSurface=10 | |
| 2600 | treel.FrontSurface=10 | |
| 2601 | treel.BackSurface=10 | |
| 2602 | treel.Locked=true | |
| 2603 | treel:breakJoints() | |
| 2604 | treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0) | |
| 2605 | blvel.velocity=(((blast.CFrame).p-(maus.Hit.p)).unit*-80) | |
| 2606 | local asdf=Instance.new('PointLight',treel)
| |
| 2607 | asdf.Color=treel.BrickColor.Color | |
| 2608 | asdf.Range=6 | |
| 2609 | asdf.Shadows=true | |
| 2610 | asdf.Brightness=123123 | |
| 2611 | local treelm=Instance.new('CylinderMesh',treel)
| |
| 2612 | game:service'Debris':AddItem(treel,.6) | |
| 2613 | coroutine.wrap(function() | |
| 2614 | wait() | |
| 2615 | for asd=1.05,-0,-.075 do treelm.Scale=Vector3.new(asd,1,asd) wait(-1) | |
| 2616 | end | |
| 2617 | end)() | |
| 2618 | until not blast | |
| 2619 | end)) | |
| 2620 | end | |
| 2621 | end) | |
| 2622 | ||
| 2623 | ||
| 2624 | ||
| 2625 | ||
| 2626 | ||
| 2627 | ||
| 2628 | ||
| 2629 | ||
| 2630 | ||
| 2631 | ||
| 2632 | ||
| 2633 | ||
| 2634 | ||
| 2635 | ||
| 2636 | ||
| 2637 | ||
| 2638 | ||
| 2639 | ||
| 2640 | ||
| 2641 | ||
| 2642 | maus.KeyUp:connect(function(kei) | |
| 2643 | if (string.byte(kei)==48 or string.byte(kei)==47) and not otheranims and not sitting and not disabled and not sneaking then | |
| 2644 | chr.Humanoid.WalkSpeed=WlkSpeed | |
| 2645 | end | |
| 2646 | if kei=='w' then fldb.w=false end | |
| 2647 | if kei=='a' then fldb.a=false end | |
| 2648 | if kei=='s' then fldb.s=false end | |
| 2649 | if kei=='d' then fldb.d=false end | |
| 2650 | if kei=='g' and lit then | |
| 2651 | lit=false armmovement=false | |
| 2652 | if Sword:findFirstChild('LightOrbASD') then Sword.LightOrbASD:Destroy() end
| |
| 2653 | end | |
| 2654 | if kei=="f" and otheranims and rutprt:findFirstChild("SpinAttackVelocity") then
| |
| 2655 | otheranims=false | |
| 2656 | trailing=false | |
| 2657 | if rutprt:findFirstChild("SpinAttackVelocity") then rutprt.SpinAttackVelocity:Destroy'' end end
| |
| 2658 | if kei=='r' and not lit and not otheranims and disabled and armmovement and not sneaking then | |
| 2659 | disabled=false armmovement=false chr.Humanoid.WalkSpeed=WlkSpeed | |
| 2660 | if TrailModel:findFirstChild('healOrbASD') then TrailModel.healOrbASD:Destroy() end
| |
| 2661 | if TrailModel:findFirstChild('otherOrbASD') then TrailModel.otherOrbASD:Destroy() end
| |
| 2662 | end | |
| 2663 | if kei=="v" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
| |
| 2664 | otheranims=false | |
| 2665 | rutprt["TemporaryVelocity"]:destroy'' | |
| 2666 | end | |
| 2667 | end) | |
| 2668 | ||
| 2669 | ||
| 2670 | ||
| 2671 | ||
| 2672 | local currenthealth=chr.Humanoid.Health | |
| 2673 | ||
| 2674 | chr.Humanoid.Changed:connect(function(ch) | |
| 2675 | if ch=='Jump' then | |
| 2676 | if sitting then | |
| 2677 | chr.Humanoid.Jump=false | |
| 2678 | end | |
| 2679 | if sneaking then | |
| 2680 | sneaking=false | |
| 2681 | end | |
| 2682 | end | |
| 2683 | hp=chr.Humanoid.Health | |
| 2684 | if hp<currenthealth and currenthealth>2 then | |
| 2685 | local damagetaken=currenthealth-hp | |
| 2686 | chr.Humanoid.Health=currenthealth-damagetaken*.5 | |
| 2687 | currenthealth=chr.Humanoid.Health | |
| 2688 | end | |
| 2689 | if ch=="PlatformStand" then | |
| 2690 | chr.Humanoid.PlatformStand=false | |
| 2691 | end | |
| 2692 | end) | |
| 2693 | ||
| 2694 | chr.Humanoid.Jumping:connect(function() | |
| 2695 | jump:Play() | |
| 2696 | end) | |
| 2697 | ||
| 2698 | ||
| 2699 | ||
| 2700 | ||
| 2701 | ||
| 2702 | game:service'RunService'.RenderStepped:connect(function() | |
| 2703 | if rutprt:findFirstChild("SpinAttackVelocity") then
| |
| 2704 | rutprt.SpinAttackVelocity.angularvelocity=TwnVector3(rutprt.SpinAttackVelocity.angularvelocity,Vector3.new(0,35,0),.01) | |
| 2705 | end | |
| 2706 | if sneaking and not runnin then | |
| 2707 | footstep.Volume=.05 | |
| 2708 | footstep.Pitch=1 | |
| 2709 | elseif not sneaking and not runnin then | |
| 2710 | footstep.Volume=.055 | |
| 2711 | footstep.Pitch=1.235 | |
| 2712 | elseif not sneaking and runnin then | |
| 2713 | footstep.Volume=.06 | |
| 2714 | footstep.Pitch=1.235 | |
| 2715 | end | |
| 2716 | if anim~=lastanim then | |
| 2717 | runtime=0 | |
| 2718 | end | |
| 2719 | lastanim=anim | |
| 2720 | chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0) | |
| 2721 | syne=syne+.95 | |
| 2722 | if not otheranims and not sitting and not sneaking then | |
| 2723 | if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then | |
| 2724 | anim="Idling" | |
| 2725 | ||
| 2726 | elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not chr.Humanoid.Jump then | |
| 2727 | anim="Walking" | |
| 2728 | ||
| 2729 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then | |
| 2730 | anim="Sprinting" | |
| 2731 | ||
| 2732 | elseif torso.Velocity.y>5 and chr.Humanoid.Jump then | |
| 2733 | anim='Jumping' | |
| 2734 | ||
| 2735 | elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then | |
| 2736 | anim='Falling' | |
| 2737 | ||
| 2738 | end | |
| 2739 | end | |
| 2740 | ||
| 2741 | if sneaking then | |
| 2742 | if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 and anim~='Pre-Sneak' then | |
| 2743 | anim="SneakIdle" | |
| 2744 | ||
| 2745 | elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < 25 and torso.Velocity.y<1 and torso.Velocity.y>-1 then | |
| 2746 | anim="SneakWalk" | |
| 2747 | end | |
| 2748 | end | |
| 2749 | ||
| 2750 | if anim=="Idling" then | |
| 2751 | if lastanim=='Sprinting' then | |
| 2752 | idlesineinc=20 | |
| 2753 | else | |
| 2754 | idlesineinc=35 | |
| 2755 | end | |
| 2756 | if not armmovement and not equipped then | |
| 2757 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(3)),.1) | |
| 2758 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1) | |
| 2759 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(0,math.rad(0),-(math.cos(syne/idlesineinc)/25)+math.rad(37.5)),.1) | |
| 2760 | trailing=false | |
| 2761 | elseif equipped and not armmovement then | |
| 2762 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.4+math.cos(syne/idlesineinc)/25,-.1)*CFrame.Angles(math.rad(50),0,math.rad(-5)),.1) | |
| 2763 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1) | |
| 2764 | objw1.C0=Lerp(objw1.C0,CFrame.new(.3,0,.1)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-65)),.1) | |
| 2765 | trailing=false | |
| 2766 | end | |
| 2767 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1) | |
| 2768 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1) | |
| 2769 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1) | |
| 2770 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2771 | end | |
| 2772 | ||
| 2773 | if anim=="Walking" then | |
| 2774 | tik=tik+1 | |
| 2775 | if tik==18 then | |
| 2776 | footstep:play'' | |
| 2777 | elseif tik>=36 then tik=0 | |
| 2778 | footstep:play'' | |
| 2779 | end | |
| 2780 | if not armmovement and not equipped then | |
| 2781 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1) | |
| 2782 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1) | |
| 2783 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/6)/8),math.rad(0),-(math.cos(syne/6)/8)+math.rad(37.5)),.1) | |
| 2784 | trailing=false | |
| 2785 | elseif equipped and not armmovement then | |
| 2786 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.4+math.cos(syne/3)/10,-.1)*CFrame.Angles(math.cos(syne/6)/10+math.rad(50),0,math.cos(syne/3)/10+math.rad(-5)),.1) | |
| 2787 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1) | |
| 2788 | objw1.C0=Lerp(objw1.C0,CFrame.new(.3,0,.1)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-65)),.1) | |
| 2789 | trailing=false | |
| 2790 | end | |
| 2791 | ||
| 2792 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1) | |
| 2793 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1) | |
| 2794 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1) | |
| 2795 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1) | |
| 2796 | end | |
| 2797 | ||
| 2798 | if anim=="Sprinting" then | |
| 2799 | tik=tik+1 | |
| 2800 | if tik==13 then | |
| 2801 | footstep:play'' | |
| 2802 | elseif tik>=26 then tik=0 | |
| 2803 | footstep:play'' | |
| 2804 | end | |
| 2805 | if not armmovement and not equipped then | |
| 2806 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(12.5)-math.cos(syne/4)/5),.1) | |
| 2807 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-12.5)-math.cos(syne/4)/5),.1) | |
| 2808 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/4)/3.5),math.rad(0),-(math.cos(syne/4)/3.5)+math.rad(37.5)),.1) | |
| 2809 | trailing=false | |
| 2810 | elseif not armmovement and equipped then | |
| 2811 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.1,(math.cos(syne/2.5)/5)+.4,-.1)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(40),0,math.rad(-20)),.1) | |
| 2812 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,(math.cos(syne/2.5)/5)+.2,-.333)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(40),0,math.rad(45)),.1) | |
| 2813 | objw1.C0=Lerp(objw1.C0,CFrame.new(.3,.5,.1)*CFrame.Angles(math.rad(80),math.rad(-20),math.rad(-70)),.1) | |
| 2814 | trailing=true | |
| 2815 | end | |
| 2816 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2))*CFrame.Angles(math.cos(syne/4)*2,0,math.rad(-2.5)),.1) | |
| 2817 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2)*CFrame.Angles(-(math.cos(syne/4)*2),0,math.rad(2.5)),.1) | |
| 2818 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(10),-math.cos(syne/4)/5,0),.1) | |
| 2819 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5)/1.5)*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-15),math.cos(syne/4)/5,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1) | |
| 2820 | end | |
| 2821 | ||
| 2822 | if anim=="Jumping" then | |
| 2823 | if not armmovement and not equipped then | |
| 2824 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1) | |
| 2825 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1) | |
| 2826 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1) | |
| 2827 | elseif equipped and not armmovement then | |
| 2828 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,-.1)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(30),0,math.rad(15)),.1) | |
| 2829 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.45,-.2)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(10),0,math.rad(-5)),.1) | |
| 2830 | objw1.C0=Lerp(objw1.C0,CFrame.new(.2,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1) | |
| 2831 | end | |
| 2832 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1) | |
| 2833 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1) | |
| 2834 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1) | |
| 2835 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1) | |
| 2836 | end | |
| 2837 | ||
| 2838 | if anim=="Falling" then | |
| 2839 | if not armmovement and not equipped then | |
| 2840 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1) | |
| 2841 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1) | |
| 2842 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1) | |
| 2843 | elseif equipped and not armmovement then | |
| 2844 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1) | |
| 2845 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1) | |
| 2846 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1) | |
| 2847 | end | |
| 2848 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1) | |
| 2849 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1) | |
| 2850 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1) | |
| 2851 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1) | |
| 2852 | end | |
| 2853 | ||
| 2854 | if anim=="Sliding" then | |
| 2855 | if not equipped then | |
| 2856 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1) | |
| 2857 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1) | |
| 2858 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1) | |
| 2859 | elseif equipped then | |
| 2860 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1) | |
| 2861 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1) | |
| 2862 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2863 | end | |
| 2864 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1) | |
| 2865 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.95,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.1) | |
| 2866 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(-60),0),.1) | |
| 2867 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(45),math.rad(85),math.rad(0)),.1) | |
| 2868 | end | |
| 2869 | ||
| 2870 | if anim=="DashSwing" then | |
| 2871 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.1,.5,-.3)*CFrame.Angles(math.rad(65),0,math.rad(-20)),.1) | |
| 2872 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,.3,-.4)*CFrame.Angles(math.rad(65),0,math.rad(45)),.1) | |
| 2873 | objw1.C0=Lerp(objw1.C0,CFrame.new(.3,.5,.1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-32.5)),.1) | |
| 2874 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,-1.4,-1)*CFrame.Angles(math.rad(65),0,math.rad(7.5)),.1) | |
| 2875 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.2,0)*CFrame.Angles(math.rad(-22.5),0,math.rad(2.5)),.1) | |
| 2876 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),0,0),.1) | |
| 2877 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,.1+rutprt.Weld.C0.y+.05,0)*CFrame.Angles(math.rad(5),math.rad(TwnSingleNumber(rutprt.Weld.C0:toEulerAnglesXYZ().y,179,.1)),math.rad(-12)),.1) | |
| 2878 | end | |
| 2879 | ||
| 2880 | if anim=="SpinAttack" then | |
| 2881 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.35,-.5)*CFrame.Angles(math.cos(syne/30)/15+math.rad(rutprt.SpinAttackVelocity.angularvelocity.y*2),0,math.rad(-30)),.1) | |
| 2882 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.35,-.5)*CFrame.Angles(math.cos(syne/30)/15+math.rad(rutprt.SpinAttackVelocity.angularvelocity.y*2),0,math.rad(30)),.1) | |
| 2883 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,-.15)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(87.5)),.1) | |
| 2884 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9,math.rad(20))*CFrame.Angles(math.rad(-20),0,math.rad(-2.5)),.1) | |
| 2885 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,math.rad(20))*CFrame.Angles(math.rad(-20),0,math.rad(2.5)),.1) | |
| 2886 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.25)*CFrame.Angles(math.rad(-20),math.rad(0),0),.1) | |
| 2887 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,.5+math.cos(syne/20)/2,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.025) | |
| 2888 | end | |
| 2889 | ||
| 2890 | if equipped then | |
| 2891 | objw1.Part1=rarm | |
| 2892 | objw1.C1=CFrame.new(-.4,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90)) | |
| 2893 | elseif not equipped then | |
| 2894 | objw1.Part1=torso | |
| 2895 | objw1.C1=CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 2896 | end | |
| 2897 | ||
| 2898 | if anim=='Sitting' and equipped and sitting then | |
| 2899 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.3,-.35)*CFrame.Angles(math.rad(40),0,math.rad(-37.5)),.25) | |
| 2900 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.15,.3,-.35)*CFrame.Angles(math.rad(40),0,math.rad(37.5)),.25) | |
| 2901 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,.4,-.3)*CFrame.Angles(math.rad(130),math.rad(60),math.rad(10)),.125) | |
| 2902 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.6,-1,-.7)*CFrame.Angles(math.rad(70),0,math.rad(-12)),.25) | |
| 2903 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.6,-1,-.7)*CFrame.Angles(math.rad(70),0,math.rad(12)),.25) | |
| 2904 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),.25) | |
| 2905 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,1,-.25)*CFrame.Angles(math.rad(-7.5),math.rad(0),math.rad(0)),.25) | |
| 2906 | end | |
| 2907 | ||
| 2908 | if anim=="PreSuperJump" then | |
| 2909 | if not equipped and not armmovement then | |
| 2910 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.05) | |
| 2911 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.05) | |
| 2912 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.05) | |
| 2913 | elseif equipped and not armmovement then | |
| 2914 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(40),0,math.rad(-20)),.1) | |
| 2915 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(20),0,math.rad(57)),.1) | |
| 2916 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1) | |
| 2917 | end | |
| 2918 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-.4,.3)*CFrame.Angles(math.rad(-40),0,math.rad(-2.5)),.05) | |
| 2919 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.6,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.05) | |
| 2920 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.05) | |
| 2921 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.6,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.05) | |
| 2922 | end | |
| 2923 | ||
| 2924 | if anim=="SuperJump" then | |
| 2925 | if not armmovement and not equipped then | |
| 2926 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1) | |
| 2927 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1) | |
| 2928 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(28)),.1) | |
| 2929 | elseif equipped and not armmovement then | |
| 2930 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(50),0,math.rad(-20)),.1) | |
| 2931 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(30),0,math.rad(57)),.1) | |
| 2932 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1) | |
| 2933 | end | |
| 2934 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(-2.5)),.2) | |
| 2935 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(2.5)),.2) | |
| 2936 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1) | |
| 2937 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
| 2938 | chr.Humanoid.Jump=true | |
| 2939 | end | |
| 2940 | ||
| 2941 | if armmovement then | |
| 2942 | if equipped and armanim=='Swing1P1' then | |
| 2943 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(179),0,math.rad(-22.5)),.125) | |
| 2944 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(179),0,math.rad(40)),.125) | |
| 2945 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.125) | |
| 2946 | end | |
| 2947 | if equipped and armanim=='Swing1P2' then | |
| 2948 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(29),0,math.rad(-27.5)),.3) | |
| 2949 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(29),0,math.rad(30)),.3) | |
| 2950 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.3) | |
| 2951 | end | |
| 2952 | ||
| 2953 | ||
| 2954 | if equipped and armanim=='Swing2P1' then | |
| 2955 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(99),0,math.rad(55)),.125) | |
| 2956 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,.6,-.475)*CFrame.Angles(math.rad(99),0,math.rad(70)),.125) | |
| 2957 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(90),math.rad(40)),.125) | |
| 2958 | end | |
| 2959 | if equipped and armanim=='Swing2P2' then | |
| 2960 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.65,.6,-.475)*CFrame.Angles(math.rad(59),0,math.rad(-80)),.3) | |
| 2961 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.15,.45,0)*CFrame.Angles(math.rad(59),0,math.rad(-55)),.3) | |
| 2962 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(90),math.rad(40)),.3) | |
| 2963 | end | |
| 2964 | ||
| 2965 | ||
| 2966 | if equipped and armanim=='Swing3P1' then | |
| 2967 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(29),0,math.rad(-17.5)),.3) | |
| 2968 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(29),0,math.rad(30)),.3) | |
| 2969 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.3) | |
| 2970 | end | |
| 2971 | if equipped and armanim=='Swing3P2' then | |
| 2972 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(179),0,math.rad(-42.5)),.125) | |
| 2973 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(179),0,math.rad(60)),.125) | |
| 2974 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.125) | |
| 2975 | end | |
| 2976 | ||
| 2977 | ||
| 2978 | if equipped and armanim=='Glowing' then | |
| 2979 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,-.1)*CFrame.Angles(math.rad(40),0,math.rad(-10)),.1) | |
| 2980 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.7,.25,-.4)*CFrame.Angles(math.rad(35),0,math.rad(50)),.1) | |
| 2981 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)),.1) | |
| 2982 | lightw.C0=Lerp(lightw.C0,CFrame.new(math.cos(syne/4)*1.5,math.sin(syne/75)*1.75+3.5,-math.sin(syne/4)*1.5)*CFrame.Angles(0,0,0),.1) | |
| 2983 | end | |
| 2984 | if equipped and armanim=='Healing' then | |
| 2985 | chr.Humanoid.Health=chr.Humanoid.Health+.215 | |
| 2986 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1,.55,-.5)*CFrame.Angles(math.rad(100),0,math.rad(-30)),.125) | |
| 2987 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.55,-.5)*CFrame.Angles(math.rad(100),0,math.rad(30)),.125) | |
| 2988 | objw1.C0=Lerp(objw1.C0,CFrame.new(-.1,.2,-.3)*CFrame.Angles(math.rad(10),math.rad(60),math.rad(0)),.125) | |
| 2989 | healw.C0=Lerp(healw.C0,CFrame.new(math.cos(syne/5)*4.5,math.sin(syne/45)*4-1.2,-math.sin(syne/5)*4.5)*CFrame.Angles(0,0,0),.1) | |
| 2990 | otherw.C0=Lerp(otherw.C0,CFrame.new(math.sin(syne/5)*4.5,-math.sin(syne/45)*4-1.2,-math.cos(syne/5)*4.5)*CFrame.Angles(0,0,0),.1) | |
| 2991 | end | |
| 2992 | if equipped and armanim=='ShootP1' then | |
| 2993 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.3,.325,0)*CFrame.Angles(math.rad(29),0,math.rad(-30)),.2) | |
| 2994 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.85,.325,-.4)*CFrame.Angles(math.rad(9),0,math.rad(47.5)),.2) | |
| 2995 | objw1.C0=Lerp(objw1.C0,CFrame.new(-.75,.5,-.25)*CFrame.Angles(math.rad(-55),math.rad(35),math.rad(30)),.2) | |
| 2996 | end | |
| 2997 | if equipped and armanim=='ShootP2' then | |
| 2998 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.95,.375,-.4)*CFrame.Angles(math.rad(129),0,math.rad(-42.5)),.2) | |
| 2999 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.375,0)*CFrame.Angles(math.rad(129),0,math.rad(25)),.2) | |
| 3000 | objw1.C0=Lerp(objw1.C0,CFrame.new(-.75,1,-.25)*CFrame.Angles(math.rad(-55),math.rad(35),math.rad(30)),.2) | |
| 3001 | end | |
| 3002 | end | |
| 3003 | ||
| 3004 | ||
| 3005 | if anim=='Pre-Sneak' then | |
| 3006 | if not armmovement and not equipped then | |
| 3007 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(12)),.1) | |
| 3008 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(-12)),.1) | |
| 3009 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1) | |
| 3010 | elseif equipped and not armmovement then | |
| 3011 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1) | |
| 3012 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1) | |
| 3013 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1) | |
| 3014 | end | |
| 3015 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,0)*CFrame.Angles(math.rad(-12.5),0,math.rad(-2.5)),.1) | |
| 3016 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1,-.5)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.1) | |
| 3017 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(7),0,0),.1) | |
| 3018 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.1,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.1) | |
| 3019 | end | |
| 3020 | ||
| 3021 | if anim=='SneakWalk' then | |
| 3022 | tik=tik+1 | |
| 3023 | if tik>=34 then tik=0 | |
| 3024 | footstep:play'' | |
| 3025 | end | |
| 3026 | chr.Humanoid.WalkSpeed=SneakSpeed-math.cos(syne/5)*5 | |
| 3027 | if not armmovement and not equipped then | |
| 3028 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.cos(syne/10)/2.5+math.rad(5),0,math.rad(12)),.1) | |
| 3029 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/10)/2.5+math.rad(5),0,math.rad(-12)),.1) | |
| 3030 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1) | |
| 3031 | elseif equipped and not armmovement then | |
| 3032 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(60),0,math.rad(-20)),.1) | |
| 3033 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(40),0,math.rad(62.5)),.1) | |
| 3034 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1) | |
| 3035 | end | |
| 3036 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,math.cos(syne/10)/3-1,-math.sin(syne/10)/1.5-.4)*CFrame.Angles(math.sin(syne/10)/1.5-math.rad(2.5),0,math.rad(-2.5)),.1) | |
| 3037 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-math.cos(syne/10)/3-1,math.sin(syne/10)/1.5-.4)*CFrame.Angles(-math.sin(syne/10)/1.5-math.rad(2.5),0,math.rad(2.5)),.1) | |
| 3038 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(-math.cos(syne/5)/5+math.rad(9),-math.sin(syne/10)/6.1,0),.1) | |
| 3039 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,math.cos(syne/5)/5-1.1,-math.cos(syne/5)/2)*CFrame.Angles(math.cos(syne/5)/5+math.rad(-14),math.sin(syne/10)/6,math.rad(0)),.1) | |
| 3040 | end | |
| 3041 | ||
| 3042 | if anim=='SneakIdle' then | |
| 3043 | if not armmovement and not equipped then | |
| 3044 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(12)),.1) | |
| 3045 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(-12)),.1) | |
| 3046 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1) | |
| 3047 | elseif equipped and not armmovement then | |
| 3048 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1) | |
| 3049 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1) | |
| 3050 | objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1) | |
| 3051 | end | |
| 3052 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(7),0,0),.1) | |
| 3053 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.1,.2)*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(0)),.1) | |
| 3054 | end | |
| 3055 | ||
| 3056 | if sitting then chr.Humanoid.WalkSpeed=0 end | |
| 3057 | if lit then | |
| 3058 | if lgt then | |
| 3059 | lgt.Range=TwnSingleNumber(lgt.Range,22.5,.1) | |
| 3060 | end | |
| 3061 | end | |
| 3062 | ||
| 3063 | end) | |
| 3064 | local bin=Instance.new('HopperBin',plr.Backpack)
| |
| 3065 | bin.Name='Sword' | |
| 3066 | bin.Selected:connect(function() | |
| 3067 | if not otheranims and not armmovement and not sitting and not flying then | |
| 3068 | equipped=true | |
| 3069 | objw22.Part1=torso | |
| 3070 | objw22.C0=CFrame.new(0,.6,-.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(35)) | |
| 3071 | objw23.Part1=torso | |
| 3072 | objw23.C0=CFrame.new(0,.6,.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(35)) | |
| 3073 | objw1.Part1=rarm | |
| 3074 | objw1.C1=CFrame.new(-.4,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90)) | |
| 3075 | objw1.C0=CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/6)/8),math.rad(0),-(math.cos(syne/6)/8)+math.rad(37.5)) | |
| 3076 | end | |
| 3077 | end) | |
| 3078 | bin.Deselected:connect(function() | |
| 3079 | if not otheranims and not armmovement and not sitting and not flying then | |
| 3080 | equipped=false | |
| 3081 | objw22.Part1=obj1 | |
| 3082 | objw22.C0=CFrame.new(0,0,1.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)) | |
| 3083 | objw23.Part1=obj1 | |
| 3084 | objw23.C0=CFrame.new(0,0,2.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)) | |
| 3085 | objw1.Part1=torso | |
| 3086 | objw1.C1=CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 3087 | objw1.C0=CFrame.new(0,0,-.15)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(87.5)) | |
| 3088 | end | |
| 3089 | end) | |
| 3090 | maus.TargetFilter=TrailModel | |
| 3091 | ||
| 3092 | coroutine.wrap(function() | |
| 3093 | while true do | |
| 3094 | if trailing then | |
| 3095 | local pos1=obj1.CFrame*CFrame.new(0,-5,0) | |
| 3096 | wait() | |
| 3097 | local pos2=obj1.CFrame*CFrame.new(0,-5,0) | |
| 3098 | local dees=(pos1.p-pos2.p).magnitude | |
| 3099 | local treel=Instance.new('Part',TrailModel)
| |
| 3100 | treel.Name='treelOrbASD' | |
| 3101 | treel.formFactor='Custom' | |
| 3102 | treel.Size=Vector3.new(.1,dees,.1) | |
| 3103 | treel.BrickColor=BladeColor--BrickColor.new(Color3.new(0,0,0)) | |
| 3104 | treel.Anchored=true | |
| 3105 | treel.Transparency=.5 | |
| 3106 | treel.CanCollide=false | |
| 3107 | treel.Material="Neon" | |
| 3108 | treel.TopSurface=10 | |
| 3109 | treel.BottomSurface=10 | |
| 3110 | treel.LeftSurface=10 | |
| 3111 | treel.RightSurface=10 | |
| 3112 | treel.FrontSurface=10 | |
| 3113 | treel.BackSurface=10 | |
| 3114 | treel.Locked=true | |
| 3115 | treel:breakJoints() | |
| 3116 | treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0) | |
| 3117 | local treelm=Instance.new('CylinderMesh',treel)
| |
| 3118 | game:service'Debris':AddItem(treel,1) | |
| 3119 | coroutine.wrap(function() | |
| 3120 | for asd=.7,-0,-.1 do treelm.Scale=Vector3.new(asd,1,asd) wait(0) | |
| 3121 | end | |
| 3122 | end)() | |
| 3123 | elseif not trailing and not lit and armanim~='Healing' then | |
| 3124 | wait'' | |
| 3125 | end | |
| 3126 | if lit then | |
| 3127 | local pos1=light2.CFrame | |
| 3128 | wait() | |
| 3129 | local pos2=light2.CFrame | |
| 3130 | local dees=(pos1.p-pos2.p).magnitude | |
| 3131 | local treel=Instance.new('Part',TrailModel)
| |
| 3132 | treel.Name='treelOrbASD' | |
| 3133 | treel.formFactor='Custom' | |
| 3134 | treel.Size=Vector3.new(.1,dees,.1) | |
| 3135 | treel.BrickColor=LightColor | |
| 3136 | treel.Anchored=true | |
| 3137 | treel.Transparency=0 | |
| 3138 | treel.CanCollide=false | |
| 3139 | treel.Material="Neon" | |
| 3140 | treel.TopSurface=10 | |
| 3141 | treel.BottomSurface=10 | |
| 3142 | treel.LeftSurface=10 | |
| 3143 | treel.RightSurface=10 | |
| 3144 | treel.FrontSurface=10 | |
| 3145 | treel.BackSurface=10 | |
| 3146 | treel.Locked=true | |
| 3147 | treel:breakJoints() | |
| 3148 | treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0) | |
| 3149 | local treelm=Instance.new('CylinderMesh',treel)
| |
| 3150 | game:service'Debris':AddItem(treel,2) | |
| 3151 | coroutine.wrap(function() | |
| 3152 | for asd=.65,0,-.05 do treelm.Scale=Vector3.new(asd,1,asd) wait(0) | |
| 3153 | end | |
| 3154 | end)() | |
| 3155 | elseif not lit and armanim~='Healing' and not trailing then | |
| 3156 | wait'' | |
| 3157 | end | |
| 3158 | if armanim=='Healing' then | |
| 3159 | local pos1=other.CFrame | |
| 3160 | local pos3=heal.CFrame | |
| 3161 | wait() | |
| 3162 | local pos4=heal.CFrame | |
| 3163 | local pos2=other.CFrame | |
| 3164 | local dees=(pos1.p-pos2.p).magnitude | |
| 3165 | local dee2=(pos3.p-pos4.p).magnitude | |
| 3166 | local treel=Instance.new('Part',TrailModel)
| |
| 3167 | treel.Name='treel1TrailASD' | |
| 3168 | treel.formFactor='Custom' | |
| 3169 | treel.Size=Vector3.new(.1,dees,.1) | |
| 3170 | treel.BrickColor=HealOrbColor | |
| 3171 | treel.Anchored=true | |
| 3172 | treel.Transparency=0 | |
| 3173 | treel.Reflectance=.5 | |
| 3174 | treel.CanCollide=false | |
| 3175 | treel.Material="Neon" | |
| 3176 | treel.TopSurface=10 | |
| 3177 | treel.BottomSurface=10 | |
| 3178 | treel.LeftSurface=10 | |
| 3179 | treel.RightSurface=10 | |
| 3180 | treel.FrontSurface=10 | |
| 3181 | treel.BackSurface=10 | |
| 3182 | treel.Locked=true | |
| 3183 | treel:breakJoints() | |
| 3184 | treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0) | |
| 3185 | local treelm=Instance.new('CylinderMesh',treel)
| |
| 3186 | game:service'Debris':AddItem(treel,2) | |
| 3187 | local treel2=Instance.new('Part',TrailModel)
| |
| 3188 | treel2.Name='treel2TrailASD' | |
| 3189 | treel2.formFactor='Custom' | |
| 3190 | treel2.Size=Vector3.new(.1,dee2,.1) | |
| 3191 | treel2.BrickColor=HealOrbColor | |
| 3192 | treel2.Anchored=true | |
| 3193 | treel2.Transparency=0 | |
| 3194 | treel2.Reflectance=.5 | |
| 3195 | treel2.CanCollide=false | |
| 3196 | treel2.TopSurface=10 | |
| 3197 | treel2.Material="Neon" | |
| 3198 | treel2.BottomSurface=10 | |
| 3199 | treel2.LeftSurface=10 | |
| 3200 | treel2.RightSurface=10 | |
| 3201 | treel2.FrontSurface=10 | |
| 3202 | treel2.BackSurface=10 | |
| 3203 | treel2.Locked=true | |
| 3204 | treel2:breakJoints() | |
| 3205 | treel2.CFrame=CFrame.new(Avg(pos3,pos4).p,pos4.p)*CFrame.Angles(math.pi/2,0,0) | |
| 3206 | local treelm2=Instance.new('CylinderMesh',treel2)
| |
| 3207 | game:service'Debris':AddItem(treel2,2) | |
| 3208 | coroutine.wrap(function() | |
| 3209 | for asd=.9,-0,-.075 do treelm2.Scale=Vector3.new(asd,1,asd) treelm.Scale=Vector3.new(asd,1,asd) wait(0) | |
| 3210 | end | |
| 3211 | end)() | |
| 3212 | elseif not trailing and not lit and armanim~='Healing' then | |
| 3213 | wait'' | |
| 3214 | end | |
| 3215 | end | |
| 3216 | end)() | |
| 3217 | ||
| 3218 | coroutine.resume(coroutine.create(function() | |
| 3219 | for i,x in pairs(chr:GetChildren()) do if x:IsA('Part') then x.Material='Neon' elseif x:IsA('Hat') then x.Handle.Material='Neon' end end end))
| |
| 3220 | for lalal,lal in pairs(chr:GetChildren()) do if lal.ClassName=='Part' then | |
| 3221 | for lalalalal,lalalal in pairs(lal:GetChildren()) do if lalalal.ClassName=='CharacterMesh' then lalalal:Destroy() end end | |
| 3222 | elseif lal.ClassName=='CharacterMesh' then lal:Destroy() end end | |
| 3223 | ||
| 3224 | wait'.5' | |
| 3225 | local pseudohead=hed:Clone() | |
| 3226 | for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
| |
| 3227 | pseudohead.Name='PseudoHead' | |
| 3228 | pseudohead.Parent=chr.Head | |
| 3229 | local pseudoweld=Instance.new('Weld',torso)
| |
| 3230 | pseudoweld.Part0=hed | |
| 3231 | pseudoweld.Name='PseudoHedWld' | |
| 3232 | pseudoweld.Part1=pseudohead | |
| 3233 | hed.Transparency=1 |