SHOW:
|
|
- or go back to the newest paste.
1 | plr = game.Players.LocalPlayer | |
2 | char = plr.Character | |
3 | skin = BrickColor.new("Pastel brown") | |
4 | ||
5 | wait(0.5) | |
6 | for i,v in pairs(char:GetChildren()) do | |
7 | if v.ClassName == "Shirt" or v.ClassName == "Pants" then | |
8 | v:Destroy() | |
9 | end | |
10 | end | |
11 | local shirt = Instance.new("Shirt",char) | |
12 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=115893651" | |
13 | local pants = Instance.new("Pants",char) | |
14 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=115893704" | |
15 | local bdy = char["Body Colors"] | |
16 | bdy.HeadColor = skin | |
17 | bdy.LeftArmColor = skin | |
18 | bdy.LeftLegColor = skin | |
19 | bdy.RightArmColor = skin | |
20 | bdy.RightLegColor = skin | |
21 | bdy.TorsoColor = skin | |
22 | -------------------------- | |
23 | --Zenith Battle Rifle-70-- | |
24 | ---------------------------------------------------------------- | |
25 | --By CKbackup (Sugarie Saffron) -- | |
26 | --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw-- | |
27 | --Discord: Sugarie Saffron#4705 -- | |
28 | ---------------------------------------------------------------- | |
29 | ||
30 | print([[ | |
31 | -------------------------------- | |
32 | By CKbackup (Sugarie Saffron) | |
33 | YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw | |
34 | Discord: Sugarie Saffron#4705 | |
35 | -------------------------------- | |
36 | The Zenith Battle Rifle 70 (ZBR-70) | |
37 | The ZBR-70 was a rifle designed by | |
38 | Engineer Alexander Zenith in 1970, for a | |
39 | cheap yet reliable option to be used | |
40 | as a standard issue rifle. | |
41 | It fires 5.56 calibre rounds and | |
42 | is still used today in several armies | |
43 | and police forces. | |
44 | -------------------------------- | |
45 | (Keys) | |
46 | Click (Hold) - Fire | |
47 | R - Reload | |
48 | Q/E - Quick Strafe | |
49 | Z - Dive | |
50 | X - Knife Stab | |
51 | F - Heal | |
52 | H - Flashlight | |
53 | ||
54 | Reloading while there's still ammo will | |
55 | add an extra bullet. | |
56 | Rifle only has an effective range of | |
57 | 200 studs. | |
58 | Healing will add a health point for 200 | |
59 | frames before wearing out, and has a | |
60 | cooldown of 30 seconds. | |
61 | ]]) | |
62 | ||
63 | wait(1/60) | |
64 | Effects = { } | |
65 | local Player = game:service'Players'.localPlayer | |
66 | local chara = Player.Character | |
67 | local Humanoid = chara:FindFirstChildOfClass("Humanoid") | |
68 | local Mouse = Player:GetMouse() | |
69 | local LeftArm = chara["Left Arm"] | |
70 | local RightArm = chara["Right Arm"] | |
71 | local LeftLeg = chara["Left Leg"] | |
72 | local RightLeg = chara["Right Leg"] | |
73 | local Head = chara.Head | |
74 | local Torso = chara.Torso | |
75 | local Camera = workspace.CurrentCamera | |
76 | local RootPart = chara.HumanoidRootPart | |
77 | local RootJoint = RootPart.RootJoint | |
78 | local attack = false | |
79 | local Anim = 'Idle' | |
80 | local attacktype = 1 | |
81 | local delays = false | |
82 | local play = true | |
83 | local targetted = nil | |
84 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
85 | local velocity = RootPart.Velocity.y | |
86 | local sine = 0 | |
87 | local change = 1 | |
88 | local doe = 0 | |
89 | local Create = LoadLibrary("RbxUtility").Create | |
90 | local debby = game:GetService("Debris") | |
91 | Humanoid.WalkSpeed = 16 | |
92 | ||
93 | local shots = 30 | |
94 | ||
95 | local healing = false | |
96 | ||
97 | Humanoid.Animator.Parent = nil | |
98 | chara.Animate.Parent = nil | |
99 | ||
100 | local newMotor = function(part0, part1, c0, c1) | |
101 | local w = Create('Motor'){ | |
102 | Parent = part0, | |
103 | Part0 = part0, | |
104 | Part1 = part1, | |
105 | C0 = c0, | |
106 | C1 = c1, | |
107 | } | |
108 | return w | |
109 | end | |
110 | ||
111 | function clerp(a, b, t) | |
112 | return a:lerp(b, t) | |
113 | end | |
114 | ||
115 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
116 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
117 | ||
118 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
119 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
120 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
121 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
122 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
123 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
124 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
125 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
126 | ||
127 | local rarmc1 = RW.C1 | |
128 | local larmc1 = LW.C1 | |
129 | local rlegc1 = RH.C1 | |
130 | local llegc1 = LH.C1 | |
131 | ||
132 | local resetc1 = false | |
133 | ||
134 | function PlayAnimationFromTable(table, speed, bool) | |
135 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
136 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
137 | RW.C0 = clerp(RW.C0, table[3], speed) | |
138 | LW.C0 = clerp(LW.C0, table[4], speed) | |
139 | RH.C0 = clerp(RH.C0, table[5], speed) | |
140 | LH.C0 = clerp(LH.C0, table[6], speed) | |
141 | if bool == true then | |
142 | if resetc1 == false then | |
143 | resetc1 = true | |
144 | RootJoint.C1 = RootJoint.C1 | |
145 | Torso.Neck.C1 = Torso.Neck.C1 | |
146 | RW.C1 = rarmc1 | |
147 | LW.C1 = larmc1 | |
148 | RH.C1 = rlegc1 | |
149 | LH.C1 = llegc1 | |
150 | end | |
151 | end | |
152 | end | |
153 | ||
154 | ArtificialHB = Instance.new("BindableEvent", script) | |
155 | ArtificialHB.Name = "Heartbeat" | |
156 | script:WaitForChild("Heartbeat") | |
157 | frame = 0.03333333333333 | |
158 | tf = 0 | |
159 | allowframeloss = false | |
160 | tossremainder = false | |
161 | lastframe = tick() | |
162 | script.Heartbeat:Fire() | |
163 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
164 | tf = tf + s | |
165 | if tf >= frame then | |
166 | if allowframeloss then | |
167 | script.Heartbeat:Fire() | |
168 | lastframe = tick() | |
169 | else | |
170 | for i = 1, math.floor(tf / frame) do | |
171 | script.Heartbeat:Fire() | |
172 | end | |
173 | lastframe = tick() | |
174 | end | |
175 | if tossremainder then | |
176 | tf = 0 | |
177 | else | |
178 | tf = tf - frame * math.floor(tf / frame) | |
179 | end | |
180 | end | |
181 | end) | |
182 | function swait(num) | |
183 | if num == 0 or num == nil then | |
184 | ArtificialHB.Event:wait() | |
185 | else | |
186 | for i = 0, num do | |
187 | ArtificialHB.Event:wait() | |
188 | end | |
189 | end | |
190 | end | |
191 | ||
192 | function RemoveOutlines(part) | |
193 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
194 | end | |
195 | ||
196 | function so(id,par,pit,vol) | |
197 | local sou = Instance.new("Sound", par or workspace) | |
198 | if par == chara then | |
199 | sou.Parent = chara.Torso | |
200 | end | |
201 | sou.Volume = vol | |
202 | sou.Pitch = pit or 1 | |
203 | sou.SoundId = "rbxassetid://" .. id | |
204 | sou.PlayOnRemove = true | |
205 | sou:Destroy() | |
206 | end | |
207 | ||
208 | --This is just for builds-- | |
209 | New = function(Object, Parent, Name, Data) | |
210 | local Object = Instance.new(Object) | |
211 | for Index, Value in pairs(Data or {}) do | |
212 | Object[Index] = Value | |
213 | end | |
214 | Object.Parent = Parent | |
215 | Object.Name = Name | |
216 | return Object | |
217 | end | |
218 | ||
219 | Rifle = New("Model",chara,"Rifle",{}) | |
220 | Handaru = New("Part",Rifle,"Handaru",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.299999684, 0.899999976, 0.200000003),CFrame = CFrame.new(4.86797953, 9.56716633, -139.033096, 5.38420863e-10, 1.44063961e-09, 1, 0.939692974, -0.342020035, 4.30411262e-12, 0.342022955, 0.93970108, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
221 | Mesh = New("BlockMesh",Handaru,"Mesh",{Scale = Vector3.new(0.699999988, 0.800000012, 0.899999976),}) | |
222 | Weld = New("ManualWeld",Handaru,"Weld",{Part0 = Handaru,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0, 0.939692974, 0.342020005, 0, -0.342020005, 0.939692974, 1, 0, 0),C1 = CFrame.new(-0.17155385, -1.13280964, 0.0381164551, -1, -0.000112917653, 0.000207058736, -0.000112889931, 1, 0.000133873371, -0.000207074263, 0.000133850204, -1.00000167),}) | |
223 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.300000191, 0.200000003),CFrame = CFrame.new(4.86804056, 9.70005512, -138.636124, 1.32227007e-11, 1.53790924e-09, 1, 1.00000036, 0, 4.30411262e-12, 0, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
224 | Mesh = New("CylinderMesh",Part,"Mesh",{}) | |
225 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(0.260647774, 0.327582359, 6.10351563e-05, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),}) | |
226 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.299999744, 0.200000003, 0.200000003),CFrame = CFrame.new(4.86801004, 6.5500145, -138.486115, 1.32227007e-11, 1.53790924e-09, 1, 1.00000036, 0, 4.30411262e-12, 0, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
227 | Mesh = New("BlockMesh",Part,"Mesh",{}) | |
228 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-2.64811707, 1.54591751, 3.05175781e-05, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),}) | |
229 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.19999969, 0.300000012, 0.200000003),CFrame = CFrame.new(4.86801004, 9.10005951, -138.636124, 1.32227007e-11, 1.53790924e-09, 1, 1.00000036, 0, 4.30411262e-12, 0, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
230 | Mesh = New("BlockMesh",Part,"Mesh",{}) | |
231 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.303163528, 0.532794952, 3.05175781e-05, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),}) | |
232 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.0999999195, 0.200000003),CFrame = CFrame.new(4.86804056, 6.35001183, -138.486099, 1.53790924e-09, 1.32226452e-11, -1, 2.98023224e-08, 1.00000036, -4.30411262e-12, 1.00000894, -2.98023224e-08, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
233 | Mesh = New("CylinderMesh",Part,"Mesh",{}) | |
234 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, -1.00000668, 0, 0, 0, 0, 1),C1 = CFrame.new(-2.8360548, 1.6143322, 6.10351563e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
235 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.9180131, 8.10003662, -138.486099, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
236 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
237 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-1.19156933, 1.01578903, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
238 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 8.10003662, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
239 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
240 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.19156933, 1.01578903, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
241 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86797953, 8.10003662, -138.436142, 1.32226452e-11, 1, -1.53790924e-09, 1.00000036, 4.30411262e-12, -2.98023224e-08, -2.98023224e-08, 2.29920261e-09, -1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
242 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
243 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, -1, 0, -1.00000668, 0),C1 = CFrame.new(-1.17448044, 1.06274033, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
244 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86805582, 8.10003662, -138.536102, 1.32226452e-11, -1, 1.53790924e-09, 1.00000036, -4.30411262e-12, 2.98023224e-08, -2.98023224e-08, -2.29920261e-09, 1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
245 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
246 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, 1, 0, 1.00000668, 0),C1 = CFrame.new(-1.20866871, 0.968809128, 7.62939453e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
247 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.100000001),CFrame = CFrame.new(4.9180131, 9.25004292, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
248 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.200000003, 0.5, 0.800000012),}) | |
249 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.0596132278, 0.763422012, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
250 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999678, 0.400000006, 0.200000003),CFrame = CFrame.new(4.86801004, 8.84343719, -138.889923, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
251 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.899999976),}) | |
252 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(-0.631113052, 0.382074356, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
253 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86805582, 6.90001345, -138.536102, 1.32226452e-11, -1, 1.53790924e-09, 1.00000036, -4.30411262e-12, 2.98023224e-08, -2.98023224e-08, -2.29920261e-09, 1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
254 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
255 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, 1, 0, 1.00000668, 0),C1 = CFrame.new(-2.33632183, 1.37924004, 7.62939453e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
256 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.9180131, 7.5000248, -138.486099, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
257 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
258 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-1.75539589, 1.22100544, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
259 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 7.5000248, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
260 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
261 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.75539589, 1.22100544, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
262 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999988, 0.100000001, 0.100000001),CFrame = CFrame.new(4.9180131, 7.45002079, -138.536102, -1.32226452e-11, 1.53790924e-09, -1, -1.00000036, 2.98023224e-08, -4.30411262e-12, 2.98023224e-08, 1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
263 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
264 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-1.81948566, 1.19112206, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
265 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999765, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 6.50001335, -138.336105, -1.32226452e-11, 1.53790924e-09, -1, -1.00000036, 2.98023224e-08, -4.30411262e-12, 2.98023224e-08, 1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
266 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.400000006, 0.600000024, 0.0500000007),}) | |
267 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-2.64379501, 1.70398521, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
268 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999975, 0.100000001, 0.100000001),CFrame = CFrame.new(4.86801004, 8.05001831, -138.636108, 1, -1.53790924e-09, 1.32226452e-11, 4.30411262e-12, -2.98023224e-08, 1.00000036, 2.29920261e-09, -1.00000894, -2.98023224e-08),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
269 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
270 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1.00000668, 0, -1.00000668, 0, 0),C1 = CFrame.new(-1.28987503, 0.891940117, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
271 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999559, 0.200000018, 0.200000003),CFrame = CFrame.new(4.86801004, 8.30002022, -138.586105, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
272 | Mesh = New("BlockMesh",Part,"Mesh",{}) | |
273 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.03784847, 0.853420258, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
274 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0999997631, 0.100000001, 0.100000001),CFrame = CFrame.new(4.9180131, 9.25004292, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
275 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.100000001, 0.600000024, 0.699999988),}) | |
276 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.0596132278, 0.763422012, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
277 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 9.1500349, -138.336105, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
278 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),}) | |
279 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.153590202, 0.797625542, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
280 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86797953, 7.5000248, -138.436142, 1.32226452e-11, 1, -1.53790924e-09, 1.00000036, 4.30411262e-12, -2.98023224e-08, -2.98023224e-08, 2.29920261e-09, -1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
281 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
282 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, -1, 0, -1.00000668, 0),C1 = CFrame.new(-1.738307, 1.26795673, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
283 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 7.20001698, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
284 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
285 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-2.0373106, 1.32361412, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
286 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.25003147, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
287 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),}) | |
288 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.999316216, 1.10544491, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
289 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.9180131, 6.90001297, -138.486099, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
290 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
291 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-2.31922245, 1.42622185, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
292 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 6.90001297, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
293 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
294 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-2.31922245, 1.42622185, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
295 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.100000001),CFrame = CFrame.new(4.81800699, 9.25004292, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
296 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.200000003, 0.5, 0.800000012),}) | |
297 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.0596132278, 0.763422012, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
298 | Bolt1 = New("Part",Rifle,"Bolt1",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.499999553, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 8.85004425, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
299 | Mesh = New("BlockMesh",Bolt1,"Mesh",{Scale = Vector3.new(1, 0.400000006, 1.04999995),}) | |
300 | Weld = New("ManualWeld",Bolt1,"Weld",{Part0 = Bolt1,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.486792564, 0.759271622, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
301 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86797953, 7.20001793, -138.436142, 1.32226452e-11, 1, -1.53790924e-09, 1.00000036, 4.30411262e-12, -2.98023224e-08, -2.98023224e-08, 2.29920261e-09, -1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
302 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
303 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, -1, 0, -1.00000668, 0),C1 = CFrame.new(-2.02022171, 1.37056446, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
304 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.9180131, 7.20001698, -138.486099, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
305 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
306 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-2.0373106, 1.32361412, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
307 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.35003948, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
308 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),}) | |
309 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.905339241, 1.07124043, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
310 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86805582, 7.5000248, -138.536102, 1.32226452e-11, -1, 1.53790924e-09, 1.00000036, -4.30411262e-12, 2.98023224e-08, -2.98023224e-08, -2.29920261e-09, 1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
311 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
312 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, 1, 0, 1.00000668, 0),C1 = CFrame.new(-1.77249527, 1.17402458, 7.62939453e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
313 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86797953, 6.90001297, -138.436142, 1.32226452e-11, 1, -1.53790924e-09, 1.00000036, 4.30411262e-12, -2.98023224e-08, -2.98023224e-08, 2.29920261e-09, -1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
314 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
315 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, -1, 0, -1.00000668, 0),C1 = CFrame.new(-2.30213356, 1.47317219, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
316 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999988, 0.100000001, 0.100000001),CFrame = CFrame.new(4.81800699, 7.45002079, -138.436096, -1.32226452e-11, -1.53790924e-09, 1, -1.00000036, -2.98023224e-08, 4.30411262e-12, 2.98023224e-08, -1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
317 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
318 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.78528309, 1.28509235, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
319 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86805582, 7.20001793, -138.536102, 1.32226452e-11, -1, 1.53790924e-09, 1.00000036, -4.30411262e-12, 2.98023224e-08, -2.98023224e-08, -2.29920261e-09, 1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
320 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
321 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, 1, 0, 1.00000668, 0),C1 = CFrame.new(-2.05440998, 1.27663231, 7.62939453e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
322 | BoltP2 = New("Part",Rifle,"BoltP2",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.0999995545, 0.200000003, 0.100000001),CFrame = CFrame.new(4.71800089, 9.05003452, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
323 | Mesh = New("BlockMesh",BoltP2,"Mesh",{Offset = Vector3.new(-0.0399999991, 0, 0),Scale = Vector3.new(0.200000003, 0.200000003, 1.20000005),}) | |
324 | Weld = New("ManualWeld",BoltP2,"Weld",{Part0 = BoltP2,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.298863411, 0.690872192, -0.149978638, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
325 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 9.05004311, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
326 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),}) | |
327 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.247550964, 0.831825256, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
328 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999988, 0.100000001, 0.100000001),CFrame = CFrame.new(4.9180131, 7.45002079, -138.436096, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
329 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
330 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-1.78528309, 1.28509235, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
331 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.330000043, 0.100000001, 0.200000018),CFrame = CFrame.new(4.86801004, 10.4435368, -138.676941, 1.44968448e-09, 5.13570408e-10, 1, 0.342020035, -0.939692914, 4.30411262e-12, 0.93970108, 0.342023075, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
332 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 0.5),}) | |
333 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.34202221, 0.939699054, 0, 0.939699054, 0.342022151, 0, 0, 0, -1),C1 = CFrame.new(0.945329666, 0.0349359512, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
334 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999964, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 10.475091, -138.861252, -5.13568965e-10, 1.44968504e-09, 1, 0.939693391, 0.342019081, 4.30411262e-12, -0.342022091, 0.939701438, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
335 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 0.5),}) | |
336 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.939699411, -0.342021286, 0, -0.342021257, 0.939699411, 0, 0, 0, -1),C1 = CFrame.new(0.911945343, -0.149044991, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
337 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.95003605, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
338 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),}) | |
339 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.341526985, 0.866029739, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
340 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.75003719, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
341 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),}) | |
342 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.529464722, 0.934432983, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
343 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.200000003),CFrame = CFrame.new(4.86804056, 9.70004368, -138.486099, 1.53790924e-09, 1.32226452e-11, -1, 2.98023224e-08, 1.00000036, -4.30411262e-12, 1.00000894, -2.98023224e-08, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
344 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
345 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, -1.00000668, 0, 0, 0, 0, 1),C1 = CFrame.new(0.311944008, 0.468552589, 6.10351563e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
346 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.09999979, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.75003815, -138.436096, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
347 | Mesh = New("BlockMesh",Part,"Mesh",{}) | |
348 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.563667297, 0.840460777, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
349 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.0999999866, 0.200000003),CFrame = CFrame.new(4.86797953, 9.75094795, -139.391876, 5.38420808e-10, 1.44063961e-09, 1, 0.939692974, -0.342020005, 4.30411262e-12, 0.342022926, 0.93970108, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
350 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.800000012),}) | |
351 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),C1 = CFrame.new(0.049990654, -0.399991989, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
352 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.399999917, 0.200000003),CFrame = CFrame.new(4.86804056, 9.50004482, -138.486099, 1.53790924e-09, 1.32226452e-11, -1, 2.98023224e-08, 1.00000036, -4.30411262e-12, 1.00000894, -2.98023224e-08, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
353 | Mesh = New("CylinderMesh",Part,"Mesh",{}) | |
354 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, -1.00000668, 0, 0, 0, 0, 1),C1 = CFrame.new(0.124007225, 0.536956787, 6.10351563e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
355 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.630000234, 0.100000001, 0.200000018),CFrame = CFrame.new(4.86801004, 11.1861582, -138.831116, 1.53790924e-09, -1.32226452e-11, 1, 2.98023224e-08, -1.00000036, 4.30411262e-12, 1.00000894, 2.98023224e-08, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
356 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 0.5),}) | |
357 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, 1.00000668, 0, 0, 0, 0, -1),C1 = CFrame.new(1.59043694, -0.36392498, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
358 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0999997631, 0.100000001, 0.100000001),CFrame = CFrame.new(4.81800699, 9.25004292, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
359 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.100000001, 0.600000024, 0.699999988),}) | |
360 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.0596132278, 0.763422012, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
361 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.65003014, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
362 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),}) | |
363 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.623440742, 0.968637466, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
364 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999975, 0.100000016, 0.400000006),CFrame = CFrame.new(4.86801004, 8.30003548, -138.736115, 1, -1.53790924e-09, 1.32226452e-11, 4.30411262e-12, -2.98023224e-08, 1.00000036, 2.29920261e-09, -1.00000894, -2.98023224e-08),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
365 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
366 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1.00000668, 0, -1.00000668, 0, 0),C1 = CFrame.new(-1.08913803, 0.712458611, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
367 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 7.80001593, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
368 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
369 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.47349644, 1.11840248, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
370 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.199999765, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 6.50001335, -138.336105, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
371 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.5, 0.5, 0.100000001),}) | |
372 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-2.64379501, 1.70398521, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
373 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.45003128, -138.336105, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
374 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),}) | |
375 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.811378479, 1.03704071, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
376 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999975, 0.300000012, 0.300000012),CFrame = CFrame.new(4.86801004, 9.23582172, -138.853729, 1, -5.13568965e-10, 1.44968504e-09, 4.30411262e-12, 0.939693391, 0.342019081, 2.29920261e-09, -0.342022091, 0.939701438),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
377 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.300000012, 0.200000003, 0.600000024),MeshType = Enum.MeshType.Wedge,}) | |
378 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 0, -1, -0.939699411, -0.342021286, 0, -0.342021257, 0.939699411, 0),C1 = CFrame.new(-0.250016212, 0.281872749, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
379 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86797953, 7.80001593, -138.436142, 1.32226452e-11, 1, -1.53790924e-09, 1.00000036, 4.30411262e-12, -2.98023224e-08, -2.98023224e-08, 2.29920261e-09, -1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
380 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
381 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, -1, 0, -1.00000668, 0),C1 = CFrame.new(-1.45640755, 1.16535378, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
382 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.9180131, 7.80001593, -138.486099, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
383 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
384 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-1.47349644, 1.11840248, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
385 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.199999988, 0.200000003),CFrame = CFrame.new(4.86797953, 9.63987923, -139.379089, 1.44063961e-09, 1, 5.38420808e-10, -0.342020005, 4.30411262e-12, 0.939692974, 0.93970108, 2.29920261e-09, 0.342022926),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
386 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.800000012, 1),}) | |
387 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0.34202221, 0.939698994, 0, 0, 0, -1, -0.939698994, 0.34202221, 0),C1 = CFrame.new(-0.0500078201, -0.349992752, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
388 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.55003834, -138.336105, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
389 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),}) | |
390 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.717402458, 1.00283623, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
391 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999678, 0.200000003, 0.200000003),CFrame = CFrame.new(4.86801004, 9.20003986, -138.986115, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
392 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.200000003, 0.899999976),}) | |
393 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.328917503, 0.169712067, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
394 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999988, 0.100000001, 0.100000001),CFrame = CFrame.new(4.81800699, 7.45002079, -138.536102, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
395 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
396 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.81948566, 1.19112206, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
397 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.299999684, 0.800000012, 0.200000003),CFrame = CFrame.new(4.86797953, 9.55004978, -138.986099, 5.38420808e-10, 1.44063961e-09, 1, 0.939692974, -0.342020005, 4.30411262e-12, 0.342022926, 0.93970108, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
398 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.800000012),}) | |
399 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),C1 = CFrame.new(-1.14440918e-05, 0.0500144958, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
400 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.85004425, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
401 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),}) | |
402 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.435488701, 0.9002285, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
403 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999964, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 10.4500523, -138.536102, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
404 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 0.5),}) | |
405 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(0.999621391, 0.165052414, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
406 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.0999999195, 0.200000003),CFrame = CFrame.new(4.86804056, 6.35001183, -138.486099, 1.53790924e-09, 1.32226452e-11, -1, 2.98023224e-08, 1.00000036, -4.30411262e-12, 1.00000894, -2.98023224e-08, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
407 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.04999995, 0.800000012),}) | |
408 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, -1.00000668, 0, 0, 0, 0, 1),C1 = CFrame.new(-2.8360548, 1.6143322, 6.10351563e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
409 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86805582, 7.80001593, -138.536102, 1.32226452e-11, -1, 1.53790924e-09, 1.00000036, -4.30411262e-12, 2.98023224e-08, -2.98023224e-08, -2.29920261e-09, 1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
410 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),}) | |
411 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, 1, 0, 1.00000668, 0),C1 = CFrame.new(-1.49059582, 1.07142258, 7.62939453e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
412 | Mag = New("Model",Rifle,"Mag",{}) | |
413 | MagPart = New("Part",Mag,"MagPart",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999678, 1.00000012, 0.200000003),CFrame = CFrame.new(4.86801004, 8.80870724, -139.086884, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
414 | Mesh = New("BlockMesh",MagPart,"Mesh",{Scale = Vector3.new(0.899999976, 1, 0.699999988),}) | |
415 | Weld = New("ManualWeld",MagPart,"Weld",{Part0 = MagPart,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(-0.731114388, 0.208864212, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
416 | Part = New("Part",Mag,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999996886, 1.00000012, 0.200000003),CFrame = CFrame.new(4.86801004, 8.95642948, -139.11293, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
417 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.899999976, 0.800000012),}) | |
418 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MagPart,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(0.150000572, 1.43051147e-06, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),}) | |
419 | Part = New("Part",Mag,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999996886, 1.00000012, 0.200000003),CFrame = CFrame.new(4.86801004, 8.85794735, -139.095566, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
420 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.899999976, 0.800000012),}) | |
421 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MagPart,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(0.0499992371, 1.43051147e-06, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),}) | |
422 | Part = New("Part",Mag,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999996886, 1.00000012, 0.200000003),CFrame = CFrame.new(4.86801004, 8.75946617, -139.078201, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
423 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.899999976, 0.800000012),}) | |
424 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MagPart,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(-0.0500011444, 1.43051147e-06, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),}) | |
425 | Part = New("Part",Mag,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999996886, 1.00000012, 0.200000003),CFrame = CFrame.new(4.86801004, 8.66098499, -139.060837, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
426 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.899999976, 0.800000012),}) | |
427 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MagPart,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(-0.150001526, 9.53674316e-07, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),}) | |
428 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.499999553, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 8.85004425, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
429 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.949999988, 0.349999994, 1.02499998),}) | |
430 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.486792564, 0.759271622, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
431 | MuzzleFlash = New("Part",Rifle,"MuzzleFlash",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.100000001, 0.100000001, 0.100000001),CFrame = CFrame.new(4.86804056, 6.25002193, -138.486115, 1.53790924e-09, 1.32227007e-11, -1, 0, 1.00000036, -4.30411262e-12, 1.00000894, 0, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
432 | Weld = New("ManualWeld",MuzzleFlash,"Weld",{Part0 = MuzzleFlash,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, -1.00000668, 0, 0, 0, 0, 1),C1 = CFrame.new(-2.93001747, 1.64852142, 6.10351563e-05, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),}) | |
433 | BoltP1 = New("Part",Rifle,"BoltP1",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999995545, 0.200000003, 0.100000001),CFrame = CFrame.new(4.71800089, 8.65003014, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
434 | Mesh = New("BlockMesh",BoltP1,"Mesh",{Offset = Vector3.new(-0.0399999991, 0, 0),Scale = Vector3.new(0.200000003, 0.200000003, 1.20000005),}) | |
435 | Weld = New("ManualWeld",BoltP1,"Weld",{Part0 = BoltP1,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.674744606, 0.827680588, -0.149978638, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
436 | Bolt2 = New("Part",Rifle,"Bolt2",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.0999995619, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 9.05004692, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
437 | Mesh = New("BlockMesh",Bolt2,"Mesh",{Scale = Vector3.new(1, 0.400000006, 1.04999995),}) | |
438 | Weld = New("ManualWeld",Bolt2,"Weld",{Part0 = Bolt2,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.298851967, 0.690867424, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),}) | |
439 | ||
440 | Knife2 = New("Part",chara,"Knife2",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000018, 3, 0.600000024),CFrame = CFrame.new(20.800066, 8.20085621, -102.600151, 0.999997199, -7.43909914e-05, -0.000123201287, 0.000132681176, 7.43816781e-05, 1.00000858, -8.01031129e-05, -0.999997139, 8.01140704e-05),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
441 | Mesh = New("SpecialMesh",Knife2,"Mesh",{MeshId = "rbxassetid://121944778",TextureId = "rbxassetid://121944805",MeshType = Enum.MeshType.FileMesh,}) | |
442 | Weld = New("ManualWeld",Knife2,"Weld",{Part0 = Knife2,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -1.83178334e-11, -9.29553131e-20, -8.93234474e-20, 1.9826904e-10, -1, 1.83178334e-11, 1, 1.9826904e-10),C1 = CFrame.new(0.0998783112, -1.00001431, 0.900054932, -0.999999046, -0.00013233356, 7.98649926e-05, -0.000129168649, 1.00000286, 7.99051195e-05, -7.79679685e-05, 7.79874026e-05, -0.999999046),}) | |
443 | ||
444 | SheathPart = New("Part",chara,"SheathPart",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-4.70037603, 7.11581182, -105.941528, 0.000411997637, 0.000128002648, 1, 0.765914023, -0.642943084, -0.00023325636, 0.642943025, 0.765914023, -0.000362930034),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
445 | Mesh = New("SpecialMesh",SheathPart,"Mesh",{Scale = Vector3.new(0.419999987, 2.5, 5),MeshId = "rbxassetid://504776834",MeshType = Enum.MeshType.FileMesh,}) | |
446 | Weld = New("ManualWeld",SheathPart,"Weld",{Part0 = SheathPart,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0.000411997637, 0.765914023, 0.642943025, 0.000128002648, -0.642943084, 0.765914023, 1, -0.00023325636, -0.000362930034),C1 = CFrame.new(-0.399157524, -0.0849089622, 0.44103241, -1, -0.000285560207, 0.000172345346, -0.000285530492, 1, 0.000172423926, -0.000172394575, 0.000172374697, -1),}) | |
447 | KnifeH = New("Part",chara,"KnifeH",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-4.70015621, 7.43445921, -105.543449, 1, -0.000408680877, -0.00014000498, -0.000222999661, -0.765914917, 0.642942011, -0.000369990012, -0.642941952, -0.765914917),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
448 | Mesh = New("SpecialMesh",KnifeH,"Mesh",{MeshId = "rbxassetid://121944778",TextureId = "rbxassetid://121944805",MeshType = Enum.MeshType.FileMesh,}) | |
449 | Weld = New("ManualWeld",KnifeH,"Weld",{Part0 = KnifeH,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 1, -0.000222999661, -0.000369990012, -0.000408680877, -0.765914917, -0.642941952, -0.00014000498, 0.642942011, -0.765914917),C1 = CFrame.new(-0.399399757, 0.23380661, 0.043006897, -1, -0.000285560207, 0.000172345346, -0.000285530492, 1, 0.000172423926, -0.000172394575, 0.000172374697, -1),}) | |
450 | ||
451 | Knife2.Transparency = 1 | |
452 | KnifeH.Transparency = 0 | |
453 | ||
454 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
455 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)}) | |
456 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)}) | |
457 | local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001}) | |
458 | return TEff | |
459 | end | |
460 | ||
461 | LLTr = CreateTrailObj(LeftLeg,"White","White",0,0) | |
462 | RLTr = CreateTrailObj(RightLeg,"White","White",0,0) | |
463 | LATr = CreateTrailObj(LeftArm,"White","White",0,0) | |
464 | RATr = CreateTrailObj(RightArm,"White","White",0,0) | |
465 | ||
466 | local p1mit = Instance.new("ParticleEmitter",Knife2) | |
467 | p1mit.Texture = "rbxasset://textures/particles/fire_main.dds" | |
468 | p1mit.Color = ColorSequence.new(Color3.new(.6,0,0)) | |
469 | p1mit.Size = NumberSequence.new(1,0) | |
470 | p1mit.Lifetime = NumberRange.new(2) | |
471 | p1mit.Rate = 100 | |
472 | p1mit.Enabled = false | |
473 | p1mit.Acceleration = Vector3.new(0,-10,0) | |
474 | p1mit.Rotation = NumberRange.new(0,359) | |
475 | p1mit.Speed = NumberRange.new(0) | |
476 | p1mit.Enabled = false | |
477 | ||
478 | local tr2 | |
479 | spawn(function() | |
480 | local Att1 = New("Attachment",Knife2,"Att1",{Position = Vector3.new(0,1.3,.2)}) | |
481 | local Att2 = New("Attachment",Knife2,"Att2",{Position = Vector3.new(0,-.5,.2)}) | |
482 | tr2 = New("Trail",Knife2,"TrailEff",{Color = ColorSequence.new(Color3.new(.8,.8,.8)),Transparency = NumberSequence.new(0,1),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001}) | |
483 | end) | |
484 | ||
485 | local scr = Instance.new("ScreenGui",Player:FindFirstChildOfClass("PlayerGui")) | |
486 | local fr1 = Instance.new("Frame",scr) | |
487 | fr1.AnchorPoint = Vector2.new(1,.5) | |
488 | fr1.BackgroundTransparency = 1 | |
489 | fr1.BorderSizePixel = 0 | |
490 | fr1.Position = UDim2.new(1,0,.6,0) | |
491 | fr1.Size = UDim2.new(0,150,0,200) | |
492 | ||
493 | local imgbase = Instance.new("ImageLabel") | |
494 | imgbase.BackgroundTransparency = 1 | |
495 | imgbase.BorderSizePixel = 0 | |
496 | imgbase.Size = UDim2.new(0,50,0,50) | |
497 | imgbase.ImageColor3 = Color3.new(.3,.3,.3) | |
498 | ||
499 | local img1 = imgbase:Clone() | |
500 | img1.Parent = fr1 | |
501 | img1.Image = "rbxassetid://50231593" | |
502 | img1.ImageColor3 = Color3.new(1,1,1) | |
503 | ||
504 | imgbase:Destroy() | |
505 | ||
506 | local txtbase = Instance.new("TextLabel") | |
507 | txtbase.BackgroundTransparency = 1 | |
508 | txtbase.BorderSizePixel = 0 | |
509 | txtbase.Size = UDim2.new(0,100,0,50) | |
510 | txtbase.Font = "Highway" | |
511 | txtbase.TextSize = 30 | |
512 | txtbase.TextColor3 = Color3.new(.3,.3,.3) | |
513 | txtbase.TextStrokeColor3 = Color3.new(0,0,0) | |
514 | txtbase.TextStrokeTransparency = 0 | |
515 | ||
516 | local txt1 = txtbase:Clone() | |
517 | txt1.Parent = fr1 | |
518 | txt1.Text = "30/30" | |
519 | txt1.TextColor3 = Color3.new(1,1,1) | |
520 | txt1.Position = UDim2.new(0,50,0,0) | |
521 | ||
522 | txtbase:Destroy() | |
523 | ||
524 | local fr2 = Instance.new("Frame",scr) | |
525 | fr2.AnchorPoint = Vector2.new(.5,.5) | |
526 | fr2.BackgroundColor3 = Color3.new(0,0,0) | |
527 | fr2.BorderColor3 = Color3.new(0,0,0) | |
528 | fr2.BorderSizePixel = 5 | |
529 | fr2.Position = UDim2.new(.5,0,.8,0) | |
530 | fr2.Size = UDim2.new(0,300,0,30) | |
531 | ||
532 | local hpbar = Instance.new("Frame",fr2) | |
533 | hpbar.BackgroundColor3 = Color3.new(0,1,0) | |
534 | hpbar.BorderSizePixel = 0 | |
535 | hpbar.Size = UDim2.new(1,0,1,0) | |
536 | local hptext = Instance.new("TextLabel",fr2) | |
537 | hptext.BackgroundTransparency = 1 | |
538 | hptext.BorderSizePixel = 0 | |
539 | hptext.LayoutOrder = -1 | |
540 | hptext.Size = UDim2.new(0,100,1,0) | |
541 | hptext.Font = "Highway" | |
542 | hptext.Text = " + 100" | |
543 | hptext.TextColor3 = Color3.new(1,1,1) | |
544 | hptext.TextSize = 30 | |
545 | hptext.TextXAlignment = "Left" | |
546 | ||
547 | coroutine.wrap(function() | |
548 | while true do | |
549 | swait() | |
550 | txt1.Text = shots.."/30" | |
551 | end | |
552 | end)() | |
553 | ||
554 | coroutine.wrap(function() | |
555 | while true do | |
556 | swait() | |
557 | local hp = Humanoid.Health | |
558 | local mhp = Humanoid.MaxHealth | |
559 | hpbar.Size = UDim2.new(hp/mhp,0,1,0) | |
560 | if healing == false then | |
561 | hpbar.BackgroundColor3 = Color3.new(1-(hp/mhp),hp/mhp,0) | |
562 | else | |
563 | hpbar.BackgroundColor3 = Color3.new(1,1,0) | |
564 | end | |
565 | hptext.Text = " + "..(math.floor(hp)) | |
566 | end | |
567 | end)() | |
568 | ||
569 | local li = Instance.new("SpotLight",Head) | |
570 | li.Angle = 90 | |
571 | li.Brightness = 50 | |
572 | li.Shadows = true | |
573 | li.Range = 30 | |
574 | li.Enabled = false | |
575 | ||
576 | function rayCast(Position, Direction, Range, Ignore) | |
577 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
578 | end | |
579 | ||
580 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
581 | if SinglePlayer then | |
582 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
583 | end | |
584 | local List = {} | |
585 | for i, v in pairs(workspace:GetDescendants()) do | |
586 | if v:IsA("Model") then | |
587 | if v:findFirstChild("Head") then | |
588 | if v ~= chara then | |
589 | if (v.Head.Position - Position).magnitude <= Distance then | |
590 | table.insert(List, v) | |
591 | end | |
592 | end | |
593 | end | |
594 | end | |
595 | end | |
596 | return List | |
597 | end | |
598 | ||
599 | EffectModel = Create("Model"){ | |
600 | Parent = chara, | |
601 | Name = "Effects", | |
602 | } | |
603 | ||
604 | --Effect Functions-- | |
605 | Effects = { | |
606 | ||
607 | Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor) | |
608 | local p = Instance.new("Part",EffectModel) | |
609 | p.BrickColor = BrickColor.new(colour) | |
610 | p.Size = partsize | |
611 | p.Anchored = true | |
612 | p.CanCollide = false | |
613 | p.Material = matr | |
614 | p.CFrame = cf | |
615 | if inverse == true then | |
616 | p.Transparency = 1 | |
617 | else | |
618 | p.Transparency = 0 | |
619 | end | |
620 | local m = Instance.new("BlockMesh",p) | |
621 | m.Scale = meshstart | |
622 | coroutine.wrap(function() | |
623 | for i=0,1,factor do | |
624 | swait() | |
625 | if inverse == true then | |
626 | p.Transparency = 1-i | |
627 | else | |
628 | p.Transparency = i | |
629 | end | |
630 | m.Scale = m.Scale + meshadd | |
631 | if spin == true then | |
632 | p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
633 | end | |
634 | end | |
635 | p:Destroy() | |
636 | end)() | |
637 | return p | |
638 | end, | |
639 | ||
640 | Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
641 | local p = Instance.new("Part",EffectModel) | |
642 | p.BrickColor = BrickColor.new(colour) | |
643 | p.Size = partsize | |
644 | p.Anchored = true | |
645 | p.CanCollide = false | |
646 | p.Material = matr | |
647 | p.CFrame = cf | |
648 | if inverse == true then | |
649 | p.Transparency = 1 | |
650 | else | |
651 | p.Transparency = 0 | |
652 | end | |
653 | local m = Instance.new("SpecialMesh",p) | |
654 | m.MeshType = "Sphere" | |
655 | m.Scale = meshstart | |
656 | coroutine.wrap(function() | |
657 | for i=0,1,factor do | |
658 | swait() | |
659 | if inverse == true then | |
660 | p.Transparency = 1-i | |
661 | else | |
662 | p.Transparency = i | |
663 | end | |
664 | m.Scale = m.Scale + meshadd | |
665 | end | |
666 | p:Destroy() | |
667 | end)() | |
668 | return p | |
669 | end, | |
670 | ||
671 | Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
672 | local p = Instance.new("Part",EffectModel) | |
673 | p.BrickColor = BrickColor.new(colour) | |
674 | p.Size = partsize | |
675 | p.Anchored = true | |
676 | p.CanCollide = false | |
677 | p.Material = matr | |
678 | p.CFrame = cf | |
679 | if inverse == true then | |
680 | p.Transparency = 1 | |
681 | else | |
682 | p.Transparency = 0 | |
683 | end | |
684 | local m = Instance.new("CylinderMesh",p) | |
685 | m.Scale = meshstart | |
686 | coroutine.wrap(function() | |
687 | for i=0,1,factor do | |
688 | swait() | |
689 | if inverse == true then | |
690 | p.Transparency = 1-i | |
691 | else | |
692 | p.Transparency = i | |
693 | end | |
694 | m.Scale = m.Scale + meshadd | |
695 | end | |
696 | p:Destroy() | |
697 | end)() | |
698 | return p | |
699 | end, | |
700 | ||
701 | Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor) | |
702 | local p = Instance.new("Part",EffectModel) | |
703 | p.BrickColor = BrickColor.new(colour) | |
704 | p.Size = Vector3.new() | |
705 | p.Anchored = true | |
706 | p.CanCollide = false | |
707 | p.CFrame = cf | |
708 | if inverse == true then | |
709 | p.Transparency = 1 | |
710 | else | |
711 | p.Transparency = 0 | |
712 | end | |
713 | local m = Instance.new("SpecialMesh",p) | |
714 | m.MeshId = "rbxassetid://20329976" | |
715 | m.Scale = meshstart | |
716 | coroutine.wrap(function() | |
717 | for i=0,1,factor do | |
718 | swait() | |
719 | if inverse == true then | |
720 | p.Transparency = 1-i | |
721 | else | |
722 | p.Transparency = i | |
723 | end | |
724 | m.Scale = m.Scale + meshadd | |
725 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
726 | end | |
727 | p:Destroy() | |
728 | end)() | |
729 | return p | |
730 | end, | |
731 | ||
732 | Ring = function(cf,meshstart,meshadd,colour,inverse,factor) | |
733 | local p = Instance.new("Part",EffectModel) | |
734 | p.BrickColor = BrickColor.new(colour) | |
735 | p.Size = Vector3.new() | |
736 | p.Anchored = true | |
737 | p.CanCollide = false | |
738 | p.CFrame = cf | |
739 | if inverse == true then | |
740 | p.Transparency = 1 | |
741 | else | |
742 | p.Transparency = 0 | |
743 | end | |
744 | local m = Instance.new("SpecialMesh",p) | |
745 | m.MeshId = "rbxassetid://3270017" | |
746 | m.Scale = meshstart | |
747 | coroutine.wrap(function() | |
748 | for i=0,1,factor do | |
749 | swait() | |
750 | if inverse == true then | |
751 | p.Transparency = 1-i | |
752 | else | |
753 | p.Transparency = i | |
754 | end | |
755 | m.Scale = m.Scale + meshadd | |
756 | end | |
757 | p:Destroy() | |
758 | end)() | |
759 | return p | |
760 | end, | |
761 | ||
762 | Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor) | |
763 | local p = Instance.new("Part",EffectModel) | |
764 | p.BrickColor = BrickColor.new(colour) | |
765 | p.Size = Vector3.new() | |
766 | p.Anchored = true | |
767 | p.CanCollide = false | |
768 | p.CFrame = cf | |
769 | if inverse == true then | |
770 | p.Transparency = 1 | |
771 | else | |
772 | p.Transparency = 0 | |
773 | end | |
774 | local m = Instance.new("SpecialMesh",p) | |
775 | m.MeshId = meshid | |
776 | m.TextureId = textid | |
777 | m.Scale = meshstart | |
778 | coroutine.wrap(function() | |
779 | for i=0,1,factor do | |
780 | swait() | |
781 | if inverse == true then | |
782 | p.Transparency = 1-i | |
783 | else | |
784 | p.Transparency = i | |
785 | end | |
786 | m.Scale = m.Scale + meshadd | |
787 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
788 | end | |
789 | p:Destroy() | |
790 | end)() | |
791 | return p | |
792 | end, | |
793 | ||
794 | Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor) | |
795 | local p = Instance.new("Part",EffectModel) | |
796 | p.BrickColor = BrickColor.new(colour) | |
797 | p.Size = partsize | |
798 | p.Anchored = true | |
799 | p.CanCollide = false | |
800 | p.Material = matr | |
801 | p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
802 | if inverse == true then | |
803 | p.Transparency = 1 | |
804 | else | |
805 | p.Transparency = 0 | |
806 | end | |
807 | local m = Instance.new("SpecialMesh",p) | |
808 | m.MeshType = "Sphere" | |
809 | m.Scale = meshstart | |
810 | coroutine.wrap(function() | |
811 | for i=0,1,factor do | |
812 | swait() | |
813 | if inverse == true then | |
814 | p.Transparency = 1-i | |
815 | else | |
816 | p.Transparency = i | |
817 | end | |
818 | m.Scale = m.Scale + meshadd | |
819 | p.CFrame = p.CFrame * CFrame.new(0,move,0) | |
820 | end | |
821 | p:Destroy() | |
822 | end)() | |
823 | return p | |
824 | end, | |
825 | ||
826 | } | |
827 | ||
828 | function GetDudesTorso(c) | |
829 | local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso")) | |
830 | if torsy ~= nil then | |
831 | return torsy | |
832 | end | |
833 | end | |
834 | ||
835 | function BodyVel(part,faws) | |
836 | local bodyvel = Instance.new("BodyVelocity",part) | |
837 | local pep = 10000000 | |
838 | bodyvel.P = pep | |
839 | bodyvel.MaxForce = Vector3.new(pep,pep,pep) | |
840 | bodyvel.Velocity = faws | |
841 | debby:AddItem(bodyvel,.2) | |
842 | end | |
843 | ||
844 | function Dmg(dude,dmg,env,faws,trip,efftyp,toim) | |
845 | if dude and dude ~= chara then | |
846 | if dude:FindFirstChild("HITO") then return end | |
847 | if toim ~= 0 then | |
848 | local debounce = Instance.new("BoolValue",dude) | |
849 | debounce.Name = "HITO" | |
850 | debby:AddItem(debounce,toim) | |
851 | end | |
852 | local hum = dude:FindFirstChildOfClass("Humanoid") | |
853 | local dam = dmg+math.random(-env,env) | |
854 | local teksu = "-"..dam | |
855 | if hum then | |
856 | local finhel = hum.Health - dam | |
857 | if (finhel <= 0 and dude:FindFirstChild("DEATHED")==nil) or dmg == math.huge then | |
858 | teksu = "DEATH" | |
859 | dude:BreakJoints() | |
860 | Instance.new("BoolValue",dude).Name = "DEATHED" | |
861 | --local soaa = Instance.new("Sound",dude.Head) | |
862 | --local cho = math.random(1,5) | |
863 | --if cho == 1 then | |
864 | --soaa.SoundId = "rbxassetid://111896685" | |
865 | --elseif cho == 2 then | |
866 | --soaa.SoundId = "rbxassetid://535528169" | |
867 | --elseif cho == 3 then | |
868 | --soaa.SoundId = "rbxassetid://1080363252" | |
869 | --elseif cho == 4 then | |
870 | --soaa.SoundId = "rbxassetid://147758746" | |
871 | --elseif cho == 5 then | |
872 | --soaa.SoundId = "rbxassetid://626777433" | |
873 | --soaa.Volume = .2 | |
874 | --soaa.TimePosition = 1 | |
875 | --end | |
876 | --game:service'Debris':AddItem(soaa,6) | |
877 | --soaa:Play() | |
878 | end | |
879 | if dmg ~= math.huge then | |
880 | hum.Health = hum.Health - dam | |
881 | end | |
882 | end | |
883 | coroutine.wrap(function() | |
884 | local naeeym2 = Instance.new("BillboardGui",dude) | |
885 | naeeym2.Size = UDim2.new(0,100,0,40) | |
886 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
887 | naeeym2.Adornee = dude:FindFirstChild("Head") | |
888 | naeeym2.Name = "TalkingBillBoard" | |
889 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
890 | tecks2.BackgroundTransparency = 1 | |
891 | tecks2.BorderSizePixel = 0 | |
892 | tecks2.Text = teksu | |
893 | tecks2.Font = "Fantasy" | |
894 | tecks2.TextSize = 24 | |
895 | tecks2.TextStrokeTransparency = 0 | |
896 | tecks2.TextColor3 = Color3.new(1,1,1) | |
897 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
898 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
899 | swait(10) | |
900 | for i = 0,1,.05 do | |
901 | swait() | |
902 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0) | |
903 | tecks2.TextStrokeTransparency = i | |
904 | tecks2.TextTransparency = i | |
905 | end | |
906 | naeeym2:Destroy() | |
907 | end)() | |
908 | local torsy = GetDudesTorso(dude) | |
909 | if torsy then | |
910 | local amtt = dam/5 | |
911 | if amtt > 30 then | |
912 | amtt = 30 | |
913 | end | |
914 | for i=1,amtt do | |
915 | local blp = Instance.new("Part",EffectModel) | |
916 | blp.Size = Vector3.new(.3,.3,.3) | |
917 | blp.BrickColor = BrickColor.new("Crimson") | |
918 | blp.CFrame = torsy.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
919 | blp.Velocity = torsy.CFrame.lookVector*math.random(-8,-8) + torsy.CFrame.rightVector*math.random(-8,8) + Vector3.new(0,math.random(0,5),0) | |
920 | blp.RotVelocity = Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15)) | |
921 | --local blm = Instance.new("SpecialMesh",blp) | |
922 | --blm.MeshType = "Sphere" | |
923 | coroutine.wrap(function() | |
924 | swait(10) | |
925 | blp.Orientation = Vector3.new(0,blp.Orientation.y,0) | |
926 | for i=0,1,.1 do | |
927 | swait() | |
928 | blp.Transparency = i | |
929 | blp.Size = blp.Size + Vector3.new(.05,-.05,.05) | |
930 | end | |
931 | blp:Destroy() | |
932 | end)() | |
933 | end | |
934 | if efftyp == "Blunt" then | |
935 | puncheff(torsy) | |
936 | elseif efftyp == "Sharp" then | |
937 | slasheff(torsy) | |
938 | coroutine.wrap(function() | |
939 | if Knife2.Transparency == 0 then | |
940 | p1mit.Enabled = true | |
941 | swait(10) | |
942 | p1mit.Enabled = false | |
943 | end | |
944 | end)() | |
945 | elseif efftyp == "Shot" then | |
946 | so(144884872,torsy,.9,1) | |
947 | end | |
948 | if faws ~= 0 then | |
949 | BodyVel(torsy,faws) | |
950 | end | |
951 | if trip == true then | |
952 | torsy.CFrame = torsy.CFrame * CFrame.Angles(math.rad(-90),0,0) | |
953 | torsy.RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
954 | end | |
955 | end | |
956 | end | |
957 | end | |
958 | ||
959 | function MagnitudeDmg(par,magni,dmg,env,faws,trip,efftyp,toim) | |
960 | for _, c in pairs(workspace:GetDescendants()) do | |
961 | local hum = c:FindFirstChildOfClass("Humanoid") | |
962 | if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then | |
963 | local head = GetDudesTorso(c) | |
964 | if head ~= nil then | |
965 | local targ = head.Position - par.Position | |
966 | local mag = targ.magnitude | |
967 | if magni >= mag and c ~= chara then | |
968 | Dmg(c,dmg,env,faws,trip,efftyp,toim) | |
969 | end | |
970 | end | |
971 | end | |
972 | end | |
973 | end | |
974 | ||
975 | function CamShake(par,magni,env,dur) | |
976 | coroutine.wrap(function() | |
977 | for i=0,dur*60 do | |
978 | swait() | |
979 | Humanoid.CameraOffset = Vector3.new(math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10) | |
980 | end | |
981 | Humanoid.CameraOffset = Vector3.new() | |
982 | end)() | |
983 | end | |
984 | ||
985 | function puncheff(par) | |
986 | if par.Parent:FindFirstChild("DebounceHit")==nil then | |
987 | so(386946017,par,math.random(80,120)/100,1) | |
988 | Effects.Sphere(par.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(.1,.1,.1),"Neon","White",false,.1) | |
989 | end | |
990 | end | |
991 | ||
992 | function slasheff(par) | |
993 | if par.Parent:FindFirstChild("DebounceHit")==nil then | |
994 | local cho = math.random(1,3) | |
995 | so(444667859,par,1,1) | |
996 | Effects.Sphere(par.CFrame*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)),Vector3.new(.5,.5,.5),Vector3.new(1,0,1),Vector3.new(-.1,5,-.1),"Neon","White",false,.1) | |
997 | CamShake(par,3,.3,.5) | |
998 | end | |
999 | end | |
1000 | ||
1001 | function gunreload() | |
1002 | local bolting = false | |
1003 | if shots < 1 then | |
1004 | bolting = true | |
1005 | end | |
1006 | for i=0,1,.2 do | |
1007 | swait() | |
1008 | PlayAnimationFromTable({ | |
1009 | CFrame.new(7.16576396e-05, -8.09862577e-09, 5.8991347e-05, 0.866025805, 5.21622605e-05, -0.499999523, -8.21355061e-05, 1, -3.79384437e-05, 0.500003934, 7.39239331e-05, 0.866033435), | |
1010 | CFrame.new(-0.000200522729, 1.49998856, -2.10760772e-05, 0.866025805, -8.21355061e-05, 0.500003934, 5.21622605e-05, 1, 7.39239331e-05, -0.499999523, -3.79384437e-05, 0.866033435), | |
1011 | CFrame.new(1.19112039, 0.509645581, -0.936723173, 0.866108775, 0.469844252, -0.170603499, 0.000398069969, -0.34195143, -0.939717591, -0.499855638, 0.813835204, -0.296356052), | |
1012 | CFrame.new(-1.01784408, -0.307534277, 0.587668538, 0.813770115, -0.296275973, 0.499998927, 0.342069209, 0.939674795, 7.47573649e-05, -0.469858527, 0.170973375, 0.866026163), | |
1013 | CFrame.new(0.500045836, -2.00001574, 6.10351854e-05, 1.00000012, 0, 0, 0, 1, -1.09139364e-11, 0, -1.09139364e-11, 1.00000012), | |
1014 | CFrame.new(-0.499982297, -2.00001812, -1.68383121e-06, 0.866025805, 7.7745608e-07, 0.499999464, -9.20089349e-07, 1, 3.87553882e-08, -0.499999464, -4.93619154e-07, 0.866025805), | |
1015 | }, .4, false) | |
1016 | end | |
1017 | so(1550642637,RightArm,1,1) | |
1018 | local magh = Mag:Clone() | |
1019 | local magd = Mag:Clone() | |
1020 | magd.Parent = chara | |
1021 | magd:MoveTo(MagPart.Position) | |
1022 | magd.MagPart.CFrame = MagPart.CFrame | |
1023 | for i,v in pairs(Mag:children'') do | |
1024 | v.Transparency = 1 | |
1025 | end | |
1026 | for i,v in pairs(magd:children'') do | |
1027 | v.CanCollide = true | |
1028 | end | |
1029 | coroutine.wrap(function() | |
1030 | swait(120) | |
1031 | for ab=0,1,.1 do | |
1032 | swait() | |
1033 | for i,v in pairs(magd:children'') do | |
1034 | v.Transparency = ab | |
1035 | end | |
1036 | end | |
1037 | magd:Destroy() | |
1038 | end)() | |
1039 | swait(10) | |
1040 | magh.MagPart.Weld.Part1 = LeftArm | |
1041 | magh.MagPart.Weld.C1 = CFrame.new() | |
1042 | magh.MagPart.Weld.C0 = CFrame.new(-1,0,-.1) * CFrame.Angles(math.rad(90),0,math.rad(90)) | |
1043 | magh.Parent = chara | |
1044 | for i=0,1,.1 do | |
1045 | swait() | |
1046 | PlayAnimationFromTable({ | |
1047 | CFrame.new(6.78431461e-05, -8.38813463e-09, 6.55982731e-05, 0.866028309, 5.21623115e-05, -0.500000954, -8.2135979e-05, 1, -3.7939295e-05, 0.500000954, 7.39235766e-05, 0.866028368), | |
1048 | CFrame.new(-0.000197320973, 1.4999876, -1.30886638e-05, 0.98481077, -8.24863091e-05, 0.173648238, 7.46281003e-05, 1, 5.17808985e-05, -0.173648268, -3.80359343e-05, 0.98481077), | |
1049 | CFrame.new(1.1081171, 0.229849994, -0.552296758, 0.32167092, 0.529445052, -0.784998, -0.865821123, -0.171100825, -0.47018975, -0.383253366, 0.83091414, 0.403366506), | |
1050 | CFrame.new(-0.717486799, 0.926528692, -1.03411949, 0.0336538404, -0.23535648, -0.971329331, -0.966074884, 0.241339579, -0.0919491872, 0.256061047, 0.941471338, -0.219250023), | |
1051 | CFrame.new(0.500048757, -2.00001621, 5.34072533e-05, 1.00000596, -8.18545232e-11, 0, -8.18545232e-11, 1, -5.85714588e-10, 0, -5.85714588e-10, 1.00000596), | |
1052 | CFrame.new(-0.499987721, -2.00001812, -2.68220901e-07, 0.866030872, 7.77390596e-07, 0.500002384, -9.19890795e-07, 1, 3.82206053e-08, -0.500002325, -4.94204869e-07, 0.866030872), | |
1053 | }, .4, false) | |
1054 | end | |
1055 | magh:Destroy() | |
1056 | so(1550643261,RightArm,1,1) | |
1057 | for i,v in pairs(Mag:children'') do | |
1058 | v.Transparency = 0 | |
1059 | end | |
1060 | shots=1 | |
1061 | if bolting then | |
1062 | shots=0 | |
1063 | swait(10) | |
1064 | for i=0,1,.1 do | |
1065 | swait() | |
1066 | PlayAnimationFromTable({ | |
1067 | CFrame.new(7.16576469e-05, -8.0986311e-09, 5.89913543e-05, 0.866025865, 5.21622605e-05, -0.499999553, -8.2135557e-05, 1, -3.79385383e-05, 0.500003994, 7.39240495e-05, 0.866033494), | |
1068 | CFrame.new(-0.0471813381, 1.46578491, -0.0813962817, 0.866025865, -0.171088517, 0.4698219, 5.20799076e-05, 0.939667284, 0.342089593, -0.499999523, -0.296236575, 0.813792229), | |
1069 | CFrame.new(0.903510451, 0.733465374, -0.540370524, 0.0522459783, 0.845055699, 0.532124102, 0.996226788, -0.00712709641, -0.0864949599, -0.0693004429, 0.534644127, -0.842239022), | |
1070 | CFrame.new(-1.3147887, 0.362699449, -0.10727562, 0.924801946, -0.332139075, 0.18555221, 0.0397336259, -0.400726348, -0.915335894, 0.37838313, 0.853878319, -0.35739553), | |
1071 | CFrame.new(0.500048101, -2.00001764, 6.48489149e-05, 1.00000465, 6.20275387e-10, 7.62939453e-06, 6.20275387e-10, 1, 1.05501385e-09, 7.62939453e-06, 1.05501385e-09, 1.00001347), | |
1072 | CFrame.new(-0.499982387, -2.0000186, 2.08616257e-06, 0.866025865, 7.78074536e-07, 0.500008345, -9.20103844e-07, 1, 3.99777491e-08, -0.499999523, -4.92556865e-07, 0.866041124), | |
1073 | }, .4, false) | |
1074 | end | |
1075 | so(437204112,RightArm,1,1) | |
1076 | swait(5) | |
1077 | end | |
1078 | shots = shots+30 | |
1079 | end | |
1080 | ||
1081 | function wepknifestab() | |
1082 | attack = true | |
1083 | Humanoid.WalkSpeed = 2 | |
1084 | for i=0,1,.2 do | |
1085 | swait() | |
1086 | PlayAnimationFromTable({ | |
1087 | CFrame.new(0.000179143899, 4.94844912e-08, -0.000147477331, 0.500000775, 1.22923609e-06, -0.86602509, -0.000292493496, 1.00000012, -0.000167452119, 0.866025031, 0.000337032834, 0.500000775), | |
1088 | CFrame.new(-0.000420931523, 1.50010991, -7.43984856e-06, 0.500000775, -0.000292493496, 0.866025031, 1.22923609e-06, 1.00000012, 0.000337032834, -0.86602509, -0.000167452119, 0.500000775), | |
1089 | CFrame.new(0.839951992, 0.256004274, -0.958486319, 0.499996692, 0.813799739, 0.2961981, 4.75931301e-06, 0.342016816, -0.939693928, -0.866027415, 0.469845295, 0.171003401), | |
1090 | CFrame.new(-1.22089827, -0.164978445, -0.0866824239, 0.983905554, -0.138054684, 0.113450736, 0.176127508, 0.856396437, -0.485349834, -0.0301539302, 0.497520208, 0.866928339), | |
1091 | CFrame.new(0.500076354, -2.00016046, 1.52737084e-05, 1.00000012, -1.45519152e-11, 2.98023224e-08, -1.45519152e-11, 1.00000012, -7.27595761e-12, 2.98023224e-08, -7.27595761e-12, 1.00000012), | |
1092 | CFrame.new(-0.499987543, -2.00015903, -5.56111336e-05, 0.499999285, 9.37507139e-07, 0.866025865, -1.2402096e-06, 1.00000012, -3.66519089e-07, -0.866025925, -8.90795491e-07, 0.499999374), | |
1093 | }, .5, false) | |
1094 | end | |
1095 | so(211059653,Knife2,1,1) | |
1096 | Knife2.Transparency = 0 | |
1097 | KnifeH.Transparency = 1 | |
1098 | for i=0,1,.1 do | |
1099 | swait() | |
1100 | PlayAnimationFromTable({ | |
1101 | CFrame.new(0.000175330031, 1.00539501e-06, -0.000154084992, 0.500003099, 1.22933841e-06, -0.866029263, -0.000292495621, 1.00000453, -0.000167453458, 0.866029143, 0.000337033416, 0.500003219), | |
1102 | CFrame.new(-0.00041242165, 1.50012219, -6.93052425e-06, 0.500003099, -0.000292495621, 0.866029143, 1.22933841e-06, 1.00000453, 0.000337033416, -0.866029263, -0.000167453458, 0.500003219), | |
1103 | CFrame.new(1.09288597, 0.364121079, -0.802504063, 0.748180747, 0.593714058, 0.296199232, 0.116981708, 0.321389914, -0.939695835, -0.653104663, 0.737710655, 0.171003729), | |
1104 | CFrame.new(-0.688675284, 1.32965851, -0.712965548, 0.334458649, -0.800666928, -0.49706617, -0.926752567, -0.375185549, -0.0192363095, -0.171089798, 0.46709004, -0.867502213), | |
1105 | CFrame.new(0.500086367, -2.00017858, 1.52748289e-05, 1.00000489, -7.13043846e-10, 2.98023224e-08, -7.13043846e-10, 1.00000441, -5.31144906e-10, 2.98023224e-08, -5.31144906e-10, 1.00000489), | |
1106 | CFrame.new(-0.499991834, -2.00017858, -5.22881746e-05, 0.500001609, 9.36794095e-07, 0.866030037, -1.24011513e-06, 1.00000441, -3.673631e-07, -0.866030157, -8.91312084e-07, 0.500001788), | |
1107 | }, .5, false) | |
1108 | end | |
1109 | tr2.Enabled = true | |
1110 | so(200632136,Knife2,math.random(9,11)/10,1) | |
1111 | for i=0,1,.1 do | |
1112 | swait() | |
1113 | PlayAnimationFromTable({ | |
1114 | CFrame.new(-2.50339508e-06, -0.116524018, -2.23838973, 0.342018872, -5.0964772e-08, -0.939693093, 0.321393877, 0.939692676, 0.11697726, 0.883022726, -0.342020035, 0.321392655), | |
1115 | CFrame.new(-6.99047723e-06, 1.49998283, -2.62057279e-06, 0.342018872, 1.1920929e-07, 0.939693093, -5.0964772e-08, 1, -1.49011612e-07, -0.939693093, -7.4505806e-09, 0.342018902), | |
1116 | CFrame.new(1.22636616, 0.263386577, -0.809811354, 0.939690471, 0.342026293, 1.16229057e-06, -0.0593909174, 0.163175166, -0.984808028, -0.336830378, 0.925414443, 0.173647419), | |
1117 | CFrame.new(-1.32934356, 1.10000336, -0.700607181, -1.1920929e-07, 0.342020571, -0.939692616, -1, -4.47034836e-08, 1.49011612e-07, 7.4505806e-09, 0.939692497, 0.342020541), | |
1118 | CFrame.new(0.977364421, -1.93956006, -0.0584065914, 0.854759812, -0.518661916, -0.0193820298, 0.5132581, 0.850225329, -0.116975099, 0.0771495849, 0.0900376588, 0.99294579), | |
1119 | CFrame.new(-0.972516656, -1.19701695, -0.393972486, 0.183487743, 0.321393877, 0.92899859, 0.0593910404, 0.939692676, -0.336824, -0.981226325, 0.11697726, 0.153334215), | |
1120 | }, .4, false) | |
1121 | MagnitudeDmg(Knife2,1.5,100,0,RootPart.CFrame.lookVector*5,false,"Sharp",.5) | |
1122 | end | |
1123 | for i=0,1,.2 do | |
1124 | swait() | |
1125 | PlayAnimationFromTable({ | |
1126 | CFrame.new(0.000175330031, 1.00539501e-06, -0.000154084992, 0.500003099, 1.22933841e-06, -0.866029263, -0.000292495621, 1.00000453, -0.000167453458, 0.866029143, 0.000337033416, 0.500003219), | |
1127 | CFrame.new(-0.00041242165, 1.50012219, -6.93052425e-06, 0.500003099, -0.000292495621, 0.866029143, 1.22933841e-06, 1.00000453, 0.000337033416, -0.866029263, -0.000167453458, 0.500003219), | |
1128 | CFrame.new(1.09288597, 0.364121079, -0.802504063, 0.748180747, 0.593714058, 0.296199232, 0.116981708, 0.321389914, -0.939695835, -0.653104663, 0.737710655, 0.171003729), | |
1129 | CFrame.new(-0.688675284, 1.32965851, -0.712965548, 0.334458649, -0.800666928, -0.49706617, -0.926752567, -0.375185549, -0.0192363095, -0.171089798, 0.46709004, -0.867502213), | |
1130 | CFrame.new(0.500086367, -2.00017858, 1.52748289e-05, 1.00000489, -7.13043846e-10, 2.98023224e-08, -7.13043846e-10, 1.00000441, -5.31144906e-10, 2.98023224e-08, -5.31144906e-10, 1.00000489), | |
1131 | CFrame.new(-0.499991834, -2.00017858, -5.22881746e-05, 0.500001609, 9.36794095e-07, 0.866030037, -1.24011513e-06, 1.00000441, -3.673631e-07, -0.866030157, -8.91312084e-07, 0.500001788), | |
1132 | }, .5, false) | |
1133 | end | |
1134 | for i=0,1,.2 do | |
1135 | swait() | |
1136 | PlayAnimationFromTable({ | |
1137 | CFrame.new(0.000179143899, 4.94844912e-08, -0.000147477331, 0.500000775, 1.22923609e-06, -0.86602509, -0.000292493496, 1.00000012, -0.000167452119, 0.866025031, 0.000337032834, 0.500000775), | |
1138 | CFrame.new(-0.000420931523, 1.50010991, -7.43984856e-06, 0.500000775, -0.000292493496, 0.866025031, 1.22923609e-06, 1.00000012, 0.000337032834, -0.86602509, -0.000167452119, 0.500000775), | |
1139 | CFrame.new(0.839951992, 0.256004274, -0.958486319, 0.499996692, 0.813799739, 0.2961981, 4.75931301e-06, 0.342016816, -0.939693928, -0.866027415, 0.469845295, 0.171003401), | |
1140 | CFrame.new(-1.22089827, -0.164978445, -0.0866824239, 0.983905554, -0.138054684, 0.113450736, 0.176127508, 0.856396437, -0.485349834, -0.0301539302, 0.497520208, 0.866928339), | |
1141 | CFrame.new(0.500076354, -2.00016046, 1.52737084e-05, 1.00000012, -1.45519152e-11, 2.98023224e-08, -1.45519152e-11, 1.00000012, -7.27595761e-12, 2.98023224e-08, -7.27595761e-12, 1.00000012), | |
1142 | CFrame.new(-0.499987543, -2.00015903, -5.56111336e-05, 0.499999285, 9.37507139e-07, 0.866025865, -1.2402096e-06, 1.00000012, -3.66519089e-07, -0.866025925, -8.90795491e-07, 0.499999374), | |
1143 | }, .5, false) | |
1144 | end | |
1145 | so(211134014,Knife2,1,1) | |
1146 | Knife2.Transparency = 1 | |
1147 | KnifeH.Transparency = 0 | |
1148 | Humanoid.WalkSpeed = 16 | |
1149 | tr2.Enabled = false | |
1150 | attack = false | |
1151 | end | |
1152 | ||
1153 | function gunshoot() | |
1154 | attack = true | |
1155 | Humanoid.WalkSpeed = 2 | |
1156 | repeat | |
1157 | for i=0,1 do | |
1158 | swait() | |
1159 | PlayAnimationFromTable({ | |
1160 | CFrame.new(9.81599442e-05, -3.13463495e-08, 0.000154759327, 0.499999762, 5.98886472e-05, -0.866025686, -0.000172460219, 1, -3.0416435e-05, 0.866025627, 0.000164563156, 0.499999762), | |
1161 | CFrame.new(0.110661574, 1.52556551, -0.192373157, 0.469904929, 0.170847476, 0.866025805, -0.341963649, 0.93971324, 0.000164846599, -0.813787699, -0.296226799, 0.499999464), | |
1162 | CFrame.new(0.900587499, 0.405391365, -0.749934435, 0.50007689, 0.865988314, 0.000331558258, 0.000377809047, 0.000164698489, -0.99999994, -0.865981102, 0.500081062, -0.000244814204), | |
1163 | CFrame.new(-1.05577028, 0.00611187518, -0.929771721, 0.258709729, 0.208402574, 0.94320631, 0.878974199, -0.455733538, -0.140396863, 0.400591552, 0.865375996, -0.301083267), | |
1164 | CFrame.new(0.500045836, -2.00001764, 6.86496642e-05, 1.00000012, 0, -2.98023224e-08, 0, 1, -3.63797881e-12, -2.98023224e-08, -3.63797881e-12, 1.00000012), | |
1165 | CFrame.new(-0.499984354, -2.00001764, 3.27825546e-06, 0.500000656, -9.88464308e-07, 0.86602515, 8.06332537e-07, 1, 6.75843694e-07, -0.86602515, 3.60366357e-07, 0.500000656), | |
1166 | }, .5, false) | |
1167 | end | |
1168 | CamShake(RightArm,3,.1,.05) | |
1169 | Bolt1.Transparency = 1 | |
1170 | BoltP1.Transparency = 1 | |
1171 | Bolt2.Transparency = 0 | |
1172 | BoltP2.Transparency = 0 | |
1173 | local part, pos = rayCast(MuzzleFlash.Position,((Mouse.Hit.p+Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) - MuzzleFlash.Position),200,chara) | |
1174 | local aimo = Instance.new("Part",Camera) | |
1175 | aimo.Anchored = true | |
1176 | aimo.Size = Vector3.new() | |
1177 | aimo.Transparency = 1 | |
1178 | aimo.CanCollide = false | |
1179 | aimo.CFrame = CFrame.new(pos) | |
1180 | Effects.Meshed(MuzzleFlash.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(),Vector3.new(.0025,.0001,.0025),"","rbxassetid://662585058","",0,false,.1) | |
1181 | Effects.Block(MuzzleFlash.CFrame,Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.3,.3,.3),"Neon","Bright yellow",true,false,.1) | |
1182 | Effects.Block(MuzzleFlash.CFrame,Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.6,.6,.6),"Neon","Bright yellow",true,false,.1) | |
1183 | Effects.Block(CFrame.new(pos),Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.1,.1,.1),"Neon","Bright yellow",true,false,.1) | |
1184 | Effects.Block(CFrame.new((MuzzleFlash.Position + pos)/2,pos),Vector3.new(.2,.2,(MuzzleFlash.Position - pos).magnitude),Vector3.new(0,0,1),Vector3.new(.1,.1,0),"Neon","Bright yellow",false,false,.1) | |
1185 | MagnitudeDmg(aimo,3,18,2,RootPart.CFrame.lookVector*2,false,"Shot",.1) | |
1186 | so(1583819337,Bolt1,math.random(90,110)/100,2) | |
1187 | local hitpt = Instance.new("Part",EffectModel) | |
1188 | hitpt.Size = Vector3.new(0,0,.3) | |
1189 | hitpt.CFrame = Bolt1.CFrame * CFrame.Angles(0,math.rad(90),0) | |
1190 | hitpt.Velocity = RootPart.CFrame.rightVector*10+Vector3.new(0,5,0) | |
1191 | local hitm = Instance.new("SpecialMesh",hitpt) | |
1192 | hitm.MeshId = "rbxassetid://94295100" | |
1193 | hitm.TextureId = "rbxassetid://94287792" | |
1194 | hitm.Scale = Vector3.new(2,2,4) | |
1195 | coroutine.wrap(function() | |
1196 | swait(120) | |
1197 | for i = 0,1,.1 do | |
1198 | swait() | |
1199 | hitpt.Transparency = i | |
1200 | end | |
1201 | hitpt:Destroy() | |
1202 | end)() | |
1203 | for i=0,1 do | |
1204 | swait() | |
1205 | PlayAnimationFromTable({ | |
1206 | CFrame.new(7.78138638e-05, -1.36256676e-05, 0.100157872, 0.499999881, 5.98886909e-05, -0.866025805, -0.000172460306, 1.00000012, -3.04165078e-05, 0.866040111, 0.000164565776, 0.500008047), | |
1207 | CFrame.new(0.110661842, 1.52556539, -0.192373574, 0.469904989, 0.170847505, 0.866040289, -0.341963649, 0.93971324, 0.000164849247, -0.813787758, -0.296226829, 0.500007749), | |
1208 | CFrame.new(1.073771, 0.405395687, -0.649899781, 0.50007695, 0.865988374, 0.000331558171, 0.000377809076, 0.000164698373, -0.99999994, -0.865981162, 0.500081062, -0.000244814291), | |
1209 | CFrame.new(-0.882619739, 0.00611773878, -0.829759479, 0.258715928, 0.208411366, 0.943215907, 0.878974259, -0.455733567, -0.140396863, 0.400595129, 0.865381122, -0.301077813), | |
1210 | CFrame.new(0.413464695, -2.00001669, -0.049946934, 1.00001276, 2.30284058e-09, 7.09295273e-06, 2.30284058e-09, 1, 1.3042154e-09, 7.09295273e-06, 1.3042154e-09, 1.00000441), | |
1211 | CFrame.new(-0.586589575, -2.00001693, -0.0500222594, 0.500000775, -9.86188752e-07, 0.866039634, 8.06332537e-07, 1, 6.78477591e-07, -0.866025209, 3.61660568e-07, 0.500009), | |
1212 | }, .5, false) | |
1213 | end | |
1214 | shots = shots - 1 | |
1215 | aimo:Destroy() | |
1216 | if shots <= 0 then | |
1217 | gunreload() | |
1218 | end | |
1219 | Bolt1.Transparency = 0 | |
1220 | BoltP1.Transparency = 0 | |
1221 | Bolt2.Transparency = 1 | |
1222 | BoltP2.Transparency = 1 | |
1223 | until zhold == false | |
1224 | Humanoid.WalkSpeed = 16 | |
1225 | attack = false | |
1226 | end | |
1227 | ||
1228 | function heal() | |
1229 | attack = true | |
1230 | Humanoid.WalkSpeed = 2 | |
1231 | local val = Instance.new("BoolValue",chara) | |
1232 | val.Name = "healcool" | |
1233 | debby:AddItem(val,30) | |
1234 | for i=0,1,.1 do | |
1235 | swait() | |
1236 | PlayAnimationFromTable({ | |
1237 | CFrame.new(0, 0, 0, 1.00000131, 5.536549e-11, 0, 5.536549e-11, 1, 5.82076609e-11, 0, 5.82076609e-11, 1.00000131), | |
1238 | CFrame.new(-0.0470143259, 1.46578526, -0.0813575089, 0.866027415, -0.171009213, 0.46984449, 1.88792183e-06, 0.939693928, 0.342016727, -0.499997973, -0.296194941, 0.813800871), | |
1239 | CFrame.new(1.50003648, 0.699995697, 3.59429396e-05, 1.00000131, -2.06271608e-07, -6.67154382e-06, -2.06196262e-07, -1, 2.48575816e-07, -6.67157292e-06, -2.48721335e-07, -1.00000131), | |
1240 | CFrame.new(-1.2535826, -0.14593178, 0.0679161474, 0.941512227, -0.331708014, -0.0593915284, 0.331707656, 0.88120383, 0.336823434, -0.059390977, -0.33682391, 0.939694226), | |
1241 | CFrame.new(0.500059426, -2.00001574, 4.5761466e-05, 0.939693809, -1.38383513e-07, -0.342020601, -2.80560926e-08, 1, -4.82134055e-07, 0.342020571, 4.627218e-07, 0.939694047), | |
1242 | CFrame.new(-0.499963611, -2.0000174, 2.33203173e-05, 0.939694047, -1.69952145e-07, 0.342020452, 2.99973181e-07, 1, -3.27068847e-07, -0.342020482, 4.10043867e-07, 0.939694047), | |
1243 | }, .4, false) | |
1244 | end | |
1245 | local inj = New("Part",chara,"inj",{Size = Vector3.new(2.10000014, 0.299999982, 0.300000012),CFrame = CFrame.new(-37.1041107, 9.26048374, -70.1689682, -0.100794047, 0.957379222, 0.270676494, -0.129940063, 0.257064044, -0.957618713, -0.986385465, -0.131693989, 0.0984913707),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1246 | local iMesh = New("SpecialMesh",inj,"Mesh",{Scale = Vector3.new(0.00200000009, 0.00200000009, 0.00200000009),MeshId = "rbxassetid://504973881",MeshType = Enum.MeshType.FileMesh,}) | |
1247 | local iWeld = New("ManualWeld",inj,"Weld",{Part0 = inj,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.100794047, -0.129940063, -0.986385465, 0.957379222, 0.257064044, -0.131693989, 0.270676494, -0.957618713, 0.0984913707),C1 = CFrame.new(0.250003815, -1.05000305, -0.249992371, -0.270675898, 0.957618654, -0.0984939635, 0.957379043, 0.257062733, -0.131696969, -0.100796357, -0.129943267, -0.986384809),}) | |
1248 | for i=0,1,.1 do | |
1249 | swait() | |
1250 | PlayAnimationFromTable({ | |
1251 | CFrame.new(0, 0, 0, 1.00000441, 2.30059527e-10, -1.45519152e-11, 2.30059527e-10, 1, 2.32830644e-10, -1.45519152e-11, 2.32830644e-10, 1.00000441), | |
1252 | CFrame.new(-0.0342181027, 1.48367238, -0.0925136507, 0.939694226, 1.76227331e-07, 0.342022419, -0.0593916923, 0.984807789, 0.163176015, -0.336826295, -0.173648849, 0.925418019), | |
1253 | CFrame.new(1.50004876, 0.69999665, 2.83136833e-05, 1.00000441, -2.06446316e-07, -6.67157292e-06, -2.06021568e-07, -1, 2.48401193e-07, -6.67160202e-06, -2.48895958e-07, -1.00000441), | |
1254 | CFrame.new(-1.32655382, 0.16053623, -0.618192732, 0.82254082, 0.00194577302, 0.568706632, 0.568639874, 0.0127443047, -0.82248795, -0.00884814467, 0.999919116, 0.00937626697), | |
1255 | CFrame.new(0.500066876, -2.00001621, 5.19603491e-05, 0.939696729, -1.38208819e-07, -0.342021674, -2.78232619e-08, 1, -4.81959432e-07, 0.342021644, 4.62896423e-07, 0.939696968), | |
1256 | CFrame.new(-0.499963373, -2.00001645, 2.26646662e-05, 0.939696968, -1.69777451e-07, 0.342021525, 3.00089596e-07, 1, -3.26806912e-07, -0.342021555, 4.1021849e-07, 0.939696968), | |
1257 | }, .4, false) | |
1258 | end | |
1259 | for i=0,1,.2 do | |
1260 | swait() | |
1261 | PlayAnimationFromTable({ | |
1262 | CFrame.new(0, 0, 0, 1.00000012, -3.48876483e-12, 0, -3.48876483e-12, 1, 0, 0, 0, 1.00000012), | |
1263 | CFrame.new(-2.27339151e-05, 1.46578801, -0.0939310491, 1.00000012, -3.72103386e-07, 1.64323137e-06, -2.12327393e-07, 0.939692557, 0.342020363, -1.67140388e-06, -0.342020422, 0.939692676), | |
1264 | CFrame.new(1.50005758, 0.699994743, 3.59426958e-05, 1.00000012, -2.06212761e-07, -6.67157292e-06, -2.06226048e-07, -1, 2.48663127e-07, -6.67157292e-06, -2.48663127e-07, -1.00000012), | |
1265 | CFrame.new(-0.943567514, 0.0578621849, -0.670854151, 0.270323098, -0.957491815, 0.100672945, 0.957676411, 0.256677359, -0.130279034, 0.0989006162, 0.131629527, 0.986353219), | |
1266 | CFrame.new(0.500069618, -2.00001717, 4.97102737e-05, 0.939692676, -1.38762402e-07, -0.342020184, -2.76195351e-08, 1, -4.81668394e-07, 0.342020184, 4.62023309e-07, 0.939692795), | |
1267 | CFrame.new(-0.499966532, -2.00001884, 2.46018171e-05, 0.939692795, -1.69370765e-07, 0.342019975, 2.99449312e-07, 1, -3.27592716e-07, -0.342020005, 4.10247594e-07, 0.939692795), | |
1268 | }, .5, false) | |
1269 | end | |
1270 | so(566593606,Torso,1,1) | |
1271 | coroutine.wrap(function() | |
1272 | healing = true | |
1273 | for i=1,200 do | |
1274 | swait() | |
1275 | Humanoid.Health = Humanoid.Health + 1 | |
1276 | end | |
1277 | healing = false | |
1278 | end)() | |
1279 | swait(60) | |
1280 | inj:BreakJoints() | |
1281 | inj.CanCollide = true | |
1282 | inj.Velocity = RootPart.CFrame.rightVector*-30 | |
1283 | coroutine.wrap(function() | |
1284 | swait(60) | |
1285 | for i=0,1,.1 do | |
1286 | swait() | |
1287 | inj.Transparency = i | |
1288 | end | |
1289 | inj:Destroy() | |
1290 | end)() | |
1291 | for i=0,1,.1 do | |
1292 | swait() | |
1293 | PlayAnimationFromTable({ | |
1294 | CFrame.new(0, 0, 0, 1.00000012, -7.41096073e-12, 0, -7.41096073e-12, 1, 2.91038305e-11, 0, 2.91038305e-11, 0.99999994), | |
1295 | CFrame.new(-3.04159403e-05, 1.46578789, -0.0939521194, 1.00000012, -4.05150786e-07, 1.62865035e-06, -1.76347669e-07, 0.939691484, 0.342023492, -1.66901737e-06, -0.342023432, 0.939691424), | |
1296 | CFrame.new(1.50005376, 0.699994802, 3.59716505e-05, 1.00000012, -1.58599477e-07, -6.6684006e-06, -1.58597771e-07, -1, 2.8318027e-07, -6.6684006e-06, -2.83209374e-07, -0.99999994), | |
1297 | CFrame.new(-1.64437401, 0.697701395, 0.19487834, 0.408384711, 0.907241344, 0.100674063, -0.898611128, 0.418956876, -0.130281046, -0.160374403, -0.0372620374, 0.986352742), | |
1298 | CFrame.new(0.500071704, -2.00001526, 2.73138285e-05, 0.939691603, 9.13247675e-07, -0.342023104, -1.21287303e-06, 1, -6.62083039e-07, 0.342023045, 1.03705679e-06, 0.939691603), | |
1299 | CFrame.new(-0.499963105, -2.00001931, 1.77323818e-05, 0.939691305, -1.36975643e-06, 0.342023998, 1.52508437e-06, 1, -1.85216777e-07, -0.342024028, 6.95697963e-07, 0.939691186), | |
1300 | }, .5, false) | |
1301 | end | |
1302 | attack = false | |
1303 | Humanoid.WalkSpeed = 16 | |
1304 | end | |
1305 | ||
1306 | function doge() | |
1307 | attack = true | |
1308 | Humanoid.WalkSpeed = 0 | |
1309 | so(536642316,Torso,1,1) | |
1310 | local bodyvel = Instance.new("BodyVelocity",RootPart) | |
1311 | local pep = 10000000 | |
1312 | bodyvel.P = pep | |
1313 | bodyvel.MaxForce = Vector3.new(pep,pep,pep) | |
1314 | bodyvel.Velocity = RootPart.CFrame.lookVector*50 | |
1315 | for i=0,1,.2 do | |
1316 | swait() | |
1317 | PlayAnimationFromTable({ | |
1318 | CFrame.new(0, -0.413182259, -0.492409885, 1, 0, 0, 0, 0.173647001, 0.984807968, 0, -0.984807968, 0.173647001), | |
1319 | CFrame.new(0, 1.39017391, 0.409808099, 1, 0, 0, 0, 0.499998748, -0.866026163, 0, 0.866026163, 0.499998748), | |
1320 | CFrame.new(0.997828066, 1.40889716, 0.360830426, 0, 0.173647001, 0.984807968, 0.173647001, -0.969846725, 0.171008945, 0.984807968, 0.171008945, -0.030153282), | |
1321 | CFrame.new(-1.00000775, 1.48291457, 0.347779244, 0, -0.173647001, -0.984807968, -0.173647001, -0.969846725, 0.171008945, -0.984807968, 0.171008945, -0.030153282), | |
1322 | CFrame.new(0.5, -2, -2.86102295e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1323 | CFrame.new(-0.5, -2, -2.86102295e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1324 | }, .4, false) | |
1325 | bodyvel.Velocity = RootPart.CFrame.lookVector*50 | |
1326 | end | |
1327 | for i=0,1,.2 do | |
1328 | swait() | |
1329 | PlayAnimationFromTable({ | |
1330 | CFrame.new(0.000384914892, -2.50002575, -0.500230014, 1, 0.000325046538, 9.11258903e-05, -9.11258612e-05, -1.13315764e-07, 1, 0.000325047644, -1.00000298, -8.37171683e-08), | |
1331 | CFrame.new(-2.67028663e-05, 1.3837955, 0.294111609, 1, 7.27595761e-12, -7.27595761e-12, 0, 0.766044259, -0.642787933, -5.78026516e-12, 0.642787993, 0.766044199), | |
1332 | CFrame.new(1.49976707, 1.00041652, 0.300775796, -0.00040801923, -0.765891016, 0.642970264, 2.89759337e-05, -0.642970324, -0.765891075, 0.99999994, -0.000293867604, 0.000284536654), | |
1333 | CFrame.new(-1.42841077, 1.06972277, 0.174795836, 0.220292583, 0.604053974, -0.765891671, -0.261924088, -0.719712377, -0.642969549, -0.939610124, 0.34224686, -0.000331013813), | |
1334 | CFrame.new(0.500055313, -2, 3.8146969e-05, 1, 0, -5.78026516e-12, 0, 1, 0, -5.78026516e-12, 0, 1), | |
1335 | CFrame.new(-0.49997139, -2, -1.62124597e-05, 1, 0, -5.78026516e-12, 0, 1, 0, -5.78026516e-12, 0, 1), | |
1336 | }, .4, false) | |
1337 | bodyvel.Velocity = RootPart.CFrame.lookVector*50 | |
1338 | end | |
1339 | for i=0,50,10 do | |
1340 | swait() | |
1341 | bodyvel.Velocity = RootPart.CFrame.lookVector*(50-i) | |
1342 | end | |
1343 | bodyvel:Destroy() | |
1344 | swait(10) | |
1345 | for i=0,1,.1 do | |
1346 | swait() | |
1347 | PlayAnimationFromTable({ | |
1348 | CFrame.new(0.00016165484, -1.36983359, -0.0292072296, 1, 7.76843081e-05, -2.60516535e-05, -6.40891813e-05, 0.939692557, 0.342020124, 5.10504469e-05, -0.342021197, 0.939695537), | |
1349 | CFrame.new(-1.71661304e-05, 1.55976009, -0.1281178, 1, 7.27595761e-12, -7.27595761e-12, -3.63797881e-12, 0.939692616, 0.342020214, 2.91038305e-11, -0.342020303, 0.939692557), | |
1350 | CFrame.new(1.50001144, 1.00809121, -0.154073462, 1, 1.45519152e-11, -7.27595761e-12, -3.63797881e-12, -0.939692974, -0.342018962, 2.91038305e-11, 0.342018992, -0.939693034), | |
1351 | CFrame.new(-1.30754018, 0.449972421, -0.64069438, 0.262003481, 0.219851375, -0.939691246, -0.642790556, 0.766041994, 2.16066837e-06, 0.719843447, 0.604024053, 0.342024028), | |
1352 | CFrame.new(0.49989906, -0.431120992, -0.657953143, 1, -6.40891813e-05, 5.10504469e-05, 7.76843081e-05, 0.939692557, -0.342021197, -2.60516535e-05, 0.342020124, 0.939695537), | |
1353 | CFrame.new(-0.600045562, -1.23124671, 0.200614065, 1, -3.91021022e-05, -7.18890005e-05, 7.7586832e-05, 0.173648059, 0.984807789, -2.60246452e-05, -0.984807789, 0.173648089), | |
1354 | }, .3, false) | |
1355 | end | |
1356 | Humanoid.WalkSpeed = 16 | |
1357 | attack = false | |
1358 | end | |
1359 | ||
1360 | function goright() | |
1361 | attack = true | |
1362 | Humanoid.WalkSpeed = 0 | |
1363 | so(536642316,Torso,1,1) | |
1364 | BodyVel(RootPart,RootPart.CFrame.rightVector*40) | |
1365 | for i=0,1,.2 do | |
1366 | swait() | |
1367 | PlayAnimationFromTable({ | |
1368 | CFrame.new(0, 0, 0, 0.866025686, 9.42248391e-07, 0.500011504, -8.48485797e-08, 1, 2.03145464e-06, -0.499997288, 1.801709e-06, 0.866039157), | |
1369 | CFrame.new(0.0133891273, 1.49998093, -0.223221898, 0.999244928, 0.0180275738, 0.0343858302, -0.0296961162, 0.925415933, 0.377787739, -0.0250054598, -0.378526747, 0.92527163), | |
1370 | CFrame.new(0.597281635, 0.899970174, -0.636579931, -0.2961981, 0.81379801, 0.499997288, 0.939692438, 0.34202075, -1.801709e-06, -0.171011984, 0.469857872, -0.866039157), | |
1371 | CFrame.new(-1.5597142, 0.600028992, -0.496432245, 0.556670129, 0.663414598, -0.499997288, -0.766044378, 0.642787695, 1.801709e-06, 0.321399361, 0.38303256, 0.866039157), | |
1372 | CFrame.new(0.0669843927, -1.80000138, -0.249991581, 0.750000238, 0.433012992, -0.499997288, -0.499999464, 0.866025865, 1.801709e-06, 0.433021635, 0.250007659, 0.866039157), | |
1373 | CFrame.new(-1.01960945, -1.79999983, -0.300026655, 0.663413942, 0.556670904, -0.499997288, -0.642787337, 0.766044736, 1.801709e-06, 0.38302961, 0.321402997, 0.866039157), | |
1374 | }, .4, false) | |
1375 | end | |
1376 | Humanoid.WalkSpeed = 16 | |
1377 | attack = false | |
1378 | end | |
1379 | ||
1380 | function goleft() | |
1381 | attack = true | |
1382 | Humanoid.WalkSpeed = 0 | |
1383 | so(536642316,Torso,1,1) | |
1384 | BodyVel(RootPart,RootPart.CFrame.rightVector*-40) | |
1385 | for i=0,1,.2 do | |
1386 | swait() | |
1387 | PlayAnimationFromTable({ | |
1388 | CFrame.new(0, 0, 0, 0.866035402, 9.42248391e-07, -0.499995083, 1.7168677e-06, 1, 1.08920722e-06, 0.500013709, 1.801709e-06, 0.866029859), | |
1389 | CFrame.new(-0.100005262, 1.49997783, -0.173194915, 0.984938622, -0.171012864, -0.0261079669, 0.171011686, 0.939692199, 0.296198815, -0.0261065066, -0.296198487, 0.954771042), | |
1390 | CFrame.new(1.55997992, 0.600023985, -0.496356547, 0.433018357, -0.750008225, 0.500013709, 0.866026461, 0.499998212, 1.801709e-06, -0.249996096, 0.433009237, 0.866029859), | |
1391 | CFrame.new(-0.510781586, 0.89997524, -0.686506629, -0.296202958, -0.813806593, -0.500013709, -0.939693034, 0.342019022, -1.801709e-06, 0.171007261, 0.469842136, -0.866029859), | |
1392 | CFrame.new(0.975441694, -1.79999304, -0.250189304, 0.750009537, -0.433016449, 0.500013709, 0.500001013, 0.866024911, 1.801709e-06, -0.433007956, 0.249998584, 0.866029859), | |
1393 | CFrame.new(-0.282589972, -1.79999781, -0.149757206, 0.813807786, -0.296199739, 0.500013709, 0.34202078, 0.939692438, 1.801709e-06, -0.469841361, 0.171009272, 0.866029859), | |
1394 | }, .4, false) | |
1395 | end | |
1396 | Humanoid.WalkSpeed = 16 | |
1397 | attack = false | |
1398 | end | |
1399 | ||
1400 | zhold = false | |
1401 | Mouse.Button1Down:connect(function() | |
1402 | zhold = true | |
1403 | if attack == false then | |
1404 | gunshoot() | |
1405 | end | |
1406 | end) | |
1407 | ||
1408 | Mouse.Button1Up:connect(function() | |
1409 | zhold = false | |
1410 | end) | |
1411 | ||
1412 | local sprintt = 0 | |
1413 | Mouse.KeyDown:connect(function(k) | |
1414 | k = k:lower() | |
1415 | if attack == false then | |
1416 | if k == 'z' then | |
1417 | if Anim ~= "Fall" and Anim ~= "Jump" then | |
1418 | doge() | |
1419 | end | |
1420 | elseif k == 'x' then | |
1421 | wepknifestab() | |
1422 | elseif k == 'h' then | |
1423 | so(115959318,Torso,1,1) | |
1424 | if li.Enabled == true then | |
1425 | li.Enabled = false | |
1426 | else | |
1427 | li.Enabled = true | |
1428 | end | |
1429 | elseif k == 'f' and chara:FindFirstChild("healcool")==nil then | |
1430 | heal() | |
1431 | elseif k == 'q' then | |
1432 | goleft() | |
1433 | elseif k == 'e' then | |
1434 | goright() | |
1435 | elseif k == 'r' then | |
1436 | attack = true | |
1437 | Humanoid.WalkSpeed = 1 | |
1438 | gunreload() | |
1439 | Humanoid.WalkSpeed = 16 | |
1440 | attack = false | |
1441 | end | |
1442 | end | |
1443 | end) | |
1444 | ||
1445 | coroutine.wrap(function() | |
1446 | game:GetService("RunService").RenderStepped:connect(function() | |
1447 | for i,v in pairs(chara:GetDescendants()) do | |
1448 | if v:IsA("BasePart") and v.Parent.Name ~= "FakeHeadM" and v.Name ~= "Head" and v.Parent:IsA("Accessory") == false then | |
1449 | v.LocalTransparencyModifier = 0 | |
1450 | end | |
1451 | end | |
1452 | end) | |
1453 | end)() | |
1454 | ||
1455 | coroutine.wrap(function() | |
1456 | while 1 do | |
1457 | swait() | |
1458 | if doe <= 360 then | |
1459 | doe = doe + 2 | |
1460 | else | |
1461 | doe = 0 | |
1462 | end | |
1463 | end | |
1464 | end)() | |
1465 | while true do | |
1466 | swait() | |
1467 | while true do | |
1468 | swait() | |
1469 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1470 | velocity = RootPart.Velocity.y | |
1471 | sine = sine + change | |
1472 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
1473 | if RootPart.Velocity.y > 1 and hit == nil then | |
1474 | Anim = "Jump" | |
1475 | if attack == false then | |
1476 | PlayAnimationFromTable({ | |
1477 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
1478 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
1479 | CFrame.new(0.734604299, 0.30659169, -0.856673121, 0.173673332, 0.92531991, 0.337076902, 0.00030374527, 0.342228055, -0.939616919, -0.984803319, 0.163288772, 0.0591548085), | |
1480 | CFrame.new(-1.22185647, -0.0727021843, -0.0971833766, 0.0593958423, 0.336820453, 0.93969363, 0.934461474, 0.312310249, -0.171008497, -0.351075143, 0.888264716, -0.296195835), | |
1481 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
1482 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
1483 | }, .3, false) | |
1484 | end | |
1485 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1486 | Anim = "Fall" | |
1487 | if attack == false then | |
1488 | PlayAnimationFromTable({ | |
1489 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
1490 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
1491 | CFrame.new(0.734604299, 0.30659169, -0.856673121, 0.173673332, 0.92531991, 0.337076902, 0.00030374527, 0.342228055, -0.939616919, -0.984803319, 0.163288772, 0.0591548085), | |
1492 | CFrame.new(-1.22185647, -0.0727021843, -0.0971833766, 0.0593958423, 0.336820453, 0.93969363, 0.934461474, 0.312310249, -0.171008497, -0.351075143, 0.888264716, -0.296195835), | |
1493 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
1494 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
1495 | }, .3, false) | |
1496 | end | |
1497 | elseif Torsovelocity < 1 and hit ~= nil then | |
1498 | Anim = "Idle" | |
1499 | if attack == false then | |
1500 | change = 1 | |
1501 | PlayAnimationFromTable({ | |
1502 | CFrame.new(0, 0, 0, 1, -1.92557081e-12, 2.61934474e-10, -1.92557081e-12, 1, -8.73114914e-11, 2.61934474e-10, -8.73114914e-11, 1.00001419) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
1503 | CFrame.new(-1.71661413e-05, 1.49998856, 6.10358911e-05, 1, -1.92557081e-12, 2.61934474e-10, -1.92557081e-12, 1, -8.73114914e-11, 2.61934474e-10, -8.73114914e-11, 1.00001419), | |
1504 | CFrame.new(0.734604299, 0.30659169, -0.856673121, 0.173673332, 0.92531991, 0.337076902, 0.00030374527, 0.342228055, -0.939616919, -0.984803319, 0.163288772, 0.0591548085), | |
1505 | CFrame.new(-1.22185647, -0.0727021843, -0.0971833766, 0.0593958423, 0.336820453, 0.93969363, 0.934461474, 0.312310249, -0.171008497, -0.351075143, 0.888264716, -0.296195835), | |
1506 | CFrame.new(0.500044346, -2.00001574, 4.57773203e-05, 1, -1.92557081e-12, 2.61934474e-10, -1.92557081e-12, 1, -8.73114914e-11, 2.61934474e-10, -8.73114914e-11, 1.00001419) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
1507 | CFrame.new(-0.49998188, -2.00001717, -1.52589619e-05, 1, -1.92557081e-12, 2.61934474e-10, -1.92557081e-12, 1, -8.73114914e-11, 2.61934474e-10, -8.73114914e-11, 1.00001419) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
1508 | }, .3, false) | |
1509 | end | |
1510 | elseif Torsovelocity > 2 and hit ~= nil then | |
1511 | Anim = "Walk" | |
1512 | if attack == false then | |
1513 | Humanoid.WalkSpeed = 24 | |
1514 | PlayAnimationFromTable({ | |
1515 | CFrame.new(-8.35164028e-05, -0.0110899508, 0.357279301, 1, 8.84765032e-05, -2.51957972e-05, -7.45232464e-05, 0.939692497, 0.342020363, 5.39370812e-05, -0.342020363, 0.939692557) * CFrame.new(0, 0- .08 * math.cos((sine) / 2.5), 0) * CFrame.Angles(0, math.rad(5*math.cos(sine/2.5)), 0), | |
1516 | CFrame.new(-6.53590978e-05, 1.54212451, 0.181138486, 1, -7.45232464e-05, 5.39370812e-05, 8.84765032e-05, 0.939692497, -0.342020363, -2.51957972e-05, 0.342020363, 0.939692557) * CFrame.Angles(0, math.rad(0 - 2.5 * math.cos((sine) / 2.5)), 0), | |
1517 | CFrame.new(0.734604299, 0.30659169, -0.856673121, 0.173673332, 0.92531991, 0.337076902, 0.00030374527, 0.342228055, -0.939616919, -0.984803319, 0.163288772, 0.0591548085), | |
1518 | CFrame.new(-1.22185647, -0.0727021843, -0.0971833766, 0.0593958423, 0.336820453, 0.93969363, 0.934461474, 0.312310249, -0.171008497, -0.351075143, 0.888264716, -0.296195835), | |
1519 | CFrame.new(0.500047803, -2.00001502, 3.05175763e-05, 1, -7.27595761e-12, 0, -7.27595761e-12, 0.999999881, 0, 0, 0, 0.99999994) * CFrame.new(0, 0, 0+ 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0), | |
1520 | CFrame.new(-0.499978185, -2.00001884, -1.52587882e-05, 1, -7.27595761e-12, 0, -7.27595761e-12, 0.999999881, 0, 0, 0, 0.99999994) * CFrame.new(0, 0, 0- 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 2.5)), 0, 0), | |
1521 | }, .3, false) | |
1522 | end | |
1523 | end | |
1524 | end | |
1525 | end |