SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,game,owner = owner,game | |
| 3 | local RealPlayer = Player | |
| 4 | do | |
| 5 | print("FE Compatibility code by Mokiros, Edited by StarzoZero")
| |
| 6 | local rp = RealPlayer | |
| 7 | script.Parent = rp.Character | |
| 8 | ||
| 9 | --RemoteEvent for communicating | |
| 10 | local Event = Instance.new("RemoteEvent")
| |
| 11 | Event.Name = "UserInput_Event" | |
| 12 | ||
| 13 | --Fake event to make stuff like Mouse.KeyDown work | |
| 14 | local function fakeEvent() | |
| 15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 16 | t.connect = t.Connect | |
| 17 | return t | |
| 18 | end | |
| 19 | ||
| 20 | --Creating fake input objects with fake variables | |
| 21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 25 | end} | |
| 26 | --Merged 2 functions into one by checking amount of arguments | |
| 27 | CAS.UnbindAction = CAS.BindAction | |
| 28 | ||
| 29 | --This function will trigger the events that have been :Connect()'ed | |
| 30 | local function te(self,ev,...) | |
| 31 | local t = m[ev] | |
| 32 | if t and t._fakeEvent then | |
| 33 | for _,f in pairs(t.Functions) do | |
| 34 | f(...) | |
| 35 | end | |
| 36 | end | |
| 37 | end | |
| 38 | m.TrigEvent = te | |
| 39 | UIS.TrigEvent = te | |
| 40 | ||
| 41 | Event.OnServerEvent:Connect(function(plr,io) | |
| 42 | if plr~=rp then return end | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | if not io.isMouse then | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 51 | return m:TrigEvent(b and "Button2Down" or "Button2Up") | |
| 52 | end | |
| 53 | for _,t in pairs(CAS.Actions) do | |
| 54 | for _,k in pairs(t.Keys) do | |
| 55 | if k==io.KeyCode then | |
| 56 | t.Function(t.Name,io.UserInputState,io) | |
| 57 | end | |
| 58 | end | |
| 59 | end | |
| 60 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 61 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 62 | end | |
| 63 | end) | |
| 64 | Event.Parent = NLS([==[ | |
| 65 | local Player = game:GetService("Players").LocalPlayer
| |
| 66 | local Event = script:WaitForChild("UserInput_Event")
| |
| 67 | local Mouse = Player:GetMouse() | |
| 68 | local UIS = game:GetService("UserInputService")
| |
| 69 | local input = function(io,a) | |
| 70 | if a then return end | |
| 71 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 72 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 73 | end | |
| 74 | UIS.InputBegan:Connect(input) | |
| 75 | UIS.InputEnded:Connect(input) | |
| 76 | local h,t | |
| 77 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 78 | --If player is not moving their mouse, client won't fire events | |
| 79 | while wait(1/30) do | |
| 80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 81 | h,t=Mouse.Hit,Mouse.Target | |
| 82 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 83 | end | |
| 84 | end]==],Player.Character) | |
| 85 | ||
| 86 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 87 | --Real game object | |
| 88 | local _rg = game | |
| 89 | ||
| 90 | --Metatable for fake service | |
| 91 | local fsmt = {
| |
| 92 | __index = function(self,k) | |
| 93 | local s = rawget(self,"_RealService") | |
| 94 | if s then | |
| 95 | return typeof(s[k])=="function" | |
| 96 | and function(_,...)return s[k](s,...)end or s[k] | |
| 97 | end | |
| 98 | end, | |
| 99 | __newindex = function(self,k,v) | |
| 100 | local s = rawget(self,"_RealService") | |
| 101 | if s then s[k]=v end | |
| 102 | end | |
| 103 | } | |
| 104 | local function FakeService(t,RealService) | |
| 105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 106 | return setmetatable(t,fsmt) | |
| 107 | end | |
| 108 | ||
| 109 | --Fake game object | |
| 110 | local g = {
| |
| 111 | GetService = function(self,s) | |
| 112 | return rawget(self,s) or _rg:GetService(s) | |
| 113 | end, | |
| 114 | Players = FakeService({
| |
| 115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 116 | },"Players"), | |
| 117 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 119 | RunService = FakeService({
| |
| 120 | _btrs = {},
| |
| 121 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 122 | BindToRenderStep = function(self,name,_,fun) | |
| 123 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 124 | end, | |
| 125 | UnbindFromRenderStep = function(self,name) | |
| 126 | self._btrs[name]:Disconnect() | |
| 127 | end, | |
| 128 | },"RunService") | |
| 129 | } | |
| 130 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 131 | g.service = g.GetService | |
| 132 | FakeService(g,game) | |
| 133 | --Changing owner to fake player object to support owner:GetMouse() | |
| 134 | game,owner = g,g.Players.LocalPlayer | |
| 135 | end | |
| 136 | ||
| 137 | -- Insane Genocidal Maniac, Long ass name lmao | |
| 138 | -- A script By makhail07 | |
| 139 | -- Discord Creterisk#2958 | |
| 140 | -- Credit to Salvos sadist for the uzi idea, and also salvo's genocider :thonk: | |
| 141 | ||
| 142 | ||
| 143 | ||
| 144 | --[[ If you wish to change the color of the gun simply just replace "Dark stone grey" for the mag, | |
| 145 | "Black" and "Really black" for the gun, with any color you wish. | |
| 146 | --]] | |
| 147 | ||
| 148 | ||
| 149 | ||
| 150 | local IDs = {340106355,927529620,876981900,398987889}
| |
| 151 | ||
| 152 | ||
| 153 | ------------------------------------------------------------ | |
| 154 | --------------------------------------------- | |
| 155 | --Start of Functions-- | |
| 156 | ------------------------------------------------------------ | |
| 157 | --------------------------------------------- | |
| 158 | ||
| 159 | ||
| 160 | function swait(num) | |
| 161 | if num==0 or num==nil then | |
| 162 | game:service'RunService'.Stepped:wait(0) | |
| 163 | else | |
| 164 | for i=0,num do | |
| 165 | game:service'RunService'.Stepped:wait(0) | |
| 166 | end | |
| 167 | end | |
| 168 | end | |
| 169 | function thread(f) | |
| 170 | coroutine.resume(coroutine.create(f)) | |
| 171 | end | |
| 172 | function clerp(a, b, t) | |
| 173 | local qa = {
| |
| 174 | QuaternionFromCFrame(a) | |
| 175 | } | |
| 176 | local qb = {
| |
| 177 | QuaternionFromCFrame(b) | |
| 178 | } | |
| 179 | local ax, ay, az = a.x, a.y, a.z | |
| 180 | local bx, by, bz = b.x, b.y, b.z | |
| 181 | local _t = 1 - t | |
| 182 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 183 | end | |
| 184 | function QuaternionFromCFrame(cf) | |
| 185 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 186 | local trace = m00 + m11 + m22 | |
| 187 | if trace > 0 then | |
| 188 | local s = math.sqrt(1 + trace) | |
| 189 | local recip = 0.5 / s | |
| 190 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 191 | else | |
| 192 | local i = 0 | |
| 193 | if m00 < m11 then | |
| 194 | i = 1 | |
| 195 | end | |
| 196 | if m22 > (i == 0 and m00 or m11) then | |
| 197 | i = 2 | |
| 198 | end | |
| 199 | if i == 0 then | |
| 200 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 201 | local recip = 0.5 / s | |
| 202 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 203 | elseif i == 1 then | |
| 204 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 205 | local recip = 0.5 / s | |
| 206 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 207 | elseif i == 2 then | |
| 208 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 209 | local recip = 0.5 / s | |
| 210 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 211 | end | |
| 212 | end | |
| 213 | end | |
| 214 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 215 | local xs, ys, zs = x + x, y + y, z + z | |
| 216 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 217 | local xx = x * xs | |
| 218 | local xy = x * ys | |
| 219 | local xz = x * zs | |
| 220 | local yy = y * ys | |
| 221 | local yz = y * zs | |
| 222 | local zz = z * zs | |
| 223 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 224 | end | |
| 225 | function QuaternionSlerp(a, b, t) | |
| 226 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 227 | local startInterp, finishInterp | |
| 228 | if cosTheta >= 1.0E-4 then | |
| 229 | if 1 - cosTheta > 1.0E-4 then | |
| 230 | local theta = math.acos(cosTheta) | |
| 231 | local invSinTheta = 1 / math.sin(theta) | |
| 232 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 233 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 234 | else | |
| 235 | startInterp = 1 - t | |
| 236 | finishInterp = t | |
| 237 | end | |
| 238 | elseif 1 + cosTheta > 1.0E-4 then | |
| 239 | local theta = math.acos(-cosTheta) | |
| 240 | local invSinTheta = 1 / math.sin(theta) | |
| 241 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 242 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 243 | else | |
| 244 | startInterp = t - 1 | |
| 245 | finishInterp = t | |
| 246 | end | |
| 247 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
| 248 | end | |
| 249 | function rayCast(Position, Direction, Range, Ignore) | |
| 250 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 251 | end | |
| 252 | --Wait what okay | |
| 253 | wait() | |
| 254 | local plr = game:service'Players'.LocalPlayer | |
| 255 | local char = plr.Character | |
| 256 | local hum = char.Humanoid | |
| 257 | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
| |
| 258 | ff.Visible = false | |
| 259 | hum.MaxHealth = 1.0E298 | |
| 260 | hum.Health = 1.0E298 | |
| 261 | game:GetService("RunService"):BindToRenderStep("ew", 0, function()
| |
| 262 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
| 263 | hum.MaxHealth = 1.0E298 | |
| 264 | hum.Health = 1.0E298 | |
| 265 | end | |
| 266 | end) | |
| 267 | local ra = char["Right Arm"] | |
| 268 | local la= char["Left Arm"] | |
| 269 | local rl= char["Right Leg"] | |
| 270 | local ll = char["Left Leg"] | |
| 271 | local hed = char.Head | |
| 272 | local root = char.HumanoidRootPart | |
| 273 | local rootj = root.RootJoint | |
| 274 | local tors = char.Torso | |
| 275 | local mouse = plr:GetMouse() | |
| 276 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 277 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 278 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 279 | local maincolor = BrickColor.new("Really black")
| |
| 280 | cf = CFrame.new | |
| 281 | angles = CFrame.Angles | |
| 282 | attack = false | |
| 283 | euler=CFrame.fromEulerAnglesXYZ | |
| 284 | equipped = false | |
| 285 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 286 | RSH, LSH = nil, nil | |
| 287 | RW = Instance.new("Weld")
| |
| 288 | LW = Instance.new("Weld")
| |
| 289 | RH = tors["Right Hip"] | |
| 290 | LH = tors["Left Hip"] | |
| 291 | RSH = tors["Right Shoulder"] | |
| 292 | LSH = tors["Left Shoulder"] | |
| 293 | RSH.Parent = nil | |
| 294 | LSH.Parent = nil | |
| 295 | RW.Name = "RW" | |
| 296 | RW.Part0 = tors | |
| 297 | RW.C0 = CFrame.new(1.5, 0.5, 0) | |
| 298 | RW.C1 = CFrame.new(0, 0.5, 0) | |
| 299 | RW.Part1 = ra | |
| 300 | RW.Parent = tors | |
| 301 | LW.Name = "LW" | |
| 302 | LW.Part0 = tors | |
| 303 | LW.C0 = CFrame.new(-1.5, 0.5, 0) | |
| 304 | LW.C1 = CFrame.new(0, 0.5, 0) | |
| 305 | LW.Part1 = la | |
| 306 | LW.Parent = tors | |
| 307 | print('User is '..plr.Name)
| |
| 308 | Effects = {}
| |
| 309 | ||
| 310 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 311 | ArtificialHB.Name = "Heartbeat" | |
| 312 | ||
| 313 | script:WaitForChild("Heartbeat")
| |
| 314 | ||
| 315 | ||
| 316 | frame = 1 / 60 | |
| 317 | tf = 0 | |
| 318 | allowframeloss = false | |
| 319 | tossremainder = false | |
| 320 | lastframe = tick() | |
| 321 | script.Heartbeat:Fire() | |
| 322 | ||
| 323 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 324 | tf = tf + s | |
| 325 | if tf >= frame then | |
| 326 | if allowframeloss then | |
| 327 | script.Heartbeat:Fire() | |
| 328 | lastframe = tick() | |
| 329 | else | |
| 330 | for i = 1, math.floor(tf / frame) do | |
| 331 | script.Heartbeat:Fire() | |
| 332 | end | |
| 333 | lastframe = tick() | |
| 334 | end | |
| 335 | if tossremainder then | |
| 336 | tf = 0 | |
| 337 | else | |
| 338 | tf = tf - frame * math.floor(tf / frame) | |
| 339 | end | |
| 340 | end | |
| 341 | end) | |
| 342 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 343 | local Create = RbxUtility.Create | |
| 344 | ||
| 345 | ||
| 346 | function ShowDamage(Pos, Text, Time, Color) | |
| 347 | local Rate = (1 / 30) | |
| 348 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 349 | local Text = (Text or "") | |
| 350 | local Time = (Time or 2) | |
| 351 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 352 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 353 | EffectPart.Anchored = true | |
| 354 | local BillboardGui = Create("BillboardGui"){
| |
| 355 | Size = UDim2.new(3, 0, 3, 0), | |
| 356 | Adornee = EffectPart, | |
| 357 | Parent = EffectPart, | |
| 358 | } | |
| 359 | local TextLabel = Create("TextLabel"){
| |
| 360 | BackgroundTransparency = 1, | |
| 361 | Size = UDim2.new(1, 0, 1, 0), | |
| 362 | Text = Text, | |
| 363 | Font = "Highway", | |
| 364 | TextColor3 = Color, | |
| 365 | TextScaled = true, | |
| 366 | Parent = BillboardGui, | |
| 367 | } | |
| 368 | game.Debris:AddItem(EffectPart, (Time)) | |
| 369 | EffectPart.Parent = game:GetService("Workspace")
| |
| 370 | delay(0, function() | |
| 371 | local Frames = (Time / Rate) | |
| 372 | for Frame = 1, Frames do | |
| 373 | wait(Rate) | |
| 374 | local Percent = (Frame / Frames) | |
| 375 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 376 | TextLabel.TextTransparency = Percent | |
| 377 | end | |
| 378 | if EffectPart and EffectPart.Parent then | |
| 379 | EffectPart:Destroy() | |
| 380 | end | |
| 381 | end) | |
| 382 | end | |
| 383 | CFuncs = {
| |
| 384 | Part = {
| |
| 385 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 386 | local Part = Create("Part")({
| |
| 387 | Parent = Parent, | |
| 388 | Reflectance = Reflectance, | |
| 389 | Transparency = Transparency, | |
| 390 | CanCollide = false, | |
| 391 | Locked = true, | |
| 392 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 393 | Name = Name, | |
| 394 | Size = Size, | |
| 395 | Material = Material | |
| 396 | }) | |
| 397 | RemoveOutlines(Part) | |
| 398 | return Part | |
| 399 | end | |
| 400 | }, | |
| 401 | Mesh = {
| |
| 402 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 403 | local Msh = Create(Mesh)({
| |
| 404 | Parent = Part, | |
| 405 | Offset = OffSet, | |
| 406 | Scale = Scale | |
| 407 | }) | |
| 408 | if Mesh == "SpecialMesh" then | |
| 409 | Msh.MeshType = MeshType | |
| 410 | Msh.MeshId = MeshId | |
| 411 | end | |
| 412 | return Msh | |
| 413 | end | |
| 414 | }, | |
| 415 | Mesh = {
| |
| 416 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 417 | local Msh = Create(Mesh)({
| |
| 418 | Parent = Part, | |
| 419 | Offset = OffSet, | |
| 420 | Scale = Scale | |
| 421 | }) | |
| 422 | if Mesh == "SpecialMesh" then | |
| 423 | Msh.MeshType = MeshType | |
| 424 | Msh.MeshId = MeshId | |
| 425 | end | |
| 426 | return Msh | |
| 427 | end | |
| 428 | }, | |
| 429 | Weld = {
| |
| 430 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 431 | local Weld = Create("Weld")({
| |
| 432 | Parent = Parent, | |
| 433 | Part0 = Part0, | |
| 434 | Part1 = Part1, | |
| 435 | C0 = C0, | |
| 436 | C1 = C1 | |
| 437 | }) | |
| 438 | return Weld | |
| 439 | end | |
| 440 | }, | |
| 441 | Sound = {
| |
| 442 | Create = function(id, par, vol, pit) | |
| 443 | coroutine.resume(coroutine.create(function() | |
| 444 | local S = Create("Sound")({
| |
| 445 | Volume = vol, | |
| 446 | Pitch = pit or 1, | |
| 447 | SoundId = id, | |
| 448 | Parent = par or workspace | |
| 449 | }) | |
| 450 | wait() | |
| 451 | S:play() | |
| 452 | game:GetService("Debris"):AddItem(S, 6)
| |
| 453 | end)) | |
| 454 | end | |
| 455 | }, | |
| 456 | ParticleEmitter = {
| |
| 457 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 458 | local fp = Create("ParticleEmitter")({
| |
| 459 | Parent = Parent, | |
| 460 | Color = ColorSequence.new(Color1, Color2), | |
| 461 | LightEmission = LightEmission, | |
| 462 | Size = Size, | |
| 463 | Texture = Texture, | |
| 464 | Transparency = Transparency, | |
| 465 | ZOffset = ZOffset, | |
| 466 | Acceleration = Accel, | |
| 467 | Drag = Drag, | |
| 468 | LockedToPart = LockedToPart, | |
| 469 | VelocityInheritance = VelocityInheritance, | |
| 470 | EmissionDirection = EmissionDirection, | |
| 471 | Enabled = Enabled, | |
| 472 | Lifetime = LifeTime, | |
| 473 | Rate = Rate, | |
| 474 | Rotation = Rotation, | |
| 475 | RotSpeed = RotSpeed, | |
| 476 | Speed = Speed, | |
| 477 | VelocitySpread = VelocitySpread | |
| 478 | }) | |
| 479 | return fp | |
| 480 | end | |
| 481 | } | |
| 482 | } | |
| 483 | function RemoveOutlines(part) | |
| 484 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 485 | end | |
| 486 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 487 | local NEWSOUND = nil | |
| 488 | coroutine.resume(coroutine.create(function() | |
| 489 | NEWSOUND = Instance.new("Sound", PARENT)
| |
| 490 | NEWSOUND.Volume = VOLUME | |
| 491 | NEWSOUND.Pitch = PITCH | |
| 492 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 493 | swait() | |
| 494 | NEWSOUND:play() | |
| 495 | game:GetService("Debris"):AddItem(NEWSOUND, 10)
| |
| 496 | end)) | |
| 497 | return NEWSOUND | |
| 498 | end | |
| 499 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 500 | local Part = Create("Part")({
| |
| 501 | formFactor = FormFactor, | |
| 502 | Parent = Parent, | |
| 503 | Reflectance = Reflectance, | |
| 504 | Transparency = Transparency, | |
| 505 | CanCollide = false, | |
| 506 | Locked = true, | |
| 507 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 508 | Name = Name, | |
| 509 | Size = Size, | |
| 510 | Material = Material | |
| 511 | }) | |
| 512 | RemoveOutlines(Part) | |
| 513 | return Part | |
| 514 | end | |
| 515 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 516 | local Msh = Create(Mesh)({
| |
| 517 | Parent = Part, | |
| 518 | Offset = OffSet, | |
| 519 | Scale = Scale | |
| 520 | }) | |
| 521 | if Mesh == "SpecialMesh" then | |
| 522 | Msh.MeshType = MeshType | |
| 523 | Msh.MeshId = MeshId | |
| 524 | end | |
| 525 | return Msh | |
| 526 | end | |
| 527 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 528 | local Weld = Create("Weld")({
| |
| 529 | Parent = Parent, | |
| 530 | Part0 = Part0, | |
| 531 | Part1 = Part1, | |
| 532 | C0 = C0, | |
| 533 | C1 = C1 | |
| 534 | }) | |
| 535 | return Weld | |
| 536 | end | |
| 537 | ||
| 538 | ||
| 539 | EffectModel = Instance.new("Model", char)
| |
| 540 | Effects = {
| |
| 541 | Block = {
| |
| 542 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 543 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 544 | prt.Anchored = true | |
| 545 | prt.CFrame = cframe | |
| 546 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 547 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 548 | if Type == 1 or Type == nil then | |
| 549 | table.insert(Effects, {
| |
| 550 | prt, | |
| 551 | "Block1", | |
| 552 | delay, | |
| 553 | x3, | |
| 554 | y3, | |
| 555 | z3, | |
| 556 | msh | |
| 557 | }) | |
| 558 | elseif Type == 2 then | |
| 559 | table.insert(Effects, {
| |
| 560 | prt, | |
| 561 | "Block2", | |
| 562 | delay, | |
| 563 | x3, | |
| 564 | y3, | |
| 565 | z3, | |
| 566 | msh | |
| 567 | }) | |
| 568 | else | |
| 569 | table.insert(Effects, {
| |
| 570 | prt, | |
| 571 | "Block3", | |
| 572 | delay, | |
| 573 | x3, | |
| 574 | y3, | |
| 575 | z3, | |
| 576 | msh | |
| 577 | }) | |
| 578 | end | |
| 579 | end | |
| 580 | }, | |
| 581 | Sphere = {
| |
| 582 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 583 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 584 | prt.Anchored = true | |
| 585 | prt.CFrame = cframe | |
| 586 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 587 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 588 | table.insert(Effects, {
| |
| 589 | prt, | |
| 590 | "Cylinder", | |
| 591 | delay, | |
| 592 | x3, | |
| 593 | y3, | |
| 594 | z3, | |
| 595 | msh | |
| 596 | }) | |
| 597 | end | |
| 598 | }, | |
| 599 | Cylinder = {
| |
| 600 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 601 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 602 | prt.Anchored = true | |
| 603 | prt.CFrame = cframe | |
| 604 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 605 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 606 | table.insert(Effects, {
| |
| 607 | prt, | |
| 608 | "Cylinder", | |
| 609 | delay, | |
| 610 | x3, | |
| 611 | y3, | |
| 612 | z3, | |
| 613 | msh | |
| 614 | }) | |
| 615 | end | |
| 616 | }, | |
| 617 | Wave = {
| |
| 618 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 619 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 620 | prt.Anchored = true | |
| 621 | prt.CFrame = cframe | |
| 622 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 623 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 624 | table.insert(Effects, {
| |
| 625 | prt, | |
| 626 | "Cylinder", | |
| 627 | delay, | |
| 628 | x3 / 60, | |
| 629 | y3 / 60, | |
| 630 | z3 / 60, | |
| 631 | msh | |
| 632 | }) | |
| 633 | end | |
| 634 | }, | |
| 635 | Ring = {
| |
| 636 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 637 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 638 | prt.Anchored = true | |
| 639 | prt.CFrame = cframe | |
| 640 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 641 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 642 | table.insert(Effects, {
| |
| 643 | prt, | |
| 644 | "Cylinder", | |
| 645 | delay, | |
| 646 | x3, | |
| 647 | y3, | |
| 648 | z3, | |
| 649 | msh | |
| 650 | }) | |
| 651 | end | |
| 652 | }, | |
| 653 | Break = {
| |
| 654 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 655 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 656 | prt.Anchored = true | |
| 657 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 658 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 659 | local num = math.random(10, 50) / 1000 | |
| 660 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 661 | table.insert(Effects, {
| |
| 662 | prt, | |
| 663 | "Shatter", | |
| 664 | num, | |
| 665 | prt.CFrame, | |
| 666 | math.random() - math.random(), | |
| 667 | 0, | |
| 668 | math.random(50, 100) / 100 | |
| 669 | }) | |
| 670 | end | |
| 671 | } | |
| 672 | } | |
| 673 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 674 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 675 | prt.Anchored = true | |
| 676 | prt.CFrame = cframe | |
| 677 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 678 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 679 | if Type == 1 or Type == nil then | |
| 680 | table.insert(Effects, {
| |
| 681 | prt, | |
| 682 | "Block1", | |
| 683 | delay, | |
| 684 | x3, | |
| 685 | y3, | |
| 686 | z3, | |
| 687 | msh | |
| 688 | }) | |
| 689 | elseif Type == 2 then | |
| 690 | table.insert(Effects, {
| |
| 691 | prt, | |
| 692 | "Block2", | |
| 693 | delay, | |
| 694 | x3, | |
| 695 | y3, | |
| 696 | z3, | |
| 697 | msh | |
| 698 | }) | |
| 699 | elseif Type == 3 then | |
| 700 | table.insert(Effects, {
| |
| 701 | prt, | |
| 702 | "Block3", | |
| 703 | delay, | |
| 704 | x3, | |
| 705 | y3, | |
| 706 | z3, | |
| 707 | msh | |
| 708 | }) | |
| 709 | end | |
| 710 | end | |
| 711 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 712 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 713 | prt.Anchored = true | |
| 714 | prt.CFrame = cframe | |
| 715 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 716 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 717 | table.insert(Effects, {
| |
| 718 | prt, | |
| 719 | "Cylinder", | |
| 720 | delay, | |
| 721 | x3, | |
| 722 | y3, | |
| 723 | z3, | |
| 724 | msh | |
| 725 | }) | |
| 726 | end | |
| 727 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 728 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 729 | prt.Anchored = true | |
| 730 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
| 731 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 732 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 733 | table.insert(Effects, {
| |
| 734 | prt, | |
| 735 | "Cylinder", | |
| 736 | delay, | |
| 737 | x3, | |
| 738 | y3, | |
| 739 | z3, | |
| 740 | msh | |
| 741 | }) | |
| 742 | end | |
| 743 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 744 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 745 | prt.Anchored = true | |
| 746 | prt.CFrame = cframe | |
| 747 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 748 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 749 | table.insert(Effects, {
| |
| 750 | prt, | |
| 751 | "Cylinder", | |
| 752 | delay, | |
| 753 | x3, | |
| 754 | y3, | |
| 755 | z3, | |
| 756 | msh | |
| 757 | }) | |
| 758 | end | |
| 759 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 760 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 761 | prt.Anchored = true | |
| 762 | prt.CFrame = cframe | |
| 763 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 764 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 765 | table.insert(Effects, {
| |
| 766 | prt, | |
| 767 | "Cylinder", | |
| 768 | delay, | |
| 769 | x3, | |
| 770 | y3, | |
| 771 | z3, | |
| 772 | msh | |
| 773 | }) | |
| 774 | end | |
| 775 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 776 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 777 | prt.Anchored = true | |
| 778 | prt.CFrame = cframe | |
| 779 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 780 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 781 | table.insert(Effects, {
| |
| 782 | prt, | |
| 783 | "Cylinder", | |
| 784 | delay, | |
| 785 | x3, | |
| 786 | y3, | |
| 787 | z3, | |
| 788 | msh | |
| 789 | }) | |
| 790 | end | |
| 791 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
| 792 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 793 | prt.Anchored = true | |
| 794 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 795 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 796 | local num = math.random(10, 50) / 1000 | |
| 797 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 798 | table.insert(Effects, {
| |
| 799 | prt, | |
| 800 | "Shatter", | |
| 801 | num, | |
| 802 | prt.CFrame, | |
| 803 | math.random() - math.random(), | |
| 804 | 0, | |
| 805 | math.random(50, 100) / 100 | |
| 806 | }) | |
| 807 | end | |
| 808 | ||
| 809 | ||
| 810 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 811 | function WACKYEFFECT(Table) | |
| 812 | local TYPE = (Table.EffectType or "Sphere") | |
| 813 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 814 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 815 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 816 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 817 | local CFRAME = (Table.CFrame or tors.CFrame) | |
| 818 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 819 | local ROTATION1 = (Table.RotationX or 0) | |
| 820 | local ROTATION2 = (Table.RotationY or 0) | |
| 821 | local ROTATION3 = (Table.RotationZ or 0) | |
| 822 | local MATERIAL = (Table.Material or "Neon") | |
| 823 | local COLOR = (Table.Color or C3(1,1,1)) | |
| 824 | local TIME = (Table.Time or 45) | |
| 825 | local SOUNDID = (Table.SoundID or nil) | |
| 826 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 827 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 828 | coroutine.resume(coroutine.create(function() | |
| 829 | local PLAYSSOUND = false | |
| 830 | local SOUND = nil | |
| 831 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
| |
| 832 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 833 | PLAYSSOUND = true | |
| 834 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 835 | end | |
| 836 | EFFECT.Color = COLOR | |
| 837 | local MSH = nil | |
| 838 | if TYPE == "Sphere" then | |
| 839 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 840 | elseif TYPE == "Block" then | |
| 841 | MSH = IT("BlockMesh",EFFECT)
| |
| 842 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 843 | elseif TYPE == "Wave" then | |
| 844 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 845 | elseif TYPE == "Ring" then | |
| 846 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 847 | elseif TYPE == "Slash" then | |
| 848 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 849 | elseif TYPE == "Round Slash" then | |
| 850 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 851 | elseif TYPE == "Swirl" then | |
| 852 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 853 | elseif TYPE == "Skull" then | |
| 854 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 855 | elseif TYPE == "Crystal" then | |
| 856 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 857 | end | |
| 858 | if MSH ~= nil then | |
| 859 | local MOVESPEED = nil | |
| 860 | if MOVEDIRECTION ~= nil then | |
| 861 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 862 | end | |
| 863 | local GROWTH = SIZE - ENDSIZE | |
| 864 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 865 | if TYPE == "Block" then | |
| 866 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 867 | else | |
| 868 | EFFECT.CFrame = CFRAME | |
| 869 | end | |
| 870 | for LOOP = 1, TIME+1 do | |
| 871 | swait() | |
| 872 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 873 | if TYPE == "Wave" then | |
| 874 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 875 | end | |
| 876 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 877 | if TYPE == "Block" then | |
| 878 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 879 | else | |
| 880 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 881 | end | |
| 882 | if MOVEDIRECTION ~= nil then | |
| 883 | local ORI = EFFECT.Orientation | |
| 884 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 885 | EFFECT.Orientation = ORI | |
| 886 | end | |
| 887 | end | |
| 888 | if PLAYSSOUND == false then | |
| 889 | EFFECT:remove() | |
| 890 | else | |
| 891 | SOUND.Stopped:Connect(function() | |
| 892 | EFFECT:remove() | |
| 893 | end) | |
| 894 | end | |
| 895 | else | |
| 896 | if PLAYSSOUND == false then | |
| 897 | EFFECT:remove() | |
| 898 | else | |
| 899 | repeat swait() until SOUND.Playing == false | |
| 900 | EFFECT:remove() | |
| 901 | end | |
| 902 | end | |
| 903 | end)) | |
| 904 | end | |
| 905 | ||
| 906 | ||
| 907 | ||
| 908 | local lrs = game:service'RunService'.RenderStepped | |
| 909 | function bleed(char,timeforbleed) | |
| 910 | local Rate = (1/30) | |
| 911 | local clr = BrickColor.new"Really black" | |
| 912 | if char.Name == "Quil_Cyndaquil" or char.Name == "Nebula_Zorua" or char.Parent.Name == "Quil_Cyndaquil" or char.Parent.Name == "Nebula_Zorua" then | |
| 913 | clr = BrickColor.new"Teal" | |
| 914 | elseif char.Name == "Salvo_Starly" or char.Parent.Name == "Salvo_Starly" then | |
| 915 | clr = BrickColor.new"Institutional white" | |
| 916 | elseif char.Name == "visabledude" or char.Parent.Name == "visabledude" then | |
| 917 | clr = BrickColor.new"Really blue" | |
| 918 | elseif char.Name == "makhail07" or char.Parent.Name == "makhail07" then | |
| 919 | clr = BrickColor.new"Lime green" | |
| 920 | elseif char.Name == "KillerDarkness0105" or char.Parent.Name == "KillerDarkness0105" then | |
| 921 | clr = BrickColor.new"Really black" | |
| 922 | end | |
| 923 | local Frames = timeforbleed / Rate | |
| 924 | wait(.25) | |
| 925 | ||
| 926 | for Frame = 1, Frames do | |
| 927 | coroutine.wrap(function() | |
| 928 | local p = Instance.new("Part",workspace)
| |
| 929 | p.BrickColor = clr | |
| 930 | p.Size = Vector3.new(.25,.25,.25) | |
| 931 | p.Material = Enum.Material.Neon | |
| 932 | local prt | |
| 933 | if char:IsA"Model" then | |
| 934 | prt = char:FindFirstChild"Torso" or char:FindFirstChild"UpperTorso" | |
| 935 | else | |
| 936 | prt = char; | |
| 937 | end | |
| 938 | p.CFrame = prt.CFrame; | |
| 939 | p.Name = "Blood" | |
| 940 | p.CanCollide = false | |
| 941 | p.Velocity = prt.CFrame.lookVector * -math.random(25,30) + Vector3.new(math.random(-10,10),0,0) | |
| 942 | p.Touched:connect(function(tou) | |
| 943 | if tou.Name ~= "Blood" and tou.Parent and tou.Parent ~= char and (not tou.Parent.Parent or tou.Parent.Parent ~= char.Parent) and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:IsA"Tool" == false and tou.Name ~= "Handle" then
| |
| 944 | local pos = Vector3.new(p.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,p.Position.Z) | |
| 945 | p:destroy() | |
| 946 | if tou.Name == "BloodPuddle" then | |
| 947 | local reee = tou.CFrame | |
| 948 | if tou.Transparency > .2 then | |
| 949 | tou.Transparency = tou.Transparency - .1 | |
| 950 | end | |
| 951 | if tou.Size.X < 15 then | |
| 952 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
| 953 | tou.CFrame = reee | |
| 954 | end | |
| 955 | else | |
| 956 | local bloodlol = Instance.new('Part',workspace)
| |
| 957 | bloodlol.Size=Vector3.new(1,0.2,1) | |
| 958 | bloodlol.Name = "BloodPuddle" | |
| 959 | bloodlol.Anchored = true | |
| 960 | bloodlol.CanCollide = false | |
| 961 | bloodlol.Material = Enum.Material.Neon | |
| 962 | bloodlol.BrickColor = clr | |
| 963 | local cyl = Instance.new('CylinderMesh',bloodlol)
| |
| 964 | cyl.Scale = Vector3.new(1,0.1,1) | |
| 965 | bloodlol.CFrame = CFrame.new(pos) | |
| 966 | coroutine.wrap(function() | |
| 967 | wait(1) | |
| 968 | while bloodlol.Parent ~= nil do | |
| 969 | if bloodlol.Transparency < 1 then | |
| 970 | bloodlol.Transparency = bloodlol.Transparency+0.01 | |
| 971 | else | |
| 972 | bloodlol:Destroy() | |
| 973 | end | |
| 974 | wait() | |
| 975 | end | |
| 976 | end)() | |
| 977 | end | |
| 978 | end | |
| 979 | end) | |
| 980 | end)() | |
| 981 | wait((1/30)) | |
| 982 | end | |
| 983 | end | |
| 984 | ||
| 985 | ----shack2 | |
| 986 | ||
| 987 | local PlayerGui = plr.PlayerGui | |
| 988 | ||
| 989 | local WEAPONGUI = Instance.new("ScreenGui", PlayerGui)
| |
| 990 | WEAPONGUI.Name = "AAA" | |
| 991 | ||
| 992 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 993 | local frame = IT("Frame")
| |
| 994 | frame.BackgroundTransparency = TRANSPARENCY | |
| 995 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 996 | frame.Position = POSITION | |
| 997 | frame.Size = SIZE | |
| 998 | frame.BackgroundColor3 = COLOR | |
| 999 | frame.BorderColor3 = BORDERCOLOR | |
| 1000 | frame.Name = NAME | |
| 1001 | frame.Parent = PARENT | |
| 1002 | return frame | |
| 1003 | end | |
| 1004 | ||
| 1005 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 1006 | local label = IT("TextLabel")
| |
| 1007 | label.BackgroundTransparency = 1 | |
| 1008 | label.Size = UD2(1, 0, 1, 0) | |
| 1009 | label.Position = UD2(0, 0, 0, 0) | |
| 1010 | label.TextColor3 = TEXTCOLOR | |
| 1011 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 1012 | label.TextTransparency = TRANSPARENCY | |
| 1013 | label.FontSize = TEXTFONTSIZE | |
| 1014 | label.Font = TEXTFONT | |
| 1015 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 1016 | label.TextScaled = false | |
| 1017 | label.Text = TEXT | |
| 1018 | label.Name = NAME | |
| 1019 | label.Parent = PARENT | |
| 1020 | return label | |
| 1021 | end | |
| 1022 | -----shack2 | |
| 1023 | ||
| 1024 | ||
| 1025 | ----shack | |
| 1026 | IT = Instance.new | |
| 1027 | CF = CFrame.new | |
| 1028 | VT = Vector3.new | |
| 1029 | RAD = math.rad | |
| 1030 | C3 = Color3.new | |
| 1031 | UD2 = UDim2.new | |
| 1032 | BRICKC = BrickColor.new | |
| 1033 | ANGLES = CFrame.Angles | |
| 1034 | EULER = CFrame.fromEulerAnglesXYZ | |
| 1035 | COS = math.cos | |
| 1036 | ACOS = math.acos | |
| 1037 | SIN = math.sin | |
| 1038 | ASIN = math.asin | |
| 1039 | ABS = math.abs | |
| 1040 | MRANDOM = math.random | |
| 1041 | FLOOR = math.floor | |
| 1042 | ----end | |
| 1043 | ||
| 1044 | function dmg(dude) | |
| 1045 | if dude.Name ~= char then | |
| 1046 | dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
| |
| 1047 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 1048 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) | |
| 1049 | local val = Instance.new("BoolValue",dude)
| |
| 1050 | val.Name = "IsHit" | |
| 1051 | coroutine.wrap(function() | |
| 1052 | targetted = nil | |
| 1053 | swait(30) | |
| 1054 | local asd = Instance.new("ParticleEmitter",dude.Head)
| |
| 1055 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
| 1056 | asd.LightEmission = .1 | |
| 1057 | asd.Size = NumberSequence.new(0.2) | |
| 1058 | asd.Texture = "rbxassetid://771221224" | |
| 1059 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
| |
| 1060 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1061 | asd.Transparency = bbb | |
| 1062 | asd.Size = aaa | |
| 1063 | asd.ZOffset = .9 | |
| 1064 | asd.Acceleration = Vector3.new(0, -5, 0) | |
| 1065 | asd.LockedToPart = false | |
| 1066 | asd.EmissionDirection = "Back" | |
| 1067 | asd.Lifetime = NumberRange.new(1, 2) | |
| 1068 | asd.Rate = 1000 | |
| 1069 | asd.Rotation = NumberRange.new(-100, 100) | |
| 1070 | asd.RotSpeed = NumberRange.new(-100, 100) | |
| 1071 | asd.Speed = NumberRange.new(6) | |
| 1072 | asd.VelocitySpread = 10000 | |
| 1073 | asd.Enabled=true | |
| 1074 | dude:BreakJoints() | |
| 1075 | swait(5) | |
| 1076 | for i,v in pairs(dude:GetChildren()) do | |
| 1077 | if v:IsA("BasePart") then
| |
| 1078 | local bodpos = Instance.new("BodyPosition",v)
| |
| 1079 | bodpos.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
| 1080 | end | |
| 1081 | end | |
| 1082 | for i=0,1,.05 do | |
| 1083 | for a,v in pairs(dude:GetChildren()) do | |
| 1084 | if v:IsA("BasePart") then
| |
| 1085 | v.Transparency = i | |
| 1086 | end | |
| 1087 | end | |
| 1088 | swait() | |
| 1089 | end | |
| 1090 | for a,v in pairs(dude:GetChildren()) do | |
| 1091 | if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
| |
| 1092 | v.ParticleEmitter.Enabled = false | |
| 1093 | end | |
| 1094 | game:service'Debris':AddItem(v,2) | |
| 1095 | asd.Enabled = false | |
| 1096 | end | |
| 1097 | end)() | |
| 1098 | end | |
| 1099 | end | |
| 1100 | ||
| 1101 | ||
| 1102 | function SHAKECAM(POSITION, RANGE, INTENSITY, TIME) | |
| 1103 | local TORSO = tors | |
| 1104 | local HUM = hum | |
| 1105 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
| 1106 | coroutine.wrap(function() | |
| 1107 | VT = Vector3.new | |
| 1108 | MRANDOM = math.random | |
| 1109 | local A = TIME | |
| 1110 | local B = INTENSITY | |
| 1111 | local C = true | |
| 1112 | local HUMANOID = hum | |
| 1113 | local TIMER = A or 35 | |
| 1114 | local SHAKE = B or 5 | |
| 1115 | local FADE = C or true | |
| 1116 | if HUMANOID then | |
| 1117 | local FADER = SHAKE / TIMER | |
| 1118 | for i = 1, TIMER do | |
| 1119 | wait() | |
| 1120 | HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10) | |
| 1121 | end | |
| 1122 | HUMANOID.CameraOffset = VT(0, 0, 0) | |
| 1123 | end | |
| 1124 | ||
| 1125 | end)() | |
| 1126 | end | |
| 1127 | end | |
| 1128 | ||
| 1129 | ||
| 1130 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 1131 | --local buddy | |
| 1132 | for _, c in pairs(workspace:GetDescendants()) do | |
| 1133 | local hum = c:FindFirstChildOfClass("Humanoid")
| |
| 1134 | if hum ~= nil then | |
| 1135 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso")
| |
| 1136 | if head ~= nil then | |
| 1137 | local targ = head.Position - Part.Position | |
| 1138 | local mag = targ.magnitude | |
| 1139 | if mag <= Magnitude and c.Name ~= plr.Name and c:FindFirstChild("MagDmgd")==nil then
| |
| 1140 | if c.Name ~= char then | |
| 1141 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" or c.Name ~= "Makhail07" then | |
| 1142 | local val = Instance.new("BoolValue",c)
| |
| 1143 | val.Name = "MagDmgd" | |
| 1144 | local asd = Instance.new("ParticleEmitter",head)
| |
| 1145 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
| 1146 | asd.LightEmission = .1 | |
| 1147 | asd.Size = NumberSequence.new(0.2) | |
| 1148 | asd.Texture = "rbxassetid://771221224" | |
| 1149 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
| |
| 1150 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1151 | asd.Transparency = bbb | |
| 1152 | asd.Size = aaa | |
| 1153 | asd.ZOffset = .9 | |
| 1154 | asd.Acceleration = Vector3.new(0, -5, 0) | |
| 1155 | asd.LockedToPart = false | |
| 1156 | asd.EmissionDirection = "Back" | |
| 1157 | asd.Lifetime = NumberRange.new(1, 2) | |
| 1158 | asd.Rate = 1000 | |
| 1159 | asd.Rotation = NumberRange.new(-100, 100) | |
| 1160 | asd.RotSpeed = NumberRange.new(-100, 100) | |
| 1161 | asd.Speed = NumberRange.new(6) | |
| 1162 | asd.VelocitySpread = 10000 | |
| 1163 | asd.Enabled=true | |
| 1164 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 1165 | dmg(c) | |
| 1166 | CFuncs["Sound"].Create("rbxassetid://206082273", c.Head, 1.2, .8)
| |
| 1167 | coroutine.wrap(function() | |
| 1168 | swait(.2) | |
| 1169 | asd.Enabled = false | |
| 1170 | wait(2) | |
| 1171 | asd:Remove() | |
| 1172 | end)() | |
| 1173 | else | |
| 1174 | ||
| 1175 | Effects.Sphere.Create(BrickColor.new("Bright red"), head.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
| |
| 1176 | ||
| 1177 | end | |
| 1178 | end | |
| 1179 | end | |
| 1180 | end | |
| 1181 | end | |
| 1182 | end | |
| 1183 | end | |
| 1184 | ||
| 1185 | targetted = nil | |
| 1186 | ||
| 1187 | ||
| 1188 | ||
| 1189 | ||
| 1190 | ------------------------------------------------------------ | |
| 1191 | --------------------------------------------- | |
| 1192 | --End of Important Functions-- | |
| 1193 | ------------------------------------------------------------ | |
| 1194 | --------------------------------------------- | |
| 1195 | ||
| 1196 | ||
| 1197 | ||
| 1198 | ||
| 1199 | ||
| 1200 | ||
| 1201 | ||
| 1202 | --[[ | |
| 1203 | Thanks for using Build-To-Lua by jarredbcv. | |
| 1204 | ]]-- | |
| 1205 | ||
| 1206 | New = function(Object, Parent, Name, Data) | |
| 1207 | local Object = Instance.new(Object) | |
| 1208 | for Index, Value in pairs(Data or {}) do
| |
| 1209 | Object[Index] = Value | |
| 1210 | end | |
| 1211 | Object.Parent = Parent | |
| 1212 | Object.Name = Name | |
| 1213 | return Object | |
| 1214 | end | |
| 1215 | ||
| 1216 | Uzi = New("Model",char,"Uzi",{})
| |
| 1217 | Handle = New("Part",Uzi,"Handle",{BrickColor = BrickColor.new("Black"),Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.9497833, 3.39759564, 8.0905323, -0.999997377, -1.38907907e-09, 5.60066837e-09, -4.67619166e-10, 0.999989152, 5.95959136e-07, -1.86810212e-09, 1.98648195e-07, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1218 | Port = New("Part",Uzi,"Port",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.514359295),CFrame = CFrame.new(-64.0102158, 4.07008171, 7.94762278, -0.258818001, 0.965921998, 7.03767e-09, -0.965913594, -0.258815765, -8.10978804e-07, -2.25573785e-07, -4.02978912e-08, 0.999983191),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 1219 | Mesh = New("BlockMesh",Port,"Mesh",{Scale = Vector3.new(0.0769230723, 0.538461506, 1),})
| |
| 1220 | mot = New("Motor",Port,"mot",{Part0 = Port,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819044, -0.965925932, -5.89169019e-07, 0.965925872, -0.258819073, -1.6708546e-07, 8.90398955e-09, -6.12338397e-07, 1),C1 = CFrame.new(0.0604324341, 0.672489882, 0.142884254, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1221 | Mag2 = New("Part",Uzi,"Mag2",{BrickColor = BrickColor.new("Dark stone grey"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.969711781, 0.303939581),CFrame = CFrame.new(-63.8785477, 2.57360268, 8.01299381, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 1222 | Mesh = New("BlockMesh",Mag2,"Mesh",{Scale = Vector3.new(0.809523821, 1, 0.714285731),})
| |
| 1223 | mot = New("Motor",Mag2,"mot",{Part0 = Mag2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0712356567, -0.824002028, 0.077539444, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1224 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.47921586, 7.06472969, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1225 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194),})
| |
| 1226 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, 0.0816204548, 1.02581644, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1227 | AimPart = New("Part",Uzi,"AimPart",{BrickColor = BrickColor.new("Black"),Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8798447, 4.32250595, 5.97696972, -0.999997377, -1.38856626e-09, 5.60066127e-09, -4.67106354e-10, 0.999989152, 5.95963002e-07, -1.86809501e-09, 1.9865206e-07, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1228 | mot = New("Motor",AimPart,"mot",{Part0 = AimPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -9.25960919e-10, -3.73438835e-09, -9.25962418e-10, 1, 3.97315489e-07, 3.73438791e-09, 3.97315489e-07, -1),C1 = CFrame.new(-0.0699386597, 0.92491889, 2.11359167, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1229 | Hole = New("Part",Uzi,"Hole",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.607879162, 0.607879221, 1.51969779),CFrame = CFrame.new(-64.0106277, 4.09136534, 7.99518442, 3.04593304e-05, -6.80373148e-07, 0.999997377, -0.999989152, -1.32646619e-05, 3.04581481e-05, 1.36619119e-05, -0.999986291, -6.84514248e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1230 | Mesh = New("BlockMesh",Hole,"Mesh",{Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485),})
| |
| 1231 | mot = New("Motor",Hole,"mot",{Part0 = Hole,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.04589466e-05, -1, 1.34634383e-05, -6.8224125e-07, -1.34634593e-05, -1, 1, 3.04589375e-05, -6.82651319e-07),C1 = CFrame.new(0.0608444214, 0.693777323, 0.0953493118, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1232 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.9215851, 4.32565308, 8.6785574, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1233 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),MeshType = Enum.MeshType.Wedge,})
| |
| 1234 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0281982422, 0.928067923, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1235 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.27408314, 8.6785574, -0.999997377, 0.00037727732, 4.80012168e-05, -0.000377270597, -0.999989152, 5.5595694e-05, 4.8025533e-05, 5.59747241e-05, 0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1236 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343),MeshType = Enum.MeshType.Torso,})
| |
| 1237 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -0.000377275166, 4.80242488e-05, 0.000377277844, -1, 5.57768326e-05, 4.80032068e-05, 5.57949534e-05, 1),C1 = CFrame.new(-0.0704956055, 0.876497507, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1238 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("White"),Transparency = 1,Transparency = 1,Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.33158779, 9.11930084, 0.999997377, -0.000377276359, -1.73402132e-05, 0.000377273274, 0.999989152, 5.57149033e-05, 1.73151166e-05, -5.61185843e-05, 0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.94902, 0.952941, 0.952941),})
| |
| 1239 | lenspart = New("IntValue",NoSight,"lenspart",{})
| |
| 1240 | Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485),})
| |
| 1241 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0.000377277844, 1.73172939e-05, -0.000377276883, 1, -5.59206928e-05, -1.73383924e-05, 5.59141627e-05, 1),C1 = CFrame.new(-0.0704956055, 0.934002638, -1.02878189, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1242 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.29654217, 9.19813633, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1243 | Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097),})
| |
| 1244 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.898957014, -1.10761929, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1245 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8355064, 4.32565308, 8.6785574, 1.51598751e-05, -0.000407793617, 0.999997377, -4.30490618e-05, 0.999989152, 0.000407790008, -0.999986291, -4.34524227e-05, 1.51382555e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1246 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),MeshType = Enum.MeshType.Wedge,})
| |
| 1247 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.51580489e-05, -4.32481829e-05, -1, -0.000407794229, 1, -4.32543566e-05, 1, 0.000407794898, 1.51404101e-05),C1 = CFrame.new(-0.114276886, 0.928067923, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1248 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.33177757, 7.20867538, 0.999997318, 0.000420433673, 1.73239296e-05, 0.00042042954, -0.999989152, -1.25467186e-05, 1.73145636e-05, 1.29512719e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1249 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.0868398845, 0.0868398845, 0.0868398845),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
| |
| 1250 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.99999994, 0.000420434575, 1.731675e-05, 0.000420434313, -1, 1.27527892e-05, 1.73221088e-05, -1.27455087e-05, -1),C1 = CFrame.new(-0.0704956055, 0.934191465, 0.881869316, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1251 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.9950485, 4.25275517, 7.24577427, 0.000316243502, -0.999997318, -1.53725232e-05, -0.999989152, -0.000316239311, -4.30490618e-05, 4.34413814e-05, 1.53898236e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1252 | Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
| |
| 1253 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316243852, -1, 4.32433153e-05, -0.99999994, -0.000316243211, 1.53881065e-05, -1.53744295e-05, -4.32481829e-05, -1),C1 = CFrame.new(0.0452651978, 0.855168581, 0.844769955, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1254 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.9950485, 4.25256538, 9.19813633, 0.000316243502, -0.999997318, -1.53725232e-05, -0.999989152, -0.000316239311, -4.30490618e-05, 4.34413814e-05, 1.53898236e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1255 | Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
| |
| 1256 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316243852, -1, 4.32433153e-05, -0.99999994, -0.000316243211, 1.53881065e-05, -1.53744295e-05, -4.32481829e-05, -1),C1 = CFrame.new(0.0452651978, 0.854979753, -1.10761929, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1257 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.84094381, 7.38972139, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1258 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194),})
| |
| 1259 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, 0.443352461, 0.700820446, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1260 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.4792161, 6.99127293, -0.999997377, 0.00037727732, 4.80012168e-05, -0.000377270597, -0.999989152, 5.5595694e-05, 4.8025533e-05, 5.59747241e-05, 0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1261 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485),MeshType = Enum.MeshType.Wedge,})
| |
| 1262 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -0.000377275166, 4.80242488e-05, 0.000377277844, -1, 5.57768326e-05, 4.80032068e-05, 5.57949534e-05, 1),C1 = CFrame.new(-0.0704956055, 0.0816206932, 1.09927416, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1263 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.10843039, 9.70547295, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1264 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097),})
| |
| 1265 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.710843325, -1.61496258, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1266 | A1 = New("Part",Uzi,"A1",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.623076081, 0.729454994, 1.51969779),CFrame = CFrame.new(-64.0106277, 4.09897423, 7.99518442, 3.04593304e-05, -6.80373148e-07, 0.999997377, -0.999989152, -1.32646619e-05, 3.04581481e-05, 1.36619119e-05, -0.999986291, -6.84514248e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1267 | Mesh = New("BlockMesh",A1,"Mesh",{Scale = Vector3.new(0.238000005, 1, 0.0480000004),})
| |
| 1268 | mot = New("Motor",A1,"mot",{Part0 = A1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.04589466e-05, -1, 1.34634383e-05, -6.8224125e-07, -1.34634593e-05, -1, 1, 3.04589375e-05, -6.82651319e-07),C1 = CFrame.new(0.0608444214, 0.701386213, 0.0953493118, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1269 | Cylinder1 = New("Part",Uzi,"Cylinder",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.10842991, 9.93623352, 0.000334118115, 1.53568108e-05, -0.999997318, -0.999989092, 4.51352062e-05, -0.000334113749, 4.5527253e-05, 0.999986291, 1.53755864e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1270 | Mesh = New("CylinderMesh",Cylinder1,"Mesh",{Offset = Vector3.new(0, -0.0185714271, 0),Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627),})
| |
| 1271 | mot = New("Motor",Cylinder1,"mot",{Part0 = Cylinder1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000334118522, -0.99999994, 4.53292159e-05, 1.53587171e-05, 4.53343491e-05, 1, -0.99999994, -0.000334117853, 1.53738638e-05),C1 = CFrame.new(-0.0704956055, 0.710842848, -1.84572601, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1272 | Mag1 = New("Part",Uzi,"Mag1",{BrickColor = BrickColor.new("Dark stone grey"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.723665655, 0.303939581),CFrame = CFrame.new(-63.8785477, 2.8062222, 8.01299381, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 1273 | Mesh = New("BlockMesh",Mag1,"Mesh",{Scale = Vector3.new(0.809523821, 1, 0.714285731),})
| |
| 1274 | mot = New("Motor",Mag1,"mot",{Part0 = Mag1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0712356567, -0.591379881, 0.077539444, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1275 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792839, 3.96399546, 8.94571686, 0.000420436263, -1.53869969e-05, 0.999994516, -0.999985397, -4.49496983e-05, 0.000420421362, 4.57110073e-05, -0.999980092, -1.53492692e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1276 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239),})
| |
| 1277 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Port,C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(-0.862224281, 0.690827668, 0.238218009, -0.965815187, -0.259224743, 4.81826173e-05, -0.259224653, 0.965815544, -3.01207638e-06, -4.59400871e-05, -1.53690817e-05, -0.999996901),})
| |
| 1278 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420408818, -0.99999994, 4.51425221e-05, -1.53889487e-05, -4.51489977e-05, -1, 1, 0.000420408091, -1.5407928e-05),C1 = CFrame.new(-0.0704994202, 0.566405296, -0.855195999, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1279 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.07189083, 8.22297764, 0.000334118115, 1.53568108e-05, -0.999997318, -0.999989092, 4.51352062e-05, -0.000334113749, 4.5527253e-05, 0.999986291, 1.53755864e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1280 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194),})
| |
| 1281 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000334118522, -0.99999994, 4.53292159e-05, 1.53587171e-05, 4.53343491e-05, 1, -0.99999994, -0.000334117853, 1.53738638e-05),C1 = CFrame.new(-0.0704956055, 0.674302816, -0.132447243, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1282 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.89102483, 8.94586086, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1283 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239),})
| |
| 1284 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Port,C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(-0.791742086, 0.70971489, 0.238357142, -0.965815187, -0.259224743, 4.81826173e-05, -0.259224653, 0.965815544, -3.01207638e-06, -4.59400871e-05, -1.53690817e-05, -0.999996901),})
| |
| 1285 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.493435144, -0.855340004, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1286 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.38516831, 8.00556946, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1287 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194),})
| |
| 1288 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, -0.0124275684, 0.0849637985, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1289 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.13159156, 7.78817034, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1290 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194),})
| |
| 1291 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, -0.266007185, 0.302366257, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1292 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.81812668, 8.18587875, 0.000334118115, 1.53568108e-05, -0.999997318, -0.999989092, 4.51352062e-05, -0.000334113749, 4.5527253e-05, 0.999986291, 1.53755864e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1293 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194),})
| |
| 1294 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000334118522, -0.99999994, 4.53292159e-05, 1.53587171e-05, 4.53343491e-05, 1, -0.99999994, -0.000334117853, 1.53738638e-05),C1 = CFrame.new(-0.0704956055, 0.420535564, -0.0953474045, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1295 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.57790494, 7.28955317, 0.000237775297, -0.000239374975, -0.999997377, -0.707075596, 0.707122624, -0.000337392528, 0.707120895, 0.707073271, -1.11602742e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1296 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097),})
| |
| 1297 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000237776927, -0.707083166, 0.707130432, -0.000239373941, 0.707130432, 0.707083166, -1, -0.000337396661, -1.1179759e-06),C1 = CFrame.new(-0.0704956055, 0.180310726, 0.800990105, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1298 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.91217613, 7.10108757, 1.53677556e-05, 0.999997318, -0.000344614644, 5.5595694e-05, 0.000344610075, 0.999989152, 0.999986291, -1.53906112e-05, -5.59875407e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1299 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194),})
| |
| 1300 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.53696619e-05, 5.57949534e-05, 1, 0.99999994, 0.000344614265, -1.53888886e-05, -0.00034461508, 1, -5.57896492e-05),C1 = CFrame.new(-0.0704956055, 0.514585495, 0.989458561, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1301 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.49313116, 7.78817034, -0.999997318, -4.58751165e-05, 0.000407794083, -0.000407787855, -4.30788677e-05, -0.999989152, 4.58960603e-05, -0.999986291, 4.3457334e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1302 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343),MeshType = Enum.MeshType.Wedge,})
| |
| 1303 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.99999994, -0.000407792744, 4.58947434e-05, -4.58770992e-05, -4.32779889e-05, -1, 0.000407794694, -1, 4.32592715e-05),C1 = CFrame.new(-0.0704956055, 0.0955364704, 0.302366257, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1304 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.81812716, 7.78816938, 0.999997377, 7.62029813e-05, -0.000407784712, 0.00040778832, -0.000104068669, 0.999989092, 7.61557822e-05, -0.999986291, -0.00010449675),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1305 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097),MeshType = Enum.MeshType.Wedge,})
| |
| 1306 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0.000407793239, 7.61587726e-05, 7.62013078e-05, -0.000104268453, -1, -0.000407785323, 0.99999994, -0.000104299521),C1 = CFrame.new(-0.0704956055, 0.420535803, 0.30236721, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1307 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.10843039, 9.41535473, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1308 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149),})
| |
| 1309 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.710843325, -1.32484055, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1310 | Block = New("Part",Uzi,"Block",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.673805, 8.25339222, -0.000323260669, 0.000216992383, -0.999997377, 0.866039515, -0.499953777, -0.000388442742, -0.499952704, -0.866036952, -2.63046823e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1311 | Mesh = New("BlockMesh",Block,"Mesh",{Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485),})
| |
| 1312 | mot = New("Motor",Block,"mot",{Part0 = Block,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.000323262066, 0.866048813, -0.499959379, 0.000216991102, -0.49995935, -0.866048872, -1, -0.000388447457, -2.63069869e-05),C1 = CFrame.new(-0.0704956055, 0.276212454, -0.162861824, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1313 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.7637138, 4.25275517, 7.24577427, 0.000316243502, -0.999997318, -1.53725232e-05, -0.999989152, -0.000316239311, -4.30490618e-05, 4.34413814e-05, 1.53898236e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1314 | Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
| |
| 1315 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316243852, -1, 4.32433153e-05, -0.99999994, -0.000316243211, 1.53881065e-05, -1.53744295e-05, -4.32481829e-05, -1),C1 = CFrame.new(-0.186069489, 0.855168581, 0.844769955, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1316 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.857769, 4.31044102, 8.6785574, 1.51598751e-05, -0.000407793617, 0.999997377, -4.30490618e-05, 0.999989152, 0.000407790008, -0.999986291, -4.34524227e-05, 1.51382555e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1317 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),MeshType = Enum.MeshType.Wedge,})
| |
| 1318 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.51580489e-05, -4.32481829e-05, -1, -0.000407794229, 1, -4.32543566e-05, 1, 0.000407794898, 1.51404101e-05),C1 = CFrame.new(-0.0920143127, 0.912855864, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1319 | Ring = New("Part",Uzi,"Ring",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.71034932, 8.25933456, 4.58751165e-05, 0.00040779452, 0.999997318, 4.30788677e-05, -0.999989152, 0.000407788291, 0.999986291, 4.34573376e-05, -4.58960603e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1320 | Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.434199393, 0.361832827, 0.361832827),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
| |
| 1321 | mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.58770992e-05, 4.32779889e-05, 1, 0.000407795131, -1, 4.32592751e-05, 0.99999994, 0.000407793181, -4.58947434e-05),C1 = CFrame.new(-0.0704956055, 0.312757254, -0.168804169, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1322 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.9008064, 4.31044102, 8.6785574, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1323 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),MeshType = Enum.MeshType.Wedge,})
| |
| 1324 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0489768982, 0.912855864, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1325 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.7637138, 4.25256538, 9.19813633, 0.000316242484, -0.999998629, -1.53781439e-05, -0.999994516, -0.000316240039, -4.36452538e-05, 4.38389834e-05, 1.53937908e-05, -0.999993145),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1326 | Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
| |
| 1327 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316242484, -0.999994516, 4.38389834e-05, -0.999998629, -0.000316240039, 1.53937908e-05, -1.53781439e-05, -4.36452538e-05, -0.999993145),C1 = CFrame.new(-0.186069489, 0.854979753, -1.10761929, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
| |
| 1328 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.27389956, 7.20867825, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490654e-05, 0.999989152, -0.000346755493, 0.999986291, -4.34515023e-05, -1.51409085e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1329 | Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603),})
| |
| 1330 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.5159917e-05, 4.30495311e-05, 1, -0.000346759538, 1, -4.30547843e-05, -1, -0.000346760178, -1.51449858e-05),C1 = CFrame.new(-0.0704956055, 0.876312971, 0.881866455, -1, -1.38907941e-09, -5.60068347e-09, -1.38908274e-09, 1, 5.95965616e-07, 5.60068303e-09, 5.95965616e-07, -1),})
| |
| 1331 | A2 = New("Part",Uzi,"A2",{BrickColor = BrickColor.new("Dark stone grey"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 1.8236376),CFrame = CFrame.new(-64.1623764, 4.10658884, 8.22297573, 3.04593304e-05, -6.80373148e-07, 0.999997377, -0.999989152, -1.32646619e-05, 3.04581481e-05, 1.36619119e-05, -0.999986291, -6.84514305e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 1332 | Mesh = New("BlockMesh",A2,"Mesh",{Offset = Vector3.new(0, 0, 0.0599999987),Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004),})
| |
| 1333 | mot = New("Motor",A2,"mot",{Part0 = A2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.04594105e-05, -1, 1.32647847e-05, -6.80374967e-07, -1.32648056e-05, -1, 1, 3.04594014e-05, -6.8077901e-07),C1 = CFrame.new(0.212593079, 0.709000826, -0.132445335, -1, -1.38907941e-09, -5.60068347e-09, -1.38908274e-09, 1, 5.95965616e-07, 5.60068303e-09, 5.95965616e-07, -1),})
| |
| 1334 | ||
| 1335 | local A = Instance.new("Attachment",tors)
| |
| 1336 | A.Position = Vector3.new(1,1.3,0) | |
| 1337 | A.Orientation = Vector3.new(-0.098, -89.999, 0.227) | |
| 1338 | local B = Instance.new("Attachment",tors)
| |
| 1339 | B.Position = Vector3.new(-1.3,-0.6,0) | |
| 1340 | B.Orientation = Vector3.new(-88.911, -68.808, 158.782) | |
| 1341 | local ChainLink = Instance.new("Beam",tors)
| |
| 1342 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1343 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 1344 | ChainLink.TextureSpeed = 1 | |
| 1345 | ChainLink.FaceCamera = true | |
| 1346 | ChainLink.Width0 = 1 | |
| 1347 | ChainLink.Width1 = 1 | |
| 1348 | ChainLink.TextureLength = 3 | |
| 1349 | ChainLink.Attachment0 = A | |
| 1350 | ChainLink.Attachment1 = B | |
| 1351 | ChainLink.CurveSize0 = 1.6 | |
| 1352 | ChainLink.CurveSize1 = 1.6 | |
| 1353 | ChainLink.FaceCamera = true | |
| 1354 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1355 | local ChainLink = Instance.new("Beam",tors)
| |
| 1356 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1357 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 1358 | ChainLink.TextureSpeed = 1 | |
| 1359 | ChainLink.FaceCamera = true | |
| 1360 | ChainLink.Width0 = 1 | |
| 1361 | ChainLink.Width1 = 1 | |
| 1362 | ChainLink.TextureLength = 3 | |
| 1363 | ChainLink.Attachment0 = B | |
| 1364 | ChainLink.Attachment1 = A | |
| 1365 | ChainLink.CurveSize0 = 1.6 | |
| 1366 | ChainLink.CurveSize1 = 1.6 | |
| 1367 | ChainLink.FaceCamera = true | |
| 1368 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1369 | local A = Instance.new("Attachment",tors)
| |
| 1370 | A.Position = Vector3.new(1.3,-0.85,0) | |
| 1371 | A.Orientation = Vector3.new(-0.098, -89.999, 0.227) | |
| 1372 | local B = Instance.new("Attachment",tors)
| |
| 1373 | B.Position = Vector3.new(-1,2,0) | |
| 1374 | B.Orientation = Vector3.new(-88.911, -68.808, 158.782) | |
| 1375 | local ChainLink = Instance.new("Beam",tors)
| |
| 1376 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1377 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 1378 | ChainLink.TextureSpeed = 1 | |
| 1379 | ChainLink.FaceCamera = true | |
| 1380 | ChainLink.Width0 = 1 | |
| 1381 | ChainLink.Width1 = 1 | |
| 1382 | ChainLink.TextureLength = 3 | |
| 1383 | ChainLink.Attachment0 = A | |
| 1384 | ChainLink.Attachment1 = B | |
| 1385 | ChainLink.CurveSize0 = 1.3 | |
| 1386 | ChainLink.CurveSize1 = 1.3 | |
| 1387 | ChainLink.FaceCamera = true | |
| 1388 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1389 | local ChainLink = Instance.new("Beam",tors)
| |
| 1390 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1391 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 1392 | ChainLink.TextureSpeed = 1 | |
| 1393 | ChainLink.FaceCamera = true | |
| 1394 | ChainLink.Width0 = 1 | |
| 1395 | ChainLink.Width1 = 1 | |
| 1396 | ChainLink.TextureLength = 3 | |
| 1397 | ChainLink.Attachment0 = B | |
| 1398 | ChainLink.Attachment1 = A | |
| 1399 | ChainLink.CurveSize0 = 1.3 | |
| 1400 | ChainLink.CurveSize1 = 1.3 | |
| 1401 | ChainLink.FaceCamera = true | |
| 1402 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1403 | ||
| 1404 | ||
| 1405 | ||
| 1406 | for _, v in pairs(Uzi:GetChildren()) do | |
| 1407 | if v:IsA'BasePart' then | |
| 1408 | v.CanCollide = false | |
| 1409 | end | |
| 1410 | end | |
| 1411 | ||
| 1412 | ||
| 1413 | ||
| 1414 | ||
| 1415 | local NewInstance = function(instance,parent,properties) | |
| 1416 | local inst = Instance.new(instance,parent) | |
| 1417 | if(properties)then | |
| 1418 | for i,v in next, properties do | |
| 1419 | pcall(function() inst[i] = v end) | |
| 1420 | end | |
| 1421 | end | |
| 1422 | return inst; | |
| 1423 | end | |
| 1424 | local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-1.1,-0.2)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))})
| |
| 1425 | ||
| 1426 | hed.face.Texture = "http://www.roblox.com/asset/?id=120463437" | |
| 1427 | ||
| 1428 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1429 | naeeym2.AlwaysOnTop = true | |
| 1430 | naeeym2.Size = UDim2.new(2, 0, 1, 0) | |
| 1431 | naeeym2.StudsOffset = Vector3.new(-4, 4, 0) | |
| 1432 | naeeym2.Adornee = hed | |
| 1433 | naeeym2.Name = "Name" | |
| 1434 | --naeeym2.PlayerToHideFrom = plr | |
| 1435 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1436 | tecks2.BackgroundTransparency = 1 | |
| 1437 | tecks2.TextScaled = true | |
| 1438 | tecks2.BorderSizePixel = 0 | |
| 1439 | tecks2.Text = "Verr?ckt V?lkerm?rder" | |
| 1440 | tecks2.Font = 15 | |
| 1441 | tecks2.TextSize = 24 | |
| 1442 | tecks2.TextStrokeTransparency = 0 | |
| 1443 | tecks2.TextColor3 = Color3.new(180/255,0,0) | |
| 1444 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1445 | tecks2.Size = UDim2.new(5, 0, 2.5, 0) | |
| 1446 | tecks2.Parent = naeeym2 | |
| 1447 | VALUE1 = false | |
| 1448 | ||
| 1449 | local SKILLTEXTCOLOR = C3(1,0,0) | |
| 1450 | local SKILLFONT = "SciFi" | |
| 1451 | local SKILLTEXTSIZE = 5 | |
| 1452 | ||
| 1453 | hum.Died:connect(function() | |
| 1454 | ATTACK = true | |
| 1455 | end) | |
| 1456 | ||
| 1457 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
| 1458 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
| 1459 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
| 1460 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
| 1461 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
| 1462 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
| 1463 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.66, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
| 1464 | local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.62, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame") | |
| 1465 | local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.58, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame") | |
| 1466 | ||
| 1467 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1") | |
| 1468 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2") | |
| 1469 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3") | |
| 1470 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[T]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4") | |
| 1471 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5") | |
| 1472 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[E + Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6") | |
| 1473 | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[F + Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 7") | |
| 1474 | local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[Click + Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 8") | |
| 1475 | local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[Edit By NameClan]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 9") | |
| 1476 | ||
| 1477 | ||
| 1478 | ||
| 1479 | coroutine.wrap(function() | |
| 1480 | while true do | |
| 1481 | swait(15) | |
| 1482 | hum.Health = hum.Health + 55 | |
| 1483 | local chance = 200 | |
| 1484 | local name = math.random(1,45) | |
| 1485 | if(name == 1)then | |
| 1486 | tecks2.Text = "iNSaNiTY" | |
| 1487 | wait(.3) | |
| 1488 | tecks2.Text = "Insane Genocidal Maniac" | |
| 1489 | elseif(name == 2)then | |
| 1490 | tecks2.Text = "S stands for ;)" | |
| 1491 | wait(.3) | |
| 1492 | tecks2.Text = "Insane Genocidal Maniac" | |
| 1493 | elseif(name == 3)then | |
| 1494 | tecks2.Text = ":))))))))))))))))))" | |
| 1495 | wait(.3) | |
| 1496 | tecks2.Text = "Insane Genocidal Maniac" | |
| 1497 | elseif(name == 4) then | |
| 1498 | tecks2.Text = "WORTTTThLESS" | |
| 1499 | wait(.3) | |
| 1500 | tecks2.Text = "Insane Genocidal Maniac" | |
| 1501 | elseif(math.random(1,chance) == math.ceil(chance/2))then | |
| 1502 | tecks2.Text = "Why BOOOOTHer" | |
| 1503 | else | |
| 1504 | tecks2.Text = "Insane Genocidal Maniac" | |
| 1505 | end | |
| 1506 | if(VALUE1)then | |
| 1507 | tecks2.Text = tecks2.Text:gsub("",string.char(math.random(1,127)))
| |
| 1508 | end | |
| 1509 | end | |
| 1510 | end)() | |
| 1511 | ||
| 1512 | ------------------------------------------------------------ | |
| 1513 | --------------------------------------------- | |
| 1514 | --Start of attacks-- | |
| 1515 | ------------------------------------------------------------ | |
| 1516 | --------------------------------------------- | |
| 1517 | ||
| 1518 | local BBG = Instance.new("BillboardGui",char)
| |
| 1519 | BBG.Size = UDim2.new(10,0,10,0) | |
| 1520 | BBG.Enabled = false | |
| 1521 | local TargetCircle = Instance.new("ImageLabel",BBG)
| |
| 1522 | TargetCircle.Position = UDim2.new(0,0,0,0) | |
| 1523 | TargetCircle.Size = UDim2.new(1,0,1,0) | |
| 1524 | TargetCircle.Image = "rbxassetid://845483336" | |
| 1525 | TargetCircle.BackgroundTransparency = 1 | |
| 1526 | TargetCircle.ImageColor3 = Color3.new(1,0,0) | |
| 1527 | local TargetCircle2 = TargetCircle:Clone() | |
| 1528 | TargetCircle2.Parent = BBG | |
| 1529 | TargetCircle2.ImageTransparency = 1; | |
| 1530 | ||
| 1531 | ||
| 1532 | ||
| 1533 | targgeted = nil | |
| 1534 | function TargetSelect(ch) | |
| 1535 | local dd=coroutine.wrap(function() | |
| 1536 | if targgeted ~= ch then | |
| 1537 | targgeted = ch | |
| 1538 | TargetCircle2.Size = UDim2.new(1,0,1,0) | |
| 1539 | TargetCircle2.ImageTransparency = 0 | |
| 1540 | TargetCircle2.Position = UDim2.new(0,0,0,0) | |
| 1541 | for i = 0, 2, 0.1 do | |
| 1542 | wait() | |
| 1543 | TargetCircle2.Size = TargetCircle2.Size + UDim2.new(.05,0,.05,0) | |
| 1544 | TargetCircle2.Position = TargetCircle2.Position + UDim2.new(-.025,0,-.025,0) | |
| 1545 | TargetCircle2.ImageTransparency = TargetCircle2.ImageTransparency + 0.05 | |
| 1546 | end | |
| 1547 | end | |
| 1548 | end)() | |
| 1549 | end | |
| 1550 | ||
| 1551 | function LockOn() | |
| 1552 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1553 | TargetSelect(mouse.Target.Parent) | |
| 1554 | ||
| 1555 | end | |
| 1556 | end | |
| 1557 | ||
| 1558 | function TargetSelect(person) | |
| 1559 | local dd=coroutine.wrap(function() | |
| 1560 | if targetted ~= person then | |
| 1561 | targetted = person | |
| 1562 | TargetCircle2.Size = UDim2.new(1,0,1,0) | |
| 1563 | TargetCircle2.ImageTransparency = 0 | |
| 1564 | TargetCircle2.Position = UDim2.new(0,0,0,0) | |
| 1565 | for i = 0, 2, 0.1 do | |
| 1566 | swait() | |
| 1567 | TargetCircle2.Size = TargetCircle2.Size + UDim2.new(.05,0,.05,0) | |
| 1568 | TargetCircle2.Position = TargetCircle2.Position + UDim2.new(-.025,0,-.025,0) | |
| 1569 | TargetCircle2.ImageTransparency = TargetCircle2.ImageTransparency + 0.05 | |
| 1570 | end | |
| 1571 | end | |
| 1572 | end) | |
| 1573 | dd() | |
| 1574 | end | |
| 1575 | ||
| 1576 | ||
| 1577 | ||
| 1578 | local sine = 0 | |
| 1579 | function Laugh() | |
| 1580 | attack = true | |
| 1581 | hum.WalkSpeed = 0 | |
| 1582 | CreateSound("221057812", tors, 3, 1)
| |
| 1583 | for i = 0,4.5,0.1/ 3 do | |
| 1584 | swait() | |
| 1585 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1 + 0.1 * math.cos(sine/1.5))* angles(math.rad(0),math.rad(0),math.rad(0)),.15) | |
| 1586 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3) | |
| 1587 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1588 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 1589 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/1.5),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15) | |
| 1590 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/1.5),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15) | |
| 1591 | end | |
| 1592 | attack = false | |
| 1593 | hum.WalkSpeed = 8 | |
| 1594 | end | |
| 1595 | ||
| 1596 | function smileforme() | |
| 1597 | attack = true | |
| 1598 | local POS = root.Position | |
| 1599 | CreateSound("317129949", char, 500, .7)
| |
| 1600 | SHAKECAM(POS, 45, 15, 15) | |
| 1601 | hum.WalkSpeed = 0 | |
| 1602 | for i = 1,55 do | |
| 1603 | for i = 0,0.1,0.1 do | |
| 1604 | swait() | |
| 1605 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1606 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),0.15) | |
| 1607 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-4.5)),0.15) | |
| 1608 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-75),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
| 1609 | LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
| 1610 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3) | |
| 1611 | ||
| 1612 | end | |
| 1613 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
| |
| 1614 | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
| |
| 1615 | CreateSound("249050335", char, 1, .5)
| |
| 1616 | ||
| 1617 | for i = 0,0.1,0.1 do | |
| 1618 | swait() | |
| 1619 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(5),math.rad(0),math.rad(0)),0.15) | |
| 1620 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),0.15) | |
| 1621 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-4.5)),0.15) | |
| 1622 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-75),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
| 1623 | LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
| 1624 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3) | |
| 1625 | end | |
| 1626 | end | |
| 1627 | local ref1 = New("Part",char,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 1628 | wait(.4) | |
| 1629 | attack = false | |
| 1630 | hum.WalkSpeed = 8 | |
| 1631 | for i = 1, 65 do | |
| 1632 | wait(.1) | |
| 1633 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", char, 1.5, .7)
| |
| 1634 | ref1.Position = mouse.hit.p | |
| 1635 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
| 1636 | mdmg(ref1, 10) | |
| 1637 | Effects.Cylinder.Create(BrickColor.new("Dark orange"), ref1.CFrame, .5, 9999, .5, .7, 0, .7, 0.05)
| |
| 1638 | Effects.Sphere.Create(BrickColor.new("Dark orange"), ref1.CFrame, 1, 1, 1, .7, .7, .7, 0.05)
| |
| 1639 | Effects.Break.Create(BrickColor.new("Dark orange"), ref1.CFrame, .5, 9999, .5, 3.7, 3.7, 3.7, 0.07)
| |
| 1640 | end | |
| 1641 | ref1:Remove() | |
| 1642 | ||
| 1643 | end | |
| 1644 | function targetkill() | |
| 1645 | attack = true | |
| 1646 | local POS = root.Position | |
| 1647 | CreateSound("317129949", char, 500, .7)
| |
| 1648 | SHAKECAM(POS, 45, 15, 15) | |
| 1649 | for i = 1,15 do | |
| 1650 | swait() | |
| 1651 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(15),math.rad(0),math.rad(0)),0.15) | |
| 1652 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.3) | |
| 1653 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(15)),0.15) | |
| 1654 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-5)),0.15) | |
| 1655 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(-25), math.rad(-35)), 0.3) | |
| 1656 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0.3)*angles(math.rad(0),math.rad(12),math.rad(0)),0.15) | |
| 1657 | end | |
| 1658 | hum.WalkSpeed = 0 | |
| 1659 | for i = 1,15 do | |
| 1660 | for i = 0,0.1,0.1 do | |
| 1661 | swait() | |
| 1662 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
| 1663 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15) | |
| 1664 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(-25)),0.15) | |
| 1665 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(15)),0.15) | |
| 1666 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1667 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(0),math.rad(12),math.rad(-25)),0.15) | |
| 1668 | end | |
| 1669 | SHAKECAM(POS, 2, 2, 2) | |
| 1670 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
| |
| 1671 | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
| |
| 1672 | CreateSound("249050335", char, 1, .5)
| |
| 1673 | for i = 0,0.1,0.1 do | |
| 1674 | swait() | |
| 1675 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
| 1676 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15) | |
| 1677 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(-25)),0.15) | |
| 1678 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(15)),0.15) | |
| 1679 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0.2) * angles(math.rad(95), math.rad(0), math.rad(0)), 0.3) | |
| 1680 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-26)),0.15) | |
| 1681 | end | |
| 1682 | end | |
| 1683 | coroutine.wrap(function() if targetted then | |
| 1684 | dmg(targetted) | |
| 1685 | end end)() | |
| 1686 | attack = false | |
| 1687 | hum.WalkSpeed = 8 | |
| 1688 | end | |
| 1689 | ||
| 1690 | function frombelow() | |
| 1691 | local POS = root.Position | |
| 1692 | SHAKECAM(POS, 15, 15, 15) | |
| 1693 | local humR = targetted:FindFirstChild"Torso" or targetted:FindFirstChild"UpperTorso"; | |
| 1694 | local tHum = targetted:FindFirstChildOfClass'Humanoid' | |
| 1695 | humR.Anchored = true | |
| 1696 | attack = true | |
| 1697 | hum.WalkSpeed = 0 | |
| 1698 | nothinpersonal(targetted.Head.CFrame * CFrame.new(0,-1.5,2)) | |
| 1699 | for i = 0,3.5,0.1 do | |
| 1700 | swait() | |
| 1701 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1702 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
| 1703 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(0)),0.15) | |
| 1704 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15) | |
| 1705 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.15) | |
| 1706 | end | |
| 1707 | for i = 0,3.5,0.1 do | |
| 1708 | swait() | |
| 1709 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1710 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
| 1711 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(0)),0.15) | |
| 1712 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15) | |
| 1713 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,-0.5)*angles(math.rad(0),math.rad(-135),math.rad(-90)),0.15) | |
| 1714 | end | |
| 1715 | SHAKECAM(POS, 3, 3, 3) | |
| 1716 | humR.Anchored = false | |
| 1717 | local grabWeld = NewInstance("Weld",targgeted,{Part0=BBG.Adornee,Part1=la,C0 = CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),math.rad(-90),0)})
| |
| 1718 | for i = 0,35 do | |
| 1719 | for i = 0,0.1,0.1 do | |
| 1720 | swait() | |
| 1721 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1722 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15) | |
| 1723 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.2, -0.35) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1724 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.3,0)*angles(math.rad(0),math.rad(0),math.rad(-4.5)),0.15) | |
| 1725 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
| 1726 | LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
| 1727 | end | |
| 1728 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
| |
| 1729 | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
| |
| 1730 | CreateSound("249050335", char, 1, .5)
| |
| 1731 | for i = 0,0.21,0.1 do | |
| 1732 | swait() | |
| 1733 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1734 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15) | |
| 1735 | RW.C0 = clerp(RW.C0, CFrame.new(1, 1.2, -0.35) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1736 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.3,0)*angles(math.rad(0),math.rad(0),math.rad(-4.5)),0.15) | |
| 1737 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
| 1738 | LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
| 1739 | end | |
| 1740 | end | |
| 1741 | ||
| 1742 | attack = false | |
| 1743 | hum.WalkSpeed = 8 | |
| 1744 | end | |
| 1745 | ||
| 1746 | ||
| 1747 | function shootyboi() | |
| 1748 | attack = true | |
| 1749 | hum.WalkSpeed = 0 | |
| 1750 | local POS = root.Position | |
| 1751 | CreateSound("317129949", char, 500, .7)
| |
| 1752 | SHAKECAM(POS, 45, 15, 15) | |
| 1753 | for i = 0,65 do | |
| 1754 | for i = 0,0.1,0.1 do | |
| 1755 | swait() | |
| 1756 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1757 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(18),math.rad(0),math.rad(0)),.3) | |
| 1758 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(0)),0.15) | |
| 1759 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15) | |
| 1760 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3) | |
| 1761 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(-20 ), math.rad(7*math.sin(sine/1)), math.rad(-5)), 0.1) | |
| 1762 | end | |
| 1763 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
| |
| 1764 | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
| |
| 1765 | CreateSound("249050335", char, 1, .5)
| |
| 1766 | local ref1 = New("Part",char,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 1767 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7)
| |
| 1768 | ref1.Position = mouse.hit.p | |
| 1769 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
| 1770 | coroutine.wrap(function() | |
| 1771 | for i,v in next, workspace:children() do | |
| 1772 | local selected = v:FindFirstChild"HumanoidRootPart" or v:FindFirstChild"Torso" or v:FindFirstChild"UpperTorso" | |
| 1773 | if v ~= char and selected and (ref1.CFrame.p - selected.CFrame.p).magnitude < 3 then | |
| 1774 | local hum = v:FindFirstChildOfClass"Humanoid" | |
| 1775 | if hum and hum.Health > 0 then | |
| 1776 | coroutine.wrap(function() dmg(v) end)() | |
| 1777 | end | |
| 1778 | end | |
| 1779 | end | |
| 1780 | end)() | |
| 1781 | local dist = (Cylinder1.CFrame.p - ref1.CFrame.p).magnitude | |
| 1782 | local ray1 = Create("Part"){Parent=workspace,BrickColor = BrickColor.new"Dark orange",Material = "Neon",Transparency = 0.25,Anchored=true,Locked=true,CanCollide=false,Size = Vector3.new(0.3, 0.3, dist),CFrame = CFrame.new(Cylinder1.CFrame.p, ref1.CFrame.p) * CFrame.new(0, 0, -dist / 2)}
| |
| 1783 | delay(0, function() | |
| 1784 | ray1.Anchored = true; | |
| 1785 | for i = 0.25, 1, .1 do | |
| 1786 | ray1.Transparency = i | |
| 1787 | wait() | |
| 1788 | end | |
| 1789 | ray1:destroy() | |
| 1790 | end) | |
| 1791 | for i = 0,0.1,0.1 do | |
| 1792 | swait() | |
| 1793 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15) | |
| 1794 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(-25)),0.15) | |
| 1795 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(15)),0.15) | |
| 1796 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
| 1797 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(80), math.rad(0), math.rad(0)), 0.3) | |
| 1798 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(-20 ), math.rad(7*math.sin(sine/1)), math.rad(-5)), 0.1) | |
| 1799 | end | |
| 1800 | end | |
| 1801 | attack = false | |
| 1802 | hum.WalkSpeed = 8 | |
| 1803 | end | |
| 1804 | ||
| 1805 | function nothinpersonal(pos) | |
| 1806 | CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, .8)
| |
| 1807 | for _, v in pairs(char:children()) do | |
| 1808 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
| |
| 1809 | do | |
| 1810 | local p = v:clone() | |
| 1811 | p.Name = "trail" | |
| 1812 | p.Parent = EffectModel | |
| 1813 | p.Transparency = 0.5 | |
| 1814 | p.Anchored = true | |
| 1815 | p.BrickColor = BrickColor.new("Really black")
| |
| 1816 | p.Material = "Neon" | |
| 1817 | p:BreakJoints() | |
| 1818 | p.CanCollide = false | |
| 1819 | if v == hed then | |
| 1820 | for a, b in pairs(p:children()) do | |
| 1821 | if b:IsA("Sound") then
| |
| 1822 | b:Destroy() | |
| 1823 | end | |
| 1824 | end | |
| 1825 | end | |
| 1826 | coroutine.resume(coroutine.create(function() | |
| 1827 | for i = 1, 50 do | |
| 1828 | swait() | |
| 1829 | p.Transparency = i / 50 | |
| 1830 | end | |
| 1831 | p:Destroy() | |
| 1832 | end)) | |
| 1833 | end | |
| 1834 | end | |
| 1835 | if v.className == "Accessory" then | |
| 1836 | end | |
| 1837 | end | |
| 1838 | root.CFrame = pos | |
| 1839 | end | |
| 1840 | local music = Instance.new("Sound", tors)
| |
| 1841 | music.SoundId = "rbxassetid://672027901" | |
| 1842 | music.Looped = true | |
| 1843 | music.Pitch = 1.3 | |
| 1844 | music.Volume = 2 | |
| 1845 | music:Play() | |
| 1846 | angery = false | |
| 1847 | function ohshitimangry() | |
| 1848 | attack = true | |
| 1849 | ShadowHead = New("Part",char,"ShadowHeadss",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1850 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
| |
| 1851 | Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 1852 | local A = Instance.new("Attachment",tors)
| |
| 1853 | A.Position = Vector3.new(1,1.3,0) | |
| 1854 | A.Orientation = Vector3.new(-0.098, -89.999, 0.227) | |
| 1855 | local B = Instance.new("Attachment",tors)
| |
| 1856 | B.Position = Vector3.new(-1.3,-0.6,0) | |
| 1857 | B.Orientation = Vector3.new(-88.911, -68.808, 158.782) | |
| 1858 | local ChainLink = Instance.new("Beam",tors)
| |
| 1859 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1860 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 1861 | ChainLink.TextureSpeed = 1 | |
| 1862 | ChainLink.FaceCamera = true | |
| 1863 | ChainLink.Width0 = 1 | |
| 1864 | ChainLink.Width1 = 1 | |
| 1865 | ChainLink.TextureLength = 3 | |
| 1866 | ChainLink.Attachment0 = A | |
| 1867 | ChainLink.Attachment1 = B | |
| 1868 | ChainLink.CurveSize0 = 1.6 | |
| 1869 | ChainLink.CurveSize1 = 1.6 | |
| 1870 | ChainLink.FaceCamera = true | |
| 1871 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1872 | local ChainLink = Instance.new("Beam",tors)
| |
| 1873 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1874 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 1875 | ChainLink.TextureSpeed = 1 | |
| 1876 | ChainLink.FaceCamera = true | |
| 1877 | ChainLink.Width0 = 1 | |
| 1878 | ChainLink.Width1 = 1 | |
| 1879 | ChainLink.TextureLength = 3 | |
| 1880 | ChainLink.Attachment0 = B | |
| 1881 | ChainLink.Attachment1 = A | |
| 1882 | ChainLink.CurveSize0 = 1.6 | |
| 1883 | ChainLink.CurveSize1 = 1.6 | |
| 1884 | ChainLink.FaceCamera = true | |
| 1885 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1886 | local A = Instance.new("Attachment",tors)
| |
| 1887 | A.Position = Vector3.new(1.3,-0.85,0) | |
| 1888 | A.Orientation = Vector3.new(-0.098, -89.999, 0.227) | |
| 1889 | local B = Instance.new("Attachment",tors)
| |
| 1890 | B.Position = Vector3.new(-1,2,0) | |
| 1891 | B.Orientation = Vector3.new(-88.911, -68.808, 158.782) | |
| 1892 | local ChainLink = Instance.new("Beam",tors)
| |
| 1893 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1894 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 1895 | ChainLink.TextureSpeed = 1 | |
| 1896 | ChainLink.FaceCamera = true | |
| 1897 | ChainLink.Width0 = 1 | |
| 1898 | ChainLink.Width1 = 1 | |
| 1899 | ChainLink.TextureLength = 3 | |
| 1900 | ChainLink.Attachment0 = A | |
| 1901 | ChainLink.Attachment1 = B | |
| 1902 | ChainLink.CurveSize0 = 1.3 | |
| 1903 | ChainLink.CurveSize1 = 1.3 | |
| 1904 | ChainLink.FaceCamera = true | |
| 1905 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1906 | local ChainLink = Instance.new("Beam",tors)
| |
| 1907 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1908 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 1909 | ChainLink.TextureSpeed = 1 | |
| 1910 | ChainLink.FaceCamera = true | |
| 1911 | ChainLink.Width0 = 1 | |
| 1912 | ChainLink.Width1 = 1 | |
| 1913 | ChainLink.TextureLength = 3 | |
| 1914 | ChainLink.Attachment0 = B | |
| 1915 | ChainLink.Attachment1 = A | |
| 1916 | ChainLink.CurveSize0 = 1.3 | |
| 1917 | ChainLink.CurveSize1 = 1.3 | |
| 1918 | ChainLink.FaceCamera = true | |
| 1919 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1920 | angery = true | |
| 1921 | music.SoundId = "rbxassetid://849713469" | |
| 1922 | music:Play() | |
| 1923 | local BodyColors = char:FindFirstChildOfClass"BodyColors" | |
| 1924 | if BodyColors then | |
| 1925 | BodyColors.TorsoColor = BrickColor.new"Really black" | |
| 1926 | BodyColors.LeftArmColor = BrickColor.new"Really black" | |
| 1927 | BodyColors.RightArmColor = BrickColor.new"Really black" | |
| 1928 | BodyColors.LeftLegColor = BrickColor.new"Really black" | |
| 1929 | BodyColors.RightLegColor = BrickColor.new"Really black" | |
| 1930 | end | |
| 1931 | attack = false | |
| 1932 | end | |
| 1933 | ||
| 1934 | ||
| 1935 | ||
| 1936 | ||
| 1937 | ------------------------------------------------------------ | |
| 1938 | --------------------------------------------- | |
| 1939 | --End of attacks-- | |
| 1940 | ------------------------------------------------------------ | |
| 1941 | --------------------------------------------- | |
| 1942 | mouse.Button1Down:connect(function() | |
| 1943 | if attack == false and targetted ~= nil and targetted.Parent ~= nil then | |
| 1944 | targetkill() | |
| 1945 | end | |
| 1946 | end) | |
| 1947 | ||
| 1948 | mouse.KeyDown:connect(function(key) | |
| 1949 | if attack == false then | |
| 1950 | if key == 't' then | |
| 1951 | Laugh() | |
| 1952 | elseif key == 'v' then | |
| 1953 | smileforme() | |
| 1954 | elseif key == 'q' then | |
| 1955 | LockOn() | |
| 1956 | elseif key == 'f' and targetted ~= nil then | |
| 1957 | frombelow() | |
| 1958 | elseif key == 'x' then | |
| 1959 | shootyboi() | |
| 1960 | elseif key == 'e' and targetted ~= nil then | |
| 1961 | nothinpersonal(targetted.Head.CFrame * CFrame.new(0,-1.5,3)) | |
| 1962 | --[[elseif key == 'z' then | |
| 1963 | waitwathowdididashwithjustmyhumanoidokaynvm()]]-- | |
| 1964 | elseif key == 'b' and angery == false then | |
| 1965 | ohshitimangry() | |
| 1966 | --[[elseif key == 'p' then | |
| 1967 | suicide()]]-- | |
| 1968 | end | |
| 1969 | end | |
| 1970 | end) | |
| 1971 | ||
| 1972 | ||
| 1973 | ||
| 1974 | ||
| 1975 | ||
| 1976 | ------------------------------------------------------------ | |
| 1977 | --------------------------------------------- | |
| 1978 | --Start of Animations-- | |
| 1979 | ------------------------------------------------------------ | |
| 1980 | --------------------------------------------- | |
| 1981 | local PlayerSize = 1 | |
| 1982 | local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
| |
| 1983 | FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
| 1984 | RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
| 1985 | LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
| 1986 | RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
| 1987 | LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
| 1988 | ||
| 1989 | ||
| 1990 | local idle=0 | |
| 1991 | local change = 1 | |
| 1992 | local val = 0 | |
| 1993 | toim = 0 | |
| 1994 | hum.Animator.Parent = nil | |
| 1995 | idleanim=.4 | |
| 1996 | while true do | |
| 1997 | swait() | |
| 1998 | naeeym2.StudsOffset = Vector3.new(-4, 4, 0) + Vector3.new(math.random(-10, 10) / 100, math.random(-10, 10) / 100, 0) | |
| 1999 | TargetCircle.Rotation = TargetCircle.Rotation + 3 | |
| 2000 | TargetCircle2.Rotation = TargetCircle2.Rotation + 3 | |
| 2001 | if targetted ~= nil then | |
| 2002 | BBG.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
| |
| 2003 | BBG.Enabled = true | |
| 2004 | elseif targetted == nil then | |
| 2005 | BBG.Adornee = nil | |
| 2006 | BBG.Enabled = false | |
| 2007 | end | |
| 2008 | while true and TargetCircle.Rotation >= 360 do | |
| 2009 | TargetCircle.Rotation = 0 | |
| 2010 | TargetCircle.Rotation = 0 | |
| 2011 | end | |
| 2012 | sine = sine + change | |
| 2013 | local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude | |
| 2014 | local velderp=root.Velocity.y | |
| 2015 | hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
| 2016 | if equipped==true or equipped==false then | |
| 2017 | if attack==false then | |
| 2018 | idle=idle+1 | |
| 2019 | else | |
| 2020 | idle=0 | |
| 2021 | end | |
| 2022 | if root.Velocity.y > 1 and hitfloor==nil then | |
| 2023 | Anim="Jump" | |
| 2024 | if attack==false then | |
| 2025 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2026 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 2027 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3) | |
| 2028 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
| 2029 | LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),-0.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15) | |
| 2030 | RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
| 2031 | end | |
| 2032 | elseif root.Velocity.y < -1 and hitfloor==nil then | |
| 2033 | Anim="Fall" | |
| 2034 | if attack==false then | |
| 2035 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
| 2036 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
| 2037 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2038 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(40),math.rad(0),math.rad(0)),.3) | |
| 2039 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 2040 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-0), math.rad(0), math.rad(-90)), 0.3) | |
| 2041 | end | |
| 2042 | elseif torvel<1 and hitfloor~=nil then | |
| 2043 | Anim="Idle" | |
| 2044 | change = .5 | |
| 2045 | if attack==false then | |
| 2046 | if angery == false then | |
| 2047 | VALUE1 = false | |
| 2048 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(15),math.rad(0),math.rad(0)),0.15) | |
| 2049 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15*math.sin(sine/25)/2),math.rad(0),math.rad(10*math.sin(sine/25))),.3) | |
| 2050 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(15)),0.15) | |
| 2051 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(-5)),0.15) | |
| 2052 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(20 ), math.rad(-7*math.sin(sine/25)), math.rad(5)), 0.1) | |
| 2053 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(20 ), math.rad(7*math.sin(sine/25)), math.rad(-5)), 0.1) | |
| 2054 | if VALUE1 == false and math.random(1,200) == 1 then | |
| 2055 | coroutine.resume(coroutine.create(function() | |
| 2056 | VALUE1 = true | |
| 2057 | for i = 1, 75 do | |
| 2058 | swait() | |
| 2059 | music.Pitch = .5+math.random(.5,.2)/.5 | |
| 2060 | hed.face.Texture = "http://www.roblox.com/asset/?id=124907882" | |
| 2061 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/1))*angles(math.rad(15),math.rad(0),math.rad(0)),.5) | |
| 2062 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/1),0.025*math.cos(sine/1))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(15)),.5) | |
| 2063 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/1),0.025*math.cos(sine/1))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(-5)),.5) | |
| 2064 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(4 ), math.rad(-7*math.sin(sine/1)), math.rad((15+math.random(-15,15)/15))),.5) | |
| 2065 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(4 ), math.rad(7*math.sin(sine/1)), math.rad((-15+math.random(-15,15)/15))),.5) | |
| 2066 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad((15+math.random(-15,15)/15)),math.rad(30)),.3) | |
| 2067 | end | |
| 2068 | music.Pitch = 1 | |
| 2069 | VALUE1 = false | |
| 2070 | ||
| 2071 | end)) | |
| 2072 | end | |
| 2073 | elseif angery == true then | |
| 2074 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15) | |
| 2075 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-15*math.sin(sine/25)/2),math.rad(0),math.rad(10*math.sin(sine/25))),.3) | |
| 2076 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(-25)),0.15) | |
| 2077 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(15)),0.15) | |
| 2078 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(-35 ), math.rad(-7*math.sin(sine/25)), math.rad(5)), 0.1) | |
| 2079 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(-35 ), math.rad(7*math.sin(sine/25)), math.rad(-5)), 0.1) | |
| 2080 | if VALUE1 == false and math.random(1,200) == 1 then | |
| 2081 | coroutine.resume(coroutine.create(function() | |
| 2082 | VALUE1 = true | |
| 2083 | for i = 1, 25 do | |
| 2084 | swait() | |
| 2085 | local POS = root.Position | |
| 2086 | SHAKECAM(POS, 2, 2, 2) | |
| 2087 | music.Pitch = .5+math.random(.5,.2)/.5 | |
| 2088 | FT.Parent = tors | |
| 2089 | RA.Parent = ra | |
| 2090 | LA.Parent = la | |
| 2091 | RL.Parent = rl | |
| 2092 | LL.Parent = ll | |
| 2093 | for _,v in next, char:GetDescendants() do | |
| 2094 | if(v:IsA'DataModelMesh')then | |
| 2095 | v.Offset = Vector3.new(math.random(-200,200)/100,math.random(-200,200)/100,math.random(-200,200)/100) | |
| 2096 | end | |
| 2097 | end | |
| 2098 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad((15+math.random(-15,15)/15)),math.rad(0)),.3) | |
| 2099 | end | |
| 2100 | music.Pitch = 0.66 | |
| 2101 | VALUE1 = false | |
| 2102 | FT.Parent = nil | |
| 2103 | RA.Parent = nil | |
| 2104 | LA.Parent = nil | |
| 2105 | RL.Parent = nil | |
| 2106 | LL.Parent = nil | |
| 2107 | for _,v in next, char:GetDescendants() do | |
| 2108 | if(v:IsA'DataModelMesh')then | |
| 2109 | v.Offset = Vector3.new(0,0,0) | |
| 2110 | end | |
| 2111 | end | |
| 2112 | ||
| 2113 | end)) | |
| 2114 | end | |
| 2115 | end | |
| 2116 | end | |
| 2117 | elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then | |
| 2118 | Anim="Walk" | |
| 2119 | change = .6 | |
| 2120 | char.Humanoid.WalkSpeed = 8 | |
| 2121 | if attack==false then | |
| 2122 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(5-2.5*math.cos(sine/3.5)),math.rad(0)+root.RotVelocity.Y/30,math.rad(0)+root.RotVelocity.Y/30),0.15) | |
| 2123 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(12),math.rad(0)),.3) | |
| 2124 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/15), 0) * angles(math.rad(20) * math.cos(sine / 7), math.rad(0), math.rad(5)), 0.3) | |
| 2125 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/15), 0) * angles(math.rad(-20) * math.cos(sine / 7) , math.rad(0), math.rad(-5)), 0.1) | |
| 2126 | RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.025*math.cos(sine/7)/2)*angles(math.rad(-5-15*math.cos(sine/7))+ -math.sin(sine/7)/1.5,math.rad(90-0.1*math.cos(sine/7)),math.rad(0)),0.15) | |
| 2127 | LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.025*math.cos(sine/7)/2)*angles(math.rad(-5+15*math.cos(sine/7))+ math.sin(sine/7)/1.5,math.rad(-90-0.1*math.cos(sine/7)),math.rad(0)),0.15) | |
| 2128 | end | |
| 2129 | end | |
| 2130 | end | |
| 2131 | if 0 < #Effects then | |
| 2132 | for e = 1, #Effects do | |
| 2133 | if Effects[e] ~= nil then | |
| 2134 | local Thing = Effects[e] | |
| 2135 | if Thing ~= nil then | |
| 2136 | local Part = Thing[1] | |
| 2137 | local Mode = Thing[2] | |
| 2138 | local Delay = Thing[3] | |
| 2139 | local IncX = Thing[4] | |
| 2140 | local IncY = Thing[5] | |
| 2141 | local IncZ = Thing[6] | |
| 2142 | if 1 >= Thing[1].Transparency then | |
| 2143 | if Thing[2] == "Block1" then | |
| 2144 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2145 | local Mesh = Thing[1].Mesh | |
| 2146 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2147 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2148 | elseif Thing[2] == "Block2" then | |
| 2149 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 2150 | local Mesh = Thing[7] | |
| 2151 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2152 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2153 | elseif Thing[2] == "Block3" then | |
| 2154 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
| 2155 | local Mesh = Thing[7] | |
| 2156 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2157 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2158 | elseif Thing[2] == "Cylinder" then | |
| 2159 | local Mesh = Thing[1].Mesh | |
| 2160 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2161 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2162 | elseif Thing[2] == "Blood" then | |
| 2163 | local Mesh = Thing[7] | |
| 2164 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 2165 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2166 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2167 | elseif Thing[2] == "Elec" then | |
| 2168 | local Mesh = Thing[1].Mesh | |
| 2169 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2170 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2171 | elseif Thing[2] == "Disappear" then | |
| 2172 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2173 | elseif Thing[2] == "Shatter" then | |
| 2174 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2175 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 2176 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 2177 | Thing[6] = Thing[6] + Thing[5] | |
| 2178 | end | |
| 2179 | else | |
| 2180 | Part.Parent = nil | |
| 2181 | table.remove(Effects, e) | |
| 2182 | end | |
| 2183 | end | |
| 2184 | end | |
| 2185 | end | |
| 2186 | end | |
| 2187 | end | |
| 2188 | ------------------------------------------------------------ | |
| 2189 | --------------------------------------------- | |
| 2190 | --End of Script-- | |
| 2191 | ------------------------------------------------------------ | |
| 2192 | --------------------------------------------- |