Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------
- -- /--// SlayKillerX66 //--\ --
- ---------------------------------
- warn'm4a1 by SlayKillerX66. non require by youngmacka123. skids yall can use this if u want since centurion is leaked on toolbox'
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("E")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer warn'youngmacka123s non require of m4a1'
- local Player = owner
- local Mouse = Player:GetMouse()
- local WALKSPEED = 13
- local g = game
- local plr = Player
- local C = plr.Character
- local H = C.Humanoid
- local cam = workspace.CurrentCamera
- ffc=function(a,b)return a:FindFirstChild(b)end
- H.WalkSpeed = WALKSPEED
- H.JumpPower = 50
- H.MaxHealth = 120
- H.Health = 120
- local oW = H.WalkSpeed
- local haskit = true
- local healing = false
- local DebrisService = g:GetService('Debris')
- local LARM = C:WaitForChild("Left Arm")
- local RARM = C:WaitForChild("Right Arm")
- local LLEG = C:WaitForChild("Left Leg")
- local RLEG = C:WaitForChild("Right Leg")
- local Head = C.Head
- local Torso = C.Torso
- local Neck = Torso.Neck
- local Root = C.HumanoidRootPart
- local RootJ = Root.RootJoint
- local speed = (Root.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = Root.Velocity.y
- local Animation = "Idle"
- local wep = 'primary'
- local a = 0
- local k = 0
- --[[ Base Varibles ]]--
- local cn = CFrame.new
- local aa = CFrame.Angles
- local ud = UDim2.new
- local c3 = Color3.new
- local sin = math.sin
- local sqrt = math.sqrt
- local rad = math.rad
- local cos = math.cos
- local acos = math.acos
- local abs = math.abs
- local asin = math.asin
- local atan = math.atan
- local atan2 = math.atan2
- local turn = true
- local sit = false
- local fist = false
- local running = false
- local emoting = false
- local attack = false
- local valid_blood = false
- local valid_hit = true
- local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RootCF = aa(-1.57, 0, 3.14)
- local RHCF = aa(0, 1.6, 0)
- local LHCF = aa(0, -1.6, 0)
- --[[ ------------ ]]--
- local function GetNearbyTorsos(FromPart,range,ignore) -- Detects both r15 and r6
- local Torsos = {}
- for x=1,#workspace:GetChildren() do
- local xj = workspace:GetChildren()
- local cc = range
- local fromPoint = FromPart
- if xj[x]:IsA('Model') and not (xj[x].Name == (ignore.Name)) then
- if xj[x]:FindFirstChild('Torso') then
- local perfectTorso = nil
- if (fromPoint.Position - xj[x]:FindFirstChild('Torso').Position).magnitude < cc then
- local perfectTorso = xj[x]:FindFirstChild('Torso')
- table.insert(Torsos, perfectTorso)
- end
- elseif xj[x]:FindFirstChild('UpperTorso') then
- local perfectTorso = nil
- if (fromPoint.Position - xj[x]:FindFirstChild('UpperTorso').Position).magnitude < cc then
- local perfectTorso = xj[x]:FindFirstChild('UpperTorso')
- table.insert(Torsos, perfectTorso)
- end
- end
- end
- end
- return Torsos
- end
- local function DamageFromList(list,takedamage,c,c)
- local EgibleParts = list
- if EgibleParts[1] ~= nil then
- for i=1,#EgibleParts do
- if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
- EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(takedamage)
- end
- end
- end
- end
- warn('Made by SlayKillerX66')
- warn('Not Finished YET')
- warn('Current Buttons: Z X C V Click')
- CI = {
- Sound = {
- Create = function(id, parent, volume, pitch, play, name, loop, debre, time, position)
- spawn(function()
- local sound = Instance.new("Sound", parent or workspace)
- sound.Volume = volume or 0.5
- sound.Pitch = pitch or 1
- sound.SoundId = id or 0
- sound.TimePosition = position or 0
- sound.Looped = loop or false
- sound.Name = name or "Sound"
- if play == true then sound:play()end
- if debre == true then
- g:GetService("Debris"):AddItem(sound,time or 5)end
- return sound
- end)
- end}}
- bat = Instance.new("Part")
- meshhd = Instance.new("SpecialMesh")
- bat.Anchored = false
- bat.CanCollide = false
- bat.Size = Vector3.new(0.5, 4.2, 0.4)
- bat.Name = "Bat"
- bat.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- bat.Material = Enum.Material.SmoothPlastic
- bat.Orientation = Vector3.new(-0.01, 90, -90)
- bat.Color = Color3.new(0.105882, 0.164706, 0.207843)
- bat.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- bat.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- bat.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- bat.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- bat.BrickColor = BrickColor.new("Black")
- bat.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- bat.Parent = C
- bat.CFrame = CFrame.new(-115.57, 0.27, -40.5) * CFrame.Angles(-1.571, 1.571, 0)
- meshhd.TextureId = "rbxassetid://54983107" -- 686120222
- meshhd.MeshType = Enum.MeshType.FileMesh
- meshhd.MeshId = "rbxassetid://686120220"
- meshhd.Parent = bat
- m4a1=Instance.new("Model")
- mainpart=Instance.new("Part")part=Instance.new("Part")weld=Instance.new("Weld")
- part_2=Instance.new("Part")mesh=Instance.new("BlockMesh")
- weld_2=Instance.new("Weld")part_3=Instance.new("Part")
- mesh_2=Instance.new("BlockMesh")weld_3=Instance.new("Weld")
- part_4=Instance.new("Part")mesh_3=Instance.new("BlockMesh")
- weld_4=Instance.new("Weld")part_5=Instance.new("Part")
- weld_5=Instance.new("Weld")part_6=Instance.new("Part")
- weld_6=Instance.new("Weld")part_7=Instance.new("Part")
- weld_7=Instance.new("Weld")part_8=Instance.new("Part")
- mesh_4=Instance.new("SpecialMesh")weld_8=Instance.new("Weld")
- part_9=Instance.new("Part")weld_9=Instance.new("Weld")
- part_10=Instance.new("Part")mesh_5=Instance.new("BlockMesh")
- weld_10=Instance.new("Weld")part_11=Instance.new("Part")
- weld_11=Instance.new("Weld")part_12=Instance.new("Part")
- weld_12=Instance.new("Weld")part_13=Instance.new("Part")
- mesh_6=Instance.new("BlockMesh")weld_13=Instance.new("Weld")
- part_14=Instance.new("Part")weld_14=Instance.new("Weld")
- part_15=Instance.new("Part")weld_15=Instance.new("Weld")
- part_16=Instance.new("Part")weld_16=Instance.new("Weld")
- part_17=Instance.new("Part")weld_17=Instance.new("Weld")
- hole=Instance.new("Part")smoke=Instance.new("ParticleEmitter")
- flame=Instance.new("ParticleEmitter")flamelight=Instance.new("PointLight")
- weld_18=Instance.new("Weld")part_18=Instance.new("Part")
- weld_19=Instance.new("Weld")part_19=Instance.new("Part")
- weld_20=Instance.new("Weld")part_20=Instance.new("Part")
- weld_21=Instance.new("Weld")part_21=Instance.new("Part")
- weld_22=Instance.new("Weld")part_22=Instance.new("Part")
- weld_23=Instance.new("Weld")part_23=Instance.new("Part")
- mesh_7=Instance.new("SpecialMesh")weld_24=Instance.new("Weld")
- part_24=Instance.new("Part")weld_25=Instance.new("Weld")
- part_25=Instance.new("Part")weld_26=Instance.new("Weld")
- part_26=Instance.new("Part")mesh_8=Instance.new("SpecialMesh")
- weld_27=Instance.new("Weld")part_27=Instance.new("Part")
- weld_28=Instance.new("Weld")part_28=Instance.new("Part")
- mesh_9=Instance.new("BlockMesh")weld_29=Instance.new("Weld")
- part_29=Instance.new("Part")weld_30=Instance.new("Weld")
- part_30=Instance.new("Part")weld_31=Instance.new("Weld")
- part_31=Instance.new("Part")weld_32=Instance.new("Weld")
- part_32=Instance.new("Part")mesh_10=Instance.new("BlockMesh")
- weld_33=Instance.new("Weld")part_33=Instance.new("Part")
- mesh_11=Instance.new("BlockMesh")weld_34=Instance.new("Weld")
- part_34=Instance.new("Part")weld_35=Instance.new("Weld")
- part_35=Instance.new("Part")mesh_12=Instance.new("BlockMesh")
- weld_36=Instance.new("Weld")part_36=Instance.new("Part")
- weld_37=Instance.new("Weld")part_37=Instance.new("Part")
- weld_38=Instance.new("Weld")part_38=Instance.new("Part")
- mesh_13=Instance.new("BlockMesh")weld_39=Instance.new("Weld")
- part_39=Instance.new("Part")mesh_14=Instance.new("BlockMesh")
- weld_40=Instance.new("Weld")part_40=Instance.new("Part")
- mesh_15=Instance.new("SpecialMesh")weld_41=Instance.new("Weld")
- part_41=Instance.new("Part")weld_42=Instance.new("Weld")
- part_42=Instance.new("Part")weld_43=Instance.new("Weld")
- part_43=Instance.new("Part")weld_44=Instance.new("Weld")
- part_44=Instance.new("Part")weld_45=Instance.new("Weld")
- part_45=Instance.new("Part")weld_46=Instance.new("Weld")
- part_46=Instance.new("Part")weld_47=Instance.new("Weld")
- part_47=Instance.new("Part")weld_48=Instance.new("Weld")
- part_48=Instance.new("Part")mesh_16=Instance.new("SpecialMesh")
- weld_49=Instance.new("Weld")part_49=Instance.new("Part")
- mesh_17=Instance.new("BlockMesh")weld_50=Instance.new("Weld")
- part_50=Instance.new("Part")weld_51=Instance.new("Weld")
- part_51=Instance.new("Part")weld_52=Instance.new("Weld")
- part_52=Instance.new("Part")mesh_18=Instance.new("BlockMesh")
- weld_53=Instance.new("Weld")part_53=Instance.new("Part")
- weld_54=Instance.new("Weld")part_54=Instance.new("Part")
- mesh_19=Instance.new("BlockMesh")weld_55=Instance.new("Weld")
- part_55=Instance.new("Part")weld_56=Instance.new("Weld")
- part_56=Instance.new("Part")weld_57=Instance.new("Weld")
- part_57=Instance.new("Part")mesh_20=Instance.new("BlockMesh")
- weld_58=Instance.new("Weld")part_58=Instance.new("Part")
- mesh_21=Instance.new("BlockMesh")weld_59=Instance.new("Weld")
- part_59=Instance.new("Part")mesh_22=Instance.new("SpecialMesh")
- weld_60=Instance.new("Weld")part_60=Instance.new("Part")
- weld_61=Instance.new("Weld")part_61=Instance.new("Part")
- mesh_23=Instance.new("SpecialMesh")weld_62=Instance.new("Weld")
- part_62=Instance.new("Part")mesh_24=Instance.new("SpecialMesh")
- weld_63=Instance.new("Weld")part_63=Instance.new("Part")
- mesh_25=Instance.new("BlockMesh")weld_64=Instance.new("Weld")
- part_64=Instance.new("Part")mesh_26=Instance.new("BlockMesh")
- weld_65=Instance.new("Weld")part_65=Instance.new("Part")
- mesh_27=Instance.new("SpecialMesh")weld_66=Instance.new("Weld")
- part_66=Instance.new("Part")weld_67=Instance.new("Weld")
- part_67=Instance.new("Part")weld_68=Instance.new("Weld")
- part_68=Instance.new("Part")weld_69=Instance.new("Weld")
- part_69=Instance.new("Part")mesh_28=Instance.new("BlockMesh")
- weld_70=Instance.new("Weld")part_70=Instance.new("Part")
- weld_71=Instance.new("Weld")part_71=Instance.new("Part")
- weld_72=Instance.new("Weld")part_72=Instance.new("Part")
- weld_73=Instance.new("Weld")part_73=Instance.new("Part")
- weld_74=Instance.new("Weld")part_74=Instance.new("Part")
- weld_75=Instance.new("Weld")
- m4a1.Name = "M4A1"
- m4a1.Parent = C
- mainpart.CanCollide = false
- mainpart.Shape = Enum.PartType.Cylinder
- mainpart.Size = Vector3.new(0.194, 0.055, 0.055)
- mainpart.Name = "MainPart"
- mainpart.Material = Enum.Material.SmoothPlastic
- mainpart.Color = Color3.new(0.623529, 0.631373, 0.67451)
- mainpart.Orientation = Vector3.new(0, 90, 0)
- mainpart.BottomSurface = Enum.SurfaceType.Smooth
- mainpart.Velocity = Vector3.new(0, -730.031, 0)
- mainpart.BrickColor = BrickColor.new("Fossil")
- mainpart.TopSurface = Enum.SurfaceType.Smooth
- mainpart.Parent = m4a1
- mainpart.CFrame = CFrame.new(-133.557, 1.498, -16.892) * CFrame.Angles(0, 1.571, 0)
- part.CanCollide = false
- part.Shape = Enum.PartType.Cylinder
- part.Size = Vector3.new(1.235, 0.361, 0.361)
- part.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part.Material = Enum.Material.SmoothPlastic
- part.BottomSurface = Enum.SurfaceType.Smooth
- part.BrickColor = BrickColor.new("Black")
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Velocity = Vector3.new(0, -730.031, 0)
- part.Parent = m4a1
- part.CFrame = CFrame.new(-131.946, 1.118, -16.888) * CFrame.Angles(0, 0, 0)
- weld.Part0 = mainpart
- weld.C1 = CFrame.new(-1.611, 0.38, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld.Part1 = part
- weld.Parent = part
- part_2.CanCollide = false
- part_2.Size = Vector3.new(0.294, 0.05, 0.078)
- part_2.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_2.Material = Enum.Material.SmoothPlastic
- part_2.BottomSurface = Enum.SurfaceType.Smooth
- part_2.BrickColor = BrickColor.new("Black")
- part_2.TopSurface = Enum.SurfaceType.Smooth
- part_2.Velocity = Vector3.new(0, -730.031, 0)
- part_2.Parent = m4a1
- part_2.CFrame = CFrame.new(-133.212, 0.703, -16.888) * CFrame.Angles(0, 0, 0)
- mesh.Scale = Vector3.new(1, 0.864, 1)
- mesh.Parent = part_2
- weld_2.Part0 = mainpart
- weld_2.C1 = CFrame.new(-0.345, 0.795, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_2.Part1 = part_2
- weld_2.Parent = part_2
- part_3.CanCollide = false
- part_3.Size = Vector3.new(0.095, 0.05, 0.186)
- part_3.BottomSurface = Enum.SurfaceType.Smooth
- part_3.Orientation = Vector3.new(0, 0, 45.73)
- part_3.Material = Enum.Material.SmoothPlastic
- part_3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_3.BrickColor = BrickColor.new("Black")
- part_3.Velocity = Vector3.new(0, -730.031, 0)
- part_3.TopSurface = Enum.SurfaceType.Smooth
- part_3.Parent = m4a1
- part_3.CFrame = CFrame.new(-132.732, 1.44, -16.888) * CFrame.Angles(0, 0, 0.798)
- mesh_2.Scale = Vector3.new(1, 0.864, 1)
- mesh_2.Parent = part_3
- weld_3.Part0 = mainpart
- weld_3.C1 = CFrame.new(-0.534, 0.631, -0.004) * CFrame.Angles(1.571, 0.773, -1.571)
- weld_3.Part1 = part_3
- weld_3.Parent = part_3
- part_4.CanCollide = false
- part_4.Size = Vector3.new(0.216, 0.05, 0.082)
- part_4.BottomSurface = Enum.SurfaceType.Smooth
- part_4.Orientation = Vector3.new(0, 90, 0)
- part_4.Material = Enum.Material.SmoothPlastic
- part_4.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_4.BrickColor = BrickColor.new("Fossil")
- part_4.Velocity = Vector3.new(0, -730.031, 0)
- part_4.TopSurface = Enum.SurfaceType.Smooth
- part_4.Parent = m4a1
- part_4.CFrame = CFrame.new(-133.735, 1.34, -16.889) * CFrame.Angles(0, 1.571, 0)
- mesh_3.Scale = Vector3.new(1, 0.864, 1)
- mesh_3.Parent = part_4
- weld_4.Part0 = mainpart
- weld_4.C1 = CFrame.new(0.003, 0.158, 0.178) * CFrame.Angles(0, 0, 0)
- weld_4.Part1 = part_4
- weld_4.Parent = part_4
- part_5.CanCollide = false
- part_5.Size = Vector3.new(0.095, 0.098, 0.186)
- part_5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_5.Material = Enum.Material.SmoothPlastic
- part_5.BottomSurface = Enum.SurfaceType.Smooth
- part_5.BrickColor = BrickColor.new("Black")
- part_5.TopSurface = Enum.SurfaceType.Smooth
- part_5.Velocity = Vector3.new(0, -730.031, 0)
- part_5.Parent = m4a1
- part_5.CFrame = CFrame.new(-132.699, 1.331, -16.888) * CFrame.Angles(0, 0, 0)
- weld_5.Part0 = mainpart
- weld_5.C1 = CFrame.new(-0.859, 0.167, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_5.Part1 = part_5
- weld_5.Parent = part_5
- part_6.CanCollide = false
- part_6.Shape = Enum.PartType.Cylinder
- part_6.Size = Vector3.new(0.406, 0.1, 0.1)
- part_6.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_6.Orientation = Vector3.new(90, 0, 0)
- part_6.Material = Enum.Material.SmoothPlastic
- part_6.BrickColor = BrickColor.new("Fossil")
- part_6.BottomSurface = Enum.SurfaceType.Smooth
- part_6.Velocity = Vector3.new(0, -730.031, 0)
- part_6.TopSurface = Enum.SurfaceType.Smooth
- part_6.Parent = m4a1
- part_6.CFrame = CFrame.new(-132.965, 1.17, -16.836) * CFrame.Angles(1.571, 0, 0)
- weld_6.Part0 = mainpart
- weld_6.C1 = CFrame.new(-0.592, -0.056, -0.328) * CFrame.Angles(-1.571, 1.571, 0)
- weld_6.Part1 = part_6
- weld_6.Parent = part_6
- part_7.CanCollide = false
- part_7.Size = Vector3.new(0.561, 0.281, 0.186)
- part_7.BottomSurface = Enum.SurfaceType.Smooth
- part_7.Orientation = Vector3.new(0, 180, 81.91)
- part_7.Material = Enum.Material.SmoothPlastic
- part_7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_7.BrickColor = BrickColor.new("Black")
- part_7.Velocity = Vector3.new(0, -730.031, 0)
- part_7.TopSurface = Enum.SurfaceType.Smooth
- part_7.Parent = m4a1
- part_7.CFrame = CFrame.new(-135.014, 0.954, -16.888) * CFrame.Angles(-3.142, 0, -1.712)
- weld_7.Part0 = mainpart
- weld_7.C1 = CFrame.new(0.334, 1.519, 0.004) * CFrame.Angles(-1.571, -0.141, -1.571)
- weld_7.Part1 = part_7
- weld_7.Parent = part_7
- part_8.CanCollide = false
- part_8.Size = Vector3.new(0.177, 0.05, 0.05)
- part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_8.Orientation = Vector3.new(0, -89.01, 0)
- part_8.Material = Enum.Material.Metal
- part_8.BrickColor = BrickColor.new("Black")
- part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Velocity = Vector3.new(0, -730.031, 0)
- part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Parent = m4a1
- part_8.CFrame = CFrame.new(-131.809, 1.016, -16.874) * CFrame.Angles(-0.003, -1.554, -0.003)
- mesh_4.Scale = Vector3.new(1, 0.416, 0.623)
- mesh_4.MeshType = Enum.MeshType.Wedge
- mesh_4.Parent = part_8
- weld_8.Part0 = mainpart
- weld_8.C1 = CFrame.new(-0.048, 0.482, 1.748) * CFrame.Angles(-3.142, 0.017, 3.142)
- weld_8.Part1 = part_8
- weld_8.Parent = part_8
- part_9.CanCollide = false
- part_9.Size = Vector3.new(1.062, 0.246, 0.186)
- part_9.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_9.Material = Enum.Material.SmoothPlastic
- part_9.BottomSurface = Enum.SurfaceType.Smooth
- part_9.BrickColor = BrickColor.new("Black")
- part_9.TopSurface = Enum.SurfaceType.Smooth
- part_9.Velocity = Vector3.new(0, -730.031, 0)
- part_9.Parent = m4a1
- part_9.CFrame = CFrame.new(-133.173, 1.228, -16.888) * CFrame.Angles(0, 0, 0)
- weld_9.Part0 = mainpart
- weld_9.C1 = CFrame.new(-0.385, 0.27, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_9.Part1 = part_9
- weld_9.Parent = part_9
- part_10.CanCollide = false
- part_10.Size = Vector3.new(0.077, 0.098, 0.05)
- part_10.BottomSurface = Enum.SurfaceType.Smooth
- part_10.Orientation = Vector3.new(90, 90, 0)
- part_10.Material = Enum.Material.SmoothPlastic
- part_10.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_10.BrickColor = BrickColor.new("Fossil")
- part_10.Velocity = Vector3.new(0, -730.031, 0)
- part_10.TopSurface = Enum.SurfaceType.Smooth
- part_10.Parent = m4a1
- part_10.CFrame = CFrame.new(-133.301, 1.031, -16.817) * CFrame.Angles(1.571, 0, -1.571)
- mesh_5.Scale = Vector3.new(1, 1, 0.864)
- mesh_5.Parent = part_10
- weld_10.Part0 = mainpart
- weld_10.C1 = CFrame.new(0.076, -0.257, -0.467) * CFrame.Angles(-1.571, 0, 0)
- weld_10.Part1 = part_10
- weld_10.Parent = part_10
- part_11.CanCollide = false
- part_11.Size = Vector3.new(0.135, 0.062, 0.197)
- part_11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_11.Orientation = Vector3.new(0, -89.01, 0)
- part_11.Material = Enum.Material.Grass
- part_11.BrickColor = BrickColor.new("Black")
- part_11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.Velocity = Vector3.new(0, -730.031, 0)
- part_11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.Parent = m4a1
- part_11.CFrame = CFrame.new(-131.96, 0.962, -16.872) * CFrame.Angles(0.003, -1.554, 0.003)
- weld_11.Part0 = mainpart
- weld_11.C1 = CFrame.new(-0.048, 0.536, 1.596) * CFrame.Angles(3.142, 0.017, 3.142)
- weld_11.Part1 = part_11
- weld_11.Parent = part_11
- part_12.CanCollide = false
- part_12.Size = Vector3.new(0.484, 0.13, 0.186)
- part_12.BottomSurface = Enum.SurfaceType.Smooth
- part_12.Orientation = Vector3.new(0, 0, 46.72)
- part_12.Material = Enum.Material.SmoothPlastic
- part_12.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_12.BrickColor = BrickColor.new("Black")
- part_12.Velocity = Vector3.new(0, -730.031, 0)
- part_12.TopSurface = Enum.SurfaceType.Smooth
- part_12.Parent = m4a1
- part_12.CFrame = CFrame.new(-134.588, 0.91, -16.888) * CFrame.Angles(0, 0, 0.815)
- weld_12.Part0 = mainpart
- weld_12.C1 = CFrame.new(1.135, -0.347, -0.004) * CFrame.Angles(1.571, 0.755, -1.571)
- weld_12.Part1 = part_12
- weld_12.Parent = part_12
- part_13.CanCollide = false
- part_13.Size = Vector3.new(0.294, 0.05, 0.078)
- part_13.BottomSurface = Enum.SurfaceType.Smooth
- part_13.Orientation = Vector3.new(0, 0, -79.06)
- part_13.Material = Enum.Material.SmoothPlastic
- part_13.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_13.BrickColor = BrickColor.new("Black")
- part_13.Velocity = Vector3.new(0, -730.031, 0)
- part_13.TopSurface = Enum.SurfaceType.Smooth
- part_13.Parent = m4a1
- part_13.CFrame = CFrame.new(-133.289, 0.954, -16.888) * CFrame.Angles(0, 0, -1.38)
- mesh_6.Scale = Vector3.new(1, 0.864, 1)
- mesh_6.Parent = part_13
- weld_13.Part0 = mainpart
- weld_13.C1 = CFrame.new(-0.585, -0.16, -0.004) * CFrame.Angles(-1.571, 0.191, 1.571)
- weld_13.Part1 = part_13
- weld_13.Parent = part_13
- part_14.CanCollide = false
- part_14.Size = Vector3.new(0.06, 0.315, 0.186)
- part_14.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_14.Material = Enum.Material.SmoothPlastic
- part_14.BottomSurface = Enum.SurfaceType.Smooth
- part_14.BrickColor = BrickColor.new("Black")
- part_14.TopSurface = Enum.SurfaceType.Smooth
- part_14.Velocity = Vector3.new(0, -730.031, 0)
- part_14.Parent = m4a1
- part_14.CFrame = CFrame.new(-133.069, 0.839, -16.888) * CFrame.Angles(0, 0, 0)
- weld_14.Part0 = mainpart
- weld_14.C1 = CFrame.new(-0.488, 0.659, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_14.Part1 = part_14
- weld_14.Parent = part_14
- part_15.CanCollide = false
- part_15.Size = Vector3.new(0.294, 0.315, 0.186)
- part_15.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_15.Material = Enum.Material.SmoothPlastic
- part_15.BottomSurface = Enum.SurfaceType.Smooth
- part_15.BrickColor = BrickColor.new("Black")
- part_15.TopSurface = Enum.SurfaceType.Smooth
- part_15.Velocity = Vector3.new(0, -730.031, 0)
- part_15.Parent = m4a1
- part_15.CFrame = CFrame.new(-132.78, 0.883, -16.888) * CFrame.Angles(0, 0, 0)
- weld_15.Part0 = mainpart
- weld_15.C1 = CFrame.new(-0.777, 0.616, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_15.Part1 = part_15
- weld_15.Parent = part_15
- part_16.CanCollide = false
- part_16.Size = Vector3.new(0.484, 0.13, 0.186)
- part_16.BottomSurface = Enum.SurfaceType.Smooth
- part_16.Orientation = Vector3.new(0, 0, 73.32)
- part_16.Material = Enum.Material.SmoothPlastic
- part_16.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_16.BrickColor = BrickColor.new("Black")
- part_16.Velocity = Vector3.new(0, -730.031, 0)
- part_16.TopSurface = Enum.SurfaceType.Smooth
- part_16.Parent = m4a1
- part_16.CFrame = CFrame.new(-134.718, 0.962, -16.888) * CFrame.Angles(0, 0, 1.28)
- weld_16.Part0 = mainpart
- weld_16.C1 = CFrame.new(0.847, -0.958, -0.004) * CFrame.Angles(1.571, 0.291, -1.571)
- weld_16.Part1 = part_16
- weld_16.Parent = part_16
- part_17.CanCollide = false
- part_17.Size = Vector3.new(0.484, 0.13, 0.186)
- part_17.BottomSurface = Enum.SurfaceType.Smooth
- part_17.Orientation = Vector3.new(0, 0, 46.72)
- part_17.Material = Enum.Material.SmoothPlastic
- part_17.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_17.BrickColor = BrickColor.new("Black")
- part_17.Velocity = Vector3.new(0, -730.031, 0)
- part_17.TopSurface = Enum.SurfaceType.Smooth
- part_17.Parent = m4a1
- part_17.CFrame = CFrame.new(-134.839, 0.754, -16.888) * CFrame.Angles(0, 0, 0.815)
- weld_17.Part0 = mainpart
- weld_17.C1 = CFrame.new(1.42, -0.423, -0.004) * CFrame.Angles(1.571, 0.755, -1.571)
- weld_17.Part1 = part_17
- weld_17.Parent = part_17
- hole.CanCollide = false
- hole.Shape = Enum.PartType.Cylinder
- hole.Size = Vector3.new(0.051, 0.079, 0.079)
- hole.BottomSurface = Enum.SurfaceType.Smooth
- hole.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- hole.Material = Enum.Material.SmoothPlastic
- hole.Name = "Hole"
- hole.BrickColor = BrickColor.new("Really black")
- hole.TopSurface = Enum.SurfaceType.Smooth
- hole.Velocity = Vector3.new(0, -730.031, 0)
- hole.Parent = m4a1
- hole.CFrame = CFrame.new(-130.665, 1.118, -16.888) * CFrame.Angles(0, 0, 0)
- smoke.Enabled = false
- smoke.Lifetime = NumberRange.new(0.5)
- smoke.Name = "Smoke"
- smoke.SpreadAngle = Vector2.new(20, 20)
- smoke.Texture = "rbxassetid://55687933"
- smoke.Rotation = NumberRange.new(0, 360)
- smoke.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.4), NumberSequenceKeypoint.new(1, 1)})
- smoke.Rate = 15
- smoke.Acceleration = Vector3.new(1, -0.1, 2)
- smoke.VelocitySpread = 20
- smoke.RotSpeed = NumberRange.new(20, 50)
- smoke.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.25), NumberSequenceKeypoint.new(1, 0)})
- smoke.Parent = hole
- flame.Enabled = false
- flame.Name = "Flame"
- flame.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
- flame.Lifetime = NumberRange.new(0.1)
- flame.LightEmission = 1
- flame.Speed = NumberRange.new(25)
- flame.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.658824, 0.243137))
- flame.VelocitySpread = 15
- flame.Rate = 250
- flame.EmissionDirection = Enum.NormalId.Right
- flame.Texture = "rbxassetid://293037988"
- flame.SpreadAngle = Vector2.new(15, 15)
- flame.Drag = 2
- flame.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.001, 0.313), NumberSequenceKeypoint.new(1, 0)})
- flame.Parent = hole
- flamelight.Enabled = false
- flamelight.Range = 10
- flamelight.Name = "FlameLight"
- flamelight.Color = Color3.new(1, 0.576471, 0.0941177)
- flamelight.Shadows = true
- flamelight.Parent = hole
- weld_18.Part0 = mainpart
- weld_18.C1 = CFrame.new(-2.892, 0.38, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_18.Part1 = hole
- weld_18.Parent = hole
- part_18.CanCollide = false
- part_18.Size = Vector3.new(0.259, 0.426, 0.164)
- part_18.BottomSurface = Enum.SurfaceType.Smooth
- part_18.Orientation = Vector3.new(0, -180, 77.14)
- part_18.Material = Enum.Material.SmoothPlastic
- part_18.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_18.BrickColor = BrickColor.new("Fossil")
- part_18.Velocity = Vector3.new(0, -730.031, 0)
- part_18.TopSurface = Enum.SurfaceType.Smooth
- part_18.Parent = m4a1
- part_18.CFrame = CFrame.new(-132.794, 0.395, -16.888) * CFrame.Angles(3.142, 0, -1.795)
- weld_19.Part0 = mainpart
- weld_19.C1 = CFrame.new(1.245, -0.499, 0.004) * CFrame.Angles(-1.571, -0.224, -1.571)
- weld_19.Part1 = part_18
- weld_19.Parent = part_18
- part_19.CanCollide = false
- part_19.Size = Vector3.new(0.078, 0.22, 0.186)
- part_19.BottomSurface = Enum.SurfaceType.Smooth
- part_19.Orientation = Vector3.new(0, 180, 26.73)
- part_19.Material = Enum.Material.SmoothPlastic
- part_19.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_19.BrickColor = BrickColor.new("Black")
- part_19.Velocity = Vector3.new(0, -730.031, 0)
- part_19.TopSurface = Enum.SurfaceType.Smooth
- part_19.Parent = m4a1
- part_19.CFrame = CFrame.new(-133.572, 1.143, -16.888) * CFrame.Angles(-3.142, 0, -2.675)
- weld_20.Part0 = mainpart
- weld_20.C1 = CFrame.new(0.147, 0.324, 0.004) * CFrame.Angles(-1.571, -1.104, -1.571)
- weld_20.Part1 = part_19
- weld_20.Parent = part_19
- part_20.CanCollide = false
- part_20.Size = Vector3.new(0.337, 0.22, 0.186)
- part_20.BottomSurface = Enum.SurfaceType.Smooth
- part_20.Orientation = Vector3.new(0, 0, 85.94)
- part_20.Material = Enum.Material.SmoothPlastic
- part_20.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_20.BrickColor = BrickColor.new("Black")
- part_20.Velocity = Vector3.new(0, -730.031, 0)
- part_20.TopSurface = Enum.SurfaceType.Smooth
- part_20.Parent = m4a1
- part_20.CFrame = CFrame.new(-133.444, 0.857, -16.888) * CFrame.Angles(0, 0, 1.5)
- weld_21.Part0 = mainpart
- weld_21.C1 = CFrame.new(0.632, 0.158, -0.004) * CFrame.Angles(1.571, 0.071, -1.571)
- weld_21.Part1 = part_20
- weld_21.Parent = part_20
- part_21.CanCollide = false
- part_21.Size = Vector3.new(0.259, 0.203, 0.186)
- part_21.BottomSurface = Enum.SurfaceType.Smooth
- part_21.Orientation = Vector3.new(0, 0, 76.82)
- part_21.Material = Enum.Material.SmoothPlastic
- part_21.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_21.BrickColor = BrickColor.new("Black")
- part_21.Velocity = Vector3.new(0, -730.031, 0)
- part_21.TopSurface = Enum.SurfaceType.Smooth
- part_21.Parent = m4a1
- part_21.CFrame = CFrame.new(-133.553, 1.375, -16.888) * CFrame.Angles(0, 0, 1.341)
- weld_22.Part0 = mainpart
- weld_22.C1 = CFrame.new(0.119, 0.032, -0.004) * CFrame.Angles(1.571, 0.23, -1.571)
- weld_22.Part1 = part_21
- weld_22.Parent = part_21
- part_22.CanCollide = false
- part_22.Size = Vector3.new(0.095, 0.827, 0.186)
- part_22.BottomSurface = Enum.SurfaceType.Smooth
- part_22.Orientation = Vector3.new(0, 0, 85.51)
- part_22.Material = Enum.Material.SmoothPlastic
- part_22.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_22.BrickColor = BrickColor.new("Black")
- part_22.Velocity = Vector3.new(0, -730.031, 0)
- part_22.TopSurface = Enum.SurfaceType.Smooth
- part_22.Parent = m4a1
- part_22.CFrame = CFrame.new(-133.21, 1.505, -16.888) * CFrame.Angles(0, 0, 1.492)
- weld_23.Part0 = mainpart
- weld_23.C1 = CFrame.new(-0.034, 0.346, -0.004) * CFrame.Angles(1.571, 0.078, -1.571)
- weld_23.Part1 = part_22
- weld_23.Parent = part_22
- part_23.CanCollide = false
- part_23.Shape = Enum.PartType.Cylinder
- part_23.Size = Vector3.new(0.05, 0.083, 0.099)
- part_23.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_23.Orientation = Vector3.new(0, 0, 90)
- part_23.Material = Enum.Material.SmoothPlastic
- part_23.BrickColor = BrickColor.new("Fossil")
- part_23.BottomSurface = Enum.SurfaceType.Smooth
- part_23.Velocity = Vector3.new(0, -730.031, 0)
- part_23.TopSurface = Enum.SurfaceType.Smooth
- part_23.Parent = m4a1
- part_23.CFrame = CFrame.new(-133.735, 1.34, -16.782) * CFrame.Angles(0, 0, 1.571)
- mesh_7.Scale = Vector3.new(0.864, 1, 1)
- mesh_7.MeshType = Enum.MeshType.Cylinder
- mesh_7.Parent = part_23
- weld_24.Part0 = mainpart
- weld_24.C1 = CFrame.new(0.158, -0.178, -0.11) * CFrame.Angles(1.571, 0, -1.571)
- weld_24.Part1 = part_23
- weld_24.Parent = part_23
- part_24.CanCollide = false
- part_24.Shape = Enum.PartType.Cylinder
- part_24.Size = Vector3.new(0.294, 0.255, 0.255)
- part_24.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_24.Material = Enum.Material.SmoothPlastic
- part_24.BottomSurface = Enum.SurfaceType.Smooth
- part_24.BrickColor = BrickColor.new("Black")
- part_24.TopSurface = Enum.SurfaceType.Smooth
- part_24.Velocity = Vector3.new(0, -730.031, 0)
- part_24.Parent = m4a1
- part_24.CFrame = CFrame.new(-131.372, 1.118, -16.888) * CFrame.Angles(0, 0, 0)
- weld_25.Part0 = mainpart
- weld_25.C1 = CFrame.new(-2.185, 0.38, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_25.Part1 = part_24
- weld_25.Parent = part_24
- part_25.CanCollide = false
- part_25.Size = Vector3.new(0.233, 0.052, 0.13)
- part_25.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_25.Material = Enum.Material.SmoothPlastic
- part_25.BottomSurface = Enum.SurfaceType.Smooth
- part_25.BrickColor = BrickColor.new("Black")
- part_25.TopSurface = Enum.SurfaceType.Smooth
- part_25.Velocity = Vector3.new(0, -730.031, 0)
- part_25.Parent = m4a1
- part_25.CFrame = CFrame.new(-133.415, 0.708, -16.888) * CFrame.Angles(0, 0, 0)
- weld_26.Part0 = mainpart
- weld_26.C1 = CFrame.new(-0.143, 0.79, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_26.Part1 = part_25
- weld_26.Parent = part_25
- part_26.CanCollide = false
- part_26.Shape = Enum.PartType.Cylinder
- part_26.Size = Vector3.new(0.05, 0.055, 0.055)
- part_26.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_26.Orientation = Vector3.new(0, 90, 0)
- part_26.Material = Enum.Material.SmoothPlastic
- part_26.BrickColor = BrickColor.new("Fossil")
- part_26.BottomSurface = Enum.SurfaceType.Smooth
- part_26.Velocity = Vector3.new(0, -730.031, 0)
- part_26.TopSurface = Enum.SurfaceType.Smooth
- part_26.Parent = m4a1
- part_26.CFrame = CFrame.new(-133.557, 1.498, -16.817) * CFrame.Angles(0, 1.571, 0)
- mesh_8.Scale = Vector3.new(0.864, 1, 1)
- mesh_8.MeshType = Enum.MeshType.Cylinder
- mesh_8.Parent = part_26
- weld_27.Part0 = mainpart
- weld_27.C1 = CFrame.new(0.076, 0, 0) * CFrame.Angles(0, 0, 0)
- weld_27.Part1 = part_26
- weld_27.Parent = part_26
- part_27.CanCollide = false
- part_27.Size = Vector3.new(0.259, 0.426, 0.164)
- part_27.BottomSurface = Enum.SurfaceType.Smooth
- part_27.Orientation = Vector3.new(0, -180, 69.63)
- part_27.Material = Enum.Material.SmoothPlastic
- part_27.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_27.BrickColor = BrickColor.new("Fossil")
- part_27.Velocity = Vector3.new(0, -730.031, 0)
- part_27.TopSurface = Enum.SurfaceType.Smooth
- part_27.Parent = m4a1
- part_27.CFrame = CFrame.new(-132.733, 0.196, -16.888) * CFrame.Angles(3.142, 0, -1.926)
- weld_28.Part0 = mainpart
- weld_28.C1 = CFrame.new(1.508, -0.319, 0.004) * CFrame.Angles(-1.571, -0.356, -1.571)
- weld_28.Part1 = part_27
- weld_28.Parent = part_27
- part_28.CanCollide = false
- part_28.Size = Vector3.new(0.095, 0.05, 0.186)
- part_28.BottomSurface = Enum.SurfaceType.Smooth
- part_28.Orientation = Vector3.new(0, 0, 62.77)
- part_28.Material = Enum.Material.SmoothPlastic
- part_28.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_28.BrickColor = BrickColor.new("Black")
- part_28.Velocity = Vector3.new(0, -730.031, 0)
- part_28.TopSurface = Enum.SurfaceType.Smooth
- part_28.Parent = m4a1
- part_28.CFrame = CFrame.new(-132.756, 1.457, -16.888) * CFrame.Angles(0, 0, 1.096)
- mesh_9.Scale = Vector3.new(1, 0.864, 1)
- mesh_9.Parent = part_28
- weld_29.Part0 = mainpart
- weld_29.C1 = CFrame.new(-0.33, 0.732, -0.004) * CFrame.Angles(1.571, 0.475, -1.571)
- weld_29.Part1 = part_28
- weld_29.Parent = part_28
- part_29.CanCollide = false
- part_29.Size = Vector3.new(0.078, 0.22, 0.186)
- part_29.BottomSurface = Enum.SurfaceType.Smooth
- part_29.Orientation = Vector3.new(0, 180, 3.79)
- part_29.Material = Enum.Material.SmoothPlastic
- part_29.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_29.BrickColor = BrickColor.new("Black")
- part_29.Velocity = Vector3.new(0, -730.031, 0)
- part_29.TopSurface = Enum.SurfaceType.Smooth
- part_29.Parent = m4a1
- part_29.CFrame = CFrame.new(-133.667, 1.168, -16.888) * CFrame.Angles(-3.142, 0, -3.075)
- weld_30.Part0 = mainpart
- weld_30.C1 = CFrame.new(-0.088, 0.336, 0.004) * CFrame.Angles(-1.571, -1.505, -1.571)
- weld_30.Part1 = part_29
- weld_30.Parent = part_29
- part_30.CanCollide = false
- part_30.Size = Vector3.new(0.081, 0.297, 0.217)
- part_30.BottomSurface = Enum.SurfaceType.Smooth
- part_30.Orientation = Vector3.new(0, 0, 62.97)
- part_30.Material = Enum.Material.SmoothPlastic
- part_30.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_30.BrickColor = BrickColor.new("Black")
- part_30.Velocity = Vector3.new(0, -730.031, 0)
- part_30.TopSurface = Enum.SurfaceType.Smooth
- part_30.Parent = m4a1
- part_30.CFrame = CFrame.new(-133.677, 0.243, -16.888) * CFrame.Angles(0, 0, 1.099)
- weld_31.Part0 = mainpart
- weld_31.C1 = CFrame.new(1.172, 0.464, -0.004) * CFrame.Angles(1.571, 0.472, -1.571)
- weld_31.Part1 = part_30
- weld_31.Parent = part_30
- part_31.CanCollide = false
- part_31.Size = Vector3.new(0.592, 0.257, 0.217)
- part_31.BottomSurface = Enum.SurfaceType.Smooth
- part_31.Orientation = Vector3.new(0, 0, 62.97)
- part_31.Material = Enum.Material.SmoothPlastic
- part_31.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_31.BrickColor = BrickColor.new("Black")
- part_31.Velocity = Vector3.new(0, -730.031, 0)
- part_31.TopSurface = Enum.SurfaceType.Smooth
- part_31.Parent = m4a1
- part_31.CFrame = CFrame.new(-133.579, 0.48, -16.888) * CFrame.Angles(0, 0, 1.099)
- weld_32.Part0 = mainpart
- weld_32.C1 = CFrame.new(0.917, 0.444, -0.004) * CFrame.Angles(1.571, 0.472, -1.571)
- weld_32.Part1 = part_31
- weld_32.Parent = part_31
- part_32.CanCollide = false
- part_32.Size = Vector3.new(0.216, 0.05, 0.082)
- part_32.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_32.Material = Enum.Material.SmoothPlastic
- part_32.BottomSurface = Enum.SurfaceType.Smooth
- part_32.BrickColor = BrickColor.new("Fossil")
- part_32.TopSurface = Enum.SurfaceType.Smooth
- part_32.Velocity = Vector3.new(0, -730.031, 0)
- part_32.Parent = m4a1
- part_32.CFrame = CFrame.new(-133.614, 1.34, -16.889) * CFrame.Angles(0, 0, 0)
- mesh_10.Scale = Vector3.new(1, 0.864, 1)
- mesh_10.Parent = part_32
- weld_33.Part0 = mainpart
- weld_33.C1 = CFrame.new(0.057, 0.158, -0.003) * CFrame.Angles(0, 1.571, 0)
- weld_33.Part1 = part_32
- weld_33.Parent = part_32
- part_33.CanCollide = false
- part_33.Size = Vector3.new(0.095, 0.05, 0.186)
- part_33.BottomSurface = Enum.SurfaceType.Smooth
- part_33.Orientation = Vector3.new(0, 0, 75.87)
- part_33.Material = Enum.Material.SmoothPlastic
- part_33.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_33.BrickColor = BrickColor.new("Black")
- part_33.Velocity = Vector3.new(0, -730.031, 0)
- part_33.TopSurface = Enum.SurfaceType.Smooth
- part_33.Parent = m4a1
- part_33.CFrame = CFrame.new(-132.784, 1.468, -16.888) * CFrame.Angles(0, 0, 1.324)
- mesh_11.Scale = Vector3.new(1, 0.864, 1)
- mesh_11.Parent = part_33
- weld_34.Part0 = mainpart
- weld_34.C1 = CFrame.new(-0.16, 0.757, -0.004) * CFrame.Angles(1.571, 0.247, -1.571)
- weld_34.Part1 = part_33
- weld_34.Parent = part_33
- part_34.CanCollide = false
- part_34.Size = Vector3.new(0.164, 0.22, 0.186)
- part_34.BottomSurface = Enum.SurfaceType.Smooth
- part_34.Orientation = Vector3.new(0, 180, 65.69)
- part_34.Material = Enum.Material.SmoothPlastic
- part_34.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_34.BrickColor = BrickColor.new("Black")
- part_34.Velocity = Vector3.new(0, -730.031, 0)
- part_34.TopSurface = Enum.SurfaceType.Smooth
- part_34.Parent = m4a1
- part_34.CFrame = CFrame.new(-133.481, 1.058, -16.888) * CFrame.Angles(-3.142, 0, -1.995)
- weld_35.Part0 = mainpart
- weld_35.C1 = CFrame.new(0.432, 0.111, 0.004) * CFrame.Angles(-1.571, -0.424, -1.571)
- weld_35.Part1 = part_34
- weld_35.Parent = part_34
- part_35.CanCollide = false
- part_35.Size = Vector3.new(0.095, 0.05, 0.186)
- part_35.BottomSurface = Enum.SurfaceType.Smooth
- part_35.Orientation = Vector3.new(0, 0, 30.09)
- part_35.Material = Enum.Material.SmoothPlastic
- part_35.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_35.BrickColor = BrickColor.new("Black")
- part_35.Velocity = Vector3.new(0, -730.031, 0)
- part_35.TopSurface = Enum.SurfaceType.Smooth
- part_35.Parent = m4a1
- part_35.CFrame = CFrame.new(-132.714, 1.417, -16.888) * CFrame.Angles(0, 0, 0.525)
- mesh_12.Scale = Vector3.new(1, 0.864, 1)
- mesh_12.Parent = part_35
- weld_36.Part0 = mainpart
- weld_36.C1 = CFrame.new(-0.689, 0.493, -0.004) * CFrame.Angles(1.571, 1.046, -1.571)
- weld_36.Part1 = part_35
- weld_36.Parent = part_35
- part_36.CanCollide = false
- part_36.Size = Vector3.new(0.259, 0.426, 0.164)
- part_36.BottomSurface = Enum.SurfaceType.Smooth
- part_36.Orientation = Vector3.new(0, 180, 85.94)
- part_36.Material = Enum.Material.SmoothPlastic
- part_36.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_36.BrickColor = BrickColor.new("Fossil")
- part_36.Velocity = Vector3.new(0, -730.031, 0)
- part_36.TopSurface = Enum.SurfaceType.Smooth
- part_36.Parent = m4a1
- part_36.CFrame = CFrame.new(-132.829, 0.603, -16.888) * CFrame.Angles(-3.142, 0, -1.642)
- weld_37.Part0 = mainpart
- weld_37.C1 = CFrame.new(0.945, -0.663, 0.004) * CFrame.Angles(-1.571, -0.071, -1.571)
- weld_37.Part1 = part_36
- weld_37.Parent = part_36
- part_37.CanCollide = false
- part_37.Size = Vector3.new(0.294, 0.445, 0.177)
- part_37.BottomSurface = Enum.SurfaceType.Smooth
- part_37.Orientation = Vector3.new(0, 180, 85.94)
- part_37.Material = Enum.Material.SmoothPlastic
- part_37.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_37.BrickColor = BrickColor.new("Black")
- part_37.Velocity = Vector3.new(0, -730.031, 0)
- part_37.TopSurface = Enum.SurfaceType.Smooth
- part_37.Parent = m4a1
- part_37.CFrame = CFrame.new(-132.849, 0.843, -16.892) * CFrame.Angles(-3.142, 0, -1.642)
- weld_38.Part0 = mainpart
- weld_38.C1 = CFrame.new(0.704, -0.66, 0) * CFrame.Angles(-1.571, -0.071, -1.571)
- weld_38.Part1 = part_37
- weld_38.Parent = part_37
- part_38.CanCollide = false
- part_38.Size = Vector3.new(0.095, 0.05, 0.186)
- part_38.BottomSurface = Enum.SurfaceType.Smooth
- part_38.Orientation = Vector3.new(0, 0, 15.23)
- part_38.Material = Enum.Material.SmoothPlastic
- part_38.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_38.BrickColor = BrickColor.new("Black")
- part_38.Velocity = Vector3.new(0, -730.031, 0)
- part_38.TopSurface = Enum.SurfaceType.Smooth
- part_38.Parent = m4a1
- part_38.CFrame = CFrame.new(-132.702, 1.389, -16.888) * CFrame.Angles(0, 0, 0.266)
- mesh_13.Scale = Vector3.new(1, 0.864, 1)
- mesh_13.Parent = part_38
- weld_39.Part0 = mainpart
- weld_39.C1 = CFrame.new(-0.796, 0.33, -0.004) * CFrame.Angles(1.571, 1.305, -1.571)
- weld_39.Part1 = part_38
- weld_39.Parent = part_38
- part_39.CanCollide = false
- part_39.Size = Vector3.new(0.05, 0.05, 0.078)
- part_39.BottomSurface = Enum.SurfaceType.Smooth
- part_39.Orientation = Vector3.new(0, 0, -75.27)
- part_39.Material = Enum.Material.SmoothPlastic
- part_39.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_39.BrickColor = BrickColor.new("Black")
- part_39.Velocity = Vector3.new(0, -730.031, 0)
- part_39.TopSurface = Enum.SurfaceType.Smooth
- part_39.Parent = m4a1
- part_39.CFrame = CFrame.new(-133.256, 0.801, -16.888) * CFrame.Angles(0, 0, -1.314)
- mesh_14.Scale = Vector3.new(0.864, 0.864, 1)
- mesh_14.Parent = part_39
- weld_40.Part0 = mainpart
- weld_40.C1 = CFrame.new(-0.75, -0.114, -0.004) * CFrame.Angles(-1.571, 0.257, 1.571)
- weld_40.Part1 = part_39
- weld_40.Parent = part_39
- part_40.CanCollide = false
- part_40.Shape = Enum.PartType.Cylinder
- part_40.Size = Vector3.new(0.05, 0.083, 0.099)
- part_40.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_40.Orientation = Vector3.new(0, 0, 90)
- part_40.Material = Enum.Material.SmoothPlastic
- part_40.BrickColor = BrickColor.new("Fossil")
- part_40.BottomSurface = Enum.SurfaceType.Smooth
- part_40.Velocity = Vector3.new(0, -730.031, 0)
- part_40.TopSurface = Enum.SurfaceType.Smooth
- part_40.Parent = m4a1
- part_40.CFrame = CFrame.new(-133.735, 1.34, -17) * CFrame.Angles(0, 0, 1.571)
- mesh_15.Scale = Vector3.new(0.864, 1, 1)
- mesh_15.MeshType = Enum.MeshType.Cylinder
- mesh_15.Parent = part_40
- weld_41.Part0 = mainpart
- weld_41.C1 = CFrame.new(0.158, -0.178, 0.107) * CFrame.Angles(1.571, 0, -1.571)
- weld_41.Part1 = part_40
- weld_41.Parent = part_40
- part_41.CanCollide = false
- part_41.Size = Vector3.new(0.777, 0.289, 0.186)
- part_41.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_41.Material = Enum.Material.SmoothPlastic
- part_41.BottomSurface = Enum.SurfaceType.Smooth
- part_41.BrickColor = BrickColor.new("Black")
- part_41.TopSurface = Enum.SurfaceType.Smooth
- part_41.Velocity = Vector3.new(0, -730.031, 0)
- part_41.Parent = m4a1
- part_41.CFrame = CFrame.new(-133.022, 1.034, -16.888) * CFrame.Angles(0, 0, 0)
- weld_42.Part0 = mainpart
- weld_42.C1 = CFrame.new(-0.536, 0.464, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_42.Part1 = part_41
- weld_42.Parent = part_41
- part_42.CanCollide = false
- part_42.Size = Vector3.new(0.05, 0.327, 0.217)
- part_42.BottomSurface = Enum.SurfaceType.Smooth
- part_42.Orientation = Vector3.new(0, 0, 62.97)
- part_42.Material = Enum.Material.SmoothPlastic
- part_42.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_42.BrickColor = BrickColor.new("Black")
- part_42.Velocity = Vector3.new(0, -730.031, 0)
- part_42.TopSurface = Enum.SurfaceType.Smooth
- part_42.Parent = m4a1
- part_42.CFrame = CFrame.new(-133.67, 0.223, -16.888) * CFrame.Angles(0, 0, 1.099)
- weld_43.Part0 = mainpart
- weld_43.C1 = CFrame.new(1.188, 0.479, -0.004) * CFrame.Angles(1.571, 0.472, -1.571)
- weld_43.Part1 = part_42
- weld_43.Parent = part_42
- part_43.CanCollide = false
- part_43.Shape = Enum.PartType.Cylinder
- part_43.Size = Vector3.new(0.086, 0.11, 0.11)
- part_43.Color = Color3.new(0.623529, 0.631373, 0.67451)
- part_43.Orientation = Vector3.new(0, 90, 0)
- part_43.Material = Enum.Material.SmoothPlastic
- part_43.BrickColor = BrickColor.new("Fossil")
- part_43.BottomSurface = Enum.SurfaceType.Smooth
- part_43.Velocity = Vector3.new(0, -730.031, 0)
- part_43.TopSurface = Enum.SurfaceType.Smooth
- part_43.Parent = m4a1
- part_43.CFrame = CFrame.new(-133.371, 1.032, -16.821) * CFrame.Angles(0, 1.571, 0)
- weld_44.Part0 = mainpart
- weld_44.C1 = CFrame.new(0.071, 0.466, -0.186) * CFrame.Angles(0, 0, 0)
- weld_44.Part1 = part_43
- weld_44.Parent = part_43
- part_44.CanCollide = false
- part_44.Shape = Enum.PartType.Cylinder
- part_44.Size = Vector3.new(1.814, 0.143, 0.143)
- part_44.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_44.Material = Enum.Material.SmoothPlastic
- part_44.BottomSurface = Enum.SurfaceType.Smooth
- part_44.BrickColor = BrickColor.new("Black")
- part_44.TopSurface = Enum.SurfaceType.Smooth
- part_44.Velocity = Vector3.new(0, -730.031, 0)
- part_44.Parent = m4a1
- part_44.CFrame = CFrame.new(-131.769, 1.118, -16.888) * CFrame.Angles(0, 0, 0)
- weld_45.Part0 = mainpart
- weld_45.C1 = CFrame.new(-1.788, 0.38, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_45.Part1 = part_44
- weld_45.Parent = part_44
- part_45.CanCollide = false
- part_45.Size = Vector3.new(0.069, 0.069, 0.13)
- part_45.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_45.Material = Enum.Material.SmoothPlastic
- part_45.BottomSurface = Enum.SurfaceType.Smooth
- part_45.BrickColor = BrickColor.new("Black")
- part_45.TopSurface = Enum.SurfaceType.Smooth
- part_45.Velocity = Vector3.new(0, -730.031, 0)
- part_45.Parent = m4a1
- part_45.CFrame = CFrame.new(-133.108, 0.716, -16.888) * CFrame.Angles(0, 0, 0)
- weld_46.Part0 = mainpart
- weld_46.C1 = CFrame.new(-0.449, 0.782, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_46.Part1 = part_45
- weld_46.Parent = part_45
- part_46.CanCollide = false
- part_46.Size = Vector3.new(1.071, 0.216, 0.186)
- part_46.BottomSurface = Enum.SurfaceType.Smooth
- part_46.Orientation = Vector3.new(0, 0, 0.42)
- part_46.Material = Enum.Material.SmoothPlastic
- part_46.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_46.BrickColor = BrickColor.new("Black")
- part_46.Velocity = Vector3.new(0, -730.031, 0)
- part_46.TopSurface = Enum.SurfaceType.Smooth
- part_46.Parent = m4a1
- part_46.CFrame = CFrame.new(-134.504, 1.125, -16.888) * CFrame.Angles(0, 0, 0.007)
- weld_47.Part0 = mainpart
- weld_47.C1 = CFrame.new(0.949, 0.366, -0.004) * CFrame.Angles(1.571, 1.563, -1.571)
- weld_47.Part1 = part_46
- weld_47.Parent = part_46
- part_47.CanCollide = false
- part_47.Size = Vector3.new(0.708, 0.13, 0.186)
- part_47.BottomSurface = Enum.SurfaceType.Smooth
- part_47.Orientation = Vector3.new(0, 180, 81.91)
- part_47.Material = Enum.Material.SmoothPlastic
- part_47.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_47.BrickColor = BrickColor.new("Black")
- part_47.Velocity = Vector3.new(0, -730.031, 0)
- part_47.TopSurface = Enum.SurfaceType.Smooth
- part_47.Parent = m4a1
- part_47.CFrame = CFrame.new(-135.078, 0.87, -16.888) * CFrame.Angles(-3.142, 0, -1.712)
- weld_48.Part0 = mainpart
- weld_48.C1 = CFrame.new(0.408, 1.594, 0.004) * CFrame.Angles(-1.571, -0.141, -1.571)
- weld_48.Part1 = part_47
- weld_48.Parent = part_47
- part_48.CanCollide = false
- part_48.Shape = Enum.PartType.Cylinder
- part_48.Size = Vector3.new(0.259, 0.05, 0.05)
- part_48.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_48.Material = Enum.Material.SmoothPlastic
- part_48.BottomSurface = Enum.SurfaceType.Smooth
- part_48.BrickColor = BrickColor.new("Black")
- part_48.TopSurface = Enum.SurfaceType.Smooth
- part_48.Velocity = Vector3.new(0, -730.031, 0)
- part_48.Parent = m4a1
- part_48.CFrame = CFrame.new(-131.194, 1.249, -16.875) * CFrame.Angles(0, 0, 0)
- mesh_16.Scale = Vector3.new(1, 0.869, 0.869)
- mesh_16.MeshType = Enum.MeshType.Cylinder
- mesh_16.Parent = part_48
- weld_49.Part0 = mainpart
- weld_49.C1 = CFrame.new(-2.363, 0.249, -0.017) * CFrame.Angles(0, 1.571, 0)
- weld_49.Part1 = part_48
- weld_49.Parent = part_48
- part_49.CanCollide = false
- part_49.Size = Vector3.new(0.57, 0.05, 0.05)
- part_49.BottomSurface = Enum.SurfaceType.Smooth
- part_49.Orientation = Vector3.new(0, 0, 89.94)
- part_49.Material = Enum.Material.SmoothPlastic
- part_49.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_49.BrickColor = BrickColor.new("Black")
- part_49.Velocity = Vector3.new(0, -730.031, 0)
- part_49.TopSurface = Enum.SurfaceType.Smooth
- part_49.Parent = m4a1
- part_49.CFrame = CFrame.new(-131.048, 1.265, -16.875) * CFrame.Angles(0, 0, 1.57)
- mesh_17.Scale = Vector3.new(1, 0.864, 0.864)
- mesh_17.Parent = part_49
- weld_50.Part0 = mainpart
- weld_50.C1 = CFrame.new(0.23, 2.51, -0.017) * CFrame.Angles(1.571, 0.001, -1.571)
- weld_50.Part1 = part_49
- weld_50.Parent = part_49
- part_50.CanCollide = false
- part_50.Size = Vector3.new(0.177, 0.052, 0.229)
- part_50.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_50.Orientation = Vector3.new(52.77, 90.99, -180)
- part_50.Material = Enum.Material.Metal
- part_50.BrickColor = BrickColor.new("Black")
- part_50.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.Velocity = Vector3.new(0, -730.031, 0)
- part_50.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.Parent = m4a1
- part_50.CFrame = CFrame.new(-132.446, 0.86, -16.863) * CFrame.Angles(1.584, 0.65, 1.549)
- weld_51.Part0 = mainpart
- weld_51.C1 = CFrame.new(-0.048, 0.498, -1.18) * CFrame.Angles(0.921, 0.017, 3.142)
- weld_51.Part1 = part_50
- weld_51.Parent = part_50
- part_51.CanCollide = false
- part_51.Size = Vector3.new(0.177, 0.052, 0.067)
- part_51.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_51.Orientation = Vector3.new(37.77, 90.99, -180)
- part_51.Material = Enum.Material.Metal
- part_51.BrickColor = BrickColor.new("Black")
- part_51.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.Velocity = Vector3.new(0, -730.031, 0)
- part_51.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.Parent = m4a1
- part_51.CFrame = CFrame.new(-132.355, 0.754, -16.865) * CFrame.Angles(1.593, 0.911, 1.543)
- weld_52.Part0 = mainpart
- weld_52.C1 = CFrame.new(-0.048, 0.148, -1.405) * CFrame.Angles(0.659, 0.017, 3.142)
- weld_52.Part1 = part_51
- weld_52.Parent = part_51
- part_52.CanCollide = false
- part_52.Size = Vector3.new(0.177, 0.05, 0.052)
- part_52.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_52.Orientation = Vector3.new(45, 90.99, -180)
- part_52.Material = Enum.Material.Metal
- part_52.BrickColor = BrickColor.new("Black")
- part_52.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.Velocity = Vector3.new(0, -730.031, 0)
- part_52.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.Parent = m4a1
- part_52.CFrame = CFrame.new(-132.264, 0.934, -16.867) * CFrame.Angles(1.588, 0.785, 1.546)
- mesh_18.Scale = Vector3.new(1, 0.831, 1)
- mesh_18.Parent = part_52
- weld_53.Part0 = mainpart
- weld_53.C1 = CFrame.new(-0.048, 0.515, -1.313) * CFrame.Angles(0.785, 0.017, 3.142)
- weld_53.Part1 = part_52
- weld_53.Parent = part_52
- part_53.CanCollide = false
- part_53.Size = Vector3.new(0.177, 0.052, 0.094)
- part_53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_53.Orientation = Vector3.new(60, -89.01, 0)
- part_53.Material = Enum.Material.Metal
- part_53.BrickColor = BrickColor.new("Black")
- part_53.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.Velocity = Vector3.new(0, -730.031, 0)
- part_53.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.Parent = m4a1
- part_53.CFrame = CFrame.new(-132.238, 0.912, -16.867) * CFrame.Angles(1.561, -0.524, 1.551)
- weld_54.Part0 = mainpart
- weld_54.C1 = CFrame.new(-0.048, 1.435, 0.152) * CFrame.Angles(2.094, 0.017, 3.142)
- weld_54.Part1 = part_53
- weld_54.Parent = part_53
- part_54.CanCollide = false
- part_54.Size = Vector3.new(0.177, 0.05, 0.249)
- part_54.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_54.Orientation = Vector3.new(0, -89.01, 0)
- part_54.Material = Enum.Material.Metal
- part_54.BrickColor = BrickColor.new("Black")
- part_54.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.Velocity = Vector3.new(0, -730.031, 0)
- part_54.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.Parent = m4a1
- part_54.CFrame = CFrame.new(-132.396, 0.943, -16.864) * CFrame.Angles(-0.003, -1.554, -0.003)
- mesh_19.Scale = Vector3.new(1, 0.831, 1)
- mesh_19.Parent = part_54
- weld_55.Part0 = mainpart
- weld_55.C1 = CFrame.new(-0.048, 0.555, 1.161) * CFrame.Angles(-3.142, 0.017, 3.142)
- weld_55.Part1 = part_54
- weld_55.Parent = part_54
- part_55.CanCollide = false
- part_55.Size = Vector3.new(0.177, 0.052, 0.052)
- part_55.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_55.Orientation = Vector3.new(52.77, 90.99, -180)
- part_55.Material = Enum.Material.Metal
- part_55.BrickColor = BrickColor.new("Black")
- part_55.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.Velocity = Vector3.new(0, -730.031, 0)
- part_55.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.Parent = m4a1
- part_55.CFrame = CFrame.new(-132.524, 0.964, -16.862) * CFrame.Angles(1.584, 0.65, 1.549)
- weld_56.Part0 = mainpart
- weld_56.C1 = CFrame.new(-0.048, 0.498, -1.05) * CFrame.Angles(0.921, 0.017, 3.142)
- weld_56.Part1 = part_55
- weld_56.Parent = part_55
- part_56.CanCollide = false
- part_56.Size = Vector3.new(0.177, 0.052, 0.426)
- part_56.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_56.Orientation = Vector3.new(30, -89.01, 0)
- part_56.Material = Enum.Material.Metal
- part_56.BrickColor = BrickColor.new("Black")
- part_56.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.Velocity = Vector3.new(0, -730.031, 0)
- part_56.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.Parent = m4a1
- part_56.CFrame = CFrame.new(-132.212, 0.894, -16.867) * CFrame.Angles(1.541, -1.047, 1.536)
- weld_57.Part0 = mainpart
- weld_57.C1 = CFrame.new(-0.048, 1.196, 0.862) * CFrame.Angles(2.618, 0.017, 3.142)
- weld_57.Part1 = part_56
- weld_57.Parent = part_56
- part_57.CanCollide = false
- part_57.Size = Vector3.new(0.177, 0.125, 0.05)
- part_57.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_57.Orientation = Vector3.new(90, -89.01, 0)
- part_57.Material = Enum.Material.Metal
- part_57.BrickColor = BrickColor.new("Black")
- part_57.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.Velocity = Vector3.new(0, -730.031, 0)
- part_57.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.Parent = m4a1
- part_57.CFrame = CFrame.new(-132.201, 0.948, -16.868) * CFrame.Angles(1.571, 0, 1.554)
- mesh_20.Scale = Vector3.new(1, 1, 0.831)
- mesh_20.Parent = part_57
- weld_58.Part0 = mainpart
- weld_58.C1 = CFrame.new(-0.048, 1.355, -0.55) * CFrame.Angles(1.571, 0.017, 3.142)
- weld_58.Part1 = part_57
- weld_58.Parent = part_57
- part_58.CanCollide = false
- part_58.Size = Vector3.new(0.177, 0.05, 0.475)
- part_58.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_58.Orientation = Vector3.new(0, -89.01, 0)
- part_58.Material = Enum.Material.Metal
- part_58.BrickColor = BrickColor.new("Black")
- part_58.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.Velocity = Vector3.new(0, -730.031, 0)
- part_58.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.Parent = m4a1
- part_58.CFrame = CFrame.new(-132.369, 0.975, -16.865) * CFrame.Angles(-0.003, -1.554, -0.003)
- mesh_21.Scale = Vector3.new(1, 0.447, 1)
- mesh_21.Parent = part_58
- weld_59.Part0 = mainpart
- weld_59.C1 = CFrame.new(-0.048, 0.523, 1.188) * CFrame.Angles(-3.142, 0.017, 3.142)
- weld_59.Part1 = part_58
- weld_59.Parent = part_58
- part_59.CanCollide = false
- part_59.Size = Vector3.new(0.177, 0.062, 0.114)
- part_59.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_59.Orientation = Vector3.new(0, 90.99, 0)
- part_59.Material = Enum.Material.Metal
- part_59.BrickColor = BrickColor.new("Black")
- part_59.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.Velocity = Vector3.new(0, -730.031, 0)
- part_59.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.Parent = m4a1
- part_59.CFrame = CFrame.new(-132.131, 0.995, -16.869) * CFrame.Angles(3.139, 1.553, -3.139)
- mesh_22.MeshType = Enum.MeshType.Wedge
- mesh_22.Parent = part_59
- weld_60.Part0 = mainpart
- weld_60.C1 = CFrame.new(0.048, 0.503, -1.426) * CFrame.Angles(0, -0.017, 0)
- weld_60.Part1 = part_59
- weld_60.Parent = part_59
- part_60.CanCollide = false
- part_60.Size = Vector3.new(0.177, 0.052, 0.249)
- part_60.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_60.Orientation = Vector3.new(0, -89.01, 0)
- part_60.Material = Enum.Material.Metal
- part_60.BrickColor = BrickColor.new("Black")
- part_60.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.Velocity = Vector3.new(0, -730.031, 0)
- part_60.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.Parent = m4a1
- part_60.CFrame = CFrame.new(-131.949, 1, -16.872) * CFrame.Angles(-0.003, -1.554, -0.003)
- weld_61.Part0 = mainpart
- weld_61.C1 = CFrame.new(-0.048, 0.498, 1.607) * CFrame.Angles(-3.142, 0.017, 3.142)
- weld_61.Part1 = part_60
- weld_61.Parent = part_60
- part_61.CanCollide = false
- part_61.Size = Vector3.new(0.177, 0.05, 0.05)
- part_61.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_61.Orientation = Vector3.new(0, 90.99, -180)
- part_61.Material = Enum.Material.Metal
- part_61.BrickColor = BrickColor.new("Black")
- part_61.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.Velocity = Vector3.new(0, -730.031, 0)
- part_61.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.Parent = m4a1
- part_61.CFrame = CFrame.new(-131.877, 0.964, -16.873) * CFrame.Angles(3.139, 1.554, 0.003)
- mesh_23.Scale = Vector3.new(1, 0.416, 0.416)
- mesh_23.MeshType = Enum.MeshType.Wedge
- mesh_23.Parent = part_61
- weld_62.Part0 = mainpart
- weld_62.C1 = CFrame.new(-0.048, -0.534, -1.68) * CFrame.Angles(0, 0.017, 3.142)
- weld_62.Part1 = part_61
- weld_62.Parent = part_61
- part_62.CanCollide = false
- part_62.Size = Vector3.new(0.177, 0.114, 0.05)
- part_62.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_62.Orientation = Vector3.new(0, 90.99, -180)
- part_62.Material = Enum.Material.Metal
- part_62.BrickColor = BrickColor.new("Black")
- part_62.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.Velocity = Vector3.new(0, -730.031, 0)
- part_62.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.Parent = m4a1
- part_62.CFrame = CFrame.new(-131.861, 0.917, -16.874) * CFrame.Angles(3.139, 1.554, 0.003)
- mesh_24.Scale = Vector3.new(1, 1, 0.623)
- mesh_24.MeshType = Enum.MeshType.Wedge
- mesh_24.Parent = part_62
- weld_63.Part0 = mainpart
- weld_63.C1 = CFrame.new(-0.048, -0.581, -1.696) * CFrame.Angles(0, 0.017, 3.142)
- weld_63.Part1 = part_62
- weld_63.Parent = part_62
- part_63.CanCollide = false
- part_63.Size = Vector3.new(0.177, 0.05, 0.114)
- part_63.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_63.Orientation = Vector3.new(-90, -89.01, 0)
- part_63.Material = Enum.Material.Metal
- part_63.BrickColor = BrickColor.new("Black")
- part_63.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.Velocity = Vector3.new(0, -730.031, 0)
- part_63.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.Parent = m4a1
- part_63.CFrame = CFrame.new(-131.825, 0.917, -16.874) * CFrame.Angles(-1.571, 0, -1.554)
- mesh_25.Scale = Vector3.new(1, 0.831, 1)
- mesh_25.Parent = part_63
- weld_64.Part0 = mainpart
- weld_64.C1 = CFrame.new(-0.048, -1.732, 0.581) * CFrame.Angles(-1.571, 0.017, 3.142)
- weld_64.Part1 = part_63
- weld_64.Parent = part_63
- part_64.CanCollide = false
- part_64.Size = Vector3.new(0.177, 0.05, 0.05)
- part_64.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_64.Orientation = Vector3.new(0, -89.01, 0)
- part_64.Material = Enum.Material.Metal
- part_64.BrickColor = BrickColor.new("Black")
- part_64.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.Velocity = Vector3.new(0, -730.031, 0)
- part_64.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.Parent = m4a1
- part_64.CFrame = CFrame.new(-131.809, 0.99, -16.874) * CFrame.Angles(-0.003, -1.554, -0.003)
- mesh_26.Scale = Vector3.new(1, 0.623, 0.623)
- mesh_26.Parent = part_64
- weld_65.Part0 = mainpart
- weld_65.C1 = CFrame.new(-0.048, 0.508, 1.748) * CFrame.Angles(-3.142, 0.017, 3.142)
- weld_65.Part1 = part_64
- weld_65.Parent = part_64
- part_65.CanCollide = false
- part_65.Size = Vector3.new(0.177, 0.05, 0.114)
- part_65.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_65.Orientation = Vector3.new(-90, -89.01, 0)
- part_65.Material = Enum.Material.Metal
- part_65.BrickColor = BrickColor.new("Black")
- part_65.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.Velocity = Vector3.new(0, -730.031, 0)
- part_65.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.Parent = m4a1
- part_65.CFrame = CFrame.new(-131.799, 0.917, -16.875) * CFrame.Angles(-1.571, 0, -1.554)
- mesh_27.Scale = Vector3.new(1, 0.208, 1)
- mesh_27.MeshType = Enum.MeshType.Wedge
- mesh_27.Parent = part_65
- weld_66.Part0 = mainpart
- weld_66.C1 = CFrame.new(-0.048, -1.758, 0.581) * CFrame.Angles(-1.571, 0.017, 3.142)
- weld_66.Part1 = part_65
- weld_66.Parent = part_65
- part_66.CanCollide = false
- part_66.Size = Vector3.new(0.135, 0.062, 0.407)
- part_66.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_66.Orientation = Vector3.new(30, -89.01, 0)
- part_66.Material = Enum.Material.Grass
- part_66.BrickColor = BrickColor.new("Black")
- part_66.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.Velocity = Vector3.new(0, -730.031, 0)
- part_66.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.Parent = m4a1
- part_66.CFrame = CFrame.new(-132.186, 0.866, -16.868) * CFrame.Angles(1.541, -1.047, 1.536)
- weld_67.Part0 = mainpart
- weld_67.C1 = CFrame.new(-0.048, 1.232, 0.871) * CFrame.Angles(2.618, 0.017, 3.142)
- weld_67.Part1 = part_66
- weld_67.Parent = part_66
- part_67.CanCollide = false
- part_67.Shape = Enum.PartType.Cylinder
- part_67.Size = Vector3.new(0.32, 0.187, 0.187)
- part_67.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_67.Material = Enum.Material.SmoothPlastic
- part_67.BottomSurface = Enum.SurfaceType.Smooth
- part_67.BrickColor = BrickColor.new("Black")
- part_67.TopSurface = Enum.SurfaceType.Smooth
- part_67.Velocity = Vector3.new(0, -730.031, 0)
- part_67.Parent = m4a1
- part_67.CFrame = CFrame.new(-130.804, 1.118, -16.888) * CFrame.Angles(0, 0, 0)
- weld_68.Part0 = mainpart
- weld_68.C1 = CFrame.new(-2.754, 0.38, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_68.Part1 = part_67
- weld_68.Parent = part_67
- part_68.CanCollide = false
- part_68.Size = Vector3.new(0.155, 0.216, 0.186)
- part_68.BottomSurface = Enum.SurfaceType.Smooth
- part_68.Orientation = Vector3.new(0, 0, 24.64)
- part_68.Material = Enum.Material.SmoothPlastic
- part_68.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_68.BrickColor = BrickColor.new("Black")
- part_68.Velocity = Vector3.new(0, -730.031, 0)
- part_68.TopSurface = Enum.SurfaceType.Smooth
- part_68.Parent = m4a1
- part_68.CFrame = CFrame.new(-134.201, 1.102, -16.888) * CFrame.Angles(0, 0, 0.43)
- weld_69.Part0 = mainpart
- weld_69.C1 = CFrame.new(0.751, 0.091, -0.004) * CFrame.Angles(1.571, 1.141, -1.571)
- weld_69.Part1 = part_68
- weld_69.Parent = part_68
- part_69.CanCollide = false
- part_69.Size = Vector3.new(0.57, 0.05, 0.151)
- part_69.BottomSurface = Enum.SurfaceType.Smooth
- part_69.Orientation = Vector3.new(0, 0, 89.94)
- part_69.Material = Enum.Material.SmoothPlastic
- part_69.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_69.BrickColor = BrickColor.new("Black")
- part_69.Velocity = Vector3.new(0, -730.031, 0)
- part_69.TopSurface = Enum.SurfaceType.Smooth
- part_69.Parent = m4a1
- part_69.CFrame = CFrame.new(-131.048, 1.248, -16.875) * CFrame.Angles(0, 0, 1.57)
- mesh_28.Scale = Vector3.new(1, 0.864, 1)
- mesh_28.Parent = part_69
- weld_70.Part0 = mainpart
- weld_70.C1 = CFrame.new(0.248, 2.51, -0.017) * CFrame.Angles(1.571, 0.001, -1.571)
- weld_70.Part1 = part_69
- weld_70.Parent = part_69
- part_70.CanCollide = false
- part_70.Size = Vector3.new(0.423, 0.052, 0.151)
- part_70.BottomSurface = Enum.SurfaceType.Smooth
- part_70.Orientation = Vector3.new(0, 0, 58.2)
- part_70.Material = Enum.Material.SmoothPlastic
- part_70.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_70.BrickColor = BrickColor.new("Black")
- part_70.Velocity = Vector3.new(0, -730.031, 0)
- part_70.TopSurface = Enum.SurfaceType.Smooth
- part_70.Parent = m4a1
- part_70.CFrame = CFrame.new(-131.158, 1.335, -16.875) * CFrame.Angles(0, 0, 1.016)
- weld_71.Part0 = mainpart
- weld_71.C1 = CFrame.new(-1.125, 2.125, -0.017) * CFrame.Angles(1.571, 0.555, -1.571)
- weld_71.Part1 = part_70
- weld_71.Parent = part_70
- part_71.CanCollide = false
- part_71.Shape = Enum.PartType.Cylinder
- part_71.Size = Vector3.new(1.486, 0.194, 0.194)
- part_71.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_71.Material = Enum.Material.SmoothPlastic
- part_71.BottomSurface = Enum.SurfaceType.Smooth
- part_71.BrickColor = BrickColor.new("Black")
- part_71.TopSurface = Enum.SurfaceType.Smooth
- part_71.Velocity = Vector3.new(0, -730.031, 0)
- part_71.Parent = m4a1
- part_71.CFrame = CFrame.new(-134.447, 1.222, -16.888) * CFrame.Angles(0, 0, 0)
- weld_72.Part0 = mainpart
- weld_72.C1 = CFrame.new(0.89, 0.276, -0.004) * CFrame.Angles(0, 1.571, 0)
- weld_72.Part1 = part_71
- weld_72.Parent = part_71
- part_72.CanCollide = false
- part_72.Size = Vector3.new(0.76, 0.406, 0.186)
- part_72.BottomSurface = Enum.SurfaceType.Smooth
- part_72.Orientation = Vector3.new(0, 0, 0.42)
- part_72.Material = Enum.Material.SmoothPlastic
- part_72.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_72.BrickColor = BrickColor.new("Black")
- part_72.Velocity = Vector3.new(0, -730.031, 0)
- part_72.TopSurface = Enum.SurfaceType.Smooth
- part_72.Parent = m4a1
- part_72.CFrame = CFrame.new(-134.658, 1.029, -16.888) * CFrame.Angles(0, 0, 0.007)
- weld_73.Part0 = mainpart
- weld_73.C1 = CFrame.new(1.105, 0.461, -0.004) * CFrame.Angles(1.571, 1.563, -1.571)
- weld_73.Part1 = part_72
- weld_73.Parent = part_72
- part_73.CanCollide = false
- part_73.Size = Vector3.new(0.155, 0.216, 0.186)
- part_73.BottomSurface = Enum.SurfaceType.Smooth
- part_73.Orientation = Vector3.new(0, 0, 61.36)
- part_73.Material = Enum.Material.SmoothPlastic
- part_73.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_73.BrickColor = BrickColor.new("Black")
- part_73.Velocity = Vector3.new(0, -730.031, 0)
- part_73.TopSurface = Enum.SurfaceType.Smooth
- part_73.Parent = m4a1
- part_73.CFrame = CFrame.new(-134.34, 0.99, -16.888) * CFrame.Angles(0, 0, 1.071)
- weld_74.Part0 = mainpart
- weld_74.C1 = CFrame.new(0.821, -0.443, -0.004) * CFrame.Angles(1.571, 0.5, -1.571)
- weld_74.Part1 = part_73
- weld_74.Parent = part_73
- part_74.CanCollide = false
- part_74.Shape = Enum.PartType.Cylinder
- part_74.Size = Vector3.new(1.157, 0.264, 0.213)
- part_74.Color = Color3.new(0.105882, 0.164706, 0.207843)
- part_74.Material = Enum.Material.SmoothPlastic
- part_74.BottomSurface = Enum.SurfaceType.Smooth
- part_74.BrickColor = BrickColor.new("Black")
- part_74.TopSurface = Enum.SurfaceType.Smooth
- part_74.Velocity = Vector3.new(0, -730.031, 0)
- part_74.Parent = m4a1
- part_74.CFrame = CFrame.new(-132.098, 1.127, -16.896) * CFrame.Angles(0, 0, 0)
- weld_75.Part0 = mainpart
- weld_75.C1 = CFrame.new(-1.46, 0.371, 0.003) * CFrame.Angles(0, 1.571, 0)
- weld_75.Part1 = part_74
- weld_75.Parent = part_74
- hlkit = Instance.new("Part")
- hlkitmesh = Instance.new("SpecialMesh")
- hlkit.Anchored = false
- hlkit.CanCollide = false
- hlkit.Size = Vector3.new(1.4, 0.7, 1.3)
- hlkit.BrickColor = BrickColor.new("Black")
- hlkit.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- hlkit.Material = Enum.Material.SmoothPlastic
- hlkit.Color = Color3.new(0.105882, 0.164706, 0.207843)
- hlkit.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- hlkit.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- hlkit.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- hlkit.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- hlkit.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- hlkit.Parent = C
- hlkit.CFrame = CFrame.new(-87.19, 0.42, -26.37) * CFrame.Angles(0, 0, 0)
- hlkitmesh.TextureId = "rbxassetid://713544439"
- hlkitmesh.MeshType = Enum.MeshType.FileMesh
- hlkitmesh.MeshId = "rbxassetid://713544434"
- hlkitmesh.Parent = hlkit
- local wlf = Instance.new("Weld",m4a1)
- wlf.Part0 = mainpart
- wlf.Part1 = RARM
- wlf.C0 = wlf.C0 * aa(rad(-90),rad(180),rad(0))
- wlf.C1 = cn(-0.2,-0.225,-0.95)
- local wlf2 = Instance.new("Weld",bat)
- wlf2.Part0 = bat
- wlf2.Part1 = RARM
- wlf2.C0 = wlf2.C0 * aa(rad(90),rad(0),rad(0))
- wlf2.C1 = cn(-0.15,-0.9,-1.2)
- bat.Parent = nil
- local wlf3 = Instance.new("Weld",hlkit)
- wlf3.Part0 = hlkit
- wlf3.Part1 = Torso
- wlf3.C0 = wlf3.C0 * aa(rad(-90),rad(0),rad(0))
- wlf3.C1 = cn(0,0.25,0.6)
- local LH = Torso:WaitForChild("Left Hip")
- local RH = Torso:WaitForChild("Right Hip")
- local RSH = Torso:WaitForChild("Right Shoulder")
- local LSH = Torso:WaitForChild("Left Shoulder")
- RH.Parent = nil
- LH.Parent = nil
- RSH.Parent = nil
- LSH.Parent = nil
- local RL = Instance.new("Weld",Torso)
- RL.Name = "Right Hip"
- RL.Part0 = Torso
- RL.C0 = cn(0, 0, 0)
- RL.C1 = cn(0.5, 1, 0) * aa(0,1.6,0)
- RL.Part1 = RLEG
- local LL = Instance.new("Weld",Torso)
- LL.Name = "Left Hip"
- LL.Part0 = Torso
- LL.C0 = cn(0, 0, 0)
- LL.C1 = cn(-0.5, 1, 0) * aa(0,-1.6,0)
- LL.Part1 = LLEG
- local RA = Instance.new("Weld",Torso)
- RA.Name = "Right Shoulder"
- RA.Part0 = Torso
- RA.C0 = cn(1.5, 0.5, 0)
- RA.C1 = cn(0, 0.5, 0)
- RA.Part1 = RARM
- local LA = Instance.new("Weld",Torso)
- LA.Name = "Left Shoulder"
- LA.Part0 = Torso
- LA.C0 = cn(-1.5, 0.5, 0)
- LA.C1 = cn(0, 0.5, 0)
- LA.Part1 = LARM
- LL.C0 = LHCF * cn(0,-1,1)*aa(rad(0),rad(0),rad(0))
- RL.C0 = RHCF * cn(0,-1,1)*aa(rad(0),rad(0),rad(0))
- local swait = function()
- g:GetService('RunService').Stepped:wait(0)
- end
- function CreateShake(RepeatedFor,OffsetDebounce)
- spawn(function()
- local Camera = g:GetService('Workspace').CurrentCamera
- for i=1,RepeatedFor do swait()
- Camera.CFrame = Camera.CFrame * CFrame.new(math.random()*OffsetDebounce,
- math.random()*OffsetDebounce,
- math.random()*OffsetDebounce)
- end
- end)
- end
- function RayCast(Position, Direction, Range, Ignore)
- local ht = g:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * Range), Ignore)
- return ht or nil
- end
- H.Animator:Destroy()
- C.Animate:Destroy() turn = false
- local rK = false
- local DBT = false
- function Land(spe)
- spawn(function()
- if DBT == false and attack == true and spe < -30 and rK == false then
- DBT = true
- H.WalkSpeed = 4
- H.JumpPower = 0
- CI.Sound.Create('rbxassetid://268933900',Torso,10,1,true,'Landing',false,true,1,0)
- for i=0,1,0.15 do swait()
- RL.C0 = RL.C0:lerp(RHCF * cn(0.11,-0.4,1) * aa(rad(-5),rad(0),rad(22)+rad(2.5 * sin(k/10))),.25)
- LL.C0 = LL.C0:lerp(LHCF * cn(-0.16,-0.4,1) * aa(rad(-5),rad(0),rad(-22)+rad(2.5 * sin(k/10))),.25)
- RA.C0 = RA.C0:lerp(cn(1.5, 0.81, 0) * aa(rad(14),rad(20),rad(25)+rad(5 * sin(k/10))),.25)
- LA.C0 = LA.C0:lerp(cn(-1.5, 0.5, 0) * aa(rad(12.3),rad(-20),rad(-25)+rad(5 * sin(k/10))),.25)
- RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0.1, -0.6) * aa(rad(10), rad(0), rad(5)), .25)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(10), rad(0), rad(0)), .25)
- end
- attack = false
- spawn(function()
- wait(0.1) H.JumpPower = 60
- DBT = false
- H.WalkSpeed = oW
- end)
- else
- attack = false
- end
- end)
- end
- spawn(function()
- local sound = Instance.new('Sound')
- sound.Parent = Torso
- sound.Looped = false
- sound.Volume = 1
- sound.Name = 'Footstep'
- sound.SoundId = 'rbxassetid://379483672' -- 833564121
- local kio = 0.11
- local tt = 0.1
- local ray = Ray.new(
- Torso.Position,
- Vector3.new(0, -4.5, 0))
- local part, endPoint = workspace:FindPartOnRay(ray, C)
- while wait() do
- if speed > 0.5 and Animation == 'Walk' and touch ~= nil then
- if kio <= 0.01 then
- if part and part.Material == Enum.Material.Grass then
- sound.SoundId = 'rbxassetid://152920365'
- sound:Play()
- else
- sound.SoundId = 'rbxassetid://379483672'
- sound:Play()
- end
- kio = tt
- end
- kio = kio - 0.01
- else
- if kio <= 0.01 then
- kio = tt
- end
- kio = kio - 0.01
- sound:Stop()
- end
- end
- end)
- function sphere1(par,anch,name,mat,si,cf,tr,ccol,bcol)
- local v3 = Vector3.new
- local ins = Instance.new
- local sp = ins('Part')
- sp.Size = si
- sp.Transparency = tr
- sp.Anchored = anch
- sp.CanCollide = ccol
- sp.Name = name
- sp.Material = mat
- sp.BrickColor = bcol
- sp.CFrame = cf
- local mesls = ins("SpecialMesh",sp)
- mesls.Scale = v3(0.8, 0.8, 0.8)
- mesls.MeshType = Enum.MeshType.Sphere
- sp.Parent = par
- return sp
- end
- function fixedPoint(t,p,d) -- Requires object to have equal dimensions
- local ranbo1 = math.random(-2,2)
- local ranbo2 = math.random(0,2)
- local ranbo3 = math.random(-2,2)
- t.CFrame = p.Hit * CFrame.new(ranbo1,ranbo2,ranbo3)
- t.CFrame = CFrame.new(t.Position, p.Hit.Position)
- end
- function fixedPoint1(t,p,d,range)
- local ranbo1
- local ranbo2
- local ranbo3
- if range then
- ranbo1 = math.random(-range,range)
- ranbo2 = math.random(-range,range)
- ranbo3 = math.random(-range,range)
- else
- ranbo1 = math.random(-5,5)/5
- ranbo2 = math.random()*0.5
- ranbo3 = math.random(-5,5)/5
- end
- t.CFrame = p.CFrame * CFrame.new(ranbo1,ranbo2,ranbo3)
- t.CFrame = CFrame.new(t.Position, p.Position)
- end
- spawn(function() while true do swait()
- if Torso:FindFirstChild('Neck') then
- speed = (Root.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = Root.Velocity.y
- touch = g:service("Workspace"):FindPartOnRay(Ray.new(Root.Position,
- (cn(Root.Position, Root.Position - Vector3.new(0, 1, 0))).lookVector.unit * 4.5), C)
- local nearhit = RayCast(Root.Position, (cn(Root.Position, Root.Position - Vector3.new(0, 1, 0))).lookVector, 6, C)
- a = a + 1
- k = a / 1.25
- if H.Sit == true then
- Animation = "Sit"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(0.5,-1,1) * aa(rad(0),rad(-5),rad(90)),.1)
- LL.C0 = LL.C0:lerp(LHCF * cn(-0.5,-1,1) * aa(rad(0),rad(5),rad(-90)),.1)
- RA.C0 = RA.C0:lerp(cn(1.5, 0.45, 0) * aa(rad(85),rad(0),rad(3)),.1)
- LA.C0 = LA.C0:lerp(cn(-1.5, 0.45, 0) * aa(rad(85),rad(0),rad(-3)),.1)
- RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0, 0.2) * cn(0, 0,rad(-2.5 * cos(a/25))) * aa(rad(-15), rad(0), rad(0)), .1)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(3 * sin(a/25)), rad(0), rad(-5)), .1)
- end
- elseif Root.Velocity.y > 1 and touch == nil then
- Animation = "Jump"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(0.35,-0.4,1) * aa(rad(-10),rad(0),rad(-15)+rad(2.5 * sin(a/10))),.1)
- LL.C0 = LL.C0:lerp(LHCF * cn(-0.4,-0.1,1) * aa(rad(-10),rad(0),rad(30)+rad(2.5 * sin(a/10))),.1)
- RA.C0 = RA.C0:lerp(cn(1.5, 0.5, 0) * aa(rad(15),rad(0),rad(15)+rad(2 * sin(a/10))),.1)
- LA.C0 = LA.C0:lerp(cn(-1.5, 0.5, 0) * aa(rad(15),rad(0),rad(-15)+rad(2 * sin(a/10))),.1)
- RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0, 0.15) * aa(rad(-15), rad(0), rad(5)), .1)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(-15), rad(0), rad(0)), .1)
- end
- elseif Root.Velocity.y < -1 and touch == nil then
- Animation = "Fall"
- if nearhit ~= nil then
- attack = true
- Land(Root.Velocity.y)
- end
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(0.1,-0.4,1) * aa(rad(-5),rad(0),rad(11)+rad(2.5 * sin(a/10))),.1)
- LL.C0 = LL.C0:lerp(LHCF * cn(-0.12,-0.424,1) * aa(rad(-5),rad(0),rad(-16)+rad(2.5 * sin(a/10))),.1)
- RA.C0 = RA.C0:lerp(cn(1.5, 0.81, 0) * aa(rad(30),rad(20),rad(60)+rad(5 * sin(a/10))),.1)
- LA.C0 = LA.C0:lerp(cn(-1.5, 0.6, 0) * aa(rad(30),rad(-20),rad(-63)+rad(5 * sin(a/10))),.1)
- RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0, -0.25) * aa(rad(5), rad(0), rad(5)), .1)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(15), rad(0), rad(0)), .1)
- end
- elseif speed < 1 and touch ~= nil and touch.Name ~= 'Effect' and sit == false and wep == 'primary' then
- Animation = "Idle"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04)+rad(-1 * cos(a/25)),rad(-1 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-0.1),rad(-5)+rad(-0.5*cos(a/25))),.12)
- LL.C0 = LL.C0:lerp(LHCF * cn(rad(-1 * cos(a/25)),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(15)+rad(-1.5*cos(a/25)),rad(5)+rad(0.5*cos(a/25))),.12)
- RA.C0 = RA.C0:lerp(cn(1.1, 0.555 - rad(-2 * cos(a/25)), -0.3) * aa(rad(35)+rad(1.5 * sin(a/25)),rad(-1),rad(-40)+rad(1.5*sin(a/25))),.12)
- LA.C0 = LA.C0:lerp(cn(-1.3, 0.3 - rad(-2.5 * cos(a/25)), -0.6) * aa(rad(34)+rad(1.5 * sin(a/25)),rad(0),rad(20)-rad(1.5*sin(a/25))),.12)
- RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(-3.5*cos(a/25)),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0)+rad(1.5 * cos(a/25)), rad(0), rad(-0)), .12)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-5 * sin(a/25)), rad(0), rad(0)), .12)
- end
- elseif speed > 1 and speed < 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'primary' then
- Animation = "Walk"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(k/5),-0.7+0.26 * cos(k/5)-rad(3-6*sin(k/5))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-7)+rad(35*sin(k/5))),.16)
- LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(k/5),-0.7-0.26 * cos(k/5)-rad(3+6*sin(k/5))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(7)+rad(35*sin(k/5))),.16)
- RA.C0 = RA.C0:lerp(cn(1.1, 0.555 - rad(-2 * cos(a/25)), -0.3) * aa(rad(35)+rad(1.5 * sin(a/25)),rad(-1),rad(-40)+rad(1.5*sin(a/25))),.12)
- LA.C0 = LA.C0:lerp(cn(-1.3, 0.3 - rad(-2.5 * cos(a/25)), -0.6) * aa(rad(34)+rad(1.5 * sin(a/25)),rad(0),rad(20)-rad(1.5*sin(a/25))),.12)
- RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0,0,-0.15) * cn(0, 0, rad(10 * cos(k/2.5))) * aa(rad(5), rad(0) + Root.RotVelocity.Y / 50 ,rad(-5*cos(k/5))),.16)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(5* cos(k/2.5)), rad(0), rad(5*cos(k/-5)) + Root.RotVelocity.Y / 10), .16)
- end
- elseif speed > 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'primary' then
- Animation = "Run"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(a/4),-0.8+0.26 * cos(a/4)-rad(3-6*sin(a/4))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-2)+rad(80*sin(a/4))),.4)
- LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(a/4),-0.8-0.26 * cos(a/4)-rad(3+6*sin(a/4))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(2)+rad(80*sin(a/4))),.4)
- LA.C0 = LA.C0:lerp(cn(-1.3, 0.55 + rad(-0.05*cos(k/5)), -0.4) * aa(rad(30),rad(4)+Root.RotVelocity.Y / 25,rad(30)+rad(1.5 * sin(k/2.5))+Root.RotVelocity.Y / 155),.16)
- RA.C0 = RA.C0:lerp(cn(1.1, 0.55 + rad(0.05*cos(k/5)), -0.3) * aa(rad(40),rad(10),rad(-40)),.16)
- RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, -0.1 + rad(4*sin(a/2)), -0.1+rad(13 * sin(a/2))) * aa(rad(25), rad(0) + Root.RotVelocity.Y / 15,rad(0)),.4)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(-10), rad(0), rad(1 * cos(a/-4)) + Root.RotVelocity.Y / 15), .4)
- end
- elseif speed < 1 and touch ~= nil and touch.Name ~= 'Effect' and sit == false and wep == 'secondary' then
- Animation = "Idle"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04)+rad(-1 * cos(a/25)),rad(-1 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-0.1),rad(-5)+rad(-0.5*cos(a/25))),.12)
- LL.C0 = LL.C0:lerp(LHCF * cn(rad(-1 * cos(a/25)),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(15)+rad(-1.5*cos(a/25)),rad(5)+rad(0.5*cos(a/25))),.12)
- RA.C0 = RA.C0:lerp(cn(1.2, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-20),rad(0)+rad(1.5*sin(a/25))),.12)
- LA.C0 = LA.C0:lerp(cn(-0.35, 0.3 - rad(-2.5 * cos(a/25)), -0.75) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-20),rad(60)-rad(1.5*sin(a/25))),.12)
- RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(-3.5*cos(a/25)),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0)+rad(1.5 * cos(a/25)), rad(0), rad(-0)), .12)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-5 * sin(a/25)), rad(0), rad(0)), .12)
- end
- elseif speed > 1 and speed < 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'secondary' then
- Animation = "Walk"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(k/5),-0.7+0.26 * cos(k/5)-rad(3-6*sin(k/5))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-7)+rad(35*sin(k/5))),.16)
- LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(k/5),-0.7-0.26 * cos(k/5)-rad(3+6*sin(k/5))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(7)+rad(35*sin(k/5))),.16)
- RA.C0 = RA.C0:lerp(cn(1.2, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-20),rad(0)+rad(1.5*sin(a/25))),.12)
- LA.C0 = LA.C0:lerp(cn(-0.35, 0.3 - rad(-2.5 * cos(a/25)), -0.75) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-20),rad(60)-rad(1.5*sin(a/25))),.12)
- RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0,0,-0.16) * cn(0, -0, rad(10 * cos(k/2.5))) * aa(rad(5), rad(0) + Root.RotVelocity.Y / 50 ,rad(-5*cos(k/5))),.16)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(5* cos(k/2.5)), rad(0), rad(5*cos(k/-5)) + Root.RotVelocity.Y / 10), .16)
- end
- elseif speed > 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'secondary' then
- Animation = "Run"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(a/4),-0.8+0.26 * cos(a/4)-rad(3-6*sin(a/4))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-2)+rad(80*sin(a/4))),.4)
- LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(a/4),-0.8-0.26 * cos(a/4)-rad(3+6*sin(a/4))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(2)+rad(80*sin(a/4))),.4)
- RA.C0 = RA.C0:lerp(cn(1.2, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(40)+rad(1.5 * sin(a/25)),rad(-35),rad(0)+rad(1.5*sin(a/25))),.12)
- LA.C0 = LA.C0:lerp(cn(-0.35, 0.3 - rad(-2.5 * cos(a/25)), -0.75) * aa(rad(40)+rad(1.5 * sin(a/25)),rad(-35),rad(60)-rad(1.5*sin(a/25))),.12)
- RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, -0.1 + rad(4*sin(a/2)), -0.1+rad(13 * sin(a/2))) * aa(rad(25), rad(0) + Root.RotVelocity.Y / 15,rad(0)),.4)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(-10), rad(0), rad(1 * cos(a/-4)) + Root.RotVelocity.Y / 15), .4)
- end
- elseif speed < 1 and touch ~= nil and touch.Name ~= 'Effect' and sit == false and wep == 'surrport1' then
- Animation = "Idle"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04)+rad(-1 * cos(a/25)),rad(-1 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-0.1),rad(-5)+rad(-0.5*cos(a/25))),.12)
- LL.C0 = LL.C0:lerp(LHCF * cn(rad(-1 * cos(a/25)),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(15)+rad(-1.5*cos(a/25)),rad(5)+rad(0.5*cos(a/25))),.12)
- RA.C0 = RA.C0:lerp(cn(1.4, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(70)+rad(1.5 * sin(a/25)),rad(-35),rad(10)+rad(1.5*sin(a/25))),.12)
- LA.C0 = LA.C0:lerp(cn(-1.25, 0.3 - rad(-2.5 * cos(a/25)), -0.3) * aa(rad(40)+rad(1.5 * sin(a/25)),rad(-25),rad(0)-rad(1.5*sin(a/25))),.12)
- RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(-3.5*cos(a/25)),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0)+rad(1.5 * cos(a/25)), rad(0), rad(-0)), .12)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-5 * sin(a/25)), rad(0), rad(0)), .12)
- end
- elseif speed > 1 and speed < 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'surrport1' then
- Animation = "Walk"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(k/5),-0.7+0.26 * cos(k/5)-rad(3-6*sin(k/5))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-7)+rad(35*sin(k/5))),.16)
- LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(k/5),-0.7-0.26 * cos(k/5)-rad(3+6*sin(k/5))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(7)+rad(35*sin(k/5))),.16)
- RA.C0 = RA.C0:lerp(cn(1.4, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-35),rad(10)+rad(1.5*sin(a/25))),.12)
- LA.C0 = LA.C0:lerp(cn(-1.25, 0.3 - rad(-2.5 * cos(a/25)), -0.3) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-25),rad(0)-rad(1.5*sin(a/25))),.12)
- RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0,0,-0.16) * cn(0, 0, rad(10 * cos(k/2.5))) * aa(rad(5), rad(0) + Root.RotVelocity.Y / 50 ,rad(-5*cos(k/5))),.16)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(5* cos(k/2.5)), rad(0), rad(5*cos(k/-5)) + Root.RotVelocity.Y / 10), .16)
- end
- elseif speed > 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'surrport1' then
- Animation = "Run"
- if attack == false then
- RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(a/4),-0.8+0.26 * cos(a/4)-rad(3-6*sin(a/4))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-2)+rad(80*sin(a/4))),.4)
- LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(a/4),-0.8-0.26 * cos(a/4)-rad(3+6*sin(a/4))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(2)+rad(80*sin(a/4))),.4)
- RA.C0 = RA.C0:lerp(cn(1.4, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(70)+rad(1.5 * sin(a/25)),rad(-35),rad(10)+rad(1.5*sin(a/25))),.12)
- LA.C0 = LA.C0:lerp(cn(-1.25, 0.3 - rad(-2.5 * cos(a/25)), -0.3) * aa(rad(40)+rad(1.5 * sin(a/25)),rad(-25),rad(0)-rad(1.5*sin(a/25))),.12)
- RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, -0.1 + rad(4*sin(a/2)), -0.1+rad(13 * sin(a/2))) * aa(rad(25), rad(0) + Root.RotVelocity.Y / 15,rad(0)),.4)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(-10), rad(0), rad(1 * cos(a/-4)) + Root.RotVelocity.Y / 15), .4)
- end
- end
- end
- end
- end)
- local function effectfade(thing,sizee,col,ding,bing)
- coroutine.resume(coroutine.create(function()
- thing.Name = "EFFECT"
- local tee
- if ding == true then tee=350 else tee=100 end
- for i=1,tee do
- thing.Size = thing.Size:lerp(Vector3.new(0,sizee,sizee),.125)
- thing.Transparency = i/tee
- if bing and i >325 and bing.Enabled == true then
- bing.Enabled = false
- end
- swait()
- end
- if thing then
- thing:Destroy()
- else
- return
- end
- end))
- end
- local function Baser(pos,size,col,donk,bee)
- local d=Instance.new("Part")
- d.Anchored=true
- d.CanCollide=false
- d.Size=Vector3.new(0.2,0.64,0.64)
- d.Orientation=Vector3.new(0,180,-90)
- d.Material=288
- d.BrickColor=BrickColor.new(327)
- d.BottomSurface=0
- d.Shape = Enum.PartType.Cylinder
- d.BrickColor=col
- d.Reflectance=1;d.TopSurface=0
- d.Parent=workspace
- d.CFrame=CFrame.Angles(-3.142,0,1.571)
- d.Position = pos
- d.LocalTransparencyModifier = d.Transparency
- d.Changed:connect(function()
- d.LocalTransparencyModifier = d.Transparency
- end)
- local pemitter
- if donk == true then
- pemitter = Instance.new("ParticleEmitter")
- local weldly = Instance.new('Weld')
- pemitter.Color = ColorSequence.new(Color3.new(0.8, 0, 0), Color3.new(1, 1, 1))
- pemitter.Lifetime = NumberRange.new(1)
- pemitter.LightEmission = 0.1
- pemitter.LightInfluence = 1
- pemitter.Texture = "rbxassetid://293037988"
- pemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
- pemitter.VelocitySpread = 25
- pemitter.Drag = 1
- pemitter.Rate = 100
- pemitter.SpreadAngle = Vector2.new(25, 25)
- pemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.001, 0.313), NumberSequenceKeypoint.new(1, 0)})
- pemitter.Parent = d
- pemitter.Speed = NumberRange.new(12)
- pemitter.Enabled = true
- pemitter.EmissionDirection = 'Left'
- end
- if donk == true then
- effectfade(d,size,col,bee,pemitter)
- else
- effectfade(d,size,col,bee)
- end
- return d
- end
- local music
- local shotsund
- local ballhit
- spawn(function()
- while wait() do
- if not Root:FindFirstChild('Musi') then
- local sound = Instance.new("Sound", Root)
- sound.Volume = 1
- sound.Pitch = 1
- sound.SoundId = 'rbxassetid://1304363796'
- sound.TimePosition = 0
- sound.Looped = true
- sound.Name = "Musi"
- sound:Play()
- music = sound
- elseif not Root:FindFirstChild('bullet') then
- local sound = Instance.new("Sound", Root)
- sound.Volume = 10
- sound.Pitch = 1
- sound.SoundId = 'rbxassetid://459050067'
- sound.TimePosition = 0.06
- sound.Looped = false
- sound.Name = "bullet"
- shotsund = sound
- elseif not Root:FindFirstChild('ballhit') then
- local sound = Instance.new("Sound", Root)
- sound.Volume = 10
- sound.Pitch = 1
- sound.SoundId = 'rbxassetid://678280962'
- sound.TimePosition = 0.06
- sound.Looped = false
- sound.Name = "ballhit"
- ballhit = sound
- end
- end
- end)
- shottying = false
- heated = false
- Mouse.Button1Down:Connect(function()
- if wep == 'primary' and shottying == false then shottying = true
- attack = true
- local lineart = 0
- local bo = 0
- H.WalkSpeed = 0
- for i=0,1,0.05 do swait()
- RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.1),rad(-2.5 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-5),rad(-5)),.2)
- LL.C0 = LL.C0:lerp(LHCF * cn(rad(0.2),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(20),rad(5)),.2)
- RA.C0 = RA.C0:lerp(cn(1, 0.5 - rad(-2 * cos(a/25)), -0.3 + rad(0 * sin(a/1.5))) * aa(rad(90)+rad(0),rad(-1),rad(-30)),.2)
- LA.C0 = LA.C0:lerp(cn(-1.3, 0.4 - rad(-2.5 * cos(a/25)), -0.5 + rad(0)) * aa(rad(80)+rad(0*cos(a/1.5)),rad(0),rad(60)),.2)
- RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0), rad(0), rad(-30)), .2)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-2.5 * sin(a/25)), rad(0), rad(30)), .2)
- H.AutoRotate = false
- Root.CFrame = CFrame.new(Root.Position, Mouse.Hit.p*Vector3.new(1,0,1) + Root.Position*Vector3.new(0, 1, 0))
- end
- flame.Enabled = true
- flamelight.Enabled = true
- smoke.Enabled = true
- repeat swait()
- RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.1),rad(-2.5 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-5),rad(-5)),.2)
- LL.C0 = LL.C0:lerp(LHCF * cn(rad(0.2),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(20),rad(5)),.2)
- RA.C0 = RA.C0:lerp(cn(1, 0.5 - rad(-2 * cos(a/25)), -0.3 + rad(10 * sin(a/1.5))) * aa(rad(90)+rad(15*cos(a/1.5)),rad(-1),rad(-30)),.2)
- LA.C0 = LA.C0:lerp(cn(-1.3, 0.4 - rad(-2.5 * cos(a/25)), -0.5 + rad(10 * sin(a/1.5))) * aa(rad(80)+rad(15*cos(a/1.5)),rad(0),rad(60)),.2)
- RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0), rad(0), rad(-30)), .2)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-2.5 * sin(a/25)), rad(0), rad(30)), .2)
- lineart = lineart + 1
- bo = bo + 0.05
- H.AutoRotate = false
- Root.CFrame = CFrame.new(Root.Position, Mouse.Hit.p*Vector3.new(1,0,1) + Root.Position*Vector3.new(0, 1, 0))
- if lineart == 10 then
- shotsund:Play()
- ShootLaserBeam(hole,false)
- lineart = 0
- end
- until shottying == false
- H.WalkSpeed = oW
- H.AutoRotate = true
- attack = false
- elseif wep == 'secondary' and attack == false and heated == false then
- attack = true
- heated = true
- for i=0,1,0.1 do swait()
- RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04),rad(-2.5 * cos(a/25))-0.934,1)*aa(rad(-3),rad(0),rad(0)),.15)
- LL.C0 = LL.C0:lerp(LHCF * cn(rad(0.04),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(0),rad(0)),.15)
- RA.C0 = RA.C0:lerp(cn(1.2, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(140)+rad(1.5 * sin(a/25)),rad(-20),rad(0)+rad(1.5*sin(a/25))),.15)
- LA.C0 = LA.C0:lerp(cn(-0.35, 0.3 - rad(-2.5 * cos(a/25)), -0.75) * aa(rad(140)+rad(1.5 * sin(a/25)),rad(-20),rad(60)-rad(1.5*sin(a/25))),.15)
- RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(-10), rad(0), rad(-70)), .15)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-5 * sin(a/25)), rad(0), rad(70)), .15)
- end
- local list = GetNearbyTorsos(RARM,5,C)
- DamageFromList(list,55,false,false)
- local EgibleParts = list
- if EgibleParts[1] ~= nil then
- for i=1,#EgibleParts do
- if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
- local rd = math.random(1,3)
- if rd == 1 then
- ballhit.SoundId = 'rbxassetid://678280962'
- elseif rd == 2 then
- ballhit.SoundId = 'rbxassetid://678280908'
- elseif rd == 3 then
- ballhit.SoundId = 'rbxassetid://678280832'
- end
- ballhit:Play()
- spawn(function()
- if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
- EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid').PlatformStand = true
- end
- wait(2)
- if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
- EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- end)
- end
- end
- end
- for i=0,1,0.1 do swait()
- RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04),rad(-2.5 * cos(a/25))-0.934,1)*aa(rad(-3),rad(0),rad(0)),.3)
- LL.C0 = LL.C0:lerp(LHCF * cn(rad(0.04),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(0),rad(0)),.3)
- RA.C0 = RA.C0:lerp(cn(1.2, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(25)+rad(1.5 * sin(a/25)),rad(-20),rad(0)+rad(1.5*sin(a/25))),.3)
- LA.C0 = LA.C0:lerp(cn(-0.35, 0.3 - rad(-2.5 * cos(a/25)), -0.75) * aa(rad(25)+rad(1.5 * sin(a/25)),rad(-20),rad(60)-rad(1.5*sin(a/25))),.3)
- RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(10), rad(0), rad(70)), .3)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-5 * sin(a/25)), rad(0), rad(-70)), .3)
- end
- attack = false
- wait(.25)
- heated = false
- elseif wep == 'surrport1' and attack == false then
- healing = true
- attack = true
- for i=0,1,0.005 do swait()
- if healing == true then
- RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04),rad(-1 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-0.1),rad(5)),.12)
- LL.C0 = LL.C0:lerp(LHCF * cn(rad(-0.2),rad(-2.5 * cos(a/25))-0.95,1)*aa(rad(-3),rad(15),rad(5)),.12)
- RA.C0 = RA.C0:lerp(cn(1.05, 0.555 - rad(-2 * cos(a/25)), -0.7) * aa(rad(70)+rad(10 * sin(a/5)),rad(-3),rad(-55)+rad(15 * cos(a/5))),.12)
- LA.C0 = LA.C0:lerp(cn(-1.15, 0.3 - rad(-2.5 * cos(a/25)), -0.8) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-10),rad(30)-rad(1.5*sin(a/25))),.12)
- RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0), rad(0), rad(-0)), .12)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(15)+rad(-2.5 * sin(a/25)), rad(0), rad(30)), .12)
- else break end
- end
- if healing == true then
- H.Health = 120
- cooldownd()
- end
- attack = false
- end
- end)
- cooldownd = function()
- spawn(function()
- wep = 'primary'
- m4a1.Parent = C
- hlkit.Parent = nil
- wlf3:Destroy()
- haskit = false
- wait(10)
- haskit = true
- wlf3 = Instance.new("Weld",hlkit)
- wlf3.Part0 = hlkit
- wlf3.Part1 = Torso
- wlf3.C0 = wlf3.C0 * aa(rad(-90),rad(0),rad(0))
- wlf3.C1 = cn(0,0.25,0.6)
- hlkit.Parent = C
- end)
- end
- ShootLaserBeam = function(from, ult)
- spawn(function()
- if ult == false or nil then
- local function fade(part, distance, dam, lamb, sos, fadetimne, ine)
- coroutine.resume(coroutine.create(function()
- if ine == nil or ine == false then
- for i = 1,fadetimne or 15 do swait()
- part.Transparency = i/fadetimne or 15
- if sos == true then
- part.Size = Vector3.new(distance,0.35+i/fadetimne or 15,0.35+i/fadetimne or 15)
- else
- part.Size = Vector3.new(0.25+i/fadetimne or 15,0.25+i/fadetimne or 15,0.25+i/fadetimne or 15)
- end
- end
- else
- for i = 1,fadetimne or 15 do swait()
- part.Transparency = i/fadetimne or 15
- if sos == true then
- part.Size = Vector3.new(distance,0.025+i/fadetimne/2 or 15,0.025+i/fadetimne/2 or 15)
- else
- part.Size = Vector3.new(0.025+i/fadetimne/2 or 15,0.025+i/fadetimne/2 or 15,0.025+i/fadetimne/2 or 15)
- end
- end end
- part:Destroy()
- end))
- end
- local function CreateMoouseImpoint(from,inf)
- local part = Instance.new("Part",inf)
- part.Anchored = true
- part.CanCollide = false
- part.Material = Enum.Material.Neon
- part.CFrame = from.CFrame
- part.BrickColor = BrickColor.new('Bright yellow')
- part.Shape = Enum.PartType.Block
- part.Name = 'Effect'
- spawn(function()
- for i=1,50 do swait()
- part.Rotation = Vector3.new(math.random(0,60),math.random(0,60),math.random(0,60))
- end
- end)
- fade(part,nil,Mouse.Target,0.5,false,25)
- end
- spawn(function()
- flamelight.Enabled = true
- wait(0.02)
- flamelight.Enabled = false
- end)
- local model = Instance.new('Model',workspace)
- local part = Instance.new("Part",model)
- Mouse.TargetFilter = model
- model.Name = 'Beam'
- part.Anchored = true
- part.CanCollide = false
- part.Material = Enum.Material.Neon
- part.CFrame = hole.CFrame * CFrame.new(0,0,0)
- part.BrickColor = BrickColor.new('Bright yellow')
- part.Shape = Enum.PartType.Cylinder
- part.Transparency = 0.2
- part.CFrame = CFrame.new(part.Position, Mouse.Hit.p)
- part.Name = 'Effect'
- CreateMoouseImpoint(hole, model)
- local mt = Mouse.Target
- if mt and mt.Parent and mt.Parent:FindFirstChildOfClass('Humanoid') then
- local hu = mt.Parent:FindFirstChildOfClass('Humanoid')
- if hu.Health < 700 then local dam = math.random(10,30)
- hu.Health = hu.Health - dam
- WhenHit(hu.Parent:FindFirstChild('Torso'),dam,'')
- else
- hu.Health = 0
- end
- end
- local distance = (part.Position- Mouse.Hit.p).magnitude
- if distance > 500 then
- distance = 500
- end
- part.CFrame = CFrame.new(part.Position, Mouse.Hit.p)*CFrame.new(0,0,-distance/2)*aa(rad(0),rad(90),rad(0)) -- middle 90
- part.Size = Vector3.new(distance,0.05,0.05)
- fade(part,distance,Mouse.Target,0.5,true,30,true)
- DebrisService:AddItem(model, 2)
- end end) end
- local Mouse = Player:GetMouse()
- Mouse.Button1Up:Connect(function()
- if wep == 'primary' and shottying == true then shottying = false
- flame.Enabled = false
- flamelight.Enabled = false
- smoke.Enabled = true
- spawn(function() wait(1.5)
- smoke.Enabled = false
- end)
- elseif wep == 'surrport1' then
- healing = false
- end
- end)
- Mouse.KeyUp:Connect(function(key)
- if key == 'c' and shottying == false then
- H.WalkSpeed = oW
- end
- end)
- Mouse.KeyDown:Connect(function(key)
- if key == 'c' and shottying == false then
- H.WalkSpeed = 26
- elseif key == 'z' and shottying == false then
- if wep == 'surrport1' and haskit == true then
- wlf3:Destroy()
- wlf3 = Instance.new("Weld",hlkit)
- wlf3.Part0 = hlkit
- wlf3.Part1 = Torso
- wlf3.C0 = wlf3.C0 * aa(rad(-90),rad(0),rad(0))
- wlf3.C1 = cn(0,0.25,0.6)
- end
- wep = 'secondary'
- m4a1.Parent = nil
- bat.Parent = C
- elseif key == 'x' and shottying == false then
- if wep == 'surrport1' and haskit == true then
- wlf3:Destroy()
- wlf3 = Instance.new("Weld",hlkit)
- wlf3.Part0 = hlkit
- wlf3.Part1 = Torso
- wlf3.C0 = wlf3.C0 * aa(rad(-90),rad(0),rad(0))
- wlf3.C1 = cn(0,0.25,0.6)
- end
- wep = 'primary'
- bat.Parent = nil
- m4a1.Parent = C
- elseif key == 'v' and haskit == true and shottying == false then
- if wep == 'primary' then
- m4a1.Parent = nil
- elseif wep == 'secondary' then
- bat.Parent = nil
- end
- wep = 'surrport1'
- wlf3:Destroy() swait()
- wlf3 = Instance.new("Weld",hlkit)
- wlf3.Part0 = hlkit
- wlf3.Part1 = RARM
- wlf3.C0 = wlf3.C0 * aa(rad(0),rad(0),rad(194))
- wlf3.C1 = cn(0,-0.9,0)
- elseif key == 'b' then
- music:Destroy()
- elseif key == 'n' then
- music.SoundId = 'rbxassetid://1580025127'
- elseif key == 'm' then
- music.SoundId = 'rbxassetid://459981233'
- elseif key == 'l' then
- music.SoundId = 'rbxassetid://301338906'
- end
- end)
- function WhenHit(hit,damage,extra)
- spawn(function()
- local lebel = Instance.new("BillboardGui")
- local lebeltext = Instance.new("TextBox")
- lebel.Size = UDim2.new(6, 0, 1, 0)
- lebel.Name = "Damage"
- lebel.StudsOffset = Vector3.new(0, 3, 0)
- lebel.Parent = hit
- lebeltext.TextWrapped = true
- lebeltext.BackgroundTransparency = 1
- lebeltext.BackgroundColor3 = Color3.new(1, 1, 1)
- lebeltext.TextSize = 14
- lebeltext.TextScaled = true
- lebeltext.Font = Enum.Font.SciFi
- lebeltext.Text = damage .. extra
- lebeltext.TextStrokeTransparency = 0
- lebeltext.TextColor = BrickColor.new('Really black')
- lebeltext.Size = UDim2.new(1, 0, 1, 0)
- lebeltext.Parent = lebel
- local ran = math.random(1,2)
- spawn(function()
- for i=0,1,0.025 do swait()
- lebeltext.Text = damage .. extra
- lebeltext.TextTransparency = i
- lebeltext.TextStrokeTransparency = i
- end
- end)
- spawn(function()
- local rand = math.random(1,3)
- for i=0,3,0.03 do swait()
- if ran == 1 then
- lebel.StudsOffset = lebel.StudsOffset:lerp(Vector3.new(0, 3+rand+i/2, 0+ran/3+i/1.5),.1)
- elseif ran == 2 then
- lebel.StudsOffset = lebel.StudsOffset:lerp(Vector3.new(0, 3+rand+i/2, 0+ran/3-i/1.5),.1)
- end
- end
- lebel:Destroy()
- end)
- wait(0.3)
- haltHit = false
- end)
- end
- -- Slay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement