Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------
- --[[ Name : Stranger]]--
- -------------------------------------------------------
- --A script By 1x3x1xO
- --Discord
- -------------------------------------------------------
- wait()
- local plr = game:service'Players'.LocalPlayer
- print('Local User is '..plr.Name)
- local char = plr.Character
- local hum = char.Humanoid
- local hed = char.Head
- local root = char.HumanoidRootPart
- local rootj = root.RootJoint
- local tors = char.Torso
- local ra = char["Right Arm"]
- local la = char["Left Arm"]
- local rl = char["Right Leg"]
- local ll = char["Left Leg"]
- local neck = tors["Neck"]
- local mouse = plr:GetMouse()
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
- local maincolor = BrickColor.new("Institutional white")
- -------------------------------------------------------
- --.--
- -------------------------------------------------------
- ff = Instance.new("ForceField",char)
- ff.Visible = false
- hum.Name = "Base"
- hum.MaxHealth = 1.0E298
- hum.Health = 1.0E298
- game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
- if hum.Health > 0.1 and hum.Health < 1.0E298 then
- hum.MaxHealth = 1.0E298
- hum.Health = 1.0E298
- end
- end)
- -------------------------------------------------------
- --End Whitelist and Invincibility--
- -------------------------------------------------------
- function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.Material = "Neon"
- prt.CFrame = cframe
- prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- swait()
- Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part.Parent = nil
- end), prt, msh)
- end
- function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
- local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.Material = "Neon"
- prt.CFrame = cframe
- local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
- game:GetService("Debris"):AddItem(prt, 5)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- local rtype = rottype
- for i = 0, 1, delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
- end
- prt.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
- end
- Part.Parent = nil
- end), prt, msh)
- end
- --
- -------------------------------------------------------
- --Start Good Stuff--
- -------------------------------------------------------
- cam = game.Workspace.CurrentCamera
- CF = CFrame.new
- angles = CFrame.Angles
- attack = false
- Euler = CFrame.fromEulerAnglesXYZ
- Rad = math.rad
- IT = Instance.new
- BrickC = BrickColor.new
- Cos = math.cos
- Acos = math.acos
- Sin = math.sin
- Asin = math.asin
- Abs = math.abs
- Mrandom = math.random
- Floor = math.floor
- -------------------------------------------------------
- --End Good Stuff--
- -------------------------------------------------------
- necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- RSH, LSH = nil, nil
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- RH = tors["Right Hip"]
- LH = tors["Left Hip"]
- RSH = tors["Right Shoulder"]
- LSH = tors["Left Shoulder"]
- RSH.Parent = nil
- LSH.Parent = nil
- RW.Name = "RW"
- RW.Part0 = tors
- RW.C0 = CF(1.5, 0.5, 0)
- RW.C1 = CF(0, 0.5, 0)
- RW.Part1 = ra
- RW.Parent = tors
- LW.Name = "LW"
- LW.Part0 = tors
- LW.C0 = CF(-1.5, 0.5, 0)
- LW.C1 = CF(0, 0.5, 0)
- LW.Part1 = la
- LW.Parent = tors
- Effects = {}
- -------------------------------------------------------
- --Start HeartBeat--
- -------------------------------------------------------
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- --------------
- --[[
- Thanks for using Build-To-Lua by jarredbcv.
- ]]--
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- Uzi = New("Model",char,"Uzi",{})
- Handle = New("Part",Uzi,"Handle",{BrickColor = BrickColor.new("Really 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),})
- 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),})
- Mesh = New("BlockMesh",Port,"Mesh",{Scale = Vector3.new(0.0769230723, 0.538461506, 1),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Mag2,"Mesh",{Scale = Vector3.new(0.809523821, 1, 0.714285731),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194),})
- 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),})
- AimPart = New("Part",Uzi,"AimPart",{BrickColor = BrickColor.new("Really 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),})
- 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),})
- Hole = New("Part",Uzi,"Hole",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",Hole,"Mesh",{Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485),})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),MeshType = Enum.MeshType.Wedge,})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343),MeshType = Enum.MeshType.Torso,})
- 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),})
- 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),})
- lenspart = New("IntValue",NoSight,"lenspart",{})
- Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485),})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097),})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),MeshType = Enum.MeshType.Wedge,})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- 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,})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485),MeshType = Enum.MeshType.Wedge,})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097),})
- 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),})
- A1 = New("Part",Uzi,"A1",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",A1,"Mesh",{Scale = Vector3.new(0.238000005, 1, 0.0480000004),})
- 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),})
- Cylinder1 = New("Part",Uzi,"Cylinder",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("CylinderMesh",Cylinder1,"Mesh",{Offset = Vector3.new(0, -0.0185714271, 0),Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Mag1,"Mesh",{Scale = Vector3.new(0.809523821, 1, 0.714285731),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239),})
- 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),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239),})
- 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),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194),})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343),MeshType = Enum.MeshType.Wedge,})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097),MeshType = Enum.MeshType.Wedge,})
- 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),})
- Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149),})
- 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),})
- Block = New("Part",Uzi,"Block",{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, 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),})
- Mesh = New("BlockMesh",Block,"Mesh",{Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485),})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),MeshType = Enum.MeshType.Wedge,})
- 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),})
- Ring = New("Part",Uzi,"Ring",{BrickColor = BrickColor.new("Really 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),})
- 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,})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),MeshType = Enum.MeshType.Wedge,})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
- 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),})
- NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really 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),})
- Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",A2,"Mesh",{Offset = Vector3.new(0, 0, 0.0599999987),Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004),})
- 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),})
- local NewInstance = function(instance,parent,properties)
- local inst = Instance.new(instance,parent)
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- for _, v in pairs(Uzi:GetChildren()) do
- if v:IsA'BasePart' then
- v.CanCollide = false
- end
- end
- 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))})
- -------------------------------------------------------
- --End HeartBeat--
- -------------------------------------------------------
- local l = game.Lighting
- local sky = Instance.new("Sky",l)
- l.TimeOfDay = "00:00:00"
- l.Brightness = 1
- l.Ambient = Color3.new(0.25, 0.5, 0.75)
- ---
- -------------------------------------------------------
- --Start Important Functions--
- -------------------------------------------------------
- function swait(num)
- if num == 0 or num == nil then
- game:service("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:service("RunService").Stepped:wait(0)
- end
- end
- end
- function thread(f)
- coroutine.resume(coroutine.create(f))
- end
- function clerp(a, b, t)
- local qa = {
- QuaternionFromCFrame(a)
- }
- local qb = {
- QuaternionFromCFrame(b)
- }
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m00 < m11 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s
- return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- 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))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp
- if cosTheta >= 1.0E-4 then
- if 1 - cosTheta > 1.0E-4 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1 / Sin(theta)
- startInterp = Sin((1 - t) * theta) * invSinTheta
- finishInterp = Sin(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- elseif 1 + cosTheta > 1.0E-4 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1 / Sin(theta)
- startInterp = Sin((t - 1) * theta) * invSinTheta
- finishInterp = Sin(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- 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
- end
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- -------------------------------------------------------
- --Start Damage Function--
- -------------------------------------------------------
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- if insta == true then
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
- else
- h.Health = h.Health - (Damage / 2)
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition"){
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition"){
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- local BodGy = Create("BodyGyro") {
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame,
- }
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue"){
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true,
- }
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Create("ObjectValue"){
- Name = "creator",
- Value = Player,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- end
- end
- -------------------------------------------------------
- --End Damage Function--
- -------------------------------------------------------
- local EyeSizes={
- NumberSequenceKeypoint.new(0,0.65,0),
- NumberSequenceKeypoint.new(0.5,0.7,0),
- NumberSequenceKeypoint.new(1,0,0)
- }
- local EyeTrans={
- NumberSequenceKeypoint.new(0,0,0),
- NumberSequenceKeypoint.new(0.5,0,0),
- NumberSequenceKeypoint.new(1,1,0)
- }
- local PE2=Instance.new("ParticleEmitter", ra)
- PE2.LightEmission=.9
- PE2.Color = ColorSequence.new(BrickC("Dark indigo").Color,BrickC("Royal purple").Color)
- PE2.Transparency=NumberSequence.new(EyeTrans)
- PE2.Lifetime=NumberRange.new(0.35)
- PE2.Rotation=NumberRange.new(0,360)
- PE2.Rate=999
- PE2.VelocitySpread = 10000
- PE2.Acceleration = Vector3.new(0,25,0)
- PE2.ZOffset = 0.5
- PE2.Drag = 0
- PE2.Speed = NumberRange.new(0,0,0)
- PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
- PE2.Name = "PE2"
- PE2.Enabled = true
- PE2.LockedToPart = true
- --
- -------------------------------------------------------
- --Start Damage Function Customization--
- -------------------------------------------------------
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "Bodoni",
- TextColor3 = Color,
- TextScaled = true,
- TextStrokeColor3 = Color3.fromRGB(0,0,0),
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- -------------------------------------------------------
- --End Damage Function Customization--
- -------------------------------------------------------
- function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Head")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= plr.Name then
- Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
- end
- end
- end
- end
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- return Part
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- },
- Sound = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound")({
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace
- })
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- end))
- end
- },
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter")({
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread
- })
- return fp
- end
- }
- }
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- formFactor = FormFactor,
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- return Part
- end
- function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- function CreateWeld(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- -------------------------------------------------------
- --Start Effect Function--
- -------------------------------------------------------
- EffectModel = Instance.new("Model", char)
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- else
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3 / 60,
- y3 / 60,
- z3 / 60,
- msh
- })
- end
- },
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end
- },
- Spiral = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Push = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- }
- }
- function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
- local fp = IT("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked = true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = tors.Position
- RemoveOutlines(fp)
- fp.Material = "SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh = IT(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- if meshid ~= "nil" then
- mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
- end
- end
- mesh.Offset = offset
- mesh.Scale = scale
- return mesh
- end
- function Magic(bonuspeed, type, pos, scale, value, color, MType)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = MType
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1 * value
- elseif type == "Divide" then
- scaler2 = 1 / value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 / bonuspeed, 0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01 * value / bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01 / value * bonuspeed
- end
- rng.Transparency = rng.Transparency + 0.01 * bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function Eviscerate(dude)
- if dude.Name ~= char then
- local bgf = IT("BodyGyro", dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
- local val = IT("BoolValue", dude)
- val.Name = "IsHit"
- local ds = coroutine.wrap(function()
- dude:WaitForChild("Head"):BreakJoints()
- wait(0.5)
- target = nil
- coroutine.resume(coroutine.create(function()
- for i, v in pairs(dude:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- if v:IsA("Humanoid") then
- v:Destroy()
- end
- if v:IsA("CharacterMesh") then
- v:Destroy()
- end
- if v:IsA("Model") then
- v:Destroy()
- end
- if v:IsA("Part") or v:IsA("MeshPart") then
- for x, o in pairs(v:GetChildren()) do
- if o:IsA("Decal") then
- o:Destroy()
- end
- end
- coroutine.resume(coroutine.create(function()
- v.Material = "Neon"
- v.CanCollide = false
- local PartEmmit1 = IT("ParticleEmitter", v)
- PartEmmit1.LightEmission = 1
- PartEmmit1.Texture = "rbxassetid://284205403"
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- PartEmmit1.Rate = 150
- PartEmmit1.Lifetime = NumberRange.new(1)
- PartEmmit1.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.75, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- PartEmmit1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- PartEmmit1.Speed = NumberRange.new(0, 0)
- PartEmmit1.VelocitySpread = 30000
- PartEmmit1.Rotation = NumberRange.new(-500, 500)
- PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
- local BodPoss = IT("BodyPosition", v)
- BodPoss.P = 3000
- BodPoss.D = 1000
- BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
- v.Color = maincolor.Color
- coroutine.resume(coroutine.create(function()
- for i = 0, 49 do
- swait(1)
- v.Transparency = v.Transparency + 0.08
- end
- wait(0.5)
- PartEmmit1.Enabled = false
- wait(3)
- v:Destroy()
- dude:Destroy()
- end))
- end))
- end
- end
- end))
- end)
- ds()
- end
- end
- function FindNearestHead(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
- table.insert(List, v)
- end
- end
- return List
- end
- function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = MType
- rngm.Scale = Vector3.new(x1, y1, z1)
- local scaler2 = 1
- local speeder = FastSpeed
- if type == "Add" then
- scaler2 = 1 * value
- elseif type == "Divide" then
- scaler2 = 1 / value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 / bonuspeed, 0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01 * value / bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01 / value * bonuspeed
- end
- speeder = speeder - 0.01 * FastSpeed * bonuspeed
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
- rng.Transparency = rng.Transparency + 0.01 * bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
- end
- rng:Destroy()
- end))
- end
- function SoulSteal(dude)
- if dude.Name ~= char then
- local bgf = IT("BodyGyro", dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
- local val = IT("BoolValue", dude)
- val.Name = "IsHit"
- local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
- local soulst = coroutine.wrap(function()
- local soul = Instance.new("Part",dude)
- soul.Size = Vector3.new(1,1,1)
- soul.CanCollide = false
- soul.Anchored = false
- soul.Position = torso.Position
- soul.Transparency = 1
- local PartEmmit1 = IT("ParticleEmitter", soul)
- PartEmmit1.LightEmission = 1
- PartEmmit1.Texture = "rbxassetid://569507414"
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- PartEmmit1.Rate = 250
- PartEmmit1.Lifetime = NumberRange.new(1.6)
- PartEmmit1.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- PartEmmit1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- PartEmmit1.Speed = NumberRange.new(0, 0)
- PartEmmit1.VelocitySpread = 30000
- PartEmmit1.Rotation = NumberRange.new(-360, 360)
- PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
- local BodPoss = IT("BodyPosition", soul)
- BodPoss.P = 3000
- BodPoss.D = 1000
- BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
- wait(1.6)
- soul.Touched:connect(function(hit)
- if hit.Parent == char then
- soul:Destroy()
- end
- end)
- wait(1.2)
- while soul do
- swait()
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- BodPoss.Position = tors.Position
- end
- end)
- soulst()
- end
- end
- function FaceMouse()
- local Cam = workspace.CurrentCamera
- return {
- CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
- Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
- }
- end
- --------------------
- function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
- local NEWMESH = Instance.new(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = Instance.new("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = tors.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
- local acs = Instance.new("Part")
- acs.CanCollide = false
- acs.Anchored = false
- acs.Size = Vector3.new(0,0,0)
- acs.CFrame = attachmentpart.CFrame
- acs.Parent = char
- acs.BrickColor = color
- local meshs = Instance.new("SpecialMesh")
- meshs.MeshId = mesh
- meshs.TextureId = texture
- meshs.Parent = acs
- meshs.Scale = scale
- meshs.Offset = offset
- weldBetween(attachmentpart,acs)
- end
- local accessories = Instance.new("Folder",char)
- accessories.Name = "Add-ons"
- function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
- if TYPE == "Gem" then
- local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
- acs.Anchored = false
- acs.CanCollide = false
- acs.CFrame = PART.CFrame
- local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
- weldBetween(PART,acs)
- elseif TYPE == "Skull" then
- local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
- acs.Anchored = false
- acs.CanCollide = false
- acs.CFrame = PART.CFrame
- local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
- weldBetween(PART,acs)
- elseif TYPE == "Eye" then
- local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
- acs.Anchored = false
- acs.CanCollide = false
- acs.CFrame = PART.CFrame
- local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
- weldBetween(PART,acs)
- end
- end
- createbodypart("Eye","Dark indigo",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
- createbodypart("Eye","Dark indigo",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
- -----------------------------------
- --End Effect Function--
- -------------------------------------------------------
- function Cso(ID, PARENT, VOLUME, PITCH)
- local NSound = nil
- coroutine.resume(coroutine.create(function()
- NSound = IT("Sound", PARENT)
- NSound.Volume = VOLUME
- NSound.Pitch = PITCH
- NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
- swait()
- NSound:play()
- game:GetService("Debris"):AddItem(NSound, 10)
- end))
- return NSound
- end
- function CameraEnshaking(Length, Intensity)
- coroutine.resume(coroutine.create(function()
- local intensity = 1 * Intensity
- local rotM = 0.01 * Intensity
- for i = 0, Length, 0.1 do
- swait()
- intensity = intensity - 0.05 * Intensity / Length
- rotM = rotM - 5.0E-4 * Intensity / Length
- hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
- cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
- end
- hum.CameraOffset = Vector3.new(0, 0, 0)
- end))
- end
- --
- function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = Vector3.new(x1, y1, z1)
- local scaler2 = 1
- local speeder = FastSpeed
- if type == "Add" then
- scaler2 = 1 * value
- elseif type == "Divide" then
- scaler2 = 1 / value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 / bonuspeed, 0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01 * value / bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01 / value * bonuspeed
- end
- rng.BrickColor = BrickColor.random()
- speeder = speeder - 0.01 * FastSpeed * bonuspeed
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
- rng.Transparency = rng.Transparency + 0.01 * bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
- end
- rng:Destroy()
- end))
- end
- function FindNearestHead(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
- table.insert(List, v)
- end
- end
- return List
- end
- function dmg(dude)
- if dude.Name ~= char then
- dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
- local bgf = Instance.new("BodyGyro",dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- local val = Instance.new("BoolValue",dude)
- val.Name = "IsHit"
- coroutine.wrap(function()
- targetted = nil
- swait(30)
- local asd = Instance.new("ParticleEmitter",dude.Head)
- asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
- asd.LightEmission = .1
- asd.Size = NumberSequence.new(0.2)
- asd.Texture = "rbxassetid://771221224"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- asd.Transparency = bbb
- asd.Size = aaa
- asd.ZOffset = .9
- asd.Acceleration = Vector3.new(0, -5, 0)
- asd.LockedToPart = false
- asd.EmissionDirection = "Back"
- asd.Lifetime = NumberRange.new(1, 2)
- asd.Rate = 1000
- asd.Rotation = NumberRange.new(-100, 100)
- asd.RotSpeed = NumberRange.new(-100, 100)
- asd.Speed = NumberRange.new(6)
- asd.VelocitySpread = 10000
- asd.Enabled=true
- dude:BreakJoints()
- swait(5)
- for i,v in pairs(dude:GetChildren()) do
- if v:IsA("BasePart") then
- local bodpos = Instance.new("BodyPosition",v)
- bodpos.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- end
- end
- for i=0,1,.05 do
- for a,v in pairs(dude:GetChildren()) do
- if v:IsA("BasePart") then
- v.Transparency = i
- end
- end
- swait()
- end
- for a,v in pairs(dude:GetChildren()) do
- if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
- v.ParticleEmitter.Enabled = false
- end
- game:service'Debris':AddItem(v,2)
- asd.Enabled = false
- end
- end)()
- end
- end
- function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- --local buddy
- for _, c in pairs(workspace:GetDescendants()) do
- local hum = c:FindFirstChildOfClass("Humanoid")
- if hum ~= nil then
- local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= Magnitude and c.Name ~= plr.Name and c:FindFirstChild("MagDmgd")==nil then
- if c.Name ~= char then
- if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" or c.Name ~= "Makhail07" then
- local val = Instance.new("BoolValue",c)
- val.Name = "MagDmgd"
- local asd = Instance.new("ParticleEmitter",head)
- asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
- asd.LightEmission = .1
- asd.Size = NumberSequence.new(0.2)
- asd.Texture = "rbxassetid://771221224"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- asd.Transparency = bbb
- asd.Size = aaa
- asd.ZOffset = .9
- asd.Acceleration = Vector3.new(0, -5, 0)
- asd.LockedToPart = false
- asd.EmissionDirection = "Back"
- asd.Lifetime = NumberRange.new(1, 2)
- asd.Rate = 1000
- asd.Rotation = NumberRange.new(-100, 100)
- asd.RotSpeed = NumberRange.new(-100, 100)
- asd.Speed = NumberRange.new(6)
- asd.VelocitySpread = 10000
- asd.Enabled=true
- --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
- dmg(c)
- CFuncs["Sound"].Create("rbxassetid://206082273", c.Head, 1.2, .8)
- coroutine.wrap(function()
- swait(.2)
- asd.Enabled = false
- wait(2)
- asd:Remove()
- end)()
- else
- Effects.Sphere.Create(BrickColor.new("Bright red"), head.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
- end
- end
- end
- end
- end
- end
- end
- targetted = nil
- -------------------------------------------------------
- --End Important Functions--
- -------------------------------------------------------
- local Lite = IT("PointLight",tors)
- Lite.Color = Color3.new(.7,0,1)
- Lite.Range = 8
- Lite.Brightness = 10
- Lite.Shadows = true
- --
- abss = Instance.new("BillboardGui",char)
- abss.Size = UDim2.new(10,0,10,0)
- abss.Enabled = false
- imgl = Instance.new("ImageLabel",abss)
- imgl.Position = UDim2.new(0,0,0,0)
- imgl.Size = UDim2.new(1,0,1,0)
- imgl.Image = "rbxassetid://224019254"
- imgl.BackgroundTransparency = 1
- imgl.ImageColor3 = Color3.new(.5,0,.5)
- img2 = Instance.new("ImageLabel",abss)
- img2.Position = UDim2.new(0,0,0,0)
- img2.Size = UDim2.new(1,0,1,0)
- img2.Image = "rbxassetid://224019254"
- img2.BackgroundTransparency = 1
- img2.ImageColor3 = Color3.new(.5,0,.5)
- -------------------------------------------------------
- --Start Customization--
- -------------------------------------------------------
- local Player_Size = 1
- if Player_Size ~= 1 then
- root.Size = root.Size * Player_Size
- tors.Size = tors.Size * Player_Size
- hed.Size = hed.Size * Player_Size
- ra.Size = ra.Size * Player_Size
- la.Size = la.Size * Player_Size
- rl.Size = rl.Size * Player_Size
- ll.Size = ll.Size * Player_Size
- ----------------------------------------------------------------------------------
- rootj.Parent = root
- neck.Parent = tors
- RW.Parent = tors
- LW.Parent = tors
- RH.Parent = tors
- LH.Parent = tors
- ----------------------------------------------------------------------------------
- rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
- rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
- neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
- neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
- RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
- LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
- ----------------------------------------------------------------------------------
- RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
- LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
- RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
- LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
- --hat.Parent = Character
- end
- ----------------------------------------------------------------------------------
- local SONG = 916843842
- local SONG2 = 0
- local Music = Instance.new("Sound",tors)
- Music.Volume = 2.5
- Music.Looped = true
- Music.Pitch = 9 --Pitcher
- ----------------------------------------------------------------------------------
- local equipped = false
- local idle = 0
- local change = 1
- local val = 0
- local toim = 0
- local idleanim = 0.4
- local sine = 0
- local Sit = 1
- ----------------------------------------------------------------------------------
- hum.WalkSpeed = 8
- hum.JumpPower = 57
- hum.Animator.Parent = nil
- ----------------------------------------------------------------------------------
- local r = 255
- local g = 0
- local b = 0
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i = 0, 50.8 do
- swait()
- g = g + 5
- end
- for i = 0, 50.8 do
- swait()
- r = r - 5
- end
- for i = 0, 50.8 do
- swait()
- b = b + 5
- end
- for i = 0, 50.8 do
- swait()
- g = g - 5
- end
- for i = 0, 50.8 do
- swait()
- r = r + 5
- end
- for i = 0, 50.8 do
- swait()
- b = b - 5
- end
- end
- end))
- ---
- ----------------------------------------------------------------------------------
- local naeeym2 = IT("BillboardGui",char)
- naeeym2.AlwaysOnTop = true
- naeeym2.Size = UDim2.new(5,35,2,15)
- naeeym2.StudsOffset = Vector3.new(0,2,0)
- naeeym2.MaxDistance = 75
- naeeym2.Adornee = hed
- naeeym2.Name = "Name"
- local tecks2 = IT("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.TextScaled = true
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(1,1,1)
- tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.Parent = naeeym2
- hed.face.Texture = "rbxassetid://178503660"
- --
- CV="Blue"
- Player = game.Players.LocalPlayer
- Character = Player.Character
- local txt = Instance.new("BillboardGui", Character)
- txt.Adornee = Character .Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Antique"
- text.TextStrokeColor3 = Color3.new(.5,0,.5)
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=Player.Character
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=Character.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = Color3.new(0,0,0)
- v.Shape="Block"
- text.Text = "Stranger"
- coroutine.resume(coroutine.create(function()
- while true do wait()
- text.Text = "Stranger"
- wait(math.random(1,2))
- local textline = math.random(1,4)
- if textline == 1 then
- text.Text = "S!#T$R!%4n$G3r"
- wait()
- text.Text = "H|I:)"
- end
- if textline == 2 then
- text.Text = "=$?_#Wh4t)"
- wait(.05)
- if textline == 3 then
- text.Text = "%E#rro!r#"
- wait(.05)
- text.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
- end
- end
- end
- end))
- ---
- function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 3 then
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- ----------------------------------------------------------------------------------
- Reaper = IT("Model")
- Reaper.Parent = char
- Reaper.Name = "Reaper"
- RHe = IT("Part")
- RHe.Parent = Reaper
- RHe.BrickColor = BrickC("Really black")
- RHe.Locked = true
- RHe.CanCollide = false
- RHe.Transparency = 0
- PMesh = IT("SpecialMesh")
- RHe.formFactor = "Symmetric"
- PMesh.MeshType = "FileMesh"
- PMesh.MeshId = "rbxassetid://"
- PMesh.TextureId = "rbxassetid://185703978"
- PMesh.Scale = Vector3.new(1, 1, 1)
- PMesh.Parent = RHe
- local RWeld = IT("Weld")
- RWeld.Parent = RHe
- RWeld.Part0 = RHe
- RWeld.Part1 = hed
- RWeld.C0 = CF(0, -.7, 0) * angles(0, 0, 0)
- -------------------------------------------------------
- --End Customization--
- -------------------------------------------------------
- function CreateSound(ID, PARENT, VOLUME, PITCH)
- local NSound = nil
- coroutine.resume(coroutine.create(function()
- NSound = Instance.new("Sound", PARENT)
- NSound.Volume = VOLUME
- NSound.Pitch = PITCH
- NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
- swait()
- NSound:play()
- game:GetService("Debris"):AddItem(NSound, 10)
- end))
- return NSound
- end
- -------------------------------------------------------
- --Start Attacks N Stuff--
- -------------------------------------------------------
- local sine=0
- function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
- local Hitboxpart = Instance.new("Part", EffectModel)
- RemoveOutlines(Hitboxpart)
- Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
- Hitboxpart.CanCollide = false
- Hitboxpart.Transparency = 1
- Hitboxpart.Anchored = true
- Hitboxpart.CFrame = Pose
- game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
- MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
- end
- wait2 = false
- combo = 1
- mouse.Button1Down:connect(function(key)
- if attack == false then
- attack = true
- hum.WalkSpeed = 3.01
- if combo == 1 and wait2 == false then
- wait2 = true
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
- end
- CreateSound("138097048", ra, 3, .8)
- HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
- for i = 0, 1.2, 0.1 do
- swait()
- BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
- rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
- end
- end
- if combo == 3 and wait2 == false then
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
- end
- CreateSound("138097048", ra, 3, .8)
- HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
- end
- Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
- Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
- HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
- end
- combo = 1
- end
- hum.WalkSpeed = 8
- wait2 = false
- attack = false
- end
- end)
- function Ending()
- local target = nil
- local targettorso = nil
- if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
- if mouse.Target.Parent.Humanoid.PlatformStand == false then
- targetT = mouse.Target.Parent
- target = mouse.Target.Parent.Humanoid
- targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
- targethead = mouse.Target.Parent:FindFirstChild("Head")
- end
- end
- if target ~= nil then
- targettorso.Anchored = true
- attack = true
- hum.WalkSpeed = 0
- local originalpos = root.CFrame
- root.CFrame = targettorso.CFrame * CF(0,0,2.6)
- for i = 0,1.8,0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
- end
- Eviscerate(targetT)
- CreateSound("331666100", ra, 4, 1)
- CreateSound("180083286", targettorso, 10, 1)
- coroutine.resume(coroutine.create(function()
- for i = 0,1.8,0.1 do
- swait()
- hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
- end
- for i = 0,1.8,0.1 do
- swait()
- hum.CameraOffset = Vector3.new(0,0,0)
- end
- end))
- for i = 0,4.6,0.1 do
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
- end
- wait(.6)
- root.CFrame = originalpos
- attack = false
- hum.WalkSpeed = 8
- end
- end
- function Painful_Stomp()
- attack = true
- for i = 0,0.1,0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
- end
- CreateSound("331666100", char, 10, 1)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
- Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
- for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
- if v:FindFirstChild("Head") then
- Eviscerate(v)
- end
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,2.8,0.1 do
- swait()
- hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
- end
- for i = 0,1.8,0.1 do
- swait()
- hum.CameraOffset = Vector3.new(0,0,0)
- end
- end))
- for i = 0,3.7,0.1 do
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
- end
- wait(.6)
- attack = false
- end
- function Slam()
- attack = true
- for i = 0,5.2,0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
- end
- CreateSound("331666100", tors, 10, 1)
- Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
- Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
- Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
- Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
- MagniDamage(tors, 100, 400, 600, 10, "Normal")
- coroutine.resume(coroutine.create(function()
- for i = 0,1.8,0.1 do
- swait()
- hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
- end
- for i = 0,1.8,0.1 do
- swait()
- hum.CameraOffset = Vector3.new(0,0,0)
- end
- end))
- for i = 1,4.7,0.1 do
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
- end
- wait(.6)
- attack = false
- end
- function Call_Upon_The_Eyes()
- attack = true
- hum.WalkSpeed = 0
- for i = 0, 6, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12)
- LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
- end
- Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
- Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
- Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
- Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
- CameraEnshaking(4, 25)
- for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
- if v:FindFirstChild("Head") then
- Eviscerate(v)
- end
- end
- for i = 0, 6, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2)
- LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
- end
- attack = false
- hum.WalkSpeed = 10
- end
- function Painful_Stomp()
- attack = true
- for i = 0,5.2,0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
- end
- CreateSound("331666100", char, 10, 1)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
- Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
- Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
- for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
- if v:FindFirstChild("Head") then
- Eviscerate(v)
- end
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,2.8,0.1 do
- swait()
- hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
- end
- for i = 0,1.8,0.1 do
- swait()
- hum.CameraOffset = Vector3.new(0,0,0)
- end
- end))
- for i = 0,3.7,0.1 do
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
- end
- wait(.6)
- attack = false
- end
- function Astigmatism()
- attack = true
- hum.WalkSpeed = 0
- local Ring1 = Instance.new("Part", char)
- Ring1.Anchored = true
- Ring1.BrickColor = maincolor
- Ring1.CanCollide = false
- Ring1.FormFactor = 3
- Ring1.Name = "Ring"
- Ring1.Material = "Neon"
- Ring1.Size = Vector3.new(1, 0.05, 1)
- Ring1.Transparency = 1
- Ring1.TopSurface = 0
- Ring1.BottomSurface = 0
- local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
- Ring1Mesh.MeshType = "Brick"
- Ring1Mesh.Name = "SizeMesh"
- Ring1Mesh.Scale = Vector3.new(0, 1, 0)
- local InnerRing1 = Ring1:Clone()
- InnerRing1.Parent = char
- InnerRing1.Transparency = 0
- InnerRing1.BrickColor = BrickColor.new("New Yeller")
- InnerRing1.Size = Vector3.new(1, 1, 1)
- local InnerRing1Mesh = InnerRing1.SizeMesh
- InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
- InnerRing1Mesh.MeshType = "Sphere"
- Ring1:Destroy()
- for i = 0, 6, 0.1 do
- swait()
- --orb.CFrame = Pupil.CFrame
- Aura(7, 0.12, "Add", Handle.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere")
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-25)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1)
- end
- InnerRing1.Transparency = 1
- InnerRing1.CFrame = Handle.CFrame + root.CFrame.lookVector * 5
- Cso("294188875", char, 2.3, 1)
- local a = IT("Part", char)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = BrickC("Pastel violet")
- a.Material = "SmoothPlastic"
- a.Transparency = 0
- a.Shape = "Cylinder"
- a.CanCollide = false
- local a2 = IT("Part", char)
- a2.Name = "Direction"
- a2.Anchored = true
- a2.BrickColor = maincolor
- a2.Color = maincolor.Color
- a2.Material = "Neon"
- a2.Transparency = 0.7
- a2.Shape = "Cylinder"
- a2.CanCollide = false
- local ba = IT("Part", char)
- ba.Name = "HitDirect"
- ba.Anchored = true
- ba.BrickColor = maincolor
- ba.Material = "Neon"
- ba.Transparency = 1
- ba.CanCollide = false
- local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
- local ignore = char
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- a2.BottomSurface = 10
- a2.TopSurface = 10
- local distance = (InnerRing1.CFrame.p - position).magnitude
- a.Size = Vector3.new(distance, 1, 1)
- a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- a2.Size = Vector3.new(distance, 1, 1)
- a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
- a.CFrame = a.CFrame * angles(0, Rad(90), 0)
- a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
- game:GetService("Debris"):AddItem(a, 20)
- game:GetService("Debris"):AddItem(a2, 20)
- game:GetService("Debris"):AddItem(ba, 20)
- local msh = Instance.new("SpecialMesh", a)
- msh.MeshType = "Brick"
- msh.Scale = Vector3.new(1, 5, 5)
- local msh2 = Instance.new("SpecialMesh", a2)
- msh2.MeshType = "Brick"
- msh2.Scale = Vector3.new(1, 7, 7)
- for i = 0, 10, 0.1 do
- swait()
- CameraEnshaking(1, 5)
- a2.Color = maincolor.Color
- root.CFrame = FaceMouse()[1]
- InnerRing1.CFrame = Handle.CFrame + root.CFrame.lookVector * 4
- ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
- hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- distance = (InnerRing1.CFrame.p - position).magnitude
- a.Size = Vector3.new(distance, 1, 1)
- a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- a2.Size = Vector3.new(distance, 1, 1)
- a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
- a.CFrame = a.CFrame * angles(0, Rad(90), 0)
- a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
- msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05)
- msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03)
- Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
- for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
- if v:FindFirstChild("Head") then
- Eviscerate(v)
- end
- end
- end
- a:Destroy()
- a2:Destroy()
- ba:Destroy()
- InnerRing1:Destroy()
- attack = false
- hum.WalkSpeed = 10
- hum.CameraOffset = Vector3.new(0,0,0)
- end
- function IDK()
- attack = true
- hum.WalkSpeed = 0
- local Blobby = IT("Part", char)
- Blobby.Name = "Blob"
- Blobby.CanCollide = false
- Blobby.BrickColor = BrickC("Really black")
- Blobby.Transparency = 0
- Blobby.Material = "Plastic"
- Blobby.Size = Vector3.new(1, 1, 2)
- Blobby.TopSurface = Enum.SurfaceType.Smooth
- Blobby.BottomSurface = Enum.SurfaceType.Smooth
- local Weld = IT("Weld", Blobby)
- Weld.Part0 = hed
- Weld.Part1 = Blobby
- Weld.C1 = CF(0, -17.6, 1.4)
- Weld.C0 = angles(Rad(0),0,0)
- local M2 = IT("SpecialMesh")
- M2.Parent = Blobby
- M2.MeshId = "http://www.roblox.com/asset/?id=0"
- M2.TextureId = "http://www.roblox.com/asset/?id=0"
- M2.Scale = Vector3.new(45.65, 45.65, 45.65)
- for i = 0, 6, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
- end
- Magic(1, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
- Magic(5, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
- Magic(10, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
- for i, v in pairs(FindNearestHead(root.CFrame.p, 25.5)) do
- if v:FindFirstChild("Head") then
- Eviscerate(v)
- end
- end
- CameraEnshaking(4, 25)
- for i = 0, 6, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
- end
- Blobby:Destroy()
- attack = false
- hum.WalkSpeed = 10
- end
- function shootyboi()
- attack = true
- hum.WalkSpeed = 0
- for i = 0,65 do
- for i = 0,0.1,0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(0)), 0.3)
- end
- Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
- Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
- CreateSound("249050335", char, 1, .5)
- 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,})
- --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7)
- ref1.Position = mouse.hit.p
- ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
- coroutine.wrap(function()
- for i,v in next, workspace:children() do
- local selected = v:FindFirstChild"HumanoidRootPart" or v:FindFirstChild"Torso" or v:FindFirstChild"UpperTorso"
- if v ~= char and selected and (ref1.CFrame.p - selected.CFrame.p).magnitude < 3 then
- local hum = v:FindFirstChildOfClass"Humanoid"
- if hum and hum.Health > 0 then
- coroutine.wrap(function() dmg(v) end)()
- end
- end
- end
- end)()
- local dist = (Cylinder1.CFrame.p - ref1.CFrame.p).magnitude
- 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)}
- delay(0, function()
- ray1.Anchored = true;
- for i = 0.25, 1, .1 do
- ray1.Transparency = i
- wait()
- end
- ray1:destroy()
- end)
- for i = 0,0.1,0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(115), math.rad(0), math.rad(0)), 0.3)
- end
- end
- attack = false
- hum.WalkSpeed = 8
- end
- function smileforme()
- attack = true
- hum.WalkSpeed = 0
- for i = 1,55 do
- for i = 0,0.1,0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
- end
- Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
- Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
- CreateSound("249050335", char, 1, .5)
- for i = 0,0.1,0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
- end
- end
- 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,})
- wait(.4)
- attack = false
- hum.WalkSpeed = 8
- for i = 1, 65 do
- wait(.1)
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", char, 1.5, .7)
- ref1.Position = mouse.hit.p
- ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
- mdmg(ref1, 10)
- Effects.Cylinder.Create(BrickColor.new("Dark orange"), ref1.CFrame, .5, 9999, .5, .7, 0, .7, 0.05)
- Effects.Sphere.Create(BrickColor.new("Dark orange"), ref1.CFrame, 1, 1, 1, .7, .7, .7, 0.05)
- --Effects.Break.Create(BrickColor.new("Dark orange"), ref1.CFrame, .5, 9999, .5, 3.7, 3.7, 3.7, 0.07)
- end
- ref1:Remove()
- end
- --
- ShadowHead = New("Part",char,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
- 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),})
- -------------------------------------------------------
- --End Attacks N Stuff--
- -------------------------------------------------------
- MoreTaunts = false
- mouse.KeyDown:connect(function(key)
- if attack == false then
- if key == 'y' then
- Hello()
- end
- if key == 'z' then
- Astigmatism()
- end
- if key == 'c' then
- smileforme()
- end
- if key == 'u' then
- Call_Upon_The_Eyes()
- end
- if key == 'x' then
- shootyboi()()
- end
- if key == 'v' then
- Painful_Stomp()
- end
- if key == 'f' then
- Blast_Of_God()
- end
- if key == 'r' then
- Slam()
- end
- if string.byte(key) == 48 then
- Swing = 2
- hum.WalkSpeed = 38.82
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- if string.byte(key) == 48 then
- Swing = 1
- hum.WalkSpeed = 8
- end
- end)
- -------------------------------------------------------
- --Start Animations--
- -------------------------------------------------------
- while true do
- swait()
- sine = sine + change
- local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velderp = root.Velocity.y
- hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
- if equipped == true or equipped == false then
- if attack == false then
- idle = idle + 1
- else
- idle = 0
- end
- tecks2.TextStrokeColor3 = Color3.new(r / 255, g / 255, b / 255)
- if 1 < root.Velocity.y and hitfloor == nil then
- Anim = "Jump"
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
- neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif -1 > root.Velocity.y and hitfloor == nil then
- Anim = "Fall"
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
- neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif torvel < 1 and hitfloor ~= nil then
- Anim = "Idle"
- change = .5
- if attack == false then
- if Mrandom(1,15) == 1 then
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
- end
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
- end
- elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
- Anim = "Walk"
- change = .9
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(-.6) - ra.RotVelocity.Y / 75), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(.6) + la.RotVelocity.Y / 75), 0.1)
- end
- elseif torvel >= 25 and hitfloor ~= nil then
- Anim = "Sprint"
- change = 1.35
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
- end
- end
- end
- Music.SoundId = "rbxassetid://"..SONG
- Music.Looped = true
- Music.Pitch = 1
- Music.Volume = 5
- Music.Parent = tors
- Music:Resume()
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if 1 >= Thing[1].Transparency then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block3" then
- 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)
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- local Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- -------------------------------------------------------
- --End Animations And Script--
- -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement