SHOW:
|
|
- or go back to the newest paste.
1 | --[[NIGHTOWLACE_WEAPONRY]]-- | |
2 | ||
3 | --Works, But no Damage, Definitely Needs a fix.-- | |
4 | wait(1 / 60) | |
5 | Effects = { } | |
6 | local Player = game.Players.localPlayer | |
7 | local Character = Player.Character | |
8 | local Humanoid = Character.Humanoid | |
9 | local mouse = Player:GetMouse() | |
10 | local m = Instance.new('Model', Character) | |
11 | m.Name = "WeaponModel" | |
12 | local LeftArm = Character["Left Arm"] | |
13 | local RightArm = Character["Right Arm"] | |
14 | local LeftLeg = Character["Left Leg"] | |
15 | local RightLeg = Character["Right Leg"] | |
16 | local Head = Character.Head | |
17 | local Torso = Character.Torso | |
18 | local cam = game.Workspace.CurrentCamera | |
19 | local RootPart = Character.HumanoidRootPart | |
20 | local RootJoint = RootPart.RootJoint | |
21 | local equipped = false | |
22 | local attack = false | |
23 | local Anim = 'Idle' | |
24 | local idle = 0 | |
25 | local attacktype = 1 | |
26 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
27 | local velocity = RootPart.Velocity.y | |
28 | local sine = 0 | |
29 | local change = 1 | |
30 | local grabbed = false | |
31 | local cn = CFrame.new | |
32 | local mr = math.rad | |
33 | local angles = CFrame.Angles | |
34 | local ud = UDim2.new | |
35 | local c3 = Color3.new | |
36 | ||
37 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
38 | Humanoid.Animator:Destroy() | |
39 | Character.Animate:Destroy() | |
40 | ||
41 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
42 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
43 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
44 | ||
45 | RSH, LSH = nil, nil | |
46 | ||
47 | RW = Instance.new("Weld") | |
48 | LW = Instance.new("Weld") | |
49 | ||
50 | RH = Torso["Right Hip"] | |
51 | LH = Torso["Left Hip"] | |
52 | ||
53 | RSH = Torso["Right Shoulder"] | |
54 | LSH = Torso["Left Shoulder"] | |
55 | ||
56 | RSH.Parent = nil | |
57 | LSH.Parent = nil | |
58 | ||
59 | RW.Name = "RW" | |
60 | RW.Part0 = Torso | |
61 | RW.C0 = cn(1.5, 0.5, 0) | |
62 | RW.C1 = cn(0, 0.5, 0) | |
63 | RW.Part1 = RightArm | |
64 | RW.Parent = Torso | |
65 | ||
66 | LW.Name = "LW" | |
67 | LW.Part0 = Torso | |
68 | LW.C0 = cn(-1.5, 0.5, 0) | |
69 | LW.C1 = cn(0, 0.5, 0) | |
70 | LW.Part1 = LeftArm | |
71 | LW.Parent = Torso | |
72 | ||
73 | function clerp(a, b, t) | |
74 | return a:lerp(b, t) | |
75 | end | |
76 | ||
77 | --[[Credits to SazErenos for his Artificial Heartbeat]]-- | |
78 | ||
79 | ArtificialHB = Instance.new("BindableEvent", script) | |
80 | ArtificialHB.Name = "Heartbeat" | |
81 | ||
82 | script:WaitForChild("Heartbeat") | |
83 | ||
84 | frame = 1 / 30 | |
85 | tf = 0 | |
86 | allowframeloss = false | |
87 | tossremainder = false | |
88 | lastframe = tick() | |
89 | script.Heartbeat:Fire() | |
90 | ||
91 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
92 | tf = tf + s | |
93 | if tf >= frame then | |
94 | if allowframeloss then | |
95 | script.Heartbeat:Fire() | |
96 | lastframe = tick() | |
97 | else | |
98 | for i = 1, math.floor(tf / frame) do | |
99 | script.Heartbeat:Fire() | |
100 | end | |
101 | lastframe = tick() | |
102 | end | |
103 | if tossremainder then | |
104 | tf = 0 | |
105 | else | |
106 | tf = tf - frame * math.floor(tf / frame) | |
107 | end | |
108 | end | |
109 | end) | |
110 | ||
111 | function swait(num) | |
112 | if num == 0 or num == nil then | |
113 | ArtificialHB.Event:wait() | |
114 | else | |
115 | for i = 0, num do | |
116 | ArtificialHB.Event:wait() | |
117 | end | |
118 | end | |
119 | end | |
120 | ||
121 | local RbxUtility = LoadLibrary("RbxUtility") | |
122 | local Create = RbxUtility.Create | |
123 | ||
124 | --[[ Credits to Fenrier for Outline-Remover, Part, Mesh, Weld, Raycase and Sound Creation functions ]]-- | |
125 | ||
126 | function RemoveOutlines(part) | |
127 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
128 | end | |
129 | ||
130 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
131 | local Part = Create("Part"){ | |
132 | Parent = Parent, | |
133 | Reflectance = Reflectance, | |
134 | Transparency = Transparency, | |
135 | CanCollide = false, | |
136 | Locked = true, | |
137 | BrickColor = BrickColor.new(tostring(BColor)), | |
138 | Name = Name, | |
139 | Size = Size, | |
140 | Material = Material, | |
141 | } | |
142 | RemoveOutlines(Part) | |
143 | return Part | |
144 | end | |
145 | ||
146 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
147 | local Msh = Create(Mesh){ | |
148 | Parent = Part, | |
149 | Offset = OffSet, | |
150 | Scale = Scale, | |
151 | } | |
152 | if Mesh == "SpecialMesh" then | |
153 | Msh.MeshType = MeshType | |
154 | Msh.MeshId = MeshId | |
155 | end | |
156 | return Msh | |
157 | end | |
158 | ||
159 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
160 | local Weld = Create("Weld"){ | |
161 | Parent = Parent, | |
162 | Part0 = Part0, | |
163 | Part1 = Part1, | |
164 | C0 = C0, | |
165 | C1 = C1, | |
166 | } | |
167 | return Weld | |
168 | end | |
169 | ||
170 | function CreateBillBoardGui(Img, Pos, Siz) --returns a basic billboard gui object for further manipulation | |
171 | local billpar = Create("Part"){ | |
172 | Transparency = 1, | |
173 | Size = Vector3.new(1, 1, 1), | |
174 | Anchored = true, | |
175 | CanCollide = false, | |
176 | CFrame = CFrame.new(Pos), | |
177 | Name = "BillboardGuiPart", | |
178 | } | |
179 | local bill = Create("BillboardGui"){ | |
180 | Parent = billpar, | |
181 | Adornee = billpar, | |
182 | Size = UDim2.new(1, 0, 1, 0), | |
183 | SizeOffset = Vector2.new(Siz, Siz), | |
184 | } | |
185 | local d = Create("ImageLabel"){ | |
186 | Parent = bill, | |
187 | BackgroundTransparency = 1, | |
188 | Size = UDim2.new(1, 0, 1, 0), | |
189 | Image = Img, | |
190 | } | |
191 | return billpar | |
192 | end | |
193 | ||
194 | function rayCast(Position, Direction, Range, Ignore) | |
195 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
196 | end | |
197 | ||
198 | function CreateSound(id, par, vol, pit) | |
199 | coroutine.resume(coroutine.create(function() | |
200 | local S = Create("Sound"){ | |
201 | Volume = vol, | |
202 | Pitch = pit or 1, | |
203 | SoundId = id, | |
204 | Parent = par or workspace, | |
205 | } | |
206 | swait() | |
207 | S:play() | |
208 | game:GetService("Debris"):AddItem(S, 6) | |
209 | end)) | |
210 | end | |
211 | ||
212 | local function GetNearest(obj, distance) | |
213 | local last, lastx = distance + 1 | |
214 | for i, v in pairs(workspace:GetChildren()) do | |
215 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then | |
216 | local t = v.Torso | |
217 | local dist = (t.Position - obj.Position).magnitude | |
218 | if dist <= distance then | |
219 | if dist < last then | |
220 | last = dist | |
221 | lastx = v | |
222 | end | |
223 | end | |
224 | end | |
225 | end | |
226 | return lastx | |
227 | end | |
228 | ||
229 | --[[ Credits to Kert109 (Ninja_Deer) for the Damage function. Fenrier for the Magnitude Damage ]]-- | |
230 | ||
231 | function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch) | |
232 | for i, v in pairs(hit:GetChildren()) do | |
233 | if v:IsA("Humanoid") and hit.Name ~= Character.Name then | |
234 | local find = v:FindFirstChild("DebounceHit") | |
235 | if not find then | |
236 | if v.Parent:findFirstChild("Head") then | |
237 | local BillG = Create("BillboardGui"){ | |
238 | Parent = v.Parent.Head, | |
239 | Size = UDim2.new(1, 0, 1, 0), | |
240 | Adornee = v.Parent.Head, | |
241 | StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)), | |
242 | } | |
243 | local TL = Create("TextLabel"){ | |
244 | Parent = BillG, | |
245 | Size = UDim2.new(3, 3, 3, 3), | |
246 | BackgroundTransparency = 1, | |
247 | Text = tostring(damage).."-", | |
248 | TextColor3 = Color1.Color, | |
249 | TextStrokeColor3 = Color2.Color, | |
250 | TextStrokeTransparency = 0, | |
251 | TextXAlignment = Enum.TextXAlignment.Center, | |
252 | TextYAlignment = Enum.TextYAlignment.Center, | |
253 | FontSize = Enum.FontSize.Size18, | |
254 | Font = "ArialBold", | |
255 | } | |
256 | coroutine.resume(coroutine.create(function() | |
257 | swait(1) | |
258 | for i = 0, 1, .1 do | |
259 | swait(.1) | |
260 | BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0) | |
261 | end | |
262 | BillG:Destroy() | |
263 | end)) | |
264 | end | |
265 | v.Health = v.Health - damage | |
266 | local bool = Create("BoolValue"){ | |
267 | Parent = v, | |
268 | Name = "DebounceHit", | |
269 | } | |
270 | if HSound ~= nil and HPitch ~= nil then | |
271 | CreateSound(HSound, hit, 1, HPitch) | |
272 | end | |
273 | game:GetService("Debris"):AddItem(bool, cooldown) | |
274 | end | |
275 | end | |
276 | end | |
277 | end | |
278 | ||
279 | function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch) | |
280 | for _, c in pairs(workspace:children()) do | |
281 | local hum = c:findFirstChild("Humanoid") | |
282 | if hum ~= nil then | |
283 | local head = c:findFirstChild("Torso") | |
284 | if head ~= nil then | |
285 | local targ = head.Position - Part.Position | |
286 | local mag = targ.magnitude | |
287 | if mag <= magni and c.Name ~= Player.Name then | |
288 | - | Damage(head.Parent, math.random(mindam, maxdam), 0.5, Color1, Color2, HSound, HPitch) |
288 | + | Damage(head.Parent, math.random(9999, 10000), 0.5, Color1, Color2, HSound, HPitch) |
289 | end | |
290 | end | |
291 | end | |
292 | end | |
293 | end | |
294 | ||
295 | BowHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "BowHandle", Vector3.new(0.225280017, 0.788480043, 0.220000014)) | |
296 | BowHandleWeld = CreateWeld(m, Character["Left Arm"], BowHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.985027075, -0.0129547119, 0.179504395, -4.25198756e-008, -1, 4.70876694e-006, 2.4576444e-008, 4.70876694e-006, 1, -1, 4.25199929e-008, 2.45762433e-008)) | |
297 | CreateMesh("CylinderMesh", BowHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.512000144)) | |
298 | BowFakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "BowFakeHandle", Vector3.new(0.225280017, 0.788480043, 0.220000014)) | |
299 | BowFakeHandleWeld = CreateWeld(m, BowHandle, BowFakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, -1.51575529e-015, 0, 1, 0, -1.51575529e-015, 0, 1)) | |
300 | CreateMesh("CylinderMesh", BowFakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.512000144)) | |
301 | FakeArrow = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeArrow", Vector3.new(0.220000014, 0.220000014, 3.82976031)) | |
302 | FakeArrowWeld = CreateWeld(m, BowFakeHandle, FakeArrow, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000701904297, -3.05175781e-005, -1.28746033e-005, 0.000362217397, -0.999999881, -0.000362451508, -4.614364e-007, 0.000362451421, -1, 1, 0.000362217601, -3.30150129e-007)) | |
303 | CreateMesh("SpecialMesh", FakeArrow, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.563200057, 0.675840139, 1.68960023)) | |
304 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.220000014, 0.220000014, 0.225280017)) | |
305 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.423294067, -0.000366210938, -0.701477051, 0.70710665, 0.707106948, -3.29177752e-008, 7.15684365e-008, -2.50156571e-008, 1, 0.707106948, -0.70710665, -6.82952788e-008)) | |
306 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.563200057, 1)) | |
307 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.220000014, 1.68960023, 0.220000014)) | |
308 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 1.78413391, 2.0454483, 6.94149378e-008, -2.71691221e-008, 1, 0.707106888, 0.707106709, -2.9872318e-008, -0.707106709, 0.707106888, 6.82952432e-008)) | |
309 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.563200057, 1, 0.512000144)) | |
310 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.220000014, 0.788480043, 0.220000014)) | |
311 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.09571838, 0.423282623, 6.94149378e-008, -2.71691221e-008, 1, 0.707106292, -0.707107365, -6.8295229e-008, 0.707107365, 0.707106292, -2.98723606e-008)) | |
312 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.563200057, 1, 0.512000144)) | |
313 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.450560033, 0.220000014, 0.563200057)) | |
314 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.16461945, 0, -2.0454483, -0.707106888, -0.707106709, 6.27209218e-008, -7.15714066e-008, -1.71293646e-008, -1, 0.707106709, -0.707106888, -3.84963315e-008)) | |
315 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
316 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.33792007, 0.220000014, 0.450560033)) | |
317 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.12782288, 0, 0.742296457, -6.40749931e-007, -1, -2.27882158e-008, 6.94149449e-008, -2.27882619e-008, 1, -1, 6.40749931e-007, 6.94149662e-008)) | |
318 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.563200057, 1)) | |
319 | Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Wedge", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
320 | WedgeWeld = CreateWeld(m, BowFakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000366210938, 0.168947458, -0.338066101, -6.94149804e-008, -3.24350893e-008, -1, -1, 4.61936452e-007, 6.9414952e-008, 4.61936452e-007, 1, -3.24351248e-008)) | |
321 | CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 0.512000144)) | |
322 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.225280017, 0.225280017, 0.220000014)) | |
323 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.529953e-006, -0.281555176, 0.001953125, 1, 0, -1.51575529e-015, 0, 1, 0, -1.51575529e-015, 0, 1)) | |
324 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.588800073)) | |
325 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.563200057, 0.220000014, 0.675840139)) | |
326 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.445208549, 0, 3.3405304, -1, 6.40749931e-007, 6.93517848e-008, 6.93517705e-008, -2.71691203e-008, 1, 6.40749931e-007, 1, 2.71690741e-008)) | |
327 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
328 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.225280017, 0.225280017, 0.220000014)) | |
329 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.24520874e-006, 0.281600952, 0.001953125, 1, 0, -1.51575529e-015, 0, 1, 0, -1.51575529e-015, 0, 1)) | |
330 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.588800073)) | |
331 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.33792007, 0.220000014, 0.450560033)) | |
332 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.445208549, 0, 3.3405304, -1, 6.40749931e-007, 6.93517848e-008, 6.93517705e-008, -2.71691203e-008, 1, 6.40749931e-007, 1, 2.71690741e-008)) | |
333 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.563200057, 1)) | |
334 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.23904014, 0.220000014, 0.563200057)) | |
335 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.00939178, 0, -2.04543304, -0.707106888, -0.707106709, 6.27209218e-008, -7.15714066e-008, -1.71293646e-008, -1, 0.707106709, -0.707106888, -3.84963315e-008)) | |
336 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
337 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.220000014, 0.220000014, 0.518144011)) | |
338 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.450569153, 0, 0.146412134, 4.61936452e-007, 1, 2.01980033e-008, -1.0781276e-007, 2.01980548e-008, -1, -1, 4.61936452e-007, 1.07812767e-007)) | |
339 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1)) | |
340 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.220000014, 1.68960023, 0.220000014)) | |
341 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000366210938, 1.78420258, 2.04552078, -6.94149804e-008, -3.24350893e-008, -1, 0.707106173, -0.707107425, -2.61486655e-008, -0.707107425, -0.707106173, 7.20188922e-008)) | |
342 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.563200057, 1, 0.512000144)) | |
343 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
344 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.337890625, 0, 0.315387607, 4.61936452e-007, 1, 2.01980033e-008, -1.0781276e-007, 2.01980548e-008, -1, -1, 4.61936452e-007, 1.07812767e-007)) | |
345 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 0.819200039)) | |
346 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.220000014, 0.269084811, 0.220000014)) | |
347 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99462128, 1.2387228, 0, -0.176393285, -0.984319806, -1.01567883e-008, -0.984319806, 0.17639327, 7.22781337e-008, -6.93531845e-008, 2.27469013e-008, -1)) | |
348 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961045921, 1, 0.512000144)) | |
349 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.489984065, 0.220000014, 0.405504048)) | |
350 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.751953125, -0.000366210938, 0.20273602, -7.4505806e-007, -1, 3.6816779e-008, 3.10171231e-008, 3.68167683e-008, 1, -1, 7.4505806e-007, 3.10171053e-008)) | |
351 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
352 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.220000014, 0.788480163, 0.563200057)) | |
353 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.70729828, -0.736948133, 6.94149378e-008, -2.71691221e-008, 1, -6.40749931e-007, -1, -2.71690759e-008, 1, -6.40749931e-007, -6.94149662e-008)) | |
354 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 1, 1)) | |
355 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.220000014, 0.675840139, 0.220000014)) | |
356 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000366210938, -1.65105438, -0.736956716, -6.94149804e-008, -3.24350893e-008, -1, 6.40749931e-007, 1, -3.24351319e-008, 1, -6.40749931e-007, -6.9414952e-008)) | |
357 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.563200057, 1, 0.512000144)) | |
358 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.225280017, 0.220000014, 0.220000014)) | |
359 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.05311584e-006, 6.10351563e-005, 0.001953125, 1, 0, -1.51575529e-015, 0, 1, 0, -1.51575529e-015, 0, 1)) | |
360 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 0.588800073)) | |
361 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.33792007, 0.220000014, 0.563200057)) | |
362 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.870513916, -0.000366210938, -0.423362732, -0.707107067, -0.707106471, 1.80172606e-008, 5.54801183e-008, -2.99998959e-008, 1, -0.707106471, 0.707107067, 6.04434973e-008)) | |
363 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
364 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.220000014, 0.269084811, 0.220000014)) | |
365 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99471283, 1.23874283, -0.000366210938, -0.176392093, 0.984319985, 3.46585622e-008, -0.984319985, -0.176392093, 6.05221331e-008, 6.56866419e-008, -2.34394903e-008, 1)) | |
366 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961045921, 1, 0.512000144)) | |
367 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.220000014, 0.788480163, 0.563200057)) | |
368 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000366210938, -1.70736694, -0.736947894, -6.94149804e-008, -3.24350893e-008, -1, 6.40749931e-007, 1, -3.24351319e-008, 1, -6.40749931e-007, -6.9414952e-008)) | |
369 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 1, 1)) | |
370 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.450560033, 0.220000014, 0.563200057)) | |
371 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.26467896, 0, -0.423290253, -0.707106292, 0.707107365, 9.49445536e-008, -1.09325214e-007, 2.49467114e-008, -1, -0.707107365, -0.707106292, 5.96646856e-008)) | |
372 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
373 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.450560033, 0.220000014, 0.563200057)) | |
374 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.26478195, -0.000366210938, -0.42338562, -0.707107067, -0.707106471, 1.80172606e-008, 5.54801183e-008, -2.99998959e-008, 1, -0.707106471, 0.707107067, 6.04434973e-008)) | |
375 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
376 | Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Wedge", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
377 | WedgeWeld = CreateWeld(m, BowFakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.341503143, -1.47247314, 1.42978507e-007, -9.15196949e-008, 1, -0.925511479, -0.378719747, 9.76679502e-008, 0.378719717, -0.92551142, -1.38851306e-007)) | |
378 | CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.511992276, 0.944333315, 0.395894557)) | |
379 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.563200057, 0.220000014, 0.675840139)) | |
380 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.433936357, 0.000366210938, 3.32937622, -1, 6.40749931e-007, 6.93517848e-008, -6.93517705e-008, 2.71691221e-008, -1, -6.40749931e-007, -1, -2.71690741e-008)) | |
381 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
382 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.220000014, 0.788480163, 0.220000014)) | |
383 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.70729828, -0.736961126, 6.94149378e-008, -2.71691221e-008, 1, -6.40749931e-007, -1, -2.71690759e-008, 1, -6.40749931e-007, -6.94149662e-008)) | |
384 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.563200057, 1, 0.512000144)) | |
385 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.220000014, 0.220000014, 0.518144011)) | |
386 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.450660706, -0.000366210938, 0.146410823, -7.4505806e-007, -1, 3.6816779e-008, 3.10171231e-008, 3.68167683e-008, 1, -1, 7.4505806e-007, 3.10171053e-008)) | |
387 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1)) | |
388 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.33792007, 0.220000014, 0.450560033)) | |
389 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.433936357, 0.000366210938, 3.32937622, -1, 6.40749931e-007, 6.93517848e-008, -6.93517705e-008, 2.71691221e-008, -1, -6.40749931e-007, -1, -2.71690741e-008)) | |
390 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.563200057, 1)) | |
391 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
392 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.338058472, -0.000366210938, 0.315390348, -7.4505806e-007, -1, 3.6816779e-008, 3.10171231e-008, 3.68167683e-008, 1, -1, 7.4505806e-007, 3.10171053e-008)) | |
393 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 0.819200039)) | |
394 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.23904014, 0.220000014, 0.563200057)) | |
395 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.00945282, -0.000366210938, -2.04550171, -0.707106113, 0.707107484, -2.42653826e-008, 6.00121624e-008, 9.43284562e-008, 1, 0.707107484, 0.707106113, -1.09135279e-007)) | |
396 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
397 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.450560033, 0.220000014, 0.563200057)) | |
398 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.16465759, -0.000381469727, -2.04548264, -0.707106113, 0.707107484, -2.42653826e-008, 6.00121624e-008, 9.43284562e-008, 1, 0.707107484, 0.707106113, -1.09135279e-007)) | |
399 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
400 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.489984065, 0.220000014, 0.405504048)) | |
401 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.75189209, 0, 0.202737808, 4.61936452e-007, 1, 2.01980033e-008, -1.0781276e-007, 2.01980548e-008, -1, -1, 4.61936452e-007, 1.07812767e-007)) | |
402 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
403 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.33792007, 0.220000014, 0.450560033)) | |
404 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.12789917, 0.000366210938, 0.742304683, 6.40749931e-007, 1, -3.68167576e-008, -6.94149733e-008, -3.68167079e-008, -1, -1, 6.40749931e-007, 6.9414952e-008)) | |
405 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.563200057, 1)) | |
406 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.33792007, 0.220000014, 0.563200057)) | |
407 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.870441437, 0, -0.423290253, -0.707106292, 0.707107365, 9.49445536e-008, -1.09325214e-007, 2.49467114e-008, -1, -0.707107365, -0.707106292, 5.96646856e-008)) | |
408 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1)) | |
409 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.220000014, 0.220000014, 0.225280017)) | |
410 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.423347473, 0, -0.701530457, 0.707105875, -0.707107723, -1.24747032e-007, -1.51243015e-007, 2.51760834e-008, -1, 0.707107723, 0.707105875, -8.91429579e-008)) | |
411 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.563200057, 1)) | |
412 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.220000014, 0.788480043, 0.220000014)) | |
413 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000366210938, -1.09579849, 0.423362732, -6.94149804e-008, -3.24350893e-008, -1, 0.707107067, 0.707106531, -7.20188709e-008, 0.707106531, -0.707107067, -2.6148701e-008)) | |
414 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.563200057, 1, 0.512000144)) | |
415 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.33792007, 0.220000014, 0.33792007)) | |
416 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.736960649, 0.000366210938, 1.36945343, -1, 6.40749931e-007, 6.93517848e-008, -6.93517705e-008, 2.71691221e-008, -1, -6.40749931e-007, -1, -2.71690741e-008)) | |
417 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.563200057, 1)) | |
418 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.33792007, 0.220000014, 0.33792007)) | |
419 | PartWeld = CreateWeld(m, BowFakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.736959338, 0, 1.36940765, -1, 6.40749931e-007, 6.93517848e-008, 6.93517705e-008, -2.71691203e-008, 1, 6.40749931e-007, 1, 2.71690741e-008)) | |
420 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.563200057, 1)) | |
421 | PivotConnector1 = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "PivotConnector1", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
422 | PivotConnector1Weld = CreateWeld(m, BowFakeHandle, PivotConnector1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.17164612, -0.614725113, -0.000137329102, 8.04664523e-007, 1, 4.06052386e-005, -1, 8.04658157e-007, 1.50166912e-007, 1.50134269e-007, -4.06052495e-005, 1)) | |
423 | CreateMesh("SpecialMesh", PivotConnector1, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", Vector3.new(0, 0, 0), Vector3.new(0.214015961, 0.225279838, 0.585727811)) | |
424 | PivotConnector2 = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "PivotConnector2", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
425 | PivotConnector2Weld = CreateWeld(m, BowFakeHandle, PivotConnector2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.22834778, -0.614701271, 0.000122070313, 8.04664523e-007, 1, 4.06052386e-005, -1, 8.04658157e-007, 1.50166912e-007, 1.50134269e-007, -4.06052495e-005, 1)) | |
426 | CreateMesh("SpecialMesh", PivotConnector2, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", Vector3.new(0, 0, 0), Vector3.new(0.214015961, 0.225279838, 0.585727811)) | |
427 | Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Wedge", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
428 | WedgeWeld = CreateWeld(m, BowFakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.341524124, 1.5585022, -1.42978507e-007, 9.15196949e-008, -1, -0.92551136, -0.378719926, 9.76679004e-008, -0.378719926, 0.92551136, 1.3885132e-007)) | |
429 | CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.511992276, 0.944333315, 0.386422455)) | |
430 | Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Wedge", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
431 | WedgeWeld = CreateWeld(m, BowFakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000366210938, 0.341472626, 1.55859375, -4.1486472e-009, -2.71666636e-008, 1, -0.925510883, 0.378721058, 6.4489738e-009, -0.378721058, -0.925510883, -2.67142202e-008)) | |
432 | CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.511992276, 0.944333315, 0.386422455)) | |
433 | Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Wedge", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
434 | WedgeWeld = CreateWeld(m, BowFakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000381469727, 0.341506958, -1.47248077, 4.1486472e-009, 2.71666636e-008, -1, -0.925510943, 0.37872082, 6.44896758e-009, 0.37872085, 0.925511003, 2.67142219e-008)) | |
435 | CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.511992276, 0.944333315, 0.395894557)) | |
436 | Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Wedge", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
437 | WedgeWeld = CreateWeld(m, BowFakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.168949723, -0.337890625, 6.94149378e-008, -2.71691221e-008, 1, -1, 6.40749931e-007, 6.94149662e-008, -6.40749931e-007, -1, -2.71690759e-008)) | |
438 | CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 0.512000144)) | |
439 | QuiverHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "QuiverHandle", Vector3.new(2.20000029, 0.200000003, 0.600000024)) | |
440 | QuiverHandleWeld = CreateWeld(m, Character["Torso"], QuiverHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554016113, -0.356391907, 0.391426086, -0.965925872, -0.258818924, 2.59800936e-009, -1.29173223e-008, 5.82460693e-008, 1, -0.258818924, 0.965925872, -5.96046306e-008)) | |
441 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
442 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.454208374, -0.680118561, 1.68037415, 0.00025648062, 0.70736295, -0.706850469, 0.000258313463, 0.70685041, 0.707363009, 1, -0.000364014471, -1.44539092e-006)) | |
443 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
444 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(2.72000003, 0.200000003, 0.480000019)) | |
445 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.320007324, 1.12168884, 7.62939453e-006, 1.00000012, -5.19595522e-009, -2.5331974e-007, -5.19594989e-009, -1, 2.12064819e-008, -2.5331974e-007, -2.12064926e-008, -1.00000012)) | |
446 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
447 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.480000019, 0.200000003)) | |
448 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.76008606, 0.617675781, 0.496002197, 1.00000012, -5.19595522e-009, -2.5331974e-007, -5.19594989e-009, -1, 2.12064819e-008, -2.5331974e-007, -2.12064926e-008, -1.00000012)) | |
449 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 0.800000072)) | |
450 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.480000019, 1.15999997)) | |
451 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.11997986, 0.440233231, -0.440826416, 1.00000012, 1.30545388e-008, -8.94069672e-008, -6.14417175e-008, -0.707106829, -0.707106769, -5.77675756e-008, 0.707106769, -0.707106888)) | |
452 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 1)) | |
453 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
454 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000263214111, 0.8020401, 1.68035889, 6.25847804e-007, -0.000362336723, 1, -0.000361986837, -0.999999881, -0.000362336461, 1, -0.000361986604, -7.45036459e-007)) | |
455 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
456 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 1.16000009, 0.480000019)) | |
457 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.1199646, 0.621688843, 3.81469727e-006, 1.00000012, -5.19595522e-009, -2.5331974e-007, -5.19594989e-009, -1, 2.12064819e-008, -2.5331974e-007, -2.12064926e-008, -1.00000012)) | |
458 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 1)) | |
459 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(2.72000003, 0.200000003, 0.480000019)) | |
460 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.320037842, 0.0585784912, -0.440793991, 1.00000012, -2.64309392e-008, -8.94069672e-008, -4.28664144e-008, 0.707106888, -0.707106709, 9.12440399e-008, 0.707106709, 0.707106888)) | |
461 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
462 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.480000019, 0.200000003)) | |
463 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.76008606, 0.617675781, -0.504001617, 1.00000012, -5.19595522e-009, -2.5331974e-007, -5.19594989e-009, -1, 2.12064819e-008, -2.5331974e-007, -2.12064926e-008, -1.00000012)) | |
464 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 0.800000072)) | |
465 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
466 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.642028809, 0.000205993652, 1.68029785, 0.000362732593, 0.99999994, 0.000362407387, -1.63913711e-007, -0.000362407329, 1, 0.99999994, -0.000362732622, 4.47251054e-008)) | |
467 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
468 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
469 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.64214325, -0.319789886, 1.68029785, 0.000362732593, 0.99999994, 0.000362407387, -1.63913711e-007, -0.000362407329, 1, 0.99999994, -0.000362732622, 4.47251054e-008)) | |
470 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
471 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(2.72000003, 0.200000003, 0.480000019)) | |
472 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.320007324, -0.12512207, -3.81469727e-006, 1, -4.4408921e-016, -1.54853386e-016, -4.4408921e-016, 1, 0, -1.54853386e-016, 0, 1)) | |
473 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
474 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
475 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.453760147, 0.680397034, 1.68035889, 0.000254766986, 0.706850529, 0.70736289, -0.000260369823, -0.707362831, 0.706850588, 1.00000012, -0.00036425679, 3.82962025e-006)) | |
476 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
477 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
478 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(8.39233398e-005, 0.322044373, 1.68017578, -1.9222507e-006, -0.000362336548, 1, -0.000367632718, -0.999999881, -0.000362337218, 1, -0.000367633445, 1.80306245e-006)) | |
479 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
480 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
481 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.642089844, -0.159805298, 1.68029785, 0.000362732593, 0.99999994, 0.000362407387, -1.63913711e-007, -0.000362407329, 1, 0.99999994, -0.000362732622, 4.47251054e-008)) | |
482 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
483 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.480000019)) | |
484 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.7600708, 1.12168884, 7.62939453e-006, 1.00000012, -5.19595522e-009, -2.5331974e-007, -5.19594989e-009, -1, 2.12064819e-008, -2.5331974e-007, -2.12064926e-008, -1.00000012)) | |
485 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.800000072, 1)) | |
486 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
487 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.641914368, 0.320201874, 1.68029785, 0.000362732593, 0.99999994, 0.000362407387, -1.63913711e-007, -0.000362407329, 1, 0.99999994, -0.000362732622, 4.47251054e-008)) | |
488 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
489 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.480000019, 0.200000003)) | |
490 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.7600708, 0.440826416, 0.940238953, 1, 2.1234964e-008, -1.78813934e-007, 1.47174546e-007, -0.707106829, 0.707106769, -1.21046355e-007, -0.707106769, -0.707106829)) | |
491 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 0.800000072)) | |
492 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(2.72000003, 0.480000019, 0.200000003)) | |
493 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.320037842, 0.617675781, -0.504001617, 1.00000012, -5.19595522e-009, -2.5331974e-007, -5.19594989e-009, -1, 2.12064819e-008, -2.5331974e-007, -2.12064926e-008, -1.00000012)) | |
494 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
495 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.480000019, 1.1680001)) | |
496 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.1199646, 0.617675781, 3.81469727e-006, 1.00000012, -5.19595522e-009, -2.5331974e-007, -5.19594989e-009, -1, 2.12064819e-008, -2.5331974e-007, -2.12064926e-008, -1.00000012)) | |
497 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 1)) | |
498 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.480000019, 1.15999997)) | |
499 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.11997986, 0.440826416, 0.440233231, 1, 2.1234964e-008, -1.78813934e-007, 1.47174546e-007, -0.707106829, 0.707106769, -1.21046355e-007, -0.707106769, -0.707106829)) | |
500 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 1)) | |
501 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.480000019, 0.200000003)) | |
502 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.76008606, -0.440818787, 0.0586128235, 1.00000012, -2.64309392e-008, -8.94069672e-008, -4.28664144e-008, 0.707106888, -0.707106709, 9.12440399e-008, 0.707106709, 0.707106888)) | |
503 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 0.800000072)) | |
504 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.480000019, 0.200000003, 0.320000023)) | |
505 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.12969971, 1.3600769, -8.94069672e-008, -5.96046377e-008, -1.00000012, 2.59801936e-009, 1, -5.96046306e-008, 1.00000012, -2.59802602e-009, -8.94069672e-008)) | |
506 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
507 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.480000019)) | |
508 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.7600708, 0.940246582, 0.440822601, 1, 2.1234964e-008, -1.78813934e-007, 1.47174546e-007, -0.707106829, 0.707106769, -1.21046355e-007, -0.707106769, -0.707106829)) | |
509 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.800000072, 1)) | |
510 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
511 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000316619873, -0.962043762, 1.68040466, 2.60770412e-006, 0.000362485851, -1.00000012, 0.00035897718, 0.99999994, 0.000362486753, 1, -0.000358978083, 2.50341645e-006)) | |
512 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
513 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(2.72000003, 0.200000003, 0.480000019)) | |
514 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.320007324, 0.940238953, 0.440828323, 1, 2.1234964e-008, -1.78813934e-007, 1.47174546e-007, -0.707106829, 0.707106769, -1.21046355e-007, -0.707106769, -0.707106829)) | |
515 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
516 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
517 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.641975403, 0.160209656, 1.68029785, 0.000362732593, 0.99999994, 0.000362407387, -1.63913711e-007, -0.000362407329, 1, 0.99999994, -0.000362732622, 4.47251054e-008)) | |
518 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
519 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.480000019)) | |
520 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.7600708, -0.12512207, -3.81469727e-006, 1, -4.4408921e-016, -1.54853386e-016, -4.4408921e-016, 1, 0, -1.54853386e-016, 0, 1)) | |
521 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.800000072, 1)) | |
522 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(2.72000003, 0.480000019, 0.200000003)) | |
523 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.320007324, -0.440818787, 0.0586090088, 1.00000012, -2.64309392e-008, -8.94069672e-008, -4.28664144e-008, 0.707106888, -0.707106709, 9.12440399e-008, 0.707106709, 0.707106888)) | |
524 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
525 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
526 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000152587891, -0.482032776, 1.68025208, -2.10106282e-006, 0.000362470717, -0.99999994, 0.00036824515, 0.99999994, 0.000362469931, 0.999999881, -0.000368244306, -2.2053498e-006)) | |
527 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
528 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(2.07999992, 0.200000003, 0.200000003)) | |
529 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.320007324, 0.121658325, 7.62939453e-006, 1.00000012, -5.19595522e-009, -2.5331974e-007, -5.19594989e-009, -1, 2.12064819e-008, -2.5331974e-007, -2.12064926e-008, -1.00000012)) | |
530 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
531 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.480000019, 0.200000003, 0.320000023)) | |
532 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.121658325, 1.3600769, -8.94069672e-008, -5.96046377e-008, -1.00000012, 2.59801936e-009, 1, -5.96046306e-008, 1.00000012, -2.59802602e-009, -8.94069672e-008)) | |
533 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
534 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.480000019)) | |
535 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.76010132, 0.05859375, -0.44080162, 1.00000012, -2.64309392e-008, -8.94069672e-008, -4.28664144e-008, 0.707106888, -0.707106709, 9.12440399e-008, 0.707106709, 0.707106888)) | |
536 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.800000072, 1)) | |
537 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(2.72000003, 0.480000019, 0.200000003)) | |
538 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.320007324, 0.440834045, 0.940233231, 1, 2.1234964e-008, -1.78813934e-007, 1.47174546e-007, -0.707106829, 0.707106769, -1.21046355e-007, -0.707106769, -0.707106829)) | |
539 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
540 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(2.07999992, 0.200000003, 0.200000003)) | |
541 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.320007324, 1.12969971, 7.62939453e-006, 1.00000012, -5.19595522e-009, -2.5331974e-007, -5.19594989e-009, -1, 2.12064819e-008, -2.5331974e-007, -2.12064926e-008, -1.00000012)) | |
542 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
543 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.480000019, 0.200000003, 0.320000023)) | |
544 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, -0.121658325, -0.719848633, -8.94069672e-008, -5.96046377e-008, -1.00000012, 2.59801936e-009, 1, -5.96046306e-008, 1.00000012, -2.59802602e-009, -8.94069672e-008)) | |
545 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
546 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(2.72000003, 0.480000019, 0.200000003)) | |
547 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.320022583, 0.617675781, 0.495986938, 1.00000012, -5.19595522e-009, -2.5331974e-007, -5.19594989e-009, -1, 2.12064819e-008, -2.5331974e-007, -2.12064926e-008, -1.00000012)) | |
548 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
549 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "Part", Vector3.new(0.480000019, 0.200000003, 0.320000023)) | |
550 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, -1.12969971, -0.719848633, -8.94069672e-008, -5.96046377e-008, -1.00000012, 2.59801936e-009, 1, -5.96046306e-008, 1.00000012, -2.59802602e-009, -8.94069672e-008)) | |
551 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
552 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
553 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.453941345, 0.227851868, 1.68025208, 0.000255497143, 0.706850588, 0.707362831, -0.000258075044, -0.707362771, 0.706850648, 1, -0.000363150437, 1.68385282e-006)) | |
554 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
555 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.44000006)) | |
556 | PartWeld = CreateWeld(m, QuiverHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.454055786, -0.227571487, 1.68025208, 0.000257970736, 0.70736295, -0.706850469, 0.000255273626, 0.706850469, 0.70736295, 1, -0.000362918596, 1.77325978e-006)) | |
557 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=15887356", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.960000038, 2.4000001)) | |
558 | PivotHandle1 = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "PivotHandle1", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
559 | PivotHandle1Weld = CreateWeld(m, PivotConnector1, PivotHandle1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, -7.27595761e-012, 0, 1, -2.67841305e-014, -7.27595761e-012, -2.67841305e-014, 1)) | |
560 | CreateMesh("SpecialMesh", PivotHandle1, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", Vector3.new(0, 0, 0), Vector3.new(0.214015961, 0.225279838, 0.585727811)) | |
561 | String1 = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "String1", Vector3.new(0.220000014, 3.37920046, 0.220000014)) | |
562 | String1Weld = CreateWeld(m, PivotHandle1, String1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0047981739, -1.87628937, 0, 8.04664523e-007, -1, 1.50134269e-007, 1, 8.04658157e-007, -4.06052495e-005, 4.06052386e-005, 1.50166912e-007, 1)) | |
563 | CreateMesh("CylinderMesh", String1, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 1, 0.153600037)) | |
564 | PivotHandle2 = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Cool yellow", "PivotHandle2", Vector3.new(0.220000014, 0.220000014, 0.220000014)) | |
565 | PivotHandle2Weld = CreateWeld(m, PivotConnector2, PivotHandle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, -7.27595761e-012, 0, 1, -2.67841305e-014, -7.27595761e-012, -2.67841305e-014, 1)) | |
566 | CreateMesh("SpecialMesh", PivotHandle2, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", Vector3.new(0, 0, 0), Vector3.new(0.214015961, 0.225279838, 0.585727811)) | |
567 | String2 = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "String2", Vector3.new(0.220000014, 3.49184012, 0.220000014)) | |
568 | String2Weld = CreateWeld(m, PivotHandle2, String2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00483489037, 1.87658691, 0, 8.04664523e-007, -1, 1.50134269e-007, 1, 8.04658157e-007, -4.06052495e-005, 4.06052386e-005, 1.50166912e-007, 1)) | |
569 | CreateMesh("CylinderMesh", String2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 1, 0.153600037)) | |
570 | ||
571 | --[[ Credits to Fenrier for the Effect Functions. ]]-- | |
572 | ||
573 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
574 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
575 | prt.Anchored = true | |
576 | prt.CFrame = cframe | |
577 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
578 | game:GetService("Debris"):AddItem(prt, 10) | |
579 | if Type == 1 or Type == nil then | |
580 | table.insert(Effects, { | |
581 | prt, | |
582 | "Block1", | |
583 | delay, | |
584 | x3, | |
585 | y3, | |
586 | z3, | |
587 | msh | |
588 | }) | |
589 | elseif Type == 2 then | |
590 | table.insert(Effects, { | |
591 | prt, | |
592 | "Block2", | |
593 | delay, | |
594 | x3, | |
595 | y3, | |
596 | z3, | |
597 | msh | |
598 | }) | |
599 | end | |
600 | end | |
601 | ||
602 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
603 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
604 | prt.Anchored = true | |
605 | prt.CFrame = cframe | |
606 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
607 | game:GetService("Debris"):AddItem(prt, 10) | |
608 | table.insert(Effects, { | |
609 | prt, | |
610 | "Cylinder", | |
611 | delay, | |
612 | x3, | |
613 | y3, | |
614 | z3, | |
615 | msh | |
616 | }) | |
617 | end | |
618 | ||
619 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
620 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
621 | prt.Anchored = true | |
622 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
623 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
624 | game:GetService("Debris"):AddItem(prt, 10) | |
625 | table.insert(Effects, { | |
626 | prt, | |
627 | "Cylinder", | |
628 | delay, | |
629 | x3, | |
630 | y3, | |
631 | z3, | |
632 | msh | |
633 | }) | |
634 | end | |
635 | ||
636 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
637 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
638 | prt.Anchored = true | |
639 | prt.CFrame = cframe | |
640 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
641 | game:GetService("Debris"):AddItem(prt, 10) | |
642 | table.insert(Effects, { | |
643 | prt, | |
644 | "Cylinder", | |
645 | delay, | |
646 | x3, | |
647 | y3, | |
648 | z3, | |
649 | msh | |
650 | }) | |
651 | end | |
652 | ||
653 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
654 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
655 | prt.Anchored = true | |
656 | prt.CFrame = cframe | |
657 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
658 | game:GetService("Debris"):AddItem(prt, 10) | |
659 | table.insert(Effects, { | |
660 | prt, | |
661 | "Cylinder", | |
662 | delay, | |
663 | x3, | |
664 | y3, | |
665 | z3, | |
666 | msh | |
667 | }) | |
668 | end | |
669 | ||
670 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
671 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
672 | prt.Anchored = true | |
673 | prt.CFrame = cframe | |
674 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
675 | game:GetService("Debris"):AddItem(prt, 10) | |
676 | table.insert(Effects, { | |
677 | prt, | |
678 | "Cylinder", | |
679 | delay, | |
680 | x3, | |
681 | y3, | |
682 | z3, | |
683 | msh | |
684 | }) | |
685 | end | |
686 | ||
687 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
688 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
689 | prt.Anchored = true | |
690 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
691 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
692 | local num = math.random(10, 50) / 1000 | |
693 | game:GetService("Debris"):AddItem(prt, 10) | |
694 | table.insert(Effects, { | |
695 | prt, | |
696 | "Shatter", | |
697 | num, | |
698 | prt.CFrame, | |
699 | math.random() - math.random(), | |
700 | 0, | |
701 | math.random(50, 100) / 100 | |
702 | }) | |
703 | end | |
704 | ||
705 | spread = 100 | |
706 | ||
707 | range = 250 | |
708 | ||
709 | rangepower = 20 | |
710 | ||
711 | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
712 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
713 | prt.Anchored = true | |
714 | prt.CFrame = cframe | |
715 | prt.Material = "Neon" | |
716 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
717 | game:GetService("Debris"):AddItem(prt, 10) | |
718 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
719 | for i = 0, 1, delay do | |
720 | swait() | |
721 | --BlockEffect(BrickColor.new("Black"), CFrame.new(prt.Position) * CFrame.new(math.random(-500, 500) / 100, math.random(-500, 500) / 100, math.random(-500, 500) / 100), 1, 1, 1, .5, .5, .5, .05, 1) | |
722 | Part.Transparency = i | |
723 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
724 | end | |
725 | Part.Parent = nil | |
726 | end), prt, msh) | |
727 | end | |
728 | ||
729 | function shoottrail(mouse,SpreadAmount) | |
730 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount,SpreadAmount), math.random(-SpreadAmount,SpreadAmount), math.random(-SpreadAmount,SpreadAmount)) | |
731 | local MainPos = BowHandle.Position | |
732 | local MainPos2 = mouse.Hit.p+SpreadVectors | |
733 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
734 | local speed = 50 | |
735 | local num = 50 | |
736 | coroutine.resume(coroutine.create(function() | |
737 | repeat | |
738 | swait() | |
739 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
740 | local mag = (MainPos - pos).magnitude | |
741 | Laser(BrickColor.new("Black"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15) | |
742 | MainPos = MainPos + (MouseLook.lookVector * speed) | |
743 | num = num - 1 | |
744 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
745 | if hit ~= nil then | |
746 | num = 0 | |
747 | local refpart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
748 | refpart.Anchored = true | |
749 | refpart.CFrame = CFrame.new(pos) | |
750 | game:GetService("Debris"):AddItem(refpart, 2) | |
751 | for i = 1, math.random(2, 4) do | |
752 | end | |
753 | end | |
754 | if num <= 0 then | |
755 | local refpart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
756 | refpart.Anchored = true | |
757 | refpart.CFrame = CFrame.new(pos) | |
758 | game:GetService("Debris"):AddItem(refpart, 2) | |
759 | end | |
760 | until num <= 0 | |
761 | end)) | |
762 | end | |
763 | ||
764 | --[[ Attack Functions ]]-- | |
765 | ||
766 | local Hold = false | |
767 | ||
768 | function CFA(x,y,z) | |
769 | return CFrame.fromEulerAnglesXYZ(math.rad(x),math.rad(y),math.rad(z)) | |
770 | end | |
771 | ||
772 | function attackone() | |
773 | attack = true | |
774 | change = 1 | |
775 | Humanoid.WalkSpeed = 5 | |
776 | for i = 0, 1, 0.2 do | |
777 | swait() | |
778 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-65)), .3) | |
779 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(65)), .3) | |
780 | RW.C0 = clerp(RW.C0, CFrame.new(0.5, 0.49, -.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), .3) | |
781 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.49, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), .3) | |
782 | BowFakeHandleWeld.C0 = clerp(BowFakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-50), math.rad(0)), .3) | |
783 | PivotHandle1Weld.C0 = clerp(PivotHandle1Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
784 | PivotHandle2Weld.C0 = clerp(PivotHandle2Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
785 | FakeArrowWeld.C0 = clerp(FakeArrowWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
786 | if Torsovelocity < 1 then | |
787 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
788 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
789 | elseif Torsovelocity > 2 then | |
790 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.3 * math.cos(sine / 8) / 2, -.03 + math.sin(sine / 8) / 2) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10) - math.sin(sine / 8)), .3) | |
791 | LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.3 * math.cos(sine / 8) / 2, -.03 - math.sin(sine / 8) / 2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10) - math.sin(sine / 8)), .3) | |
792 | end | |
793 | end | |
794 | CreateSound("rbxassetid://188569331",BowHandle,1,1) | |
795 | FakeArrow.Transparency = 0 | |
796 | for i = 0, 1, 0.2 do | |
797 | swait() | |
798 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-65)), .3) | |
799 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(65)), .3) | |
800 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.49, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), .3) | |
801 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.49, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), .3) | |
802 | BowFakeHandleWeld.C0 = clerp(BowFakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), .3) | |
803 | PivotHandle1Weld.C0 = clerp(PivotHandle1Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), .3) | |
804 | PivotHandle2Weld.C0 = clerp(PivotHandle2Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
805 | FakeArrowWeld.C0 = clerp(FakeArrowWeld.C0, cn(-1.3, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
806 | if Torsovelocity < 1 then | |
807 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
808 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
809 | elseif Torsovelocity > 2 then | |
810 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.3 * math.cos(sine / 8) / 2, -.03 + math.sin(sine / 8) / 2) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10) - math.sin(sine / 8)), .3) | |
811 | LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.3 * math.cos(sine / 8) / 2, -.03 - math.sin(sine / 8) / 2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10) - math.sin(sine / 8)), .3) | |
812 | end | |
813 | end | |
814 | while true do | |
815 | swait() | |
816 | if Hold == true then | |
817 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-65)), .3) | |
818 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(65)), .3) | |
819 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.49, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), .3)*CFA(math.random(-.6,.6),math.random(-.5,.5),math.random(-.5,.5)) | |
820 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.49, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), .3) | |
821 | BowFakeHandleWeld.C0 = clerp(BowFakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), .3) | |
822 | PivotHandle1Weld.C0 = clerp(PivotHandle1Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), .3)*CFA(0, 0 ,math.random(-.6,.6)) | |
823 | PivotHandle2Weld.C0 = clerp(PivotHandle2Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)*CFA(0, 0 ,math.random(-.6,.6)) | |
824 | FakeArrowWeld.C0 = clerp(FakeArrowWeld.C0, cn(-1.3, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
825 | if Torsovelocity < 1 then | |
826 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
827 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
828 | elseif Torsovelocity > 2 then | |
829 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.3 * math.cos(sine / 8) / 2, -.03 + math.sin(sine / 8) / 2) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10) - math.sin(sine / 8)), .3) | |
830 | LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.3 * math.cos(sine / 8) / 2, -.03 - math.sin(sine / 8) / 2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10) - math.sin(sine / 8)), .3) | |
831 | end | |
832 | elseif Hold == false then | |
833 | break | |
834 | end | |
835 | end | |
836 | CreateSound("rbxassetid://166032326",BowHandle,1,1) | |
837 | FakeArrow.Transparency = 1 | |
838 | shoottrail(mouse,0) | |
839 | for i = 0, 1, 0.2 do | |
840 | swait() | |
841 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
842 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(40)), .3) | |
843 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.49, 0) * angles(math.rad(130), math.rad(0), math.rad(20)), .3) | |
844 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.49, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), .3) | |
845 | BowFakeHandleWeld.C0 = clerp(BowFakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), .3) | |
846 | PivotHandle1Weld.C0 = clerp(PivotHandle1Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-4)), .5)*CFA(0, 0 ,math.random(-.6,.6)) | |
847 | PivotHandle2Weld.C0 = clerp(PivotHandle2Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(4)), .5)*CFA(0, 0 ,math.random(-.6,.6)) | |
848 | FakeArrowWeld.C0 = clerp(FakeArrowWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
849 | if Torsovelocity < 1 then | |
850 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
851 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
852 | elseif Torsovelocity > 2 then | |
853 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.3 * math.cos(sine / 8) / 2, -.03 + math.sin(sine / 8) / 2) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10) - math.sin(sine / 8)), .3) | |
854 | LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.3 * math.cos(sine / 8) / 2, -.03 - math.sin(sine / 8) / 2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10) - math.sin(sine / 8)), .3) | |
855 | end | |
856 | end | |
857 | Humanoid.WalkSpeed = 18 | |
858 | attack = false | |
859 | end | |
860 | ||
861 | --[[Attacks]]-- | |
862 | ||
863 | mouse.Button1Down:connect(function() | |
864 | if attack == false and attacktype == 1 and Hold == false then | |
865 | Hold = true | |
866 | attackone() | |
867 | end | |
868 | end) | |
869 | ||
870 | mouse.Button1Up:connect(function(k) | |
871 | if attack == true and Hold == true then | |
872 | Hold = false | |
873 | end | |
874 | end) | |
875 | ||
876 | mouse.KeyDown:connect(function(k) | |
877 | k = k:lower() | |
878 | if attack == false and k == '' then | |
879 | ||
880 | end | |
881 | end) | |
882 | ||
883 | --[[ Credits to Fenrier for the Movement Detection and Effects table. ]]-- | |
884 | ||
885 | Humanoid.WalkSpeed = 18 | |
886 | ||
887 | while true do | |
888 | swait() | |
889 | if Hold == true then | |
890 | local aim = CFrame.new(RootPart.Position,mouse.Hit.p) | |
891 | local direction = aim.lookVector | |
892 | local headingA = math.atan2(direction.x, direction.z) | |
893 | headingA = math.deg(headingA) | |
894 | Humanoid.AutoRotate = false | |
895 | RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA-180), math.rad(0)) | |
896 | else | |
897 | Humanoid.AutoRotate = true | |
898 | end | |
899 | for i, v in pairs(Character:GetChildren()) do | |
900 | if v:IsA("Part") then | |
901 | v.Material = "SmoothPlastic" | |
902 | elseif v:IsA("Hat") then | |
903 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
904 | end | |
905 | end | |
906 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
907 | velocity = RootPart.Velocity.y | |
908 | sine = sine + change | |
909 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
910 | if equipped == true or equipped == false then | |
911 | if RootPart.Velocity.y > 1 and hit == nil then | |
912 | Anim = "Jump" | |
913 | if attack == false then | |
914 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
915 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), .3) | |
916 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(80 + 2 * math.sin(sine / 25))), .3) | |
917 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), .3) | |
918 | RH.C0 = clerp(RH.C0, cn(1, -.7, -.5) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(-20)), .3) | |
919 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(10)), .3) | |
920 | BowFakeHandleWeld.C0 = clerp(BowFakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
921 | PivotHandle1Weld.C0 = clerp(PivotHandle1Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
922 | PivotHandle2Weld.C0 = clerp(PivotHandle2Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
923 | FakeArrowWeld.C0 = clerp(FakeArrowWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
924 | end | |
925 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
926 | Anim = "Fall" | |
927 | if attack == false then | |
928 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
929 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
930 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(80 + 2 * math.sin(sine / 25))), .3) | |
931 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)), .3) | |
932 | RH.C0 = clerp(RH.C0, cn(1, -.9 - .1 * math.sin(sine / 27), 0) * RHCF * angles(math.rad(-3 + 1 * math.cos(sine / 23)), math.rad(0), math.rad(0)), .3) | |
933 | LH.C0 = clerp(LH.C0, cn(-1, -.9 - .1 * math.sin(sine / 27), 0) * LHCF * angles(math.rad(-3 + 1 * math.cos(sine / 23)), math.rad(0), math.rad(0)), .3) | |
934 | BowFakeHandleWeld.C0 = clerp(BowFakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
935 | PivotHandle1Weld.C0 = clerp(PivotHandle1Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
936 | PivotHandle2Weld.C0 = clerp(PivotHandle2Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
937 | FakeArrowWeld.C0 = clerp(FakeArrowWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
938 | end | |
939 | elseif Torsovelocity < 1 and hit ~= nil then | |
940 | Anim = "Idle" | |
941 | if attack == false then | |
942 | change = 1 | |
943 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.1 + .1 * math.sin(sine / 27)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
944 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 + 5 * math.sin(sine / 25)), math.rad(0), math.rad(30 + 3 * math.sin(sine / 25))), .3) | |
945 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(80 + 2 * math.sin(sine / 25))), .3) | |
946 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-35 + 1 * math.sin(sine / 25))), .3) | |
947 | RH.C0 = clerp(RH.C0, cn(1, -.9 - .1 * math.sin(sine / 27), 0) * RHCF * angles(math.rad(-5 + 1 * math.sin(sine / 25)), math.rad(20), math.rad(0)), .3) | |
948 | LH.C0 = clerp(LH.C0, cn(-1, -.9 - .1 * math.sin(sine / 27), 0) * LHCF * angles(math.rad(-5 + 1 * math.sin(sine / 25)), math.rad(20), math.rad(0)), .3) | |
949 | BowFakeHandleWeld.C0 = clerp(BowFakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
950 | PivotHandle1Weld.C0 = clerp(PivotHandle1Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
951 | PivotHandle2Weld.C0 = clerp(PivotHandle2Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
952 | FakeArrowWeld.C0 = clerp(FakeArrowWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
953 | end | |
954 | elseif Torsovelocity > 2 and hit ~= nil then | |
955 | Anim = "Walk" | |
956 | if attack == false then | |
957 | change = 3 | |
958 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-30 + 5 * math.sin(sine / 10))), .3) | |
959 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(-5), math.rad(30 - 5 * math.sin(sine / 10))), .3) | |
960 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(80)), .3) | |
961 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-25 + 2 * math.sin(sine / 25))), .3) | |
962 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 8) / 2, -.03 + math.sin(sine / 8) / 2) * RHCF * angles(math.rad(-2), math.rad(20), math.rad(-10) - math.sin(sine / 8)), .3) | |
963 | LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 8) / 2, -.03 - math.sin(sine / 8) / 2) * LHCF * angles(math.rad(-2), math.rad(20), math.rad(10) - math.sin(sine / 8)), .3) | |
964 | BowFakeHandleWeld.C0 = clerp(BowFakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
965 | PivotHandle1Weld.C0 = clerp(PivotHandle1Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
966 | PivotHandle2Weld.C0 = clerp(PivotHandle2Weld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
967 | FakeArrowWeld.C0 = clerp(FakeArrowWeld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
968 | end | |
969 | end | |
970 | end | |
971 | if #Effects > 0 then | |
972 | for e = 1, #Effects do | |
973 | if Effects[e] ~= nil then | |
974 | local Thing = Effects[e] | |
975 | if Thing ~= nil then | |
976 | local Part = Thing[1] | |
977 | local Mode = Thing[2] | |
978 | local Delay = Thing[3] | |
979 | local IncX = Thing[4] | |
980 | local IncY = Thing[5] | |
981 | local IncZ = Thing[6] | |
982 | if Thing[1].Transparency <= 1 then | |
983 | if Thing[2] == "Block1" then | |
984 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
985 | Mesh = Thing[1].Mesh | |
986 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
987 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
988 | elseif Thing[2] == "Block2" then | |
989 | Thing[1].CFrame = Thing[1].CFrame | |
990 | Mesh = Thing[7] | |
991 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
992 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
993 | elseif Thing[2] == "Cylinder" then | |
994 | Mesh = Thing[1].Mesh | |
995 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
996 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
997 | elseif Thing[2] == "Blood" then | |
998 | Mesh = Thing[7] | |
999 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0) | |
1000 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1001 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1002 | elseif Thing[2] == "Elec" then | |
1003 | Mesh = Thing[1].Mesh | |
1004 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1005 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1006 | elseif Thing[2] == "Disappear" then | |
1007 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1008 | elseif Thing[2] == "Shatter" then | |
1009 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1010 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1011 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1012 | Thing[6] = Thing[6] + Thing[5] | |
1013 | end | |
1014 | else | |
1015 | Part.Parent = nil | |
1016 | table.remove(Effects, e) | |
1017 | end | |
1018 | end | |
1019 | end | |
1020 | end | |
1021 | end | |
1022 | end |