SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,game,owner = owner,game | |
| 4 | local RealPlayer = Player | |
| 5 | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
| |
| 6 | ||
| 7 | --i used stravants Beautifier so it might look a bit wonky | |
| 8 | Meshes = {
| |
| 9 | Blast = '20329976', | |
| 10 | Crown = '1323306', | |
| 11 | Ring = '3270017', | |
| 12 | Claw = '10681506', | |
| 13 | Crystal = '9756362', | |
| 14 | Coil = '9753878', | |
| 15 | Cloud = '1095708', | |
| 16 | } | |
| 17 | clangsounds = {
| |
| 18 | '199149119', | |
| 19 | '199149109', | |
| 20 | '199149072', | |
| 21 | '199149025', | |
| 22 | '199148971' | |
| 23 | } | |
| 24 | hitsounds = {
| |
| 25 | '199149137', | |
| 26 | '199149186', | |
| 27 | '199149221', | |
| 28 | '199149235', | |
| 29 | '199149269', | |
| 30 | '199149297' | |
| 31 | } | |
| 32 | blocksounds = {
| |
| 33 | '199148933', | |
| 34 | '199148947' | |
| 35 | } | |
| 36 | armorsounds = {
| |
| 37 | '199149321', | |
| 38 | '199149338', | |
| 39 | '199149367', | |
| 40 | '199149409', | |
| 41 | '199149452' | |
| 42 | } | |
| 43 | woosh = {
| |
| 44 | Heavy1 = '320557353', | |
| 45 | Heavy2 = '320557382', | |
| 46 | Heavy3 = '320557453', | |
| 47 | Heavy4 = '199144226', | |
| 48 | Heavy5 = '203691447', | |
| 49 | Heavy6 = '203691467', | |
| 50 | Heavy7 = '203691492', | |
| 51 | Light1 = '320557413', | |
| 52 | Light2 = '320557487', | |
| 53 | Light3 = '199145095', | |
| 54 | Light4 = '199145146', | |
| 55 | Light5 = '199145887', | |
| 56 | Light6 = '199145913', | |
| 57 | Light7 = '199145841', | |
| 58 | Medium1 = '320557518', | |
| 59 | Medium2 = '320557537', | |
| 60 | Medium3 = '320557563', | |
| 61 | Medium4 = '199145204' | |
| 62 | } | |
| 63 | music = {--i like music a lot
| |
| 64 | Breaking = '179281636', | |
| 65 | FinalReckoning = '357375770', | |
| 66 | NotDeadYet = '346175829', | |
| 67 | Intense = '151514610', | |
| 68 | JumpP1 = '160536628', | |
| 69 | JumpP2 = '60536666', | |
| 70 | SonsOfWar = '158929777', | |
| 71 | WrathOfSea = '165520893', | |
| 72 | ProtecTorsofEarth = '160542922', | |
| 73 | SkyTitans = '179282324', | |
| 74 | ArchAngel = '144043274', | |
| 75 | Anticipation = '168614529', | |
| 76 | TheMartyred = '186849544', | |
| 77 | AwakeP1 = '335631255', | |
| 78 | AwakeP2 = '335631297', | |
| 79 | ReadyAimFireP1 = '342455387', | |
| 80 | ReadyAimFireP2 = '342455399', | |
| 81 | DarkLordP1 = '209567483', | |
| 82 | DarkLordP2 = '209567529', | |
| 83 | BloodDrainP1 = '162914123', | |
| 84 | BloodDrainP2 = '162914203', | |
| 85 | DanceOfSwords = '320473062', | |
| 86 | Opal = '286415112', | |
| 87 | Calamity = '190454307', | |
| 88 | Hypnotica = '155968128', | |
| 89 | Nemisis = '160453802', | |
| 90 | Breathe = '276963903', | |
| 91 | GateToTheRift = '270655227', | |
| 92 | InfernalBeserking = '244143404', | |
| 93 | Trust = '246184492', | |
| 94 | AwakeningTheProject = '245121821', | |
| 95 | BloodPain = '242545577', | |
| 96 | Chaos = '247241693', | |
| 97 | NightmareFictionHighStake = '248062278', | |
| 98 | TheWhiteWeapon = '247236446', | |
| 99 | Gale = '256851659', | |
| 100 | ImperialCode = '256848383', | |
| 101 | Blitzkrieg = '306431437', | |
| 102 | RhapsodyRage = '348690251', | |
| 103 | TheGodFist = '348541501', | |
| 104 | BattleForSoul = '321185592', | |
| 105 | TheDarkColossus = '305976780', | |
| 106 | EmpireOfAngels = '302580452', | |
| 107 | Kronos = '302205297', | |
| 108 | Exorcist = '299796054', | |
| 109 | CrimsonFlames = '297799220', | |
| 110 | UltimatePower = '295753229', | |
| 111 | DrivingInTheDark = '295753229', | |
| 112 | AscendToPower = '293860654', | |
| 113 | GodOfTheSun = '293612495', | |
| 114 | DarkRider = '293861765', | |
| 115 | Vengeance = '293375555', | |
| 116 | SoundOfWar = '293376196', | |
| 117 | HellsCrusaders = '293012202', | |
| 118 | Legend = '293011823', | |
| 119 | RisingSouls = '290524959' | |
| 120 | } | |
| 121 | misc = {
| |
| 122 | GroundSlam = '199145477', | |
| 123 | LaserSlash = '199145497', | |
| 124 | RailGunFire = '199145534', | |
| 125 | Charge1 = '199145659', | |
| 126 | Charge2 = '169380469', | |
| 127 | Charge3 = '169380479', | |
| 128 | EmptyGun = '203691822', | |
| 129 | GunShoot = '203691837', | |
| 130 | Stomp1 = '200632875', | |
| 131 | Stomp2 = '200632561', | |
| 132 | TelsaCannonCharge = '169445572', | |
| 133 | TelsaCannonShoot = '169445602', | |
| 134 | AncientHymm = '245313442' | |
| 135 | } | |
| 136 | wait() | |
| 137 | local Player = game.Players.localPlayer | |
| 138 | local Character = Player.Character | |
| 139 | local Humanoid = Character.Humanoid | |
| 140 | local mouse = Player:GetMouse() | |
| 141 | local m = Instance.new('Model', Character)
| |
| 142 | m.Name = "WeaponModel" | |
| 143 | local Effects = {}
| |
| 144 | local LeftArm = Character["Left Arm"] | |
| 145 | local RightArm = Character["Right Arm"] | |
| 146 | local LeftLeg = Character["Left Leg"] | |
| 147 | local RightLeg = Character["Right Leg"] | |
| 148 | local Head = Character.Head | |
| 149 | local Torso = Character.Torso | |
| 150 | local cam = game.Workspace.CurrentCamera | |
| 151 | local RootPart = Character.HumanoidRootPart | |
| 152 | local RootJoint = RootPart.RootJoint | |
| 153 | --cam.CameraSubject = Head | |
| 154 | local equipped = false | |
| 155 | local attack = false | |
| 156 | local Anim = 'Idle' | |
| 157 | local idle = 0 | |
| 158 | local sprint = false | |
| 159 | local battlestance = false | |
| 160 | local attacktype = 1 | |
| 161 | local state = 'none' | |
| 162 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 163 | local velocity = RootPart.Velocity.y | |
| 164 | local sine = 0 | |
| 165 | local change = 1 | |
| 166 | local on = false | |
| 167 | local grabbed = false | |
| 168 | local skill1 = false | |
| 169 | local skill2 = false | |
| 170 | local skill3 = false | |
| 171 | local skill4 = false | |
| 172 | local cooldown1 = 0 | |
| 173 | local cooldown2 = 0 | |
| 174 | local cooldown3 = 0 | |
| 175 | local cooldown4 = 0 | |
| 176 | local co1 = 10--how long it will take for skill to cooldown | |
| 177 | local co2 = 15 | |
| 178 | local co3 = 15 | |
| 179 | local co4 = 35 | |
| 180 | local inputserv = game:GetService('UserInputService')
| |
| 181 | local typing = false | |
| 182 | local crit = false | |
| 183 | local critchance = 9999999--critical chance percentage | |
| 184 | local critdamageaddmin = 9999999--minimum amount of critical damage being added to regular damage | |
| 185 | local critdamageaddmax = 9999999--maximum amount | |
| 186 | local maxstamina = 100--max amount of stamina | |
| 187 | local stamina = 0--stamina you start out with | |
| 188 | local skill1stam = 0--how much stamina is needed for a skill | |
| 189 | local skill2stam = 0 | |
| 190 | local skill3stam = 0 | |
| 191 | local skill4stam = 0 | |
| 192 | local recoverEnergy = 9999999--how much Energy per second | |
| 193 | local defensevalue = 9999999--how much defense this character has | |
| 194 | local speedvalue = 1--how much speed this character has | |
| 195 | --speed is 16*speedvalue | |
| 196 | local mindamage = 9999999--self explanatory | |
| 197 | local maxdamage = 9999999--self explanatory | |
| 198 | local damagevalue = 999999--how much damage this character has | |
| 199 | --damage is math.random(mindamage,maxdamage)*damagevalue | |
| 200 | --damage(hit, mindamage, maxdamage, 1, 1, RootPart) | |
| 201 | --asd | |
| 202 | local cn = CFrame.new-- make things easier :) | |
| 203 | local mr = math.rad | |
| 204 | local angles = CFrame.Angles | |
| 205 | local ud = UDim2.new | |
| 206 | local c3 = Color3.new | |
| 207 | local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol | |
| 208 | --asd | |
| 209 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 210 | Humanoid.Animator:Destroy() | |
| 211 | Character.Animate:Destroy() | |
| 212 | ||
| 213 | --Angles For RootJoint `~` | |
| 214 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 215 | --Save Shoulders/Hips | |
| 216 | RSH, LSH = nil, nil | |
| 217 | RHS, LHS = nil, nil | |
| 218 | --Shoulders | |
| 219 | RW = Instance.new("Weld")
| |
| 220 | LW = Instance.new("Weld")
| |
| 221 | --Hips | |
| 222 | RH = Instance.new("Weld")
| |
| 223 | LH = Instance.new("Weld")
| |
| 224 | -- | |
| 225 | Player = Player | |
| 226 | ch = Character | |
| 227 | LHS = Torso["Left Hip"] | |
| 228 | RHS = Torso["Right Hip"] | |
| 229 | RSH = ch.Torso["Right Shoulder"] | |
| 230 | LSH = ch.Torso["Left Shoulder"] | |
| 231 | -- | |
| 232 | RSH.Parent = nil | |
| 233 | LSH.Parent = nil | |
| 234 | -- | |
| 235 | LHS.Parent = nil | |
| 236 | RHS.Parent = nil | |
| 237 | -- | |
| 238 | RW.Name = "RW" | |
| 239 | RW.Part0 = ch.Torso | |
| 240 | RW.C0 = cn(1.5, 0.5, 0) | |
| 241 | RW.C1 = cn(0, 0.5, 0) | |
| 242 | RW.Part1 = ch["Right Arm"] | |
| 243 | RW.Parent = ch.Torso | |
| 244 | -- | |
| 245 | LW.Name = "LW" | |
| 246 | LW.Part0 = ch.Torso | |
| 247 | LW.C0 = cn(-1.5, 0.5, 0) | |
| 248 | LW.C1 = cn(0, 0.5, 0) | |
| 249 | LW.Part1 = ch["Left Arm"] | |
| 250 | LW.Parent = ch.Torso | |
| 251 | -- | |
| 252 | LH.Name = "LH" | |
| 253 | LH.Part0 = ch.Torso | |
| 254 | LH.C0 = cn(-0.5, -2, 0) | |
| 255 | LH.Part1 = ch["Left Leg"] | |
| 256 | LH.Parent = ch.Torso | |
| 257 | -- | |
| 258 | RH.Name = "RH" | |
| 259 | RH.Part0 = ch.Torso | |
| 260 | RH.C0 = cn(0.5, -2, 0) | |
| 261 | RH.Part1 = ch["Right Leg"] | |
| 262 | RH.Parent = ch.Torso | |
| 263 | ||
| 264 | local scrn = Instance.new('ScreenGui', Player.PlayerGui)
| |
| 265 | function makeframe(par, trans, pos, size, color) | |
| 266 | local frame = Instance.new('Frame', par)
| |
| 267 | frame.BackgroundTransparency = trans | |
| 268 | frame.BorderSizePixel = 0 | |
| 269 | frame.Position = pos | |
| 270 | frame.Size = size | |
| 271 | frame.BackgroundColor3 = color | |
| 272 | return frame | |
| 273 | end | |
| 274 | function makelabel(par, text) | |
| 275 | local label = Instance.new('TextLabel', par)
| |
| 276 | label.BackgroundTransparency = 1 | |
| 277 | label.Size = ud(1, 0, 1, 0) | |
| 278 | label.Position = ud(0, 0, 0, 0) | |
| 279 | label.TextColor3 = c3(255, 255, 255) | |
| 280 | label.TextStrokeTransparency = 0 | |
| 281 | label.FontSize = Enum.FontSize.Size32 | |
| 282 | label.Font = Enum.Font.SourceSansBold | |
| 283 | label.BorderSizePixel = 0 | |
| 284 | label.TextScaled = true | |
| 285 | label.Text = text | |
| 286 | end | |
| 287 | framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 288 | framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 289 | framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 290 | framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 291 | bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 292 | bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 293 | bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 294 | bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 295 | text1 = makelabel(framesk1, '[t] Reflex') | |
| 296 | text2 = makelabel(framesk2, '[f] Luxuriance') | |
| 297 | text3 = makelabel(framesk3, "[r] Lucent Scatter") | |
| 298 | text4 = makelabel(framesk4, '[q] Echo Barrage') | |
| 299 | staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), BrickColor.new("Really black").Color)
| |
| 300 | staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), BrickColor.new("Hot pink").Color)
| |
| 301 | staminatext = makelabel(staminabar, 'Photon Energy') | |
| 302 | healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0)) | |
| 303 | healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), BrickColor.new("Lime green").Color)
| |
| 304 | healthtext = makelabel(healthbar, 'Health') | |
| 305 | ||
| 306 | local stats = Instance.new('Folder', Character)
| |
| 307 | stats.Name = 'Stats' | |
| 308 | local block = Instance.new('BoolValue', stats)
| |
| 309 | block.Name = 'Block' | |
| 310 | block.Value = false | |
| 311 | local stun = Instance.new('BoolValue', stats)
| |
| 312 | stun.Name = 'Stun' | |
| 313 | stun.Value = false | |
| 314 | local defense = Instance.new('NumberValue', stats)
| |
| 315 | defense.Name = 'Defence' | |
| 316 | defense.Value = defensevalue | |
| 317 | local speed = Instance.new('NumberValue', stats)
| |
| 318 | speed.Name = 'Speed' | |
| 319 | speed.Value = speedvalue | |
| 320 | local damagea = Instance.new('NumberValue', stats)
| |
| 321 | damagea.Name = 'Damage' | |
| 322 | damagea.Value = damagevalue | |
| 323 | gyro = Instance.new("BodyGyro")
| |
| 324 | gyro.Parent = nil | |
| 325 | gyro.P = 1e7 | |
| 326 | gyro.D = 1e3 | |
| 327 | gyro.MaxTorque = Vector3.new(0,1e7,0) | |
| 328 | ||
| 329 | function atktype(s, e) | |
| 330 | coroutine.resume(coroutine.create(function() | |
| 331 | attacktype = e | |
| 332 | wait() | |
| 333 | attacktype = s | |
| 334 | end)) | |
| 335 | end | |
| 336 | ||
| 337 | function turncrit() | |
| 338 | coroutine.resume(coroutine.create(function() | |
| 339 | print'CRITICAL!' | |
| 340 | crit = true | |
| 341 | wait() | |
| 342 | crit = false | |
| 343 | end)) | |
| 344 | end | |
| 345 | ||
| 346 | function subtractstamina(k) | |
| 347 | if stamina >= k then | |
| 348 | stamina = stamina - k | |
| 349 | end | |
| 350 | end | |
| 351 | ||
| 352 | function clerp(a, b, t) | |
| 353 | return a:lerp(b, t) | |
| 354 | end | |
| 355 | ||
| 356 | function randomizer(percent) | |
| 357 | local randomized = math.random(0, 100) | |
| 358 | if randomized <= percent then | |
| 359 | return true | |
| 360 | elseif randomized >= percent then | |
| 361 | return false | |
| 362 | end | |
| 363 | end | |
| 364 | ||
| 365 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 366 | local Create = RbxUtility.Create | |
| 367 | ||
| 368 | function RemoveOutlines(part) | |
| 369 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 370 | end | |
| 371 | ||
| 372 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 373 | local Part = Create("Part"){
| |
| 374 | formFactor = FormFactor, | |
| 375 | Parent = Parent, | |
| 376 | Reflectance = Reflectance, | |
| 377 | Transparency = Transparency, | |
| 378 | CanCollide = false, | |
| 379 | Locked = true, | |
| 380 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 381 | Name = Name, | |
| 382 | Size = Size, | |
| 383 | Material = Material, | |
| 384 | } | |
| 385 | RemoveOutlines(Part) | |
| 386 | return Part | |
| 387 | end | |
| 388 | ||
| 389 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 390 | local Msh = Create(Mesh){
| |
| 391 | Parent = Part, | |
| 392 | Offset = OffSet, | |
| 393 | Scale = Scale, | |
| 394 | } | |
| 395 | if Mesh == "SpecialMesh" then | |
| 396 | Msh.MeshType = MeshType | |
| 397 | Msh.MeshId = MeshId | |
| 398 | end | |
| 399 | return Msh | |
| 400 | end | |
| 401 | ||
| 402 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 403 | local Weld = Create("Weld"){
| |
| 404 | Parent = Parent, | |
| 405 | Part0 = Part0, | |
| 406 | Part1 = Part1, | |
| 407 | C0 = C0, | |
| 408 | C1 = C1, | |
| 409 | } | |
| 410 | return Weld | |
| 411 | end | |
| 412 | ||
| 413 | function rayCast(pos, dir, maxl, ignore) | |
| 414 | return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
| |
| 415 | end | |
| 416 | --Effects | |
| 417 | function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type) | |
| 418 | local p = Instance.new('Part', par or workspace)
| |
| 419 | p.CFrame = pos1 | |
| 420 | p.Anchored = true | |
| 421 | p.Material = 'SmoothPlastic' | |
| 422 | p.CanCollide = false | |
| 423 | p.TopSurface = 0 | |
| 424 | p.Size = Vector3.new(1, 1, 1) | |
| 425 | p.BottomSurface = 0 | |
| 426 | p.Transparency = trans | |
| 427 | p.FormFactor = 'Custom' | |
| 428 | RemoveOutlines(p) | |
| 429 | local mesh = Instance.new('SpecialMesh', p)
| |
| 430 | mesh.Scale = size | |
| 431 | if id ~= nil and type == nil then | |
| 432 | mesh.MeshId = 'rbxassetid://'..id | |
| 433 | elseif id == nil and type ~= nil then | |
| 434 | mesh.MeshType = type | |
| 435 | elseif id == nil and type == nil then | |
| 436 | mesh.MeshType = 'Brick' | |
| 437 | end | |
| 438 | coroutine.wrap(function() | |
| 439 | for i = 0, delay1, .1 do | |
| 440 | wait() | |
| 441 | p.CFrame = p.CFrame | |
| 442 | mesh.Scale = mesh.Scale + howmuch | |
| 443 | p.Transparency = p.Transparency + trans1 | |
| 444 | end | |
| 445 | p:Destroy() | |
| 446 | end)() | |
| 447 | return p | |
| 448 | end | |
| 449 | function clangy(cframe) | |
| 450 | wait() | |
| 451 | local clang = {}
| |
| 452 | local dis = 0 | |
| 453 | local part = Instance.new('Part', nil)
| |
| 454 | part.CFrame = cframe | |
| 455 | part.Anchored = true | |
| 456 | part.CanCollide = false | |
| 457 | part.BrickColor = BrickColor.new('New Yeller')
| |
| 458 | part.FormFactor = 'Custom' | |
| 459 | part.Name = 'clanger' | |
| 460 | part.Size = Vector3.new(.2, .2, .2) | |
| 461 | part.TopSurface = 10 | |
| 462 | part.BottomSurface = 10 | |
| 463 | part.RightSurface = 10 | |
| 464 | part.LeftSurface = 10 | |
| 465 | part.BackSurface = 10 | |
| 466 | part.FrontSurface = 10 | |
| 467 | --part.Material='Neon' | |
| 468 | part:BreakJoints() | |
| 469 | local mesh = Instance.new('BlockMesh', part)
| |
| 470 | coroutine.wrap(function() | |
| 471 | for i = 1, 7 do | |
| 472 | wait() | |
| 473 | dis = dis + .2 | |
| 474 | local partc = part:clone() | |
| 475 | partc.Parent = workspace | |
| 476 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
| 477 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
| 478 | table.insert(clang, partc) | |
| 479 | end | |
| 480 | for i, v in pairs(clang) do | |
| 481 | coroutine.wrap(function() | |
| 482 | for i = 1, 10 do | |
| 483 | wait() | |
| 484 | v.Transparency = v.Transparency + .1 | |
| 485 | end | |
| 486 | v:destroy() | |
| 487 | end)() | |
| 488 | end | |
| 489 | end)() | |
| 490 | end | |
| 491 | --damage effects | |
| 492 | function circle(color, pos1) | |
| 493 | local p = Instance.new('Part', m)
| |
| 494 | p.BrickColor = BrickColor.new(color) | |
| 495 | p.CFrame = pos1 | |
| 496 | p.Anchored = true | |
| 497 | p.Material = 'Plastic' | |
| 498 | p.CanCollide = false | |
| 499 | p.TopSurface = 0 | |
| 500 | p.Size = Vector3.new(1, 1, 1) | |
| 501 | p.BottomSurface = 0 | |
| 502 | p.Transparency = 0.35 | |
| 503 | p.FormFactor = 'Custom' | |
| 504 | local mesh = Instance.new('CylinderMesh', p)
| |
| 505 | mesh.Scale = Vector3.new(0, 0, 0) | |
| 506 | coroutine.wrap(function() | |
| 507 | for i = 0, 5, .1 do | |
| 508 | wait() | |
| 509 | p.CFrame = p.CFrame | |
| 510 | mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5) | |
| 511 | p.Transparency = p.Transparency + .025 | |
| 512 | end | |
| 513 | p:Destroy() | |
| 514 | end)() | |
| 515 | end | |
| 516 | function firespaz1(color, pos1) | |
| 517 | local p = Instance.new('Part', m)
| |
| 518 | p.BrickColor = BrickColor.new(color) | |
| 519 | p.CFrame = pos1 | |
| 520 | p.Anchored = true | |
| 521 | p.Material = 'Plastic' | |
| 522 | p.CanCollide = false | |
| 523 | p.TopSurface = 0 | |
| 524 | p.Size = Vector3.new(1, 1, 1) | |
| 525 | p.BottomSurface = 0 | |
| 526 | p.Transparency = 0.5 | |
| 527 | p.FormFactor = 'Custom' | |
| 528 | local mesh = Instance.new('BlockMesh', p)
| |
| 529 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 530 | coroutine.wrap(function() | |
| 531 | for i = 0, 15, .1 do | |
| 532 | wait() | |
| 533 | p.CFrame = p.CFrame * CFrame.new(0, .1, 0) | |
| 534 | mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1) | |
| 535 | p.Transparency = p.Transparency + .025 | |
| 536 | end | |
| 537 | p:Destroy() | |
| 538 | end)() | |
| 539 | end | |
| 540 | ||
| 541 | function pickrandom(tablesa) | |
| 542 | local randomized = tablesa[math.random(1, #tablesa)] | |
| 543 | return randomized | |
| 544 | end | |
| 545 | function sound(id, pitch, volume, par, last) | |
| 546 | local s = Instance.new('Sound', par or Torso)
| |
| 547 | s.SoundId = 'rbxassetid://'..id | |
| 548 | s.Pitch = pitch or 1 | |
| 549 | s.Volume = volume or 1 | |
| 550 | wait() | |
| 551 | s:play() | |
| 552 | game.Debris:AddItem(s, last or 120) | |
| 553 | end | |
| 554 | function clangy(cframe) | |
| 555 | wait() | |
| 556 | local clang = {}
| |
| 557 | local dis = 0 | |
| 558 | local part = Instance.new('Part', nil)
| |
| 559 | part.CFrame = cframe | |
| 560 | part.Anchored = true | |
| 561 | part.CanCollide = false | |
| 562 | part.BrickColor = BrickColor.new('New Yeller')
| |
| 563 | part.FormFactor = 'Custom' | |
| 564 | part.Name = 'clanger' | |
| 565 | part.Size = Vector3.new(.2, .2, .2) | |
| 566 | part.TopSurface = 10 | |
| 567 | part.BottomSurface = 10 | |
| 568 | part.RightSurface = 10 | |
| 569 | part.LeftSurface = 10 | |
| 570 | part.BackSurface = 10 | |
| 571 | part.FrontSurface = 10 | |
| 572 | --part.Material='Neon' | |
| 573 | part:BreakJoints() | |
| 574 | local mesh = Instance.new('BlockMesh', part)
| |
| 575 | coroutine.wrap(function() | |
| 576 | for i = 1, 7 do | |
| 577 | wait() | |
| 578 | dis = dis + .2 | |
| 579 | local partc = part:clone() | |
| 580 | partc.Parent = workspace | |
| 581 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
| 582 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
| 583 | table.insert(clang, partc) | |
| 584 | end | |
| 585 | for i, v in pairs(clang) do | |
| 586 | coroutine.wrap(function() | |
| 587 | for i = 1, 10 do | |
| 588 | wait() | |
| 589 | v.Transparency = v.Transparency + .1 | |
| 590 | end | |
| 591 | v:destroy() | |
| 592 | end)() | |
| 593 | end | |
| 594 | end)() | |
| 595 | end | |
| 596 | --damage effects | |
| 597 | --Effects | |
| 598 | so = function(id, par, vol, pit) | |
| 599 | coroutine.resume(coroutine.create(function() | |
| 600 | local sou = Instance.new("Sound", par or workspace)
| |
| 601 | sou.Volume = vol | |
| 602 | sou.Pitch = pit or 1 | |
| 603 | sou.SoundId = id | |
| 604 | wait() | |
| 605 | sou:play() | |
| 606 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 607 | end)) | |
| 608 | end | |
| 609 | ||
| 610 | local function getclosest(obj, distance) | |
| 611 | local last, lastx = distance + 1 | |
| 612 | for i, v in pairs(workspace:GetChildren()) do | |
| 613 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
| |
| 614 | local t = v.Torso | |
| 615 | local dist = (t.Position - obj.Position).magnitude | |
| 616 | if dist <= distance then | |
| 617 | if dist < last then | |
| 618 | last = dist | |
| 619 | lastx = v | |
| 620 | end | |
| 621 | end | |
| 622 | end | |
| 623 | end | |
| 624 | return lastx | |
| 625 | end | |
| 626 | ||
| 627 | function makegui(cframe, text) | |
| 628 | local a = math.random(-10, 10) / 100 | |
| 629 | local c = Instance.new("Part")
| |
| 630 | c.Transparency = 1 | |
| 631 | Instance.new("BodyGyro").Parent = c
| |
| 632 | c.Parent = m | |
| 633 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
| 634 | local f = Instance.new("BodyPosition")
| |
| 635 | f.P = 2000 | |
| 636 | f.D = 100 | |
| 637 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 638 | f.position = c.Position + Vector3.new(0, 3, 0) | |
| 639 | f.Parent = c | |
| 640 | game:GetService("Debris"):AddItem(c, .5 + 6)
| |
| 641 | c.CanCollide = false | |
| 642 | c.CanCollide = false | |
| 643 | local bg = Instance.new('BillboardGui', m)
| |
| 644 | bg.Adornee = c | |
| 645 | bg.Size = UDim2.new(1, 0, 1, 0) | |
| 646 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
| 647 | bg.AlwaysOnTop = false | |
| 648 | local tl = Instance.new('TextLabel', bg)
| |
| 649 | tl.BackgroundTransparency = 1 | |
| 650 | tl.Size = UDim2.new(1, 0, 1, 0) | |
| 651 | tl.Text = text | |
| 652 | tl.Font = 'SourceSansBold' | |
| 653 | tl.FontSize = 'Size42' | |
| 654 | if crit == true then | |
| 655 | tl.TextColor3 = Color3.new(180 / 255, 0, 0) | |
| 656 | else | |
| 657 | tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255) | |
| 658 | end | |
| 659 | tl.TextStrokeTransparency = 0 | |
| 660 | tl.TextScaled = true | |
| 661 | tl.TextWrapped = true | |
| 662 | coroutine.wrap(function() | |
| 663 | wait() | |
| 664 | for i = 1, 10 do | |
| 665 | wait() | |
| 666 | tl.TextTransparency = tl.TextTransparency + .1 | |
| 667 | end | |
| 668 | end)() | |
| 669 | end | |
| 670 | ||
| 671 | function tag(hum, Player) | |
| 672 | local creator = Instance.new('ObjectValue', hum)
| |
| 673 | creator.Value = Player | |
| 674 | creator.Name = 'creator' | |
| 675 | end | |
| 676 | function untag(hum) | |
| 677 | if hum ~= nil then | |
| 678 | local tag = hum:findFirstChild("creator")
| |
| 679 | if tag ~= nil then | |
| 680 | tag.Parent = nil | |
| 681 | end | |
| 682 | end | |
| 683 | end | |
| 684 | ||
| 685 | function tagPlayer(h) | |
| 686 | coroutine.wrap(function() | |
| 687 | tag(h, Player) | |
| 688 | wait() | |
| 689 | untag(h) | |
| 690 | end)() | |
| 691 | end | |
| 692 | ||
| 693 | function CheckClose(Obj,Dist) | |
| 694 | for _,v in pairs(workspace:GetChildren()) do | |
| 695 | if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Character then
| |
| 696 | local DistFromTorso = (v.Torso.Position - Obj.Position).magnitude | |
| 697 | if DistFromTorso < Dist then | |
| 698 | return v | |
| 699 | end | |
| 700 | end | |
| 701 | end | |
| 702 | end | |
| 703 | ||
| 704 | function damage(hit, mind, maxd, knock, type, prop) | |
| 705 | --[[ | |
| 706 | to apply it to a Player directly, make the first arg go to the Players Torso | |
| 707 | 1 - normal type(damage and knockback) | |
| 708 | 2 - drain type(damage no knockback) | |
| 709 | 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed | |
| 710 | 4 - heal(heals target) | |
| 711 | 5 - subtracts enemies defense | |
| 712 | 6 - subtracts enemies speed | |
| 713 | 7 - | |
| 714 | ]] | |
| 715 | if hit.Name:lower() == 'Hitbox' then | |
| 716 | local pos = CFrame.new(0, 1, -1) | |
| 717 | sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6) | |
| 718 | coroutine.wrap(function() | |
| 719 | for i = 1, 4 do | |
| 720 | clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)) | |
| 721 | end | |
| 722 | end)() | |
| 723 | end | |
| 724 | if hit.Parent == nil then | |
| 725 | return | |
| 726 | end | |
| 727 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 728 | for i, v in pairs(hit.Parent:children()) do | |
| 729 | if v:IsA("Humanoid") then
| |
| 730 | h = v | |
| 731 | end | |
| 732 | end | |
| 733 | if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
| |
| 734 | h = hit.Parent.Parent:FindFirstChild('Humanoid')
| |
| 735 | end | |
| 736 | if hit.Parent:IsA('Hat') then
| |
| 737 | hit = hit.Parent.Parent:findFirstChild('Head')
| |
| 738 | end | |
| 739 | local D = math.random(mind, maxd) * damagea.Value | |
| 740 | if h then | |
| 741 | if h.Parent:FindFirstChild('Stats') then
| |
| 742 | D=D/h.Parent:FindFirstChild('Stats').Defence.Value
| |
| 743 | elseif not h.Parent:FindFirstChild('Stats') then
| |
| 744 | D=D | |
| 745 | end | |
| 746 | end | |
| 747 | if h then | |
| 748 | makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5))) | |
| 749 | end | |
| 750 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 751 | if type == 1 then | |
| 752 | tagPlayer(h) | |
| 753 | local asd = randomizer(critchance) | |
| 754 | if asd == true then | |
| 755 | turncrit() | |
| 756 | end | |
| 757 | if crit == false then | |
| 758 | h.Health = h.Health - D | |
| 759 | else | |
| 760 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 761 | end | |
| 762 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
| |
| 763 | local vp = Instance.new('BodyVelocity')
| |
| 764 | vp.P = 500 | |
| 765 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 766 | vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05 | |
| 767 | if knock > 0 then | |
| 768 | vp.Parent = hit.Parent.Torso | |
| 769 | end | |
| 770 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 771 | elseif type == 2 then | |
| 772 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
| |
| 773 | local asd = randomizer(critchance) | |
| 774 | if asd == true then | |
| 775 | turncrit() | |
| 776 | end | |
| 777 | if crit == false then | |
| 778 | h.Health = h.Health - D | |
| 779 | else | |
| 780 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 781 | end | |
| 782 | tagPlayer(h) | |
| 783 | elseif type == 3 then | |
| 784 | tagPlayer(h) | |
| 785 | local asd = randomizer(critchance) | |
| 786 | if asd == true then | |
| 787 | turncrit() | |
| 788 | end | |
| 789 | if crit == false then | |
| 790 | h.Health = h.Health - D | |
| 791 | else | |
| 792 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 793 | end | |
| 794 | Character.Humanoid.Health = Character.Humanoid.Health + D / 2 | |
| 795 | so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
| |
| 796 | for i = 1, 10 do | |
| 797 | firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
| |
| 798 | end | |
| 799 | elseif type == 4 then | |
| 800 | h.Health = h.Health + D | |
| 801 | so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
| |
| 802 | circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
| |
| 803 | end | |
| 804 | end | |
| 805 | end | |
| 806 | ||
| 807 | function subtrackstamina(k) | |
| 808 | if stamina >= k then | |
| 809 | stamina = stamina - k | |
| 810 | end | |
| 811 | end | |
| 812 | ||
| 813 | HandleA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleA",Vector3.new(0.200000003, 0.256000012, 0.896000028)) | |
| 814 | HandleAweld=CreateWeld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.969136477, -0.00157141685, 0.385794818, 1.8189894e-012, -0.999995947, 5.21540642e-007, 0.999999762, 1.81898897e-012, 9.74654385e-013, -7.32133104e-013, 5.21538425e-007, 1)) | |
| 815 | CreateMesh("BlockMesh",HandleA,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1))
| |
| 816 | HandleB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleB",Vector3.new(0.200000003, 0.256000012, 0.896000028)) | |
| 817 | HandleBweld=CreateWeld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.969139576, -0.00157129765, 0.385794759, 1.81901087e-012, -0.999999881, 5.21546838e-007, 1, 1.8190113e-012, 1.20202969e-012, -1.20203066e-012, 5.21546781e-007, 1)) | |
| 818 | CreateMesh("BlockMesh",HandleB,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1))
| |
| 819 | FakeHandleA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","FakeHandleA",Vector3.new(0.200000003, 0.256000012, 0.496000051)) | |
| 820 | FakeHandleAweld=CreateWeld(m,HandleA,FakeHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.66893005e-006, -1.1920929e-007, 0, 0.999992013, 7.55563563e-018, 4.206413e-012, 7.01353372e-018, 0.999999404, 2.42520739e-013, 4.32009983e-012, 2.42522365e-013, 1)) | |
| 821 | CreateMesh("BlockMesh",FakeHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1))
| |
| 822 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 823 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.46283865, -0.0531138182, -0.000952363014, -0.999995947, 1.00897567e-012, 5.21538198e-007, -5.21540414e-007, -5.79337901e-013, -1, -1.00897871e-012, -0.999999642, 3.36817813e-013)) | |
| 824 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 825 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 826 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952482224, -0.446709782, -0.193131208, 2.83093277e-006, 0.999999642, -3.04522609e-006, -7.05200193e-007, -3.04522314e-006, -1, -0.999995947, 2.83094528e-006, 7.05190132e-007)) | |
| 827 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 828 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
| 829 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0690844059, -0.0718523264, 0.394913316, -0.707372546, 1.49017545e-008, -0.706838131, -7.89236623e-008, -0.999999642, 5.79014454e-008, -0.70683527, 9.67446709e-008, 0.707375348)) | |
| 830 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 831 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 832 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.22985673, 0.330393285, 0.128970504, -0.999995947, 2.91118395e-005, 0.000388933928, 0.000388931512, -2.88635401e-005, 1, 2.91229535e-005, 0.999999642, 2.88522242e-005)) | |
| 833 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375))
| |
| 834 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 835 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.22985673, 0.330393285, 0.128970504, -0.999995947, 2.91118395e-005, 0.000388933928, 0.000388931512, -2.88635401e-005, 1, 2.91229535e-005, 0.999999642, 2.88522242e-005)) | |
| 836 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375))
| |
| 837 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 838 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000954985619, 0.46309948, 0.577915907, 2.08608085e-007, 0.999999642, 4.43563515e-008, -0.999995947, 2.0860881e-007, 9.0896873e-007, 9.08969355e-007, -4.43562875e-008, 1)) | |
| 839 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 840 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 841 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952601433, -0.46309948, -0.577939391, -5.96009748e-008, 0.999999642, 1.78326225e-008, 0.999995947, 5.96012093e-008, -7.89759383e-007, -7.8976052e-007, 1.78323258e-008, -1)) | |
| 842 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 843 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 844 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952720642, -0.72529912, 0.577960372, 3.77829451e-007, -0.999999642, -5.66733604e-007, 0.999995947, 3.77831128e-007, -5.21538368e-007, 5.21540812e-007, -5.66732922e-007, 1)) | |
| 845 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 846 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 847 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0618202686, -0.57786119, -0.000952601433, -0.999995947, 2.76042605e-010, 5.21538198e-007, -5.21540414e-007, -4.75706585e-010, -1, -2.76041356e-010, -0.999999642, 4.7546439e-010)) | |
| 848 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 849 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
| 850 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.394863844, -0.0697959661, -0.0693871975, -0.707371831, 1.49031312e-008, 0.706838787, -5.17638155e-009, 0.999999642, -2.62642939e-008, -0.706835926, -2.22377423e-008, -0.707374692)) | |
| 851 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 852 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 853 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.22960186, -0.325974345, 0.126894236, -0.999995947, -2.91118213e-005, -0.000387890788, 0.000387888373, 2.88337342e-005, -1, 2.91228953e-005, -0.999999642, -2.88224492e-005)) | |
| 854 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375))
| |
| 855 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 856 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000954151154, 0.462881565, 0.0781461895, -4.01817232e-007, -0.999999642, 1.08038626e-006, -0.999990225, 4.0182158e-007, 5.21535412e-007, -5.21538084e-007, -1.08039217e-006, -0.999994278)) | |
| 857 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 858 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.393659979, 0.524879932)) | |
| 859 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.659671783, -0.315543771, -0.000952482224, -0.999995947, -7.10575912e-013, 5.21538198e-007, -5.21540414e-007, -6.60076464e-012, -1, 7.10569624e-013, -0.999999642, 6.35824596e-012)) | |
| 860 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.524879932)) | |
| 861 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.64371943, -0.184356153, -0.000952720642, -0.999995947, -2.84785216e-014, 5.21538198e-007, -5.21540414e-007, -1.32740338e-011, -1, 2.84781049e-014, -0.999999642, 1.30315177e-011)) | |
| 862 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656100452, 0.656099916, 1))
| |
| 863 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.787320077, 0.262439996, 0.524879932)) | |
| 864 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.18442535, -0.118758678, -0.000952601433, -0.999995947, 2.01786829e-012, 5.21538198e-007, -5.21540414e-007, -1.28376595e-012, -1, -2.01786721e-012, -0.999999642, 1.04124662e-012)) | |
| 865 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 866 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.7749244, -0.0646617413, 0.446767867, 0.999995947, -1.47525031e-006, -1.80021914e-007, 1.47524486e-006, 0.999999642, 1.47599106e-008, 1.80025495e-007, -1.47599293e-008, 1)) | |
| 867 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 868 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 869 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00095307827, -0.0694081783, 0.577923179, -1.12560102e-007, -0.999999642, 4.43628316e-008, 0.999995947, -1.12560521e-007, -1.34108177e-007, 1.34111957e-007, 4.43630412e-008, 1)) | |
| 870 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 871 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 872 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00095307827, -0.594094753, 0.0781440437, 4.17225039e-007, 0.999999642, -1.04824289e-006, 0.999990225, -4.17229472e-007, -5.03516958e-007, -5.03519686e-007, -1.04824858e-006, -0.999994278)) | |
| 873 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 874 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 875 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.22960186, -0.325974345, 0.126894236, -0.999995947, -2.91118213e-005, -0.000387890788, 0.000387888373, 2.88337342e-005, -1, 2.91228953e-005, -0.999999642, -2.88224492e-005)) | |
| 876 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375))
| |
| 877 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.249317944, 0.262439966)) | |
| 878 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0810444355, -0.13091433, -0.000957727432, 0.707103014, 1.57924467e-006, 0.707106233, -0.707106531, -3.81509017e-006, 0.707109034, 3.81435189e-006, -0.999999642, -1.58096839e-006)) | |
| 879 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1))
| |
| 880 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.262439966)) | |
| 881 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000948548317, 0.0531208515, -0.65964818, 5.96030603e-008, 0.999999642, 1.09855229e-007, 5.97940073e-007, -1.0985498e-007, 1, 0.999995947, -5.96032166e-008, -5.97938197e-007)) | |
| 882 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 883 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 884 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000953316689, 0.0694112778, -0.577948451, 5.12384233e-008, -0.999999642, 1.78378254e-008, -0.999995947, -5.12386045e-008, 2.53317438e-007, -2.53320735e-007, -1.78380741e-008, -1)) | |
| 885 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 886 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.524879932, 0.262439966)) | |
| 887 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381076962, -1.18433952, -0.000951886177, -4.61936025e-007, -4.84779994e-011, -1, 0.999995947, 7.64824488e-012, -4.61933581e-007, 7.64823274e-012, -0.999999642, 4.8235492e-011)) | |
| 888 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 889 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 890 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000945568085, -0.725336075, -0.0530678928, 1.03413649e-005, 0.999999642, -1.3563623e-006, 0.999995947, -1.0341404e-005, -5.8640012e-007, -5.86416093e-007, -1.35635605e-006, -1)) | |
| 891 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 892 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 893 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.195877314, 0.315567017, 1.77494192, -2.13285796e-013, -0.999999642, -4.6366435e-007, 5.03123488e-007, -4.63663952e-007, 1, -0.999995947, -2.00015972e-014, 5.03121157e-007)) | |
| 894 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 895 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439966, 0.262439966)) | |
| 896 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.64357042, -0.381081522, -0.000952005386, -0.999995947, -2.84963025e-014, 5.21538198e-007, -5.21540414e-007, -1.368856e-010, -1, 2.85603552e-014, -0.999999642, 1.36643141e-010)) | |
| 897 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1))
| |
| 898 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439996, 0.262439966)) | |
| 899 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77479982, -0.381083727, -0.000951886177, -0.999995947, -2.85570179e-014, 5.21538198e-007, -5.21540414e-007, -1.45497003e-010, -1, 2.86255632e-014, -0.999999642, 1.45254545e-010)) | |
| 900 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1))
| |
| 901 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.200000003)) | |
| 902 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00095307827, 0.184345901, 1.77491713, -2.13323012e-013, -0.999999642, -4.63661678e-007, 5.03123488e-007, -4.6366128e-007, 1, -0.999995947, -1.99632164e-014, 5.03121157e-007)) | |
| 903 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 904 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
| 905 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381089836, -0.856295109, -0.000952124596, -4.61936025e-007, -5.05883807e-011, -1, 0.999995947, 8.32963819e-012, -4.61933553e-007, 8.32962432e-012, -0.999999642, 5.03458698e-011)) | |
| 906 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 907 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 908 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77492106, -0.064658761, -0.31554234, -0.999995947, -1.22364965e-012, 5.39955295e-007, -9.5812659e-013, 0.999999642, 4.9172661e-007, -5.39957398e-007, 4.91726212e-007, -1)) | |
| 909 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 910 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.200000003)) | |
| 911 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952839851, 0.0531313121, 1.64369941, -2.13395951e-013, -0.999999642, -4.63665572e-007, 5.03123488e-007, -4.63665174e-007, 1, -0.999995947, -1.98925264e-014, 5.03121157e-007)) | |
| 912 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 913 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 914 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, -0.577950954, 0.19316268, 3.2544206e-012, -0.999999642, 4.63510275e-007, -5.03123886e-007, -4.63510332e-007, -1, 0.999995947, 3.02113716e-012, -5.03121612e-007)) | |
| 915 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 916 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.262439966)) | |
| 917 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.266271591, -0.577865899, -0.000952601433, -0.999995947, 4.89863532e-011, 5.21538198e-007, -5.21540414e-007, -1.56372887e-010, -1, -4.89860999e-011, -0.999999642, 1.56130456e-010)) | |
| 918 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 919 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.465830922, 0.200000003, 0.262439966)) | |
| 920 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0548343658, -0.318395138, -0.000958204269, 0.707103014, 1.5792516e-006, 0.707106233, -0.707106531, -3.81508926e-006, 0.707109034, 3.81435621e-006, -0.999999642, -1.58096282e-006)) | |
| 921 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 922 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.656099856, 0.393659979, 0.262439966)) | |
| 923 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200451851, -0.315522313, -0.000952482224, -0.999995947, -3.1282919e-013, 5.21538198e-007, -5.21540414e-007, -6.28311465e-012, -1, 3.12824257e-013, -0.999999642, 6.04059554e-012)) | |
| 924 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 925 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.7749095, -0.0665602684, 0.446766496, -0.999995947, 3.94417901e-011, 5.03121157e-007, -3.96749439e-011, -0.999999642, -4.63689446e-007, 5.03123431e-007, -4.63689048e-007, 1)) | |
| 926 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 927 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.656099916, 0.262439966)) | |
| 928 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.382884979, -0.0559492111, -0.000958323479, 0.707103789, 1.57925547e-006, 0.707107008, -0.707104146, -3.81507652e-006, 0.70710665, 3.81435484e-006, -0.999999642, -1.58096418e-006)) | |
| 929 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1))
| |
| 930 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
| 931 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.2500999, -0.315561235, -0.197781086, -0.999995947, -7.10677394e-013, 5.21538198e-007, -5.21540414e-007, -5.410158e-012, -1, 7.10670509e-013, -0.999999642, 5.16763889e-012)) | |
| 932 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 933 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 934 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.77491331, -0.0665630102, -0.315546811, 0.999995947, 1.47522928e-006, -8.63054538e-007, 1.47522383e-006, -0.999999642, -5.96148269e-008, -8.63055448e-007, 5.96132921e-008, -1)) | |
| 935 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 936 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 937 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00095307827, -0.0692355633, -0.0530753136, 4.17208184e-007, 0.999999642, -1.24864869e-006, 0.999995947, -4.17210487e-007, -6.0446132e-007, -6.04463764e-007, -1.24864835e-006, -1)) | |
| 938 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 939 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 940 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.594289541, -0.577865899, -0.000952482224, -0.999995947, 4.85845982e-011, 5.21538198e-007, -5.21540414e-007, -1.55332233e-010, -1, -4.85843449e-011, -0.999999642, 1.55089802e-010)) | |
| 941 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 942 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 943 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, -0.061965704, -0.0530880094, -4.01771786e-007, -0.999999642, 1.08025915e-006, -0.999995947, 4.01773832e-007, 5.21538254e-007, -5.21540869e-007, -1.08025893e-006, -1)) | |
| 944 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 945 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
| 946 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.324400663, -0.446751714, -0.000952601433, -0.999995947, -1.51789562e-012, 5.21538198e-007, -5.21540414e-007, 1.45567641e-010, -1, 1.51780715e-012, -0.999999642, -1.45810183e-010)) | |
| 947 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 948 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
| 949 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381086797, -1.51240134, -0.000951886177, -4.61936025e-007, -5.05883252e-011, -1, 0.999995947, 8.3296087e-012, -4.61933553e-007, 8.32959483e-012, -0.999999642, 5.03458178e-011)) | |
| 950 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 951 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
| 952 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70932698, -0.446754277, 0.195877552, -0.999995947, -2.85565842e-014, 5.21538198e-007, -5.21540414e-007, 3.59957689e-011, -1, 2.85304718e-014, -0.999999642, -3.62383006e-011)) | |
| 953 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 954 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 955 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952839851, 0.331614971, -0.0531049073, -4.01787446e-007, -0.999999642, 1.0803011e-006, -0.999995947, 4.01789492e-007, 5.21538254e-007, -5.21540869e-007, -1.08030088e-006, -1)) | |
| 956 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 957 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
| 958 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.25009334, -0.315559089, 0.195877194, -0.999995947, -7.10700812e-013, 5.21538198e-007, -5.21540414e-007, -6.16940093e-012, -1, 7.10694307e-013, -0.999999642, 5.92688182e-012)) | |
| 959 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 960 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 961 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.19778192, 0.315561116, 1.77493024, -2.13241344e-013, -0.999999642, -4.63686348e-007, 5.03123488e-007, -4.6368595e-007, 1, -0.999995947, -2.00571083e-014, 5.03121157e-007)) | |
| 962 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 963 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 964 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952363014, 0.446721375, 0.193159819, 4.75546358e-009, 0.999999642, -1.8624263e-006, 5.20043955e-007, 1.86242596e-006, 1, 0.999995947, -4.75644946e-009, -5.20041738e-007)) | |
| 965 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 966 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
| 967 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.193187475, -0.315557897, -0.000952601433, -0.999995947, -1.39693855e-012, 5.21538198e-007, -5.21540414e-007, 1.66943959e-011, -1, 1.39691752e-012, -0.999999642, -1.69369241e-011)) | |
| 968 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 969 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 970 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.59407711, -0.0531000197, -0.000952363014, -0.999990225, -3.56847798e-014, 5.21535242e-007, -5.21537459e-007, -2.62820841e-012, -0.999994278, 7.82880772e-014, -0.999999642, 2.61816176e-012)) | |
| 971 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 972 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
| 973 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70935547, -0.44676286, -0.197781682, -0.999995947, -2.85648241e-014, 5.21538198e-007, -5.21540414e-007, 4.92065971e-011, -1, 2.85318237e-014, -0.999999642, -4.94491323e-011)) | |
| 974 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 975 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 976 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381075412, -1.78140426, -0.00095307827, -4.61936025e-007, -4.94634819e-011, -1, 0.999995947, 8.18711939e-012, -4.61933581e-007, 8.18710464e-012, -0.999999642, 4.92209745e-011)) | |
| 977 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 978 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439996)) | |
| 979 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.258820057, -0.184331298, -0.000952601433, -0.999995947, -9.58359694e-013, 5.21538198e-007, -5.21540414e-007, 1.63497792e-011, -1, 9.58340612e-013, -0.999999642, -1.65923074e-011)) | |
| 980 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 981 | BarrelA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Hot pink","BarrelA",Vector3.new(0.200000003, 0.200000003, 0.512000024)) | |
| 982 | BarrelAweld=CreateWeld(m,FakeHandleA,BarrelA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00648152828, -0.375403494, -1.62293732, 4.16029834e-005, -0.999999523, 4.46679103e-008, 4.43538624e-007, -4.46531416e-008, -0.999999881, 0.999992251, 4.16032817e-005, 4.43546355e-007)) | |
| 983 | CreateMesh("SpecialMesh",BarrelA,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.153600022, 0.140799999, 0.447999448))
| |
| 984 | FakeHandleB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","FakeHandleB",Vector3.new(0.200000003, 0.256000012, 0.496000051)) | |
| 985 | FakeHandleBweld=CreateWeld(m,HandleB,FakeHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, -2.36065456e-020, 0, -2.36065456e-020, 1, 0, 0, 0, 1)) | |
| 986 | CreateMesh("BlockMesh",FakeHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1))
| |
| 987 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 988 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.462830544, -0.0531138182, -0.000952243805, -0.999992132, 1.09443888e-012, 5.21542518e-007, -5.21546724e-007, -1.02038245e-012, -1, -1.09444235e-012, -0.999999523, 4.35311509e-013)) | |
| 989 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 990 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 991 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952363014, -0.446709752, -0.193128824, 2.83092186e-006, 0.999999523, -3.04522632e-006, -7.05205821e-007, -3.04522337e-006, -1, -0.999992132, 2.83094482e-006, 7.05194395e-007)) | |
| 992 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 993 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
| 994 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0690851212, -0.0718523264, 0.394912601, -0.707375407, 1.49016e-008, -0.706838131, -7.8923982e-008, -1, 5.79019144e-008, -0.706838131, 9.67448699e-008, 0.707375348)) | |
| 995 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 996 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 997 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.229856014, 0.330393344, 0.128970504, -1, 2.91118504e-005, 0.000388933928, 0.000388933084, -2.88635511e-005, 1, 2.91230717e-005, 1, 2.88522242e-005)) | |
| 998 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375))
| |
| 999 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 1000 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.229856014, 0.330393344, 0.128970504, -1, 2.91118504e-005, 0.000388933928, 0.000388933084, -2.88635511e-005, 1, 2.91230717e-005, 1, 2.88522242e-005)) | |
| 1001 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375))
| |
| 1002 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1003 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000954866409, 0.463091612, 0.577915788, 2.08607375e-007, 0.999999523, 4.4356252e-008, -0.999992132, 2.08608867e-007, 9.08972993e-007, 9.08974243e-007, -4.43558399e-008, 1)) | |
| 1004 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1005 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1006 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952482224, -0.463091373, -0.577939391, -5.96006622e-008, 0.999999523, 1.78325248e-008, 0.999992132, 5.96011169e-008, -7.89763646e-007, -7.8976575e-007, 1.78318817e-008, -1)) | |
| 1007 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1008 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1009 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952601433, -0.725286722, 0.577960372, 3.77827917e-007, -0.999999523, -5.6673349e-007, 0.999992132, 3.77831014e-007, -5.21542631e-007, 5.21547122e-007, -5.6673241e-007, 1)) | |
| 1010 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1011 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 1012 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0618202686, -0.57786119, -0.000952482224, -0.999992132, 2.76128037e-010, 5.21542518e-007, -5.21546781e-007, -4.76147566e-010, -1, -2.76125789e-010, -0.999999523, 4.75562811e-010)) | |
| 1013 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 1014 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
| 1015 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.394863367, -0.0697958469, -0.0693879128, -0.707374692, 1.49032964e-008, 0.706838787, -5.17640242e-009, 1, -2.62647628e-008, -0.706838787, -2.22379111e-008, -0.707374692)) | |
| 1016 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 1017 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 1018 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.229600906, -0.325974405, 0.126894355, -1, -2.91118322e-005, -0.000387890788, 0.000387889944, 2.88337451e-005, -1, 2.91230135e-005, -1, -2.88224492e-005)) | |
| 1019 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375))
| |
| 1020 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1021 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000953912735, 0.46284461, 0.0781242549, -4.01818824e-007, -0.999999523, 1.08039103e-006, -0.999992132, 4.01822348e-007, 5.21542688e-007, -5.21547349e-007, -1.08039092e-006, -1)) | |
| 1022 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1023 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.393659979, 0.524879932)) | |
| 1024 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.659660816, -0.315543771, -0.000952363014, -0.999992132, -6.25112375e-013, 5.21542461e-007, -5.21546724e-007, -7.04180898e-012, -1, 6.25099527e-013, -0.999999523, 6.45673966e-012)) | |
| 1025 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.524879932)) | |
| 1026 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.64369273, -0.184356153, -0.000952601433, -0.999992132, 5.69847988e-014, 5.21542461e-007, -5.21546724e-007, -1.37150759e-011, -1, -5.69892034e-014, -0.999999523, 1.31300101e-011)) | |
| 1027 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656100452, 0.656099916, 1))
| |
| 1028 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.787320077, 0.262439996, 0.524879932)) | |
| 1029 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.18440604, -0.118758678, -0.000952482224, -0.999992132, 2.1033314e-012, 5.21542518e-007, -5.21546724e-007, -1.72481072e-012, -1, -2.10332684e-012, -0.999999523, 1.13974021e-012)) | |
| 1030 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1031 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.77489591, -0.0646619797, 0.446767896, 0.999992132, -1.47525031e-006, -1.80026205e-007, 1.4752394e-006, 0.999999523, 1.4759812e-008, 1.8003314e-007, -1.47594861e-008, 1)) | |
| 1032 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 1033 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1034 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, -0.069406271, 0.577923179, -1.12559754e-007, -0.999999523, 4.43629311e-008, 0.999992132, -1.12560592e-007, -1.3411244e-007, 1.34119745e-007, 4.43634747e-008, 1)) | |
| 1035 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1036 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1037 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952959061, -0.594092369, 0.0781444907, 4.17223703e-007, 1, -1.04824346e-006, 1, -4.17224214e-007, -5.03528042e-007, -5.03528497e-007, -1.04824335e-006, -1)) | |
| 1038 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1039 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 1040 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.229600906, -0.325974405, 0.126894355, -1, -2.91118322e-005, -0.000387890788, 0.000387889944, 2.88337451e-005, -1, 2.91230135e-005, -1, -2.88224492e-005)) | |
| 1041 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375))
| |
| 1042 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.249317944, 0.262439966)) | |
| 1043 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0810451508, -0.130914927, -0.000957846642, 0.707105875, 1.57924535e-006, 0.707106233, -0.707109392, -3.81509153e-006, 0.707109034, 3.81436735e-006, -1, -1.58096793e-006)) | |
| 1044 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1))
| |
| 1045 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.262439966)) | |
| 1046 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000948429108, 0.0531208515, -0.659636974, 5.96029182e-008, 0.999999523, 1.09855129e-007, 5.97946098e-007, -1.09854533e-007, 1, 0.999992132, -5.96032947e-008, -5.9794246e-007)) | |
| 1047 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 1048 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1049 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000953197479, 0.0694093704, -0.577948451, 5.12381426e-008, -0.999999523, 1.78379249e-008, -0.999992132, -5.12385121e-008, 2.5332173e-007, -2.53328068e-007, -1.78385147e-008, -1)) | |
| 1050 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1051 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.524879932, 0.262439966)) | |
| 1052 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381076962, -1.18432021, -0.000951766968, -4.61942591e-007, -4.89190355e-011, -1, 0.999992132, 7.56278113e-012, -4.61937873e-007, 7.56273516e-012, -0.999999523, 4.83339826e-011)) | |
| 1053 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1054 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1055 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000945448875, -0.725324035, -0.053067863, 1.03413258e-005, 0.999999523, -1.3563623e-006, 0.999992132, -1.03414031e-005, -5.86404383e-007, -5.86422175e-007, -1.35635628e-006, -1)) | |
| 1056 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1057 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1058 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.195877314, 0.315567106, 1.77491331, -2.98756218e-013, -0.999999523, -4.63664264e-007, 5.03129854e-007, -4.63663469e-007, 1, -0.999992132, 6.54619384e-014, 5.03125477e-007)) | |
| 1059 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 1060 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439966, 0.262439966)) | |
| 1061 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.64354384, -0.381081581, -0.000951766968, -0.999992132, 5.69671263e-014, 5.21542518e-007, -5.21546724e-007, -1.37326636e-010, -1, -5.69069531e-014, -0.999999523, 1.36741632e-010)) | |
| 1062 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1))
| |
| 1063 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439996, 0.262439966)) | |
| 1064 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77477098, -0.381083727, -0.000951647758, -0.999992132, 5.6906411e-014, 5.21542518e-007, -5.21546724e-007, -1.45938026e-010, -1, -5.68417451e-014, -0.999999523, 1.45353021e-010)) | |
| 1065 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1))
| |
| 1066 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.200000003)) | |
| 1067 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, 0.184345931, 1.77488852, -2.98793217e-013, -0.999999523, -4.63661593e-007, 5.03129854e-007, -4.63660797e-007, 1, -0.999992132, 6.55001024e-014, 5.03125477e-007)) | |
| 1068 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1069 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
| 1070 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381089836, -0.856280804, -0.000952005386, -4.61942562e-007, -5.10294133e-011, -1, 0.999992132, 8.24417357e-012, -4.61937844e-007, 8.244125e-012, -0.999999523, 5.0444364e-011)) | |
| 1071 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 1072 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1073 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77489245, -0.0646588802, -0.31554237, -0.999992132, -1.13818612e-012, 5.39959558e-007, -8.72651452e-013, 0.999999523, 4.91726496e-007, -5.39963651e-007, 4.917257e-007, -1)) | |
| 1074 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 1075 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.200000003)) | |
| 1076 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952720642, 0.0531313121, 1.6436727, -2.98866156e-013, -0.999999523, -4.63665486e-007, 5.03129854e-007, -4.63664691e-007, 1, -0.999992132, 6.55707923e-014, 5.03125477e-007)) | |
| 1077 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1078 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1079 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, -0.577952385, 0.193134546, 2.79130136e-010, -0.999999523, 4.63188996e-007, -5.03130252e-007, -4.63189366e-007, -1, 0.999992132, 2.78899154e-010, -5.03125875e-007)) | |
| 1080 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1081 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.262439966)) | |
| 1082 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.266266823, -0.577865839, -0.000952482224, -0.999992132, 4.90718091e-011, 5.21542461e-007, -5.21546724e-007, -1.56813909e-010, -1, -4.90713789e-011, -0.999999523, 1.56228946e-010)) | |
| 1083 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 1084 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.465830922, 0.200000003, 0.262439966)) | |
| 1085 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0548336506, -0.318395734, -0.000958323479, 0.707105875, 1.57925228e-006, 0.707106233, -0.707109392, -3.81509062e-006, 0.707109034, 3.81437167e-006, -1, -1.58096236e-006)) | |
| 1086 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 1087 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.656099856, 0.393659979, 0.262439966)) | |
| 1088 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200448036, -0.315522313, -0.000952363014, -0.999992132, -2.27365869e-013, 5.21542461e-007, -5.21546724e-007, -6.72415856e-012, -1, 2.27355651e-013, -0.999999523, 6.13908924e-012)) | |
| 1089 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1090 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77488089, -0.0665599108, 0.446766585, -0.999992132, 3.95272495e-011, 5.0312542e-007, -3.9760268e-011, -0.999999523, -4.63689361e-007, 5.03129854e-007, -4.63688565e-007, 1)) | |
| 1091 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 1092 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.656099916, 0.262439966)) | |
| 1093 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.382884026, -0.0559498072, -0.000958442688, 0.70710665, 1.57925615e-006, 0.707107008, -0.707107008, -3.81507789e-006, 0.70710665, 3.8143703e-006, -1, -1.58096373e-006)) | |
| 1094 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1))
| |
| 1095 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
| 1096 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.25007939, -0.315561235, -0.197780728, -0.999992132, -6.25213856e-013, 5.21542461e-007, -5.21546724e-007, -5.85120234e-012, -1, 6.25200358e-013, -0.999999523, 5.26613258e-012)) | |
| 1097 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1098 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1099 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.77488446, -0.0665627718, -0.315546811, 0.999992132, 1.47522906e-006, -8.63058801e-007, 1.47521814e-006, -0.999999523, -5.96147274e-008, -8.6306045e-007, 5.96128444e-008, -1)) | |
| 1100 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 1101 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1102 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952959061, -0.0692336559, -0.0530753434, 4.17206678e-007, 0.999999523, -1.24864869e-006, 0.999992132, -4.17210515e-007, -6.0446564e-007, -6.04469733e-007, -1.24864869e-006, -1)) | |
| 1103 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1104 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 1105 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.594279528, -0.577865899, -0.000952363014, -0.999992132, 4.86700541e-011, 5.21542461e-007, -5.21546724e-007, -1.55773255e-010, -1, -4.86696274e-011, -0.999999523, 1.55188293e-010)) | |
| 1106 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 1107 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1108 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952839851, -0.061965704, -0.0530880094, -4.01770336e-007, -0.999999523, 1.08025915e-006, -0.999992132, 4.0177386e-007, 5.21542518e-007, -5.21547179e-007, -1.08025915e-006, -1)) | |
| 1109 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1110 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
| 1111 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.324369669, -0.446746528, -0.000952601433, -0.999992132, -2.28737904e-010, 5.21542461e-007, -5.21546724e-007, 3.90042887e-010, -1, 2.28737695e-010, -0.999999523, -3.90628141e-010)) | |
| 1112 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 1113 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
| 1114 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381086797, -1.51237679, -0.000951766968, -4.61942562e-007, -5.10293613e-011, -1, 0.999992132, 8.24414408e-012, -4.61937844e-007, 8.24409551e-012, -0.999999523, 5.04443119e-011)) | |
| 1115 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 1116 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
| 1117 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70929945, -0.446754336, 0.195877552, -0.999992132, 5.69068447e-014, 5.21542461e-007, -5.21546724e-007, 3.55547189e-011, -1, -5.69368364e-014, -0.999999523, -3.61398099e-011)) | |
| 1118 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1119 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1120 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952720642, 0.331609011, -0.0531049073, -4.01785996e-007, -0.999999523, 1.0803011e-006, -0.999992132, 4.01789521e-007, 5.21542518e-007, -5.21547236e-007, -1.0803011e-006, -1)) | |
| 1121 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1122 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
| 1123 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.25007296, -0.315559149, 0.195877194, -0.999992132, -6.25237275e-013, 5.21542461e-007, -5.21546724e-007, -6.61044526e-012, -1, 6.25224156e-013, -0.999999523, 6.02537551e-012)) | |
| 1124 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1125 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1126 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.197781563, 0.315561146, 1.77490151, -2.98711766e-013, -0.999999523, -4.63686263e-007, 5.03129854e-007, -4.63685438e-007, 1, -0.999992132, 6.54063189e-014, 5.03125477e-007)) | |
| 1127 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 1128 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
| 1129 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952243805, 0.446721435, 0.193157434, 4.75553064e-009, 0.999999523, -1.86242642e-006, 5.20050321e-007, 1.86242619e-006, 1, 0.999992132, -4.75653428e-009, -5.20046058e-007)) | |
| 1130 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1131 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
| 1132 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.193185091, -0.315557897, -0.000952482224, -0.999992132, -1.3114748e-012, 5.21542461e-007, -5.21546724e-007, 1.62533511e-011, -1, 1.31144477e-012, -0.999999523, -1.683843e-011)) | |
| 1133 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 1134 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
| 1135 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.594074965, -0.0531003177, -0.000952243805, -1, 4.97786491e-014, 5.21546554e-007, -5.21546554e-007, -3.0692675e-012, -1, -4.97770262e-014, -1, 3.0692675e-012)) | |
| 1136 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
| |
| 1137 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
| 1138 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70932782, -0.44676286, -0.197781324, -0.999992132, 5.68986048e-014, 5.21542461e-007, -5.21546724e-007, 4.87655437e-011, -1, -5.6935488e-014, -0.999999523, -4.93506416e-011)) | |
| 1139 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
| |
| 1140 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1141 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381075472, -1.78137565, -0.000952839851, -4.61942591e-007, -4.99045215e-011, -1, 0.999992132, 8.10165563e-012, -4.61937873e-007, 8.10160619e-012, -0.999999523, 4.93194721e-011)) | |
| 1142 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
| |
| 1143 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439996)) | |
| 1144 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.258816719, -0.184331298, -0.000952482224, -0.999992132, -8.72896373e-013, 5.21542461e-007, -5.21546724e-007, 1.59087344e-011, -1, 8.72869593e-013, -0.999999523, -1.64938133e-011)) | |
| 1145 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
| |
| 1146 | BarrelB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Hot pink","BarrelB",Vector3.new(0.200000003, 0.200000003, 0.512000024)) | |
| 1147 | BarrelBweld=CreateWeld(m,FakeHandleB,BarrelB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00648140907, -0.375403613, -1.62292969, 4.16028452e-005, -1, 4.46680346e-008, 4.43528563e-007, -4.46495818e-008, -1, 1, 4.16028452e-005, 4.43526744e-007)) | |
| 1148 | CreateMesh("SpecialMesh",BarrelB,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.153600022, 0.140799999, 0.447999448))
| |
| 1149 | ||
| 1150 | local lasrs = {}
| |
| 1151 | local lasrspd = 5 | |
| 1152 | local maxTravelDistance = 300 | |
| 1153 | local maxRebounds = 2 | |
| 1154 | ||
| 1155 | function RAY(pos, dir, collidedlist, startpos, endpos, distleft) | |
| 1156 | collidedlist = collidedlist or {Character}
| |
| 1157 | startpos = startpos or pos | |
| 1158 | distleft = distleft or dir.unit * dir.magnitude | |
| 1159 | endpos = endpos or pos + distleft | |
| 1160 | local ray = Ray.new(pos, distleft) | |
| 1161 | local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist) | |
| 1162 | if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
| |
| 1163 | if hitz.CanCollide == false then | |
| 1164 | table.insert(collidedlist, hitz) | |
| 1165 | local newpos = enz | |
| 1166 | local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude) | |
| 1167 | if newdistleft then | |
| 1168 | return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01)) | |
| 1169 | end | |
| 1170 | end | |
| 1171 | end | |
| 1172 | return hitz, enz, ray | |
| 1173 | end | |
| 1174 | ||
| 1175 | function FindSurface(part, position) | |
| 1176 | local obj = part.CFrame:pointToObjectSpace(position) | |
| 1177 | local siz = part.Size/2 | |
| 1178 | for i,v in pairs(Enum.NormalId:GetEnumItems()) do | |
| 1179 | local vec = Vector3.FromNormalId(v) | |
| 1180 | local wvec = part.CFrame:vectorToWorldSpace(vec) | |
| 1181 | local vz = (obj)/(siz*vec) | |
| 1182 | if (math.abs(vz.X-1) < 0.001 or math.abs(vz.Y-1) < 0.001 or math.abs(vz.Z-1) < 0.001) then | |
| 1183 | return wvec,vec | |
| 1184 | end | |
| 1185 | end | |
| 1186 | if part.className == "WedgePart" then | |
| 1187 | local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p | |
| 1188 | local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p | |
| 1189 | local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos) | |
| 1190 | return wvec,vec | |
| 1191 | elseif part.className == "Part" and (part.Shape.Name == "Ball" or part.Shape.Name == "Cylinder") then | |
| 1192 | return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit) | |
| 1193 | end | |
| 1194 | end | |
| 1195 | ||
| 1196 | function Reflect(direction, normal) | |
| 1197 | return direction - 2 * normal:Dot(direction) * normal | |
| 1198 | end | |
| 1199 | ||
| 1200 | function ReflectShot(mouse,asd) | |
| 1201 | local dir = (mouse.Hit.p - Torso.Position).unit | |
| 1202 | local tabl | |
| 1203 | local tablnum = 0 | |
| 1204 | for i, v in pairs(lasrs) do | |
| 1205 | if not v[1] then | |
| 1206 | tabl = v | |
| 1207 | tablnum = i | |
| 1208 | break | |
| 1209 | end | |
| 1210 | end | |
| 1211 | if not tabl then | |
| 1212 | tablnum = #lasrs + 1 | |
| 1213 | tabl = {false,nil,nil,0,0,1,{},{},{},{}}
| |
| 1214 | for i = 1, 2 do | |
| 1215 | for j = 1, 6 do | |
| 1216 | local p = Instance.new("Part")
| |
| 1217 | p.FormFactor = "Custom" | |
| 1218 | p.CanCollide = false | |
| 1219 | p.Anchored = true | |
| 1220 | p.Locked = true | |
| 1221 | p.BrickColor = BarrelA.BrickColor | |
| 1222 | p.TopSurface = 10 | |
| 1223 | p.BottomSurface = 10 | |
| 1224 | p.RightSurface = 10 | |
| 1225 | p.LeftSurface = 10 | |
| 1226 | p.FrontSurface = 10 | |
| 1227 | p.BackSurface = 10 | |
| 1228 | p.Size = Vector3.new(.5,.5,.5) | |
| 1229 | p.Material = "Neon" | |
| 1230 | p.Transparency = i == 1 and 0 or 0.6 | |
| 1231 | local mesh = Instance.new("CylinderMesh",p)
| |
| 1232 | table.insert(tabl[6+i],p) | |
| 1233 | table.insert(tabl[8+i],mesh) | |
| 1234 | end | |
| 1235 | end | |
| 1236 | table.insert(lasrs,tabl) | |
| 1237 | end | |
| 1238 | -- isMoving,direction,lastPosition,rebounds,distance,recycleCount,middleLayer,outerLayer | |
| 1239 | tabl[4],tabl[5] = 0,0 | |
| 1240 | tabl[3] = asd.Position | |
| 1241 | tabl[2] = dir | |
| 1242 | tabl[1] = true | |
| 1243 | ||
| 1244 | end | |
| 1245 | ||
| 1246 | gun = false | |
| 1247 | ||
| 1248 | shoot = false | |
| 1249 | ||
| 1250 | gunidle = false | |
| 1251 | ||
| 1252 | local GunA = true | |
| 1253 | local GunB = false | |
| 1254 | ||
| 1255 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1256 | local prt = CreatePart(3, Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.1, 0.1, 0.1)) | |
| 1257 | prt.Anchored = true | |
| 1258 | prt.CFrame = cframe | |
| 1259 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1260 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1261 | Effects[#Effects + 1] = {
| |
| 1262 | prt, | |
| 1263 | "Cylinder", | |
| 1264 | delay, | |
| 1265 | x3, | |
| 1266 | y3, | |
| 1267 | z3 | |
| 1268 | } --part, type, delay | |
| 1269 | end | |
| 1270 | ||
| 1271 | function Shoot(asd, spread1, spread2) | |
| 1272 | local MainPos = asd.Position | |
| 1273 | local MainPos2 = mouse.Hit.p | |
| 1274 | local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100 | |
| 1275 | local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread) | |
| 1276 | num = 30 | |
| 1277 | coroutine.resume(coroutine.create(function(Spreaded) | |
| 1278 | repeat | |
| 1279 | wait() | |
| 1280 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RootPart.Parent) | |
| 1281 | local TheHit = mouse.Hit.p | |
| 1282 | local mag = (MainPos - pos).magnitude | |
| 1283 | CylinderEffect(BrickColor.new(asd.BrickColor.Color), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1) | |
| 1284 | MainPos = MainPos + (MouseLook.lookVector * 10) | |
| 1285 | num = num - 1 | |
| 1286 | if hit ~= nil then | |
| 1287 | num = 0 | |
| 1288 | damage(hit.Parent:WaitForChild("Torso"), math.random(5,8), math.random(8,10), 5, 1, RootPart)
| |
| 1289 | end | |
| 1290 | until num <= 0 | |
| 1291 | end)) | |
| 1292 | end | |
| 1293 | ||
| 1294 | function Attackone() | |
| 1295 | attack = true | |
| 1296 | Con1 = LeftLeg.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end) | |
| 1297 | for i = 0,1,0.2 do | |
| 1298 | wait() | |
| 1299 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), .3) | |
| 1300 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
| 1301 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), .3) | |
| 1302 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)), .3) | |
| 1303 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-30), math.rad(5)), .3) | |
| 1304 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-30), math.rad(-5)), .3) | |
| 1305 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
| 1306 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
| 1307 | end | |
| 1308 | so("http://roblox.com/asset/?id=320557413",LeftLeg,1,1)
| |
| 1309 | for i = 0,1,0.15 do | |
| 1310 | wait() | |
| 1311 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), .5) | |
| 1312 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(30)), .5) | |
| 1313 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), .5) | |
| 1314 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-20)), .5) | |
| 1315 | RH.C0 = clerp(RH.C0, cn(0.55, -2, .5) * angles(math.rad(-30), math.rad(30), math.rad(10)), .5) | |
| 1316 | LH.C0 = clerp(LH.C0, cn(-1.3, -1, -1.3) * angles(math.rad(80), math.rad(-10), math.rad(-30)), .5) | |
| 1317 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
| 1318 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
| 1319 | end | |
| 1320 | attack = false | |
| 1321 | Con1:disconnect() | |
| 1322 | end | |
| 1323 | ||
| 1324 | function Attacktwo() | |
| 1325 | attack = true | |
| 1326 | Con1 = LeftArm.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end) | |
| 1327 | for i = 0,1,0.2 do | |
| 1328 | wait() | |
| 1329 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3) | |
| 1330 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(10), math.rad(50)), .3) | |
| 1331 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), .3) | |
| 1332 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .3) | |
| 1333 | RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(math.rad(-10), math.rad(30), math.rad(10)), .3) | |
| 1334 | LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(math.rad(0), math.rad(30), math.rad(-10)), .3) | |
| 1335 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
| 1336 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(70), math.rad(0)), .4) | |
| 1337 | end | |
| 1338 | so("http://roblox.com/asset/?id=320557413",LeftArm,1,1.2)
| |
| 1339 | for i = 0,1,0.15 do | |
| 1340 | wait() | |
| 1341 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .35) | |
| 1342 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-5), math.rad(-80)), .35) | |
| 1343 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(50), math.rad(20), math.rad(30)), .35) | |
| 1344 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(-90)), .35) | |
| 1345 | RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(math.rad(-10), math.rad(-40), math.rad(10)), .35) | |
| 1346 | LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(math.rad(-10), math.rad(-40), math.rad(-10)), .35) | |
| 1347 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
| 1348 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-90), math.rad(0)), .3) | |
| 1349 | end | |
| 1350 | attack = false | |
| 1351 | Con1:disconnect() | |
| 1352 | end | |
| 1353 | ||
| 1354 | function Attackthree() | |
| 1355 | attack = true | |
| 1356 | Con1 = RightArm.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end) | |
| 1357 | for i = 0,1,0.2 do | |
| 1358 | wait() | |
| 1359 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), .3) | |
| 1360 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(70)), .3) | |
| 1361 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(20)), .3) | |
| 1362 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .3) | |
| 1363 | RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(math.rad(0), math.rad(40), math.rad(7)), .3) | |
| 1364 | LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(math.rad(0), math.rad(40), math.rad(-7)), .3) | |
| 1365 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, -.1) * angles(math.rad(0), math.rad(150), math.rad(0)), .4) | |
| 1366 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
| 1367 | end | |
| 1368 | so("http://roblox.com/asset/?id=320557413",RightArm,1,1.3)
| |
| 1369 | for i = 0,1,0.13 do | |
| 1370 | wait() | |
| 1371 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .35) | |
| 1372 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-70)), .35) | |
| 1373 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.3) * angles(math.rad(30), math.rad(-50), math.rad(-20)), .35) | |
| 1374 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), .35) | |
| 1375 | RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(math.rad(0), math.rad(-40), math.rad(7)), .35) | |
| 1376 | LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-7)), .35) | |
| 1377 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .4) | |
| 1378 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
| 1379 | end | |
| 1380 | attack = false | |
| 1381 | Con1:disconnect() | |
| 1382 | end | |
| 1383 | ||
| 1384 | function Attackfour() | |
| 1385 | attack = true | |
| 1386 | for i = 0,1,0.2 do | |
| 1387 | wait() | |
| 1388 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-70)), .3) | |
| 1389 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(3), math.rad(70)), .3) | |
| 1390 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), .3) | |
| 1391 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(120), math.rad(0), math.rad(40)), .3) | |
| 1392 | RH.C0 = clerp(RH.C0, cn(0.7, -2, .3) * angles(math.rad(3), math.rad(70), math.rad(5)), .3) | |
| 1393 | LH.C0 = clerp(LH.C0, cn(-0.7, -2, -.3) * angles(math.rad(3), math.rad(70), math.rad(-5)), .3) | |
| 1394 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .7) | |
| 1395 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
| 1396 | end | |
| 1397 | so("http://roblox.com/asset/?id=320557413",LeftArm,1,0.9)
| |
| 1398 | for i = 0,1,0.15 do | |
| 1399 | wait() | |
| 1400 | so("http://roblox.com/asset/?id=199145534",BarrelA,.5,math.random(150,200)/100)
| |
| 1401 | OrbEffect(BarrelA.BrickColor,cn(BarrelA.Position),.3,.3,.3,.3,.3,.3,0.1) | |
| 1402 | Shockwave(BarrelA.BrickColor,cn(BarrelA.Position),.3,.3,.3,.3,.3,.3,0.1) | |
| 1403 | local target=CheckClose(BarrelA,5) | |
| 1404 | if target then | |
| 1405 | damage(target.Torso, math.random(1,2), math.random(2,3), 1, 1, RootPart) | |
| 1406 | end | |
| 1407 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .35) | |
| 1408 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(-3), math.rad(-100)), .35) | |
| 1409 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(60), math.rad(70)), .35) | |
| 1410 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .35) | |
| 1411 | RH.C0 = clerp(RH.C0, cn(0.58, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(8)), .35) | |
| 1412 | LH.C0 = clerp(LH.C0, cn(-0.58, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-8)), .35) | |
| 1413 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1414 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
| 1415 | end | |
| 1416 | attack = false | |
| 1417 | end | |
| 1418 | ||
| 1419 | function GunStance() | |
| 1420 | attack=true | |
| 1421 | gun=true | |
| 1422 | speedvalue = 1 | |
| 1423 | gyro.Parent = RootPart | |
| 1424 | if GunA == true then | |
| 1425 | for i=0,1,0.2 do | |
| 1426 | wait() | |
| 1427 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
| 1428 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-90)), .25) | |
| 1429 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(30), math.rad(90)), .25) | |
| 1430 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), .25) | |
| 1431 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
| 1432 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
| 1433 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75) | |
| 1434 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1435 | end | |
| 1436 | for i=0,1,0.1 do | |
| 1437 | wait() | |
| 1438 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
| 1439 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
| 1440 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), .25) | |
| 1441 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-10)), .25) | |
| 1442 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
| 1443 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
| 1444 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1445 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1446 | end | |
| 1447 | elseif GunB == true then | |
| 1448 | for i=0,1,0.2 do | |
| 1449 | wait() | |
| 1450 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
| 1451 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(90)), .25) | |
| 1452 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(10)), .25) | |
| 1453 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(-30), math.rad(-90)), .25) | |
| 1454 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
| 1455 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
| 1456 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1457 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75) | |
| 1458 | end | |
| 1459 | for i=0,1,0.1 do | |
| 1460 | wait() | |
| 1461 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
| 1462 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
| 1463 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25) | |
| 1464 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25) | |
| 1465 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
| 1466 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
| 1467 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1468 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1469 | end | |
| 1470 | end | |
| 1471 | local offset = nil | |
| 1472 | gunidle=true | |
| 1473 | while gun==true do | |
| 1474 | wait() | |
| 1475 | local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z) | |
| 1476 | offset = (Torso.Position.y - mouse.Hit.p.y) / 60 | |
| 1477 | local mag = (Torso.Position - mouse.Hit.p).magnitude / 80 | |
| 1478 | offset = offset / mag | |
| 1479 | if GunA == true and GunB == false then | |
| 1480 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5) | |
| 1481 | elseif GunB == true and GunA == false then | |
| 1482 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5) | |
| 1483 | end | |
| 1484 | end | |
| 1485 | if shoot==true then | |
| 1486 | gunidle=false | |
| 1487 | if GunA == true then | |
| 1488 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
| |
| 1489 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
| |
| 1490 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
| |
| 1491 | GunA = false | |
| 1492 | Shoot(BarrelA, 0, 0) | |
| 1493 | for i=0,1,0.15 do | |
| 1494 | wait() | |
| 1495 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .3) | |
| 1496 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-80)), .3) | |
| 1497 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(90), math.rad(60), math.rad(80)), .55) | |
| 1498 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-15)), .3) | |
| 1499 | RH.C0 = clerp(RH.C0, cn(0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(3)), .25) | |
| 1500 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .25) | |
| 1501 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75) | |
| 1502 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3) | |
| 1503 | end | |
| 1504 | GunB = true | |
| 1505 | elseif GunB == true then | |
| 1506 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
| |
| 1507 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
| |
| 1508 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
| |
| 1509 | GunB = false | |
| 1510 | Shoot(BarrelB, 0, 0) | |
| 1511 | for i=0,1,0.15 do | |
| 1512 | wait() | |
| 1513 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3) | |
| 1514 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .3) | |
| 1515 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .3) | |
| 1516 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55) | |
| 1517 | RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .25) | |
| 1518 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .25) | |
| 1519 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3) | |
| 1520 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75) | |
| 1521 | end | |
| 1522 | GunA = true | |
| 1523 | end | |
| 1524 | end | |
| 1525 | gyro.Parent = nil | |
| 1526 | speedvalue = 2.5 | |
| 1527 | gun=false | |
| 1528 | gunidle=false | |
| 1529 | shoot=false | |
| 1530 | attack=false | |
| 1531 | end | |
| 1532 | ||
| 1533 | function EchoBarrage() | |
| 1534 | attack = true | |
| 1535 | gyro.Parent = RootPart | |
| 1536 | speedvalue = 1 | |
| 1537 | for i = 0,1,0.1 do | |
| 1538 | wait() | |
| 1539 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3) | |
| 1540 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
| 1541 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(10)), .3) | |
| 1542 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3) | |
| 1543 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3) | |
| 1544 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3) | |
| 1545 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
| 1546 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
| 1547 | end | |
| 1548 | for i = 1,2 do | |
| 1549 | for i = 0,1,0.3 do | |
| 1550 | wait() | |
| 1551 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1552 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1553 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
| 1554 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
| 1555 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3) | |
| 1556 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3) | |
| 1557 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1558 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1559 | end | |
| 1560 | ReflectShot(mouse,BarrelA) | |
| 1561 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
| |
| 1562 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
| |
| 1563 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
| |
| 1564 | --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
| |
| 1565 | for i = 0,1,0.35 do | |
| 1566 | wait() | |
| 1567 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4) | |
| 1568 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4) | |
| 1569 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4) | |
| 1570 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
| 1571 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4) | |
| 1572 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4) | |
| 1573 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1574 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1575 | end | |
| 1576 | for i = 0,1,0.3 do | |
| 1577 | wait() | |
| 1578 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1579 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1580 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
| 1581 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
| 1582 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3) | |
| 1583 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3) | |
| 1584 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1585 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1586 | end | |
| 1587 | ReflectShot(mouse,BarrelB) | |
| 1588 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
| |
| 1589 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
| |
| 1590 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
| |
| 1591 | --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
| |
| 1592 | for i = 0,1,0.35 do | |
| 1593 | wait() | |
| 1594 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4) | |
| 1595 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4) | |
| 1596 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
| 1597 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4) | |
| 1598 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4) | |
| 1599 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4) | |
| 1600 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1601 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1602 | end | |
| 1603 | end | |
| 1604 | gyro.Parent = nil | |
| 1605 | attack = false | |
| 1606 | speedvalue = 2.5 | |
| 1607 | end | |
| 1608 | ||
| 1609 | function LucentScatter() | |
| 1610 | attack = true | |
| 1611 | gyro.Parent = RootPart | |
| 1612 | speedvalue = 1 | |
| 1613 | for i = 0,1,0.1 do | |
| 1614 | wait() | |
| 1615 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-70)), .3) | |
| 1616 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(70)), .3) | |
| 1617 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), .3) | |
| 1618 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(120), math.rad(0), math.rad(40)), .3) | |
| 1619 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(3)), .3) | |
| 1620 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(-3)), .3) | |
| 1621 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
| 1622 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
| 1623 | end | |
| 1624 | for i = 0,1,0.2 do | |
| 1625 | wait() | |
| 1626 | Shoot(BarrelA, 0, 0) | |
| 1627 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
| |
| 1628 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
| |
| 1629 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
| |
| 1630 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .3) | |
| 1631 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-100)), .3) | |
| 1632 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(130), math.rad(50), math.rad(30)), .2) | |
| 1633 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .3) | |
| 1634 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(3)), .3) | |
| 1635 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(-3)), .3) | |
| 1636 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1637 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
| 1638 | end | |
| 1639 | for i=0,1,0.3 do | |
| 1640 | wait() | |
| 1641 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
| 1642 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
| 1643 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25) | |
| 1644 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25) | |
| 1645 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
| 1646 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
| 1647 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1648 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1649 | end | |
| 1650 | for i = 1,5 do | |
| 1651 | Shoot(BarrelB, 0, 0) | |
| 1652 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
| |
| 1653 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
| |
| 1654 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
| |
| 1655 | for i=0,1,0.3 do | |
| 1656 | wait() | |
| 1657 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .5) | |
| 1658 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .5) | |
| 1659 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .5) | |
| 1660 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55) | |
| 1661 | RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .5) | |
| 1662 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .5) | |
| 1663 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3) | |
| 1664 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75) | |
| 1665 | end | |
| 1666 | for i=0,1,0.3 do | |
| 1667 | wait() | |
| 1668 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .8) | |
| 1669 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .5) | |
| 1670 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .8) | |
| 1671 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .8) | |
| 1672 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .5) | |
| 1673 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .5) | |
| 1674 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5) | |
| 1675 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5) | |
| 1676 | end | |
| 1677 | end | |
| 1678 | gyro.Parent = nil | |
| 1679 | attack = false | |
| 1680 | speedvalue = 2.5 | |
| 1681 | end | |
| 1682 | ||
| 1683 | function OrbEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
| 1684 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1685 | prt.Anchored = true | |
| 1686 | prt.CanCollide=false | |
| 1687 | prt.CFrame = cframe*cn(0,-1,0)*angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))) | |
| 1688 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1689 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1690 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1691 | for i = 0, 1, delay do | |
| 1692 | wait(0) | |
| 1693 | Part.CFrame = Part.CFrame | |
| 1694 | Part.Transparency = i | |
| 1695 | Mesh.Scale = Mesh.Scale + Vector3.new(x2, y2, z2) | |
| 1696 | end | |
| 1697 | Part.Parent = nil | |
| 1698 | end), prt, msh) | |
| 1699 | end | |
| 1700 | ||
| 1701 | function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1702 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1703 | prt.Anchored = true | |
| 1704 | prt.CFrame = cframe*cn(0,-1,0) | |
| 1705 | --prt.Material = "Neon" | |
| 1706 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1707 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1708 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1709 | for i = 0, 1, delay do | |
| 1710 | wait(0) | |
| 1711 | Part.CFrame = Part.CFrame | |
| 1712 | Part.Transparency = i | |
| 1713 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 1714 | end | |
| 1715 | Part.Parent = nil | |
| 1716 | end), prt, msh) | |
| 1717 | end | |
| 1718 | ||
| 1719 | function Reflex() | |
| 1720 | attack = true | |
| 1721 | gyro.Parent = RootPart | |
| 1722 | speedvalue = 1 | |
| 1723 | for i = 0,1,0.1 do | |
| 1724 | wait() | |
| 1725 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.55) * angles(math.rad(5), math.rad(0), math.rad(0)), .3) | |
| 1726 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3) | |
| 1727 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.2) * angles(math.rad(0), math.rad(100), math.rad(50)), .3) | |
| 1728 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.2) * angles(math.rad(0), math.rad(-100), math.rad(-50)), .3) | |
| 1729 | RH.C0 = clerp(RH.C0, cn(0.55, -1.5, .5) * angles(math.rad(-60), math.rad(0), math.rad(3)), .3) | |
| 1730 | LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .3) | |
| 1731 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1732 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1733 | end | |
| 1734 | so("http://roblox.com/asset/?id=199145534",BarrelA,1,math.random(150,200)/100)
| |
| 1735 | for i=1,math.random(3,6) do | |
| 1736 | OrbEffect(BarrelA.BrickColor,cn(BarrelA.Position),1,1,1,1,1,1,0.025) | |
| 1737 | Shockwave(BarrelA.BrickColor,cn(BarrelA.Position),1,1,1,1,1,1,0.025) | |
| 1738 | end | |
| 1739 | local target=CheckClose(BarrelA,30) | |
| 1740 | if target then | |
| 1741 | damage(target.Torso, 5, math.random(15,20), math.random(15,16), 1, RootPart) | |
| 1742 | end | |
| 1743 | Humanoid.Jump=true | |
| 1744 | Torso.Velocity=Vector3.new(0,7.5,0) | |
| 1745 | Torso.Velocity=RootPart.CFrame.lookVector*-100 | |
| 1746 | Humanoid.WalkSpeed = 16*speed.Value | |
| 1747 | for i = 0,1,0.1 do | |
| 1748 | wait() | |
| 1749 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(-6*i, math.rad(0), math.rad(0)), .4) | |
| 1750 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .4) | |
| 1751 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(-30), math.rad(0), math.rad(130)), .4) | |
| 1752 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(-30), math.rad(0), math.rad(-130)), .4) | |
| 1753 | RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .4) | |
| 1754 | LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .4) | |
| 1755 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-150), math.rad(0)), .25) | |
| 1756 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-150), math.rad(0)), .25) | |
| 1757 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 1758 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 1759 | end | |
| 1760 | gyro.Parent = nil | |
| 1761 | attack = false | |
| 1762 | speedvalue = 2.5 | |
| 1763 | end | |
| 1764 | ||
| 1765 | function Luxuriance() | |
| 1766 | attack = true | |
| 1767 | gyro.Parent = RootPart | |
| 1768 | for i = 0,1,0.1 do | |
| 1769 | wait() | |
| 1770 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.5) * angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
| 1771 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3) | |
| 1772 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(70)), .3) | |
| 1773 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-70)), .3) | |
| 1774 | RH.C0 = clerp(RH.C0, cn(0.55, -1.7, .4) * angles(math.rad(-20), math.rad(0), math.rad(3)), .3) | |
| 1775 | LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(math.rad(5), math.rad(0), math.rad(-3)), .3) | |
| 1776 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
| 1777 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
| 1778 | end | |
| 1779 | for i = 0,1,0.3 do | |
| 1780 | wait() | |
| 1781 | ReflectShot(mouse,BarrelA) | |
| 1782 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
| |
| 1783 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
| |
| 1784 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
| |
| 1785 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .3) | |
| 1786 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-100)), .3) | |
| 1787 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(130), math.rad(50), math.rad(30)), .2) | |
| 1788 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .3) | |
| 1789 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(3)), .3) | |
| 1790 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(-3)), .3) | |
| 1791 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1792 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
| 1793 | end | |
| 1794 | for i = 0,1,0.2 do | |
| 1795 | wait() | |
| 1796 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1797 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3) | |
| 1798 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(70)), .3) | |
| 1799 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-70)), .3) | |
| 1800 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3) | |
| 1801 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3) | |
| 1802 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
| 1803 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
| 1804 | end | |
| 1805 | for i = 0,1,0.3 do | |
| 1806 | wait() | |
| 1807 | ReflectShot(mouse,BarrelB) | |
| 1808 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
| |
| 1809 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
| |
| 1810 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
| |
| 1811 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-100)), .3) | |
| 1812 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(100)), .3) | |
| 1813 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .2) | |
| 1814 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(130), math.rad(-50), math.rad(-30)), .3) | |
| 1815 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(3)), .3) | |
| 1816 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(-3)), .3) | |
| 1817 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
| 1818 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .7) | |
| 1819 | end | |
| 1820 | for i = 0,1,0.1 do | |
| 1821 | wait() | |
| 1822 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3) | |
| 1823 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
| 1824 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(10)), .3) | |
| 1825 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3) | |
| 1826 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3) | |
| 1827 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3) | |
| 1828 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
| 1829 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
| 1830 | end | |
| 1831 | for i = 1,5 do | |
| 1832 | Shoot(BarrelA, 0, 0) | |
| 1833 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
| |
| 1834 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
| |
| 1835 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
| |
| 1836 | for i = 0,1,0.35 do | |
| 1837 | wait() | |
| 1838 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4) | |
| 1839 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4) | |
| 1840 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4) | |
| 1841 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
| 1842 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4) | |
| 1843 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4) | |
| 1844 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1845 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1846 | end | |
| 1847 | Shoot(BarrelB, 0, 0) | |
| 1848 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
| |
| 1849 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
| |
| 1850 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
| |
| 1851 | for i = 0,1,0.35 do | |
| 1852 | wait() | |
| 1853 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4) | |
| 1854 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4) | |
| 1855 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
| 1856 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4) | |
| 1857 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4) | |
| 1858 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4) | |
| 1859 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1860 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
| 1861 | end | |
| 1862 | end | |
| 1863 | gyro.Parent = nil | |
| 1864 | attack = false | |
| 1865 | end | |
| 1866 | ||
| 1867 | mouse.Button1Down:connect(function() | |
| 1868 | if gun==true and shoot==false then | |
| 1869 | shoot=true | |
| 1870 | gun=false | |
| 1871 | end | |
| 1872 | if attack == false and attacktype == 1 then | |
| 1873 | Attackone() | |
| 1874 | attacktype = 2 | |
| 1875 | elseif attack == false and attacktype == 2 then | |
| 1876 | Attacktwo() | |
| 1877 | attacktype = 3 | |
| 1878 | elseif attack == false and attacktype == 3 then | |
| 1879 | Attackthree() | |
| 1880 | attacktype = 4 | |
| 1881 | elseif attack == false and attacktype == 4 then | |
| 1882 | Attackfour() | |
| 1883 | attacktype = 1 | |
| 1884 | end | |
| 1885 | end) | |
| 1886 | ||
| 1887 | mouse.KeyDown:connect(function(k) | |
| 1888 | k = k:lower() | |
| 1889 | if k=='e' and gun==false and shoot==false and attack==false then | |
| 1890 | GunStance() | |
| 1891 | end | |
| 1892 | if k=='e'and shoot==false then | |
| 1893 | if gun==true then | |
| 1894 | gun=false | |
| 1895 | end | |
| 1896 | end | |
| 1897 | if k=='q' and gun==false and shoot==false and attack==false and cooldown1 >= co1 and stamina>=skill1stam then | |
| 1898 | cooldown1=0 | |
| 1899 | subtractstamina(skill1stam) | |
| 1900 | EchoBarrage() | |
| 1901 | end | |
| 1902 | if k=='r' and gun==false and shoot==false and attack==false and cooldown2 >= co2 and stamina>=skill2stam then | |
| 1903 | cooldown2=0 | |
| 1904 | subtractstamina(skill2stam) | |
| 1905 | LucentScatter() | |
| 1906 | end | |
| 1907 | if k=='t' and gun==false and shoot==false and attack==false and cooldown3 >= co3 and stamina>=skill3stam then | |
| 1908 | cooldown3=0 | |
| 1909 | subtractstamina(skill3stam) | |
| 1910 | Reflex() | |
| 1911 | end | |
| 1912 | if k=='f' and gun==false and shoot==false and attack==false and cooldown4 >= co4 and stamina>=skill4stam then | |
| 1913 | cooldown4=0 | |
| 1914 | subtractstamina(skill4stam) | |
| 1915 | Luxuriance() | |
| 1916 | end | |
| 1917 | end) | |
| 1918 | ||
| 1919 | ||
| 1920 | inputserv.InputBegan:connect(function(k) | |
| 1921 | if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then | |
| 1922 | elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then | |
| 1923 | elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then | |
| 1924 | elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then | |
| 1925 | end | |
| 1926 | end) | |
| 1927 | ||
| 1928 | inputserv.InputBegan:connect(function(k) | |
| 1929 | if k.KeyCode == Enum.KeyCode.Slash then | |
| 1930 | local fin = nil | |
| 1931 | typing = true | |
| 1932 | fin = inputserv.InputBegan:connect(function(k) | |
| 1933 | if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 1934 | typing = false | |
| 1935 | fin:disconnect() | |
| 1936 | end | |
| 1937 | end) | |
| 1938 | end | |
| 1939 | end) | |
| 1940 | ||
| 1941 | local ReboundCount = 0 | |
| 1942 | ||
| 1943 | function updateskills() | |
| 1944 | if cooldown1 <= co1 then | |
| 1945 | cooldown1 = cooldown1 + 1 | |
| 1946 | end | |
| 1947 | if cooldown2 <= co2 then | |
| 1948 | cooldown2 = cooldown2 + 1 | |
| 1949 | end | |
| 1950 | if cooldown3 <= co3 then | |
| 1951 | cooldown3 = cooldown3 + 1 | |
| 1952 | end | |
| 1953 | if cooldown4 <= co4 then | |
| 1954 | cooldown4 = cooldown4 + 1 | |
| 1955 | end | |
| 1956 | if stamina <= maxstamina then | |
| 1957 | stamina = stamina + recoverEnergy | |
| 1958 | end | |
| 1959 | end | |
| 1960 | ||
| 1961 | game:GetService'RunService'.Heartbeat:connect(function() | |
| 1962 | updateskills() | |
| 1963 | gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RootPart.CFrame.p).unit * 100) | |
| 1964 | healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5) | |
| 1965 | staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5) | |
| 1966 | bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5) | |
| 1967 | bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5) | |
| 1968 | bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5) | |
| 1969 | bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5) | |
| 1970 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1971 | velocity = RootPart.Velocity.y | |
| 1972 | sine = sine + change | |
| 1973 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1974 | Character.Humanoid.WalkSpeed = 16 * speed.Value | |
| 1975 | if equipped == true or equipped == false then | |
| 1976 | if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then | |
| 1977 | Anim = "Jump" | |
| 1978 | if attack == false then | |
| 1979 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .25) | |
| 1980 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25) | |
| 1981 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(50)), .25) | |
| 1982 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-50)), .25) | |
| 1983 | RH.C0 = clerp(RH.C0, cn(0.4, -1.5, -.5) * angles(math.rad(-20), math.rad(0), math.rad(-5)), .25) | |
| 1984 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), .25) | |
| 1985 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
| 1986 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
| 1987 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 1988 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 1989 | end | |
| 1990 | elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then | |
| 1991 | Anim = "Fall" | |
| 1992 | if attack == false then | |
| 1993 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), .25) | |
| 1994 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25) | |
| 1995 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(70)), .25) | |
| 1996 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-70)), .25) | |
| 1997 | RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .25) | |
| 1998 | LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .25) | |
| 1999 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
| 2000 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
| 2001 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 2002 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 2003 | end | |
| 2004 | elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then | |
| 2005 | Anim = "Idle" | |
| 2006 | if attack == false then | |
| 2007 | change = 1 | |
| 2008 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.1+0.1*math.cos(sine/25), -0.1+0.05*math.cos(sine/25)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .25) | |
| 2009 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10+5*math.cos(sine/25)), math.rad(0), math.rad(30)), .25) | |
| 2010 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(10)), .25) | |
| 2011 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(-10)), .25) | |
| 2012 | RH.C0 = clerp(RH.C0, cn(0.7, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(5))* angles(math.rad(-5+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25) | |
| 2013 | LH.C0 = clerp(LH.C0, cn(-0.6, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(-3))* angles(math.rad(-3+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25) | |
| 2014 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
| 2015 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
| 2016 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 2017 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 2018 | end | |
| 2019 | elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then | |
| 2020 | Anim = "Walk" | |
| 2021 | if attack == false then | |
| 2022 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20+1*math.cos(sine/5)), math.rad(0), math.rad(5*math.cos(sine/4.5))), .25) | |
| 2023 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-5*math.cos(sine/4.5))), .25) | |
| 2024 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(20+1*math.cos(sine/5))), .25) | |
| 2025 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20+1*math.cos(sine/5))), .25) | |
| 2026 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 1*math.cos(sine/4.5)) * angles(math.rad(-50*math.cos(sine/4.5)), math.rad(0), math.rad(3)), .25) | |
| 2027 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, -1*math.cos(sine/4.5)) * angles(math.rad(50*math.cos(sine/4.5)), math.rad(0), math.rad(-3)), .25) | |
| 2028 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
| 2029 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
| 2030 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 2031 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 2032 | end | |
| 2033 | elseif stun.Value == true then | |
| 2034 | if attack == false then | |
| 2035 | Character.Humanoid.WalkSpeed = 0 | |
| 2036 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
| 2037 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
| 2038 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
| 2039 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
| 2040 | RH.C0 = clerp(RH.C0, cn(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
| 2041 | LH.C0 = clerp(LH.C0, cn(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
| 2042 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 2043 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
| 2044 | end | |
| 2045 | end | |
| 2046 | end | |
| 2047 | if #Effects > 0 then | |
| 2048 | for e = 1, #Effects do | |
| 2049 | if Effects[e] ~= nil then | |
| 2050 | local Thing = Effects[e] | |
| 2051 | if Thing ~= nil then | |
| 2052 | local Part = Thing[1] | |
| 2053 | local Mode = Thing[2] | |
| 2054 | local Delay = Thing[3] | |
| 2055 | local IncX = Thing[4] | |
| 2056 | local IncY = Thing[5] | |
| 2057 | local IncZ = Thing[6] | |
| 2058 | if Thing[1].Transparency <= 1 then | |
| 2059 | if Thing[2] == "Block1" then | |
| 2060 | Thing[1].CFrame = Thing[1].CFrame * CFrame.FromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2061 | local Mesh = Thing[1].Mesh | |
| 2062 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2063 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2064 | elseif Thing[2] == "Cylinder" then | |
| 2065 | local Mesh = Thing[1].Mesh | |
| 2066 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2067 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2068 | elseif Thing[2] == "Blood" then | |
| 2069 | local Mesh = Thing[7] | |
| 2070 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0) | |
| 2071 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2072 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2073 | elseif Thing[2] == "Elec" then | |
| 2074 | local Mesh = Thing[1].Mesh | |
| 2075 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2076 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2077 | elseif Thing[2] == "Disappear" then | |
| 2078 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2079 | end | |
| 2080 | else | |
| 2081 | Part.Parent = nil | |
| 2082 | table.remove(Effects, e) | |
| 2083 | end | |
| 2084 | end | |
| 2085 | end | |
| 2086 | end | |
| 2087 | end | |
| 2088 | for _, lasr in pairs(lasrs) do | |
| 2089 | for i, v in pairs(lasr[9]) do | |
| 2090 | if lasr[7][i].Parent then | |
| 2091 | v.Scale = v.Scale + Vector3.new(-0.1,0,-0.1) | |
| 2092 | lasr[10][i].Scale = lasr[10][i].Scale + Vector3.new(-0.1,0,-0.1) | |
| 2093 | if v.Scale.x < 0.1 then | |
| 2094 | lasr[7][i].Parent = nil | |
| 2095 | lasr[8][i].Parent = nil | |
| 2096 | end | |
| 2097 | end | |
| 2098 | end | |
| 2099 | ||
| 2100 | if lasr[1] then | |
| 2101 | local hitz, enz = RAY(lasr[3],lasr[2]*lasrspd) | |
| 2102 | lasr[5] = lasr[5] + (lasr[3] - enz).magnitude | |
| 2103 | ||
| 2104 | lasr[7][lasr[6]].Parent = m | |
| 2105 | lasr[7][lasr[6]].CFrame = CFrame.new((lasr[3] + enz)/2,enz) * CFrame.Angles(math.pi/2,0,0) | |
| 2106 | lasr[9][lasr[6]].Scale = Vector3.new(0.7,(lasr[3] - enz).magnitude*5,0.7) | |
| 2107 | ||
| 2108 | lasr[8][lasr[6]].Parent = m | |
| 2109 | lasr[8][lasr[6]].CFrame = lasr[7][lasr[6]].CFrame | |
| 2110 | lasr[10][lasr[6]].Scale = Vector3.new(1.3,(lasr[3] - enz).magnitude*5 + 0.02,1.3) | |
| 2111 | ||
| 2112 | lasr[3] = enz | |
| 2113 | lasr[6] = lasr[6]%#lasr[7] + 1 | |
| 2114 | ||
| 2115 | if hitz then | |
| 2116 | lasr[4] = lasr[4] + 1 | |
| 2117 | if lasr[4] == maxRebounds then | |
| 2118 | lasr[1] = false | |
| 2119 | so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
| |
| 2120 | damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart)
| |
| 2121 | print(ReboundCount) | |
| 2122 | else | |
| 2123 | local norm = FindSurface(hitz,enz) | |
| 2124 | lasr[2] = Reflect(lasr[2],norm) | |
| 2125 | so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
| |
| 2126 | damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart)
| |
| 2127 | print(ReboundCount) | |
| 2128 | end | |
| 2129 | end | |
| 2130 | if lasr[5] > maxTravelDistance then | |
| 2131 | lasr[1] = false | |
| 2132 | end | |
| 2133 | end | |
| 2134 | end | |
| 2135 | end) |