Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --dasdasdasdreqw3e412312rasdf--
- --71023gggggs236021305023asdgh89aGYASDG--
- --9a1231231235asfdzxvct9wqeutgqwerignjasdig--
- --[[Credits to Ace_Alteriano for his Template]]--
- --[[By When_kun]]--
- --[[The model took time to make but it was worth it.]]--
- --[[x is cringey]]--
- wait(1 / 60)
- Effects = { }
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local mouse, Mouse = Player:GetMouse(), Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local attacktype = 1
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local Create = LoadLibrary("RbxUtility").Create
- renderstepped = game:GetService('RunService').RenderStepped
- userinput = game:GetService('UserInputService')
- mainmodel = Instance.new('Model',Character)
- mainchord = 5
- local m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel",
- }
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- children = mainmodel:GetChildren()
- my = 0
- function rot()
- for i,v in pairs(children) do
- -- v.Size = Vector3.new(mainchord/5,mainchord/5,mainchord/5)
- v.CFrame = v.CFrame*CFrame.Angles(math.rad(1),math.rad(1),math.rad(2))
- end
- end
- function rotA()
- while renderstepped:wait() do
- spawn(rot)
- my = my + 1.5
- if my > 360 then
- my = 0
- end
- end
- end
- spawn(rotA)
- function lerp(dist,inc)
- for i = 0,10 do
- renderstepped:wait()
- for x,v in pairs(children) do
- --lookvector
- --( centerPoint.Y + distance * Math.Sin( angle ) )
- --diff rot is 90
- v.Size = v.Size + Vector3.new(.1/(dist/math.abs(dist)),.1/(dist/math.abs(dist)),.1/(dist/math.abs(dist)))
- v.Transparency = v.Transparency - .1/(dist/math.abs(dist))
- v.CFrame = CFrame.new(v.Position)*CFrame.Angles(0,math.rad(90*x+my),0)*CFrame.new(dist/10,0,0)
- end
- end
- end
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- local co1 = 15
- local co2 = 8
- local co3 = 20
- local co5 = 30
- local co4 = 32
- local cooldown1 = 5
- local cooldown2 = 7
- local cooldown3 = 3
- local cooldown4 = 2
- local cooldown5 = 0
- local skillcolorscheme = BrickColor.new("White").Color
- local scrn = Instance.new("ScreenGui", Player.PlayerGui)
- makeframe = function(par, trans, pos, size, color)
- local frame = Instance.new("Frame", par)
- frame.BackgroundTransparency = trans
- frame.BorderSizePixel = 0
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- return frame
- end
- makelabel = function(par, text)
- local label = Instance.new("TextLabel", par)
- label.BackgroundTransparency = 1
- label.Size = UDim2.new(1, 0, 1, 0)
- label.Position = UDim2.new(0, 0, 0, 0)
- label.TextColor3 = Color3.new(255, 250, 190)
- label.TextStrokeTransparency = 0
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.SourceSansLight
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- end
- framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- text1 = Instance.new("TextLabel", framesk1)
- text1.BackgroundTransparency = 1
- text1.Size = UDim2.new(1, 0, 1, 0)
- text1.Position = UDim2.new(0, 0, 0, 0)
- text1.TextColor3 = Color3.new(255, 250, 190)
- text1.TextStrokeTransparency = 0
- text1.FontSize = Enum.FontSize.Size18
- text1.Font = Enum.Font.SourceSansLight
- text1.BorderSizePixel = 0
- text1.TextScaled = true
- text1.Text = "[Z]\n Persona Reference ok"
- text2 = Instance.new("TextLabel", framesk2)
- text2.BackgroundTransparency = 1
- text2.Size = UDim2.new(1, 0, 1, 0)
- text2.Position = UDim2.new(0, 0, 0, 0)
- text2.TextColor3 = Color3.new(255, 250, 190)
- text2.TextStrokeTransparency = 0
- text2.FontSize = Enum.FontSize.Size18
- text2.Font = Enum.Font.SourceSansLight
- text2.BorderSizePixel = 0
- text2.TextScaled = true
- text2.Text = "[X]\n DAB ON EM HATERS"
- text3 = Instance.new("TextLabel", framesk3)
- text3.BackgroundTransparency = 1
- text3.Size = UDim2.new(1, 0, 1, 0)
- text3.Position = UDim2.new(0, 0, 0, 0)
- text3.TextColor3 = Color3.new(255, 250, 190)
- text3.TextStrokeTransparency = 0
- text3.FontSize = Enum.FontSize.Size18
- text3.Font = Enum.Font.SourceSansLight
- text3.BorderSizePixel = 0
- text3.TextScaled = false
- text3.Text = "[C]\n Slide"
- text4 = Instance.new("TextLabel", framesk4)
- text4.BackgroundTransparency = 1
- text4.Size = UDim2.new(1, 0, 1, 0)
- text4.Position = UDim2.new(0, 0, 0, 0)
- text4.TextColor3 = Color3.new(255, 250, 190)
- text4.TextStrokeTransparency = 0
- text4.FontSize = Enum.FontSize.Size18
- text4.Font = Enum.Font.SourceSansLight
- text4.BorderSizePixel = 0
- text4.TextScaled = true
- text4.Text = "[V]\n slap"
- ArtificialHB = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- 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)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- 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;
- };
- 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 Sound = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = "rbxassetid://" .. id,
- Parent = par or workspace,
- }
- Sound:play()
- game:GetService("Debris"):AddItem(Sound, 10)
- end))
- end;
- };
- Decal = {
- Create = function(Color, Texture, Transparency, Name, Parent)
- local Decal = Create("Decal"){
- Color3 = Color,
- Texture = "rbxassetid://" .. Texture,
- Transparency = Transparency,
- Name = Name,
- Parent = Parent,
- }
- return Decal
- end;
- };
- BillboardGui = {
- Create = function(Parent, Image, Position, Size)
- local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
- BillPar.CFrame = CFrame.new(Position)
- local Bill = Create("BillboardGui"){
- Parent = BillPar,
- Adornee = BillPar,
- Size = UDim2.new(1, 0, 1, 0),
- SizeOffset = Vector2.new(Size, Size),
- }
- local d = Create("ImageLabel", Bill){
- Parent = Bill,
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Image = "rbxassetid://" .. Image,
- }
- return BillPar
- 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 Particle = 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 Particle
- end;
- };
- CreateTemplate = {
- };
- }
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function FindNearestTorso(pos)
- local list = (game.Workspace:children())
- local torso = nil
- local dist = 1000
- local temp, human, temp2 = nil, nil, nil
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
- local dohit = true
- if dohit == true then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso, dist
- 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
- Revolver = New("Model",Character,"Revolver",{})
- Handle = New("Part",Revolver,"Handle",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147318),CFrame = CFrame.new(-38.3728828, 3.70457292, 25.9037609, -0.0267938077, 0.00274490844, -0.999638677, -0.778030157, -0.62793833, 0.0191296302, -0.627656579, 0.778258383, 0.0189604424),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.105882, 0.164706, 0.207843),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-38.362484, 3.83855653, 26.3172855, 0.999638855, -0.0240355674, -0.0121608162, -0.0191355199, -0.951385379, 0.307414979, -0.0189584699, -0.307070196, -0.951497018),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637246, -0.019135505, -0.0189584643, -0.0240355078, -0.951383531, -0.307070255, -0.012160819, 0.307414532, -0.951497853),C1 = CFrame.new(-0.3640728, 0.237724304, 7.62939453e-06, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201684, 0.523788631),CFrame = CFrame.new(-38.358242, 3.88810968, 26.5481853, 0.999638915, 0.0191061404, 0.0189892221, -0.0191405267, 0.99981761, 0.00163295248, -0.0189545136, -0.00199547224, 0.999817371),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.54766655, 0.386320114, 0.00109481812, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.318014473, 0.0500000007),CFrame = CFrame.new(-38.35009, 4.07556772, 26.7909775, 0.999639273, 0.0191061497, 0.0189892203, -0.0191405285, 0.999818027, 0.00163298217, -0.0189545136, -0.00199544244, 0.999817133),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.748272181),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.846122742, 0.457586288, 0.00113296509, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3649025, 3.73728037, 26.2916756, 0.999639153, 0.0123028848, 0.0239647776, -0.0191405062, 0.950381041, 0.31050685, -0.0189554915, -0.310851365, 0.950268209),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637187, -0.0191404838, -0.0189554859, 0.012302829, 0.950378895, -0.310851872, 0.0239647459, 0.310505927, 0.950269282),C1 = CFrame.new(-0.269138336, 0.281381607, 3.81469727e-06, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.112240277, 0.467668325),CFrame = CFrame.new(-38.3500748, 4.29035711, 26.5754204, 0.999639273, 0.0191061497, 0.0189892203, -0.0191405285, 0.999818027, 0.00163298217, -0.0189545136, -0.00199544244, 0.999817133),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.877939224, 0.154953003, 0.00114059448, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3610039, 3.80826855, 26.4241943, 0.999639332, 0.00149332604, 0.0268912073, -0.0191375222, 0.741928697, 0.670209289, -0.0189504661, -0.670477986, 0.741685748),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.407649994, 0.339950562, -2.28881836e-05, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3620377, 3.78318405, 26.3964386, 0.999639332, 0.00149332604, 0.0268912073, -0.0191375222, 0.741928697, 0.670209289, -0.0189504661, -0.670477986, 0.741685748),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.370685577, 0.334098816, 3.81469727e-06, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.0945501924, 0.0696684495, 0.179147348),CFrame = CFrame.new(-38.3761673, 3.52345395, 25.9137459, -0.0267938264, 0.00274489797, -0.999639273, -0.778030872, -0.627938807, 0.0191296358, -0.62765646, 0.778258145, 0.0189604443),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),C1 = CFrame.new(0.134737015, 0.121492386, 7.62939453e-06, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.393857986, 0.312856048, 0.179147348),CFrame = CFrame.new(-38.3805237, 3.48336768, 25.7251568, -0.0267938264, 0.00274489797, -0.999639273, -0.778030872, -0.627938807, 0.0191296358, -0.62765646, 0.778258145, 0.0189604443),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),C1 = CFrame.new(0.284410477, -0.000118255615, 1.90734863e-05, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.390549749, 0.324007213, 0.305300444),CFrame = CFrame.new(-38.3595772, 4.07825518, 26.5373688, -0.0189993083, 0.0190935526, 0.999639571, -0.00162295077, 0.999818623, -0.0191277508, -0.999817073, -0.00198539486, -0.0189648122),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),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.688779831, 0.258499146, 0.005859375, -0.026793791, -0.77802968, -0.627656937, 0.00274491566, -0.627937913, 0.778258801, -0.999637961, 0.0191296227, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.368103, 3.84367514, 26.0160179, -0.0267938599, 0.00274484348, -0.999639988, -0.778030753, -0.62793988, 0.0191296656, -0.627656996, 0.77825743, 0.0189604368),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0267937854, -0.778028429, -0.627657712, 0.00274487957, -0.627938151, 0.778258562, -0.999637365, 0.0191296414, 0.0189604294),C1 = CFrame.new(-0.178812027, 3.05175781e-05, 1.14440918e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.2891121, 4.1708045, 26.704916, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.867835999, 0.330972672, -0.0596313477, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.4236259, 3.98625422, 26.7077866, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.722448349, 0.448722839, 0.0713577271, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.4592514, 4.08050108, 26.7083035, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.795145035, 0.389846802, 0.108783722, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.4200134, 4.17331219, 26.7074127, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.867847443, 0.330982208, 0.0713195801, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.130947024, 0.130947366),CFrame = CFrame.new(-38.3551369, 4.17849255, 26.2829323, 0.0443816409, 0.0274274386, -0.998640835, -0.305555671, 0.952094495, 0.0125694564, 0.951138258, 0.304580629, 0.0506358296),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0443815626, -0.305554956, 0.95113951, 0.0274273418, 0.952091634, 0.304580897, -0.998638272, 0.012569447, 0.0506358668),C1 = CFrame.new(-0.607187271, -0.00244903564, -0.00148391724, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0935342535, 0.0500000007, 0.130947366),CFrame = CFrame.new(-38.3680191, 4.2568469, 26.0246201, 0.0517081767, 0.00700577348, -0.998640478, 0.108116172, 0.994061887, 0.0125716822, 0.992791355, -0.108618066, 0.0506433994),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.051708065, 0.108115688, 0.992792606, 0.00700571574, 0.994058967, -0.108618438, -0.998637855, 0.0125716729, 0.0506434292),C1 = CFrame.new(-0.505672455, -0.252719879, 0.00799560547, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0935342535, 0.0500000007, 0.130947366),CFrame = CFrame.new(-38.365242, 4.2511735, 26.0803947, 0.0491153523, 0.0176038202, -0.998640776, -0.100927047, 0.994817436, 0.0125725428, 0.993679285, 0.100171953, 0.0506372154),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0491152555, -0.100926913, 0.993680656, 0.0176037438, 0.994814515, 0.100171924, -0.998638153, 0.0125725307, 0.0506372526),C1 = CFrame.new(-0.536340714, -0.205741882, 0.00616836548, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.130947158),CFrame = CFrame.new(-38.3627815, 4.09111834, 26.1063156, 0.999639869, 0.0170166213, 0.0208822936, -0.0191405229, 0.994171083, 0.106131464, -0.0189544987, -0.106491901, 0.994131565),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191404987, -0.0189544931, 0.0170165412, 0.994168162, -0.106492177, 0.0208822638, 0.106130987, 0.994132876),C1 = CFrame.new(-0.42814827, -0.0850582123, 0.00113677979, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.130947158),CFrame = CFrame.new(-38.3591576, 4.14161539, 26.2474594, 0.999639928, 0.00149333652, 0.0268912259, -0.0191375241, 0.741929173, 0.670209706, -0.0189504642, -0.670477867, 0.741685629),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.556123734, -0.0069103241, 0.00115585327, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3568039, 4.20870543, 26.3017883, 0.999639928, -0.00957353693, 0.0251729488, -0.0191365071, 0.405198783, 0.914031863, -0.0189504921, -0.914177597, 0.404867083),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019136481, -0.0189504847, -0.00957354996, 0.40519774, -0.914178908, 0.0251728632, 0.914029002, 0.40486744),C1 = CFrame.new(-0.642484665, -0.00675010681, 0.0011177063, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3635483, 3.75471187, 26.3450241, 0.99963975, 0.0123029007, 0.0239647925, -0.019140508, 0.950381637, 0.310507029, -0.0189554933, -0.310851365, 0.95026803),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637187, -0.0191404838, -0.0189554859, 0.012302829, 0.950378895, -0.310851872, 0.0239647459, 0.310505927, 0.950269282),C1 = CFrame.new(-0.316221237, 0.311958313, -3.81469727e-06, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.359478, 3.85654569, 26.4577274, 0.999639928, -0.00957353693, 0.0251729488, -0.0191365071, 0.405198783, 0.914031863, -0.0189504921, -0.914177597, 0.404867083),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019136481, -0.0189504847, -0.00957354996, 0.40519774, -0.914178908, 0.0251728632, 0.914029002, 0.40486744),C1 = CFrame.new(-0.466299057, 0.335737228, 1.14440918e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3615456, 3.79572582, 26.4103088, 0.999639928, 0.00149333652, 0.0268912259, -0.0191375241, 0.741929173, 0.670209706, -0.0189504642, -0.670477867, 0.741685629),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.389162064, 0.337018967, 1.52587891e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.130947158),CFrame = CFrame.new(-38.3547707, 4.29184151, 26.3247204, 0.999639928, -0.0179588627, 0.0200701095, -0.0191365071, 0.0507248156, 0.998532534, -0.0189504921, -0.998549879, 0.0503627956),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019136481, -0.0189504847, -0.0179588459, 0.0507248193, -0.99855119, 0.0200700238, 0.998529553, 0.0503627472),C1 = CFrame.new(-0.721614838, -0.0411014557, 0.0011100769, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.360939, 4.10686398, 26.1891041, 0.99963975, 0.0123029007, 0.0239647925, -0.019140508, 0.950381637, 0.310507029, -0.0189554933, -0.310851365, 0.95026803),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637187, -0.0191404838, -0.0189554859, 0.012302829, 0.950378895, -0.310851872, 0.0239647459, 0.310505927, 0.950269282),C1 = CFrame.new(-0.49241066, -0.0305099487, 0.00116729736, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.3670616, 3.78774142, 26.1283646, -0.0190952383, 0.0189964436, -0.999639988, -0.999818921, 0.00162947504, 0.0191295464, 0.0019919856, 0.999816895, 0.0189618152),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0190951545, -0.999815941, 0.00199208409, 0.0189964212, 0.00162928551, 0.999818146, -0.999637365, 0.0191295221, 0.0189618096),C1 = CFrame.new(-0.20583725, 0.122591019, 3.05175781e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.3809319, 3.43171239, 25.7549477, -0.0190952383, 0.0189964436, -0.999639988, -0.999818921, 0.00162947504, 0.0191295464, 0.0019919856, 0.999816895, 0.0189618152),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0190951545, -0.999815941, 0.00199208409, 0.0189964212, 0.00162928551, 0.999818146, -0.999637365, 0.0191295221, 0.0189618096),C1 = CFrame.new(0.305912018, 0.0555019379, 3.81469727e-06, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.3741188, 3.63771868, 25.904192, -0.0190952383, 0.0189964436, -0.999639988, -0.999818921, 0.00162947504, 0.0191295464, 0.0019919856, 0.999816895, 0.0189618152),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0190951545, -0.999815941, 0.00199208409, 0.0189964212, 0.00162928551, 0.999818146, -0.999637365, 0.0191295221, 0.0189618096),C1 = CFrame.new(0.051776886, 0.0423126221, -3.43322754e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.275442541, 0.179147348),CFrame = CFrame.new(-38.3673401, 3.93712115, 25.9597282, -0.018991746, -0.0190976169, -0.999639869, -0.00159495184, -0.999818861, 0.0191312619, -0.999817133, 0.00195741793, 0.0189577676),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189917199, -0.00159476697, -0.999818385, -0.0190975331, -0.999815822, 0.00195753202, -0.999637306, 0.0191312376, 0.018957762),C1 = CFrame.new(-0.216205597, -0.102453232, -3.05175781e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.130947024, 0.130947366),CFrame = CFrame.new(-38.3258743, 4.31370211, 27.823822, 0.999639869, 0.0123032499, 0.0239638593, -0.0191405416, 0.950381875, 0.310506582, -0.018954508, -0.310850888, 0.950268328),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.0666667, 0.0666667, 0.0666667),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191405173, -0.0189545024, 0.0123031754, 0.950379074, -0.310851455, 0.0239638127, 0.310505509, 0.950269461),C1 = CFrame.new(-1.68031883, 1.11194038, 0.00106430054, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.0500000007, 0.130947366),CFrame = CFrame.new(-38.3609924, 4.22642231, 26.1701736, 0.0443816409, 0.0274274386, -0.998640835, -0.305555671, 0.952094495, 0.0125694564, 0.951138258, 0.304580629, 0.0506358296),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0443815626, -0.305554956, 0.95113951, 0.0274273418, 0.952091634, 0.304580897, -0.998638272, 0.012569447, 0.0506358668),C1 = CFrame.new(-0.573547363, -0.120317459, 0.00314712524, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.224480718, 1.08499062),CFrame = CFrame.new(-38.3363838, 4.23546743, 27.3518353, 0.999637306, 0.0191060845, 0.0189892054, -0.019140508, 0.999815702, 0.00163278729, -0.0189545061, -0.00199565664, 0.999818206),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.32292366, 0.793710709, 0.00112533569, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.130947024, 0.130947366),CFrame = CFrame.new(-38.3523636, 4.34570503, 26.3805065, -0.00542384386, 0.0113785323, -0.999923527, -0.304601461, 0.952401936, 0.0124899168, 0.95246321, 0.304643661, -0.00169967301),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00542378426, -0.304600567, 0.952464759, 0.0113784745, 0.952398598, 0.304644048, -0.999920666, 0.0124899149, -0.00169971026),C1 = CFrame.new(-0.798601151, -0.03150177, 0.000793457031, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201051, 0.093533583),CFrame = CFrame.new(-38.3584099, 4.13089132, 26.2951355, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.577724457, 0.0369300842, 0.0011100769, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0935335755, 0.0500000007),CFrame = CFrame.new(-38.3564758, 4.20576382, 26.3230495, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.748267591),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.653549194, 0.0116443634, 0.00113677979, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.243187517, 0.243187711),CFrame = CFrame.new(-38.3637924, 3.98103428, 26.1644993, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.378992081, 0.0293464661, 0.00114440918, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.2534904, 4.07655191, 26.7043953, -0.0189993102, 0.0190935712, 0.999640286, -0.00162292074, 0.999819279, -0.0191277582, -0.999816477, -0.0019854249, -0.0189648084),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.795133591, 0.389850616, -0.0970535278, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.2926674, 3.98374462, 26.705307, -0.0189993102, 0.0190935712, 0.999640286, -0.00162292074, 0.999819279, -0.0191277582, -0.999816477, -0.0019854249, -0.0189648084),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.105882, 0.164706, 0.207843),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.722448349, 0.448728561, -0.0596466064, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.0748268217, 0.130947158),CFrame = CFrame.new(-38.3472214, 4.17853594, 26.8375359, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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.0666667, 0.0666667, 0.0666667),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.955533981, 0.429170609, 0.0011177063, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.558910429, 0.0621129386, 0.0500000007),CFrame = CFrame.new(-38.3611488, 4.07811308, 26.4538155, -0.0189993102, 0.0190935712, 0.999640286, -0.00162292074, 0.999819279, -0.0191277582, -0.999816477, -0.0019854249, -0.0189648084),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,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.868122339),MeshType = Enum.MeshType.Cylinder,})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.636184692, 0.193557739, 0.00584411621, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-38.3621101, 3.82861376, 26.3480301, 0.999640226, -0.0218390953, -0.0157698654, -0.0191375352, -0.987764359, 0.154798254, -0.0189574938, -0.154439881, -0.987818539),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191375054, -0.0189574864, -0.0218389966, -0.987760961, -0.154439867, -0.0157698598, 0.154797867, -0.987820148),C1 = CFrame.new(-0.375644684, 0.267896652, 2.67028809e-05, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-38.3626404, 3.85922289, 26.2887363, 0.999640226, -0.0266199727, -0.00413384894, -0.0191405304, -0.809829473, 0.586359143, -0.0189565029, -0.586064339, -0.810040593),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637246, -0.0191404987, -0.0189564954, -0.0266198851, -0.809826612, -0.586065173, -0.00413388759, 0.586357296, -0.810042024),C1 = CFrame.new(-0.362228394, 0.202528, 1.90734863e-05, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Wedge = New("WedgePart",Revolver,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.187067494, 0.0500000007, 0.168360502),CFrame = CFrame.new(-38.3605042, 4.09345627, 25.9539185, 0.999640286, 0.0191050563, 0.0189823508, -0.0191395301, 0.9998191, 0.00164000038, -0.0189475045, -0.00200233795, 0.999816775),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.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.748268664, 1),MeshType = Enum.MeshType.Wedge,})
- mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191395003, -0.018947497, 0.0191049613, 0.999815702, -0.0020025298, 0.0189823266, 0.00163980573, 0.999818385),C1 = CFrame.new(-0.334375381, -0.205123901, -0.00398254395, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Shootpart = New("Part",Revolver,"Shootpart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.18706724, 0.29930833),CFrame = CFrame.new(-38.3281364, 4.23616076, 27.7820606, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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.0666667, 0.0666667, 0.0666667),})
- mot = New("Motor",Shootpart,"mot",{Part0 = Shootpart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.59371758, 1.12812424, 0.00105285645, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361187, 0.0500000007, 0.0561201721),CFrame = CFrame.new(-38.3278847, 4.13346672, 27.9038849, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.37413469, 1),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.59029007, 1.28742218, 0.00114440918, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361187, 0.0500000007, 0.0561201721),CFrame = CFrame.new(-38.323967, 4.33924246, 27.9034653, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.37413469, 1),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.75023079, 1.15789223, 0.00115966797, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0500000007, 0.224480838, 0.0561201721),CFrame = CFrame.new(-38.4007149, 4.23778868, 27.9050961, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.374134958, 1, 1),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.67026329, 1.22265625, 0.075969696, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0500000007, 0.224480838, 0.0561201721),CFrame = CFrame.new(-38.2510986, 4.23492861, 27.9022503, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.37413469, 1, 1),})
- mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.67026138, 1.22264862, -0.0737037659, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),})
- moter = New("Motor",Handle,"mot",{Part0 =RightArm, Part1 = Handle,})
- Partasd = Shootpart
- game.ContentProvider:Preload("rbxassetid://642849721")
- game.ContentProvider:Preload("rbxassetid://931130559")
- local hello = Instance.new("Sound")
- hello.SoundId = "rbxassetid://642849721"
- hello.PlaybackSpeed = 1
- hello.Volume = 5.5
- hello.Parent = Head
- hello.Looped = true
- hello:Play()
- local BladeHitSounds = {
- "199149137",
- "199149186",
- "199149221",
- "199149235",
- "199149269",
- "199149297"
- }
- local FistHitSounds = {
- "199149137",
- "199149186",
- "199149221",
- "199149235",
- "199149269",
- "199149297"
- }
- 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 ~= Character.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
- warn'No R15 allowed'
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- if h ~= nil and hit.Parent.Name ~= Character.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
- 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, BrickColor.new("Really black").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, BrickColor.new("Really black").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
- 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 = "SciFi",
- TextColor3 = Color,
- TextScaled = true,
- 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
- function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= Magnitude and c.Name ~= Player.Name then
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
- end
- end
- end
- end
- end
- EffectModel = Create("Model"){
- Parent = Character,
- Name = "Effects",
- }
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- 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
- })
- elseif Type == 3 then
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- msh,
- Part
- })
- elseif Type == 4 then
- table.insert(Effects, {
- prt,
- "Block2Fire",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- Cylinder = {
- 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("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
- },
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- if parent == nil then
- prt.Parent = workspace
- else
- prt.Parent = parent
- end
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", 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
- },
- Blood = {
- 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", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Blood",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Head = {
- 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, "Head", "nil", 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
- },
- Fire = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Fire",
- delay,
- 1,
- 1,
- 1,
- msh
- })
- end;
- };
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, par)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- if par ~= nil then
- prt.Parent = par
- end
- prt.CFrame = cframe * CFrame.new(x3, y3, z3)
- 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
- },
- Blast = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
- 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://1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Block4",
- delay,
- x3,
- y3,
- z3,
- msh,
- Part
- })
- 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, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Elec = {
- Create = function(cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Medium blue"), "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 10)
- local xval = math.random() / 9
- local yval = math.random() / 9
- local zval = math.random() / 9
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- local eul1 = math.random(-50, 50)
- local eul2 = math.random(-50, 50)
- local eul3 = math.random(-50, 50)
- local euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
- local euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
- Effects[#Effects + 1] = {
- prt,
- "Elec",
- .05,
- x,
- y,
- z,
- xval,
- yval,
- zval,
- msh,
- euld,
- euld2
- }
- end
- },
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 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;
- };
- Ice = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- for i = 1, 5 do
- Effects.Break.Create(BrickColor.new("White"), Torso.CFrame, 10, 1, 2.6)
- end
- for i = 1, 15 do
- local freezepart = CFuncs.Part.Create(EffectModel, "Neon", 1, 1, BrickColor.new("Bright blue"), "Ice Part", Vector3.new(math.random(1, 2) + math.random(), math.random(1, 2) + math.random(), math.random(1, 2) + math.random()))
- freezepart.Anchored = true
- freezepart.CanCollide = true
- freezepart.CFrame = cframe * CFrame.new(math.random(-300, 300) / 100, 4, math.random(-300, 300) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- game:GetService("Debris"):AddItem(freezepart, 10)
- end
- table.insert(Effects, {
- prt,
- "Ice",
- delay,
- msh,
- 1,
- .2
- })
- end
- },
- Lightning = {
- Create = function(p0, p1, tym, ofs, col, th, tra, last)
- local magz = (p0 - p1).magnitude
- local curpos = p0
- local trz = {
- -ofs,
- ofs
- }
- for i = 1, tym do
- local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
- local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
- li.Material = "Neon"
- if tym == i then
- local magz2 = (curpos - p1).magnitude
- li.Size = Vector3.new(th, th, magz2)
- li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- else
- do
- do
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
- curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
- game.Debris:AddItem(li, 10)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- end
- end
- end
- end
- end
- };
- EffectTemplate = {
- };
- }
- function Shoot7(Part)
- sp = Part.Position
- dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
- local hit, pos = rayCast(sp, dirr.lookVector, 1000, Character)
- local las = Instance.new("Part", Character)
- las.Anchored = true
- las.Locked = true
- las.CanCollide = false
- las.TopSurface = 0
- las.BottomSurface = 0
- las.BrickColor = BrickColor.new("White")
- las.Size = Vector3.new(10, 1, 10)
- las.CFrame = CFrame.new((Part.Position + pos) / 2, pos) * CFrame.Angles(math.rad(90), 0, 0)
- local msh = Instance.new("SpecialMesh", las)
- mag = (Part.Position - pos).magnitude
- msh.Scale = Vector3.new(0.001, mag, 0.001)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 0.8, 0.1 do
- swait()
- Part.Transparency = Part.Transparency + 0.1
- Mesh.Scale = Mesh.Scale + Vector3.new(1, 0.02, 1)
- end
- Part.Parent = nil
- end), las, msh)
- if pos ~= nil then
- local las2 = Instance.new("Part", Character)
- las2.Anchored = true
- las2.Locked = true
- las2.CanCollide = false
- las2.TopSurface = 0
- las2.BottomSurface = 0
- las2.Transparency = 1
- las2.BrickColor = BrickColor.new("White")
- las2.Size = Vector3.new(1, 1, 1)
- las2.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(90), 0, 0)
- local msh = Instance.new("SpecialMesh", las2)
- msh.MeshType = "Sphere"
- mag = (Part.Position - pos).magnitude
- msh.Scale = Vector3.new(0.1, 0.1, 0.1)
- Effects.Ring.Create(BrickColor.new("White"), las2.CFrame * CFrame.Angles(math.random(-4,4),math.random(-4,4),math.random(-4,4)), 25, 25, 2, 15, 15, 7, 0.07)
- Effects.Sphere.Create(BrickColor.new("White"), las2.CFrame, 12, 12, 12, 80, 80, 80, 0.07)
- MagnitudeDamage(las2, 40, 20, 20, 1, "Snare", "0", 1)
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=228343252", las2, 1.2, 0.7)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 0.8, 0.1 do
- swait()
- Part.Transparency = Part.Transparency + 1
- Mesh.Scale = Mesh.Scale + Vector3.new(0, 0, 0)
- end
- Part.Parent = nil
- end), las2, msh)
- end
- if hit ~= nil and pos ~= nil then
- if hit.Parent.className == "Accessory" then
- hit:BreakJoints()
- hit.Velocity = Vector3.new(math.random(-5, 5), 20, math.random(-5, 5))
- end
- end
- end
- function attackone()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-6.76445716e-13, 1.49998641, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.50379586, 0.437886596, -0.654326677, 0.999822855, -0.0187563021, -0.00347148441, -0.00348084164, -0.000465080549, -0.999995351, 0.0187545996, 0.99982357, -0.000530224817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.51647484, 0.0492154807, 0.182783186, 0.998442948, 0.0524127446, -0.0190898348, -0.0487618595, 0.98629868, 0.15760535, 0.0270887911, -0.156429097, 0.987318754) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.557841063, -2.01711893, -0.0416967012, 0.99935025, -0.03617635, -0.000444640638, 0.0361750089, 0.999344468, -0.00256539602, 0.000537161017, 0.00254765828, 0.999996126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.55255121, -1.99732482, 2.08271498e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.0731695592, -0.672584653, -0.223004475, 0.0412685275, -0.0151544847, 0.999039233, 0.627405107, -0.777776599, -0.0377153233, 0.777599573, 0.62835741, -0.0225896034) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- shootmain(Mouse, Shootpart,1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootPart.Velocity = RootPart.CFrame.lookVector * -10
- PlayAnimationFromTable({
- CFrame.new(0, -0, 0, 0.994521797, 0.00547062745, -0.104386218, 3.04088061e-08, 0.998630583, 0.0523360781, 0.104529567, -0.0520493761, 0.993159771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0156579614, 1.49789202, -0.0706776828, 0.994521797, -0.00547064235, 0.104386516, 0.00547062745, 0.99998796, 0.000286314636, -0.104386218, 0.000286318362, 0.994539678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.43615687, 0.554609299, -0.6940853, 0.996182859, 0.0835634172, -0.0252404269, -0.00274252123, -0.259045154, -0.96586144, -0.0872491002, 0.962243617, -0.257827133) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.49062657, -0.0179859884, 0.350454509, 0.995804667, 0.0313175321, 0.0859754384, -0.0446428284, 0.986471772, 0.157739788, -0.0798722282, -0.160916194, 0.983731329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.550415456, -2.00912833, -0.205209821, 0.993926883, -0.030214902, 0.10581328, 0.0415640511, 0.993417323, -0.106751151, -0.101891175, 0.110500939, 0.988639593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.54952234, -1.99758744, -0.0468520671, 0.994521797, 9.35956507e-07, 0.104529269, 0.0054697087, 0.998627245, -0.0520490929, -0.104386307, 0.0523356982, 0.993156433) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.0731737167, -0.672586501, -0.223005846, 0.0412693992, -0.0151543571, 0.999034524, 0.627405703, -0.777777851, -0.0377158932, 0.777599216, 0.628356814, -0.022590477) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- attack = false
- end
- function skill1()
- attack = true
- Humanoid.WalkSpeed = 0
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-6.76445716e-13, 1.49998641, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.92435527, 0.919791996, 0.0265611447, -0.0116076013, -0.891222477, 0.453427076, 0.0151377954, -0.453558594, -0.891102493, 0.999818981, -0.00347974291, 0.0187559333) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.57055521, 0.100203805, 0.122959681, 0.994331479, 0.104597613, -0.0190892573, -0.100316271, 0.982395411, 0.15760392, 0.035238184, -0.154795647, 0.987318873) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.557826519, -2.01724768, 0.00830234401, 0.99935025, -0.03617635, -0.000444640638, 0.0361750089, 0.999344468, -0.00256539602, 0.000537161017, 0.00254765828, 0.999996126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.55255121, -1.99732482, 2.08271498e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0230328515, -0.787980795, -0.0187070873, -0.0398879573, -0.0184677243, -0.999042511, -0.257566422, 0.966233969, -0.00757749146, 0.965449393, 0.257022798, -0.0432975888) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- badabing = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "White", "Reference", Vector3.new())
- badabing.Anchored=true
- badabing.CFrame = RootPart.CFrame * CFrame.new(0, 150, 0)
- randomizer = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "White", "groundref", Vector3.new())
- randomizer.Anchored=true
- randomizer.CFrame = RootPart.CFrame * CFrame.new(0, -1, 0)
- CFuncs.Sound.Create("rbxassetid://231917975", Torso, 3, 1)
- for i = 1, 100 do
- swait(.0001)
- randomizer.CFrame = RootPart.CFrame * CFrame.new(math.random(-0, 0), -1.3, math.random(-0, 0))
- Effects.Sphere.Create(BrickColor.new('White'), randomizer.CFrame, 50, 50, 50, 1, 1, 1, .1)
- end
- CFuncs.Sound.Create("rbxassetid://231917833", Torso, 4, 1)
- for i = 0, 1, 0.1 do
- swait()
- hail(badabing, badabing, 10, 1.5)
- Effects.Break.Create(BrickColor.new("Light blue"), Shootpart.CFrame * CFrame.new(0, 0, 0))
- hail(badabing, badabing, 10, 1.5)
- hail(badabing, badabing, 10, 1.5)
- hail(badabing, badabing, 10, 1.5)
- hail(badabing, badabing, 10, 1.5)
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0572109967, 1.54154742, 1.16861089e-12, 0.987688065, -0.156435952, -1.17458057e-11, 0.156436101, 0.987689018, -1.23634436e-12, 1.2693846e-11, -7.67386155e-13, 1.00000095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.86167085, 0.750771523, 0.028392395, -0.0116075892, -0.809319139, 0.587254465, 0.0151378037, -0.587369561, -0.809178472, 0.999818981, -0.000502867741, 0.0190692581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.57055497, 0.100203834, 0.122953884, 0.994331479, 0.104597613, -0.0190892573, -0.100316271, 0.982395411, 0.15760392, 0.035238184, -0.154795647, 0.987318873) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.55781889, -2.01724815, 0.00830043294, 0.99935025, -0.03617635, -0.000444640638, 0.0361750089, 0.999344468, -0.00256539602, 0.000537161017, 0.00254765828, 0.999996126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.55255121, -1.99732471, 2.0827148e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0240847785, -1.15937495, 0.0576619059, -0.0439543091, -0.000644756015, -0.999034703, 0.310074389, 0.950606227, -0.0142557155, 0.949696422, -0.310399175, -0.0415832885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- badabing:Remove()
- randomizer:Remove()
- Humanoid.WalkSpeed = 16
- attack = false
- end
- Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Plastic", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe
- prt.Material = "Plastic"
- prt.BrickColor = BrickColor.new("Cool yellow")
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- hail = function(mouse, partt, SpreadAmount, multiply)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = badabing.Position
- local MainPos2 = randomizer.Position + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 9001
- local num = 70
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=341336307", partt, 1, 1)
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = (MainPos - pos).magnitude
- Laser(BrickColor.new("Cool yellow"), 0.35, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, 0.15)
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Cool yellow", "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- game:GetService("Debris"):AddItem(refpart, 2)
- end
- do
- if num <= 0 then
- local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- Effects.Block.Create(BrickColor.new('Cool yellow'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1)
- if hit ~= nil then
- MagnitudeDamage(refpart, 5, 5 * multiply, 15 * multiply, 0, "Normal", "231917784", 1)
- end
- game:GetService("Debris"):AddItem(refpart, 0)
- end
- end
- until num <= 0
- end
- ))
- end
- function skill2()
- attack = true
- Humanoid.Health = Humanoid.Health + 100
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=165487479", Head, 1, 1)
- for i = 0, 1.05, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.00284654042, -0.0491668843, 0.00863608345, 0.838672996, -0.0569300465, -0.541652262, 0.140960127, 0.983324528, 0.114905387, 0.526078105, -0.172719359, 0.832712352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0145828724, 1.48915434, -0.128683239, 0.838672996, -0.168303922, 0.517978549, -0.0569300465, 0.918754935, 0.390702903, -0.541652262, -0.357160389, 0.760953188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.55723238, 0.65414232, 0.029801771, -0.213925928, -0.975853086, -0.0441304147, 0.148771867, 0.0121005028, -0.988797545, 0.965461969, -0.218095422, 0.142589137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.057764601, 0.722776413, -0.949312329, 0.16808024, -0.98407197, -0.058079645, 0.0720412284, 0.0710230991, -0.994879901, 0.983141303, 0.163027585, 0.0828276128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.414857537, -1.9400022, -0.61491102, 0.997200131, 0.0709253401, -0.0237311423, -0.0736553296, 0.986384571, -0.147044465, 0.0129787624, 0.148380652, 0.988845468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.808947563, -1.86046076, 0.288144022, -0.0925388932, 0.276828229, 0.956453383, -0.236146197, 0.927068114, -0.291170657, -0.967301607, -0.252807379, -0.0204179883) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.0806410164, -0.697505772, -0.186267465, -0.119340986, -0.0858065486, 0.989145815, 0.611814439, -0.790986776, 0.00519710779, 0.781952024, 0.605788291, 0.14689292) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- attack = false
- end
- Shoota = function(orgpos)
- local MouseLook = CFrame.new((orgpos + Mouse.Hit.p) / 2, Mouse.Hit.p)
- Effects.Block.Create(BrickColor.new("Cool yellow"), CFrame.new(orgpos), 30, 30, 30, 6, 6, 6, 0.09)
- Effects.Block.Create(BrickColor.new("Cool yellow"), CFrame.new(orgpos), 32, 32, 32, 7, 7, 7, 0.09)
- table.insert(Effects, {MouseLook.lookVector, "Shoot2", 50, orgpos, 5, 7, 0, 1, 1})
- end
- shootmain = function(Mouse, partt, SpreadAmount, multiply)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = partt.Position
- local MainPos2 = Mouse.Hit.p + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 666
- local num = 20
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=846233576", Shootpart, 1, 1)
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = (MainPos - pos).magnitude
- Laser(BrickColor.new("Cool yellow"), 0.35, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, 0.15)
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- game:GetService("Debris"):AddItem(refpart, 2)
- end
- do
- if num <= 0 then
- local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- Effects.Block.Create(BrickColor.new('Cool yellow'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1)
- if hit ~= nil then
- MagnitudeDamage(refpart, 5, 5 * multiply, 15 * multiply, 0, "Normal", "231917784", 1)
- end
- game:GetService("Debris"):AddItem(refpart, 0)
- end
- end
- until num <= 0
- end
- ))
- end
- function skill3()
- attack = true
- local con = RightLeg.Touched:connect(function(hit)
- Damage(RightLeg, hit, 5, 9, math.random(1, 5), "Normal", RootPart, 3, "rbxassetid://165586617", 1)
- end)
- Humanoid.WalkSpeed = 0
- for i = 0, 5, 0.1 do
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=330640599", Torso, 1, 1)
- swait()
- RootPart.Velocity = RootPart.CFrame.lookVector * 53
- PlayAnimationFromTable({
- CFrame.new(1.71332783e-12, -2.26551628, 0.615328074, 1, 1.85033898e-11, -1.27442328e-12, -4.60431693e-12, 0.156436995, -0.987688959, -1.71667125e-11, 0.987688959, 0.156436995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.50546706, -0.390476882, 1, 0, -0, 0, 0.777146339, 0.629320085, -0, -0.629320085, 0.777146339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.77975953, 0.93702805, 0.253049374, -0.326832205, -0.705536187, 0.628808498, -0.241977498, -0.580698967, -0.777326286, 0.91358, -0.406212986, 0.019066669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.7600888, 1.28007531, 0.206534833, -0.0799038038, 0.386386573, -0.918869376, 0.19666867, -0.897585988, -0.394539028, -0.977208793, -0.212237969, -0.00426960364) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.557647705, -2.01188278, -0.0414109826, 0.999345243, -0.0360278934, 0.00333665079, 0.0361780189, 0.993599296, -0.107014418, 0.000540209468, 0.107065089, 0.994251966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.55255127, -1.53768849, -0.106071234, 1, 0, -0, 0, 0.777147412, 0.629318774, -0, -0.629318774, 0.777147412) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.317896128, -0.787691295, -0.0618839338, 0.509285808, -0.4087767, 0.757320583, -0.240071535, -0.912541389, -0.331116319, 0.826435924, -0.0131779611, -0.562879264) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- Humanoid.WalkSpeed = 16
- attack = false
- con:disconnect()
- end
- function cringe()
- attack = true
- for i = 0, .99, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, .99, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, .99, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, .99, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, .99, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, .99, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, .99, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, .99, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- attack = false
- end
- function skill4()
- attack = true
- Humanoid.WalkSpeed = 0
- local con = Shootpart.Touched:connect(function(hit)
- Damage(Shootpart, hit, 1000, 1000, math.random(1, 5), "Normal", RootPart, 3, "rbxassetid://146163534", 1)
- end)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-6.76445716e-13, 1.49998641, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.63378763, 0.784575403, 0.626388669, -0.638396323, -0.621981561, 0.453420788, -0.310008496, -0.331417471, -0.891100585, 0.704519272, -0.709439039, 0.0187563747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.45747352, -0.000428291678, -0.0169889182, 0.999841452, -0.00383195048, 0.0174011104, 0.00369932642, 0.999964893, 0.00764765125, -0.0174298119, -0.00758206472, 0.999820352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.557813585, -2.01724243, 0.00830213353, 0.997999072, -0.0361758024, 0.0518574007, 0.0362592675, 0.999343157, -0.000668675581, -0.0517991446, 0.00254764897, 0.998655319) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.502551973, -1.99732482, 2.09503046e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.307827055, -0.945138454, -0.233602539, 0.111289024, 0.272969961, 0.955566287, 0.843120337, -0.53494525, 0.0546218455, 0.526086509, 0.799577296, -0.289679378) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-6.76446041e-13, 1.49998713, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.784057915, 0.530719638, -1.11145675, 0.760513663, 0.639931142, 0.11003381, 0.025037935, 0.140432268, -0.989774764, -0.64884001, 0.755491972, 0.0907780901) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.45747733, -0.000428082305, -0.0169907622, 0.999841452, -0.00383195048, 0.0174011104, 0.00369932642, 0.999964893, 0.00764765125, -0.0174298119, -0.00758206472, 0.999820352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5578174, -2.01724195, 0.00830193795, 0.997999072, -0.0361758024, 0.0518574007, 0.0362592675, 0.999343157, -0.000668675581, -0.0517991446, 0.00254764897, 0.998655319) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.502548158, -1.99732447, 2.09503099e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.289447755, -1.04616499, -0.37953198, 0.171506032, -0.162732333, 0.971654594, 0.507644057, -0.830653429, -0.228722811, 0.844327986, 0.532482445, -0.059851855) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- Humanoid.WalkSpeed = 16
- con:Disconnect()
- attack = false
- end
- function cringe2()
- attack = true
- Humanoid.WalkSpeed = 0
- for i = 0, 3, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0140685402, 1.52261281, 0.0118884463, 0.998629749, -0.0161746982, -0.0497796386, 0.0161741246, 0.999870241, -0.000414520735, 0.0497798659, -0.000391189416, 0.998761475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.87475526, 0.930106044, -0.0220574737, -0.350332558, -0.935963094, 0.0352388807, 0.936572134, -0.349651694, 0.0241183322, -0.0102524795, 0.0414531939, 0.999087989) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.55593383, 0.0922081023, -0.166624919, 0.994520426, 0.100986823, -0.0270543899, -0.100987062, 0.994891644, 0.00137344981, 0.0270547755, 0.00136621902, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.115644276, -1.00993621, 0.116102532, -0.942083418, -0.335367292, -0.00362925045, -0.333913654, 0.938904047, -0.0834463611, 0.03139247, -0.0774012506, -0.996505558) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- Humanoid.Health = 0.001
- Effects.Block.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame * CFrame.new(0, 0, 0), 4, 4, 4, 2, 2, 2, .07)
- Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7)
- Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7)
- Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7)
- Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7)
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=846233576", Shootpart, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0, 0, 0.99862957, -0.0523361303, 1.81777857e-12, 0.0523361266, 0.998633385, 4.26325641e-14, 1.81721305e-12, -5.68434189e-14, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0428714976, 1.54762077, 0.00642733369, 0.973466635, -0.223384321, -0.0497329459, 0.223770037, 0.974642634, 0.00219128886, 0.0479824543, -0.0132617969, 0.998763025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.94307065, 0.6823892, -0.0195657909, -0.148052812, -0.988307476, 0.0364530459, 0.988842845, -0.147312805, 0.0222407151, -0.0166106671, 0.0393391177, 0.999090731) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.54897189, 0.173511803, -0.166624963, 0.978514552, 0.204409495, -0.0269454382, -0.204409882, 0.978884399, 0.00278747012, 0.0269462466, 0.00278033293, 0.999635935) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.549670219, -1.92560482, 0.00926275551, 0.999340713, -0.0362381749, 0.00300741219, 0.036044348, 0.998117626, 0.0496915914, -0.00480249058, -0.0495504066, 0.998762131) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.603785574, -1.96849489, 0.0500004999, 0.998629808, 0.052336134, 1.08793152e-09, -0.0523362458, 0.998635411, -5.58679858e-09, 2.46404186e-09, -1.1108952e-08, 1.00000572) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.232984588, -0.884218752, 0.106375366, -0.972069085, -0.234514013, 0.00946775824, -0.234478518, 0.968574286, -0.0829868019, 0.0102912504, -0.0828888416, -0.99650526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- Humanoid.WalkSpeed = 16
- attack = false
- end
- Mouse.Button1Down:connect(function()
- if attack == false then
- attackone()
- end
- end)
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if attack == false and k == 'z' then
- skill1()
- elseif attack == false and k == 'x' then
- skill2()
- elseif attack == false and k == 'c' and Anim == 'Walk' then
- skill3()
- elseif attack == false and k == 'v' then
- skill4()
- elseif attack == false and k == 'q' then
- cringe()
- elseif attack == false and k == 'e' then
- cringe2()
- end
- end)
- while true do
- swait()
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA'Model' then
- for _, c in pairs(v:GetChildren()) do
- if c:IsA'BasePart' then
- c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
- end
- end
- end
- end
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 0.999996185, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.49129772, -0.0492396951, 1, 0, 0, 0, 0.766038835, -0.64278394, 0, 0.642785192, 0.766040325) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.46843624, 0.180933714, 0.0372858047, 0.951248944, -0.254887462, -0.173648328, 0.258818775, 0.965923786, -1.14036114e-09, 0.16773127, -0.044943653, 0.984805882) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.63477135, 0.28501603, 0.158970028, 0.961526453, 0.242340595, 0.129411325, -0.266435593, 0.93742609, 0.224140555, -0.0669952482, -0.249995694, 0.96592623) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.54962939, -1.9957037, 0.00430911779, 0.99257493, -0.0290100258, -0.118124813, 0.0858313814, 0.855161488, 0.511204004, 0.0861857831, -0.517548025, 0.851303339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.599646151, -1.99157369, -9.50545073e-05, 0.996449828, 0.0841852501, 0.000950440764, -0.0841850936, 0.996192873, 0.0225575492, 0.000952169299, -0.0225575212, 0.99974525) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- for i = 0, .3, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-6.76443873e-13, 1.49998617, 1.90735227e-06, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.48908567, -0.0124374451, 0.0453222468, 0.999818146, 0.00347117707, -0.0187555403, -0.00348036597, 0.999994814, -0.000455890113, 0.0187539104, 0.000521083595, 0.999825656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.51361406, 0.0255744811, 0.0346868746, 0.998444676, 0.0487802438, -0.0270542186, -0.0487612896, 0.998809218, 0.00137296692, 0.0270890035, -5.16980544e-05, 0.999633908) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.558128655, -2.00257516, -0.0328065082, 0.996082902, -0.0884258077, 0.000402636797, 0.0882963017, 0.994850576, 0.049780827, -0.00480247475, -0.04955028, 0.998760939) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.549934328, -1.99739313, 2.08343547e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.00357525377, -0.669875801, -0.33632654, 0.0129701542, 0.04199332, 0.99903512, 0.668174207, -0.743665218, 0.0225844048, 0.7438941, 0.667235076, -0.0377042405) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.996187985, 0.0871556774, 0, -0.0871556699, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.49999499, 1.11760201e-08, 1, 0, 0, 0, 0.999998331, -7.45067918e-09, 0, 7.45069251e-09, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.51048923, 0.0486144125, 0.213053972, 0.150388524, 0.08681795, 0.984807611, -0.423753828, 0.905649245, -0.015128728, -0.893205106, -0.415041506, 0.172988981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.46577644, 0.0133882836, 0.266453117, 0.978753924, 0.0149079002, 0.204495385, -0.0694269463, 0.96253264, 0.26212123, -0.192926094, -0.270750105, 0.943119466) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .3 * math.cos((sine) / 2), 0 + 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 - 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)),
- CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .3 * math.cos((sine) / 2), 0 - 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 + 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(-0.00357525377, -0.669875801, -0.33632654, 0.0129701542, 0.04199332, 0.99903512, 0.668174207, -0.743665218, 0.0225844048, 0.7438941, 0.667235076, -0.0377042405) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- end
- if #Effects > 0 then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- Part = Thing[1]
- Mode = Thing[2]
- Delay = Thing[3]
- IncX = Thing[4]
- IncY = Thing[5]
- IncZ = Thing[6]
- if Thing[2] == "Shoot" then
- Look = Thing[1]
- hit, pos = rayCast(Thing[4], Look, 5, Character)
- mag = (Thing[4] - pos).magnitude
- Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(-1.57, 0, 0)
- Thing[4] = Thing[4] + (Look * 5)
- Thing[3] = Thing[3] - 1
- if hit ~= nil then
- print(hit.Parent)
- Thing[3] = 0
- --Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500)
- --MagniDamage(Thing[9], 5, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500)
- end
- if Thing[3] <= 0 then
- if hit == nil then
- Effects.Sphere.Create(BrickColor.new("Crimson"), Thing[9].CFrame, 1, 1, 1, 2, 2, 2, .1)
- CFuncs.Sound.Create("285370517", Thing[9], 1, 1)
- else
- Effects.Wave.Create(BrickColor.new("Crimson"), Thing[9].CFrame * CFrame.fromEulerAnglesXYZ(3.2, 0, 0), .2, .2, .2, .6, .8, .6, .1)
- CFuncs.Sound.Create("285370517", Thing[9], .6, 1)
- CFuncs.Sound.Create("285370545", Thing[9], 1, 1)
- end
- for i = 1, math.random(2, 4) do
- Effects.Break.Create(BrickColor.new("Crimson"), Thing[9].CFrame, math.random(20, 40) / 100, math.random(100, 600) / 100, math.random(20, 40) / 100)
- end
- Thing[9].Transparency = 1
- game:GetService("Debris"):AddItem(Thing[9], 1)
- table.remove(Effects, e)
- end
- end
- if Thing[2] ~= "Shoot" then
- if Thing[1].Transparency <= 1 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))
- 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] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- 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[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- 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] == "Block4" then
- Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
- 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] == "Block2Fire" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- if Thing[1].Transparency >= .3 then
- Thing[1].BrickColor = BrickColor.new("Bright red")
- else
- Thing[1].BrickColor = BrickColor.new("Bright yellow")
- end
- elseif Thing[2] == "Ice" then
- if Thing[6] <= Thing[5] then
- Thing[6] = Thing[6] + .3
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 1, 0)
- else
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- 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]
- elseif Thing[2] == "Fire" then
- Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- 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] == "Cylinder2" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0)
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(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
- Mesh = Thing[7]
- 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]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment