SHOW:
|
|
- or go back to the newest paste.
| 1 | Player=game:GetService("Players").LocalPlayer
| |
| 2 | Character=Player.Character | |
| 3 | PlayerGui=Player.PlayerGui | |
| 4 | Backpack=Player.Backpack | |
| 5 | Torso=Character.Torso | |
| 6 | Head=Character.Head | |
| 7 | Humanoid=Character.Humanoid | |
| 8 | m=Instance.new('Model',Character)
| |
| 9 | LeftArm=Character["Left Arm"] | |
| 10 | LeftLeg=Character["Left Leg"] | |
| 11 | RightArm=Character["Right Arm"] | |
| 12 | RightLeg=Character["Right Leg"] | |
| 13 | LS=Torso["Left Shoulder"] | |
| 14 | LH=Torso["Left Hip"] | |
| 15 | RS=Torso["Right Shoulder"] | |
| 16 | RH=Torso["Right Hip"] | |
| 17 | Face = Head.face | |
| 18 | Neck=Torso.Neck | |
| 19 | it=Instance.new | |
| 20 | attacktype=1 | |
| 21 | vt=Vector3.new | |
| 22 | cf=CFrame.new | |
| 23 | euler=CFrame.fromEulerAnglesXYZ | |
| 24 | angles=CFrame.Angles | |
| 25 | cloaked=false | |
| 26 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 27 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 28 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 29 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 30 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 31 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 32 | RootPart=Character.HumanoidRootPart | |
| 33 | RootJoint=RootPart.RootJoint | |
| 34 | RootCF=euler(-1.57,0,3.14) | |
| 35 | attack = false | |
| 36 | attackdebounce = false | |
| 37 | deb=false | |
| 38 | equipped=true | |
| 39 | hand=false | |
| 40 | MMouse=nil | |
| 41 | combo=0 | |
| 42 | mana=0 | |
| 43 | trispeed=.2 | |
| 44 | attackmode='none' | |
| 45 | local idle=0 | |
| 46 | local Anim="Idle" | |
| 47 | local Effects={}
| |
| 48 | local gun=false | |
| 49 | local shoot=false | |
| 50 | player=nil | |
| 51 | mana=0 | |
| 52 | sphere=true | |
| 53 | aura=false | |
| 54 | blinking=true | |
| 55 | rest=false | |
| 56 | ||
| 57 | game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump) | |
| 58 | if jump == "Jump" then | |
| 59 | Humanoid.Jump = false | |
| 60 | end | |
| 61 | end) | |
| 62 | ||
| 63 | Humanoid.MaxHealth = 50000 | |
| 64 | wait(0.1) | |
| 65 | Humanoid.Health = 50000 | |
| 66 | ||
| 67 | print("Giant Snowman loaded.")
| |
| 68 | print("This script was made by Brannon1964802")
| |
| 69 | ||
| 70 | RootPart.Transparency = 1 | |
| 71 | ||
| 72 | Humanoid.CameraOffset = Vector3.new(0, 12.5, 0) | |
| 73 | ||
| 74 | Humanoid:findFirstChild("Animator"):Destroy()
| |
| 75 | ||
| 76 | Torso.Material = "Neon" | |
| 77 | Head.Material = "Neon" | |
| 78 | LeftLeg.Material = "Neon" | |
| 79 | RightLeg.Material = "Neon" | |
| 80 | LeftArm.Material = "Neon" | |
| 81 | RightArm.Material = "Neon" | |
| 82 | ||
| 83 | Torso.BrickColor = BrickColor.new("Deep orange")
| |
| 84 | Head.BrickColor = BrickColor.new("Deep orange")
| |
| 85 | LeftLeg.BrickColor = BrickColor.new("Deep orange")
| |
| 86 | RightLeg.BrickColor = BrickColor.new("Deep orange")
| |
| 87 | LeftArm.BrickColor = BrickColor.new("Deep orange")
| |
| 88 | RightArm.BrickColor = BrickColor.new("Deep orange")
| |
| 89 | ||
| 90 | --[[Character.Shirt:Destroy() | |
| 91 | Character.Pants:Destroy()]] | |
| 92 | ||
| 93 | mouse=Player:GetMouse() | |
| 94 | --save shoulders | |
| 95 | RSH, LSH=nil, nil | |
| 96 | --welds | |
| 97 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 98 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 99 | LH=Torso["Left Hip"] | |
| 100 | RH=Torso["Right Hip"] | |
| 101 | TorsoColor=Torso.BrickColor | |
| 102 | function NoOutline(Part) | |
| 103 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 104 | end | |
| 105 | player=Player | |
| 106 | ch=Character | |
| 107 | RSH=ch.Torso["Right Shoulder"] | |
| 108 | LSH=ch.Torso["Left Shoulder"] | |
| 109 | -- | |
| 110 | RSH.Parent=nil | |
| 111 | LSH.Parent=nil | |
| 112 | -- | |
| 113 | RW.Name="Right Shoulder" | |
| 114 | RW.Part0=ch.Torso | |
| 115 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 116 | RW.C1=cf(0, 0.5, 0) | |
| 117 | RW.Part1=ch["Right Arm"] | |
| 118 | RW.Parent=ch.Torso | |
| 119 | -- | |
| 120 | LW.Name="Left Shoulder" | |
| 121 | LW.Part0=ch.Torso | |
| 122 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 123 | LW.C1=cf(0, 0.5, 0) | |
| 124 | LW.Part1=ch["Left Arm"] | |
| 125 | LW.Parent=ch.Torso | |
| 126 | ||
| 127 | Player=game:GetService('Players').LocalPlayer
| |
| 128 | Character=Player.Character | |
| 129 | Mouse=Player:GetMouse() | |
| 130 | m=Instance.new('Model',Character)
| |
| 131 | ||
| 132 | music = Instance.new("Sound", Character)
| |
| 133 | music.SoundId = "http://www.roblox.com/asset/?id=340106355" | |
| 134 | music.Volume = 0 | |
| 135 | music.Looped = true | |
| 136 | wait(0.1) | |
| 137 | music:Play() | |
| 138 | ||
| 139 | music2 = Instance.new("Sound", Character)
| |
| 140 | music2.SoundId = "http://www.roblox.com/asset/?id=340106807" | |
| 141 | music2.Volume = 0.5 | |
| 142 | music2.Looped = true | |
| 143 | ||
| 144 | rawr = Instance.new("Sound", Character)
| |
| 145 | rawr.SoundId = "http://www.roblox.com/asset/?id=297472596" | |
| 146 | rawr.Volume = 0.5 | |
| 147 | rawr.Looped = false | |
| 148 | ||
| 149 | Beast = Instance.new("Model",Character)
| |
| 150 | Beast.Name = "The Beast from The Depths" | |
| 151 | ||
| 152 | torsop=Instance.new("Part",Character)
| |
| 153 | torsop.FormFactor="Custom" | |
| 154 | torsop.Size=Vector3.new(.2,.2,.2) | |
| 155 | torsop.Transparency=0 | |
| 156 | torsop.CanCollide=false | |
| 157 | torsop.BrickColor = BrickColor.new("Deep orange")
| |
| 158 | torsop.Material="Neon" | |
| 159 | torsop.TopSurface="Smooth" | |
| 160 | torsop.BottomSurface="Smooth" | |
| 161 | torsop.RightSurface="Smooth" | |
| 162 | torsop.LeftSurface="Smooth" | |
| 163 | torsop.Transparency = 0 | |
| 164 | torsopw=Instance.new("Weld",Character)
| |
| 165 | torsopw.Part0=Character.Torso | |
| 166 | torsopw.Part1=torsop | |
| 167 | torsopw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-90),math.rad(0)) | |
| 168 | ||
| 169 | torso = Instance.new("SpecialMesh",torsop)
| |
| 170 | torso.MeshType = "Sphere" | |
| 171 | torso.Scale = Vector3.new(45,45,45) | |
| 172 | ||
| 173 | ghostp=Instance.new("Part",Character)
| |
| 174 | ghostp.FormFactor="Custom" | |
| 175 | ghostp.Size=Vector3.new(0.2,0.2,0.2) | |
| 176 | ghostp.Transparency=1 | |
| 177 | ghostp.CanCollide=false | |
| 178 | ghostp.BrickColor = BrickColor.new("Really black")
| |
| 179 | ghostp.Material="Neon" | |
| 180 | ghostp.TopSurface="Smooth" | |
| 181 | ghostp.BottomSurface="Smooth" | |
| 182 | ghostp.RightSurface="Smooth" | |
| 183 | ghostp.LeftSurface="Smooth" | |
| 184 | ghostw=Instance.new("Weld",Character)
| |
| 185 | ghostw.Part0=Character.Torso | |
| 186 | ghostw.Part1=ghostp | |
| 187 | ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 188 | ||
| 189 | ghostmesh = Instance.new("FileMesh",ghostp)
| |
| 190 | ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432" | |
| 191 | ghostmesh.Scale = Vector3.new(5,5,5) | |
| 192 | ||
| 193 | ghostp2=Instance.new("Part",Character)
| |
| 194 | ghostp2.FormFactor="Custom" | |
| 195 | ghostp2.Size=Vector3.new(0.2,0.2,0.2) | |
| 196 | ghostp2.Transparency=1 | |
| 197 | ghostp2.CanCollide=false | |
| 198 | ghostp2.BrickColor = BrickColor.new("Really black")
| |
| 199 | ghostp2.Material="Neon" | |
| 200 | ghostp2.TopSurface="Smooth" | |
| 201 | ghostp2.BottomSurface="Smooth" | |
| 202 | ghostp2.RightSurface="Smooth" | |
| 203 | ghostp2.LeftSurface="Smooth" | |
| 204 | ghostw2=Instance.new("Weld",Character)
| |
| 205 | ghostw2.Part0=Character.Torso | |
| 206 | ghostw2.Part1=ghostp2 | |
| 207 | ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 208 | ||
| 209 | ghostmesh2 = Instance.new("FileMesh",ghostp2)
| |
| 210 | ghostmesh2.MeshId = "http://www.roblox.com/asset/?id=168892432" | |
| 211 | ghostmesh2.Scale = Vector3.new(10,10,10) | |
| 212 | ||
| 213 | ghostp3=Instance.new("Part",Character)
| |
| 214 | ghostp3.FormFactor="Custom" | |
| 215 | ghostp3.Size=Vector3.new(0.2,0.2,0.2) | |
| 216 | ghostp3.Transparency=1 | |
| 217 | ghostp3.CanCollide=false | |
| 218 | ghostp3.BrickColor = BrickColor.new("Really black")
| |
| 219 | ghostp3.Material="Neon" | |
| 220 | ghostp3.TopSurface="Smooth" | |
| 221 | ghostp3.BottomSurface="Smooth" | |
| 222 | ghostp3.RightSurface="Smooth" | |
| 223 | ghostp2.LeftSurface="Smooth" | |
| 224 | ghostw3=Instance.new("Weld",Character)
| |
| 225 | ghostw3.Part0=Character.Torso | |
| 226 | ghostw3.Part1=ghostp3 | |
| 227 | ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 228 | ||
| 229 | ghostmesh3 = Instance.new("FileMesh",ghostp3)
| |
| 230 | ghostmesh3.MeshId = "http://www.roblox.com/asset/?id=168892432" | |
| 231 | ghostmesh3.Scale = Vector3.new(15,15,15) | |
| 232 | ||
| 233 | ghostp4=Instance.new("Part",Character)
| |
| 234 | ghostp4.FormFactor="Custom" | |
| 235 | ghostp4.Size=Vector3.new(0.2,0.2,0.2) | |
| 236 | ghostp4.Transparency=1 | |
| 237 | ghostp4.CanCollide=false | |
| 238 | ghostp4.BrickColor = BrickColor.new("Really black")
| |
| 239 | ghostp4.Material="Neon" | |
| 240 | ghostp4.TopSurface="Smooth" | |
| 241 | ghostp4.BottomSurface="Smooth" | |
| 242 | ghostp4.RightSurface="Smooth" | |
| 243 | ghostp4.LeftSurface="Smooth" | |
| 244 | ghostw4=Instance.new("Weld",Character)
| |
| 245 | ghostw4.Part0=Character.Torso | |
| 246 | ghostw4.Part1=ghostp4 | |
| 247 | ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 248 | ||
| 249 | ghostmesh4 = Instance.new("FileMesh",ghostp4)
| |
| 250 | ghostmesh4.MeshId = "http://www.roblox.com/asset/?id=168892432" | |
| 251 | ghostmesh4.Scale = Vector3.new(20,20,20) | |
| 252 | ||
| 253 | ghostp5=Instance.new("Part",Character)
| |
| 254 | ghostp5.FormFactor="Custom" | |
| 255 | ghostp5.Size=Vector3.new(0.2,0.2,0.2) | |
| 256 | ghostp5.Transparency=1 | |
| 257 | ghostp5.CanCollide=false | |
| 258 | ghostp5.BrickColor = BrickColor.new("Really black")
| |
| 259 | ghostp5.Material="Neon" | |
| 260 | ghostp5.TopSurface="Smooth" | |
| 261 | ghostp5.BottomSurface="Smooth" | |
| 262 | ghostp5.RightSurface="Smooth" | |
| 263 | ghostp5.LeftSurface="Smooth" | |
| 264 | ghost5w=Instance.new("Weld",Character)
| |
| 265 | ghost5w.Part0=Character.Torso | |
| 266 | ghost5w.Part1=ghostp5 | |
| 267 | ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 268 | ||
| 269 | ghostmesh = Instance.new("FileMesh",ghostp5)
| |
| 270 | ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432" | |
| 271 | ghostmesh.Scale = Vector3.new(2.5,2.5,2.5) | |
| 272 | ||
| 273 | ghostp6=Instance.new("Part",Character)
| |
| 274 | ghostp6.FormFactor="Custom" | |
| 275 | ghostp6.Size=Vector3.new(0.2,0.2,0.2) | |
| 276 | ghostp6.Transparency=1 | |
| 277 | ghostp6.CanCollide=false | |
| 278 | ghostp6.BrickColor = BrickColor.new("Really black")
| |
| 279 | ghostp6.Material="Neon" | |
| 280 | ghostp6.TopSurface="Smooth" | |
| 281 | ghostp6.BottomSurface="Smooth" | |
| 282 | ghostp6.RightSurface="Smooth" | |
| 283 | ghostp6.LeftSurface="Smooth" | |
| 284 | ghost6w=Instance.new("Weld",Character)
| |
| 285 | ghost6w.Part0=Character.Torso | |
| 286 | ghost6w.Part1=ghostp6 | |
| 287 | ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 288 | ||
| 289 | ghostmesh = Instance.new("FileMesh",ghostp6)
| |
| 290 | ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432" | |
| 291 | ghostmesh.Scale = Vector3.new(7.5,7.5,7.5) | |
| 292 | ||
| 293 | ghostp7=Instance.new("Part",Character)
| |
| 294 | ghostp7.FormFactor="Custom" | |
| 295 | ghostp7.Size=Vector3.new(0.2,0.2,0.2) | |
| 296 | ghostp7.Transparency=1 | |
| 297 | ghostp7.CanCollide=false | |
| 298 | ghostp7.BrickColor = BrickColor.new("Really black")
| |
| 299 | ghostp7.Material="Neon" | |
| 300 | ghostp7.TopSurface="Smooth" | |
| 301 | ghostp7.BottomSurface="Smooth" | |
| 302 | ghostp7.RightSurface="Smooth" | |
| 303 | ghostp7.LeftSurface="Smooth" | |
| 304 | ghost7w=Instance.new("Weld",Character)
| |
| 305 | ghost7w.Part0=Character.Torso | |
| 306 | ghost7w.Part1=ghostp7 | |
| 307 | ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 308 | ||
| 309 | ghostmesh = Instance.new("FileMesh",ghostp7)
| |
| 310 | ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432" | |
| 311 | ghostmesh.Scale = Vector3.new(12.5,12.5,12.5) | |
| 312 | ||
| 313 | ghostp8=Instance.new("Part",Character)
| |
| 314 | ghostp8.FormFactor="Custom" | |
| 315 | ghostp8.Size=Vector3.new(0.2,0.2,0.2) | |
| 316 | ghostp8.Transparency=1 | |
| 317 | ghostp8.CanCollide=false | |
| 318 | ghostp8.BrickColor = BrickColor.new("Really black")
| |
| 319 | ghostp8.Material="Neon" | |
| 320 | ghostp8.TopSurface="Smooth" | |
| 321 | ghostp8.BottomSurface="Smooth" | |
| 322 | ghostp8.RightSurface="Smooth" | |
| 323 | ghostp8.LeftSurface="Smooth" | |
| 324 | ghost8w=Instance.new("Weld",Character)
| |
| 325 | ghost8w.Part0=Character.Torso | |
| 326 | ghost8w.Part1=ghostp8 | |
| 327 | ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 328 | ||
| 329 | ghostmesh = Instance.new("FileMesh",ghostp8)
| |
| 330 | ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432" | |
| 331 | ghostmesh.Scale = Vector3.new(17.5,17.5,17.5) | |
| 332 | ||
| 333 | eyeoutline=Instance.new("Part",Character)
| |
| 334 | eyeoutline.FormFactor="Custom" | |
| 335 | eyeoutline.Size=Vector3.new(.2,.2,.2) | |
| 336 | eyeoutline.Transparency=0 | |
| 337 | eyeoutline.CanCollide=false | |
| 338 | eyeoutline.BrickColor = BrickColor.new("Really black")
| |
| 339 | eyeoutline.Material="SmoothPlastic" | |
| 340 | eyeoutline.TopSurface="Smooth" | |
| 341 | eyeoutline.BottomSurface="Smooth" | |
| 342 | eyeoutline.RightSurface="Smooth" | |
| 343 | eyeoutline.LeftSurface="Smooth" | |
| 344 | eyeoutlinew=Instance.new("Weld",Character)
| |
| 345 | eyeoutlinew.Part0=Character.Torso | |
| 346 | eyeoutlinew.Part1=eyeoutline | |
| 347 | eyeoutlinew.C0=CFrame.new(-1.5,0,-4.1)*CFrame.Angles(0,math.rad(20),math.rad(0)) | |
| 348 | ||
| 349 | eyemesh = Instance.new("SpecialMesh",eyeoutline)
| |
| 350 | eyemesh.MeshType = "Sphere" | |
| 351 | eyemesh.Scale = Vector3.new(8.5,8.5,2) | |
| 352 | ||
| 353 | eyep=Instance.new("Part",Character)
| |
| 354 | eyep.FormFactor="Custom" | |
| 355 | eyep.Size=Vector3.new(.2,.2,.2) | |
| 356 | eyep.Transparency=0 | |
| 357 | eyep.CanCollide=false | |
| 358 | eyep.BrickColor = BrickColor.new("Deep orange")
| |
| 359 | eyep.Material="Neon" | |
| 360 | eyep.TopSurface="Smooth" | |
| 361 | eyep.BottomSurface="Smooth" | |
| 362 | eyep.RightSurface="Smooth" | |
| 363 | eyep.LeftSurface="Smooth" | |
| 364 | eyepw=Instance.new("Weld",Character)
| |
| 365 | eyepw.Part0=eyeoutline | |
| 366 | eyepw.Part1=eyep | |
| 367 | eyepw.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 368 | ||
| 369 | eyepmesh = Instance.new("SpecialMesh",eyep)
| |
| 370 | eyepmesh.MeshType = "Sphere" | |
| 371 | eyepmesh.Scale = Vector3.new(7.5,7.5,2) | |
| 372 | ||
| 373 | eyeoutline2=Instance.new("Part",Character)
| |
| 374 | eyeoutline2.FormFactor="Custom" | |
| 375 | eyeoutline2.Size=Vector3.new(.2,.2,.2) | |
| 376 | eyeoutline2.Transparency=0 | |
| 377 | eyeoutline2.CanCollide=false | |
| 378 | eyeoutline2.BrickColor = BrickColor.new("Really black")
| |
| 379 | eyeoutline2.Material="SmoothPlastic" | |
| 380 | eyeoutline2.TopSurface="Smooth" | |
| 381 | eyeoutline2.BottomSurface="Smooth" | |
| 382 | eyeoutline2.RightSurface="Smooth" | |
| 383 | eyeoutline2.LeftSurface="Smooth" | |
| 384 | eyeoutline2w=Instance.new("Weld",Character)
| |
| 385 | eyeoutline2w.Part0=Character.Torso | |
| 386 | eyeoutline2w.Part1=eyeoutline2 | |
| 387 | eyeoutline2w.C0=CFrame.new(1.5,0,-4.1)*CFrame.Angles(0,math.rad(-20),math.rad(0)) | |
| 388 | ||
| 389 | eyemesh = Instance.new("SpecialMesh",eyeoutline2)
| |
| 390 | eyemesh.MeshType = "Sphere" | |
| 391 | eyemesh.Scale = Vector3.new(8.5,8.5,2) | |
| 392 | ||
| 393 | eyep2=Instance.new("Part",Character)
| |
| 394 | eyep2.FormFactor="Custom" | |
| 395 | eyep2.Size=Vector3.new(.2,.2,.2) | |
| 396 | eyep2.Transparency=0 | |
| 397 | eyep2.CanCollide=false | |
| 398 | eyep2.BrickColor = BrickColor.new("Deep orange")
| |
| 399 | eyep2.Material="Neon" | |
| 400 | eyep2.TopSurface="Smooth" | |
| 401 | eyep2.BottomSurface="Smooth" | |
| 402 | eyep2.RightSurface="Smooth" | |
| 403 | eyep2.LeftSurface="Smooth" | |
| 404 | eyep2w=Instance.new("Weld",Character)
| |
| 405 | eyep2w.Part0=eyeoutline2 | |
| 406 | eyep2w.Part1=eyep2 | |
| 407 | eyep2w.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 408 | ||
| 409 | eyep2mesh = Instance.new("SpecialMesh",eyep2)
| |
| 410 | eyep2mesh.MeshType = "Sphere" | |
| 411 | eyep2mesh.Scale = Vector3.new(7.5,7.5,2) | |
| 412 | ||
| 413 | local spotlight = Instance.new("SpotLight", eyep)
| |
| 414 | spotlight.Shadows = true | |
| 415 | spotlight.Color = Color3.new(0, 0.666667, 1) | |
| 416 | spotlight.Range = 24 | |
| 417 | spotlight.Angle = 60 | |
| 418 | spotlight.Brightness = 100 | |
| 419 | ||
| 420 | local spotlight2 = Instance.new("SpotLight", eyep2)
| |
| 421 | spotlight2.Shadows = true | |
| 422 | spotlight2.Color = Color3.new(0, 0.666667, 1) | |
| 423 | spotlight2.Range = 24 | |
| 424 | spotlight2.Angle = 60 | |
| 425 | spotlight2.Brightness = 100 | |
| 426 | ||
| 427 | local particleemitter = Instance.new("ParticleEmitter", Torso)
| |
| 428 | particleemitter.VelocitySpread = 180 | |
| 429 | particleemitter.Lifetime = NumberRange.new(1) | |
| 430 | particleemitter.Speed = NumberRange.new(10) | |
| 431 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 432 | particleemitter.RotSpeed = NumberRange.new(-180, 180) | |
| 433 | particleemitter.Rotation = NumberRange.new(-360, 360) | |
| 434 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 435 | particleemitter.LightEmission = 1 | |
| 436 | particleemitter.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 437 | particleemitter.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 438 | ||
| 439 | emitterp=Instance.new("Part",Character)
| |
| 440 | emitterp.FormFactor="Custom" | |
| 441 | emitterp.Size=Vector3.new(5,.2,5) | |
| 442 | emitterp.Transparency=1 | |
| 443 | emitterp.CanCollide=false | |
| 444 | emitterp.BrickColor = BrickColor.new("Deep orange")
| |
| 445 | emitterp.Material="Neon" | |
| 446 | emitterp.TopSurface="Smooth" | |
| 447 | emitterp.BottomSurface="Smooth" | |
| 448 | emitterp.RightSurface="Smooth" | |
| 449 | emitterp.LeftSurface="Smooth" | |
| 450 | emitterpw=Instance.new("Weld",Character)
| |
| 451 | emitterpw.Part0=Character.Torso | |
| 452 | emitterpw.Part1=emitterp | |
| 453 | emitterpw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 454 | ||
| 455 | local emitter = Instance.new("ParticleEmitter", emitterp)
| |
| 456 | emitter.EmissionDirection = "Bottom" | |
| 457 | emitter.VelocitySpread = 30 | |
| 458 | emitter.Lifetime = NumberRange.new(1) | |
| 459 | emitter.Speed = NumberRange.new(10) | |
| 460 | emitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2, 0), NumberSequenceKeypoint.new(1, 2, 0)})
| |
| 461 | emitter.RotSpeed = NumberRange.new(-180, 180) | |
| 462 | emitter.Rate = 1000 | |
| 463 | emitter.Rotation = NumberRange.new(-360, 360) | |
| 464 | emitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 465 | emitter.LightEmission = 1 | |
| 466 | emitter.Texture = "http://www.roblox.com/asset/?id=31727915" | |
| 467 | emitter.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 468 | ||
| 469 | local eyeeffect = Instance.new("ParticleEmitter", eyep)
| |
| 470 | eyeeffect.Lifetime = NumberRange.new(1) | |
| 471 | eyeeffect.Speed = NumberRange.new(0) | |
| 472 | eyeeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
| |
| 473 | eyeeffect.RotSpeed = NumberRange.new(1080) | |
| 474 | eyeeffect.Rate = 25 | |
| 475 | eyeeffect.Rotation = NumberRange.new(-360, 360) | |
| 476 | eyeeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
| |
| 477 | eyeeffect.LightEmission = 0.5 | |
| 478 | eyeeffect.Texture = "http://www.roblox.com/asset/?id=242292288" | |
| 479 | eyeeffect.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 480 | eyeeffect.LockedToPart = true | |
| 481 | eyeeffect.Enabled = false | |
| 482 | ||
| 483 | local eyeeffect2 = Instance.new("ParticleEmitter", eyep2)
| |
| 484 | eyeeffect2.Lifetime = NumberRange.new(1) | |
| 485 | eyeeffect2.Speed = NumberRange.new(0) | |
| 486 | eyeeffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
| |
| 487 | eyeeffect2.RotSpeed = NumberRange.new(1080) | |
| 488 | eyeeffect2.Rate = 25 | |
| 489 | eyeeffect2.Rotation = NumberRange.new(-360, 360) | |
| 490 | eyeeffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
| |
| 491 | eyeeffect2.LightEmission = 0.5 | |
| 492 | eyeeffect2.Texture = "http://www.roblox.com/asset/?id=242292288" | |
| 493 | eyeeffect2.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 494 | eyeeffect2.LockedToPart = true | |
| 495 | eyeeffect2.Enabled = false | |
| 496 | ||
| 497 | for _,v in pairs(Beast:GetChildren()) do | |
| 498 | if v:IsA("Part") then
| |
| 499 | v.Transparency = 0 | |
| 500 | end | |
| 501 | end | |
| 502 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 503 | while Part.Parent~=nil do | |
| 504 | wait(5) | |
| 505 | for i=0,1,0.2 do | |
| 506 | wait() | |
| 507 | spotlight.Angle = 60-60*i | |
| 508 | eyepmesh.Scale = Vector3.new(7.5,7.5-7.4*i,2) | |
| 509 | end | |
| 510 | for i=0,1,0.2 do | |
| 511 | wait() | |
| 512 | spotlight.Angle = 0+60*i | |
| 513 | eyepmesh.Scale = Vector3.new(7.5,0.1+7.4*i,2) | |
| 514 | end | |
| 515 | spotlight.Angle = 60 | |
| 516 | end | |
| 517 | end),eyep,eyepw) | |
| 518 | ||
| 519 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 520 | while Part.Parent~=nil do | |
| 521 | wait(5) | |
| 522 | for i=0,1,0.2 do | |
| 523 | wait() | |
| 524 | spotlight2.Angle = 60-60*i | |
| 525 | eyep2mesh.Scale = Vector3.new(7.5,7.5-7.4*i,2) | |
| 526 | end | |
| 527 | for i=0,1,0.2 do | |
| 528 | wait() | |
| 529 | spotlight2.Angle = 0+60*i | |
| 530 | eyep2mesh.Scale = Vector3.new(7.5,0.1+7.4*i,2) | |
| 531 | end | |
| 532 | spotlight2.Angle = 60 | |
| 533 | end | |
| 534 | end),eyep2,eyep2w) | |
| 535 | ||
| 536 | for _,v in pairs(Beast:GetChildren()) do | |
| 537 | if v:IsA("Part") then
| |
| 538 | v.Transparency = 0 | |
| 539 | end | |
| 540 | end | |
| 541 | -------------------------------------------------------------- | |
| 542 | Arm = Instance.new("Model",Character)
| |
| 543 | Arm.Name = "Arm 1" | |
| 544 | ||
| 545 | arm1p=Instance.new("Part",Character)
| |
| 546 | arm1p.FormFactor="Custom" | |
| 547 | arm1p.Size=Vector3.new(.2,.2,.2) | |
| 548 | arm1p.Transparency = 0 | |
| 549 | arm1p.CanCollide=false | |
| 550 | arm1p.BrickColor = BrickColor.new("Deep orange")
| |
| 551 | arm1p.Material="Neon" | |
| 552 | arm1p.TopSurface="Smooth" | |
| 553 | arm1p.BottomSurface="Smooth" | |
| 554 | arm1p.RightSurface="Smooth" | |
| 555 | arm1p.LeftSurface="Smooth" | |
| 556 | arm1pw=Instance.new("Weld",Character)
| |
| 557 | arm1pw.Part0=Character["Right Arm"] | |
| 558 | arm1pw.Part1=arm1p | |
| 559 | arm1pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90)) | |
| 560 | ||
| 561 | arm1pmesh = Instance.new("SpecialMesh",arm1p)
| |
| 562 | arm1pmesh.MeshType = "Sphere" | |
| 563 | arm1pmesh.Scale = Vector3.new(40,20,40) | |
| 564 | ||
| 565 | local particleemitter2 = Instance.new("ParticleEmitter", arm1p)
| |
| 566 | particleemitter2.VelocitySpread = 180 | |
| 567 | particleemitter2.Lifetime = NumberRange.new(1) | |
| 568 | particleemitter2.Speed = NumberRange.new(10) | |
| 569 | particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 570 | particleemitter2.RotSpeed = NumberRange.new(-180, 180) | |
| 571 | particleemitter2.Rotation = NumberRange.new(-360, 360) | |
| 572 | particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 573 | particleemitter2.LightEmission = 1 | |
| 574 | particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 575 | particleemitter2.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 576 | particleemitter2.Enabled = false | |
| 577 | ||
| 578 | arm1p2=Instance.new("Part",Character)
| |
| 579 | arm1p2.FormFactor="Custom" | |
| 580 | arm1p2.Size=Vector3.new(.2,.2,.2) | |
| 581 | arm1p2.Transparency = 0 | |
| 582 | arm1p2.CanCollide=false | |
| 583 | arm1p2.BrickColor = BrickColor.new("Deep orange")
| |
| 584 | arm1p2.Material="Neon" | |
| 585 | arm1p2.TopSurface="Smooth" | |
| 586 | arm1p2.BottomSurface="Smooth" | |
| 587 | arm1p2.RightSurface="Smooth" | |
| 588 | arm1p2.LeftSurface="Smooth" | |
| 589 | arm1p2w=Instance.new("Weld",Character)
| |
| 590 | arm1p2w.Part0=arm1p | |
| 591 | arm1p2w.Part1=arm1p2 | |
| 592 | arm1p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90)) | |
| 593 | ||
| 594 | arm1p2mesh = Instance.new("SpecialMesh",arm1p2)
| |
| 595 | arm1p2mesh.MeshType = "Cylinder" | |
| 596 | arm1p2mesh.Scale = Vector3.new(30,20,30) | |
| 597 | ||
| 598 | local particleemitter3 = Instance.new("ParticleEmitter", arm1p2)
| |
| 599 | particleemitter3.VelocitySpread = 180 | |
| 600 | particleemitter3.Lifetime = NumberRange.new(1) | |
| 601 | particleemitter3.Speed = NumberRange.new(10) | |
| 602 | particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 603 | particleemitter3.RotSpeed = NumberRange.new(-180, 180) | |
| 604 | particleemitter3.Rotation = NumberRange.new(-360, 360) | |
| 605 | particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 606 | particleemitter3.LightEmission = 1 | |
| 607 | particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 608 | particleemitter3.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 609 | particleemitter3.Enabled = false | |
| 610 | ||
| 611 | arm1p3=Instance.new("Part",Character)
| |
| 612 | arm1p3.FormFactor="Custom" | |
| 613 | arm1p3.Size=Vector3.new(.2,.2,.2) | |
| 614 | arm1p3.Transparency = 0 | |
| 615 | arm1p3.CanCollide=false | |
| 616 | arm1p3.BrickColor = BrickColor.new("Deep orange")
| |
| 617 | arm1p3.Material="Neon" | |
| 618 | arm1p3.TopSurface="Smooth" | |
| 619 | arm1p3.BottomSurface="Smooth" | |
| 620 | arm1p3.RightSurface="Smooth" | |
| 621 | arm1p3.LeftSurface="Smooth" | |
| 622 | arm1p3w=Instance.new("Weld",Character)
| |
| 623 | arm1p3w.Part0=arm1p2 | |
| 624 | arm1p3w.Part1=arm1p3 | |
| 625 | arm1p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 626 | ||
| 627 | arm1p3mesh = Instance.new("SpecialMesh",arm1p3)
| |
| 628 | arm1p3mesh.MeshType = "Sphere" | |
| 629 | arm1p3mesh.Scale = Vector3.new(22.5,22.5,22.5) | |
| 630 | ||
| 631 | local particleemitter4 = Instance.new("ParticleEmitter", arm1p3)
| |
| 632 | particleemitter4.VelocitySpread = 180 | |
| 633 | particleemitter4.Lifetime = NumberRange.new(1) | |
| 634 | particleemitter4.Speed = NumberRange.new(10) | |
| 635 | particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 636 | particleemitter4.RotSpeed = NumberRange.new(-180, 180) | |
| 637 | particleemitter4.Rotation = NumberRange.new(-360, 360) | |
| 638 | particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 639 | particleemitter4.LightEmission = 1 | |
| 640 | particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 641 | particleemitter4.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 642 | particleemitter4.Enabled = false | |
| 643 | ||
| 644 | arm1p4=Instance.new("Part",Character)
| |
| 645 | arm1p4.FormFactor="Custom" | |
| 646 | arm1p4.Size=Vector3.new(.2,.2,.2) | |
| 647 | arm1p4.Transparency = 0 | |
| 648 | arm1p4.CanCollide=false | |
| 649 | arm1p4.BrickColor = BrickColor.new("Deep orange")
| |
| 650 | arm1p4.Material="Neon" | |
| 651 | arm1p4.TopSurface="Smooth" | |
| 652 | arm1p4.BottomSurface="Smooth" | |
| 653 | arm1p4.RightSurface="Smooth" | |
| 654 | arm1p4.LeftSurface="Smooth" | |
| 655 | arm1p4w=Instance.new("Weld",Character)
| |
| 656 | arm1p4w.Part0=arm1p3 | |
| 657 | arm1p4w.Part1=arm1p4 | |
| 658 | arm1p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45)) | |
| 659 | ||
| 660 | arm1p4mesh = Instance.new("SpecialMesh",arm1p4)
| |
| 661 | arm1p4mesh.MeshType = "Cylinder" | |
| 662 | arm1p4mesh.Scale = Vector3.new(30,20,30) | |
| 663 | ||
| 664 | local particleemitter5 = Instance.new("ParticleEmitter", arm1p4)
| |
| 665 | particleemitter5.VelocitySpread = 180 | |
| 666 | particleemitter5.Lifetime = NumberRange.new(1) | |
| 667 | particleemitter5.Speed = NumberRange.new(10) | |
| 668 | particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 669 | particleemitter5.RotSpeed = NumberRange.new(-180, 180) | |
| 670 | particleemitter5.Rotation = NumberRange.new(-360, 360) | |
| 671 | particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 672 | particleemitter5.LightEmission = 1 | |
| 673 | particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 674 | particleemitter5.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 675 | particleemitter5.Enabled = false | |
| 676 | ||
| 677 | arm1p5=Instance.new("Part",Character)
| |
| 678 | arm1p5.FormFactor="Custom" | |
| 679 | arm1p5.Size=Vector3.new(.2,.2,.2) | |
| 680 | arm1p5.Transparency = 0 | |
| 681 | arm1p5.CanCollide=false | |
| 682 | arm1p5.BrickColor = BrickColor.new("Deep orange")
| |
| 683 | arm1p5.Material="Neon" | |
| 684 | arm1p5.TopSurface="Smooth" | |
| 685 | arm1p5.BottomSurface="Smooth" | |
| 686 | arm1p5.RightSurface="Smooth" | |
| 687 | arm1p5.LeftSurface="Smooth" | |
| 688 | arm1p5w=Instance.new("Weld",Character)
| |
| 689 | arm1p5w.Part0=arm1p4 | |
| 690 | arm1p5w.Part1=arm1p5 | |
| 691 | arm1p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 692 | ||
| 693 | arm1p5mesh = Instance.new("SpecialMesh",arm1p5)
| |
| 694 | arm1p5mesh.MeshType = "Sphere" | |
| 695 | arm1p5mesh.Scale = Vector3.new(30,30,30) | |
| 696 | ||
| 697 | local particleemitter6 = Instance.new("ParticleEmitter", arm1p5)
| |
| 698 | particleemitter6.VelocitySpread = 180 | |
| 699 | particleemitter6.Lifetime = NumberRange.new(1) | |
| 700 | particleemitter6.Speed = NumberRange.new(10) | |
| 701 | particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 702 | particleemitter6.RotSpeed = NumberRange.new(-180, 180) | |
| 703 | particleemitter6.Rotation = NumberRange.new(-360, 360) | |
| 704 | particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 705 | particleemitter6.LightEmission = 1 | |
| 706 | particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 707 | particleemitter6.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 708 | particleemitter6.Enabled = false | |
| 709 | ||
| 710 | arm1p6=Instance.new("Part",Character)
| |
| 711 | arm1p6.FormFactor="Custom" | |
| 712 | arm1p6.Size=Vector3.new(.2,.2,.2) | |
| 713 | arm1p6.Transparency = 0 | |
| 714 | arm1p6.CanCollide=false | |
| 715 | arm1p6.BrickColor = BrickColor.new("Deep orange")
| |
| 716 | arm1p6.Material="Neon" | |
| 717 | arm1p6.TopSurface="Smooth" | |
| 718 | arm1p6.BottomSurface="Smooth" | |
| 719 | arm1p6.RightSurface="Smooth" | |
| 720 | arm1p6.LeftSurface="Smooth" | |
| 721 | arm1p6w=Instance.new("Weld",Character)
| |
| 722 | arm1p6w.Part0=arm1p5 | |
| 723 | arm1p6w.Part1=arm1p6 | |
| 724 | arm1p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 725 | ||
| 726 | arm1p6mesh = Instance.new("FileMesh",arm1p6)
| |
| 727 | arm1p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
| 728 | arm1p6mesh.Scale = Vector3.new(3.15,3.15,3.15) | |
| 729 | ||
| 730 | arm1p7=Instance.new("Part",Character)
| |
| 731 | arm1p7.FormFactor="Custom" | |
| 732 | arm1p7.Size=Vector3.new(.2,.2,.2) | |
| 733 | arm1p7.Transparency = 0 | |
| 734 | arm1p7.CanCollide=false | |
| 735 | arm1p7.BrickColor = BrickColor.new("Deep orange")
| |
| 736 | arm1p7.Material="Neon" | |
| 737 | arm1p7.TopSurface="Smooth" | |
| 738 | arm1p7.BottomSurface="Smooth" | |
| 739 | arm1p7.RightSurface="Smooth" | |
| 740 | arm1p7.LeftSurface="Smooth" | |
| 741 | arm1p7w=Instance.new("Weld",Character)
| |
| 742 | arm1p7w.Part0=arm1p | |
| 743 | arm1p7w.Part1=arm1p7 | |
| 744 | arm1p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 745 | ||
| 746 | arm1p7mesh = Instance.new("FileMesh",arm1p7)
| |
| 747 | arm1p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
| 748 | arm1p7mesh.Scale = Vector3.new(5,10,5) | |
| 749 | ||
| 750 | arm1hitbox=Instance.new("Part",Character)
| |
| 751 | arm1hitbox.FormFactor="Custom" | |
| 752 | arm1hitbox.Size=Vector3.new(5,5,5) | |
| 753 | arm1hitbox.Transparency = 0 | |
| 754 | arm1hitbox.CanCollide=false | |
| 755 | arm1hitbox.BrickColor = BrickColor.new("Deep orange")
| |
| 756 | arm1hitbox.Material="Neon" | |
| 757 | arm1hitbox.TopSurface="Smooth" | |
| 758 | arm1hitbox.BottomSurface="Smooth" | |
| 759 | arm1hitbox.RightSurface="Smooth" | |
| 760 | arm1hitbox.LeftSurface="Smooth" | |
| 761 | arm1hitboxw=Instance.new("Weld",Character)
| |
| 762 | arm1hitboxw.Part0=arm1p6 | |
| 763 | arm1hitboxw.Part1=arm1hitbox | |
| 764 | arm1hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 765 | -------------------------------------------------------------- | |
| 766 | Arm2 = Instance.new("Model",Character)
| |
| 767 | Arm2.Name = "Arm 2" | |
| 768 | ||
| 769 | arm2p=Instance.new("Part",Character)
| |
| 770 | arm2p.FormFactor="Custom" | |
| 771 | arm2p.Size=Vector3.new(.2,.2,.2) | |
| 772 | arm2p.Transparency = 0 | |
| 773 | arm2p.CanCollide=false | |
| 774 | arm2p.BrickColor = BrickColor.new("Deep orange")
| |
| 775 | arm2p.Material="Neon" | |
| 776 | arm2p.TopSurface="Smooth" | |
| 777 | arm2p.BottomSurface="Smooth" | |
| 778 | arm2p.RightSurface="Smooth" | |
| 779 | arm2p.LeftSurface="Smooth" | |
| 780 | arm2pw=Instance.new("Weld",Character)
| |
| 781 | arm2pw.Part0=Character["Left Arm"] | |
| 782 | arm2pw.Part1=arm2p | |
| 783 | arm2pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90)) | |
| 784 | ||
| 785 | arm2pmesh = Instance.new("SpecialMesh",arm2p)
| |
| 786 | arm2pmesh.MeshType = "Sphere" | |
| 787 | arm2pmesh.Scale = Vector3.new(40,20,40) | |
| 788 | ||
| 789 | local particleemitter7 = Instance.new("ParticleEmitter", arm2p)
| |
| 790 | particleemitter7.VelocitySpread = 180 | |
| 791 | particleemitter7.Lifetime = NumberRange.new(1) | |
| 792 | particleemitter7.Speed = NumberRange.new(10) | |
| 793 | particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 794 | particleemitter7.RotSpeed = NumberRange.new(-180, 180) | |
| 795 | particleemitter7.Rotation = NumberRange.new(-360, 360) | |
| 796 | particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 797 | particleemitter7.LightEmission = 1 | |
| 798 | particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 799 | particleemitter7.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 800 | particleemitter7.Enabled = false | |
| 801 | ||
| 802 | arm2p2=Instance.new("Part",Character)
| |
| 803 | arm2p2.FormFactor="Custom" | |
| 804 | arm2p2.Size=Vector3.new(.2,.2,.2) | |
| 805 | arm2p2.Transparency = 0 | |
| 806 | arm2p2.CanCollide=false | |
| 807 | arm2p2.BrickColor = BrickColor.new("Deep orange")
| |
| 808 | arm2p2.Material="Neon" | |
| 809 | arm2p2.TopSurface="Smooth" | |
| 810 | arm2p2.BottomSurface="Smooth" | |
| 811 | arm2p2.RightSurface="Smooth" | |
| 812 | arm2p2.LeftSurface="Smooth" | |
| 813 | arm2p2w=Instance.new("Weld",Character)
| |
| 814 | arm2p2w.Part0=arm2p | |
| 815 | arm2p2w.Part1=arm2p2 | |
| 816 | arm2p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90)) | |
| 817 | ||
| 818 | arm2p2mesh = Instance.new("SpecialMesh",arm2p2)
| |
| 819 | arm2p2mesh.MeshType = "Cylinder" | |
| 820 | arm2p2mesh.Scale = Vector3.new(30,20,30) | |
| 821 | ||
| 822 | local particleemitter8 = Instance.new("ParticleEmitter", arm2p2)
| |
| 823 | particleemitter8.VelocitySpread = 180 | |
| 824 | particleemitter8.Lifetime = NumberRange.new(1) | |
| 825 | particleemitter8.Speed = NumberRange.new(10) | |
| 826 | particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 827 | particleemitter8.RotSpeed = NumberRange.new(-180, 180) | |
| 828 | particleemitter8.Rotation = NumberRange.new(-360, 360) | |
| 829 | particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 830 | particleemitter8.LightEmission = 1 | |
| 831 | particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 832 | particleemitter8.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 833 | particleemitter8.Enabled = false | |
| 834 | ||
| 835 | arm2p3=Instance.new("Part",Character)
| |
| 836 | arm2p3.FormFactor="Custom" | |
| 837 | arm2p3.Size=Vector3.new(.2,.2,.2) | |
| 838 | arm2p3.Transparency = 0 | |
| 839 | arm2p3.CanCollide=false | |
| 840 | arm2p3.BrickColor = BrickColor.new("Deep orange")
| |
| 841 | arm2p3.Material="Neon" | |
| 842 | arm2p3.TopSurface="Smooth" | |
| 843 | arm2p3.BottomSurface="Smooth" | |
| 844 | arm2p3.RightSurface="Smooth" | |
| 845 | arm2p3.LeftSurface="Smooth" | |
| 846 | arm2p3w=Instance.new("Weld",Character)
| |
| 847 | arm2p3w.Part0=arm2p2 | |
| 848 | arm2p3w.Part1=arm2p3 | |
| 849 | arm2p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 850 | ||
| 851 | arm2p3mesh = Instance.new("SpecialMesh",arm2p3)
| |
| 852 | arm2p3mesh.MeshType = "Sphere" | |
| 853 | arm2p3mesh.Scale = Vector3.new(22.5,22.5,22.5) | |
| 854 | ||
| 855 | local particleemitter9 = Instance.new("ParticleEmitter", arm2p3)
| |
| 856 | particleemitter9.VelocitySpread = 180 | |
| 857 | particleemitter9.Lifetime = NumberRange.new(1) | |
| 858 | particleemitter9.Speed = NumberRange.new(10) | |
| 859 | particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 860 | particleemitter9.RotSpeed = NumberRange.new(-180, 180) | |
| 861 | particleemitter9.Rotation = NumberRange.new(-360, 360) | |
| 862 | particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 863 | particleemitter9.LightEmission = 1 | |
| 864 | particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 865 | particleemitter9.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 866 | particleemitter9.Enabled = false | |
| 867 | ||
| 868 | arm2p4=Instance.new("Part",Character)
| |
| 869 | arm2p4.FormFactor="Custom" | |
| 870 | arm2p4.Size=Vector3.new(.2,.2,.2) | |
| 871 | arm2p4.Transparency = 0 | |
| 872 | arm2p4.CanCollide=false | |
| 873 | arm2p4.BrickColor = BrickColor.new("Deep orange")
| |
| 874 | arm2p4.Material="Neon" | |
| 875 | arm2p4.TopSurface="Smooth" | |
| 876 | arm2p4.BottomSurface="Smooth" | |
| 877 | arm2p4.RightSurface="Smooth" | |
| 878 | arm2p4.LeftSurface="Smooth" | |
| 879 | arm2p4w=Instance.new("Weld",Character)
| |
| 880 | arm2p4w.Part0=arm2p3 | |
| 881 | arm2p4w.Part1=arm2p4 | |
| 882 | arm2p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45)) | |
| 883 | ||
| 884 | arm2p4mesh = Instance.new("SpecialMesh",arm2p4)
| |
| 885 | arm2p4mesh.MeshType = "Cylinder" | |
| 886 | arm2p4mesh.Scale = Vector3.new(30,20,30) | |
| 887 | ||
| 888 | local particleemitter10 = Instance.new("ParticleEmitter", arm2p4)
| |
| 889 | particleemitter10.VelocitySpread = 180 | |
| 890 | particleemitter10.Lifetime = NumberRange.new(1) | |
| 891 | particleemitter10.Speed = NumberRange.new(10) | |
| 892 | particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 893 | particleemitter10.RotSpeed = NumberRange.new(-180, 180) | |
| 894 | particleemitter10.Rotation = NumberRange.new(-360, 360) | |
| 895 | particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 896 | particleemitter10.LightEmission = 1 | |
| 897 | particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 898 | particleemitter10.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 899 | particleemitter10.Enabled = false | |
| 900 | ||
| 901 | arm2p5=Instance.new("Part",Character)
| |
| 902 | arm2p5.FormFactor="Custom" | |
| 903 | arm2p5.Size=Vector3.new(.2,.2,.2) | |
| 904 | arm2p5.Transparency = 0 | |
| 905 | arm2p5.CanCollide=false | |
| 906 | arm2p5.BrickColor = BrickColor.new("Deep orange")
| |
| 907 | arm2p5.Material="Neon" | |
| 908 | arm2p5.TopSurface="Smooth" | |
| 909 | arm2p5.BottomSurface="Smooth" | |
| 910 | arm2p5.RightSurface="Smooth" | |
| 911 | arm2p5.LeftSurface="Smooth" | |
| 912 | arm2p5w=Instance.new("Weld",Character)
| |
| 913 | arm2p5w.Part0=arm2p4 | |
| 914 | arm2p5w.Part1=arm2p5 | |
| 915 | arm2p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 916 | ||
| 917 | arm2p5mesh = Instance.new("SpecialMesh",arm2p5)
| |
| 918 | arm2p5mesh.MeshType = "Sphere" | |
| 919 | arm2p5mesh.Scale = Vector3.new(30,30,30) | |
| 920 | ||
| 921 | local particleemitter11 = Instance.new("ParticleEmitter", arm2p5)
| |
| 922 | particleemitter11.VelocitySpread = 180 | |
| 923 | particleemitter11.Lifetime = NumberRange.new(1) | |
| 924 | particleemitter11.Speed = NumberRange.new(10) | |
| 925 | particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 926 | particleemitter11.RotSpeed = NumberRange.new(-180, 180) | |
| 927 | particleemitter11.Rotation = NumberRange.new(-360, 360) | |
| 928 | particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 929 | particleemitter11.LightEmission = 1 | |
| 930 | particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 931 | particleemitter11.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 932 | particleemitter11.Enabled = false | |
| 933 | ||
| 934 | arm2p6=Instance.new("Part",Character)
| |
| 935 | arm2p6.FormFactor="Custom" | |
| 936 | arm2p6.Size=Vector3.new(.2,.2,.2) | |
| 937 | arm2p6.Transparency = 0 | |
| 938 | arm2p6.CanCollide=false | |
| 939 | arm2p6.BrickColor = BrickColor.new("Deep orange")
| |
| 940 | arm2p6.Material="Neon" | |
| 941 | arm2p6.TopSurface="Smooth" | |
| 942 | arm2p6.BottomSurface="Smooth" | |
| 943 | arm2p6.RightSurface="Smooth" | |
| 944 | arm2p6.LeftSurface="Smooth" | |
| 945 | arm2p6w=Instance.new("Weld",Character)
| |
| 946 | arm2p6w.Part0=arm2p5 | |
| 947 | arm2p6w.Part1=arm2p6 | |
| 948 | arm2p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90)) | |
| 949 | ||
| 950 | arm2p6mesh = Instance.new("FileMesh",arm2p6)
| |
| 951 | arm2p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
| 952 | arm2p6mesh.Scale = Vector3.new(3.15,3.15,3.15) | |
| 953 | ||
| 954 | arm2p7=Instance.new("Part",Character)
| |
| 955 | arm2p7.FormFactor="Custom" | |
| 956 | arm2p7.Size=Vector3.new(.2,.2,.2) | |
| 957 | arm2p7.Transparency = 0 | |
| 958 | arm2p7.CanCollide=false | |
| 959 | arm2p7.BrickColor = BrickColor.new("Deep orange")
| |
| 960 | arm2p7.Material="Neon" | |
| 961 | arm2p7.TopSurface="Smooth" | |
| 962 | arm2p7.BottomSurface="Smooth" | |
| 963 | arm2p7.RightSurface="Smooth" | |
| 964 | arm2p7.LeftSurface="Smooth" | |
| 965 | arm2p7w=Instance.new("Weld",Character)
| |
| 966 | arm2p7w.Part0=arm2p | |
| 967 | arm2p7w.Part1=arm2p7 | |
| 968 | arm2p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 969 | ||
| 970 | arm2p7mesh = Instance.new("FileMesh",arm2p7)
| |
| 971 | arm2p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
| 972 | arm2p7mesh.Scale = Vector3.new(5,10,5) | |
| 973 | ||
| 974 | arm2hitbox=Instance.new("Part",Character)
| |
| 975 | arm2hitbox.FormFactor="Custom" | |
| 976 | arm2hitbox.Size=Vector3.new(5,5,5) | |
| 977 | arm2hitbox.Transparency = 0 | |
| 978 | arm2hitbox.CanCollide=false | |
| 979 | arm2hitbox.BrickColor = BrickColor.new("Deep orange")
| |
| 980 | arm2hitbox.Material="Neon" | |
| 981 | arm2hitbox.TopSurface="Smooth" | |
| 982 | arm2hitbox.BottomSurface="Smooth" | |
| 983 | arm2hitbox.RightSurface="Smooth" | |
| 984 | arm2hitbox.LeftSurface="Smooth" | |
| 985 | arm2hitboxw=Instance.new("Weld",Character)
| |
| 986 | arm2hitboxw.Part0=arm2p6 | |
| 987 | arm2hitboxw.Part1=arm2hitbox | |
| 988 | arm2hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 989 | -------------------------------------------------------------- | |
| 990 | arm3 = Instance.new("Model",Character)
| |
| 991 | arm3.Name = "Arm 3" | |
| 992 | ||
| 993 | arm3p=Instance.new("Part",Character)
| |
| 994 | arm3p.FormFactor="Custom" | |
| 995 | arm3p.Size=Vector3.new(.2,.2,.2) | |
| 996 | arm3p.Transparency=0 | |
| 997 | arm3p.CanCollide=false | |
| 998 | arm3p.BrickColor = BrickColor.new("Really black")
| |
| 999 | arm3p.Material="Neon" | |
| 1000 | arm3p.TopSurface="Smooth" | |
| 1001 | arm3p.BottomSurface="Smooth" | |
| 1002 | arm3p.RightSurface="Smooth" | |
| 1003 | arm3p.LeftSurface="Smooth" | |
| 1004 | arm3pw=Instance.new("Weld",Character)
| |
| 1005 | arm3pw.Part0=Character["Left Arm"] | |
| 1006 | arm3pw.Part1=arm3p | |
| 1007 | arm3pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90)) | |
| 1008 | ||
| 1009 | arm3pmesh = Instance.new("SpecialMesh",arm3p)
| |
| 1010 | arm3pmesh.MeshType = "Sphere" | |
| 1011 | arm3pmesh.Scale = Vector3.new(40,20,40) | |
| 1012 | ||
| 1013 | local particleemitter7 = Instance.new("ParticleEmitter", arm3p)
| |
| 1014 | particleemitter7.VelocitySpread = 180 | |
| 1015 | particleemitter7.Lifetime = NumberRange.new(1) | |
| 1016 | particleemitter7.Speed = NumberRange.new(10) | |
| 1017 | particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 1018 | particleemitter7.RotSpeed = NumberRange.new(-180, 180) | |
| 1019 | particleemitter7.Rotation = NumberRange.new(-360, 360) | |
| 1020 | particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1021 | particleemitter7.LightEmission = 1 | |
| 1022 | particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 1023 | particleemitter7.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 1024 | particleemitter7.Enabled = false | |
| 1025 | ||
| 1026 | arm3p2=Instance.new("Part",Character)
| |
| 1027 | arm3p2.FormFactor="Custom" | |
| 1028 | arm3p2.Size=Vector3.new(.2,.2,.2) | |
| 1029 | arm3p2.Transparency=0 | |
| 1030 | arm3p2.CanCollide=false | |
| 1031 | arm3p2.BrickColor = BrickColor.new("Really black")
| |
| 1032 | arm3p2.Material="Neon" | |
| 1033 | arm3p2.TopSurface="Smooth" | |
| 1034 | arm3p2.BottomSurface="Smooth" | |
| 1035 | arm3p2.RightSurface="Smooth" | |
| 1036 | arm3p2.LeftSurface="Smooth" | |
| 1037 | arm3p2w=Instance.new("Weld",Character)
| |
| 1038 | arm3p2w.Part0=arm3p | |
| 1039 | arm3p2w.Part1=arm3p2 | |
| 1040 | arm3p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90)) | |
| 1041 | ||
| 1042 | arm3p2mesh = Instance.new("SpecialMesh",arm3p2)
| |
| 1043 | arm3p2mesh.MeshType = "Cylinder" | |
| 1044 | arm3p2mesh.Scale = Vector3.new(30,20,30) | |
| 1045 | ||
| 1046 | local particleemitter8 = Instance.new("ParticleEmitter", arm3p2)
| |
| 1047 | particleemitter8.VelocitySpread = 180 | |
| 1048 | particleemitter8.Lifetime = NumberRange.new(1) | |
| 1049 | particleemitter8.Speed = NumberRange.new(10) | |
| 1050 | particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 1051 | particleemitter8.RotSpeed = NumberRange.new(-180, 180) | |
| 1052 | particleemitter8.Rotation = NumberRange.new(-360, 360) | |
| 1053 | particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1054 | particleemitter8.LightEmission = 1 | |
| 1055 | particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 1056 | particleemitter8.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 1057 | particleemitter8.Enabled = false | |
| 1058 | ||
| 1059 | arm3p3=Instance.new("Part",Character)
| |
| 1060 | arm3p3.FormFactor="Custom" | |
| 1061 | arm3p3.Size=Vector3.new(.2,.2,.2) | |
| 1062 | arm3p3.Transparency=0 | |
| 1063 | arm3p3.CanCollide=false | |
| 1064 | arm3p3.BrickColor = BrickColor.new("Really black")
| |
| 1065 | arm3p3.Material="Neon" | |
| 1066 | arm3p3.TopSurface="Smooth" | |
| 1067 | arm3p3.BottomSurface="Smooth" | |
| 1068 | arm3p3.RightSurface="Smooth" | |
| 1069 | arm3p3.LeftSurface="Smooth" | |
| 1070 | arm3p3w=Instance.new("Weld",Character)
| |
| 1071 | arm3p3w.Part0=arm3p2 | |
| 1072 | arm3p3w.Part1=arm3p3 | |
| 1073 | arm3p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 1074 | ||
| 1075 | arm3p3mesh = Instance.new("SpecialMesh",arm3p3)
| |
| 1076 | arm3p3mesh.MeshType = "Sphere" | |
| 1077 | arm3p3mesh.Scale = Vector3.new(22.5,22.5,22.5) | |
| 1078 | ||
| 1079 | local particleemitter9 = Instance.new("ParticleEmitter", arm3p3)
| |
| 1080 | particleemitter9.VelocitySpread = 180 | |
| 1081 | particleemitter9.Lifetime = NumberRange.new(1) | |
| 1082 | particleemitter9.Speed = NumberRange.new(10) | |
| 1083 | particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 1084 | particleemitter9.RotSpeed = NumberRange.new(-180, 180) | |
| 1085 | particleemitter9.Rotation = NumberRange.new(-360, 360) | |
| 1086 | particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1087 | particleemitter9.LightEmission = 1 | |
| 1088 | particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 1089 | particleemitter9.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 1090 | particleemitter9.Enabled = false | |
| 1091 | ||
| 1092 | arm3p4=Instance.new("Part",Character)
| |
| 1093 | arm3p4.FormFactor="Custom" | |
| 1094 | arm3p4.Size=Vector3.new(.2,.2,.2) | |
| 1095 | arm3p4.Transparency=0 | |
| 1096 | arm3p4.CanCollide=false | |
| 1097 | arm3p4.BrickColor = BrickColor.new("Really black")
| |
| 1098 | arm3p4.Material="Neon" | |
| 1099 | arm3p4.TopSurface="Smooth" | |
| 1100 | arm3p4.BottomSurface="Smooth" | |
| 1101 | arm3p4.RightSurface="Smooth" | |
| 1102 | arm3p4.LeftSurface="Smooth" | |
| 1103 | arm3p4w=Instance.new("Weld",Character)
| |
| 1104 | arm3p4w.Part0=arm3p3 | |
| 1105 | arm3p4w.Part1=arm3p4 | |
| 1106 | arm3p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45)) | |
| 1107 | ||
| 1108 | arm3p4mesh = Instance.new("SpecialMesh",arm3p4)
| |
| 1109 | arm3p4mesh.MeshType = "Cylinder" | |
| 1110 | arm3p4mesh.Scale = Vector3.new(30,20,30) | |
| 1111 | ||
| 1112 | local particleemitter10 = Instance.new("ParticleEmitter", arm3p4)
| |
| 1113 | particleemitter10.VelocitySpread = 180 | |
| 1114 | particleemitter10.Lifetime = NumberRange.new(1) | |
| 1115 | particleemitter10.Speed = NumberRange.new(10) | |
| 1116 | particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 1117 | particleemitter10.RotSpeed = NumberRange.new(-180, 180) | |
| 1118 | particleemitter10.Rotation = NumberRange.new(-360, 360) | |
| 1119 | particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1120 | particleemitter10.LightEmission = 1 | |
| 1121 | particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 1122 | particleemitter10.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 1123 | particleemitter10.Enabled = false | |
| 1124 | ||
| 1125 | arm3p5=Instance.new("Part",Character)
| |
| 1126 | arm3p5.FormFactor="Custom" | |
| 1127 | arm3p5.Size=Vector3.new(.2,.2,.2) | |
| 1128 | arm3p5.Transparency=0 | |
| 1129 | arm3p5.CanCollide=false | |
| 1130 | arm3p5.BrickColor = BrickColor.new("Really black")
| |
| 1131 | arm3p5.Material="Neon" | |
| 1132 | arm3p5.TopSurface="Smooth" | |
| 1133 | arm3p5.BottomSurface="Smooth" | |
| 1134 | arm3p5.RightSurface="Smooth" | |
| 1135 | arm3p5.LeftSurface="Smooth" | |
| 1136 | arm3p5w=Instance.new("Weld",Character)
| |
| 1137 | arm3p5w.Part0=arm3p4 | |
| 1138 | arm3p5w.Part1=arm3p5 | |
| 1139 | arm3p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 1140 | ||
| 1141 | arm3p5mesh = Instance.new("SpecialMesh",arm3p5)
| |
| 1142 | arm3p5mesh.MeshType = "Sphere" | |
| 1143 | arm3p5mesh.Scale = Vector3.new(30,30,30) | |
| 1144 | ||
| 1145 | local particleemitter11 = Instance.new("ParticleEmitter", arm3p5)
| |
| 1146 | particleemitter11.VelocitySpread = 180 | |
| 1147 | particleemitter11.Lifetime = NumberRange.new(1) | |
| 1148 | particleemitter11.Speed = NumberRange.new(10) | |
| 1149 | particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 1150 | particleemitter11.RotSpeed = NumberRange.new(-180, 180) | |
| 1151 | particleemitter11.Rotation = NumberRange.new(-360, 360) | |
| 1152 | particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1153 | particleemitter11.LightEmission = 1 | |
| 1154 | particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 1155 | particleemitter11.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 1156 | particleemitter11.Enabled = false | |
| 1157 | ||
| 1158 | arm3p6=Instance.new("Part",Character)
| |
| 1159 | arm3p6.FormFactor="Custom" | |
| 1160 | arm3p6.Size=Vector3.new(.2,.2,.2) | |
| 1161 | arm3p6.Transparency=0 | |
| 1162 | arm3p6.CanCollide=false | |
| 1163 | arm3p6.BrickColor = BrickColor.new("Really black")
| |
| 1164 | arm3p6.Material="Neon" | |
| 1165 | arm3p6.TopSurface="Smooth" | |
| 1166 | arm3p6.BottomSurface="Smooth" | |
| 1167 | arm3p6.RightSurface="Smooth" | |
| 1168 | arm3p6.LeftSurface="Smooth" | |
| 1169 | arm3p6w=Instance.new("Weld",Character)
| |
| 1170 | arm3p6w.Part0=arm3p5 | |
| 1171 | arm3p6w.Part1=arm3p6 | |
| 1172 | arm3p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90)) | |
| 1173 | ||
| 1174 | arm3p6mesh = Instance.new("FileMesh",arm3p6)
| |
| 1175 | arm3p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
| 1176 | arm3p6mesh.Scale = Vector3.new(3.15,3.15,3.15) | |
| 1177 | ||
| 1178 | arm3p7=Instance.new("Part",Character)
| |
| 1179 | arm3p7.FormFactor="Custom" | |
| 1180 | arm3p7.Size=Vector3.new(.2,.2,.2) | |
| 1181 | arm3p7.Transparency=0 | |
| 1182 | arm3p7.CanCollide=false | |
| 1183 | arm3p7.BrickColor = BrickColor.new("Really black")
| |
| 1184 | arm3p7.Material="Neon" | |
| 1185 | arm3p7.TopSurface="Smooth" | |
| 1186 | arm3p7.BottomSurface="Smooth" | |
| 1187 | arm3p7.RightSurface="Smooth" | |
| 1188 | arm3p7.LeftSurface="Smooth" | |
| 1189 | arm3p7w=Instance.new("Weld",Character)
| |
| 1190 | arm3p7w.Part0=arm3p | |
| 1191 | arm3p7w.Part1=arm3p7 | |
| 1192 | arm3p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 1193 | ||
| 1194 | arm3p7mesh = Instance.new("FileMesh",arm3p7)
| |
| 1195 | arm3p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
| 1196 | arm3p7mesh.Scale = Vector3.new(5,10,5) | |
| 1197 | ||
| 1198 | arm3hitbox=Instance.new("Part",Character)
| |
| 1199 | arm3hitbox.FormFactor="Custom" | |
| 1200 | arm3hitbox.Size=Vector3.new(5,5,5) | |
| 1201 | arm3hitbox.Transparency=0 | |
| 1202 | arm3hitbox.CanCollide=false | |
| 1203 | arm3hitbox.BrickColor = BrickColor.new("Really black")
| |
| 1204 | arm3hitbox.Material="Neon" | |
| 1205 | arm3hitbox.TopSurface="Smooth" | |
| 1206 | arm3hitbox.BottomSurface="Smooth" | |
| 1207 | arm3hitbox.RightSurface="Smooth" | |
| 1208 | arm3hitbox.LeftSurface="Smooth" | |
| 1209 | arm3hitboxw=Instance.new("Weld",Character)
| |
| 1210 | arm3hitboxw.Part0=arm3p6 | |
| 1211 | arm3hitboxw.Part1=arm3hitbox | |
| 1212 | arm3hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 1213 | -------------------------------------------------------------- | |
| 1214 | Arm = Instance.new("Model",Character)
| |
| 1215 | Arm.Name = "Arm 1" | |
| 1216 | ||
| 1217 | arm4p=Instance.new("Part",Character)
| |
| 1218 | arm4p.FormFactor="Custom" | |
| 1219 | arm4p.Size=Vector3.new(.2,.2,.2) | |
| 1220 | arm4p.Transparency=0 | |
| 1221 | arm4p.CanCollide=false | |
| 1222 | arm4p.BrickColor = BrickColor.new("Really black")
| |
| 1223 | arm4p.Material="Neon" | |
| 1224 | arm4p.TopSurface="Smooth" | |
| 1225 | arm4p.BottomSurface="Smooth" | |
| 1226 | arm4p.RightSurface="Smooth" | |
| 1227 | arm4p.LeftSurface="Smooth" | |
| 1228 | arm4pw=Instance.new("Weld",Character)
| |
| 1229 | arm4pw.Part0=Character["Right Arm"] | |
| 1230 | arm4pw.Part1=arm4p | |
| 1231 | arm4pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90)) | |
| 1232 | ||
| 1233 | arm4pmesh = Instance.new("SpecialMesh",arm4p)
| |
| 1234 | arm4pmesh.MeshType = "Sphere" | |
| 1235 | arm4pmesh.Scale = Vector3.new(40,20,40) | |
| 1236 | ||
| 1237 | local particleemitter2 = Instance.new("ParticleEmitter", arm4p)
| |
| 1238 | particleemitter2.VelocitySpread = 180 | |
| 1239 | particleemitter2.Lifetime = NumberRange.new(1) | |
| 1240 | particleemitter2.Speed = NumberRange.new(10) | |
| 1241 | particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 1242 | particleemitter2.RotSpeed = NumberRange.new(-180, 180) | |
| 1243 | particleemitter2.Rotation = NumberRange.new(-360, 360) | |
| 1244 | particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1245 | particleemitter2.LightEmission = 1 | |
| 1246 | particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 1247 | particleemitter2.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 1248 | particleemitter2.Enabled = false | |
| 1249 | ||
| 1250 | arm4p2=Instance.new("Part",Character)
| |
| 1251 | arm4p2.FormFactor="Custom" | |
| 1252 | arm4p2.Size=Vector3.new(.2,.2,.2) | |
| 1253 | arm4p2.Transparency=0 | |
| 1254 | arm4p2.CanCollide=false | |
| 1255 | arm4p2.BrickColor = BrickColor.new("Really black")
| |
| 1256 | arm4p2.Material="Neon" | |
| 1257 | arm4p2.TopSurface="Smooth" | |
| 1258 | arm4p2.BottomSurface="Smooth" | |
| 1259 | arm4p2.RightSurface="Smooth" | |
| 1260 | arm4p2.LeftSurface="Smooth" | |
| 1261 | arm4p2w=Instance.new("Weld",Character)
| |
| 1262 | arm4p2w.Part0=arm4p | |
| 1263 | arm4p2w.Part1=arm4p2 | |
| 1264 | arm4p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90)) | |
| 1265 | ||
| 1266 | arm4p2mesh = Instance.new("SpecialMesh",arm4p2)
| |
| 1267 | arm4p2mesh.MeshType = "Cylinder" | |
| 1268 | arm4p2mesh.Scale = Vector3.new(30,20,30) | |
| 1269 | ||
| 1270 | local particleemitter3 = Instance.new("ParticleEmitter", arm4p2)
| |
| 1271 | particleemitter3.VelocitySpread = 180 | |
| 1272 | particleemitter3.Lifetime = NumberRange.new(1) | |
| 1273 | particleemitter3.Speed = NumberRange.new(10) | |
| 1274 | particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 1275 | particleemitter3.RotSpeed = NumberRange.new(-180, 180) | |
| 1276 | particleemitter3.Rotation = NumberRange.new(-360, 360) | |
| 1277 | particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1278 | particleemitter3.LightEmission = 1 | |
| 1279 | particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 1280 | particleemitter3.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 1281 | particleemitter3.Enabled = false | |
| 1282 | ||
| 1283 | arm4p3=Instance.new("Part",Character)
| |
| 1284 | arm4p3.FormFactor="Custom" | |
| 1285 | arm4p3.Size=Vector3.new(.2,.2,.2) | |
| 1286 | arm4p3.Transparency=0 | |
| 1287 | arm4p3.CanCollide=false | |
| 1288 | arm4p3.BrickColor = BrickColor.new("Really black")
| |
| 1289 | arm4p3.Material="Neon" | |
| 1290 | arm4p3.TopSurface="Smooth" | |
| 1291 | arm4p3.BottomSurface="Smooth" | |
| 1292 | arm4p3.RightSurface="Smooth" | |
| 1293 | arm4p3.LeftSurface="Smooth" | |
| 1294 | arm4p3w=Instance.new("Weld",Character)
| |
| 1295 | arm4p3w.Part0=arm4p2 | |
| 1296 | arm4p3w.Part1=arm4p3 | |
| 1297 | arm4p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 1298 | ||
| 1299 | arm4p3mesh = Instance.new("SpecialMesh",arm4p3)
| |
| 1300 | arm4p3mesh.MeshType = "Sphere" | |
| 1301 | arm4p3mesh.Scale = Vector3.new(22.5,22.5,22.5) | |
| 1302 | ||
| 1303 | local particleemitter4 = Instance.new("ParticleEmitter", arm4p3)
| |
| 1304 | particleemitter4.VelocitySpread = 180 | |
| 1305 | particleemitter4.Lifetime = NumberRange.new(1) | |
| 1306 | particleemitter4.Speed = NumberRange.new(10) | |
| 1307 | particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 1308 | particleemitter4.RotSpeed = NumberRange.new(-180, 180) | |
| 1309 | particleemitter4.Rotation = NumberRange.new(-360, 360) | |
| 1310 | particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1311 | particleemitter4.LightEmission = 1 | |
| 1312 | particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 1313 | particleemitter4.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 1314 | particleemitter4.Enabled = false | |
| 1315 | ||
| 1316 | arm4p4=Instance.new("Part",Character)
| |
| 1317 | arm4p4.FormFactor="Custom" | |
| 1318 | arm4p4.Size=Vector3.new(.2,.2,.2) | |
| 1319 | arm4p4.Transparency=0 | |
| 1320 | arm4p4.CanCollide=false | |
| 1321 | arm4p4.BrickColor = BrickColor.new("Really black")
| |
| 1322 | arm4p4.Material="Neon" | |
| 1323 | arm4p4.TopSurface="Smooth" | |
| 1324 | arm4p4.BottomSurface="Smooth" | |
| 1325 | arm4p4.RightSurface="Smooth" | |
| 1326 | arm4p4.LeftSurface="Smooth" | |
| 1327 | arm4p4w=Instance.new("Weld",Character)
| |
| 1328 | arm4p4w.Part0=arm4p3 | |
| 1329 | arm4p4w.Part1=arm4p4 | |
| 1330 | arm4p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45)) | |
| 1331 | ||
| 1332 | arm4p4mesh = Instance.new("SpecialMesh",arm4p4)
| |
| 1333 | arm4p4mesh.MeshType = "Cylinder" | |
| 1334 | arm4p4mesh.Scale = Vector3.new(30,20,30) | |
| 1335 | ||
| 1336 | local particleemitter5 = Instance.new("ParticleEmitter", arm4p4)
| |
| 1337 | particleemitter5.VelocitySpread = 180 | |
| 1338 | particleemitter5.Lifetime = NumberRange.new(1) | |
| 1339 | particleemitter5.Speed = NumberRange.new(10) | |
| 1340 | particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 1341 | particleemitter5.RotSpeed = NumberRange.new(-180, 180) | |
| 1342 | particleemitter5.Rotation = NumberRange.new(-360, 360) | |
| 1343 | particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1344 | particleemitter5.LightEmission = 1 | |
| 1345 | particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 1346 | particleemitter5.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 1347 | particleemitter5.Enabled = false | |
| 1348 | ||
| 1349 | arm4p5=Instance.new("Part",Character)
| |
| 1350 | arm4p5.FormFactor="Custom" | |
| 1351 | arm4p5.Size=Vector3.new(.2,.2,.2) | |
| 1352 | arm4p5.Transparency=0 | |
| 1353 | arm4p5.CanCollide=false | |
| 1354 | arm4p5.BrickColor = BrickColor.new("Really black")
| |
| 1355 | arm4p5.Material="Neon" | |
| 1356 | arm4p5.TopSurface="Smooth" | |
| 1357 | arm4p5.BottomSurface="Smooth" | |
| 1358 | arm4p5.RightSurface="Smooth" | |
| 1359 | arm4p5.LeftSurface="Smooth" | |
| 1360 | arm4p5w=Instance.new("Weld",Character)
| |
| 1361 | arm4p5w.Part0=arm4p4 | |
| 1362 | arm4p5w.Part1=arm4p5 | |
| 1363 | arm4p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 1364 | ||
| 1365 | arm4p5mesh = Instance.new("SpecialMesh",arm4p5)
| |
| 1366 | arm4p5mesh.MeshType = "Sphere" | |
| 1367 | arm4p5mesh.Scale = Vector3.new(30,30,30) | |
| 1368 | ||
| 1369 | local particleemitter6 = Instance.new("ParticleEmitter", arm4p5)
| |
| 1370 | particleemitter6.VelocitySpread = 180 | |
| 1371 | particleemitter6.Lifetime = NumberRange.new(1) | |
| 1372 | particleemitter6.Speed = NumberRange.new(10) | |
| 1373 | particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
| |
| 1374 | particleemitter6.RotSpeed = NumberRange.new(-180, 180) | |
| 1375 | particleemitter6.Rotation = NumberRange.new(-360, 360) | |
| 1376 | particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1377 | particleemitter6.LightEmission = 1 | |
| 1378 | particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786" | |
| 1379 | particleemitter6.Color = ColorSequence.new(Color3.new(1, 0.686275, 0), Color3.new(1, 0.686275, 0)) | |
| 1380 | particleemitter6.Enabled = false | |
| 1381 | ||
| 1382 | arm4p6=Instance.new("Part",Character)
| |
| 1383 | arm4p6.FormFactor="Custom" | |
| 1384 | arm4p6.Size=Vector3.new(.2,.2,.2) | |
| 1385 | arm4p6.Transparency=0 | |
| 1386 | arm4p6.CanCollide=false | |
| 1387 | arm4p6.BrickColor = BrickColor.new("Really black")
| |
| 1388 | arm4p6.Material="Neon" | |
| 1389 | arm4p6.TopSurface="Smooth" | |
| 1390 | arm4p6.BottomSurface="Smooth" | |
| 1391 | arm4p6.RightSurface="Smooth" | |
| 1392 | arm4p6.LeftSurface="Smooth" | |
| 1393 | arm4p6w=Instance.new("Weld",Character)
| |
| 1394 | arm4p6w.Part0=arm4p5 | |
| 1395 | arm4p6w.Part1=arm4p6 | |
| 1396 | arm4p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 1397 | ||
| 1398 | arm4p6mesh = Instance.new("FileMesh",arm4p6)
| |
| 1399 | arm4p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
| 1400 | arm4p6mesh.Scale = Vector3.new(3.15,3.15,3.15) | |
| 1401 | ||
| 1402 | arm4p7=Instance.new("Part",Character)
| |
| 1403 | arm4p7.FormFactor="Custom" | |
| 1404 | arm4p7.Size=Vector3.new(.2,.2,.2) | |
| 1405 | arm4p7.Transparency=0 | |
| 1406 | arm4p7.CanCollide=false | |
| 1407 | arm4p7.BrickColor = BrickColor.new("Really black")
| |
| 1408 | arm4p7.Material="Neon" | |
| 1409 | arm4p7.TopSurface="Smooth" | |
| 1410 | arm4p7.BottomSurface="Smooth" | |
| 1411 | arm4p7.RightSurface="Smooth" | |
| 1412 | arm4p7.LeftSurface="Smooth" | |
| 1413 | arm4p7w=Instance.new("Weld",Character)
| |
| 1414 | arm4p7w.Part0=arm4p | |
| 1415 | arm4p7w.Part1=arm4p7 | |
| 1416 | arm4p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) | |
| 1417 | ||
| 1418 | arm4p7mesh = Instance.new("FileMesh",arm4p7)
| |
| 1419 | arm4p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
| 1420 | arm4p7mesh.Scale = Vector3.new(5,10,5) | |
| 1421 | ||
| 1422 | arm4hitbox=Instance.new("Part",Character)
| |
| 1423 | arm4hitbox.FormFactor="Custom" | |
| 1424 | arm4hitbox.Size=Vector3.new(5,5,5) | |
| 1425 | arm4hitbox.Transparency=0 | |
| 1426 | arm4hitbox.CanCollide=false | |
| 1427 | arm4hitbox.BrickColor = BrickColor.new("Really black")
| |
| 1428 | arm4hitbox.Material="Neon" | |
| 1429 | arm4hitbox.TopSurface="Smooth" | |
| 1430 | arm4hitbox.BottomSurface="Smooth" | |
| 1431 | arm4hitbox.RightSurface="Smooth" | |
| 1432 | arm4hitbox.LeftSurface="Smooth" | |
| 1433 | arm4hitboxw=Instance.new("Weld",Character)
| |
| 1434 | arm4hitboxw.Part0=arm4p6 | |
| 1435 | arm4hitboxw.Part1=arm4hitbox | |
| 1436 | arm4hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 1437 | -------------------------------------------------------------- | |
| 1438 | local function weldBetween(a, b) | |
| 1439 | local weldd = Instance.new("ManualWeld")
| |
| 1440 | weldd.Part0 = a | |
| 1441 | weldd.Part1 = b | |
| 1442 | weldd.C0 = CFrame.new() | |
| 1443 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 1444 | weldd.Parent = a | |
| 1445 | return weldd | |
| 1446 | end | |
| 1447 | ||
| 1448 | function swait(num) | |
| 1449 | if num==0 or num==nil then | |
| 1450 | game:service'RunService'.Stepped:wait(0) | |
| 1451 | else | |
| 1452 | for i=0,num do | |
| 1453 | game:service'RunService'.Stepped:wait(0) | |
| 1454 | end | |
| 1455 | end | |
| 1456 | end | |
| 1457 | ||
| 1458 | function nooutline(part) | |
| 1459 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 1460 | end | |
| 1461 | ||
| 1462 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 1463 | local fp=it("Part")
| |
| 1464 | fp.formFactor=formfactor | |
| 1465 | fp.Parent=parent | |
| 1466 | fp.Reflectance=reflectance | |
| 1467 | fp.Transparency=transparency | |
| 1468 | fp.CanCollide=false | |
| 1469 | fp.Locked=true | |
| 1470 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 1471 | fp.Name=name | |
| 1472 | fp.Size=size | |
| 1473 | fp.Position=Character.Torso.Position | |
| 1474 | nooutline(fp) | |
| 1475 | fp.Material=material | |
| 1476 | fp:BreakJoints() | |
| 1477 | return fp | |
| 1478 | end | |
| 1479 | ||
| 1480 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1481 | local mesh=it(Mesh) | |
| 1482 | mesh.Parent=part | |
| 1483 | if Mesh=="SpecialMesh" then | |
| 1484 | mesh.MeshType=meshtype | |
| 1485 | mesh.MeshId=meshid | |
| 1486 | end | |
| 1487 | mesh.Offset=offset | |
| 1488 | mesh.Scale=scale | |
| 1489 | return mesh | |
| 1490 | end | |
| 1491 | ||
| 1492 | function weld(parent,part0,part1,c0,c1) | |
| 1493 | local weld=it("Weld")
| |
| 1494 | weld.Parent=parent | |
| 1495 | weld.Part0=part0 | |
| 1496 | weld.Part1=part1 | |
| 1497 | weld.C0=c0 | |
| 1498 | weld.C1=c1 | |
| 1499 | return weld | |
| 1500 | end | |
| 1501 | ||
| 1502 | ||
| 1503 | local function CFrameFromTopBack(at, top, back) | |
| 1504 | local right = top:Cross(back) | |
| 1505 | return CFrame.new(at.x, at.y, at.z, | |
| 1506 | right.x, top.x, back.x, | |
| 1507 | right.y, top.y, back.y, | |
| 1508 | right.z, top.z, back.z) | |
| 1509 | end | |
| 1510 | ||
| 1511 | function Triangle(a, b, c) | |
| 1512 | local edg1 = (c-a):Dot((b-a).unit) | |
| 1513 | local edg2 = (a-b):Dot((c-b).unit) | |
| 1514 | local edg3 = (b-c):Dot((a-c).unit) | |
| 1515 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 1516 | a, b, c = a, b, c | |
| 1517 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 1518 | a, b, c = b, c, a | |
| 1519 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 1520 | a, b, c = c, a, b | |
| 1521 | else | |
| 1522 | assert(false, "unreachable") | |
| 1523 | end | |
| 1524 | ||
| 1525 | local len1 = (c-a):Dot((b-a).unit) | |
| 1526 | local len2 = (b-a).magnitude - len1 | |
| 1527 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 1528 | ||
| 1529 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 1530 | ||
| 1531 | local list = {}
| |
| 1532 | ||
| 1533 | local TrailColor = ("Deep orange")
| |
| 1534 | ||
| 1535 | if len1 > 0.01 then | |
| 1536 | local w1 = Instance.new('WedgePart', m)
| |
| 1537 | game:GetService("Debris"):AddItem(w1,5)
| |
| 1538 | w1.Material = "SmoothPlastic" | |
| 1539 | w1.FormFactor = 'Custom' | |
| 1540 | w1.BrickColor = BrickColor.new(TrailColor) | |
| 1541 | w1.Transparency = 0 | |
| 1542 | w1.Reflectance = 0 | |
| 1543 | w1.Material = "SmoothPlastic" | |
| 1544 | w1.CanCollide = false | |
| 1545 | NoOutline(w1) | |
| 1546 | local sz = Vector3.new(0.2, width, len1) | |
| 1547 | w1.Size = sz | |
| 1548 | local sp = Instance.new("SpecialMesh",w1)
| |
| 1549 | sp.MeshType = "Wedge" | |
| 1550 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 1551 | w1:BreakJoints() | |
| 1552 | w1.Anchored = true | |
| 1553 | w1.Parent = workspace | |
| 1554 | w1.Transparency = 0.7 | |
| 1555 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 1556 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 1557 | table.insert(list,w1) | |
| 1558 | end | |
| 1559 | ||
| 1560 | if len2 > 0.01 then | |
| 1561 | local w2 = Instance.new('WedgePart', m)
| |
| 1562 | game:GetService("Debris"):AddItem(w2,5)
| |
| 1563 | w2.Material = "SmoothPlastic" | |
| 1564 | w2.FormFactor = 'Custom' | |
| 1565 | w2.BrickColor = BrickColor.new("Deep orange")
| |
| 1566 | w2.Transparency = 0 | |
| 1567 | w2.Reflectance = 0 | |
| 1568 | w2.Material = "SmoothPlastic" | |
| 1569 | w2.CanCollide = false | |
| 1570 | NoOutline(w2) | |
| 1571 | local sz = Vector3.new(0.2, width, len2) | |
| 1572 | w2.Size = sz | |
| 1573 | local sp = Instance.new("SpecialMesh",w2)
| |
| 1574 | sp.MeshType = "Wedge" | |
| 1575 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 1576 | w2:BreakJoints() | |
| 1577 | w2.Anchored = true | |
| 1578 | w2.Parent = workspace | |
| 1579 | w2.Transparency = 0.7 | |
| 1580 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 1581 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 1582 | table.insert(list,w2) | |
| 1583 | end | |
| 1584 | return unpack(list) | |
| 1585 | end | |
| 1586 | ||
| 1587 | ||
| 1588 | so = function(id,par,vol,pit) | |
| 1589 | coroutine.resume(coroutine.create(function() | |
| 1590 | local sou = Instance.new("Sound",par or workspace)
| |
| 1591 | sou.Volume=vol | |
| 1592 | sou.Pitch=pit or 1 | |
| 1593 | sou.SoundId=id | |
| 1594 | swait() | |
| 1595 | sou:play() | |
| 1596 | game:GetService("Debris"):AddItem(sou,6)
| |
| 1597 | end)) | |
| 1598 | end | |
| 1599 | ||
| 1600 | function clerp(a,b,t) | |
| 1601 | local qa = {QuaternionFromCFrame(a)}
| |
| 1602 | local qb = {QuaternionFromCFrame(b)}
| |
| 1603 | local ax, ay, az = a.x, a.y, a.z | |
| 1604 | local bx, by, bz = b.x, b.y, b.z | |
| 1605 | local _t = 1-t | |
| 1606 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 1607 | end | |
| 1608 | ||
| 1609 | function QuaternionFromCFrame(cf) | |
| 1610 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 1611 | local trace = m00 + m11 + m22 | |
| 1612 | if trace > 0 then | |
| 1613 | local s = math.sqrt(1 + trace) | |
| 1614 | local recip = 0.5/s | |
| 1615 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 1616 | else | |
| 1617 | local i = 0 | |
| 1618 | if m11 > m00 then | |
| 1619 | i = 1 | |
| 1620 | end | |
| 1621 | if m22 > (i == 0 and m00 or m11) then | |
| 1622 | i = 2 | |
| 1623 | end | |
| 1624 | if i == 0 then | |
| 1625 | local s = math.sqrt(m00-m11-m22+1) | |
| 1626 | local recip = 0.5/s | |
| 1627 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 1628 | elseif i == 1 then | |
| 1629 | local s = math.sqrt(m11-m22-m00+1) | |
| 1630 | local recip = 0.5/s | |
| 1631 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 1632 | elseif i == 2 then | |
| 1633 | local s = math.sqrt(m22-m00-m11+1) | |
| 1634 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 1635 | end | |
| 1636 | end | |
| 1637 | end | |
| 1638 | ||
| 1639 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 1640 | local xs, ys, zs = x + x, y + y, z + z | |
| 1641 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 1642 | local xx = x*xs | |
| 1643 | local xy = x*ys | |
| 1644 | local xz = x*zs | |
| 1645 | local yy = y*ys | |
| 1646 | local yz = y*zs | |
| 1647 | local zz = z*zs | |
| 1648 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
| 1649 | end | |
| 1650 | ||
| 1651 | function QuaternionSlerp(a, b, t) | |
| 1652 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 1653 | local startInterp, finishInterp; | |
| 1654 | if cosTheta >= 0.0001 then | |
| 1655 | if (1 - cosTheta) > 0.0001 then | |
| 1656 | local theta = math.acos(cosTheta) | |
| 1657 | local invSinTheta = 1/math.sin(theta) | |
| 1658 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 1659 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1660 | else | |
| 1661 | startInterp = 1-t | |
| 1662 | finishInterp = t | |
| 1663 | end | |
| 1664 | else | |
| 1665 | if (1+cosTheta) > 0.0001 then | |
| 1666 | local theta = math.acos(-cosTheta) | |
| 1667 | local invSinTheta = 1/math.sin(theta) | |
| 1668 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 1669 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1670 | else | |
| 1671 | startInterp = t-1 | |
| 1672 | finishInterp = t | |
| 1673 | end | |
| 1674 | end | |
| 1675 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
| 1676 | end | |
| 1677 | ||
| 1678 | --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 1679 | ||
| 1680 | ||
| 1681 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 1682 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 1683 | end | |
| 1684 | ||
| 1685 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 1686 | if hit.Parent==nil then | |
| 1687 | return | |
| 1688 | end | |
| 1689 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 1690 | for _,v in pairs(hit.Parent:children()) do | |
| 1691 | if v:IsA("Humanoid") then
| |
| 1692 | h=v | |
| 1693 | end | |
| 1694 | end | |
| 1695 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 1696 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 1697 | end | |
| 1698 | if hit.Parent.className=="Hat" then | |
| 1699 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 1700 | end | |
| 1701 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 1702 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 1703 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 1704 | return | |
| 1705 | end]] | |
| 1706 | -- hs(hit,1.2) | |
| 1707 | c=Instance.new("ObjectValue")
| |
| 1708 | c.Name="creator" | |
| 1709 | c.Value=game:service("Players").LocalPlayer
| |
| 1710 | c.Parent=h | |
| 1711 | game:GetService("Debris"):AddItem(c,.5)
| |
| 1712 | Damage=math.random(minim,maxim) | |
| 1713 | -- h:TakeDamage(Damage) | |
| 1714 | blocked=false | |
| 1715 | block=hit.Parent:findFirstChild("Block")
| |
| 1716 | if block~=nil then | |
| 1717 | print(block.className) | |
| 1718 | if block.className=="NumberValue" then | |
| 1719 | if block.Value>0 then | |
| 1720 | blocked=true | |
| 1721 | if decreaseblock==nil then | |
| 1722 | block.Value=block.Value-1 | |
| 1723 | end | |
| 1724 | end | |
| 1725 | end | |
| 1726 | if block.className=="IntValue" then | |
| 1727 | if block.Value>0 then | |
| 1728 | blocked=true | |
| 1729 | if decreaseblock~=nil then | |
| 1730 | block.Value=block.Value-1 | |
| 1731 | end | |
| 1732 | end | |
| 1733 | end | |
| 1734 | end | |
| 1735 | if blocked==false then | |
| 1736 | -- h:TakeDamage(Damage) | |
| 1737 | h.Health=h.Health-Damage | |
| 1738 | showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
| |
| 1739 | else | |
| 1740 | h.Health=h.Health-(Damage/2) | |
| 1741 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright red"))
| |
| 1742 | end | |
| 1743 | if Type=="Knockdown" then | |
| 1744 | hum=hit.Parent.Humanoid | |
| 1745 | hum.PlatformStand=true | |
| 1746 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1747 | swait(1) | |
| 1748 | HHumanoid.PlatformStand=false | |
| 1749 | end),hum) | |
| 1750 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 1751 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 1752 | local bodvol=Instance.new("BodyVelocity")
| |
| 1753 | bodvol.velocity=angle*knockback | |
| 1754 | bodvol.P=5000 | |
| 1755 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 1756 | bodvol.Parent=hit | |
| 1757 | rl=Instance.new("BodyAngularVelocity")
| |
| 1758 | rl.P=3000 | |
| 1759 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 1760 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 1761 | rl.Parent=hit | |
| 1762 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 1763 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 1764 | elseif Type=="Normal" then | |
| 1765 | so("http://www.roblox.com/asset/?id=220834019",hit,1,math.random(80,120)/100)
| |
| 1766 | vp=Instance.new("BodyVelocity")
| |
| 1767 | vp.P=500 | |
| 1768 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 1769 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 1770 | if KnockbackType==1 then | |
| 1771 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 1772 | elseif KnockbackType==2 then | |
| 1773 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 1774 | end | |
| 1775 | if knockback>0 then | |
| 1776 | vp.Parent=hit.Parent.Torso | |
| 1777 | end | |
| 1778 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 1779 | elseif Type=="Up" then | |
| 1780 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 1781 | bodyVelocity.velocity=vt(0,60,0) | |
| 1782 | bodyVelocity.P=5000 | |
| 1783 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 1784 | bodyVelocity.Parent=hit | |
| 1785 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 1786 | rl=Instance.new("BodyAngularVelocity")
| |
| 1787 | rl.P=3000 | |
| 1788 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 1789 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 1790 | rl.Parent=hit | |
| 1791 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 1792 | elseif Type=="Snare" then | |
| 1793 | bp=Instance.new("BodyPosition")
| |
| 1794 | bp.P=2000 | |
| 1795 | bp.D=100 | |
| 1796 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 1797 | bp.position=hit.Parent.Torso.Position | |
| 1798 | bp.Parent=hit.Parent.Torso | |
| 1799 | game:GetService("Debris"):AddItem(bp,1)
| |
| 1800 | elseif Type=="Target" then | |
| 1801 | if Targetting==false then | |
| 1802 | ZTarget=hit.Parent.Torso | |
| 1803 | coroutine.resume(coroutine.create(function(Part) | |
| 1804 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 1805 | swait(5) | |
| 1806 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 1807 | end),ZTarget) | |
| 1808 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 1809 | targetgui=Instance.new("BillboardGui")
| |
| 1810 | targetgui.Parent=ZTarget | |
| 1811 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 1812 | targ=Instance.new("ImageLabel")
| |
| 1813 | targ.Parent=targetgui | |
| 1814 | targ.BackgroundTransparency=1 | |
| 1815 | targ.Image="rbxassetid://4834067" | |
| 1816 | targ.Size=UDim2.new(1,0,1,0) | |
| 1817 | cam.CameraType="Scriptable" | |
| 1818 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1819 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 1820 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1821 | Targetting=true | |
| 1822 | RocketTarget=ZTarget | |
| 1823 | for i=1,Property do | |
| 1824 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 1825 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 1826 | swait() | |
| 1827 | end | |
| 1828 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 1829 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1830 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 1831 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 1832 | end | |
| 1833 | Targetting=false | |
| 1834 | RocketTarget=nil | |
| 1835 | targetgui.Parent=nil | |
| 1836 | cam.CameraType="Custom" | |
| 1837 | end | |
| 1838 | end | |
| 1839 | debounce=Instance.new("BoolValue")
| |
| 1840 | debounce.Name="DebounceHit" | |
| 1841 | debounce.Parent=hit.Parent | |
| 1842 | debounce.Value=true | |
| 1843 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 1844 | c=Instance.new("ObjectValue")
| |
| 1845 | c.Name="creator" | |
| 1846 | c.Value=Player | |
| 1847 | c.Parent=h | |
| 1848 | game:GetService("Debris"):AddItem(c,.5)
| |
| 1849 | CRIT=false | |
| 1850 | hitDeb=true | |
| 1851 | AttackPos=6 | |
| 1852 | end | |
| 1853 | end | |
| 1854 | ||
| 1855 | showDamage=function(Char,Dealt,du,Color) | |
| 1856 | m=Instance.new("Model")
| |
| 1857 | m.Name=tostring(Dealt) | |
| 1858 | h=Instance.new("Humanoid")
| |
| 1859 | h.Health=0 | |
| 1860 | h.MaxHealth=0 | |
| 1861 | h.Parent=m | |
| 1862 | c=Instance.new("Part")
| |
| 1863 | c.Transparency=1 | |
| 1864 | c.BrickColor=BrickColor.new("Bright red")
| |
| 1865 | c.Name="Head" | |
| 1866 | c.TopSurface=0 | |
| 1867 | c.BottomSurface=0 | |
| 1868 | c.formFactor="Plate" | |
| 1869 | c.Size=Vector3.new(1,.4,1) | |
| 1870 | ms=Instance.new("CylinderMesh")
| |
| 1871 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 1872 | if CRIT==true then | |
| 1873 | ms.Scale=Vector3.new(1,1.25,1) | |
| 1874 | end | |
| 1875 | ms.Parent=c | |
| 1876 | c.Reflectance=0 | |
| 1877 | Instance.new("BodyGyro").Parent=c
| |
| 1878 | c.Parent=m | |
| 1879 | if Char:findFirstChild("Head")~=nil then
| |
| 1880 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 1881 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 1882 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 1883 | end | |
| 1884 | f=Instance.new("BodyPosition")
| |
| 1885 | f.P=2000 | |
| 1886 | f.D=100 | |
| 1887 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 1888 | f.position=c.Position+Vector3.new(0,3,0) | |
| 1889 | f.Parent=c | |
| 1890 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 1891 | c.CanCollide=false | |
| 1892 | m.Parent=workspace | |
| 1893 | c.CanCollide=false | |
| 1894 | end | |
| 1895 | ||
| 1896 | function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
| 1897 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1898 | prt.Anchored = true | |
| 1899 | prt.CFrame = cframe | |
| 1900 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1901 | coroutine.resume(coroutine.create(function() | |
| 1902 | for i = 0, 1, delay do | |
| 1903 | swait() | |
| 1904 | prt.Transparency = i | |
| 1905 | msh.Scale = msh.Scale + vt(x2, y2, z2) | |
| 1906 | end | |
| 1907 | prt.Parent = nil | |
| 1908 | end)) | |
| 1909 | end | |
| 1910 | ||
| 1911 | function attackone() | |
| 1912 | attack=true | |
| 1913 | for i=0,1,0.04 do | |
| 1914 | swait() | |
| 1915 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1) | |
| 1916 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 1917 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2) | |
| 1918 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2) | |
| 1919 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 1920 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 1921 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) | |
| 1922 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,4)*angles(math.rad(60),math.rad(90),math.rad(-90)),0.2) | |
| 1923 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 1924 | arm1p4w.C0=clerp(arm1p4w.C0,cf(1.5,3,0)*angles(math.rad(0),math.rad(0),math.rad(-120)),0.2) | |
| 1925 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 1926 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 1927 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2) | |
| 1928 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) | |
| 1929 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 1930 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) | |
| 1931 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 1932 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) | |
| 1933 | end | |
| 1934 | so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,1)
| |
| 1935 | con1=arm1hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end) | |
| 1936 | ||
| 1937 | for i=0,1,0.2 do | |
| 1938 | swait() | |
| 1939 | Shockwave(BrickColor.new("Really black"),cf(arm1hitbox.Position),1,1,1,1,1,1,0.075)
| |
| 1940 | Shockwave(BrickColor.new("Institutional white"),cf(arm1hitbox.Position),4,4,4,6,6,6,0.025)
| |
| 1941 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2) | |
| 1942 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 1943 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3) | |
| 1944 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2) | |
| 1945 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 1946 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 1947 | arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 1948 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3) | |
| 1949 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 1950 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 1951 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 1952 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 1953 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2) | |
| 1954 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) | |
| 1955 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 1956 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) | |
| 1957 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 1958 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) | |
| 1959 | end | |
| 1960 | for i=0,1,0.04 do | |
| 1961 | swait() | |
| 1962 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2) | |
| 1963 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 1964 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3) | |
| 1965 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2) | |
| 1966 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 1967 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 1968 | arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 1969 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3) | |
| 1970 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 1971 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 1972 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 1973 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 1974 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2) | |
| 1975 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) | |
| 1976 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 1977 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) | |
| 1978 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 1979 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) | |
| 1980 | end | |
| 1981 | con1:disconnect() | |
| 1982 | attack=false | |
| 1983 | end | |
| 1984 | ||
| 1985 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 1986 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 1987 | end | |
| 1988 | ||
| 1989 | function attacktwo() | |
| 1990 | attack=true | |
| 1991 | for i=0,1,0.04 do | |
| 1992 | swait() | |
| 1993 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1) | |
| 1994 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 1995 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2) | |
| 1996 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2) | |
| 1997 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 1998 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 1999 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) | |
| 2000 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) | |
| 2001 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2002 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) | |
| 2003 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2004 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2005 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(0),math.rad(120),math.rad(-90)),0.2) | |
| 2006 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) | |
| 2007 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2008 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.2) | |
| 2009 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2010 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) | |
| 2011 | end | |
| 2012 | so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,0.8)
| |
| 2013 | con1=arm2hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end) | |
| 2014 | for i=0,1,0.2 do | |
| 2015 | swait() | |
| 2016 | Shockwave(BrickColor.new("Really black"),cf(arm2hitbox.Position),1,1,1,1,1,1,0.075)
| |
| 2017 | Shockwave(BrickColor.new("Institutional white"),cf(arm2hitbox.Position),4,4,4,6,6,6,0.025)
| |
| 2018 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2) | |
| 2019 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2020 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2) | |
| 2021 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2) | |
| 2022 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2023 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2024 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) | |
| 2025 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) | |
| 2026 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2027 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) | |
| 2028 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2029 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2030 | arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-30),math.rad(0),math.rad(-90)),0.3) | |
| 2031 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3) | |
| 2032 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2033 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2034 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2035 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2036 | end | |
| 2037 | Humanoid.WalkSpeed = 0 | |
| 2038 | local hit,pos=rayCast(arm2hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character) | |
| 2039 | if hit~=nil then | |
| 2040 | swait() | |
| 2041 | print("touched")
| |
| 2042 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
| |
| 2043 | ref.Anchored=true | |
| 2044 | ref.CFrame=cf(pos) | |
| 2045 | game:GetService("Debris"):AddItem(ref,3)
| |
| 2046 | so("http://www.roblox.com/asset/?id=199145477",arm2hitbox,1,math.random(60,140)/100)
| |
| 2047 | Shockwave2(BrickColor.new("Deep orange"),cf(pos),0.1,0.1,0.1,1,1,1,0.05)
| |
| 2048 | end | |
| 2049 | for i=0,1,0.04 do | |
| 2050 | swait() | |
| 2051 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2) | |
| 2052 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2053 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2) | |
| 2054 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2) | |
| 2055 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2056 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2057 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) | |
| 2058 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) | |
| 2059 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2060 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) | |
| 2061 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2062 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2063 | arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-20),math.rad(0),math.rad(-90)),0.3) | |
| 2064 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3) | |
| 2065 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2066 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2067 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2068 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2069 | end | |
| 2070 | Humanoid.WalkSpeed = 64 | |
| 2071 | con1:disconnect() | |
| 2072 | attack=false | |
| 2073 | end | |
| 2074 | ||
| 2075 | function attackthree() | |
| 2076 | attack=true | |
| 2077 | for i=0,1,0.04 do | |
| 2078 | swait() | |
| 2079 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1) | |
| 2080 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2081 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2) | |
| 2082 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2) | |
| 2083 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2084 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2085 | ||
| 2086 | arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(180),math.rad(180),math.rad(-90)),0.2) | |
| 2087 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(180),math.rad(90),math.rad(-90)),0.2) | |
| 2088 | arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(180),math.rad(0)),0.2) | |
| 2089 | arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(180),math.rad(180),math.rad(-45)),0.2) | |
| 2090 | arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(180),math.rad(0)),0.2) | |
| 2091 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(180),math.rad(180),math.rad(90)),0.2) | |
| 2092 | end | |
| 2093 | so("http://www.roblox.com/asset/?id=203691467",arm3hitbox,1,1)
| |
| 2094 | con1=arm3hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end) | |
| 2095 | ||
| 2096 | for i=0,1,0.2 do | |
| 2097 | swait() | |
| 2098 | Shockwave(BrickColor.new("Really black"),cf(arm3hitbox.Position),1,1,1,1,1,1,0.075)
| |
| 2099 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2) | |
| 2100 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2101 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3) | |
| 2102 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2) | |
| 2103 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2104 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2105 | ||
| 2106 | arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(180),math.rad(180),math.rad(-90)),0.2) | |
| 2107 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(180),math.rad(90),math.rad(-90)),0.2) | |
| 2108 | arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(180),math.rad(0)),0.2) | |
| 2109 | arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(180),math.rad(180),math.rad(-45)),0.2) | |
| 2110 | arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(180),math.rad(0)),0.2) | |
| 2111 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(180),math.rad(180),math.rad(90)),0.2) | |
| 2112 | end | |
| 2113 | for i=0,1,0.04 do | |
| 2114 | swait() | |
| 2115 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2) | |
| 2116 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2117 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3) | |
| 2118 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2) | |
| 2119 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2120 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2121 | ||
| 2122 | arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(180),math.rad(180),math.rad(-90)),0.2) | |
| 2123 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(180),math.rad(90),math.rad(-90)),0.2) | |
| 2124 | arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(180),math.rad(0)),0.2) | |
| 2125 | arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(180),math.rad(180),math.rad(-45)),0.2) | |
| 2126 | arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(180),math.rad(0)),0.2) | |
| 2127 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(180),math.rad(180),math.rad(90)),0.2) | |
| 2128 | end | |
| 2129 | con1:disconnect() | |
| 2130 | attack=false | |
| 2131 | end | |
| 2132 | ||
| 2133 | function attackfour() | |
| 2134 | attack=true | |
| 2135 | for i=0,1,0.04 do | |
| 2136 | swait() | |
| 2137 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1) | |
| 2138 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2139 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2) | |
| 2140 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2) | |
| 2141 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2142 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2143 | ||
| 2144 | arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(180),math.rad(90)),0.2) | |
| 2145 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(90),math.rad(-90)),0.2) | |
| 2146 | arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2147 | arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(180),math.rad(-45)),0.2) | |
| 2148 | arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2149 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2150 | ||
| 2151 | end | |
| 2152 | so("http://www.roblox.com/asset/?id=203691467",arm4hitbox,1,1)
| |
| 2153 | con1=arm4hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end) | |
| 2154 | ||
| 2155 | for i=0,1,0.2 do | |
| 2156 | swait() | |
| 2157 | Shockwave(BrickColor.new("Really black"),cf(arm4hitbox.Position),1,1,1,1,1,1,0.075)
| |
| 2158 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2) | |
| 2159 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2160 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3) | |
| 2161 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2) | |
| 2162 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2163 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2164 | ||
| 2165 | arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(180),math.rad(90)),0.2) | |
| 2166 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(90),math.rad(-90)),0.2) | |
| 2167 | arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2168 | arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(180),math.rad(-45)),0.2) | |
| 2169 | arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2170 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2171 | ||
| 2172 | end | |
| 2173 | for i=0,1,0.04 do | |
| 2174 | swait() | |
| 2175 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2) | |
| 2176 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2177 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3) | |
| 2178 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2) | |
| 2179 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2180 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2181 | ||
| 2182 | arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(180),math.rad(90)),0.2) | |
| 2183 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(90),math.rad(-90)),0.2) | |
| 2184 | arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2185 | arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(180),math.rad(-45)),0.2) | |
| 2186 | arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2187 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2188 | ||
| 2189 | end | |
| 2190 | con1:disconnect() | |
| 2191 | attack=false | |
| 2192 | end | |
| 2193 | ||
| 2194 | ||
| 2195 | lasereye=1 | |
| 2196 | ||
| 2197 | ||
| 2198 | mouse.Button1Down:connect(function() | |
| 2199 | if attack==false and attacktype==1 and sphere==false then | |
| 2200 | attackone() | |
| 2201 | attacktype=2 | |
| 2202 | elseif attack==false and attacktype==2 and sphere==false then | |
| 2203 | attacktwo() | |
| 2204 | attacktype=3 | |
| 2205 | elseif attack==false and attacktype==3 and sphere==false then | |
| 2206 | attackthree() | |
| 2207 | attacktype=4 | |
| 2208 | elseif attack==false and attacktype==4 and sphere==false then | |
| 2209 | attackfour() | |
| 2210 | attacktype=1 | |
| 2211 | end | |
| 2212 | if attack==false and used==false and sphere==true and rest==false and lasereye==1 then | |
| 2213 | lasereye=2 | |
| 2214 | LaserBlaster() | |
| 2215 | elseif attack==false and used==false and sphere==true and rest==false and lasereye==2 then | |
| 2216 | lasereye=1 | |
| 2217 | LaserBlaster2() | |
| 2218 | end | |
| 2219 | end) | |
| 2220 | ||
| 2221 | function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2222 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2223 | prt.Anchored = true | |
| 2224 | prt.CFrame = cframe | |
| 2225 | prt.Material = "Neon" | |
| 2226 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2227 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2228 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2229 | for i = 0, 1, delay do | |
| 2230 | swait() | |
| 2231 | Part.CFrame = Part.CFrame | |
| 2232 | Part.Transparency = i | |
| 2233 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2234 | end | |
| 2235 | Part.Parent = nil | |
| 2236 | end), prt, msh) | |
| 2237 | end | |
| 2238 | ||
| 2239 | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2240 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2241 | prt.Anchored = true | |
| 2242 | prt.CFrame = cframe | |
| 2243 | prt.Material = "Neon" | |
| 2244 | local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2245 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2246 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2247 | for i = 0, 1, delay do | |
| 2248 | swait() | |
| 2249 | Part.CFrame = Part.CFrame | |
| 2250 | Part.Transparency = i | |
| 2251 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2252 | end | |
| 2253 | Part.Parent = nil | |
| 2254 | end), prt, msh) | |
| 2255 | end | |
| 2256 | ||
| 2257 | MMouse=mouse | |
| 2258 | LaserTarget=RootPart | |
| 2259 | used=false | |
| 2260 | ||
| 2261 | function LaserBlaster() | |
| 2262 | used=true | |
| 2263 | so("http://www.roblox.com/asset/?id=167122623",eyep,1,math.random(60,80)/100)
| |
| 2264 | local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p) | |
| 2265 | local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent) | |
| 2266 | local mag=(eyep.Position-pos).magnitude | |
| 2267 | Laser(BrickColor.new("Deep orange"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
| |
| 2268 | if hit~=nil then | |
| 2269 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
| |
| 2270 | ref.Anchored=true | |
| 2271 | ref.CFrame=cf(pos) | |
| 2272 | game:GetService("Debris"):AddItem(ref,1)
| |
| 2273 | so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
| |
| 2274 | Shockwave(BrickColor.new("Deep orange"),cf(pos),1,1,1,1,1,1,0.075)
| |
| 2275 | Damagefunc(hit,20,40,0,"Normal",RootPart,0) | |
| 2276 | end | |
| 2277 | for i=0,1,0.2 do | |
| 2278 | swait() | |
| 2279 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 2280 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2281 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2282 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2283 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2284 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2285 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2286 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2287 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2288 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2289 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2290 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2291 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2292 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2293 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2294 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2295 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2296 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2297 | end | |
| 2298 | wait(0.25) | |
| 2299 | used=false | |
| 2300 | end | |
| 2301 | ||
| 2302 | function LaserBlaster2() | |
| 2303 | used=true | |
| 2304 | so("http://www.roblox.com/asset/?id=167122623",eyep2,1,math.random(60,80)/100)
| |
| 2305 | local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p) | |
| 2306 | local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent) | |
| 2307 | local mag=(eyep2.Position-pos).magnitude | |
| 2308 | Laser(BrickColor.new("Deep orange"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
| |
| 2309 | if hit~=nil then | |
| 2310 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
| |
| 2311 | ref.Anchored=true | |
| 2312 | ref.CFrame=cf(pos) | |
| 2313 | game:GetService("Debris"):AddItem(ref,1)
| |
| 2314 | so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
| |
| 2315 | Shockwave(BrickColor.new("Deep orange"),cf(pos),1,1,1,1,1,1,0.075)
| |
| 2316 | Damagefunc(hit,20,40,0,"Normal",RootPart,0) | |
| 2317 | end | |
| 2318 | for i=0,1,0.2 do | |
| 2319 | swait() | |
| 2320 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 2321 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2322 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2323 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2324 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2325 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2326 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2327 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2328 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2329 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2330 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2331 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2332 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2333 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2334 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2335 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2336 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2337 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2338 | end | |
| 2339 | wait(0.25) | |
| 2340 | used=false | |
| 2341 | end | |
| 2342 | ||
| 2343 | used2=false | |
| 2344 | ||
| 2345 | function GiantLaserBlaster() | |
| 2346 | used2=true | |
| 2347 | so("http://www.roblox.com/asset/?id=137463716",eyep,1,math.random(60,80)/100)
| |
| 2348 | eyeeffect.Enabled = true | |
| 2349 | wait(1.6) | |
| 2350 | eyeeffect.Enabled = false | |
| 2351 | so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
| |
| 2352 | so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
| |
| 2353 | so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
| |
| 2354 | so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
| |
| 2355 | local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p) | |
| 2356 | local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent) | |
| 2357 | local mag=(eyep.Position-pos).magnitude | |
| 2358 | Laser(BrickColor.new("Deep orange"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
| |
| 2359 | if hit~=nil then | |
| 2360 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
| |
| 2361 | ref.Anchored=true | |
| 2362 | ref.CFrame=cf(pos) | |
| 2363 | game:GetService("Debris"):AddItem(ref,1)
| |
| 2364 | so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
| |
| 2365 | Shockwave(BrickColor.new("Deep orange"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
| |
| 2366 | Damagefunc(hit,40,80,0,"Normal",RootPart,0) | |
| 2367 | end | |
| 2368 | for i=0,1,0.1 do | |
| 2369 | swait() | |
| 2370 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
| 2371 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2372 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2373 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2374 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2375 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2376 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2377 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2378 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2379 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2380 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2381 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2382 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2383 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2384 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2385 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2386 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2387 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2388 | end | |
| 2389 | wait(3) | |
| 2390 | used2=false | |
| 2391 | end | |
| 2392 | ||
| 2393 | function GiantLaserBlaster2() | |
| 2394 | used2=true | |
| 2395 | so("http://www.roblox.com/asset/?id=137463716",eyep2,1,math.random(60,80)/100)
| |
| 2396 | eyeeffect2.Enabled = true | |
| 2397 | wait(1.6) | |
| 2398 | eyeeffect2.Enabled = false | |
| 2399 | so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
| |
| 2400 | so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
| |
| 2401 | so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
| |
| 2402 | so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
| |
| 2403 | local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p) | |
| 2404 | local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent) | |
| 2405 | local mag=(eyep2.Position-pos).magnitude | |
| 2406 | Laser(BrickColor.new("Deep orange"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
| |
| 2407 | if hit~=nil then | |
| 2408 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
| |
| 2409 | ref.Anchored=true | |
| 2410 | ref.CFrame=cf(pos) | |
| 2411 | game:GetService("Debris"):AddItem(ref,1)
| |
| 2412 | so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
| |
| 2413 | Shockwave(BrickColor.new("Deep orange"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
| |
| 2414 | Damagefunc(hit,40,80,0,"Normal",RootPart,0) | |
| 2415 | end | |
| 2416 | for i=0,1,0.1 do | |
| 2417 | swait() | |
| 2418 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
| 2419 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2420 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2421 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2422 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2423 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2424 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2425 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2426 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2427 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2428 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2429 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2430 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2431 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2432 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2433 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2434 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2435 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2436 | end | |
| 2437 | wait(3) | |
| 2438 | used2=false | |
| 2439 | end | |
| 2440 | ||
| 2441 | function Hibernation() | |
| 2442 | if rest==false then | |
| 2443 | print("You are now resting.")
| |
| 2444 | rest=true | |
| 2445 | attack=true | |
| 2446 | emitter.Enabled = false | |
| 2447 | particleemitter.Enabled = false | |
| 2448 | for i=0,1,0.15 do | |
| 2449 | wait() | |
| 2450 | Humanoid.CameraOffset = Vector3.new(0, 12.5-12.5*i, 0) | |
| 2451 | music.Volume = 0.5-0.5*i | |
| 2452 | --eyep2mesh.Scale = Vector3.new(8.5,8.5-8.4*i,2) | |
| 2453 | --eyepmesh.Scale = Vector3.new(8.5,8.5-8.4*i,2) | |
| 2454 | end | |
| 2455 | music.Volume = 0 | |
| 2456 | Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
| 2457 | attack=false | |
| 2458 | Humanoid.WalkSpeed = 0 | |
| 2459 | elseif rest==true then | |
| 2460 | print("You are now awake.")
| |
| 2461 | rest=false | |
| 2462 | attack=true | |
| 2463 | for i=0,1,0.15 do | |
| 2464 | wait() | |
| 2465 | Humanoid.CameraOffset = Vector3.new(0, 0+12.5*i, 0) | |
| 2466 | music.Volume = 0+0.5*i | |
| 2467 | --eyep2mesh.Scale = Vector3.new(8.5,0.1+8.4*i,2) | |
| 2468 | --eyepmesh.Scale = Vector3.new(8.5,0.1+8.4*i,2) | |
| 2469 | end | |
| 2470 | emitter.Enabled = true | |
| 2471 | particleemitter.Enabled = true | |
| 2472 | Humanoid.WalkSpeed = 16 | |
| 2473 | music.Volume = 0.5 | |
| 2474 | Humanoid.CameraOffset = Vector3.new(0, 12.5, 0) | |
| 2475 | attack=false | |
| 2476 | end | |
| 2477 | end | |
| 2478 | ||
| 2479 | ragemodedelay=false | |
| 2480 | ||
| 2481 | function RageMode() | |
| 2482 | if sphere==true then | |
| 2483 | music:Stop() | |
| 2484 | music2:Play() | |
| 2485 | rawr:Play() | |
| 2486 | particleemitter2.Enabled=true | |
| 2487 | particleemitter3.Enabled=true | |
| 2488 | particleemitter4.Enabled=true | |
| 2489 | particleemitter5.Enabled=true | |
| 2490 | particleemitter6.Enabled=true | |
| 2491 | particleemitter7.Enabled=true | |
| 2492 | particleemitter8.Enabled=true | |
| 2493 | particleemitter9.Enabled=true | |
| 2494 | particleemitter10.Enabled=true | |
| 2495 | particleemitter11.Enabled=true | |
| 2496 | Humanoid.WalkSpeed = 64 | |
| 2497 | so("http://www.roblox.com/asset/?id=340722848",Character,0.5,1.2)
| |
| 2498 | sphere=false | |
| 2499 | elseif sphere==false then | |
| 2500 | music2:Stop() | |
| 2501 | music:Play() | |
| 2502 | particleemitter2.Enabled=false | |
| 2503 | particleemitter3.Enabled=false | |
| 2504 | particleemitter4.Enabled=false | |
| 2505 | particleemitter5.Enabled=false | |
| 2506 | particleemitter6.Enabled=false | |
| 2507 | particleemitter7.Enabled=false | |
| 2508 | particleemitter8.Enabled=false | |
| 2509 | particleemitter9.Enabled=false | |
| 2510 | particleemitter10.Enabled=false | |
| 2511 | particleemitter11.Enabled=false | |
| 2512 | Humanoid.WalkSpeed = 16 | |
| 2513 | so("http://www.roblox.com/asset/?id=340722848",Character,0.5,0.8)
| |
| 2514 | sphere=true | |
| 2515 | end | |
| 2516 | end | |
| 2517 | ||
| 2518 | --use3=false | |
| 2519 | ||
| 2520 | function TheWind() | |
| 2521 | if aura==false then | |
| 2522 | Shockwave(BrickColor.new("Really black"),cf(Torso.Position),16,16,16,10,10,10,0.025)
| |
| 2523 | so("http://www.roblox.com/asset/?id=340722848",Torso,1,1.1)
| |
| 2524 | ghostp.Transparency = 0.8 | |
| 2525 | ghostp2.Transparency = 0.85 | |
| 2526 | ghostp3.Transparency = 0.9 | |
| 2527 | ghostp4.Transparency = 0.95 | |
| 2528 | ghostp5.Transparency = 0.75 | |
| 2529 | ghostp6.Transparency = 0.825 | |
| 2530 | ghostp7.Transparency = 0.875 | |
| 2531 | ghostp8.Transparency = 0.925 | |
| 2532 | aura=true | |
| 2533 | elseif aura==true then | |
| 2534 | Shockwave(BrickColor.new("Really black"),cf(Torso.Position),16,16,16,10,10,10,0.025)
| |
| 2535 | so("http://www.roblox.com/asset/?id=340722848",Torso,1,0.9)
| |
| 2536 | ghostp.Transparency = 1 | |
| 2537 | ghostp2.Transparency = 1 | |
| 2538 | ghostp3.Transparency = 1 | |
| 2539 | ghostp4.Transparency = 1 | |
| 2540 | ghostp5.Transparency = 1 | |
| 2541 | ghostp6.Transparency = 1 | |
| 2542 | ghostp7.Transparency = 1 | |
| 2543 | ghostp8.Transparency = 1 | |
| 2544 | aura=false | |
| 2545 | end | |
| 2546 | while aura==true do | |
| 2547 | for i=0,1,0.05 do | |
| 2548 | wait() | |
| 2549 | ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(45+360*i),math.rad(0)) | |
| 2550 | ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(90+360*i),math.rad(0)) | |
| 2551 | ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(135+360*i),math.rad(0)) | |
| 2552 | ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(180+360*i),math.rad(0)) | |
| 2553 | ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(225+360*i),math.rad(0)) | |
| 2554 | ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(270+360*i),math.rad(0)) | |
| 2555 | ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(315+360*i),math.rad(0)) | |
| 2556 | ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(360+360*i),math.rad(0)) | |
| 2557 | end | |
| 2558 | end | |
| 2559 | end | |
| 2560 | ||
| 2561 | giantlasereye=1 | |
| 2562 | ||
| 2563 | function ShootingTheEyes() | |
| 2564 | if giantlasereye==1 then | |
| 2565 | GiantLaserBlaster() | |
| 2566 | giantlasereye=2 | |
| 2567 | elseif giantlasereye==2 then | |
| 2568 | GiantLaserBlaster2() | |
| 2569 | giantlasereye=1 | |
| 2570 | end | |
| 2571 | end | |
| 2572 | ||
| 2573 | mouse.KeyDown:connect(function(k) | |
| 2574 | k=k:lower() | |
| 2575 | if k=='r' and attack==false and sphere==true and aura==false then | |
| 2576 | Hibernation() | |
| 2577 | end | |
| 2578 | if k=='f' and used2==false and sphere==true and rest==false then | |
| 2579 | ShootingTheEyes() | |
| 2580 | end | |
| 2581 | if k=='q' and rest==false and ragemodedelay==false then | |
| 2582 | RageMode() | |
| 2583 | end | |
| 2584 | if k=='e' and rest==false then | |
| 2585 | TheWind() | |
| 2586 | end | |
| 2587 | end) | |
| 2588 | ||
| 2589 | local sine = 0 | |
| 2590 | local change = 1 | |
| 2591 | local val = 0 | |
| 2592 | ||
| 2593 | while true do | |
| 2594 | swait() | |
| 2595 | sine = sine + change | |
| 2596 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 2597 | local velderp=RootPart.Velocity.y | |
| 2598 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 2599 | if equipped==true or equipped==false then | |
| 2600 | if attack==false then | |
| 2601 | idle=idle+1 | |
| 2602 | else | |
| 2603 | idle=0 | |
| 2604 | end | |
| 2605 | if idle>=500 then | |
| 2606 | if attack==false then | |
| 2607 | --Sheath() | |
| 2608 | end | |
| 2609 | end | |
| 2610 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 2611 | Anim="Jump" | |
| 2612 | if attack==false and sphere==false then | |
| 2613 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/60))*angles(math.rad(-30),math.rad(0),math.rad(0)),.1) | |
| 2614 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2615 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(80-10*math.cos(sine/60))), 0.3) | |
| 2616 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-80+10*math.cos(sine/60))), 0.3) | |
| 2617 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2618 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2619 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2620 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2621 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2622 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2623 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2624 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2625 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3) | |
| 2626 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2627 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2628 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2629 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2630 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2631 | ||
| 2632 | arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2633 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2634 | arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2635 | arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2636 | arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2637 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2638 | ||
| 2639 | arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2640 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2641 | arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2642 | arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2643 | arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2644 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2645 | else | |
| 2646 | if attack==false and sphere==true then | |
| 2647 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(-20),math.rad(0),math.rad(0)),.1) | |
| 2648 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2649 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2650 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2651 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2652 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2653 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2654 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2655 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2656 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2657 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2658 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2659 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2660 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2661 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2662 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2663 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2664 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2665 | ||
| 2666 | arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2667 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2668 | arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2669 | arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2670 | arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2671 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2672 | ||
| 2673 | arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2674 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2675 | arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2676 | arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2677 | arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2678 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2679 | end | |
| 2680 | end | |
| 2681 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 2682 | Anim="Fall" | |
| 2683 | if attack==false and sphere==false then | |
| 2684 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/60))*angles(math.rad(30),math.rad(0),math.rad(0)),.1) | |
| 2685 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2686 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120-10*math.cos(sine/60))), 0.3) | |
| 2687 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120+10*math.cos(sine/60))), 0.3) | |
| 2688 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2689 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2690 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2691 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2692 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2693 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2694 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2695 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2696 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3) | |
| 2697 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2698 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2699 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2700 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2701 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2702 | ||
| 2703 | arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(360),math.rad(180),math.rad(-90)),0.2) | |
| 2704 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(90),math.rad(-90)),0.2) | |
| 2705 | arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2706 | arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(360),math.rad(180),math.rad(-45)),0.2) | |
| 2707 | arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2708 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(180),math.rad(90)),0.2) | |
| 2709 | ||
| 2710 | arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(180),math.rad(90)),0.2) | |
| 2711 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(90),math.rad(-90)),0.2) | |
| 2712 | arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2713 | arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(180),math.rad(-45)),0.2) | |
| 2714 | arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2715 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2716 | else | |
| 2717 | if attack==false and sphere==true then | |
| 2718 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(20),math.rad(0),math.rad(0)),.1) | |
| 2719 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2720 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2721 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2722 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2723 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2724 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2725 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2726 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2727 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2728 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2729 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2730 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2731 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2732 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2733 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2734 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2735 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2736 | ||
| 2737 | arm3pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(360),math.rad(120),math.rad(-90)),0.2) | |
| 2738 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(90),math.rad(-90)),0.2) | |
| 2739 | arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2740 | arm3p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(360),math.rad(180),math.rad(-75)),0.2) | |
| 2741 | arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2742 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(180),math.rad(90)),0.2) | |
| 2743 | ||
| 2744 | arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(180),math.rad(90)),0.2) | |
| 2745 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(90),math.rad(-90)),0.2) | |
| 2746 | arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2747 | arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(180),math.rad(-45)),0.2) | |
| 2748 | arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2749 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2750 | end | |
| 2751 | end | |
| 2752 | elseif torvel<1 and hitfloor~=nil then | |
| 2753 | Anim="Idle" | |
| 2754 | Humanoid.WalkSpeed = 64 | |
| 2755 | if attack==false and sphere==false and rest==false then | |
| 2756 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1) | |
| 2757 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2758 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15-10*math.cos(sine/30)), math.rad(0), math.rad(100-5*math.cos(sine/30))), 0.3) | |
| 2759 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15-10*math.cos(sine/30)), math.rad(0), math.rad(-100+5*math.cos(sine/30))), 0.3) | |
| 2760 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2761 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2762 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2763 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2764 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2765 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2766 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2767 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2768 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3) | |
| 2769 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2770 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2771 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2772 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2773 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2774 | ||
| 2775 | arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(360),math.rad(180),math.rad(-90)),0.2) | |
| 2776 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(90),math.rad(-90)),0.2) | |
| 2777 | arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2778 | arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(360),math.rad(180),math.rad(-45)),0.2) | |
| 2779 | arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2780 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(180),math.rad(90)),0.2) | |
| 2781 | ||
| 2782 | arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(180),math.rad(90)),0.2) | |
| 2783 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(90),math.rad(-90)),0.2) | |
| 2784 | arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2785 | arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(180),math.rad(-45)),0.2) | |
| 2786 | arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2787 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2788 | else | |
| 2789 | if attack==false and sphere==true and rest==false then | |
| 2790 | Humanoid.WalkSpeed = 16 | |
| 2791 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0+1*math.cos(sine/20),0,12-0.5*math.cos(sine/40))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1) | |
| 2792 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2793 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2794 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2795 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2796 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2797 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2798 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2799 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2800 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2801 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2802 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2803 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2804 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2805 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2806 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2807 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2808 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2809 | ||
| 2810 | arm3pw.C0=clerp(arm2pw.C0,cf(0,-0,0)*angles(math.rad(0),math.rad(0),math.rad(-0)),0.2) | |
| 2811 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-0)),0.2) | |
| 2812 | arm3p3w.C0=clerp(arm2p3w.C0,cf(-0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2813 | arm3p4w.C0=clerp(arm2p4w.C0,cf(-0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-0)),0.2) | |
| 2814 | arm3p5w.C0=clerp(arm2p5w.C0,cf(-0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2815 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
| 2816 | ||
| 2817 | arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2818 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2819 | arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2820 | arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2821 | arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2822 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2823 | ||
| 2824 | else | |
| 2825 | if attack==false and sphere==true and rest==true then | |
| 2826 | Humanoid.WalkSpeed = 0 | |
| 2827 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(2.5+2.5*math.cos(sine/20)),math.rad(30),math.rad(0)),.1) | |
| 2828 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2829 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2830 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2831 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2832 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2833 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2834 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2835 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2836 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2837 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2838 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2839 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2840 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2841 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2842 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2843 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2844 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2845 | ||
| 2846 | arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2847 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2848 | arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2849 | arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2850 | arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2851 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2852 | ||
| 2853 | arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2854 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2855 | arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2856 | arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2857 | arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2858 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2859 | end | |
| 2860 | end | |
| 2861 | end | |
| 2862 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 2863 | Anim="Walk" | |
| 2864 | if attack==false and sphere==false then | |
| 2865 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
| 2866 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2867 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3) | |
| 2868 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3) | |
| 2869 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2870 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2871 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2872 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2873 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2874 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2875 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2876 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2877 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3) | |
| 2878 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2879 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2880 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2881 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2882 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2883 | ||
| 2884 | arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(360),math.rad(180),math.rad(-90)),0.2) | |
| 2885 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(90),math.rad(-90)),0.2) | |
| 2886 | arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2887 | arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(360),math.rad(180),math.rad(-45)),0.2) | |
| 2888 | arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2889 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(180),math.rad(90)),0.2) | |
| 2890 | ||
| 2891 | arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(180),math.rad(90)),0.2) | |
| 2892 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(90),math.rad(-90)),0.2) | |
| 2893 | arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2894 | arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(180),math.rad(-45)),0.2) | |
| 2895 | arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2896 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2897 | else | |
| 2898 | if attack==false and sphere==true then | |
| 2899 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
| 2900 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2901 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2902 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2903 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2904 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2905 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2906 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2907 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2908 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2909 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2910 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2911 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2912 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2913 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2914 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2915 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2916 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2917 | ||
| 2918 | arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2919 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2920 | arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2921 | arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2922 | arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2923 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2924 | ||
| 2925 | arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2926 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2927 | arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2928 | arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2929 | arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2930 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2931 | end | |
| 2932 | end | |
| 2933 | elseif torvel>=22 and hitfloor~=nil then | |
| 2934 | Anim="Run" | |
| 2935 | if attack==false and sphere==false then | |
| 2936 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
| 2937 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 2938 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3) | |
| 2939 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3) | |
| 2940 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 2941 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 2942 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2943 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2944 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2945 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2946 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2947 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2948 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3) | |
| 2949 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
| 2950 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2951 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
| 2952 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
| 2953 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 2954 | ||
| 2955 | arm3pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(360),math.rad(120),math.rad(-90)),0.2) | |
| 2956 | arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(90),math.rad(-90)),0.2) | |
| 2957 | arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2958 | arm3p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(360),math.rad(180),math.rad(-75)),0.2) | |
| 2959 | arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2) | |
| 2960 | arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(180),math.rad(90)),0.2) | |
| 2961 | ||
| 2962 | arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(180),math.rad(90)),0.2) | |
| 2963 | arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(90),math.rad(-90)),0.2) | |
| 2964 | arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2965 | arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(180),math.rad(-45)),0.2) | |
| 2966 | arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2967 | arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(180),math.rad(0)),0.2) | |
| 2968 | end | |
| 2969 | end | |
| 2970 | end | |
| 2971 | if #Effects>0 then | |
| 2972 | --table.insert(Effects,{prt,"Block1",delay})
| |
| 2973 | for e=1,#Effects do | |
| 2974 | if Effects[e]~=nil then | |
| 2975 | --for j=1,#Effects[e] do | |
| 2976 | local Thing=Effects[e] | |
| 2977 | if Thing~=nil then | |
| 2978 | local Part=Thing[1] | |
| 2979 | local Mode=Thing[2] | |
| 2980 | local Delay=Thing[3] | |
| 2981 | local IncX=Thing[4] | |
| 2982 | local IncY=Thing[5] | |
| 2983 | local IncZ=Thing[6] | |
| 2984 | if Thing[1].Transparency<=1 then | |
| 2985 | if Thing[2]=="Block1" then | |
| 2986 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2987 | Mesh=Thing[1].Mesh | |
| 2988 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 2989 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 2990 | elseif Thing[2]=="Cylinder" then | |
| 2991 | Mesh=Thing[1].Mesh | |
| 2992 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 2993 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 2994 | elseif Thing[2]=="Blood" then | |
| 2995 | Mesh=Thing[7] | |
| 2996 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
| 2997 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 2998 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 2999 | elseif Thing[2]=="Elec" then | |
| 3000 | Mesh=Thing[1].Mesh | |
| 3001 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
| 3002 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 3003 | elseif Thing[2]=="Disappear" then | |
| 3004 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 3005 | end | |
| 3006 | else | |
| 3007 | Part.Parent=nil | |
| 3008 | table.remove(Effects,e) | |
| 3009 | end | |
| 3010 | end | |
| 3011 | --end | |
| 3012 | end | |
| 3013 | end | |
| 3014 | end | |
| 3015 | end |