· 7 years ago · Sep 11, 2018, 10:28 AM
1-- This script has been converted to FE by iPxter
2
3
4if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6do
7 print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8 script.Parent = Player.Character
9
10 --RemoteEvent for communicating
11 local Event = Instance.new("RemoteEvent")
12 Event.Name = "UserInput_Event"
13
14 --Fake event to make stuff like Mouse.KeyDown work
15 local function fakeEvent()
16 local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17 t.connect = t.Connect
18 return t
19 end
20
21 --Creating fake input objects with fake variables
22 local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23 local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24 local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25 CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26 end}
27 --Merged 2 functions into one by checking amount of arguments
28 CAS.UnbindAction = CAS.BindAction
29
30 --This function will trigger the events that have been :Connect()'ed
31 local function te(self,ev,...)
32 local t = m[ev]
33 if t and t._fakeEvent and t.Function then
34 t.Function(...)
35 end
36 end
37 m.TrigEvent = te
38 UIS.TrigEvent = te
39
40 Event.OnServerEvent:Connect(function(plr,io)
41 if plr~=Player then return end
42 if io.isMouse then
43 m.Target = io.Target
44 m.Hit = io.Hit
45 else
46 local b = io.UserInputState == Enum.UserInputState.Begin
47 if io.UserInputType == Enum.UserInputType.MouseButton1 then
48 return m:TrigEvent(b and "Button1Down" or "Button1Up")
49 end
50 for _,t in pairs(CAS.Actions) do
51 for _,k in pairs(t.Keys) do
52 if k==io.KeyCode then
53 t.Function(t.Name,io.UserInputState,io)
54 end
55 end
56 end
57 m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58 UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59 end
60 end)
61 Event.Parent = NLS([==[
62 local Player = game:GetService("Players").LocalPlayer
63 local Event = script:WaitForChild("UserInput_Event")
64
65 local UIS = game:GetService("UserInputService")
66 local input = function(io,a)
67 if a then return end
68 --Since InputObject is a client-side instance, we create and pass table instead
69 Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70 end
71 UIS.InputBegan:Connect(input)
72 UIS.InputEnded:Connect(input)
73
74 local Mouse = Player:GetMouse()
75 local h,t
76 --Give the server mouse data 30 times every second, but only if the values changed
77 --If player is not moving their mouse, client won't fire events
78 while wait(1/30) do
79 if h~=Mouse.Hit or t~=Mouse.Target then
80 h,t=Mouse.Hit,Mouse.Target
81 Event:FireServer({isMouse=true,Target=t,Hit=h})
82 end
83 end]==],Player.Character)
84 Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85end
86---------------------------------------------
87------Created by LuckyPlayerScripter---------
88---------------------------------------------
89------Script Name: Gordon Freeman------------
90---------------------------------------------
91
92--Skybox and something extra for the script
93
94function sandbox(var,func)
95 local env = getfenv(func)
96 local newenv = setmetatable({},{
97 __index = function(self,k)
98 if k=="script" then
99 return var
100 else
101 return env[k]
102 end
103 end,
104 })
105 setfenv(func,newenv)
106 return func
107end
108cors = {}
109mas = Instance.new("Model",game:GetService("Lighting"))
110Sky0 = Instance.new("Sky")
111Sky0.Parent = mas
112Sky0.MoonAngularSize = 0
113Sky0.SkyboxBk = "rbxassetid://1412333516"
114Sky0.SkyboxDn = "rbxassetid://1412332465"
115Sky0.SkyboxFt = "rbxassetid://1412320465"
116Sky0.SkyboxLf = "rbxassetid://1412308642"
117Sky0.SkyboxRt = "rbxassetid://1412326821"
118Sky0.SkyboxUp = "rbxassetid://1412327265"
119Sky0.SunAngularSize = 0
120for i,v in pairs(mas:GetChildren()) do
121 v.Parent = game:GetService("Lighting")
122 pcall(function() v:MakeJoints() end)
123end
124mas:Destroy()
125for i,v in pairs(cors) do
126 spawn(function()
127 pcall(v)
128 end)
129end
130
131function sandbox(var,func)
132 local env = getfenv(func)
133 local newenv = setmetatable({},{
134 __index = function(self,k)
135 if k=="script" then
136 return var
137 else
138 return env[k]
139 end
140 end,
141 })
142 setfenv(func,newenv)
143 return func
144end
145cors = {}
146mas = Instance.new("Model",game:GetService("Lighting"))
147Model0 = Instance.new("Model")
148Part1 = Instance.new("Part")
149ClickDetector2 = Instance.new("ClickDetector")
150Script3 = Instance.new("Script")
151SurfaceGui4 = Instance.new("SurfaceGui")
152Frame5 = Instance.new("Frame")
153ImageLabel6 = Instance.new("ImageLabel")
154Model7 = Instance.new("Model")
155Part8 = Instance.new("Part")
156Part9 = Instance.new("Part")
157Decal10 = Instance.new("Decal")
158Part11 = Instance.new("Part")
159Part12 = Instance.new("Part")
160Part13 = Instance.new("Part")
161Pants14 = Instance.new("Pants")
162Shirt15 = Instance.new("Shirt")
163Humanoid16 = Instance.new("Humanoid")
164Model17 = Instance.new("Model")
165UnionOperation18 = Instance.new("UnionOperation")
166Part19 = Instance.new("Part")
167CylinderMesh20 = Instance.new("CylinderMesh")
168Part21 = Instance.new("Part")
169CylinderMesh22 = Instance.new("CylinderMesh")
170Part23 = Instance.new("Part")
171Model0.Name = "Uniform Giver"
172Model0.Parent = mas
173Part1.Name = "ClickPart"
174Part1.Parent = Model0
175Part1.CFrame = CFrame.new(-0.777097464, 0.508056879, -9.8828125, -2.54809856e-06, -1.05798244e-06, -0.999998689, -8.35396349e-07, 0.999997914, -8.49366188e-07, 0.999998212, 8.23754817e-07, -2.22027302e-06)
176Part1.Orientation = Vector3.new(0, -90, 0)
177Part1.Position = Vector3.new(-0.777097464, 0.508056879, -9.8828125)
178Part1.Rotation = Vector3.new(159.069992, -89.909996, 157.449997)
179Part1.Transparency = 0.10000002384186
180Part1.Size = Vector3.new(4, 1, 3)
181Part1.Anchored = true
182Part1.BottomSurface = Enum.SurfaceType.Smooth
183Part1.TopSurface = Enum.SurfaceType.Smooth
184Part1.FormFactor = Enum.FormFactor.Symmetric
185Part1.formFactor = Enum.FormFactor.Symmetric
186ClickDetector2.Parent = Part1
187ClickDetector2.MaxActivationDistance = 10
188Script3.Parent = Part1
189table.insert(cors,sandbox(Script3,function()
190-- Ashes42827
191-- Uniform Giver
192-- Upgrade Time/Date
193-- 7/13/16
194-- Time 12:10
195
196-- Tags --
197
198local pantsId = script.Parent.Parent.Coathanger.Pants.PantsTemplate
199local shirtId = script.Parent.Parent.Coathanger.Shirt.ShirtTemplate
200local cPart = script.Parent
201local cDetector = script.Parent.ClickDetector
202
203
204
205
206-- Functions --
207
208local function playSoundLocal(sId,sParent)
209 local sound = Instance.new("Sound",sParent)
210 sound.SoundId = "http://www.roblox.com/asset/?id="..sId
211 sound:Play()
212 sound:Destroy()
213end
214
215local function onClicked(player)
216 print(player.Name.." clicked on Uniform Giver")
217
218 playSoundLocal(152206246,player) -- Declaring the sound ID and Parent
219
220
221
222
223 local foundShirt = player.Character:FindFirstChild("Shirt") -- Tries to find Shirt
224 if not foundShirt then -- if there is no shirt
225 print("No shirt found, creating for "..player.Name)
226 local newShirt = Instance.new("Shirt",player.Character)
227 newShirt.Name = "Shirt"
228 else if foundShirt then -- if there is a shirt
229 print("Shirt found, reconstructing for "..player.Name)
230 player.Character.Shirt:remove()
231 local newShirt = Instance.new("Shirt",player.Character)
232 newShirt.Name = "Shirt"
233 end
234 end
235
236
237
238
239 local foundPants = player.Character:FindFirstChild("Pants") -- Tries to find Pants
240 if not foundPants then -- if there are no pants
241 print("No pants found, creating for "..player.Name)
242 local newPants = Instance.new("Pants",player.Character)
243 newPants.Name = "Pants"
244 else if foundPants then -- if there are pants
245 print("Pants found, reconstructing for "..player.Name)
246 player.Character.Pants:remove()
247 local newPants = Instance.new("Pants",player.Character)
248 newPants.Name = "Pants"
249 end
250 end
251
252 player.Character.Shirt.ShirtTemplate = shirtId
253 player.Character.Pants.PantsTemplate = pantsId
254 end
255
256
257
258
259local function onHoverEnter(player)
260 cPart.Transparency = .1
261 cPart.BrickColor = BrickColor.White()
262end
263
264
265
266local function onHoverLeave(player)
267 cPart.BrickColor = BrickColor.Gray()
268 cPart.Transparency = .2
269end
270
271
272-- Binds --
273
274cDetector.MouseHoverEnter:connect(onHoverEnter)
275cDetector.MouseHoverLeave:connect(onHoverLeave)
276cDetector.MouseClick:connect(onClicked)
277
278
279
280
281end))
282SurfaceGui4.Parent = Part1
283Frame5.Parent = SurfaceGui4
284Frame5.Size = UDim2.new(1, 0, 1, 0)
285Frame5.BackgroundColor = BrickColor.new("Institutional white")
286Frame5.BackgroundColor3 = Color3.new(1, 1, 1)
287Frame5.BackgroundTransparency = 1
288Frame5.BorderSizePixel = 0
289ImageLabel6.Parent = Frame5
290ImageLabel6.Position = UDim2.new(0.5, -75, 0, 65)
291ImageLabel6.Size = UDim2.new(0, 200, 0, 500)
292ImageLabel6.BackgroundColor = BrickColor.new("Institutional white")
293ImageLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
294ImageLabel6.BackgroundTransparency = 1
295ImageLabel6.Image = "http://www.roblox.com/asset/?id=43556891"
296Model7.Name = "Coathanger"
297Model7.Parent = Model0
298Part8.Name = "Right Arm"
299Part8.Parent = Model7
300Part8.CFrame = CFrame.new(-0.77710402, 4.00804615, -8.3828125, -0.101965621, 0.00575653464, -0.994769871, 0.0353812426, 0.999369383, 0.00215672329, 0.994156539, -0.034976352, -0.102104805)
301Part8.Orientation = Vector3.new(-0.119999997, -95.8600006, 2.02999997)
302Part8.Position = Vector3.new(-0.77710402, 4.00804615, -8.3828125)
303Part8.Rotation = Vector3.new(-178.789993, -84.1399994, -176.769989)
304Part8.Color = Color3.new(0.803922, 0.803922, 0.803922)
305Part8.Size = Vector3.new(1, 2, 1)
306Part8.Anchored = true
307Part8.BottomSurface = Enum.SurfaceType.Smooth
308Part8.BrickColor = BrickColor.new("Mid gray")
309Part8.TopSurface = Enum.SurfaceType.Smooth
310Part8.brickColor = BrickColor.new("Mid gray")
311Part8.FormFactor = Enum.FormFactor.Symmetric
312Part8.formFactor = Enum.FormFactor.Symmetric
313Part9.Name = "Torso"
314Part9.Parent = Model7
315Part9.CFrame = CFrame.new(-0.777100384, 4.00804758, -9.88280964, -0.0781793669, -2.91615725e-05, -0.996937871, -3.34065408e-06, 0.999997973, -2.87741423e-05, 0.996937275, 1.07614323e-06, -0.078178972)
316Part9.Orientation = Vector3.new(0, -94.4799957, 0)
317Part9.Position = Vector3.new(-0.777100384, 4.00804758, -9.88280964)
318Part9.Rotation = Vector3.new(179.979996, -85.5199966, 179.979996)
319Part9.Color = Color3.new(0.803922, 0.803922, 0.803922)
320Part9.Size = Vector3.new(2, 2, 1)
321Part9.Anchored = true
322Part9.BottomSurface = Enum.SurfaceType.Smooth
323Part9.BrickColor = BrickColor.new("Mid gray")
324Part9.LeftParamA = 0
325Part9.LeftParamB = 0
326Part9.RightParamA = 0
327Part9.RightParamB = 0
328Part9.TopSurface = Enum.SurfaceType.Smooth
329Part9.brickColor = BrickColor.new("Mid gray")
330Part9.FormFactor = Enum.FormFactor.Symmetric
331Part9.formFactor = Enum.FormFactor.Symmetric
332Decal10.Name = "roblox"
333Decal10.Parent = Part9
334Part11.Name = "Left Arm"
335Part11.Parent = Model7
336Part11.CFrame = CFrame.new(-0.575436354, 4.02855873, -11.3320246, -0.050310567, -0.119424045, -0.991566241, -0.102479167, 0.988200128, -0.113818794, 0.993459702, 0.0958887413, -0.0619550198)
337Part11.Orientation = Vector3.new(6.53999996, -93.5799942, -5.92000008)
338Part11.Position = Vector3.new(-0.575436354, 4.02855873, -11.3320246)
339Part11.Rotation = Vector3.new(118.559998, -82.5499954, 112.839996)
340Part11.Color = Color3.new(0.803922, 0.803922, 0.803922)
341Part11.Size = Vector3.new(1, 2, 1)
342Part11.Anchored = true
343Part11.BottomSurface = Enum.SurfaceType.Smooth
344Part11.BrickColor = BrickColor.new("Mid gray")
345Part11.TopSurface = Enum.SurfaceType.Smooth
346Part11.brickColor = BrickColor.new("Mid gray")
347Part11.FormFactor = Enum.FormFactor.Symmetric
348Part11.formFactor = Enum.FormFactor.Symmetric
349Part12.Name = "Left Leg"
350Part12.Parent = Model7
351Part12.CFrame = CFrame.new(-0.777094543, 2.00903082, -10.3828049, -0.038446635, -0.0389980674, -0.998497963, -0.00150057673, 0.99923718, -0.0389689654, 0.999257743, 9.22009349e-08, -0.0384755582)
352Part12.Orientation = Vector3.new(2.23000002, -92.2099991, -0.0899999961)
353Part12.Position = Vector3.new(-0.777094543, 2.00903082, -10.3828049)
354Part12.Rotation = Vector3.new(134.62999, -86.8600006, 134.589996)
355Part12.Color = Color3.new(0.803922, 0.803922, 0.803922)
356Part12.Size = Vector3.new(1, 2, 1)
357Part12.Anchored = true
358Part12.BottomSurface = Enum.SurfaceType.Smooth
359Part12.BrickColor = BrickColor.new("Mid gray")
360Part12.TopSurface = Enum.SurfaceType.Smooth
361Part12.brickColor = BrickColor.new("Mid gray")
362Part12.FormFactor = Enum.FormFactor.Symmetric
363Part12.formFactor = Enum.FormFactor.Symmetric
364Part13.Name = "Right Leg"
365Part13.Parent = Model7
366Part13.CFrame = CFrame.new(-0.900146008, 2.02367902, -9.27343845, 0.109835453, 0.0563831106, -0.992347777, 0.0702560097, 0.995449662, 0.0643357188, 0.991461396, -0.0767849088, 0.105375007)
367Part13.Orientation = Vector3.new(-3.68999982, -83.9399948, 4.03999996)
368Part13.Position = Vector3.new(-0.900146008, 2.02367902, -9.27343845)
369Part13.Rotation = Vector3.new(-31.4099998, -82.909996, -27.1700001)
370Part13.Color = Color3.new(0.803922, 0.803922, 0.803922)
371Part13.Size = Vector3.new(1, 2, 1)
372Part13.Anchored = true
373Part13.BottomSurface = Enum.SurfaceType.Smooth
374Part13.BrickColor = BrickColor.new("Mid gray")
375Part13.TopSurface = Enum.SurfaceType.Smooth
376Part13.brickColor = BrickColor.new("Mid gray")
377Part13.FormFactor = Enum.FormFactor.Symmetric
378Part13.formFactor = Enum.FormFactor.Symmetric
379Pants14.Name = "Pants"
380Pants14.Parent = Model7
381Pants14.PantsTemplate = "rbxassetid://1060483173"
382Shirt15.Name = "Shirt"
383Shirt15.Parent = Model7
384Shirt15.ShirtTemplate = "rbxassetid://1077337646"
385Humanoid16.Parent = Model7
386Humanoid16.Health = 0
387Humanoid16.LeftLeg = Part12
388Humanoid16.MaxHealth = 0
389Humanoid16.RightLeg = Part13
390Humanoid16.Torso = Part9
391Humanoid16.WalkSpeed = 0
392Humanoid16.maxHealth = 0
393Model17.Name = "Stand"
394Model17.Parent = Model0
395UnionOperation18.Parent = Model17
396UnionOperation18.CFrame = CFrame.new(-2.77709532, 2.51000309, -9.88281536, -2.54809856e-06, -1.05798244e-06, -0.999998689, -8.35396349e-07, 0.999997914, -8.49366188e-07, 0.999998212, 8.23754817e-07, -2.22027302e-06)
397UnionOperation18.Orientation = Vector3.new(0, -90, 0)
398UnionOperation18.Position = Vector3.new(-2.77709532, 2.51000309, -9.88281536)
399UnionOperation18.Rotation = Vector3.new(159.069992, -89.909996, 157.449997)
400UnionOperation18.Color = Color3.new(0.639216, 0.635294, 0.647059)
401UnionOperation18.Size = Vector3.new(4.00000048, 5.00000095, 1)
402UnionOperation18.Anchored = true
403UnionOperation18.BrickColor = BrickColor.new("Medium stone grey")
404UnionOperation18.Material = Enum.Material.Metal
405UnionOperation18.brickColor = BrickColor.new("Medium stone grey")
406Part19.Parent = Model17
407Part19.CFrame = CFrame.new(-1.67699432, 4.50902176, -10.2812481, -2.54809856e-06, -0.999998689, 1.05798244e-06, -8.35396349e-07, -8.49366188e-07, -0.999997914, 0.999998212, -2.22027302e-06, -8.23754817e-07)
408Part19.Orientation = Vector3.new(89.8799973, 127.899994, -135.479996)
409Part19.Position = Vector3.new(-1.67699432, 4.50902176, -10.2812481)
410Part19.Rotation = Vector3.new(90, 0, 90)
411Part19.Size = Vector3.new(1.20000005, 2, 1)
412Part19.Anchored = true
413Part19.BottomSurface = Enum.SurfaceType.Smooth
414Part19.Material = Enum.Material.DiamondPlate
415Part19.TopSurface = Enum.SurfaceType.Smooth
416Part19.FormFactor = Enum.FormFactor.Symmetric
417Part19.formFactor = Enum.FormFactor.Symmetric
418CylinderMesh20.Parent = Part19
419CylinderMesh20.Scale = Vector3.new(1, 1, 0.200000003)
420Part21.Parent = Model17
421Part21.CFrame = CFrame.new(-1.67699707, 4.50902176, -9.48046875, -2.54809856e-06, -0.999998689, 1.05798244e-06, -8.35396349e-07, -8.49366188e-07, -0.999997914, 0.999998212, -2.22027302e-06, -8.23754817e-07)
422Part21.Orientation = Vector3.new(89.8799973, 127.899994, -135.479996)
423Part21.Position = Vector3.new(-1.67699707, 4.50902176, -9.48046875)
424Part21.Rotation = Vector3.new(90, 0, 90)
425Part21.Size = Vector3.new(1.20000005, 2, 1)
426Part21.Anchored = true
427Part21.BottomSurface = Enum.SurfaceType.Smooth
428Part21.Material = Enum.Material.DiamondPlate
429Part21.TopSurface = Enum.SurfaceType.Smooth
430Part21.FormFactor = Enum.FormFactor.Symmetric
431Part21.formFactor = Enum.FormFactor.Symmetric
432CylinderMesh22.Parent = Part21
433CylinderMesh22.Scale = Vector3.new(1, 1, 0.200000003)
434Part23.Parent = Model17
435Part23.CFrame = CFrame.new(-1.17699862, 4.50902224, -9.88281059, -2.54809856e-06, -1.05798244e-06, -0.999998689, -8.35396349e-07, 0.999997914, -8.49366188e-07, 0.999998212, 8.23754817e-07, -2.22027302e-06)
436Part23.Orientation = Vector3.new(0, -90, 0)
437Part23.Position = Vector3.new(-1.17699862, 4.50902224, -9.88281059)
438Part23.Rotation = Vector3.new(159.069992, -89.909996, 157.449997)
439Part23.Size = Vector3.new(1.20000005, 0.600000024, 0.600000024)
440Part23.Anchored = true
441Part23.BottomSurface = Enum.SurfaceType.Smooth
442Part23.TopSurface = Enum.SurfaceType.Smooth
443Part23.FormFactor = Enum.FormFactor.Custom
444Part23.formFactor = Enum.FormFactor.Custom
445for i,v in pairs(mas:GetChildren()) do
446 v.Parent = workspace
447 pcall(function() v:MakeJoints() end)
448end
449mas:Destroy()
450for i,v in pairs(cors) do
451 spawn(function()
452 pcall(v)
453 end)
454end
455
456--Weapons for the script
457
458function sandbox(var,func)
459 local env = getfenv(func)
460 local newenv = setmetatable({},{
461 __index = function(self,k)
462 if k=="script" then
463 return var
464 else
465 return env[k]
466 end
467 end,
468 })
469 setfenv(func,newenv)
470 return func
471end
472cors = {}
473mas = Instance.new("Model",game:GetService("Lighting"))
474Tool0 = Instance.new("Tool")
475LocalScript1 = Instance.new("LocalScript")
476SpecialMesh2 = Instance.new("SpecialMesh")
477LocalScript3 = Instance.new("LocalScript")
478NumberValue4 = Instance.new("NumberValue")
479Script5 = Instance.new("Script")
480NumberValue6 = Instance.new("NumberValue")
481Script7 = Instance.new("Script")
482NumberValue8 = Instance.new("NumberValue")
483LocalScript9 = Instance.new("LocalScript")
484NumberValue10 = Instance.new("NumberValue")
485Part11 = Instance.new("Part")
486CylinderMesh12 = Instance.new("CylinderMesh")
487Part13 = Instance.new("Part")
488CylinderMesh14 = Instance.new("CylinderMesh")
489Part15 = Instance.new("Part")
490CylinderMesh16 = Instance.new("CylinderMesh")
491Part17 = Instance.new("Part")
492CylinderMesh18 = Instance.new("CylinderMesh")
493Part19 = Instance.new("Part")
494CylinderMesh20 = Instance.new("CylinderMesh")
495Part21 = Instance.new("Part")
496BlockMesh22 = Instance.new("BlockMesh")
497Sound23 = Instance.new("Sound")
498Sound24 = Instance.new("Sound")
499Sound25 = Instance.new("Sound")
500Sound26 = Instance.new("Sound")
501Part27 = Instance.new("Part")
502BlockMesh28 = Instance.new("BlockMesh")
503Part29 = Instance.new("Part")
504BlockMesh30 = Instance.new("BlockMesh")
505Part31 = Instance.new("Part")
506SpecialMesh32 = Instance.new("SpecialMesh")
507Part33 = Instance.new("Part")
508SpecialMesh34 = Instance.new("SpecialMesh")
509Part35 = Instance.new("Part")
510BlockMesh36 = Instance.new("BlockMesh")
511Part37 = Instance.new("Part")
512BlockMesh38 = Instance.new("BlockMesh")
513Part39 = Instance.new("Part")
514SpecialMesh40 = Instance.new("SpecialMesh")
515Part41 = Instance.new("Part")
516SpecialMesh42 = Instance.new("SpecialMesh")
517Part43 = Instance.new("Part")
518SpecialMesh44 = Instance.new("SpecialMesh")
519Part45 = Instance.new("Part")
520SpecialMesh46 = Instance.new("SpecialMesh")
521Part47 = Instance.new("Part")
522BlockMesh48 = Instance.new("BlockMesh")
523Part49 = Instance.new("Part")
524CylinderMesh50 = Instance.new("CylinderMesh")
525Part51 = Instance.new("Part")
526CylinderMesh52 = Instance.new("CylinderMesh")
527Part53 = Instance.new("Part")
528BlockMesh54 = Instance.new("BlockMesh")
529Part55 = Instance.new("Part")
530CylinderMesh56 = Instance.new("CylinderMesh")
531Part57 = Instance.new("Part")
532BlockMesh58 = Instance.new("BlockMesh")
533Part59 = Instance.new("Part")
534BlockMesh60 = Instance.new("BlockMesh")
535Part61 = Instance.new("Part")
536BlockMesh62 = Instance.new("BlockMesh")
537Part63 = Instance.new("Part")
538CylinderMesh64 = Instance.new("CylinderMesh")
539Part65 = Instance.new("Part")
540CylinderMesh66 = Instance.new("CylinderMesh")
541Part67 = Instance.new("Part")
542SpecialMesh68 = Instance.new("SpecialMesh")
543Part69 = Instance.new("Part")
544BlockMesh70 = Instance.new("BlockMesh")
545Part71 = Instance.new("Part")
546SpecialMesh72 = Instance.new("SpecialMesh")
547Part73 = Instance.new("Part")
548BlockMesh74 = Instance.new("BlockMesh")
549Part75 = Instance.new("Part")
550BlockMesh76 = Instance.new("BlockMesh")
551Part77 = Instance.new("Part")
552BlockMesh78 = Instance.new("BlockMesh")
553Part79 = Instance.new("Part")
554BlockMesh80 = Instance.new("BlockMesh")
555Part81 = Instance.new("Part")
556CylinderMesh82 = Instance.new("CylinderMesh")
557Part83 = Instance.new("Part")
558BlockMesh84 = Instance.new("BlockMesh")
559Part85 = Instance.new("Part")
560BlockMesh86 = Instance.new("BlockMesh")
561Part87 = Instance.new("Part")
562CylinderMesh88 = Instance.new("CylinderMesh")
563Part89 = Instance.new("Part")
564CylinderMesh90 = Instance.new("CylinderMesh")
565Part91 = Instance.new("Part")
566BlockMesh92 = Instance.new("BlockMesh")
567Part93 = Instance.new("Part")
568BlockMesh94 = Instance.new("BlockMesh")
569Part95 = Instance.new("Part")
570BlockMesh96 = Instance.new("BlockMesh")
571Part97 = Instance.new("Part")
572CylinderMesh98 = Instance.new("CylinderMesh")
573Part99 = Instance.new("Part")
574SpecialMesh100 = Instance.new("SpecialMesh")
575Part101 = Instance.new("Part")
576CylinderMesh102 = Instance.new("CylinderMesh")
577Part103 = Instance.new("Part")
578SpecialMesh104 = Instance.new("SpecialMesh")
579Part105 = Instance.new("Part")
580CylinderMesh106 = Instance.new("CylinderMesh")
581Part107 = Instance.new("Part")
582BlockMesh108 = Instance.new("BlockMesh")
583Part109 = Instance.new("Part")
584BlockMesh110 = Instance.new("BlockMesh")
585Part111 = Instance.new("Part")
586CylinderMesh112 = Instance.new("CylinderMesh")
587Part113 = Instance.new("Part")
588BlockMesh114 = Instance.new("BlockMesh")
589Part115 = Instance.new("Part")
590BlockMesh116 = Instance.new("BlockMesh")
591Part117 = Instance.new("Part")
592BlockMesh118 = Instance.new("BlockMesh")
593Part119 = Instance.new("Part")
594BlockMesh120 = Instance.new("BlockMesh")
595Part121 = Instance.new("Part")
596BlockMesh122 = Instance.new("BlockMesh")
597Part123 = Instance.new("Part")
598BlockMesh124 = Instance.new("BlockMesh")
599Part125 = Instance.new("Part")
600BlockMesh126 = Instance.new("BlockMesh")
601Part127 = Instance.new("Part")
602BlockMesh128 = Instance.new("BlockMesh")
603Part129 = Instance.new("Part")
604BlockMesh130 = Instance.new("BlockMesh")
605Part131 = Instance.new("Part")
606BlockMesh132 = Instance.new("BlockMesh")
607Part133 = Instance.new("Part")
608BlockMesh134 = Instance.new("BlockMesh")
609Part135 = Instance.new("Part")
610BlockMesh136 = Instance.new("BlockMesh")
611Part137 = Instance.new("Part")
612BlockMesh138 = Instance.new("BlockMesh")
613Part139 = Instance.new("Part")
614BlockMesh140 = Instance.new("BlockMesh")
615Part141 = Instance.new("Part")
616BlockMesh142 = Instance.new("BlockMesh")
617Part143 = Instance.new("Part")
618CylinderMesh144 = Instance.new("CylinderMesh")
619Part145 = Instance.new("Part")
620BlockMesh146 = Instance.new("BlockMesh")
621Part147 = Instance.new("Part")
622CylinderMesh148 = Instance.new("CylinderMesh")
623Part149 = Instance.new("Part")
624BlockMesh150 = Instance.new("BlockMesh")
625Part151 = Instance.new("Part")
626BlockMesh152 = Instance.new("BlockMesh")
627Part153 = Instance.new("Part")
628BlockMesh154 = Instance.new("BlockMesh")
629Part155 = Instance.new("Part")
630BlockMesh156 = Instance.new("BlockMesh")
631Part157 = Instance.new("Part")
632SpecialMesh158 = Instance.new("SpecialMesh")
633Part159 = Instance.new("Part")
634CylinderMesh160 = Instance.new("CylinderMesh")
635Part161 = Instance.new("Part")
636BlockMesh162 = Instance.new("BlockMesh")
637Part163 = Instance.new("Part")
638BlockMesh164 = Instance.new("BlockMesh")
639Part165 = Instance.new("Part")
640BlockMesh166 = Instance.new("BlockMesh")
641Part167 = Instance.new("Part")
642SpecialMesh168 = Instance.new("SpecialMesh")
643Part169 = Instance.new("Part")
644SpecialMesh170 = Instance.new("SpecialMesh")
645Part171 = Instance.new("Part")
646SpecialMesh172 = Instance.new("SpecialMesh")
647Part173 = Instance.new("Part")
648BlockMesh174 = Instance.new("BlockMesh")
649Part175 = Instance.new("Part")
650BlockMesh176 = Instance.new("BlockMesh")
651Part177 = Instance.new("Part")
652BlockMesh178 = Instance.new("BlockMesh")
653Part179 = Instance.new("Part")
654BlockMesh180 = Instance.new("BlockMesh")
655Part181 = Instance.new("Part")
656BlockMesh182 = Instance.new("BlockMesh")
657Part183 = Instance.new("Part")
658BlockMesh184 = Instance.new("BlockMesh")
659Part185 = Instance.new("Part")
660BlockMesh186 = Instance.new("BlockMesh")
661Part187 = Instance.new("Part")
662BlockMesh188 = Instance.new("BlockMesh")
663Part189 = Instance.new("Part")
664BlockMesh190 = Instance.new("BlockMesh")
665Part191 = Instance.new("Part")
666BlockMesh192 = Instance.new("BlockMesh")
667Part193 = Instance.new("Part")
668BlockMesh194 = Instance.new("BlockMesh")
669Part195 = Instance.new("Part")
670BlockMesh196 = Instance.new("BlockMesh")
671Part197 = Instance.new("Part")
672BlockMesh198 = Instance.new("BlockMesh")
673Part199 = Instance.new("Part")
674BlockMesh200 = Instance.new("BlockMesh")
675Part201 = Instance.new("Part")
676BlockMesh202 = Instance.new("BlockMesh")
677Part203 = Instance.new("Part")
678SpecialMesh204 = Instance.new("SpecialMesh")
679Part205 = Instance.new("Part")
680SpecialMesh206 = Instance.new("SpecialMesh")
681Part207 = Instance.new("Part")
682BlockMesh208 = Instance.new("BlockMesh")
683Part209 = Instance.new("Part")
684SpecialMesh210 = Instance.new("SpecialMesh")
685Part211 = Instance.new("Part")
686SpecialMesh212 = Instance.new("SpecialMesh")
687Part213 = Instance.new("Part")
688CylinderMesh214 = Instance.new("CylinderMesh")
689Part215 = Instance.new("Part")
690SpecialMesh216 = Instance.new("SpecialMesh")
691LocalScript217 = Instance.new("LocalScript")
692Tool0.Name = "Crossbow"
693Tool0.Parent = mas
694Tool0.Grip = CFrame.new(0, -0.300000012, 0.100000001, 0.957936287, -0, 0.286980897, 0, 1, 0, -0.286980897, 0, 0.957936287)
695Tool0.GripForward = Vector3.new(-0.286980897, -0, -0.957936287)
696Tool0.GripPos = Vector3.new(0, -0.300000012, 0.100000001)
697Tool0.GripRight = Vector3.new(0.957936287, 0, -0.286980897)
698LocalScript1.Name = "Shooter"
699LocalScript1.Parent = Tool0
700table.insert(cors,sandbox(LocalScript1,function()
701Tool = script.Parent
702
703local arms = nil
704local torso = nil
705local weld33 = nil -- right arm
706local weld55 = nil -- left arm
707local welds = {}
708local reloading = false
709local firing = false
710
711function ReloadSequence()
712weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-88), math.rad(-15), 0)
713wait(.02)
714weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-86), math.rad(-15), 0)
715wait(.02)
716weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-84), math.rad(-15), 0)
717wait(.02)
718weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-82), math.rad(-15), 0)
719wait(.02)
720weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-80), math.rad(-15), 0)
721wait(.02)
722weld55.C1 = CFrame.new(-0.35, 1.7, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.025, math.rad(-90))
723wait(.02)
724weld55.C1 = CFrame.new(-0.35, 2, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.05, math.rad(-90))
725wait(.48)
726weld55.C1 = CFrame.new(-0.35, 0.8, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.07, math.rad(-90))
727Tool.A1.Transparency = 0
728Tool.A2.Transparency = 0
729Tool.B1.Transparency = 1
730Tool.B2.Transparency = 1
731Tool.B3.Transparency = 1
732Tool.Handle.S1:play()
733Tool.Handle.S2:play()
734wait(.32)
735weld55.C1 = CFrame.new(-0.35, 0.9, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.08, math.rad(-90))
736wait(.02)
737weld55.C1 = CFrame.new(-0.35, 1.1, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.09, math.rad(-90))
738wait(.02)
739weld55.C1 = CFrame.new(-0.35, 1.3, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.1, math.rad(-90))
740wait(.02)
741weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.11, math.rad(-90))
742wait(.32)
743weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.07, math.rad(-90))
744Tool.A3.Transparency = 0
745Tool.Handle.S3:play()
746wait(.02)
747weld55.C1 = CFrame.new(-0.35, 1.6, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.07, math.rad(-90))
748wait(.1)
749weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-80), math.rad(-15), 0)
750weld55.C1 = CFrame.new(-0.35, 1.6, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.07, math.rad(-90))
751wait(.04)
752weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-85), math.rad(-15), 0)
753weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.035, math.rad(-90))
754wait(.04)
755weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
756weld55.C1 = CFrame.new(-0.35, 1.4, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
757end
758
759function Reload()
760 if script.Parent.Ammo.Value < script.Parent.MaxAmmo.Value and reloading == false and script.Parent.StoredAmmo.Value >= 1 then
761 reloading = true
762 script.Parent.Ammo.Value = 0
763 ReloadSequence()
764 if script.Parent.StoredAmmo.Value >= script.Parent.MaxAmmo.Value then
765 script.Parent.Ammo.Value = script.Parent.MaxAmmo.Value
766 script.Parent.StoredAmmo.Value = script.Parent.StoredAmmo.Value - script.Parent.MaxAmmo.Value
767 script.Parent.Recoil.Value = 5
768 elseif script.Parent.StoredAmmo.Value < script.Parent.MaxAmmo.Value and script.Parent.StoredAmmo.Value >= 1 then
769 script.Parent.Ammo.Value = script.Parent.StoredAmmo.Value
770 script.Parent.StoredAmmo.Value = 0
771 script.Parent.Recoil.Value = 5
772 end
773 reloading = false
774 end
775end
776
777function Equip(mouse)
778wait(0.01)
779arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
780torso = Tool.Parent:FindFirstChild("Torso")
781if arms ~= nil and torso ~= nil then
782local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
783if sh ~= nil then
784local yes = true
785if yes then
786yes = false
787sh[1].Part1 = nil
788sh[2].Part1 = nil
789falsearm1 = arms[1]:clone()
790local mesh1 = Instance.new("BlockMesh")
791mesh1.Scale = Vector3.new(.9,.9,.9)
792mesh1.Parent = falsearm1
793local armweld1 = Instance.new("Weld")
794falsearm1.BrickColor = BrickColor.new(26)
795falsearm1.Parent = Tool
796armweld1.Parent = falsearm1
797armweld1.Part0 = falsearm1
798armweld1.Part1 = arms[1]
799falsearm2 = arms[2]:clone()
800local mesh2 = Instance.new("BlockMesh")
801mesh2.Scale = Vector3.new(.9,.9,.9)
802mesh2.Parent = falsearm2
803local armweld2 = Instance.new("Weld")
804falsearm2.BrickColor = BrickColor.new(26)
805falsearm2.Parent = Tool
806armweld2.Parent = falsearm2
807armweld2.Part0 = falsearm2
808armweld2.Part1 = arms[2]
809local weld1 = Instance.new("Weld") -- left arm
810weld55 = weld1
811weld1.Part0 = torso
812weld1.Parent = torso
813weld1.Part1 = arms[1]
814weld1.C1 = CFrame.new(-0.35, 1.4, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
815welds[1] = weld1
816local weld2 = Instance.new("Weld") -- right arm
817weld33 = weld2
818weld2.Part0 = torso
819weld2.Parent = torso
820weld2.Part1 = arms[2]
821weld2.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
822welds[2] = weld2
823end
824else
825print("sh")
826end
827else
828print("arms")
829end
830end
831
832local legs = nil
833local torso2 = nil
834local welds2 = {}
835local bodyforce = nil
836
837function Unequip(mouse)
838if arms ~= nil and torso ~= nil then
839local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
840if sh ~= nil then
841local yes = true
842if yes then
843yes = false
844sh[1].Part1 = arms[1]
845sh[2].Part1 = arms[2]
846welds[1].Parent = nil
847welds[2].Parent = nil
848falsearm1:remove()
849falsearm2:remove()
850end
851else
852print("sh")
853end
854else
855print("arms")
856end
857end
858
859function fire(v)
860
861 Tool.Handle.Fire:play()
862
863
864 local vCharacter = Tool.Parent
865 local vPlayer = game.Players:playerFromCharacter(vCharacter)
866
867 local missile = Instance.new("Part")
868
869
870
871 local spawnPos = vCharacter.PrimaryPart.Position
872
873
874
875 spawnPos = spawnPos + (v * 8)
876
877 missile.Position = spawnPos
878 missile.Size = Vector3.new(1,1,1)
879 missile.Velocity = v * 500
880 missile.BrickColor = BrickColor.new(26)
881 missile.Shape = 0
882 missile.BottomSurface = 0
883 missile.TopSurface = 0
884 missile.Name = "Arrow"
885 missile.Elasticity = 0
886 missile.Reflectance = 0
887 missile.Friction = .9
888 missile.CanCollide = false
889
890 local force = Instance.new("BodyForce")
891 force.force = Vector3.new(0,missile:getMass() * 196,0)
892 force.Parent = missile
893
894 local new_script = script.Parent.Arrow:clone()
895 new_script.Disabled = false
896 new_script.Parent = missile
897
898 local new_Mesh = script.Parent.Mesh:clone()
899 new_Mesh.Parent = missile
900
901 local creator_tag = Instance.new("ObjectValue")
902 creator_tag.Value = vPlayer
903 creator_tag.Name = "creator"
904 creator_tag.Parent = missile
905
906
907
908 missile.Parent = game.Workspace
909 game:GetService("Debris"):addItem(shell,6)
910
911 weld33.C1 = CFrame.new(-0.75, -0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
912 weld55.C1 = CFrame.new(-0.35, 1.3, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
913 Tool.A1.Transparency = 1
914 Tool.A2.Transparency = 1
915 Tool.B1.Transparency = 0
916 Tool.B2.Transparency = 0
917 Tool.B3.Transparency = 0
918 Tool.A3.Transparency = 1
919 wait(0.015)
920 weld33.C1 = CFrame.new(-0.75, -0.45, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
921 weld55.C1 = CFrame.new(-0.35, 1.35, 0.575) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
922 wait(0.015)
923 weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
924 weld55.C1 = CFrame.new(-0.35, 1.4, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
925end
926
927function KeyDownFunctions(key)
928 if key == "r" then
929 Reload()
930 end
931end
932
933Tool.Enabled = true
934function onActivated()
935
936 if not Tool.Enabled then
937 return
938 end
939
940 Tool.Enabled = false
941
942 local character = Tool.Parent;
943 local humanoid = character.Humanoid
944 if humanoid == nil then
945 print("Humanoid not found")
946 return
947 end
948 local ammo = script.Parent.Ammo
949 local maxammo = script.Parent.MaxAmmo
950 firing = true
951 while firing == true do
952 wait()
953 if reloading == false and humanoid.Health >= 1 then
954 if ammo.Value >= 1 then
955 ammo.Value = ammo.Value - 1
956 local targetPos = humanoid.TargetPoint
957 local lookAt = (targetPos - character.Head.Position).unit
958 if script.Parent.Recoil.Value < 10 then
959 script.Parent.Recoil.Value = script.Parent.Recoil.Value + 1
960 end
961 fire(lookAt)
962 else
963 Reload()
964 break
965 end
966 elseif reloading == false and humanoid.Health < 1 then
967 Tool:remove()
968 end
969 end
970 Tool.Enabled = true
971end
972
973function nofiar(mouse)
974firing = false
975end
976
977function onEquippedLocal(mouse)
978
979 if mouse == nil then
980 print("Mouse not found")
981 return
982 end
983
984 mouse.Icon = "http://www.roblox.com/asset/?id=45867155"
985 mouse.Button1Down:connect(function() onButton1Down(mouse) end)
986 mouse.Button1Up:connect(function() nofiar(mouse) end)
987 mouse.KeyDown:connect(KeyDownFunctions)
988 while true do
989 wait()
990 end
991end
992
993
994Tool.Equipped:connect(onEquippedLocal)
995
996
997script.Parent.Activated:connect(onActivated)
998Tool.Equipped:connect(Equip)
999Tool.Unequipped:connect(Unequip)
1000
1001end))
1002SpecialMesh2.Parent = Tool0
1003SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=15887356"
1004SpecialMesh2.Scale = Vector3.new(0.521739125, 0.521739125, 1.26086962)
1005SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=15886781"
1006SpecialMesh2.MeshType = Enum.MeshType.FileMesh
1007LocalScript3.Name = "BackupWeld"
1008LocalScript3.Parent = Tool0
1009table.insert(cors,sandbox(LocalScript3,function()
1010function Weld(x,y)
1011 local W = Instance.new("Weld")
1012 W.Part0 = x
1013 W.Part1 = y
1014 local CJ = CFrame.new(x.Position)
1015 local C0 = x.CFrame:inverse()*CJ
1016 local C1 = y.CFrame:inverse()*CJ
1017 W.C0 = C0
1018 W.C1 = C1
1019 W.Parent = x
1020end
1021
1022function Get(A)
1023 if A.className == "Part" then
1024 Weld(script.Parent.Handle, A)
1025 A.Anchored = false
1026 else
1027 local C = A:GetChildren()
1028 for i=1, #C do
1029 Get(C[i])
1030 end
1031 end
1032end
1033
1034function Finale()
1035 Get(script.Parent)
1036end
1037
1038script.Parent.Equipped:connect(Finale)
1039script.Parent.Unequipped:connect(Finale)
1040Finale()
1041end))
1042NumberValue4.Name = "Recoil"
1043NumberValue4.Parent = Tool0
1044NumberValue4.Value = 2
1045Script5.Parent = NumberValue4
1046table.insert(cors,sandbox(Script5,function()
1047while true do
1048wait(.2)
1049if script.Parent.Value > 3 then
1050script.Parent.Value = script.Parent.Value - 1
1051end
1052end
1053
1054end))
1055NumberValue6.Name = "MaxAmmo"
1056NumberValue6.Parent = Tool0
1057NumberValue6.Value = 1
1058Script7.Name = "Arrow"
1059Script7.Parent = Tool0
1060table.insert(cors,sandbox(Script7,function()
1061debris = game:GetService("Debris")
1062bolt = script.Parent
1063damage = 101
1064
1065debris:AddItem(bolt, 20)
1066
1067function stick(hit)
1068 -- joint myself to the thing i hit
1069
1070 local weld = Instance.new("Weld")
1071
1072 weld.Part0 = bolt
1073 weld.Part1 = hit
1074
1075
1076 local HitPos = bolt.Position + (bolt.Velocity.unit * 3) -- + (arrow.CFrame.lookVector * 1)
1077
1078 local CJ = CFrame.new(HitPos)
1079 local C0 = bolt.CFrame:inverse() *CJ
1080 local C1 = hit.CFrame:inverse() * CJ
1081
1082 weld.C0 = C0
1083 weld.C1 = C1
1084
1085 weld.Parent = bolt
1086
1087end
1088
1089function onTouched(hit)
1090
1091 bolt.BodyGyro:remove()
1092 bolt.BodyForce:remove()
1093
1094 stick(hit)
1095
1096 bolt.HitSound:Play()
1097
1098 local humanoid = hit.Parent:findFirstChild("Humanoid")
1099
1100
1101 if humanoid ~= nil then
1102 tagHumanoid(humanoid)
1103 humanoid.Health = humanoid.Health - damage
1104 end
1105 connection:disconnect()
1106end
1107
1108function tagHumanoid(humanoid)
1109 -- todo: make tag expire
1110 local tag = bolt:findFirstChild("creator")
1111 if tag ~= nil then
1112 local new_tag = tag:clone()
1113 new_tag.Parent = humanoid
1114 debris:AddItem(new_tag,1)
1115 end
1116end
1117
1118
1119
1120connection = bolt.Touched:connect(onTouched)
1121
1122for i=1,100 do
1123 wait(.1 * i)
1124 if (bolt:FindFirstChild("BodyGyro") ~= nil) then
1125 bolt.BodyGyro.cframe = CFrame.new(Vector3.new(0,0,0), -bolt.Velocity.unit)
1126 end
1127end
1128
1129
1130
1131end))
1132Script7.Disabled = true
1133NumberValue8.Name = "Ammo"
1134NumberValue8.Parent = Tool0
1135NumberValue8.Value = 1
1136LocalScript9.Name = "Crouch"
1137LocalScript9.Parent = Tool0
1138table.insert(cors,sandbox(LocalScript9,function()
1139on = 0
1140Tool = script.Parent
1141welds = {}
1142sh = {}
1143arms = nil
1144torso = nil
1145f = nil
1146function Crouch(ison)
1147if arms == nil and torso == nil then
1148arms = {Tool.Parent:FindFirstChild("Left Leg"), Tool.Parent:FindFirstChild("Right Leg")}
1149torso = Tool.Parent:FindFirstChild("Torso")
1150end
1151if arms ~= nil and torso ~= nil then
1152sh = {torso:FindFirstChild("Left Hip"), torso:FindFirstChild("Right Hip")}
1153if sh ~= nil then
1154local yes = true
1155if yes then
1156yes = false
1157if ison == 1 then
1158sh[1].Part1 = nil
1159sh[2].Part1 = nil
1160local weld1 = Instance.new("Weld")
1161weld1.Part0 = torso
1162weld1.Parent = torso
1163weld1.Part1 = arms[1]
1164weld1.C1 = CFrame.new(-0.5, 0.75, 1)
1165arms[1].Name = "LDave"
1166arms[1].CanCollide = true
1167welds[1] = weld1
1168-------------------------------------------
1169local weld2 = Instance.new("Weld")
1170weld2.Part0 = torso
1171weld2.Parent = torso
1172weld2.Part1 = arms[2]
1173weld2.C1 = CFrame.new(0.5,0.495,1.25) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
1174arms[2].Name = "RDave"
1175arms[2].CanCollide = true
1176welds[2] = weld2
1177---------------------------------
1178local force = Instance.new("BodyForce")
1179force.Parent = torso
1180f = force
1181wait(0.01)
1182elseif ison == 0 then
1183if arms then
1184sh[1].Part1 = arms[1]
1185sh[2].Part1 = arms[2]
1186f.Parent = nil
1187arms[2].Name = "Right Leg"
1188arms[1].Name = "Left Leg"
1189welds[1].Parent = nil
1190welds[2].Parent = nil
1191end
1192end
1193--
1194end
1195else
1196print("sh")
1197end
1198else
1199print("arms")
1200end
1201end
1202function Key(key)
1203if key then
1204key = string.lower(key)
1205if (key=="c") then
1206if on == 1 then
1207on = 0
1208elseif on == 0 then
1209on = 1
1210end
1211Crouch(on)
1212end
1213end
1214end
1215function Equip(mouse)
1216mouse.KeyDown:connect(Key)
1217end
1218script.Parent.Equipped:connect(Equip)
1219
1220
1221end))
1222NumberValue10.Name = "StoredAmmo"
1223NumberValue10.Parent = Tool0
1224NumberValue10.Value = inf
1225Part11.Name = "A1"
1226Part11.Parent = Tool0
1227Part11.CFrame = CFrame.new(4, 1.12241495, -60.5, 0, 1, -0, 1, 0, -0, 0, 0, -1)
1228Part11.Orientation = Vector3.new(0, -180, 90)
1229Part11.Position = Vector3.new(4, 1.12241495, -60.5)
1230Part11.Rotation = Vector3.new(180, 0, -90)
1231Part11.Color = Color3.new(0.470588, 0.564706, 0.509804)
1232Part11.Size = Vector3.new(1, 2, 1)
1233Part11.Anchored = true
1234Part11.BottomSurface = Enum.SurfaceType.Smooth
1235Part11.BrickColor = BrickColor.new("Sand green")
1236Part11.CanCollide = false
1237Part11.TopSurface = Enum.SurfaceType.Smooth
1238Part11.brickColor = BrickColor.new("Sand green")
1239Part11.FormFactor = Enum.FormFactor.Symmetric
1240Part11.formFactor = Enum.FormFactor.Symmetric
1241CylinderMesh12.Parent = Part11
1242CylinderMesh12.Scale = Vector3.new(0.0173913054, 1.15217388, 0.0173913054)
1243Part13.Name = "A2"
1244Part13.Parent = Tool0
1245Part13.CFrame = CFrame.new(3.52652001, 1.08595502, -59.5709229, -0.031668812, -0.588285923, -0.808032274, 0.997564197, 0.0316686854, -0.0621533617, 0.0621532947, -0.808032095, 0.58585)
1246Part13.Orientation = Vector3.new(3.55999994, -54.0599976, 88.1800003)
1247Part13.Position = Vector3.new(3.52652001, 1.08595502, -59.5709229)
1248Part13.Rotation = Vector3.new(6.05999994, -53.8999977, 93.0799942)
1249Part13.Color = Color3.new(0.470588, 0.564706, 0.509804)
1250Part13.Size = Vector3.new(1, 2, 1)
1251Part13.Anchored = true
1252Part13.BottomSurface = Enum.SurfaceType.Smooth
1253Part13.BrickColor = BrickColor.new("Sand green")
1254Part13.CanCollide = false
1255Part13.TopSurface = Enum.SurfaceType.Smooth
1256Part13.brickColor = BrickColor.new("Sand green")
1257Part13.FormFactor = Enum.FormFactor.Symmetric
1258Part13.formFactor = Enum.FormFactor.Symmetric
1259CylinderMesh14.Parent = Part13
1260CylinderMesh14.Scale = Vector3.new(0.0173913054, 1.15217388, 0.0173913054)
1261Part15.Name = "B1"
1262Part15.Parent = Tool0
1263Part15.CFrame = CFrame.new(4.89727783, 1.11783695, -60.0151367, -5.58793545e-08, 0.453991681, -0.891004562, 1.00000048, 8.94069672e-08, -4.39459207e-08, 2.30967999e-07, -0.891004264, -0.453991085)
1264Part15.Orientation = Vector3.new(0, -117, 90)
1265Part15.Position = Vector3.new(4.89727783, 1.11783695, -60.0151367)
1266Part15.Rotation = Vector3.new(180, -63, -90)
1267Part15.Color = Color3.new(0.470588, 0.564706, 0.509804)
1268Part15.Transparency = 1
1269Part15.Size = Vector3.new(1, 1, 1)
1270Part15.Anchored = true
1271Part15.BottomSurface = Enum.SurfaceType.Smooth
1272Part15.BrickColor = BrickColor.new("Sand green")
1273Part15.CanCollide = false
1274Part15.TopSurface = Enum.SurfaceType.Smooth
1275Part15.brickColor = BrickColor.new("Sand green")
1276Part15.FormFactor = Enum.FormFactor.Symmetric
1277Part15.formFactor = Enum.FormFactor.Symmetric
1278CylinderMesh16.Parent = Part15
1279CylinderMesh16.Scale = Vector3.new(0.0173913054, 0.913043499, 0.0173913054)
1280Part17.Name = "B2"
1281Part17.Parent = Tool0
1282Part17.CFrame = CFrame.new(4.44439697, 1.08300996, -59.1265259, -0.0316686742, 0.452885807, -0.891004562, 0.997564554, 0.0697561055, -4.40514896e-08, 0.0621530898, -0.88883388, -0.453991085)
1283Part17.Orientation = Vector3.new(0, -117, 86)
1284Part17.Position = Vector3.new(4.44439697, 1.08300996, -59.1265259)
1285Part17.Rotation = Vector3.new(180, -63, -94)
1286Part17.Color = Color3.new(0.470588, 0.564706, 0.509804)
1287Part17.Transparency = 1
1288Part17.Size = Vector3.new(1, 1, 1)
1289Part17.Anchored = true
1290Part17.BottomSurface = Enum.SurfaceType.Smooth
1291Part17.BrickColor = BrickColor.new("Sand green")
1292Part17.CanCollide = false
1293Part17.TopSurface = Enum.SurfaceType.Smooth
1294Part17.brickColor = BrickColor.new("Sand green")
1295Part17.FormFactor = Enum.FormFactor.Symmetric
1296Part17.formFactor = Enum.FormFactor.Symmetric
1297CylinderMesh18.Parent = Part17
1298CylinderMesh18.Scale = Vector3.new(0.0173913054, 0.913043499, 0.0173913054)
1299Part19.Name = "B3"
1300Part19.Parent = Tool0
1301Part19.CFrame = CFrame.new(4.67016602, 1.11690795, -59.569397, -0.0158441029, 0.453715056, -0.891004562, 0.999391377, 0.0348995291, -4.39723209e-08, 0.0310957693, -0.890461564, -0.453991085)
1302Part19.Orientation = Vector3.new(0, -117, 88)
1303Part19.Position = Vector3.new(4.67016602, 1.11690795, -59.569397)
1304Part19.Rotation = Vector3.new(180, -63, -92)
1305Part19.Color = Color3.new(0.470588, 0.564706, 0.509804)
1306Part19.Transparency = 1
1307Part19.Size = Vector3.new(1, 1, 1)
1308Part19.Anchored = true
1309Part19.BottomSurface = Enum.SurfaceType.Smooth
1310Part19.BrickColor = BrickColor.new("Sand green")
1311Part19.CanCollide = false
1312Part19.TopSurface = Enum.SurfaceType.Smooth
1313Part19.brickColor = BrickColor.new("Sand green")
1314Part19.FormFactor = Enum.FormFactor.Symmetric
1315Part19.formFactor = Enum.FormFactor.Symmetric
1316CylinderMesh20.Parent = Part19
1317CylinderMesh20.Scale = Vector3.new(0.0173913054, 0.0869565234, 0.0173913054)
1318Part21.Name = "Handle"
1319Part21.Parent = Tool0
1320Part21.CFrame = CFrame.new(2.6741941, 0.806084991, -60.5937538, -0.453715056, -0.0158442315, -0.891004562, -0.0348997228, 0.999391377, -8.8911861e-08, 0.890461504, 0.031095922, -0.453991085)
1321Part21.Orientation = Vector3.new(0, -117, -2)
1322Part21.Position = Vector3.new(2.6741941, 0.806084991, -60.5937538)
1323Part21.Rotation = Vector3.new(180, -63, 178)
1324Part21.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1325Part21.Size = Vector3.new(1, 0.400000006, 1)
1326Part21.Anchored = true
1327Part21.BottomSurface = Enum.SurfaceType.Smooth
1328Part21.BrickColor = BrickColor.new("Really black")
1329Part21.CanCollide = false
1330Part21.Reflectance = 0.10000000149012
1331Part21.TopSurface = Enum.SurfaceType.Smooth
1332Part21.brickColor = BrickColor.new("Really black")
1333Part21.FormFactor = Enum.FormFactor.Plate
1334Part21.formFactor = Enum.FormFactor.Plate
1335BlockMesh22.Parent = Part21
1336BlockMesh22.Scale = Vector3.new(0.0434782617, 0.130434781, 0.0434782617)
1337Sound23.Name = "Fire"
1338Sound23.Parent = Part21
1339Sound23.Pitch = 0.89999997615814
1340Sound23.PlaybackSpeed = 0.89999997615814
1341Sound23.SoundId = "http://www.roblox.com/asset/?id=16211041"
1342Sound23.Volume = 1
1343Sound24.Name = "S1"
1344Sound24.Parent = Part21
1345Sound24.Pitch = 0.5
1346Sound24.PlayOnRemove = true
1347Sound24.PlaybackSpeed = 0.5
1348Sound24.SoundId = "http://www.roblox.com/asset/?id=2697295"
1349Sound24.Volume = 1
1350Sound25.Name = "S2"
1351Sound25.Parent = Part21
1352Sound25.Pitch = 0.40000000596046
1353Sound25.PlayOnRemove = true
1354Sound25.PlaybackSpeed = 0.40000000596046
1355Sound25.SoundId = "http://www.roblox.com/asset/?id=2697295"
1356Sound25.Volume = 1
1357Sound26.Name = "S3"
1358Sound26.Parent = Part21
1359Sound26.PlayOnRemove = true
1360Sound26.SoundId = "http://roblox.com/asset/?id=10209636"
1361Sound26.Volume = 1
1362Part27.Parent = Tool0
1363Part27.CFrame = CFrame.new(5.21438599, 1.000453, -59.2966919, -0.453715056, -0.0158441626, -0.891004562, -0.0348995738, 0.999391377, -8.89118539e-08, 0.890461504, 0.0310957916, -0.453991085)
1364Part27.Orientation = Vector3.new(0, -117, -2)
1365Part27.Position = Vector3.new(5.21438599, 1.000453, -59.2966919)
1366Part27.Rotation = Vector3.new(180, -63, 178)
1367Part27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1368Part27.Size = Vector3.new(1, 0.400000006, 1)
1369Part27.Anchored = true
1370Part27.BottomSurface = Enum.SurfaceType.Smooth
1371Part27.BrickColor = BrickColor.new("Really black")
1372Part27.CanCollide = false
1373Part27.Reflectance = 0.10000000149012
1374Part27.TopSurface = Enum.SurfaceType.Smooth
1375Part27.brickColor = BrickColor.new("Really black")
1376Part27.FormFactor = Enum.FormFactor.Plate
1377Part27.formFactor = Enum.FormFactor.Plate
1378BlockMesh28.Parent = Part27
1379BlockMesh28.Scale = Vector3.new(0.173913047, 0.304347813, 0.391304344)
1380Part29.Parent = Tool0
1381Part29.CFrame = CFrame.new(4.07360792, 0.870104015, -59.8830566, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1382Part29.Orientation = Vector3.new(-2, 153, 0)
1383Part29.Position = Vector3.new(4.07360792, 0.870104015, -59.8830566)
1384Part29.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1385Part29.Color = Color3.new(0.843137, 0.772549, 0.603922)
1386Part29.Size = Vector3.new(1, 1, 1)
1387Part29.Anchored = true
1388Part29.BottomSurface = Enum.SurfaceType.Smooth
1389Part29.BrickColor = BrickColor.new("Brick yellow")
1390Part29.CanCollide = false
1391Part29.TopSurface = Enum.SurfaceType.Smooth
1392Part29.brickColor = BrickColor.new("Brick yellow")
1393Part29.FormFactor = Enum.FormFactor.Symmetric
1394Part29.formFactor = Enum.FormFactor.Symmetric
1395BlockMesh30.Parent = Part29
1396BlockMesh30.Scale = Vector3.new(0.782608688, 0.130434781, 0.260869563)
1397Part31.Parent = Tool0
1398Part31.CFrame = CFrame.new(5.24050903, 1.07618904, -59.0606689, 0.0158440769, -0.453714907, -0.891004443, -0.999391317, -0.0348995663, 3.07101011e-09, -0.0310958214, 0.890461206, -0.453991085)
1399Part31.Orientation = Vector3.new(0, -117, -92)
1400Part31.Position = Vector3.new(5.24050903, 1.07618904, -59.0606689)
1401Part31.Rotation = Vector3.new(-180, -63, 88)
1402Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1403Part31.Size = Vector3.new(1, 1, 1)
1404Part31.Anchored = true
1405Part31.BottomSurface = Enum.SurfaceType.Smooth
1406Part31.BrickColor = BrickColor.new("Really black")
1407Part31.CanCollide = false
1408Part31.Reflectance = 0.10000000149012
1409Part31.TopSurface = Enum.SurfaceType.Smooth
1410Part31.brickColor = BrickColor.new("Really black")
1411Part31.FormFactor = Enum.FormFactor.Symmetric
1412Part31.formFactor = Enum.FormFactor.Symmetric
1413SpecialMesh32.Parent = Part31
1414SpecialMesh32.Scale = Vector3.new(0.0434782617, 0.217391297, 0.130434781)
1415SpecialMesh32.MeshType = Enum.MeshType.Wedge
1416Part33.Parent = Tool0
1417Part33.CFrame = CFrame.new(5.41805983, 1.08984494, -59.4091187, -0.0158443004, 0.453714073, -0.891003609, 0.999390304, 0.034899503, -2.63204811e-07, 0.0310956798, -0.890459359, -0.453990608)
1418Part33.Orientation = Vector3.new(0, -117, 88)
1419Part33.Position = Vector3.new(5.41805983, 1.08984494, -59.4091187)
1420Part33.Rotation = Vector3.new(180, -63, -92)
1421Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1422Part33.Size = Vector3.new(1, 1, 1)
1423Part33.Anchored = true
1424Part33.BottomSurface = Enum.SurfaceType.Smooth
1425Part33.BrickColor = BrickColor.new("Really black")
1426Part33.CanCollide = false
1427Part33.Reflectance = 0.10000000149012
1428Part33.TopSurface = Enum.SurfaceType.Smooth
1429Part33.brickColor = BrickColor.new("Really black")
1430Part33.FormFactor = Enum.FormFactor.Symmetric
1431Part33.formFactor = Enum.FormFactor.Symmetric
1432SpecialMesh34.Parent = Part33
1433SpecialMesh34.Scale = Vector3.new(0.0434782617, 0.217391297, 0.130434781)
1434SpecialMesh34.MeshType = Enum.MeshType.Wedge
1435Part35.Parent = Tool0
1436Part35.CFrame = CFrame.new(4.324615, 0.922244012, -59.7531128, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1437Part35.Orientation = Vector3.new(-2, 153, 0)
1438Part35.Position = Vector3.new(4.324615, 0.922244012, -59.7531128)
1439Part35.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1440Part35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1441Part35.Size = Vector3.new(2, 1, 1)
1442Part35.Anchored = true
1443Part35.BottomSurface = Enum.SurfaceType.Smooth
1444Part35.BrickColor = BrickColor.new("Really black")
1445Part35.CanCollide = false
1446Part35.Reflectance = 0.10000000149012
1447Part35.TopSurface = Enum.SurfaceType.Smooth
1448Part35.brickColor = BrickColor.new("Really black")
1449Part35.FormFactor = Enum.FormFactor.Symmetric
1450Part35.formFactor = Enum.FormFactor.Symmetric
1451BlockMesh36.Parent = Part35
1452BlockMesh36.Scale = Vector3.new(1.19565213, 0.0434782617, 0.172173917)
1453Part37.Parent = Tool0
1454Part37.CFrame = CFrame.new(4.5431819, 1.00792205, -58.6203003, 0.978074431, -0.207646117, 0.0158441253, 0.00903273653, -0.0337103345, -0.999391377, 0.208053246, 0.977621436, -0.0310957581)
1455Part37.Orientation = Vector3.new(88, 153, 165)
1456Part37.Position = Vector3.new(4.5431819, 1.00792205, -58.6203003)
1457Part37.Rotation = Vector3.new(91.7799988, 0.909999967, 11.9899998)
1458Part37.Color = Color3.new(0.843137, 0.772549, 0.603922)
1459Part37.Size = Vector3.new(1, 0.400000006, 1)
1460Part37.Anchored = true
1461Part37.BottomSurface = Enum.SurfaceType.Smooth
1462Part37.BrickColor = BrickColor.new("Brick yellow")
1463Part37.CanCollide = false
1464Part37.TopSurface = Enum.SurfaceType.Smooth
1465Part37.brickColor = BrickColor.new("Brick yellow")
1466Part37.FormFactor = Enum.FormFactor.Plate
1467Part37.formFactor = Enum.FormFactor.Plate
1468BlockMesh38.Parent = Part37
1469BlockMesh38.Scale = Vector3.new(0.739130437, 0.0869565234, 0.0434782617)
1470Part39.Parent = Tool0
1471Part39.CFrame = CFrame.new(5.06622314, 1.07618904, -59.1495361, -0.0158441626, -0.453715086, 0.891004562, 0.999391377, -0.0348995663, 8.72858266e-08, 0.0310957916, 0.890461445, 0.453991085)
1472Part39.Orientation = Vector3.new(0, 63, 92)
1473Part39.Position = Vector3.new(5.06622314, 1.07618904, -59.1495361)
1474Part39.Rotation = Vector3.new(0, 63, 92)
1475Part39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1476Part39.Size = Vector3.new(1, 1, 1)
1477Part39.Anchored = true
1478Part39.BottomSurface = Enum.SurfaceType.Smooth
1479Part39.BrickColor = BrickColor.new("Really black")
1480Part39.CanCollide = false
1481Part39.Reflectance = 0.10000000149012
1482Part39.TopSurface = Enum.SurfaceType.Smooth
1483Part39.brickColor = BrickColor.new("Really black")
1484Part39.FormFactor = Enum.FormFactor.Symmetric
1485Part39.formFactor = Enum.FormFactor.Symmetric
1486SpecialMesh40.Parent = Part39
1487SpecialMesh40.Scale = Vector3.new(0.0434782617, 0.217391297, 0.260869563)
1488SpecialMesh40.MeshType = Enum.MeshType.Wedge
1489Part41.Parent = Tool0
1490Part41.CFrame = CFrame.new(5.2437129, 1.08984494, -59.4979248, 0.0158442147, 0.453714818, 0.891003847, -0.999391079, 0.0348996893, 8.44940402e-08, -0.0310958996, -0.890461266, 0.453990787)
1491Part41.Orientation = Vector3.new(0, 63, -88)
1492Part41.Position = Vector3.new(5.2437129, 1.08984494, -59.4979248)
1493Part41.Rotation = Vector3.new(0, 63, -88)
1494Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1495Part41.Size = Vector3.new(1, 1, 1)
1496Part41.Anchored = true
1497Part41.BottomSurface = Enum.SurfaceType.Smooth
1498Part41.BrickColor = BrickColor.new("Really black")
1499Part41.CanCollide = false
1500Part41.Reflectance = 0.10000000149012
1501Part41.TopSurface = Enum.SurfaceType.Smooth
1502Part41.brickColor = BrickColor.new("Really black")
1503Part41.FormFactor = Enum.FormFactor.Symmetric
1504Part41.formFactor = Enum.FormFactor.Symmetric
1505SpecialMesh42.Parent = Part41
1506SpecialMesh42.Scale = Vector3.new(0.0434782617, 0.217391297, 0.260869563)
1507SpecialMesh42.MeshType = Enum.MeshType.Wedge
1508Part43.Parent = Tool0
1509Part43.CFrame = CFrame.new(4.14196777, 0.918864012, -60.0172119, -0.891004324, 0.0158441961, -0.453714997, -8.72948718e-08, -0.999391317, -0.0348996446, -0.453990877, -0.0310958605, 0.890461385)
1510Part43.Orientation = Vector3.new(2, -27, -180)
1511Part43.Position = Vector3.new(4.14196777, 0.918864012, -60.0172119)
1512Part43.Rotation = Vector3.new(2.24000001, -26.9799995, -178.979996)
1513Part43.Color = Color3.new(0.843137, 0.772549, 0.603922)
1514Part43.Size = Vector3.new(1, 1, 1)
1515Part43.Anchored = true
1516Part43.BottomSurface = Enum.SurfaceType.Smooth
1517Part43.BrickColor = BrickColor.new("Brick yellow")
1518Part43.CanCollide = false
1519Part43.TopSurface = Enum.SurfaceType.Smooth
1520Part43.brickColor = BrickColor.new("Brick yellow")
1521Part43.FormFactor = Enum.FormFactor.Symmetric
1522Part43.formFactor = Enum.FormFactor.Symmetric
1523SpecialMesh44.Parent = Part43
1524SpecialMesh44.Scale = Vector3.new(0.782608688, 0.0434782617, 0.0434782617)
1525SpecialMesh44.MeshType = Enum.MeshType.Wedge
1526Part45.Parent = Tool0
1527Part45.CFrame = CFrame.new(4.14337111, 0.831956983, -60.0198975, 0.891004562, -0.0158440117, -0.453715056, 6.58824106e-10, 0.999391317, -0.034899421, 0.453991085, 0.031095691, 0.890461564)
1528Part45.Orientation = Vector3.new(2, -27, 0)
1529Part45.Position = Vector3.new(4.14337111, 0.831956983, -60.0198975)
1530Part45.Rotation = Vector3.new(2.24000001, -26.9799995, 1.01999998)
1531Part45.Color = Color3.new(0.843137, 0.772549, 0.603922)
1532Part45.Size = Vector3.new(1, 1, 1)
1533Part45.Anchored = true
1534Part45.BottomSurface = Enum.SurfaceType.Smooth
1535Part45.BrickColor = BrickColor.new("Brick yellow")
1536Part45.CanCollide = false
1537Part45.TopSurface = Enum.SurfaceType.Smooth
1538Part45.brickColor = BrickColor.new("Brick yellow")
1539Part45.FormFactor = Enum.FormFactor.Symmetric
1540Part45.formFactor = Enum.FormFactor.Symmetric
1541SpecialMesh46.Parent = Part45
1542SpecialMesh46.Scale = Vector3.new(0.782608688, 0.0434782617, 0.0434782617)
1543SpecialMesh46.MeshType = Enum.MeshType.Wedge
1544Part47.Parent = Tool0
1545Part47.CFrame = CFrame.new(2.42364502, 1.09605503, -60.7149048, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1546Part47.Orientation = Vector3.new(-2, 153, 0)
1547Part47.Position = Vector3.new(2.42364502, 1.09605503, -60.7149048)
1548Part47.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1549Part47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1550Part47.Size = Vector3.new(1, 0.400000006, 1)
1551Part47.Anchored = true
1552Part47.BottomSurface = Enum.SurfaceType.Smooth
1553Part47.BrickColor = BrickColor.new("Really black")
1554Part47.CanCollide = false
1555Part47.Reflectance = 0.10000000149012
1556Part47.TopSurface = Enum.SurfaceType.Smooth
1557Part47.brickColor = BrickColor.new("Really black")
1558Part47.FormFactor = Enum.FormFactor.Plate
1559Part47.formFactor = Enum.FormFactor.Plate
1560BlockMesh48.Parent = Part47
1561BlockMesh48.Scale = Vector3.new(0.130434781, 0.0869565234, 0.0869565234)
1562Part49.Parent = Tool0
1563Part49.CFrame = CFrame.new(2.76696801, 1.43063605, -60.5268555, 0.891004622, 0.0158427507, 0.453715086, -1.49379355e-06, -0.999391377, 0.0348995663, 0.453991026, -0.0310965106, -0.890461445)
1564Part49.Orientation = Vector3.new(-2, 153, -180)
1565Part49.Position = Vector3.new(2.76696801, 1.43063605, -60.5268555)
1566Part49.Rotation = Vector3.new(-177.759995, 26.9799995, -1.01999998)
1567Part49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1568Part49.Size = Vector3.new(1, 1, 1)
1569Part49.Anchored = true
1570Part49.BottomSurface = Enum.SurfaceType.Smooth
1571Part49.BrickColor = BrickColor.new("Really black")
1572Part49.CanCollide = false
1573Part49.Reflectance = 0.10000000149012
1574Part49.TopSurface = Enum.SurfaceType.Smooth
1575Part49.brickColor = BrickColor.new("Really black")
1576Part49.FormFactor = Enum.FormFactor.Symmetric
1577Part49.formFactor = Enum.FormFactor.Symmetric
1578CylinderMesh50.Parent = Part49
1579CylinderMesh50.Scale = Vector3.new(0.117391296, 0.173913047, 0.117391296)
1580Part51.Parent = Tool0
1581Part51.CFrame = CFrame.new(2.76803589, 1.36545801, -60.5288696, 0.891004682, -0.453714997, 0.0158441402, 9.26546875e-08, -0.0348995142, -0.999391377, 0.453990936, 0.890461683, -0.0310957506)
1582Part51.Orientation = Vector3.new(88, 153, 180)
1583Part51.Position = Vector3.new(2.76803589, 1.36545801, -60.5288696)
1584Part51.Rotation = Vector3.new(91.7799988, 0.909999967, 26.9899998)
1585Part51.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1586Part51.Size = Vector3.new(1, 1, 1)
1587Part51.Anchored = true
1588Part51.BottomSurface = Enum.SurfaceType.Smooth
1589Part51.BrickColor = BrickColor.new("Really black")
1590Part51.CanCollide = false
1591Part51.Reflectance = 0.10000000149012
1592Part51.TopSurface = Enum.SurfaceType.Smooth
1593Part51.brickColor = BrickColor.new("Really black")
1594Part51.FormFactor = Enum.FormFactor.Symmetric
1595Part51.formFactor = Enum.FormFactor.Symmetric
1596CylinderMesh52.Parent = Part51
1597CylinderMesh52.Scale = Vector3.new(0.117391296, 0.304347813, 0.117391296)
1598Part53.Parent = Tool0
1599Part53.CFrame = CFrame.new(5.05773878, 1.01520002, -58.592041, -0.950860262, -0.30921039, 0.0158441588, -0.0246777646, 0.0246776231, -0.999391377, 0.308631241, -0.950671613, -0.0310957395)
1600Part53.Orientation = Vector3.new(88, 153, -45)
1601Part53.Position = Vector3.new(5.05773878, 1.01520002, -58.592041)
1602Part53.Rotation = Vector3.new(91.7799988, 0.909999967, 161.98999)
1603Part53.Color = Color3.new(0.843137, 0.772549, 0.603922)
1604Part53.Size = Vector3.new(1, 0.400000006, 1)
1605Part53.Anchored = true
1606Part53.BottomSurface = Enum.SurfaceType.Smooth
1607Part53.BrickColor = BrickColor.new("Brick yellow")
1608Part53.CanCollide = false
1609Part53.TopSurface = Enum.SurfaceType.Smooth
1610Part53.brickColor = BrickColor.new("Brick yellow")
1611Part53.FormFactor = Enum.FormFactor.Plate
1612Part53.formFactor = Enum.FormFactor.Plate
1613BlockMesh54.Parent = Part53
1614BlockMesh54.Scale = Vector3.new(0.347826093, 0.0869565234, 0.0434782617)
1615Part55.Parent = Tool0
1616Part55.CFrame = CFrame.new(2.55496192, 1.36546504, -60.6374512, -0.453715026, -0.891004562, 0.0158441402, -0.0348995216, -8.89118539e-08, -0.999391377, 0.890461564, -0.453991085, -0.0310957506)
1617Part55.Orientation = Vector3.new(88, 153, -90)
1618Part55.Position = Vector3.new(2.55496192, 1.36546504, -60.6374512)
1619Part55.Rotation = Vector3.new(91.7799988, 0.909999967, 116.989998)
1620Part55.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1621Part55.Size = Vector3.new(1, 1, 1)
1622Part55.Anchored = true
1623Part55.BottomSurface = Enum.SurfaceType.Smooth
1624Part55.BrickColor = BrickColor.new("Really black")
1625Part55.CanCollide = false
1626Part55.Reflectance = 0.10000000149012
1627Part55.TopSurface = Enum.SurfaceType.Smooth
1628Part55.brickColor = BrickColor.new("Really black")
1629Part55.FormFactor = Enum.FormFactor.Symmetric
1630Part55.formFactor = Enum.FormFactor.Symmetric
1631CylinderMesh56.Parent = Part55
1632CylinderMesh56.Scale = Vector3.new(0.217391297, 0.0869565234, 0.217391297)
1633Part57.Parent = Tool0
1634Part57.CFrame = CFrame.new(2.77456689, 0.952661991, -60.541748, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1635Part57.Orientation = Vector3.new(-2, 153, 0)
1636Part57.Position = Vector3.new(2.77456689, 0.952661991, -60.541748)
1637Part57.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1638Part57.Color = Color3.new(0.843137, 0.772549, 0.603922)
1639Part57.Size = Vector3.new(1, 1, 1)
1640Part57.Anchored = true
1641Part57.BottomSurface = Enum.SurfaceType.Smooth
1642Part57.BrickColor = BrickColor.new("Brick yellow")
1643Part57.CanCollide = false
1644Part57.TopSurface = Enum.SurfaceType.Smooth
1645Part57.brickColor = BrickColor.new("Brick yellow")
1646Part57.FormFactor = Enum.FormFactor.Symmetric
1647Part57.formFactor = Enum.FormFactor.Symmetric
1648BlockMesh58.Parent = Part57
1649BlockMesh58.Scale = Vector3.new(1.0869565, 0.217391297, 0.173913047)
1650Part59.Parent = Tool0
1651Part59.CFrame = CFrame.new(3.90612793, 1.08529902, -60.0332031, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1652Part59.Orientation = Vector3.new(-2, 153, 0)
1653Part59.Position = Vector3.new(3.90612793, 1.08529902, -60.0332031)
1654Part59.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1655Part59.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1656Part59.Size = Vector3.new(3, 1, 1)
1657Part59.Anchored = true
1658Part59.BottomSurface = Enum.SurfaceType.Smooth
1659Part59.BrickColor = BrickColor.new("Really black")
1660Part59.CanCollide = false
1661Part59.Reflectance = 0.10000000149012
1662Part59.TopSurface = Enum.SurfaceType.Smooth
1663Part59.brickColor = BrickColor.new("Really black")
1664Part59.FormFactor = Enum.FormFactor.Symmetric
1665Part59.formFactor = Enum.FormFactor.Symmetric
1666BlockMesh60.Parent = Part59
1667BlockMesh60.Scale = Vector3.new(1.13043475, 0.0434782617, 0.0434782617)
1668Part61.Parent = Tool0
1669Part61.CFrame = CFrame.new(3.8469851, 1.08074296, -59.9170532, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1670Part61.Orientation = Vector3.new(-2, 153, 0)
1671Part61.Position = Vector3.new(3.8469851, 1.08074296, -59.9170532)
1672Part61.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1673Part61.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1674Part61.Size = Vector3.new(3, 1, 1)
1675Part61.Anchored = true
1676Part61.BottomSurface = Enum.SurfaceType.Smooth
1677Part61.BrickColor = BrickColor.new("Really black")
1678Part61.CanCollide = false
1679Part61.Reflectance = 0.10000000149012
1680Part61.TopSurface = Enum.SurfaceType.Smooth
1681Part61.brickColor = BrickColor.new("Really black")
1682Part61.FormFactor = Enum.FormFactor.Symmetric
1683Part61.formFactor = Enum.FormFactor.Symmetric
1684BlockMesh62.Parent = Part61
1685BlockMesh62.Scale = Vector3.new(1.13043475, 0.0434782617, 0.0434782617)
1686Part63.Parent = Tool0
1687Part63.CFrame = CFrame.new(4.28735304, 1.04902804, -58.6732178, -0.891004682, -0.0158440992, 0.453714907, -4.42188011e-08, 0.999391377, 0.0348995328, -0.453990936, 0.0310957767, -0.890461683)
1688Part63.Orientation = Vector3.new(-2, 153, 0)
1689Part63.Position = Vector3.new(4.28735304, 1.04902804, -58.6732178)
1690Part63.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1691Part63.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1692Part63.Size = Vector3.new(1, 1, 1)
1693Part63.Anchored = true
1694Part63.BottomSurface = Enum.SurfaceType.Smooth
1695Part63.BrickColor = BrickColor.new("Really black")
1696Part63.CanCollide = false
1697Part63.Reflectance = 0.10000000149012
1698Part63.TopSurface = Enum.SurfaceType.Smooth
1699Part63.brickColor = BrickColor.new("Really black")
1700Part63.FormFactor = Enum.FormFactor.Symmetric
1701Part63.formFactor = Enum.FormFactor.Symmetric
1702CylinderMesh64.Parent = Part63
1703CylinderMesh64.Scale = Vector3.new(0.217391297, 0.0304347817, 0.217391297)
1704Part65.Parent = Tool0
1705Part65.CFrame = CFrame.new(2.13616896, 1.36545801, -60.8508339, -0.453715026, -0.891004562, 0.0158441402, -0.0348995216, -8.89118539e-08, -0.999391377, 0.890461564, -0.453991085, -0.0310957506)
1706Part65.Orientation = Vector3.new(88, 153, -90)
1707Part65.Position = Vector3.new(2.13616896, 1.36545801, -60.8508339)
1708Part65.Rotation = Vector3.new(91.7799988, 0.909999967, 116.989998)
1709Part65.Color = Color3.new(0.388235, 0.372549, 0.384314)
1710Part65.Size = Vector3.new(1, 0.400000006, 1)
1711Part65.Anchored = true
1712Part65.BottomSurface = Enum.SurfaceType.Smooth
1713Part65.BrickColor = BrickColor.new("Dark stone grey")
1714Part65.CanCollide = false
1715Part65.Reflectance = 0.30000001192093
1716Part65.TopSurface = Enum.SurfaceType.Smooth
1717Part65.brickColor = BrickColor.new("Dark stone grey")
1718Part65.FormFactor = Enum.FormFactor.Plate
1719Part65.formFactor = Enum.FormFactor.Plate
1720CylinderMesh66.Parent = Part65
1721CylinderMesh66.Scale = Vector3.new(0.195652172, 0.0434782617, 0.195652172)
1722Part67.Parent = Tool0
1723Part67.CFrame = CFrame.new(3.31549096, 1.03955996, -60.2626343, -0.453715086, -0.0158441626, -0.891004562, -0.0348995663, 0.999391377, -8.72858266e-08, 0.890461445, 0.0310957916, -0.453991085)
1724Part67.Orientation = Vector3.new(0, -117, -2)
1725Part67.Position = Vector3.new(3.31549096, 1.03955996, -60.2626343)
1726Part67.Rotation = Vector3.new(180, -63, 178)
1727Part67.Color = Color3.new(0.843137, 0.772549, 0.603922)
1728Part67.Size = Vector3.new(1, 1, 1)
1729Part67.Anchored = true
1730Part67.BottomSurface = Enum.SurfaceType.Smooth
1731Part67.BrickColor = BrickColor.new("Brick yellow")
1732Part67.CanCollide = false
1733Part67.TopSurface = Enum.SurfaceType.Smooth
1734Part67.brickColor = BrickColor.new("Brick yellow")
1735Part67.FormFactor = Enum.FormFactor.Symmetric
1736Part67.formFactor = Enum.FormFactor.Symmetric
1737SpecialMesh68.Parent = Part67
1738SpecialMesh68.Scale = Vector3.new(0.173913047, 0.0434782617, 0.130434781)
1739SpecialMesh68.MeshType = Enum.MeshType.Wedge
1740Part69.Parent = Tool0
1741Part69.CFrame = CFrame.new(1.68524206, 0.823158979, -60.989563, 0.801084101, -0.453715235, -0.390390486, -0.453714103, -0.0348994546, -0.890464246, 0.390391886, 0.890461564, -0.23381418)
1742Part69.Orientation = Vector3.new(62.9300003, -120.919998, -94.4000015)
1743Part69.Position = Vector3.new(1.68524206, 0.823158979, -60.989563)
1744Part69.Rotation = Vector3.new(104.709999, -22.9799995, 29.5299988)
1745Part69.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1746Part69.Size = Vector3.new(1, 0.400000006, 1)
1747Part69.Anchored = true
1748Part69.BottomSurface = Enum.SurfaceType.Smooth
1749Part69.BrickColor = BrickColor.new("Really black")
1750Part69.CanCollide = false
1751Part69.Reflectance = 0.10000000149012
1752Part69.TopSurface = Enum.SurfaceType.Smooth
1753Part69.brickColor = BrickColor.new("Really black")
1754Part69.FormFactor = Enum.FormFactor.Plate
1755Part69.formFactor = Enum.FormFactor.Plate
1756BlockMesh70.Parent = Part69
1757BlockMesh70.Scale = Vector3.new(0.130434781, 0.173913047, 0.0434782617)
1758Part71.Parent = Tool0
1759Part71.CFrame = CFrame.new(4.00390577, 0.908236027, -59.7462158, 0.891002476, 0.0158440173, 0.45371455, 8.99508308e-08, -0.999390244, 0.034899272, 0.453989983, -0.0310955197, -0.89046067)
1760Part71.Orientation = Vector3.new(-2, 153, 180)
1761Part71.Position = Vector3.new(4.00390577, 0.908236027, -59.7462158)
1762Part71.Rotation = Vector3.new(-177.759995, 26.9799995, -1.01999998)
1763Part71.Color = Color3.new(0.843137, 0.772549, 0.603922)
1764Part71.Size = Vector3.new(1, 1, 1)
1765Part71.Anchored = true
1766Part71.BottomSurface = Enum.SurfaceType.Smooth
1767Part71.BrickColor = BrickColor.new("Brick yellow")
1768Part71.CanCollide = false
1769Part71.TopSurface = Enum.SurfaceType.Smooth
1770Part71.brickColor = BrickColor.new("Brick yellow")
1771Part71.FormFactor = Enum.FormFactor.Symmetric
1772Part71.formFactor = Enum.FormFactor.Symmetric
1773SpecialMesh72.Parent = Part71
1774SpecialMesh72.Scale = Vector3.new(0.782608688, 0.0434782617, 0.0434782617)
1775SpecialMesh72.MeshType = Enum.MeshType.Wedge
1776Part73.Parent = Tool0
1777Part73.CFrame = CFrame.new(2.20846605, 0.629450023, -60.8428345, -0.86474508, 0.215304703, 0.453715086, 0.258661479, 0.965338051, 0.0348995663, -0.430473536, 0.147537768, -0.890461445)
1778Part73.Orientation = Vector3.new(-2, 153, 15)
1779Part73.Position = Vector3.new(2.20846605, 0.629450023, -60.8428345)
1780Part73.Rotation = Vector3.new(-177.759995, 26.9799995, -166.019989)
1781Part73.Color = Color3.new(0.843137, 0.772549, 0.603922)
1782Part73.Size = Vector3.new(1, 1, 1)
1783Part73.Anchored = true
1784Part73.BottomSurface = Enum.SurfaceType.Smooth
1785Part73.BrickColor = BrickColor.new("Brick yellow")
1786Part73.CanCollide = false
1787Part73.TopSurface = Enum.SurfaceType.Smooth
1788Part73.brickColor = BrickColor.new("Brick yellow")
1789Part73.FormFactor = Enum.FormFactor.Symmetric
1790Part73.formFactor = Enum.FormFactor.Symmetric
1791BlockMesh74.Parent = Part73
1792BlockMesh74.Scale = Vector3.new(0.217391297, 0.173913047, 0.173913047)
1793Part75.Parent = Tool0
1794Part75.CFrame = CFrame.new(2.34381104, 0.885156989, -60.7637901, -0.641238868, 0.618831933, 0.453715086, 0.706676364, 0.706676602, 0.0348995663, -0.299032032, 0.34300819, -0.890461445)
1795Part75.Orientation = Vector3.new(-2, 153, 45)
1796Part75.Position = Vector3.new(2.34381104, 0.885156989, -60.7637901)
1797Part75.Rotation = Vector3.new(-177.759995, 26.9799995, -136.020004)
1798Part75.Color = Color3.new(0.843137, 0.772549, 0.603922)
1799Part75.Size = Vector3.new(1, 1, 1)
1800Part75.Anchored = true
1801Part75.BottomSurface = Enum.SurfaceType.Smooth
1802Part75.BrickColor = BrickColor.new("Brick yellow")
1803Part75.CanCollide = false
1804Part75.TopSurface = Enum.SurfaceType.Smooth
1805Part75.brickColor = BrickColor.new("Brick yellow")
1806Part75.FormFactor = Enum.FormFactor.Symmetric
1807Part75.formFactor = Enum.FormFactor.Symmetric
1808BlockMesh76.Parent = Part75
1809BlockMesh76.Scale = Vector3.new(0.217391297, 0.217391297, 0.173913047)
1810Part77.Parent = Tool0
1811Part77.CFrame = CFrame.new(2.55661011, 1.26117301, -60.6406898, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1812Part77.Orientation = Vector3.new(-2, 153, 0)
1813Part77.Position = Vector3.new(2.55661011, 1.26117301, -60.6406898)
1814Part77.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1815Part77.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1816Part77.Size = Vector3.new(1, 0.400000006, 1)
1817Part77.Anchored = true
1818Part77.BottomSurface = Enum.SurfaceType.Smooth
1819Part77.BrickColor = BrickColor.new("Really black")
1820Part77.CanCollide = false
1821Part77.Reflectance = 0.10000000149012
1822Part77.TopSurface = Enum.SurfaceType.Smooth
1823Part77.brickColor = BrickColor.new("Really black")
1824Part77.FormFactor = Enum.FormFactor.Plate
1825Part77.formFactor = Enum.FormFactor.Plate
1826BlockMesh78.Parent = Part77
1827BlockMesh78.Scale = Vector3.new(0.0869565234, 0.130434781, 0.130434781)
1828Part79.Parent = Tool0
1829Part79.CFrame = CFrame.new(5.62670898, 1.07800496, -58.9219971, -0.74321419, -0.0158441626, 0.668864071, 0.00903258752, 0.999391377, 0.0337104164, -0.668989956, 0.0310957916, -0.742618144)
1830Part79.Orientation = Vector3.new(-1.92999995, 137.98999, 0.519999981)
1831Part79.Position = Vector3.new(5.62670898, 1.07800496, -58.9219971)
1832Part79.Rotation = Vector3.new(-177.399994, 41.9799995, 178.779999)
1833Part79.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1834Part79.Size = Vector3.new(1, 1, 1)
1835Part79.Anchored = true
1836Part79.BottomSurface = Enum.SurfaceType.Smooth
1837Part79.BrickColor = BrickColor.new("Really black")
1838Part79.CanCollide = false
1839Part79.Reflectance = 0.10000000149012
1840Part79.TopSurface = Enum.SurfaceType.Smooth
1841Part79.brickColor = BrickColor.new("Really black")
1842Part79.FormFactor = Enum.FormFactor.Symmetric
1843Part79.formFactor = Enum.FormFactor.Symmetric
1844BlockMesh80.Parent = Part79
1845BlockMesh80.Scale = Vector3.new(0.130434781, 0.0434782617, 0.0434782617)
1846Part81.Parent = Tool0
1847Part81.CFrame = CFrame.new(2.3031621, 1.36546504, -60.7657471, -0.453715086, -0.891004562, 0.0158441179, -0.0348995663, -4.3840231e-08, -0.999391377, 0.890461445, -0.453991085, -0.0310958102)
1848Part81.Orientation = Vector3.new(88, 153, -90)
1849Part81.Position = Vector3.new(2.3031621, 1.36546504, -60.7657471)
1850Part81.Rotation = Vector3.new(91.7799988, 0.909999967, 116.989998)
1851Part81.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1852Part81.Size = Vector3.new(1, 1, 1)
1853Part81.Anchored = true
1854Part81.BottomSurface = Enum.SurfaceType.Smooth
1855Part81.BrickColor = BrickColor.new("Really black")
1856Part81.CanCollide = false
1857Part81.Reflectance = 0.10000000149012
1858Part81.TopSurface = Enum.SurfaceType.Smooth
1859Part81.brickColor = BrickColor.new("Really black")
1860Part81.FormFactor = Enum.FormFactor.Symmetric
1861Part81.formFactor = Enum.FormFactor.Symmetric
1862CylinderMesh82.Parent = Part81
1863CylinderMesh82.Scale = Vector3.new(0.217391297, 0.391304344, 0.217391297)
1864Part83.Parent = Tool0
1865Part83.CFrame = CFrame.new(5.87307692, 1.08861005, -59.1375732, -0.891004562, -0.0158441551, 0.453715056, -9.04494968e-08, 0.999391377, 0.0348995589, -0.453991085, 0.0310957767, -0.890461504)
1866Part83.Orientation = Vector3.new(-2, 153, 0)
1867Part83.Position = Vector3.new(5.87307692, 1.08861005, -59.1375732)
1868Part83.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1869Part83.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1870Part83.Size = Vector3.new(1, 1, 1)
1871Part83.Anchored = true
1872Part83.BottomSurface = Enum.SurfaceType.Smooth
1873Part83.BrickColor = BrickColor.new("Really black")
1874Part83.CanCollide = false
1875Part83.Reflectance = 0.10000000149012
1876Part83.TopSurface = Enum.SurfaceType.Smooth
1877Part83.brickColor = BrickColor.new("Really black")
1878Part83.FormFactor = Enum.FormFactor.Symmetric
1879Part83.formFactor = Enum.FormFactor.Symmetric
1880BlockMesh84.Parent = Part83
1881BlockMesh84.Scale = Vector3.new(0.130434781, 0.0434782617, 0.0434782617)
1882Part85.Parent = Tool0
1883Part85.CFrame = CFrame.new(4.13958693, 0.950388014, -59.7730713, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1884Part85.Orientation = Vector3.new(-2, 153, 0)
1885Part85.Position = Vector3.new(4.13958693, 0.950388014, -59.7730713)
1886Part85.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1887Part85.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1888Part85.Size = Vector3.new(2, 1, 1)
1889Part85.Anchored = true
1890Part85.BottomSurface = Enum.SurfaceType.Smooth
1891Part85.BrickColor = BrickColor.new("Really black")
1892Part85.CanCollide = false
1893Part85.Reflectance = 0.10000000149012
1894Part85.TopSurface = Enum.SurfaceType.Smooth
1895Part85.brickColor = BrickColor.new("Really black")
1896Part85.FormFactor = Enum.FormFactor.Symmetric
1897Part85.formFactor = Enum.FormFactor.Symmetric
1898BlockMesh86.Parent = Part85
1899BlockMesh86.Scale = Vector3.new(0.978260875, 0.0434782617, 0.0430434793)
1900Part87.Parent = Tool0
1901Part87.CFrame = CFrame.new(3.23290992, 1.36546504, -60.2919922, -0.453715086, -0.891004562, 0.0158441626, -0.0348995663, -8.72858266e-08, -0.999391377, 0.890461445, -0.453991085, -0.0310957916)
1902Part87.Orientation = Vector3.new(88, 153, -90)
1903Part87.Position = Vector3.new(3.23290992, 1.36546504, -60.2919922)
1904Part87.Rotation = Vector3.new(91.7799988, 0.909999967, 116.989998)
1905Part87.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1906Part87.Size = Vector3.new(1, 1, 1)
1907Part87.Anchored = true
1908Part87.BottomSurface = Enum.SurfaceType.Smooth
1909Part87.BrickColor = BrickColor.new("Really black")
1910Part87.CanCollide = false
1911Part87.Reflectance = 0.10000000149012
1912Part87.TopSurface = Enum.SurfaceType.Smooth
1913Part87.brickColor = BrickColor.new("Really black")
1914Part87.FormFactor = Enum.FormFactor.Symmetric
1915Part87.formFactor = Enum.FormFactor.Symmetric
1916CylinderMesh88.Parent = Part87
1917CylinderMesh88.Scale = Vector3.new(0.217391297, 0.304347813, 0.217391297)
1918Part89.Parent = Tool0
1919Part89.CFrame = CFrame.new(2.78741503, 1.36546504, -60.519043, -0.453715026, -0.891004562, 0.0158441402, -0.0348995216, -8.89118539e-08, -0.999391377, 0.890461564, -0.453991085, -0.0310957506)
1920Part89.Orientation = Vector3.new(88, 153, -90)
1921Part89.Position = Vector3.new(2.78741503, 1.36546504, -60.519043)
1922Part89.Rotation = Vector3.new(91.7799988, 0.909999967, 116.989998)
1923Part89.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1924Part89.Size = Vector3.new(1, 1, 1)
1925Part89.Anchored = true
1926Part89.BottomSurface = Enum.SurfaceType.Smooth
1927Part89.BrickColor = BrickColor.new("Really black")
1928Part89.CanCollide = false
1929Part89.Reflectance = 0.10000000149012
1930Part89.TopSurface = Enum.SurfaceType.Smooth
1931Part89.brickColor = BrickColor.new("Really black")
1932Part89.FormFactor = Enum.FormFactor.Symmetric
1933Part89.formFactor = Enum.FormFactor.Symmetric
1934CylinderMesh90.Parent = Part89
1935CylinderMesh90.Scale = Vector3.new(0.195652172, 0.695652187, 0.195652172)
1936Part91.Parent = Tool0
1937Part91.CFrame = CFrame.new(4.19876099, 0.954927981, -59.8892212, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1938Part91.Orientation = Vector3.new(-2, 153, 0)
1939Part91.Position = Vector3.new(4.19876099, 0.954927981, -59.8892212)
1940Part91.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1941Part91.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1942Part91.Size = Vector3.new(2, 1, 1)
1943Part91.Anchored = true
1944Part91.BottomSurface = Enum.SurfaceType.Smooth
1945Part91.BrickColor = BrickColor.new("Really black")
1946Part91.CanCollide = false
1947Part91.Reflectance = 0.10000000149012
1948Part91.TopSurface = Enum.SurfaceType.Smooth
1949Part91.brickColor = BrickColor.new("Really black")
1950Part91.FormFactor = Enum.FormFactor.Symmetric
1951Part91.formFactor = Enum.FormFactor.Symmetric
1952BlockMesh92.Parent = Part91
1953BlockMesh92.Scale = Vector3.new(0.978260875, 0.0434782617, 0.0430434793)
1954Part93.Parent = Tool0
1955Part93.CFrame = CFrame.new(2.32663012, 1.10474503, -60.7639771, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1956Part93.Orientation = Vector3.new(-2, 153, 0)
1957Part93.Position = Vector3.new(2.32663012, 1.10474503, -60.7639771)
1958Part93.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1959Part93.Color = Color3.new(0.843137, 0.772549, 0.603922)
1960Part93.Size = Vector3.new(1, 1, 1)
1961Part93.Anchored = true
1962Part93.BottomSurface = Enum.SurfaceType.Smooth
1963Part93.BrickColor = BrickColor.new("Brick yellow")
1964Part93.CanCollide = false
1965Part93.TopSurface = Enum.SurfaceType.Smooth
1966Part93.brickColor = BrickColor.new("Brick yellow")
1967Part93.FormFactor = Enum.FormFactor.Symmetric
1968Part93.formFactor = Enum.FormFactor.Symmetric
1969BlockMesh94.Parent = Part93
1970BlockMesh94.Scale = Vector3.new(0.0869565234, 0.0869565234, 0.173913047)
1971Part95.Parent = Tool0
1972Part95.CFrame = CFrame.new(3.87677002, 1.06997895, -59.9754639, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
1973Part95.Orientation = Vector3.new(-2, 153, 0)
1974Part95.Position = Vector3.new(3.87677002, 1.06997895, -59.9754639)
1975Part95.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
1976Part95.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1977Part95.Size = Vector3.new(3, 0.400000006, 1)
1978Part95.Anchored = true
1979Part95.BottomSurface = Enum.SurfaceType.Smooth
1980Part95.BrickColor = BrickColor.new("Really black")
1981Part95.CanCollide = false
1982Part95.Reflectance = 0.10000000149012
1983Part95.TopSurface = Enum.SurfaceType.Smooth
1984Part95.brickColor = BrickColor.new("Really black")
1985Part95.FormFactor = Enum.FormFactor.Plate
1986Part95.formFactor = Enum.FormFactor.Plate
1987BlockMesh96.Parent = Part95
1988BlockMesh96.Scale = Vector3.new(1.13043475, 0.0434782617, 0.0869565234)
1989Part97.Parent = Tool0
1990Part97.CFrame = CFrame.new(4.80725098, 1.04825795, -59.5022583, -0.0158441346, -0.453715086, 0.891004562, 0.999391377, -0.0348996073, 4.39723209e-08, 0.0310958475, 0.890461445, 0.453991085)
1991Part97.Orientation = Vector3.new(0, 63, 92)
1992Part97.Position = Vector3.new(4.80725098, 1.04825795, -59.5022583)
1993Part97.Rotation = Vector3.new(0, 63, 92)
1994Part97.Color = Color3.new(0.470588, 0.564706, 0.509804)
1995Part97.Size = Vector3.new(1, 1, 1)
1996Part97.Anchored = true
1997Part97.BottomSurface = Enum.SurfaceType.Smooth
1998Part97.BrickColor = BrickColor.new("Sand green")
1999Part97.CanCollide = false
2000Part97.TopSurface = Enum.SurfaceType.Smooth
2001Part97.brickColor = BrickColor.new("Sand green")
2002Part97.FormFactor = Enum.FormFactor.Symmetric
2003Part97.formFactor = Enum.FormFactor.Symmetric
2004CylinderMesh98.Parent = Part97
2005CylinderMesh98.Scale = Vector3.new(0.0173913054, 0.191304356, 0.0173913054)
2006Part99.Parent = Tool0
2007Part99.CFrame = CFrame.new(3.31726098, 0.930934012, -60.2660522, 0.453715086, 0.0158441626, -0.891004562, 0.0348995663, -0.999391377, -8.72858266e-08, -0.890461445, -0.0310957916, -0.453991085)
2008Part99.Orientation = Vector3.new(0, -117, 178)
2009Part99.Position = Vector3.new(3.31726098, 0.930934012, -60.2660522)
2010Part99.Rotation = Vector3.new(180, -63, -2)
2011Part99.Color = Color3.new(0.843137, 0.772549, 0.603922)
2012Part99.Size = Vector3.new(1, 1, 1)
2013Part99.Anchored = true
2014Part99.BottomSurface = Enum.SurfaceType.Smooth
2015Part99.BrickColor = BrickColor.new("Brick yellow")
2016Part99.CanCollide = false
2017Part99.TopSurface = Enum.SurfaceType.Smooth
2018Part99.brickColor = BrickColor.new("Brick yellow")
2019Part99.FormFactor = Enum.FormFactor.Symmetric
2020Part99.formFactor = Enum.FormFactor.Symmetric
2021SpecialMesh100.Parent = Part99
2022SpecialMesh100.Scale = Vector3.new(0.173913047, 0.173913047, 0.130434781)
2023SpecialMesh100.MeshType = Enum.MeshType.Wedge
2024Part101.Parent = Tool0
2025Part101.CFrame = CFrame.new(4.57226419, 1.04474103, -59.0408936, 1.11758709e-08, -0.453991681, 0.891004562, 1.00000048, 5.96046448e-08, 4.39459207e-08, 1.00582838e-07, 0.891004264, 0.453991085)
2026Part101.Orientation = Vector3.new(0, 63, 90)
2027Part101.Position = Vector3.new(4.57226419, 1.04474103, -59.0408936)
2028Part101.Rotation = Vector3.new(0, 63, 90)
2029Part101.Color = Color3.new(0.470588, 0.564706, 0.509804)
2030Part101.Size = Vector3.new(1, 1, 1)
2031Part101.Anchored = true
2032Part101.BottomSurface = Enum.SurfaceType.Smooth
2033Part101.BrickColor = BrickColor.new("Sand green")
2034Part101.CanCollide = false
2035Part101.TopSurface = Enum.SurfaceType.Smooth
2036Part101.brickColor = BrickColor.new("Sand green")
2037Part101.FormFactor = Enum.FormFactor.Symmetric
2038Part101.formFactor = Enum.FormFactor.Symmetric
2039CylinderMesh102.Parent = Part101
2040CylinderMesh102.Scale = Vector3.new(0.0173913054, 0.869565189, 0.0173913054)
2041Part103.Parent = Tool0
2042Part103.CFrame = CFrame.new(2.69494605, 0.76007998, -60.5898438, -0.453715056, 0.58486402, 0.672364712, -0.0348994397, -0.76557827, 0.642396688, 0.890461564, 0.267999202, 0.367765307)
2043Part103.Orientation = Vector3.new(-39.9699974, 61.3199997, -177.389999)
2044Part103.Position = Vector3.new(2.69494605, 0.76007998, -60.5898438)
2045Part103.Rotation = Vector3.new(-60.2099991, 42.25, -127.799995)
2046Part103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2047Part103.Size = Vector3.new(1, 1, 1)
2048Part103.Anchored = true
2049Part103.BottomSurface = Enum.SurfaceType.Smooth
2050Part103.BrickColor = BrickColor.new("Really black")
2051Part103.CanCollide = false
2052Part103.Reflectance = 0.10000000149012
2053Part103.TopSurface = Enum.SurfaceType.Smooth
2054Part103.brickColor = BrickColor.new("Really black")
2055Part103.FormFactor = Enum.FormFactor.Symmetric
2056Part103.formFactor = Enum.FormFactor.Symmetric
2057SpecialMesh104.Parent = Part103
2058SpecialMesh104.Scale = Vector3.new(0.0434782617, 0.0869565234, 0.0434782617)
2059SpecialMesh104.MeshType = Enum.MeshType.Wedge
2060Part105.Parent = Tool0
2061Part105.CFrame = CFrame.new(5.0447998, 1.08107996, -59.9680786, -0.0316688828, -0.452885807, 0.891004562, 0.997564793, -0.0697565451, 4.40514931e-08, 0.0621535033, 0.88883388, 0.453991085)
2062Part105.Orientation = Vector3.new(0, 63, 94)
2063Part105.Position = Vector3.new(5.0447998, 1.08107996, -59.9680786)
2064Part105.Rotation = Vector3.new(0, 63, 94)
2065Part105.Color = Color3.new(0.470588, 0.564706, 0.509804)
2066Part105.Size = Vector3.new(1, 1, 1)
2067Part105.Anchored = true
2068Part105.BottomSurface = Enum.SurfaceType.Smooth
2069Part105.BrickColor = BrickColor.new("Sand green")
2070Part105.CanCollide = false
2071Part105.TopSurface = Enum.SurfaceType.Smooth
2072Part105.brickColor = BrickColor.new("Sand green")
2073Part105.FormFactor = Enum.FormFactor.Symmetric
2074Part105.formFactor = Enum.FormFactor.Symmetric
2075CylinderMesh106.Parent = Part105
2076CylinderMesh106.Scale = Vector3.new(0.0173913054, 0.869565189, 0.0173913054)
2077Part107.Parent = Tool0
2078Part107.CFrame = CFrame.new(1.52575696, 0.857613981, -61.0596924, 0.891004443, -0.453715086, 0.0158441849, 8.28260696e-08, -0.0348995663, -0.999391317, 0.453991085, 0.890461445, -0.0310957767)
2079Part107.Orientation = Vector3.new(88, 153, 180)
2080Part107.Position = Vector3.new(1.52575696, 0.857613981, -61.0596924)
2081Part107.Rotation = Vector3.new(91.7799988, 0.909999967, 26.9899998)
2082Part107.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2083Part107.Size = Vector3.new(1, 0.400000006, 1)
2084Part107.Anchored = true
2085Part107.BottomSurface = Enum.SurfaceType.Smooth
2086Part107.BrickColor = BrickColor.new("Really black")
2087Part107.CanCollide = false
2088Part107.Reflectance = 0.10000000149012
2089Part107.TopSurface = Enum.SurfaceType.Smooth
2090Part107.brickColor = BrickColor.new("Really black")
2091Part107.FormFactor = Enum.FormFactor.Plate
2092Part107.formFactor = Enum.FormFactor.Plate
2093BlockMesh108.Parent = Part107
2094BlockMesh108.Scale = Vector3.new(0.304347813, 0.217391312, 0.260869563)
2095Part109.Parent = Tool0
2096Part109.CFrame = CFrame.new(5.68975782, 1.15082705, -59.8324585, 0.309210449, -0.950860322, 0.0158441402, -0.0246776268, -0.0246777534, -0.999391377, 0.950671613, 0.308631271, -0.0310957506)
2097Part109.Orientation = Vector3.new(88, 153, -135)
2098Part109.Position = Vector3.new(5.68975782, 1.15082705, -59.8324585)
2099Part109.Rotation = Vector3.new(91.7799988, 0.909999967, 71.9899979)
2100Part109.Color = Color3.new(0.843137, 0.772549, 0.603922)
2101Part109.Size = Vector3.new(1, 0.400000006, 1)
2102Part109.Anchored = true
2103Part109.BottomSurface = Enum.SurfaceType.Smooth
2104Part109.BrickColor = BrickColor.new("Brick yellow")
2105Part109.CanCollide = false
2106Part109.TopSurface = Enum.SurfaceType.Smooth
2107Part109.brickColor = BrickColor.new("Brick yellow")
2108Part109.FormFactor = Enum.FormFactor.Plate
2109Part109.formFactor = Enum.FormFactor.Plate
2110BlockMesh110.Parent = Part109
2111BlockMesh110.Scale = Vector3.new(0.347826093, 0.0869565234, 0.0434782617)
2112Part111.Parent = Tool0
2113Part111.CFrame = CFrame.new(2.94232202, 1.36545801, -60.4400635, -0.453715056, -0.891004562, 0.015844157, -0.0348996483, -4.57757316e-08, -0.999391377, 0.890461504, -0.453991085, -0.0310958754)
2114Part111.Orientation = Vector3.new(88, 153, -90)
2115Part111.Position = Vector3.new(2.94232202, 1.36545801, -60.4400635)
2116Part111.Rotation = Vector3.new(91.7799988, 0.909999967, 116.989998)
2117Part111.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2118Part111.Size = Vector3.new(1, 1, 1)
2119Part111.Anchored = true
2120Part111.BottomSurface = Enum.SurfaceType.Smooth
2121Part111.BrickColor = BrickColor.new("Really black")
2122Part111.CanCollide = false
2123Part111.Reflectance = 0.10000000149012
2124Part111.TopSurface = Enum.SurfaceType.Smooth
2125Part111.brickColor = BrickColor.new("Really black")
2126Part111.FormFactor = Enum.FormFactor.Symmetric
2127Part111.formFactor = Enum.FormFactor.Symmetric
2128CylinderMesh112.Parent = Part111
2129CylinderMesh112.Scale = Vector3.new(0.217391297, 0.0869565234, 0.217391297)
2130Part113.Parent = Tool0
2131Part113.CFrame = CFrame.new(5.76373291, 1.17379904, -59.4144897, 0.0525735803, 0.0158440992, 0.998489201, -0.0302238166, -0.999390483, 0.017449813, 0.998156011, -0.0310957152, -0.0520630889)
2132Part113.Orientation = Vector3.new(-1, 92.9799957, -178.269989)
2133Part113.Position = Vector3.new(5.76373291, 1.17379904, -59.4144897)
2134Part113.Rotation = Vector3.new(-161.470001, 86.8499985, -16.7700005)
2135Part113.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2136Part113.Size = Vector3.new(1, 0.400000006, 1)
2137Part113.Anchored = true
2138Part113.BottomSurface = Enum.SurfaceType.Smooth
2139Part113.BrickColor = BrickColor.new("Really black")
2140Part113.CanCollide = false
2141Part113.Reflectance = 0.10000000149012
2142Part113.TopSurface = Enum.SurfaceType.Smooth
2143Part113.brickColor = BrickColor.new("Really black")
2144Part113.FormFactor = Enum.FormFactor.Plate
2145Part113.formFactor = Enum.FormFactor.Plate
2146BlockMesh114.Parent = Part113
2147BlockMesh114.Scale = Vector3.new(0.347826093, 0.0434782617, 0.0434782617)
2148Part115.Parent = Tool0
2149Part115.CFrame = CFrame.new(2.6907649, 0.861406028, -60.5879517, 0.779554844, -0.431780905, 0.453715086, -0.499695718, -0.865498424, 0.0348995663, 0.377619863, -0.253925294, -0.890461445)
2150Part115.Orientation = Vector3.new(-2, 153, -150)
2151Part115.Position = Vector3.new(2.6907649, 0.861406028, -60.5879517)
2152Part115.Rotation = Vector3.new(-177.759995, 26.9799995, 28.9799995)
2153Part115.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2154Part115.Size = Vector3.new(1, 1, 1)
2155Part115.Anchored = true
2156Part115.BottomSurface = Enum.SurfaceType.Smooth
2157Part115.BrickColor = BrickColor.new("Really black")
2158Part115.CanCollide = false
2159Part115.Reflectance = 0.10000000149012
2160Part115.TopSurface = Enum.SurfaceType.Smooth
2161Part115.brickColor = BrickColor.new("Really black")
2162Part115.FormFactor = Enum.FormFactor.Symmetric
2163Part115.formFactor = Enum.FormFactor.Symmetric
2164BlockMesh116.Parent = Part115
2165BlockMesh116.Scale = Vector3.new(0.0434782617, 0.0869565234, 0.0434782617)
2166Part117.Parent = Tool0
2167Part117.CFrame = CFrame.new(5.77294922, 1.09098995, -59.2650757, -0.0158441104, 0.998490274, -0.0525734276, 0.999391377, 0.0174498111, 0.0302238706, 0.031095773, -0.0520627648, -0.998157978)
2168Part117.Orientation = Vector3.new(-1.73000002, -176.98999, 89)
2169Part117.Position = Vector3.new(5.77294922, 1.09098995, -59.2650757)
2170Part117.Rotation = Vector3.new(-178.269989, -3.00999999, -90.909996)
2171Part117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2172Part117.Size = Vector3.new(1, 1, 1)
2173Part117.Anchored = true
2174Part117.BottomSurface = Enum.SurfaceType.Smooth
2175Part117.BrickColor = BrickColor.new("Really black")
2176Part117.CanCollide = false
2177Part117.Reflectance = 0.10000000149012
2178Part117.TopSurface = Enum.SurfaceType.Smooth
2179Part117.brickColor = BrickColor.new("Really black")
2180Part117.FormFactor = Enum.FormFactor.Symmetric
2181Part117.formFactor = Enum.FormFactor.Symmetric
2182BlockMesh118.Parent = Part117
2183BlockMesh118.Scale = Vector3.new(0.173913047, 0.0434782617, 0.130434781)
2184Part119.Parent = Tool0
2185Part119.CFrame = CFrame.new(5.56567383, 1.07504594, -58.8582764, -0.0158441328, 0.54477495, 0.83843112, 0.999391377, -0.0174497645, 0.0302239619, 0.0310958251, 0.838398635, -0.544166803)
2186Part119.Orientation = Vector3.new(-1.73000002, 122.979996, 91)
2187Part119.Position = Vector3.new(5.56567383, 1.07504594, -58.8582764)
2188Part119.Rotation = Vector3.new(-176.819992, 56.9699974, -91.6699982)
2189Part119.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2190Part119.Size = Vector3.new(1, 1, 1)
2191Part119.Anchored = true
2192Part119.BottomSurface = Enum.SurfaceType.Smooth
2193Part119.BrickColor = BrickColor.new("Really black")
2194Part119.CanCollide = false
2195Part119.Reflectance = 0.10000000149012
2196Part119.TopSurface = Enum.SurfaceType.Smooth
2197Part119.brickColor = BrickColor.new("Really black")
2198Part119.FormFactor = Enum.FormFactor.Symmetric
2199Part119.formFactor = Enum.FormFactor.Symmetric
2200BlockMesh120.Parent = Part119
2201BlockMesh120.Scale = Vector3.new(0.173913047, 0.0434782617, 0.130434781)
2202Part121.Parent = Tool0
2203Part121.CFrame = CFrame.new(2.94400001, 1.26117301, -60.4432983, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
2204Part121.Orientation = Vector3.new(-2, 153, 0)
2205Part121.Position = Vector3.new(2.94400001, 1.26117301, -60.4432983)
2206Part121.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
2207Part121.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2208Part121.Size = Vector3.new(1, 0.400000006, 1)
2209Part121.Anchored = true
2210Part121.BottomSurface = Enum.SurfaceType.Smooth
2211Part121.BrickColor = BrickColor.new("Really black")
2212Part121.CanCollide = false
2213Part121.Reflectance = 0.10000000149012
2214Part121.TopSurface = Enum.SurfaceType.Smooth
2215Part121.brickColor = BrickColor.new("Really black")
2216Part121.FormFactor = Enum.FormFactor.Plate
2217Part121.formFactor = Enum.FormFactor.Plate
2218BlockMesh122.Parent = Part121
2219BlockMesh122.Scale = Vector3.new(0.0869565234, 0.130434781, 0.130434781)
2220Part123.Parent = Tool0
2221Part123.CFrame = CFrame.new(5.43682718, 1.14866805, -58.7730103, -0.838430047, 0.0158440955, 0.544775069, -0.0302239228, -0.999390483, -0.0174497105, 0.544166327, -0.0310957581, 0.838396668)
2222Part123.Orientation = Vector3.new(1, 33.0200005, -178.269989)
2223Part123.Position = Vector3.new(5.43682718, 1.14866805, -58.7730103)
2224Part123.Rotation = Vector3.new(1.18999994, 33.0099983, -178.919998)
2225Part123.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2226Part123.Size = Vector3.new(1, 0.400000006, 1)
2227Part123.Anchored = true
2228Part123.BottomSurface = Enum.SurfaceType.Smooth
2229Part123.BrickColor = BrickColor.new("Really black")
2230Part123.CanCollide = false
2231Part123.Reflectance = 0.10000000149012
2232Part123.TopSurface = Enum.SurfaceType.Smooth
2233Part123.brickColor = BrickColor.new("Really black")
2234Part123.FormFactor = Enum.FormFactor.Plate
2235Part123.formFactor = Enum.FormFactor.Plate
2236BlockMesh124.Parent = Part123
2237BlockMesh124.Scale = Vector3.new(0.347826093, 0.0434782617, 0.0434782617)
2238Part125.Parent = Tool0
2239Part125.CFrame = CFrame.new(2.8092351, 1.20902395, -60.5139771, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
2240Part125.Orientation = Vector3.new(-2, 153, 0)
2241Part125.Position = Vector3.new(2.8092351, 1.20902395, -60.5139771)
2242Part125.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
2243Part125.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2244Part125.Size = Vector3.new(1, 0.400000006, 1)
2245Part125.Anchored = true
2246Part125.BottomSurface = Enum.SurfaceType.Smooth
2247Part125.BrickColor = BrickColor.new("Really black")
2248Part125.CanCollide = false
2249Part125.Reflectance = 0.10000000149012
2250Part125.TopSurface = Enum.SurfaceType.Smooth
2251Part125.brickColor = BrickColor.new("Really black")
2252Part125.FormFactor = Enum.FormFactor.Plate
2253Part125.formFactor = Enum.FormFactor.Plate
2254BlockMesh126.Parent = Part125
2255BlockMesh126.Scale = Vector3.new(1, 0.130434781, 0.0869565234)
2256Part127.Parent = Tool0
2257Part127.CFrame = CFrame.new(1.78076196, 0.793200016, -60.9420166, 0.801084101, -0.453715295, -0.390390366, -0.453714103, -0.0348995663, -0.890464306, 0.390391886, 0.890461504, -0.233814284)
2258Part127.Orientation = Vector3.new(62.9300003, -120.919998, -94.4000015)
2259Part127.Position = Vector3.new(1.78076196, 0.793200016, -60.9420166)
2260Part127.Rotation = Vector3.new(104.709999, -22.9799995, 29.5299988)
2261Part127.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2262Part127.Size = Vector3.new(1, 0.400000006, 1)
2263Part127.Anchored = true
2264Part127.BottomSurface = Enum.SurfaceType.Smooth
2265Part127.BrickColor = BrickColor.new("Really black")
2266Part127.CanCollide = false
2267Part127.Reflectance = 0.10000000149012
2268Part127.TopSurface = Enum.SurfaceType.Smooth
2269Part127.brickColor = BrickColor.new("Really black")
2270Part127.FormFactor = Enum.FormFactor.Plate
2271Part127.formFactor = Enum.FormFactor.Plate
2272BlockMesh128.Parent = Part127
2273BlockMesh128.Scale = Vector3.new(0.0869565234, 0.173913047, 0.260869563)
2274Part129.Parent = Tool0
2275Part129.CFrame = CFrame.new(5.230896, 1.07088006, -58.8948975, -0.544775248, -0.0158441626, 0.838431001, 0.0174497142, 0.999391377, 0.0302239582, -0.838398635, 0.0310957916, -0.544166923)
2276Part129.Orientation = Vector3.new(-1.73000002, 122.979996, 1)
2277Part129.Position = Vector3.new(5.230896, 1.07088006, -58.8948975)
2278Part129.Rotation = Vector3.new(-176.819992, 56.9699974, 178.330002)
2279Part129.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2280Part129.Size = Vector3.new(1, 1, 1)
2281Part129.Anchored = true
2282Part129.BottomSurface = Enum.SurfaceType.Smooth
2283Part129.BrickColor = BrickColor.new("Really black")
2284Part129.CanCollide = false
2285Part129.Reflectance = 0.10000000149012
2286Part129.TopSurface = Enum.SurfaceType.Smooth
2287Part129.brickColor = BrickColor.new("Really black")
2288Part129.FormFactor = Enum.FormFactor.Symmetric
2289Part129.formFactor = Enum.FormFactor.Symmetric
2290BlockMesh130.Parent = Part129
2291BlockMesh130.Scale = Vector3.new(0.347826093, 0.0434782617, 0.0434782617)
2292Part131.Parent = Tool0
2293Part131.CFrame = CFrame.new(5.54650879, 1.09515595, -59.5143433, -0.998490155, -0.0158441626, -0.0525735468, -0.0174498595, 0.999391377, 0.0302238781, 0.0520629101, 0.0310957916, -0.99815774)
2294Part131.Orientation = Vector3.new(-1.73000002, -176.979996, -1)
2295Part131.Position = Vector3.new(5.54650879, 1.09515595, -59.5143433)
2296Part131.Rotation = Vector3.new(-178.269989, -3.00999999, 179.089996)
2297Part131.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2298Part131.Size = Vector3.new(1, 1, 1)
2299Part131.Anchored = true
2300Part131.BottomSurface = Enum.SurfaceType.Smooth
2301Part131.BrickColor = BrickColor.new("Really black")
2302Part131.CanCollide = false
2303Part131.Reflectance = 0.10000000149012
2304Part131.TopSurface = Enum.SurfaceType.Smooth
2305Part131.brickColor = BrickColor.new("Really black")
2306Part131.FormFactor = Enum.FormFactor.Symmetric
2307Part131.formFactor = Enum.FormFactor.Symmetric
2308BlockMesh132.Parent = Part131
2309BlockMesh132.Scale = Vector3.new(0.347826093, 0.0434782617, 0.0434782617)
2310Part133.Parent = Tool0
2311Part133.CFrame = CFrame.new(5.45819092, 1.07923305, -59.0473633, -0.829069138, -0.0158441626, 0.558919311, 0.00425309921, 0.999391377, 0.0346394554, -0.559126973, 0.0310957916, -0.828496635)
2312Part133.Orientation = Vector3.new(-1.99000001, 146, 0.239999995)
2313Part133.Position = Vector3.new(5.45819092, 1.07923305, -59.0473633)
2314Part133.Rotation = Vector3.new(-177.610001, 33.9799995, 178.909988)
2315Part133.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2316Part133.Size = Vector3.new(1, 1, 1)
2317Part133.Anchored = true
2318Part133.BottomSurface = Enum.SurfaceType.Smooth
2319Part133.BrickColor = BrickColor.new("Really black")
2320Part133.CanCollide = false
2321Part133.Reflectance = 0.10000000149012
2322Part133.TopSurface = Enum.SurfaceType.Smooth
2323Part133.brickColor = BrickColor.new("Really black")
2324Part133.FormFactor = Enum.FormFactor.Symmetric
2325Part133.formFactor = Enum.FormFactor.Symmetric
2326BlockMesh134.Parent = Part133
2327BlockMesh134.Scale = Vector3.new(0.304347813, 0.0434782617, 0.0434782617)
2328Part135.Parent = Tool0
2329Part135.CFrame = CFrame.new(5.43972778, 1.07163405, -58.8128052, -0.83843106, -0.544775069, 0.0158441588, -0.0302239601, 0.0174497049, -0.999391377, 0.544166803, -0.838398457, -0.0310957935)
2330Part135.Orientation = Vector3.new(88, 153, -60)
2331Part135.Position = Vector3.new(5.43972778, 1.07163405, -58.8128052)
2332Part135.Rotation = Vector3.new(91.7799988, 0.909999967, 146.98999)
2333Part135.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2334Part135.Size = Vector3.new(1, 0.400000006, 1)
2335Part135.Anchored = true
2336Part135.BottomSurface = Enum.SurfaceType.Smooth
2337Part135.BrickColor = BrickColor.new("Really black")
2338Part135.CanCollide = false
2339Part135.Reflectance = 0.10000000149012
2340Part135.TopSurface = Enum.SurfaceType.Smooth
2341Part135.brickColor = BrickColor.new("Really black")
2342Part135.FormFactor = Enum.FormFactor.Plate
2343Part135.formFactor = Enum.FormFactor.Plate
2344BlockMesh136.Parent = Part135
2345BlockMesh136.Scale = Vector3.new(0.391304344, 0.0434782617, 0.173913047)
2346Part137.Parent = Tool0
2347Part137.CFrame = CFrame.new(5.75726318, 1.08803701, -59.1782227, -0.978074372, -0.0158441626, 0.207646206, -0.00903275982, 0.999391377, 0.0337103829, -0.208053336, 0.0310957916, -0.977621377)
2348Part137.Orientation = Vector3.new(-1.92999995, 168.009995, -0.519999981)
2349Part137.Position = Vector3.new(5.75726318, 1.08803701, -59.1782227)
2350Part137.Rotation = Vector3.new(-178.029999, 11.9799995, 179.069992)
2351Part137.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2352Part137.Size = Vector3.new(1, 1, 1)
2353Part137.Anchored = true
2354Part137.BottomSurface = Enum.SurfaceType.Smooth
2355Part137.BrickColor = BrickColor.new("Really black")
2356Part137.CanCollide = false
2357Part137.Reflectance = 0.10000000149012
2358Part137.TopSurface = Enum.SurfaceType.Smooth
2359Part137.brickColor = BrickColor.new("Really black")
2360Part137.FormFactor = Enum.FormFactor.Symmetric
2361Part137.formFactor = Enum.FormFactor.Symmetric
2362BlockMesh138.Parent = Part137
2363BlockMesh138.Scale = Vector3.new(0.130434781, 0.0434782617, 0.0434782617)
2364Part139.Parent = Tool0
2365Part139.CFrame = CFrame.new(5.72766113, 1.07742596, -58.8521729, -0.891004562, -0.0158441626, 0.453715056, -8.91112322e-08, 0.999391377, 0.0348995738, -0.453991085, 0.0310957916, -0.890461504)
2366Part139.Orientation = Vector3.new(-2, 153, 0)
2367Part139.Position = Vector3.new(5.72766113, 1.07742596, -58.8521729)
2368Part139.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
2369Part139.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2370Part139.Size = Vector3.new(1, 1, 1)
2371Part139.Anchored = true
2372Part139.BottomSurface = Enum.SurfaceType.Smooth
2373Part139.BrickColor = BrickColor.new("Really black")
2374Part139.CanCollide = false
2375Part139.Reflectance = 0.10000000149012
2376Part139.TopSurface = Enum.SurfaceType.Smooth
2377Part139.brickColor = BrickColor.new("Really black")
2378Part139.FormFactor = Enum.FormFactor.Symmetric
2379Part139.formFactor = Enum.FormFactor.Symmetric
2380BlockMesh140.Parent = Part139
2381BlockMesh140.Scale = Vector3.new(0.130434781, 0.0434782617, 0.0434782617)
2382Part141.Parent = Tool0
2383Part141.CFrame = CFrame.new(5.55682278, 1.08681703, -59.2408447, -0.939657092, -0.0158441626, 0.341747165, -0.00425327616, 0.999391377, 0.0346394368, -0.34208703, 0.0310957916, -0.939151764)
2384Part141.Orientation = Vector3.new(-1.99000001, 160, -0.239999995)
2385Part141.Position = Vector3.new(5.55682278, 1.08681703, -59.2408447)
2386Part141.Rotation = Vector3.new(-177.889999, 19.9799995, 179.029999)
2387Part141.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2388Part141.Size = Vector3.new(1, 1, 1)
2389Part141.Anchored = true
2390Part141.BottomSurface = Enum.SurfaceType.Smooth
2391Part141.BrickColor = BrickColor.new("Really black")
2392Part141.CanCollide = false
2393Part141.Reflectance = 0.10000000149012
2394Part141.TopSurface = Enum.SurfaceType.Smooth
2395Part141.brickColor = BrickColor.new("Really black")
2396Part141.FormFactor = Enum.FormFactor.Symmetric
2397Part141.formFactor = Enum.FormFactor.Symmetric
2398BlockMesh142.Parent = Part141
2399BlockMesh142.Scale = Vector3.new(0.304347813, 0.0434782617, 0.0434782617)
2400Part143.Parent = Tool0
2401Part143.CFrame = CFrame.new(4.28735304, 1.04902804, -58.6732178, -0.978074431, -0.0158441477, 0.207646117, -0.00903275982, 0.999391377, 0.0337103345, -0.208053246, 0.0310957562, -0.977621436)
2402Part143.Orientation = Vector3.new(-1.92999995, 168.009995, -0.519999981)
2403Part143.Position = Vector3.new(4.28735304, 1.04902804, -58.6732178)
2404Part143.Rotation = Vector3.new(-178.029999, 11.9799995, 179.069992)
2405Part143.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2406Part143.Size = Vector3.new(1, 1, 1)
2407Part143.Anchored = true
2408Part143.BottomSurface = Enum.SurfaceType.Smooth
2409Part143.BrickColor = BrickColor.new("Really black")
2410Part143.CanCollide = false
2411Part143.Reflectance = 0.10000000149012
2412Part143.TopSurface = Enum.SurfaceType.Smooth
2413Part143.brickColor = BrickColor.new("Really black")
2414Part143.FormFactor = Enum.FormFactor.Symmetric
2415Part143.formFactor = Enum.FormFactor.Symmetric
2416CylinderMesh144.Parent = Part143
2417CylinderMesh144.Scale = Vector3.new(0.0304347817, 0.173913047, 0.0304347817)
2418Part145.Parent = Tool0
2419Part145.CFrame = CFrame.new(5.73571777, 1.09439301, -59.3936768, 0.052573517, -0.998490155, 0.0158441626, -0.0302238651, -0.0174498633, -0.999391377, 0.998157859, 0.0520628802, -0.0310957767)
2420Part145.Orientation = Vector3.new(88, 153, -120)
2421Part145.Position = Vector3.new(5.73571777, 1.09439301, -59.3936768)
2422Part145.Rotation = Vector3.new(91.7799988, 0.909999967, 86.9899979)
2423Part145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2424Part145.Size = Vector3.new(1, 0.400000006, 1)
2425Part145.Anchored = true
2426Part145.BottomSurface = Enum.SurfaceType.Smooth
2427Part145.BrickColor = BrickColor.new("Really black")
2428Part145.CanCollide = false
2429Part145.Reflectance = 0.10000000149012
2430Part145.TopSurface = Enum.SurfaceType.Smooth
2431Part145.brickColor = BrickColor.new("Really black")
2432Part145.FormFactor = Enum.FormFactor.Plate
2433Part145.formFactor = Enum.FormFactor.Plate
2434BlockMesh146.Parent = Part145
2435BlockMesh146.Scale = Vector3.new(0.391304344, 0.0434782617, 0.173913047)
2436Part147.Parent = Tool0
2437Part147.CFrame = CFrame.new(5.17410278, 1.11723495, -60.4134521, -0.743215442, -0.0158440806, 0.668862998, 0.00903252512, 0.999391317, 0.0337103121, -0.668989003, 0.0310956724, -0.742619395)
2438Part147.Orientation = Vector3.new(-1.92999995, 137.98999, 0.519999981)
2439Part147.Position = Vector3.new(5.17410278, 1.11723495, -60.4134521)
2440Part147.Rotation = Vector3.new(-177.399994, 41.9799995, 178.779999)
2441Part147.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2442Part147.Size = Vector3.new(1, 1, 1)
2443Part147.Anchored = true
2444Part147.BottomSurface = Enum.SurfaceType.Smooth
2445Part147.BrickColor = BrickColor.new("Really black")
2446Part147.CanCollide = false
2447Part147.Reflectance = 0.10000000149012
2448Part147.TopSurface = Enum.SurfaceType.Smooth
2449Part147.brickColor = BrickColor.new("Really black")
2450Part147.FormFactor = Enum.FormFactor.Symmetric
2451Part147.formFactor = Enum.FormFactor.Symmetric
2452CylinderMesh148.Parent = Part147
2453CylinderMesh148.Scale = Vector3.new(0.0304347817, 0.173913047, 0.0304347817)
2454Part149.Parent = Tool0
2455Part149.CFrame = CFrame.new(5.36730909, 1.15832901, -60.2376099, 0.74321413, -0.668864191, 0.0158441402, -0.00903258659, -0.0337103829, -0.999391377, 0.668990195, 0.742618263, -0.0310957506)
2456Part149.Orientation = Vector3.new(88, 153, -165)
2457Part149.Position = Vector3.new(5.36730909, 1.15832901, -60.2376099)
2458Part149.Rotation = Vector3.new(91.7799988, 0.909999967, 41.9899979)
2459Part149.Color = Color3.new(0.843137, 0.772549, 0.603922)
2460Part149.Size = Vector3.new(1, 0.400000006, 1)
2461Part149.Anchored = true
2462Part149.BottomSurface = Enum.SurfaceType.Smooth
2463Part149.BrickColor = BrickColor.new("Brick yellow")
2464Part149.CanCollide = false
2465Part149.TopSurface = Enum.SurfaceType.Smooth
2466Part149.brickColor = BrickColor.new("Brick yellow")
2467Part149.FormFactor = Enum.FormFactor.Plate
2468Part149.formFactor = Enum.FormFactor.Plate
2469BlockMesh150.Parent = Part149
2470BlockMesh150.Scale = Vector3.new(0.739130437, 0.0869565234, 0.0434782617)
2471Part151.Parent = Tool0
2472Part151.CFrame = CFrame.new(5.3687129, 1.07141304, -60.2402954, 0.743215442, -0.668862998, 0.0158441588, -0.00903241895, -0.0337103121, -0.999391317, 0.668989003, 0.742619395, -0.0310956016)
2473Part151.Orientation = Vector3.new(88, 153, -165)
2474Part151.Position = Vector3.new(5.3687129, 1.07141304, -60.2402954)
2475Part151.Rotation = Vector3.new(91.7799988, 0.909999967, 41.9899979)
2476Part151.Color = Color3.new(0.843137, 0.772549, 0.603922)
2477Part151.Size = Vector3.new(1, 0.400000006, 1)
2478Part151.Anchored = true
2479Part151.BottomSurface = Enum.SurfaceType.Smooth
2480Part151.BrickColor = BrickColor.new("Brick yellow")
2481Part151.CanCollide = false
2482Part151.TopSurface = Enum.SurfaceType.Smooth
2483Part151.brickColor = BrickColor.new("Brick yellow")
2484Part151.FormFactor = Enum.FormFactor.Plate
2485Part151.formFactor = Enum.FormFactor.Plate
2486BlockMesh152.Parent = Part151
2487BlockMesh152.Scale = Vector3.new(0.739130437, 0.0869565234, 0.0434782617)
2488Part153.Parent = Tool0
2489Part153.CFrame = CFrame.new(5.89385986, 1.08633494, -59.053833, -0.0158441979, -0.891004562, -0.453714997, 0.999391377, -1.30599318e-07, -0.0348995589, 0.0310957693, -0.453991085, 0.890461385)
2490Part153.Orientation = Vector3.new(2, -27, 90)
2491Part153.Position = Vector3.new(5.89385986, 1.08633494, -59.053833)
2492Part153.Rotation = Vector3.new(2.24000001, -26.9799995, 91.0199966)
2493Part153.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2494Part153.Size = Vector3.new(1, 0.400000006, 1)
2495Part153.Anchored = true
2496Part153.BottomSurface = Enum.SurfaceType.Smooth
2497Part153.BrickColor = BrickColor.new("Really black")
2498Part153.CanCollide = false
2499Part153.Reflectance = 0.10000000149012
2500Part153.TopSurface = Enum.SurfaceType.Smooth
2501Part153.brickColor = BrickColor.new("Really black")
2502Part153.FormFactor = Enum.FormFactor.Plate
2503Part153.formFactor = Enum.FormFactor.Plate
2504BlockMesh154.Parent = Part153
2505BlockMesh154.Scale = Vector3.new(0.0434782617, 0.0434782617, 0.0869565234)
2506Part155.Parent = Tool0
2507Part155.CFrame = CFrame.new(5.88500977, 1.02039599, -59.036499, -0.0158441979, -0.891004562, -0.453714997, 0.999391377, -1.30599318e-07, -0.0348995589, 0.0310957693, -0.453991085, 0.890461385)
2508Part155.Orientation = Vector3.new(2, -27, 90)
2509Part155.Position = Vector3.new(5.88500977, 1.02039599, -59.036499)
2510Part155.Rotation = Vector3.new(2.24000001, -26.9799995, 91.0199966)
2511Part155.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2512Part155.Size = Vector3.new(1, 0.400000006, 1)
2513Part155.Anchored = true
2514Part155.BottomSurface = Enum.SurfaceType.Smooth
2515Part155.BrickColor = BrickColor.new("Really black")
2516Part155.CanCollide = false
2517Part155.Reflectance = 0.10000000149012
2518Part155.TopSurface = Enum.SurfaceType.Smooth
2519Part155.brickColor = BrickColor.new("Really black")
2520Part155.FormFactor = Enum.FormFactor.Plate
2521Part155.formFactor = Enum.FormFactor.Plate
2522BlockMesh156.Parent = Part155
2523BlockMesh156.Scale = Vector3.new(0.0869565234, 0.0434782617, 0.0434782617)
2524Part157.Parent = Tool0
2525Part157.CFrame = CFrame.new(1.90228295, 0.991778016, -60.9846191, -0.453715086, -0.0154091343, -0.891012132, -0.0348995663, 0.999391258, 0.000487846322, 0.890461445, 0.0313174427, -0.453975767)
2526Part157.Orientation = Vector3.new(-0.0299999993, -117, -2)
2527Part157.Position = Vector3.new(1.90228295, 0.991778016, -60.9846191)
2528Part157.Rotation = Vector3.new(-179.940002, -63, 178.050003)
2529Part157.Color = Color3.new(0.843137, 0.772549, 0.603922)
2530Part157.Size = Vector3.new(1, 1, 1)
2531Part157.Anchored = true
2532Part157.BottomSurface = Enum.SurfaceType.Smooth
2533Part157.BrickColor = BrickColor.new("Brick yellow")
2534Part157.CanCollide = false
2535Part157.TopSurface = Enum.SurfaceType.Smooth
2536Part157.brickColor = BrickColor.new("Brick yellow")
2537Part157.FormFactor = Enum.FormFactor.Symmetric
2538Part157.formFactor = Enum.FormFactor.Symmetric
2539SpecialMesh158.Parent = Part157
2540SpecialMesh158.Scale = Vector3.new(0.130434781, 0.347826093, 0.173913047)
2541SpecialMesh158.MeshType = Enum.MeshType.Wedge
2542Part159.Parent = Tool0
2543Part159.CFrame = CFrame.new(5.17410278, 1.11723495, -60.4134521, -0.453713655, -0.0158440918, -0.891005278, -0.0348994136, 0.999391317, -1.43317962e-07, 0.890462279, 0.0310956463, -0.453989655)
2544Part159.Orientation = Vector3.new(0, -117, -2)
2545Part159.Position = Vector3.new(5.17410278, 1.11723495, -60.4134521)
2546Part159.Rotation = Vector3.new(180, -63, 178)
2547Part159.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2548Part159.Size = Vector3.new(1, 1, 1)
2549Part159.Anchored = true
2550Part159.BottomSurface = Enum.SurfaceType.Smooth
2551Part159.BrickColor = BrickColor.new("Really black")
2552Part159.CanCollide = false
2553Part159.Reflectance = 0.10000000149012
2554Part159.TopSurface = Enum.SurfaceType.Smooth
2555Part159.brickColor = BrickColor.new("Really black")
2556Part159.FormFactor = Enum.FormFactor.Symmetric
2557Part159.formFactor = Enum.FormFactor.Symmetric
2558CylinderMesh160.Parent = Part159
2559CylinderMesh160.Scale = Vector3.new(0.217391297, 0.0304347817, 0.217391297)
2560Part161.Parent = Tool0
2561Part161.CFrame = CFrame.new(5.05639601, 1.10209703, -58.5893555, -0.950860322, -0.309210569, 0.0158441328, -0.0246777516, 0.0246776324, -0.999391377, 0.308631331, -0.950671613, -0.0310957562)
2562Part161.Orientation = Vector3.new(88, 153, -45)
2563Part161.Position = Vector3.new(5.05639601, 1.10209703, -58.5893555)
2564Part161.Rotation = Vector3.new(91.7799988, 0.909999967, 161.98999)
2565Part161.Color = Color3.new(0.843137, 0.772549, 0.603922)
2566Part161.Size = Vector3.new(1, 0.400000006, 1)
2567Part161.Anchored = true
2568Part161.BottomSurface = Enum.SurfaceType.Smooth
2569Part161.BrickColor = BrickColor.new("Brick yellow")
2570Part161.CanCollide = false
2571Part161.TopSurface = Enum.SurfaceType.Smooth
2572Part161.brickColor = BrickColor.new("Brick yellow")
2573Part161.FormFactor = Enum.FormFactor.Plate
2574Part161.formFactor = Enum.FormFactor.Plate
2575BlockMesh162.Parent = Part161
2576BlockMesh162.Scale = Vector3.new(0.347826093, 0.0869565234, 0.0434782617)
2577Part163.Parent = Tool0
2578Part163.CFrame = CFrame.new(5.69113111, 1.06392896, -59.835144, 0.309211999, -0.950859904, 0.0158441216, -0.0246774796, -0.0246777385, -0.999391317, 0.950671077, 0.308632702, -0.031095624)
2579Part163.Orientation = Vector3.new(88, 153, -135)
2580Part163.Position = Vector3.new(5.69113111, 1.06392896, -59.835144)
2581Part163.Rotation = Vector3.new(91.7799988, 0.909999967, 71.9899979)
2582Part163.Color = Color3.new(0.843137, 0.772549, 0.603922)
2583Part163.Size = Vector3.new(1, 0.400000006, 1)
2584Part163.Anchored = true
2585Part163.BottomSurface = Enum.SurfaceType.Smooth
2586Part163.BrickColor = BrickColor.new("Brick yellow")
2587Part163.CanCollide = false
2588Part163.TopSurface = Enum.SurfaceType.Smooth
2589Part163.brickColor = BrickColor.new("Brick yellow")
2590Part163.FormFactor = Enum.FormFactor.Plate
2591Part163.formFactor = Enum.FormFactor.Plate
2592BlockMesh164.Parent = Part163
2593BlockMesh164.Scale = Vector3.new(0.347826093, 0.0869565234, 0.0434782617)
2594Part165.Parent = Tool0
2595Part165.CFrame = CFrame.new(4.54177809, 1.09481895, -58.6175537, 0.978074431, -0.207646117, 0.0158441253, 0.00903273653, -0.0337103345, -0.999391377, 0.208053246, 0.977621436, -0.0310957581)
2596Part165.Orientation = Vector3.new(88, 153, 165)
2597Part165.Position = Vector3.new(4.54177809, 1.09481895, -58.6175537)
2598Part165.Rotation = Vector3.new(91.7799988, 0.909999967, 11.9899998)
2599Part165.Color = Color3.new(0.843137, 0.772549, 0.603922)
2600Part165.Size = Vector3.new(1, 0.400000006, 1)
2601Part165.Anchored = true
2602Part165.BottomSurface = Enum.SurfaceType.Smooth
2603Part165.BrickColor = BrickColor.new("Brick yellow")
2604Part165.CanCollide = false
2605Part165.TopSurface = Enum.SurfaceType.Smooth
2606Part165.brickColor = BrickColor.new("Brick yellow")
2607Part165.FormFactor = Enum.FormFactor.Plate
2608Part165.formFactor = Enum.FormFactor.Plate
2609BlockMesh166.Parent = Part165
2610BlockMesh166.Scale = Vector3.new(0.739130437, 0.0869565234, 0.0434782617)
2611Part167.Parent = Tool0
2612Part167.CFrame = CFrame.new(1.58929396, 1.18733501, -61.1364136, -0.453715086, -0.0154091343, -0.891012132, -0.0348995663, 0.999391258, 0.000487846322, 0.890461445, 0.0313174427, -0.453975767)
2613Part167.Orientation = Vector3.new(-0.0299999993, -117, -2)
2614Part167.Position = Vector3.new(1.58929396, 1.18733501, -61.1364136)
2615Part167.Rotation = Vector3.new(-179.940002, -63, 178.050003)
2616Part167.Color = Color3.new(0.843137, 0.772549, 0.603922)
2617Part167.Size = Vector3.new(1, 1, 1)
2618Part167.Anchored = true
2619Part167.BottomSurface = Enum.SurfaceType.Smooth
2620Part167.BrickColor = BrickColor.new("Brick yellow")
2621Part167.CanCollide = false
2622Part167.TopSurface = Enum.SurfaceType.Smooth
2623Part167.brickColor = BrickColor.new("Brick yellow")
2624Part167.FormFactor = Enum.FormFactor.Symmetric
2625Part167.formFactor = Enum.FormFactor.Symmetric
2626SpecialMesh168.Parent = Part167
2627SpecialMesh168.Scale = Vector3.new(0.130434781, 0.0434782617, 0.521739125)
2628SpecialMesh168.MeshType = Enum.MeshType.Wedge
2629Part169.Parent = Tool0
2630Part169.CFrame = CFrame.new(2.71838403, 0.830904007, -60.5751343, 0.891039908, -0.0154090934, -0.453660578, -0.000485671277, 0.999391198, -0.0348994248, 0.453921288, 0.0313172527, 0.89048934)
2631Part169.Orientation = Vector3.new(2, -27, -0.0299999993)
2632Part169.Position = Vector3.new(2.71838403, 0.830904007, -60.5751343)
2633Part169.Rotation = Vector3.new(2.24000001, -26.9799995, 0.98999995)
2634Part169.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2635Part169.Size = Vector3.new(1, 1, 1)
2636Part169.Anchored = true
2637Part169.BottomSurface = Enum.SurfaceType.Smooth
2638Part169.BrickColor = BrickColor.new("Really black")
2639Part169.CanCollide = false
2640Part169.Reflectance = 0.10000000149012
2641Part169.TopSurface = Enum.SurfaceType.Smooth
2642Part169.brickColor = BrickColor.new("Really black")
2643Part169.FormFactor = Enum.FormFactor.Symmetric
2644Part169.formFactor = Enum.FormFactor.Symmetric
2645SpecialMesh170.Parent = Part169
2646SpecialMesh170.MeshId = "http://www.roblox.com/asset/?id=3270017"
2647SpecialMesh170.Scale = Vector3.new(0.347826093, 0.260869563, 0.434782594)
2648SpecialMesh170.MeshType = Enum.MeshType.FileMesh
2649Part171.Parent = Tool0
2650Part171.CFrame = CFrame.new(2.02056909, 0.861414015, -60.9294434, -0.453714997, -0.0158441309, -0.891004443, -0.0348995589, 0.999391258, -5.30958957e-08, 0.890461385, 0.0310958009, -0.453991085)
2651Part171.Orientation = Vector3.new(0, -117, -2)
2652Part171.Position = Vector3.new(2.02056909, 0.861414015, -60.9294434)
2653Part171.Rotation = Vector3.new(180, -63, 178)
2654Part171.Color = Color3.new(0.843137, 0.772549, 0.603922)
2655Part171.Size = Vector3.new(1, 1, 1)
2656Part171.Anchored = true
2657Part171.BottomSurface = Enum.SurfaceType.Smooth
2658Part171.BrickColor = BrickColor.new("Brick yellow")
2659Part171.CanCollide = false
2660Part171.TopSurface = Enum.SurfaceType.Smooth
2661Part171.brickColor = BrickColor.new("Brick yellow")
2662Part171.FormFactor = Enum.FormFactor.Symmetric
2663Part171.formFactor = Enum.FormFactor.Symmetric
2664SpecialMesh172.Parent = Part171
2665SpecialMesh172.Scale = Vector3.new(0.130434781, 0.0869565234, 0.260869563)
2666SpecialMesh172.MeshType = Enum.MeshType.Wedge
2667Part173.Parent = Tool0
2668Part173.CFrame = CFrame.new(5.76620483, 1.01737499, -59.4193726, 0.0525752716, 0.0158441346, 0.998490036, -0.030223703, -0.999391317, 0.0174498856, 0.99815774, -0.031095637, -0.0520647019)
2669Part173.Orientation = Vector3.new(-1, 92.9799957, -178.269989)
2670Part173.Position = Vector3.new(5.76620483, 1.01737499, -59.4193726)
2671Part173.Rotation = Vector3.new(-161.470001, 86.8499985, -16.7700005)
2672Part173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2673Part173.Size = Vector3.new(1, 0.400000006, 1)
2674Part173.Anchored = true
2675Part173.BottomSurface = Enum.SurfaceType.Smooth
2676Part173.BrickColor = BrickColor.new("Really black")
2677Part173.CanCollide = false
2678Part173.Reflectance = 0.10000000149012
2679Part173.TopSurface = Enum.SurfaceType.Smooth
2680Part173.brickColor = BrickColor.new("Really black")
2681Part173.FormFactor = Enum.FormFactor.Plate
2682Part173.formFactor = Enum.FormFactor.Plate
2683BlockMesh174.Parent = Part173
2684BlockMesh174.Scale = Vector3.new(0.347826093, 0.0434782617, 0.0434782617)
2685Part175.Parent = Tool0
2686Part175.CFrame = CFrame.new(5.80761719, 1.07970595, -58.8845825, -0.0158441551, -0.891004682, -0.453714877, 0.999391377, -9.39702858e-08, -0.0348995551, 0.0310957767, -0.453990936, 0.890461385)
2687Part175.Orientation = Vector3.new(2, -27, 90)
2688Part175.Position = Vector3.new(5.80761719, 1.07970595, -58.8845825)
2689Part175.Rotation = Vector3.new(2.24000001, -26.9799995, 91.0199966)
2690Part175.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2691Part175.Size = Vector3.new(1, 0.400000006, 1)
2692Part175.Anchored = true
2693Part175.BottomSurface = Enum.SurfaceType.Smooth
2694Part175.BrickColor = BrickColor.new("Really black")
2695Part175.CanCollide = false
2696Part175.Reflectance = 0.10000000149012
2697Part175.TopSurface = Enum.SurfaceType.Smooth
2698Part175.brickColor = BrickColor.new("Really black")
2699Part175.FormFactor = Enum.FormFactor.Plate
2700Part175.formFactor = Enum.FormFactor.Plate
2701BlockMesh176.Parent = Part175
2702BlockMesh176.Scale = Vector3.new(0.0434782617, 0.0434782617, 0.0869565234)
2703Part177.Parent = Tool0
2704Part177.CFrame = CFrame.new(5.81851196, 1.01528394, -58.9060059, -0.0158441979, -0.891004562, -0.453714997, 0.999391377, -1.30599318e-07, -0.0348995589, 0.0310957693, -0.453991085, 0.890461385)
2705Part177.Orientation = Vector3.new(2, -27, 90)
2706Part177.Position = Vector3.new(5.81851196, 1.01528394, -58.9060059)
2707Part177.Rotation = Vector3.new(2.24000001, -26.9799995, 91.0199966)
2708Part177.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2709Part177.Size = Vector3.new(1, 0.400000006, 1)
2710Part177.Anchored = true
2711Part177.BottomSurface = Enum.SurfaceType.Smooth
2712Part177.BrickColor = BrickColor.new("Really black")
2713Part177.CanCollide = false
2714Part177.Reflectance = 0.10000000149012
2715Part177.TopSurface = Enum.SurfaceType.Smooth
2716Part177.brickColor = BrickColor.new("Really black")
2717Part177.FormFactor = Enum.FormFactor.Plate
2718Part177.formFactor = Enum.FormFactor.Plate
2719BlockMesh178.Parent = Part177
2720BlockMesh178.Scale = Vector3.new(0.0869565234, 0.0434782617, 0.0434782617)
2721Part179.Parent = Tool0
2722Part179.CFrame = CFrame.new(5.76062012, 1.09551501, -59.416687, 0.0525734276, -0.998490095, 0.0158441626, -0.0302238669, -0.0174498595, -0.999391377, 0.99815774, 0.0520628802, -0.0310957767)
2723Part179.Orientation = Vector3.new(88, 153, -120)
2724Part179.Position = Vector3.new(5.76062012, 1.09551501, -59.416687)
2725Part179.Rotation = Vector3.new(91.7799988, 0.909999967, 86.9899979)
2726Part179.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2727Part179.Size = Vector3.new(1, 0.400000006, 1)
2728Part179.Anchored = true
2729Part179.BottomSurface = Enum.SurfaceType.Smooth
2730Part179.BrickColor = BrickColor.new("Really black")
2731Part179.CanCollide = false
2732Part179.Reflectance = 0.10000000149012
2733Part179.TopSurface = Enum.SurfaceType.Smooth
2734Part179.brickColor = BrickColor.new("Really black")
2735Part179.FormFactor = Enum.FormFactor.Plate
2736Part179.formFactor = Enum.FormFactor.Plate
2737BlockMesh180.Parent = Part179
2738BlockMesh180.Scale = Vector3.new(0.347826093, 0.0869565234, 0.0434782617)
2739Part181.Parent = Tool0
2740Part181.CFrame = CFrame.new(5.85220289, 0.996111989, -58.9720459, -0.0158442929, -0.891004562, -0.453715086, 0.999391377, -1.62096498e-07, -0.0348997153, 0.0310958885, -0.453991085, 0.890461445)
2741Part181.Orientation = Vector3.new(2, -27, 90)
2742Part181.Position = Vector3.new(5.85220289, 0.996111989, -58.9720459)
2743Part181.Rotation = Vector3.new(2.24000001, -26.9799995, 91.0199966)
2744Part181.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2745Part181.Size = Vector3.new(1, 0.400000006, 1)
2746Part181.Anchored = true
2747Part181.BottomSurface = Enum.SurfaceType.Smooth
2748Part181.BrickColor = BrickColor.new("Really black")
2749Part181.CanCollide = false
2750Part181.Reflectance = 0.10000000149012
2751Part181.TopSurface = Enum.SurfaceType.Smooth
2752Part181.brickColor = BrickColor.new("Really black")
2753Part181.FormFactor = Enum.FormFactor.Plate
2754Part181.formFactor = Enum.FormFactor.Plate
2755BlockMesh182.Parent = Part181
2756BlockMesh182.Scale = Vector3.new(0.0434782617, 0.0434782617, 0.173913047)
2757Part183.Parent = Tool0
2758Part183.CFrame = CFrame.new(5.39855909, 1.11264896, -58.7540894, -0.83843106, -0.544775248, 0.0158441775, -0.0302239712, 0.0174496975, -0.999391377, 0.544166982, -0.838398695, -0.0310957674)
2759Part183.Orientation = Vector3.new(88, 153, -60)
2760Part183.Position = Vector3.new(5.39855909, 1.11264896, -58.7540894)
2761Part183.Rotation = Vector3.new(91.7799988, 0.909999967, 146.98999)
2762Part183.Color = Color3.new(0.843137, 0.772549, 0.603922)
2763Part183.Size = Vector3.new(1, 0.400000006, 1)
2764Part183.Anchored = true
2765Part183.BottomSurface = Enum.SurfaceType.Smooth
2766Part183.BrickColor = BrickColor.new("Brick yellow")
2767Part183.CanCollide = false
2768Part183.TopSurface = Enum.SurfaceType.Smooth
2769Part183.brickColor = BrickColor.new("Brick yellow")
2770Part183.FormFactor = Enum.FormFactor.Plate
2771Part183.formFactor = Enum.FormFactor.Plate
2772BlockMesh184.Parent = Part183
2773BlockMesh184.Scale = Vector3.new(0.434782594, 0.0869565234, 0.0434782617)
2774Part185.Parent = Tool0
2775Part185.CFrame = CFrame.new(5.3999629, 1.02575195, -58.7567749, -0.838430882, -0.544775069, 0.01584417, -0.0302239638, 0.0174496844, -0.999391377, 0.544166803, -0.838398278, -0.0310957693)
2776Part185.Orientation = Vector3.new(88, 153, -60)
2777Part185.Position = Vector3.new(5.3999629, 1.02575195, -58.7567749)
2778Part185.Rotation = Vector3.new(91.7799988, 0.909999967, 146.98999)
2779Part185.Color = Color3.new(0.843137, 0.772549, 0.603922)
2780Part185.Size = Vector3.new(1, 0.400000006, 1)
2781Part185.Anchored = true
2782Part185.BottomSurface = Enum.SurfaceType.Smooth
2783Part185.BrickColor = BrickColor.new("Brick yellow")
2784Part185.CanCollide = false
2785Part185.TopSurface = Enum.SurfaceType.Smooth
2786Part185.brickColor = BrickColor.new("Brick yellow")
2787Part185.FormFactor = Enum.FormFactor.Plate
2788Part185.formFactor = Enum.FormFactor.Plate
2789BlockMesh186.Parent = Part185
2790BlockMesh186.Scale = Vector3.new(0.434782594, 0.0869565234, 0.0434782617)
2791Part187.Parent = Tool0
2792Part187.CFrame = CFrame.new(5.43572998, 1.07052004, -58.7790527, -0.838431001, -0.544775248, 0.0158441402, -0.0302239228, 0.0174496938, -0.999391377, 0.544166923, -0.838398635, -0.0310957506)
2793Part187.Orientation = Vector3.new(88, 153, -60)
2794Part187.Position = Vector3.new(5.43572998, 1.07052004, -58.7790527)
2795Part187.Rotation = Vector3.new(91.7799988, 0.909999967, 146.98999)
2796Part187.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2797Part187.Size = Vector3.new(1, 0.400000006, 1)
2798Part187.Anchored = true
2799Part187.BottomSurface = Enum.SurfaceType.Smooth
2800Part187.BrickColor = BrickColor.new("Really black")
2801Part187.CanCollide = false
2802Part187.Reflectance = 0.10000000149012
2803Part187.TopSurface = Enum.SurfaceType.Smooth
2804Part187.brickColor = BrickColor.new("Really black")
2805Part187.FormFactor = Enum.FormFactor.Plate
2806Part187.formFactor = Enum.FormFactor.Plate
2807BlockMesh188.Parent = Part187
2808BlockMesh188.Scale = Vector3.new(0.347826093, 0.0869565234, 0.0434782617)
2809Part189.Parent = Tool0
2810Part189.CFrame = CFrame.new(2.25372291, 0.756075978, -60.8147583, -0.779554725, 0.431780905, 0.453715086, 0.499695599, 0.865498424, 0.0348995663, -0.377619922, 0.253925294, -0.890461445)
2811Part189.Orientation = Vector3.new(-2, 153, 30)
2812Part189.Position = Vector3.new(2.25372291, 0.756075978, -60.8147583)
2813Part189.Rotation = Vector3.new(-177.759995, 26.9799995, -151.019989)
2814Part189.Color = Color3.new(0.843137, 0.772549, 0.603922)
2815Part189.Size = Vector3.new(1, 1, 1)
2816Part189.Anchored = true
2817Part189.BottomSurface = Enum.SurfaceType.Smooth
2818Part189.BrickColor = BrickColor.new("Brick yellow")
2819Part189.CanCollide = false
2820Part189.TopSurface = Enum.SurfaceType.Smooth
2821Part189.brickColor = BrickColor.new("Brick yellow")
2822Part189.FormFactor = Enum.FormFactor.Symmetric
2823Part189.formFactor = Enum.FormFactor.Symmetric
2824BlockMesh190.Parent = Part189
2825BlockMesh190.Scale = Vector3.new(0.217391297, 0.173913047, 0.173913047)
2826Part191.Parent = Tool0
2827Part191.CFrame = CFrame.new(5.7590332, 1.05337703, -59.4614868, 0.0525734276, -0.998490095, 0.0158441626, -0.0302238669, -0.0174498595, -0.999391377, 0.99815774, 0.0520628802, -0.0310957767)
2828Part191.Orientation = Vector3.new(88, 153, -120)
2829Part191.Position = Vector3.new(5.7590332, 1.05337703, -59.4614868)
2830Part191.Rotation = Vector3.new(91.7799988, 0.909999967, 86.9899979)
2831Part191.Color = Color3.new(0.843137, 0.772549, 0.603922)
2832Part191.Size = Vector3.new(1, 0.400000006, 1)
2833Part191.Anchored = true
2834Part191.BottomSurface = Enum.SurfaceType.Smooth
2835Part191.BrickColor = BrickColor.new("Brick yellow")
2836Part191.CanCollide = false
2837Part191.TopSurface = Enum.SurfaceType.Smooth
2838Part191.brickColor = BrickColor.new("Brick yellow")
2839Part191.FormFactor = Enum.FormFactor.Plate
2840Part191.formFactor = Enum.FormFactor.Plate
2841BlockMesh192.Parent = Part191
2842BlockMesh192.Scale = Vector3.new(0.434782594, 0.0869565234, 0.0434782617)
2843Part193.Parent = Tool0
2844Part193.CFrame = CFrame.new(2.67462206, 1.14819503, -60.5849609, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
2845Part193.Orientation = Vector3.new(-2, 153, 0)
2846Part193.Position = Vector3.new(2.67462206, 1.14819503, -60.5849609)
2847Part193.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
2848Part193.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2849Part193.Size = Vector3.new(1, 0.400000006, 1)
2850Part193.Anchored = true
2851Part193.BottomSurface = Enum.SurfaceType.Smooth
2852Part193.BrickColor = BrickColor.new("Really black")
2853Part193.CanCollide = false
2854Part193.Reflectance = 0.10000000149012
2855Part193.TopSurface = Enum.SurfaceType.Smooth
2856Part193.brickColor = BrickColor.new("Really black")
2857Part193.FormFactor = Enum.FormFactor.Plate
2858Part193.formFactor = Enum.FormFactor.Plate
2859BlockMesh194.Parent = Part193
2860BlockMesh194.Scale = Vector3.new(0.695652187, 0.173913047, 0.0869565234)
2861Part195.Parent = Tool0
2862Part195.CFrame = CFrame.new(5.43933105, 0.992242992, -58.7778931, 0.838431001, -0.0158441663, 0.544775248, 0.0302239638, 0.999391377, -0.0174497161, -0.544166923, 0.0310957916, 0.838398635)
2863Part195.Orientation = Vector3.new(1, 33.0200005, 1.73000002)
2864Part195.Position = Vector3.new(5.43933105, 0.992242992, -58.7778931)
2865Part195.Rotation = Vector3.new(1.18999994, 33.0099983, 1.07999992)
2866Part195.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2867Part195.Size = Vector3.new(1, 0.400000006, 1)
2868Part195.Anchored = true
2869Part195.BottomSurface = Enum.SurfaceType.Smooth
2870Part195.BrickColor = BrickColor.new("Really black")
2871Part195.CanCollide = false
2872Part195.Reflectance = 0.10000000149012
2873Part195.TopSurface = Enum.SurfaceType.Smooth
2874Part195.brickColor = BrickColor.new("Really black")
2875Part195.FormFactor = Enum.FormFactor.Plate
2876Part195.formFactor = Enum.FormFactor.Plate
2877BlockMesh196.Parent = Part195
2878BlockMesh196.Scale = Vector3.new(0.347826093, 0.0434782617, 0.0434782617)
2879Part197.Parent = Tool0
2880Part197.CFrame = CFrame.new(5.75762892, 1.14028394, -59.4587402, 0.0525734276, -0.998490036, 0.0158441626, -0.0302238762, -0.0174498539, -0.999391377, 0.99815774, 0.0520628504, -0.0310957916)
2881Part197.Orientation = Vector3.new(88, 153, -120)
2882Part197.Position = Vector3.new(5.75762892, 1.14028394, -59.4587402)
2883Part197.Rotation = Vector3.new(91.7799988, 0.909999967, 86.9899979)
2884Part197.Color = Color3.new(0.843137, 0.772549, 0.603922)
2885Part197.Size = Vector3.new(1, 0.400000006, 1)
2886Part197.Anchored = true
2887Part197.BottomSurface = Enum.SurfaceType.Smooth
2888Part197.BrickColor = BrickColor.new("Brick yellow")
2889Part197.CanCollide = false
2890Part197.TopSurface = Enum.SurfaceType.Smooth
2891Part197.brickColor = BrickColor.new("Brick yellow")
2892Part197.FormFactor = Enum.FormFactor.Plate
2893Part197.formFactor = Enum.FormFactor.Plate
2894BlockMesh198.Parent = Part197
2895BlockMesh198.Scale = Vector3.new(0.434782594, 0.0869565234, 0.0434782617)
2896Part199.Parent = Tool0
2897Part199.CFrame = CFrame.new(1.71273804, 0.731050014, -61.0914307, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
2898Part199.Orientation = Vector3.new(-2, 153, 0)
2899Part199.Position = Vector3.new(1.71273804, 0.731050014, -61.0914307)
2900Part199.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
2901Part199.Color = Color3.new(0.843137, 0.772549, 0.603922)
2902Part199.Size = Vector3.new(1, 1, 1)
2903Part199.Anchored = true
2904Part199.BottomSurface = Enum.SurfaceType.Smooth
2905Part199.BrickColor = BrickColor.new("Brick yellow")
2906Part199.CanCollide = false
2907Part199.TopSurface = Enum.SurfaceType.Smooth
2908Part199.brickColor = BrickColor.new("Brick yellow")
2909Part199.FormFactor = Enum.FormFactor.Symmetric
2910Part199.formFactor = Enum.FormFactor.Symmetric
2911BlockMesh200.Parent = Part199
2912BlockMesh200.Scale = Vector3.new(1.13043475, 0.173913047, 0.130434781)
2913Part201.Parent = Tool0
2914Part201.CFrame = CFrame.new(1.59030199, 1.12212503, -61.1384277, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
2915Part201.Orientation = Vector3.new(-2, 153, 0)
2916Part201.Position = Vector3.new(1.59030199, 1.12212503, -61.1384277)
2917Part201.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
2918Part201.Color = Color3.new(0.843137, 0.772549, 0.603922)
2919Part201.Size = Vector3.new(1, 1, 1)
2920Part201.Anchored = true
2921Part201.BottomSurface = Enum.SurfaceType.Smooth
2922Part201.BrickColor = BrickColor.new("Brick yellow")
2923Part201.CanCollide = false
2924Part201.TopSurface = Enum.SurfaceType.Smooth
2925Part201.brickColor = BrickColor.new("Brick yellow")
2926Part201.FormFactor = Enum.FormFactor.Symmetric
2927Part201.formFactor = Enum.FormFactor.Symmetric
2928BlockMesh202.Parent = Part201
2929BlockMesh202.Scale = Vector3.new(0.521739125, 0.0869565234, 0.130434781)
2930Part203.Parent = Tool0
2931Part203.CFrame = CFrame.new(1.18835497, 0.818009973, -61.3552246, 0.453714967, -0.891012013, -0.0154090524, 0.0348994769, 0.000487895129, 0.99939096, -0.890461326, -0.453975677, 0.0313173793)
2932Part203.Orientation = Vector3.new(-88, -26.1999989, 89.1999969)
2933Part203.Position = Vector3.new(1.18835497, 0.818009973, -61.3552246)
2934Part203.Rotation = Vector3.new(-88.2099991, -0.879999995, 63.0099983)
2935Part203.Color = Color3.new(0.843137, 0.772549, 0.603922)
2936Part203.Size = Vector3.new(1, 1, 1)
2937Part203.Anchored = true
2938Part203.BottomSurface = Enum.SurfaceType.Smooth
2939Part203.BrickColor = BrickColor.new("Brick yellow")
2940Part203.CanCollide = false
2941Part203.TopSurface = Enum.SurfaceType.Smooth
2942Part203.brickColor = BrickColor.new("Brick yellow")
2943Part203.FormFactor = Enum.FormFactor.Symmetric
2944Part203.formFactor = Enum.FormFactor.Symmetric
2945SpecialMesh204.Parent = Part203
2946SpecialMesh204.Scale = Vector3.new(0.130434781, 0.0434782617, 0.521739125)
2947SpecialMesh204.MeshType = Enum.MeshType.Wedge
2948Part205.Parent = Tool0
2949Part205.CFrame = CFrame.new(1.63735998, 0.600642025, -61.1349487, -0.453714907, 0.890996516, -0.0162792541, -0.034899652, 0.000488072255, 0.99939096, 0.890461206, 0.454006106, 0.0308741815)
2950Part205.Orientation = Vector3.new(-88, -27.7999992, -89.1999969)
2951Part205.Position = Vector3.new(1.63735998, 0.600642025, -61.1349487)
2952Part205.Rotation = Vector3.new(-88.2299957, -0.930000007, -116.989998)
2953Part205.Color = Color3.new(0.843137, 0.772549, 0.603922)
2954Part205.Size = Vector3.new(1, 1, 1)
2955Part205.Anchored = true
2956Part205.BottomSurface = Enum.SurfaceType.Smooth
2957Part205.BrickColor = BrickColor.new("Brick yellow")
2958Part205.CanCollide = false
2959Part205.TopSurface = Enum.SurfaceType.Smooth
2960Part205.brickColor = BrickColor.new("Brick yellow")
2961Part205.FormFactor = Enum.FormFactor.Symmetric
2962Part205.formFactor = Enum.FormFactor.Symmetric
2963SpecialMesh206.Parent = Part205
2964SpecialMesh206.Scale = Vector3.new(0.130434781, 0.956521749, 0.0869565234)
2965SpecialMesh206.MeshType = Enum.MeshType.Wedge
2966Part207.Parent = Tool0
2967Part207.CFrame = CFrame.new(1.515625, 0.948306024, -61.1833496, -0.891004562, -0.0158441626, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348995663, -0.453991085, 0.0310957916, -0.890461445)
2968Part207.Orientation = Vector3.new(-2, 153, 0)
2969Part207.Position = Vector3.new(1.515625, 0.948306024, -61.1833496)
2970Part207.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
2971Part207.Color = Color3.new(0.843137, 0.772549, 0.603922)
2972Part207.Size = Vector3.new(1, 1, 1)
2973Part207.Anchored = true
2974Part207.BottomSurface = Enum.SurfaceType.Smooth
2975Part207.BrickColor = BrickColor.new("Brick yellow")
2976Part207.CanCollide = false
2977Part207.TopSurface = Enum.SurfaceType.Smooth
2978Part207.brickColor = BrickColor.new("Brick yellow")
2979Part207.FormFactor = Enum.FormFactor.Symmetric
2980Part207.formFactor = Enum.FormFactor.Symmetric
2981BlockMesh208.Parent = Part207
2982BlockMesh208.Scale = Vector3.new(0.695652187, 0.260869563, 0.130434781)
2983Part209.Parent = Tool0
2984Part209.CFrame = CFrame.new(4.00524902, 0.821336985, -59.7489014, -0.891004562, -0.0158442371, 0.453715086, -8.72858266e-08, 0.999391377, 0.0348997414, -0.453991085, 0.0310959406, -0.890461445)
2985Part209.Orientation = Vector3.new(-2, 153, 0)
2986Part209.Position = Vector3.new(4.00524902, 0.821336985, -59.7489014)
2987Part209.Rotation = Vector3.new(-177.759995, 26.9799995, 178.979996)
2988Part209.Color = Color3.new(0.843137, 0.772549, 0.603922)
2989Part209.Size = Vector3.new(1, 1, 1)
2990Part209.Anchored = true
2991Part209.BottomSurface = Enum.SurfaceType.Smooth
2992Part209.BrickColor = BrickColor.new("Brick yellow")
2993Part209.CanCollide = false
2994Part209.TopSurface = Enum.SurfaceType.Smooth
2995Part209.brickColor = BrickColor.new("Brick yellow")
2996Part209.FormFactor = Enum.FormFactor.Symmetric
2997Part209.formFactor = Enum.FormFactor.Symmetric
2998SpecialMesh210.Parent = Part209
2999SpecialMesh210.Scale = Vector3.new(0.782608688, 0.0434782617, 0.0434782617)
3000SpecialMesh210.MeshType = Enum.MeshType.Wedge
3001Part211.Parent = Tool0
3002Part211.CFrame = CFrame.new(1.33892798, 1.10033596, -61.267395, 0.453715086, -0.0162791815, 0.890996635, 0.0348995663, 0.999391258, 0.00048802633, -0.890461445, 0.0308741312, 0.454006165)
3003Part211.Orientation = Vector3.new(-0.0299999993, 63, 2)
3004Part211.Position = Vector3.new(1.33892798, 1.10033596, -61.267395)
3005Part211.Rotation = Vector3.new(-0.0599999987, 63, 2.04999995)
3006Part211.Color = Color3.new(0.843137, 0.772549, 0.603922)
3007Part211.Size = Vector3.new(1, 1, 1)
3008Part211.Anchored = true
3009Part211.BottomSurface = Enum.SurfaceType.Smooth
3010Part211.BrickColor = BrickColor.new("Brick yellow")
3011Part211.CanCollide = false
3012Part211.TopSurface = Enum.SurfaceType.Smooth
3013Part211.brickColor = BrickColor.new("Brick yellow")
3014Part211.FormFactor = Enum.FormFactor.Symmetric
3015Part211.formFactor = Enum.FormFactor.Symmetric
3016SpecialMesh212.Parent = Part211
3017SpecialMesh212.Scale = Vector3.new(0.130434781, 0.0434782617, 0.0434782617)
3018SpecialMesh212.MeshType = Enum.MeshType.Wedge
3019Part213.Parent = Tool0
3020Part213.CFrame = CFrame.new(3.36108398, 1.36551094, -60.2266846, -0.453715026, -0.891004562, 0.0158441402, -0.0348995253, -8.66198491e-08, -0.999391377, 0.890461564, -0.453991085, -0.031095745)
3021Part213.Orientation = Vector3.new(88, 153, -90)
3022Part213.Position = Vector3.new(3.36108398, 1.36551094, -60.2266846)
3023Part213.Rotation = Vector3.new(91.7799988, 0.909999967, 116.989998)
3024Part213.Color = Color3.new(0.388235, 0.372549, 0.384314)
3025Part213.Size = Vector3.new(1, 0.400000006, 1)
3026Part213.Anchored = true
3027Part213.BottomSurface = Enum.SurfaceType.Smooth
3028Part213.BrickColor = BrickColor.new("Dark stone grey")
3029Part213.CanCollide = false
3030Part213.Reflectance = 0.30000001192093
3031Part213.TopSurface = Enum.SurfaceType.Smooth
3032Part213.brickColor = BrickColor.new("Dark stone grey")
3033Part213.FormFactor = Enum.FormFactor.Plate
3034Part213.formFactor = Enum.FormFactor.Plate
3035CylinderMesh214.Parent = Part213
3036CylinderMesh214.Scale = Vector3.new(0.195652172, 0.0434782617, 0.195652172)
3037Part215.Name = "A3"
3038Part215.Parent = Tool0
3039Part215.CFrame = CFrame.new(4.24438477, 1.09567404, -59.7872314, 0.453735411, -0.0158436894, 0.890994072, 0.0349010155, 0.999391258, -1.97464465e-06, -0.890451014, 0.0310976505, 0.454011321)
3040Part215.Orientation = Vector3.new(0, 63, 2)
3041Part215.Position = Vector3.new(4.24438477, 1.09567404, -59.7872314)
3042Part215.Rotation = Vector3.new(0, 63, 2)
3043Part215.Color = Color3.new(0.0509804, 0.411765, 0.67451)
3044Part215.Size = Vector3.new(1, 0.400000006, 1)
3045Part215.Anchored = true
3046Part215.BottomSurface = Enum.SurfaceType.Smooth
3047Part215.BrickColor = BrickColor.new("Bright blue")
3048Part215.CanCollide = false
3049Part215.TopSurface = Enum.SurfaceType.Smooth
3050Part215.brickColor = BrickColor.new("Bright blue")
3051Part215.FormFactor = Enum.FormFactor.Plate
3052Part215.formFactor = Enum.FormFactor.Plate
3053SpecialMesh216.Parent = Part215
3054SpecialMesh216.MeshId = "http://www.roblox.com/asset/?id=15887356"
3055SpecialMesh216.Scale = Vector3.new(0.521739125, 0.521739125, 1.26086962)
3056SpecialMesh216.TextureId = "http://www.roblox.com/asset/?id=15886781"
3057SpecialMesh216.MeshType = Enum.MeshType.FileMesh
3058LocalScript217.Name = "GuiScript"
3059LocalScript217.Parent = Tool0
3060table.insert(cors,sandbox(LocalScript217,function()
3061local Tool = script.Parent
3062local Ammo = Tool.Ammo
3063local MaxAmmo = Ammo.Value
3064
3065local vPlayer
3066local Gui
3067local Text
3068
3069function onChanged(value)
3070 if value == "Value" or value == Ammo.Value then
3071 if Gui ~= nil and Text ~= nil then
3072 if Ammo.Value >= 1 then
3073 Text.Text = ""..script.Parent.Ammo.Value.."/"..script.Parent.StoredAmmo.Value..""
3074 elseif math.floor(Ammo.Value) == 0 then
3075 Text.Text = ""..script.Parent.Ammo.Value.."/"..script.Parent.StoredAmmo.Value..""
3076 elseif Ammo.Value < 0 then
3077 for i = 0, 1, 0.03 / 2 do
3078 local Num = math.floor(i * MaxAmmo + 0.5)
3079
3080 Text.Text = ""..script.Parent.Ammo.Value.."/"..script.Parent.StoredAmmo.Value..""
3081 wait()
3082 end
3083 end
3084 end
3085 end
3086end
3087
3088function setUpGui()
3089 if vPlayer == nil or vPlayer:findFirstChild("PlayerGui") == nil then
3090 return
3091 end
3092
3093 Gui = Instance.new("ScreenGui")
3094 Text = Instance.new("TextLabel")
3095
3096 Gui.Name = "CrossbowDisplay"
3097 Gui.Parent = vPlayer.PlayerGui
3098
3099 Text.BackgroundColor3 = BrickColor.Black().Color
3100 Text.BorderColor3 = BrickColor.White().Color
3101 Text.Name = "Ammo"
3102 Text.Parent = Gui
3103 Text.Position = UDim2.new(0, 0, 1, -95)
3104 Text.Size = UDim2.new(0, 120, 0, 20)
3105 Text.Text = ""..script.Parent.Ammo.Value.."/"..script.Parent.StoredAmmo.Value..""
3106 Text.TextColor3 = BrickColor.White().Color
3107end
3108
3109function onEquippedLocal(mouse)
3110 vPlayer = game.Players.LocalPlayer
3111
3112 setUpGui()
3113end
3114
3115function onUnequippedLocal(mouse)
3116 if Gui then
3117 Gui:remove()
3118 end
3119
3120 Gui = nil
3121 Text = nil
3122 vPlayer = nil
3123end
3124
3125Tool.Equipped:connect(onEquippedLocal)
3126Tool.Unequipped:connect(onUnequippedLocal)
3127
3128Ammo.Changed:connect(onChanged)
3129end))
3130for i,v in pairs(mas:GetChildren()) do
3131 v.Parent = game:GetService("Players").LocalPlayer.Backpack
3132 pcall(function() v:MakeJoints() end)
3133end
3134mas:Destroy()
3135for i,v in pairs(cors) do
3136 spawn(function()
3137 pcall(v)
3138 end)
3139end
3140
3141function sandbox(var,func)
3142 local env = getfenv(func)
3143 local newenv = setmetatable({},{
3144 __index = function(self,k)
3145 if k=="script" then
3146 return var
3147 else
3148 return env[k]
3149 end
3150 end,
3151 })
3152 setfenv(func,newenv)
3153 return func
3154end
3155cors = {}
3156mas = Instance.new("Model",game:GetService("Lighting"))
3157Tool0 = Instance.new("Tool")
3158Part1 = Instance.new("Part")
3159SpecialMesh2 = Instance.new("SpecialMesh")
3160Sound3 = Instance.new("Sound")
3161Sound4 = Instance.new("Sound")
3162LocalScript5 = Instance.new("LocalScript")
3163Script6 = Instance.new("Script")
3164Sound7 = Instance.new("Sound")
3165Sound8 = Instance.new("Sound")
3166Script9 = Instance.new("Script")
3167LocalScript10 = Instance.new("LocalScript")
3168Animation11 = Instance.new("Animation")
3169LocalScript12 = Instance.new("LocalScript")
3170Part13 = Instance.new("Part")
3171SpecialMesh14 = Instance.new("SpecialMesh")
3172Script15 = Instance.new("Script")
3173Script16 = Instance.new("Script")
3174LocalScript17 = Instance.new("LocalScript")
3175Camera18 = Instance.new("Camera")
3176Tool0.Name = "RPG-7"
3177Tool0.Parent = mas
3178Tool0.CanBeDropped = false
3179Tool0.Grip = CFrame.new(0.0500000007, -0.600000024, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3180Tool0.GripPos = Vector3.new(0.0500000007, -0.600000024, -1)
3181Tool0.ToolTip = "RPG-7"
3182Part1.Name = "Handle"
3183Part1.Parent = Tool0
3184Part1.CFrame = CFrame.new(-20.7470474, 51.2149048, 12.1488123, -0.0153169353, 0.469224393, 0.882945836, 0.00813866127, 0.883078873, -0.469153851, -0.999849558, 0, -0.0173449218)
3185Part1.Orientation = Vector3.new(27.9799995, 91.1299973, 0.529999971)
3186Part1.Position = Vector3.new(-20.7470474, 51.2149048, 12.1488123)
3187Part1.Rotation = Vector3.new(92.1199951, 62, -91.8699951)
3188Part1.Transparency = 1
3189Part1.Size = Vector3.new(0.839999974, 1.14999998, 3.55000019)
3190Part1.BottomSurface = Enum.SurfaceType.Smooth
3191Part1.TopSurface = Enum.SurfaceType.Smooth
3192Part1.FormFactor = Enum.FormFactor.Custom
3193Part1.formFactor = Enum.FormFactor.Custom
3194SpecialMesh2.Parent = Part1
3195SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=94690054"
3196SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=94689966"
3197SpecialMesh2.MeshType = Enum.MeshType.FileMesh
3198Sound3.Name = "ReloadSound"
3199Sound3.Parent = Part1
3200Sound3.Pitch = 1.1000000238419
3201Sound3.PlaybackSpeed = 1.1000000238419
3202Sound3.SoundId = "http://www.roblox.com/Asset?ID=132456167"
3203Sound3.Volume = 1
3204Sound4.Name = "FireSound"
3205Sound4.Parent = Part1
3206Sound4.SoundId = "http://www.roblox.com/Asset?ID=132456187"
3207Sound4.Volume = 1
3208LocalScript5.Name = "MouseIcon"
3209LocalScript5.Parent = Tool0
3210table.insert(cors,sandbox(LocalScript5,function()
3211local MOUSE_ICON = 'rbxasset://textures/GunCursor.png'
3212local RELOADING_ICON = 'rbxasset://textures/GunWaitCursor.png'
3213
3214local Tool = script.Parent
3215
3216local Mouse = nil
3217
3218local function UpdateIcon()
3219 Mouse.Icon = Tool.Enabled and MOUSE_ICON or RELOADING_ICON
3220end
3221
3222local function OnEquipped(mouse)
3223 Mouse = mouse
3224 UpdateIcon()
3225end
3226
3227local function OnChanged(property)
3228 if property == 'Enabled' then
3229 UpdateIcon()
3230 end
3231end
3232
3233Tool.Equipped:connect(OnEquipped)
3234Tool.Changed:connect(OnChanged)
3235
3236end))
3237Script6.Name = "Launcher"
3238Script6.Parent = Tool0
3239table.insert(cors,sandbox(Script6,function()
3240-----------------
3241--| Constants |--
3242-----------------
3243
3244local COOLDOWN = 4 -- Seconds until tool can be used again
3245
3246-- RocketPropulsion Fields
3247local TARGET_RADIUS = 5
3248local MAX_SPEED = 95
3249local MAX_TORQUE = Vector3.new(4e6, 4e6, 0)
3250local MAX_THRUST = 50000
3251local THRUST_P = 500
3252local THRUST_D = 50000
3253
3254local TARGET_OVERSHOOT_DISTANCE = 10000000
3255
3256local ROCKET_MESH_ID = 'http://www.roblox.com/asset/?id=94690081'
3257local ROCKET_MESH_SCALE = Vector3.new(2.5, 2.5, 2)
3258local ROCKET_PART_SIZE = Vector3.new(1, 1, 4)
3259
3260--------------------
3261--| WaitForChild |--
3262--------------------
3263
3264-- Waits for parent.child to exist, then returns it
3265local function WaitForChild(parent, childName)
3266 assert(parent, "ERROR: WaitForChild: parent is nil")
3267 while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
3268 return parent[childName]
3269end
3270
3271-----------------
3272--| Variables |--
3273-----------------
3274
3275local DebrisService = Game:GetService('Debris')
3276local PlayersService = Game:GetService('Players')
3277
3278local Tool = script.Parent
3279local ToolHandle = Tool.Handle
3280
3281local RocketScript = WaitForChild(script, 'Rocket')
3282
3283local SwooshSound = WaitForChild(script, 'Swoosh')
3284local BoomSound = WaitForChild(script, 'Boom')
3285local ReloadSound = WaitForChild(ToolHandle, 'ReloadSound')
3286local FireSound = WaitForChild(ToolHandle, 'FireSound')
3287
3288local MyModel = nil
3289local MyPlayer = nil
3290
3291local BaseRocket = nil
3292local RocketClone = nil
3293
3294-----------------
3295--| Functions |--
3296-----------------
3297
3298local function MakeBaseRocket()
3299 -- Set up the rocket part
3300 local rocket = Instance.new('Part')
3301 rocket.Name = 'Rocket'
3302 rocket.FormFactor = Enum.FormFactor.Custom --NOTE: This must be done before changing Size
3303 rocket.Size = ROCKET_PART_SIZE
3304 rocket.CanCollide = false
3305 rocket.BottomSurface = Enum.SurfaceType.Smooth
3306 rocket.TopSurface = Enum.SurfaceType.Smooth
3307
3308 -- Add the mesh
3309 local mesh = Instance.new('SpecialMesh', rocket)
3310 mesh.MeshId = ROCKET_MESH_ID
3311 mesh.Scale = ROCKET_MESH_SCALE
3312 mesh.TextureId = ToolHandle.Mesh.TextureId
3313
3314 -- Add fire
3315 local fire = Instance.new('Fire', rocket)
3316 fire.Heat = 3
3317 fire.Size = 2
3318
3319 -- Add the propulsion
3320 local rocketPropulsion = Instance.new('RocketPropulsion', rocket)
3321 rocketPropulsion.CartoonFactor = 1
3322 rocketPropulsion.TargetRadius = TARGET_RADIUS
3323 rocketPropulsion.MaxSpeed = MAX_SPEED
3324 rocketPropulsion.MaxTorque = MAX_TORQUE
3325 rocketPropulsion.MaxThrust = MAX_THRUST
3326 rocketPropulsion.ThrustP = THRUST_P
3327 rocketPropulsion.ThrustD = THRUST_D
3328
3329 -- Clone the sounds
3330 local swooshSoundClone = SwooshSound:Clone()
3331 swooshSoundClone.Parent = rocket
3332 local boomSoundClone = BoomSound:Clone()
3333 boomSoundClone.Parent = rocket
3334
3335 -- Attach creator tags
3336 local creatorTag = Instance.new('ObjectValue', rocket)
3337 creatorTag.Name = 'creator' --NOTE: Must be called 'creator' for website stats
3338 creatorTag.Value = MyPlayer
3339 local iconTag = Instance.new('StringValue', creatorTag)
3340 iconTag.Name = 'icon'
3341 iconTag.Value = Tool.TextureId
3342
3343 -- Finally, clone the rocket script and enable it
3344 local rocketScriptClone = RocketScript:Clone()
3345 rocketScriptClone.Parent = rocket
3346 rocketScriptClone.Disabled = false
3347
3348 return rocket
3349end
3350
3351local function OnEquipped()
3352 MyModel = Tool.Parent
3353 MyPlayer = PlayersService:GetPlayerFromCharacter(MyModel)
3354 BaseRocket = MakeBaseRocket()
3355 RocketClone = BaseRocket:Clone()
3356end
3357
3358local function OnActivated(byFireButton)
3359 if Tool.Enabled and MyModel and MyModel:FindFirstChild('Humanoid') and MyModel.Humanoid.Health > 0 then
3360 Tool.Enabled = false
3361
3362 -- Get the target position
3363 local targetPosition = MyModel.Humanoid.TargetPoint
3364 if byFireButton then -- Using Fire Button, shoot forwards
3365 targetPosition = MyModel.Humanoid.Torso.CFrame.lookVector * 1000
3366 end
3367
3368 -- Position the rocket clone
3369 local spawnPosition = ToolHandle.Position + (ToolHandle.CFrame.lookVector * (ToolHandle.Size.z / 2))
3370 RocketClone.CFrame = CFrame.new(spawnPosition, targetPosition) --NOTE: This must be done before assigning Parent
3371 DebrisService:AddItem(RocketClone, 30)
3372 RocketClone.Parent = Workspace
3373
3374 -- Assign target and launch!
3375 FireSound:Play()
3376 local rocketPropulsion = RocketClone:FindFirstChild('RocketPropulsion')
3377 if rocketPropulsion then
3378 local direction = (targetPosition - RocketClone.Position).unit
3379 rocketPropulsion.TargetOffset = RocketClone.Position + (direction * TARGET_OVERSHOOT_DISTANCE)
3380 rocketPropulsion:Fire()
3381 end
3382
3383 wait(0) --TODO: Remove when sounds realize they can be played as soon as they enter the Workspace
3384
3385 -- Swoosh!
3386 local swooshSound = RocketClone:FindFirstChild('Swoosh')
3387 if swooshSound then
3388 swooshSound:Play()
3389 end
3390
3391 -- Prepare the next rocket to be fired
3392 RocketClone = BaseRocket:Clone()
3393
3394 ReloadSound:Play()
3395
3396 wait(COOLDOWN)
3397
3398 -- Stop the reloading sound if it hasn't already finished
3399 ReloadSound:Stop()
3400
3401 Tool.Enabled = true
3402 end
3403end
3404
3405local function OnUnequipped()
3406 ReloadSound:Stop() --TODO: This does not work online
3407end
3408
3409-- Also activate when the Fire Button is down
3410local function OnChildAdded(child)
3411 if child.Name == 'FireButtonDown' then
3412 child.Changed:connect(function(newValue)
3413 if newValue == true then
3414 OnActivated(true)
3415 end
3416 end)
3417 end
3418end
3419
3420--------------------
3421--| Script Logic |--
3422--------------------
3423
3424Tool.Equipped:connect(OnEquipped)
3425Tool.Activated:connect(OnActivated)
3426Tool.Unequipped:connect(OnUnequipped)
3427Tool.ChildAdded:connect(OnChildAdded) --NOTE: Added for Fire Button
3428
3429end))
3430Sound7.Name = "Boom"
3431Sound7.Parent = Script6
3432Sound7.SoundId = "http://www.roblox.com/Asset?ID=133680244"
3433Sound7.Volume = 1
3434Sound8.Name = "Swoosh"
3435Sound8.Parent = Script6
3436Sound8.Looped = true
3437Sound8.Pitch = 1.2999999523163
3438Sound8.PlaybackSpeed = 1.2999999523163
3439Sound8.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
3440Sound8.Volume = 0.69999998807907
3441Script9.Name = "Rocket"
3442Script9.Parent = Script6
3443table.insert(cors,sandbox(Script9,function()
3444-----------------
3445--| Constants |--
3446-----------------
3447
3448local BLAST_RADIUS = 6
3449local BLAST_PRESSURE = 750000
3450
3451-- Rocket will fly through things named these
3452local ROCKET_IGNORE_LIST = {rocket = 1, handle = 1, effect = 1, water = 1} --NOTE: Keys must be lowercase, values must evaluate to true
3453
3454--------------------
3455--| WaitForChild |--
3456--------------------
3457
3458-- Waits for parent.child to exist, then returns it
3459local function WaitForChild(parent, childName)
3460 assert(parent, "ERROR: WaitForChild: parent is nil")
3461 while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
3462 return parent[childName]
3463end
3464
3465-----------------
3466--| Variables |--
3467-----------------
3468
3469local DebrisService = Game:GetService('Debris')
3470
3471local Rocket = script.Parent
3472local CreatorTag = WaitForChild(Rocket, 'creator')
3473
3474local Connection = nil
3475
3476-----------------
3477--| Functions |--
3478-----------------
3479
3480-- Returns the ancestor that contains a Humanoid, if it exists
3481local function FindCharacterAncestor(subject)
3482 if subject and subject ~= Workspace then
3483 local humanoid = subject:FindFirstChild('Humanoid')
3484 if humanoid then
3485 return subject, humanoid
3486 else
3487 return FindCharacterAncestor(subject.Parent)
3488 end
3489 end
3490 return nil
3491end
3492
3493local function OnExplosionHit(hitPart)
3494 if hitPart then
3495 local _, humanoid = FindCharacterAncestor(hitPart.Parent)
3496 if humanoid and humanoid.Health > 0 then
3497 local hitBindable = humanoid:FindFirstChild('Hit')
3498 if hitBindable then
3499 hitBindable:Invoke(0, CreatorTag)
3500 else
3501 print("Could not find BindableFunction 'Hit'")
3502 end
3503 end
3504 end
3505end
3506
3507local function OnTouched(otherPart)
3508 if Rocket and otherPart then
3509 -- Fly through anything in the ignore list
3510 if ROCKET_IGNORE_LIST[string.lower(otherPart.Name)] then
3511 return
3512 end
3513
3514 -- Fly through the creator
3515 local myPlayer = CreatorTag.Value
3516 if myPlayer and myPlayer.Character and myPlayer.Character:IsAncestorOf(otherPart) then
3517 return
3518 end
3519
3520 -- Create the explosion
3521 local explosion = Instance.new('Explosion')
3522 explosion.BlastPressure = BLAST_PRESSURE
3523 explosion.BlastRadius = BLAST_RADIUS
3524 explosion.Position = Rocket.Position
3525 explosion.Hit:connect(OnExplosionHit)
3526 explosion.Parent = Workspace
3527
3528 -- Start playing the boom sound
3529 local boomSound = Rocket:FindFirstChild('Boom')
3530 if boomSound then
3531 boomSound:Play()
3532 end
3533
3534 -- NOTE:
3535 -- If we just destroyed the rocket at this point, the boom sound would be destroyed too,
3536 -- so instead we will hide the rocket, keep it in the same spot, and schedule it for deletion
3537
3538 -- Stop playing the swoosh sound
3539 local swooshSound = Rocket:FindFirstChild('Swoosh')
3540 if swooshSound then
3541 swooshSound:Stop()
3542 end
3543
3544 -- Put out the fire
3545 local fire = Rocket:FindFirstChild('Fire')
3546 if fire then
3547 fire:Destroy()
3548 end
3549
3550 Rocket.Transparency = 1
3551 Rocket.CanCollide = false
3552 Rocket.Anchored = true
3553 DebrisService:AddItem(Rocket, 3)
3554
3555 -- Destroy the connection so this method won't be called again
3556 Connection:disconnect()
3557 end
3558end
3559
3560--------------------
3561--| Script Logic |--
3562--------------------
3563
3564-- Arm the rocket and save the touch connection so we can disconnect it later
3565Connection = Rocket.Touched:connect(OnTouched)
3566
3567end))
3568Script9.Disabled = true
3569LocalScript10.Name = "Animation"
3570LocalScript10.Parent = Tool0
3571table.insert(cors,sandbox(LocalScript10,function()
3572--------------------
3573--| WaitForChild |--
3574--------------------
3575
3576-- Waits for parent.child to exist, then returns it
3577local function WaitForChild(parent, childName)
3578 assert(parent, "ERROR: WaitForChild: parent is nil")
3579 while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
3580 return parent[childName]
3581end
3582
3583-----------------
3584--| Variables |--
3585-----------------
3586
3587local Tool = script.Parent
3588
3589local FireAndReloadAnimation = WaitForChild(script, 'FireAndReload')
3590
3591local FireAndReloadTrack = nil
3592
3593-----------------
3594--| Functions |--
3595-----------------
3596
3597local function OnEquipped()
3598 local myModel = Tool.Parent
3599 local humanoid = myModel:FindFirstChild('Humanoid')
3600 if humanoid then -- Preload animations
3601 FireAndReloadTrack = humanoid:LoadAnimation(FireAndReloadAnimation)
3602 end
3603end
3604
3605local function OnChanged(property)
3606 if property == 'Enabled' and Tool.Enabled == false then
3607 -- Play fire and reload animation
3608 if FireAndReloadTrack then
3609 FireAndReloadTrack:Play()
3610 end
3611 end
3612end
3613
3614local function OnUnequipped()
3615 -- Stop animations
3616 if FireAndReloadTrack then FireAndReloadTrack:Stop() end
3617end
3618
3619--------------------
3620--| Script Logic |--
3621--------------------
3622
3623Tool.Equipped:connect(OnEquipped)
3624Tool.Changed:connect(OnChanged)
3625Tool.Unequipped:connect(OnUnequipped)
3626
3627end))
3628Animation11.Name = "FireAndReload"
3629Animation11.Parent = LocalScript10
3630Animation11.AnimationId = "http://www.roblox.com/Asset?ID=94771598"
3631LocalScript12.Name = "VisualizeReload"
3632LocalScript12.Parent = Tool0
3633table.insert(cors,sandbox(LocalScript12,function()
3634-----------------
3635--| Constants |--
3636-----------------
3637
3638local ROCKET_MESH_ID = ''
3639local ROCKET_MESH_SCALE = Vector3.new(1, 1, 1)
3640
3641local ANIM_TOTAL_TIME = 3.4 -- Total length of FireAndReload animation
3642local ROCKET_SHOW_TIME = 1.5 -- Seconds after animation begins to show the rocket
3643local ROCKET_HIDE_TIME = 2.2 -- Seconds after animation begins to hide the rocket
3644
3645-----------------
3646--| Variables |--
3647-----------------
3648
3649local Tool = script.Parent
3650local ToolHandle = Tool.Handle
3651
3652local MyModel = nil
3653local ReloadRocket = nil
3654
3655local StillEquipped = false
3656
3657-----------------
3658--| Functions |--
3659-----------------
3660
3661local function MakeReloadRocket()
3662 local reloadRocket = Instance.new('Part')
3663 reloadRocket.Name = "Ammo"
3664 reloadRocket.Transparency = 1
3665 reloadRocket.FormFactor = Enum.FormFactor.Custom --NOTE: This must be done before changing Size
3666 reloadRocket.Size = Vector3.new() -- As small as possible
3667
3668 local mesh = Instance.new('SpecialMesh', reloadRocket)
3669 mesh.MeshId = ROCKET_MESH_ID
3670 mesh.Scale = ROCKET_MESH_SCALE
3671 mesh.TextureId = ToolHandle.Mesh.TextureId
3672
3673 return reloadRocket
3674end
3675
3676local function OnEquipped()
3677 MyModel = Tool.Parent
3678 ReloadRocket = MakeReloadRocket()
3679end
3680
3681local function OnChanged(property)
3682 if property == 'Enabled' and Tool.Enabled == false then
3683 -- Show the next rocket going into the launcher
3684 StillEquipped = true
3685 wait(ROCKET_SHOW_TIME)
3686 if StillEquipped then
3687 local leftArm = MyModel:FindFirstChild('Left Arm')
3688 if leftArm then
3689 local weld = ReloadRocket:FindFirstChild('Weld')
3690 if not weld then
3691 weld = Instance.new('Weld')
3692 weld.Part0 = leftArm
3693 weld.Part1 = ReloadRocket
3694 weld.C1 = CFrame.new(Vector3.new(0, 1, 0))
3695 weld.Parent = ReloadRocket
3696 end
3697 ReloadRocket.Parent = MyModel
3698 end
3699 wait(ROCKET_HIDE_TIME - ROCKET_SHOW_TIME)
3700 if StillEquipped and ReloadRocket.Parent == MyModel then
3701 ReloadRocket.Parent = nil
3702 end
3703 end
3704 end
3705end
3706
3707local function OnUnequipped()
3708 StillEquipped = false
3709 ReloadRocket:Destroy()
3710 ReloadRocket = nil
3711end
3712
3713--------------------
3714--| Script Logic |--
3715--------------------
3716
3717Tool.Equipped:connect(OnEquipped)
3718Tool.Changed:connect(OnChanged)
3719Tool.Unequipped:connect(OnUnequipped)
3720
3721end))
3722Part13.Name = "RPG-7"
3723Part13.Parent = Tool0
3724Part13.CFrame = CFrame.new(-21.2503738, 51.2558632, 12.171876, -0.0153171355, 0.469224393, 0.882945538, 0.00813870504, 0.883078873, -0.469153672, -0.99984926, -5.7471425e-08, -0.0173451193)
3725Part13.Orientation = Vector3.new(27.9799995, 91.1299973, 0.529999971)
3726Part13.Position = Vector3.new(-21.2503738, 51.2558632, 12.171876)
3727Part13.Rotation = Vector3.new(92.1199951, 62, -91.8699951)
3728Part13.Size = Vector3.new(1, 1, 4)
3729Part13.BottomSurface = Enum.SurfaceType.Smooth
3730Part13.CanCollide = false
3731Part13.TopSurface = Enum.SurfaceType.Smooth
3732Part13.FormFactor = Enum.FormFactor.Symmetric
3733Part13.formFactor = Enum.FormFactor.Symmetric
3734SpecialMesh14.Parent = Part13
3735SpecialMesh14.MeshId = "http://www.roblox.com/asset/?id=88742477"
3736SpecialMesh14.Scale = Vector3.new(2.5, 2.5, 2.5)
3737SpecialMesh14.TextureId = "http://www.roblox.com/asset/?id=88745396"
3738SpecialMesh14.MeshType = Enum.MeshType.FileMesh
3739Script15.Name = "UltimateWeld"
3740Script15.Parent = Tool0
3741table.insert(cors,sandbox(Script15,function()
3742--DO NOT USE BOTH WELDING SCRIPTS PROVIDED BY THIS MODEL
3743--The regular script is recommended
3744
3745
3746
3747--[[
3748Prevents welds from breaking/transforming when player uses the tool
3749This recreates the EXACT weld every time
3750This also prevents lag build up by clearing old welds, the tradition weld script just keeps making new
3751ones, which can lead to weapons have crazy amounts of welds that dont work (I saw 6000 in a weapon once)
3752]]
3753
3754--[[Usage
37551. Remove Old welding script (optional, only if updating a weapon and that weapon does not rely on that script)
37562. Anchor all parts of tool and put inside of a tool object
37573. Place this script in that tool (make sure you do this AFTER step 2, otherwise it may fail)
37584. Treat like normal tool, nothing special has to be done with it
3759]]
3760
3761--[[The local script included in this model can only be used if
37621. The weapon is being placed in the players backpack first (i.e. the weapon is in starterpack and moves to player backpack)
3763OR
37642. The weapon is previously welded (weapon can be placed in workspace and picked up then)
3765]]
3766repeat wait() until script.Parent:FindFirstChild("Handle")
3767local welds={}
3768function ClearOldWelds(tbl)
3769 for _,v in pairs(tbl) do
3770 if v:IsA('Weld') then
3771 v:Destroy()
3772 end
3773 end
3774end
3775
3776function Equipped()
3777 local handle=script.Parent:FindFirstChild('Handle')
3778 if not handle then return end
3779 local tble=handle:GetChildren()
3780 for _,v in pairs(script.Parent:GetChildren()) do
3781 if v:IsA('BasePart') and v~=handle then
3782 local c1
3783 for _1,v1 in pairs(welds) do
3784 if _1==v then
3785 c1=v1
3786 break
3787 end
3788 end
3789 if not c1 then
3790 welds[v]=v.CFrame:inverse()*handle.CFrame
3791 v.Anchored=false
3792 c1=welds[v]
3793 end
3794 local weld=Instance.new('Weld')
3795 weld.Part0=handle
3796 weld.Part1=v
3797 weld.C0=CFrame.new()
3798 weld.C1=c1
3799 weld.Parent=handle
3800 end
3801 end
3802 ClearOldWelds(tble)
3803 handle.Anchored=false
3804end
3805Equipped()
3806script.Parent.Equipped:connect(Equipped)
3807
3808--Made by DonnyTheDemented
3809
3810end))
3811Script16.Name = "Welding"
3812Script16.Parent = Tool0
3813table.insert(cors,sandbox(Script16,function()
3814function Weld(x,y)
3815 local W = Instance.new("Weld")
3816 W.Part0 = x
3817 W.Part1 = y
3818 local CJ = CFrame.new(x.Position)
3819 local C0 = x.CFrame:inverse()*CJ
3820 local C1 = y.CFrame:inverse()*CJ
3821 W.C0 = C0
3822 W.C1 = C1
3823 W.Parent = x
3824end
3825
3826function Get(A)
3827 if A.className == "Part" then
3828 Weld(script.Parent.Handle, A)
3829 A.Anchored = false
3830 else
3831 local C = A:GetChildren()
3832 for i=1, #C do
3833 Get(C[i])
3834 end
3835 end
3836end
3837
3838function Finale()
3839 Get(script.Parent)
3840end
3841
3842script.Parent.Equipped:connect(Finale)
3843script.Parent.Unequipped:connect(Finale)
3844Finale()
3845end))
3846LocalScript17.Name = "BackupWeld"
3847LocalScript17.Parent = Tool0
3848table.insert(cors,sandbox(LocalScript17,function()
3849function Weld(x,y)
3850 local W = Instance.new("Weld")
3851 W.Part0 = x
3852 W.Part1 = y
3853 local CJ = CFrame.new(x.Position)
3854 local C0 = x.CFrame:inverse()*CJ
3855 local C1 = y.CFrame:inverse()*CJ
3856 W.C0 = C0
3857 W.C1 = C1
3858 W.Parent = x
3859end
3860
3861function Get(A)
3862 if A.className == "Part" then
3863 Weld(script.Parent.Handle, A)
3864 A.Anchored = false
3865 else
3866 local C = A:GetChildren()
3867 for i=1, #C do
3868 Get(C[i])
3869 end
3870 end
3871end
3872
3873function Finale()
3874 Get(script.Parent)
3875end
3876
3877script.Parent.Equipped:connect(Finale)
3878script.Parent.Unequipped:connect(Finale)
3879Finale()
3880end))
3881Camera18.Name = "ThumbnailCamera"
3882Camera18.Parent = Tool0
3883Camera18.CFrame = CFrame.new(-76.8009338, 17.9946976, 30.3667393, 0.769124746, 0.306584537, -0.560761094, 1.49011612e-08, 0.877424955, 0.479713947, 0.639098644, -0.368959874, 0.674849272)
3884Camera18.CoordinateFrame = CFrame.new(-76.8009338, 17.9946976, 30.3667393, 0.769124746, 0.306584537, -0.560761094, 1.49011612e-08, 0.877424955, 0.479713947, 0.639098644, -0.368959874, 0.674849272)
3885Camera18.FieldOfView = 25.000000418326
3886Camera18.Focus = CFrame.new(-75.6794128, 17.0352707, 29.0170422, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3887Camera18.focus = CFrame.new(-75.6794128, 17.0352707, 29.0170422, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3888for i,v in pairs(mas:GetChildren()) do
3889 v.Parent = game:GetService("Players").LocalPlayer.Backpack
3890 pcall(function() v:MakeJoints() end)
3891end
3892mas:Destroy()
3893for i,v in pairs(cors) do
3894 spawn(function()
3895 pcall(v)
3896 end)
3897end
3898
3899function sandbox(var,func)
3900 local env = getfenv(func)
3901 local newenv = setmetatable({},{
3902 __index = function(self,k)
3903 if k=="script" then
3904 return var
3905 else
3906 return env[k]
3907 end
3908 end,
3909 })
3910 setfenv(func,newenv)
3911 return func
3912end
3913cors = {}
3914mas = Instance.new("Model",game:GetService("Lighting"))
3915Tool0 = Instance.new("Tool")
3916Part1 = Instance.new("Part")
3917SpecialMesh2 = Instance.new("SpecialMesh")
3918Sound3 = Instance.new("Sound")
3919Sound4 = Instance.new("Sound")
3920Sound5 = Instance.new("Sound")
3921Sound6 = Instance.new("Sound")
3922PointLight7 = Instance.new("PointLight")
3923Sound8 = Instance.new("Sound")
3924Animation9 = Instance.new("Animation")
3925ScreenGui10 = Instance.new("ScreenGui")
3926Frame11 = Instance.new("Frame")
3927TextLabel12 = Instance.new("TextLabel")
3928TextLabel13 = Instance.new("TextLabel")
3929TextLabel14 = Instance.new("TextLabel")
3930Frame15 = Instance.new("Frame")
3931Frame16 = Instance.new("Frame")
3932Frame17 = Instance.new("Frame")
3933Frame18 = Instance.new("Frame")
3934ImageLabel19 = Instance.new("ImageLabel")
3935TextLabel20 = Instance.new("TextLabel")
3936Frame21 = Instance.new("Frame")
3937Frame22 = Instance.new("Frame")
3938TextLabel23 = Instance.new("TextLabel")
3939LocalScript24 = Instance.new("LocalScript")
3940LocalScript25 = Instance.new("LocalScript")
3941LocalScript26 = Instance.new("LocalScript")
3942Part27 = Instance.new("Part")
3943SpecialMesh28 = Instance.new("SpecialMesh")
3944Part29 = Instance.new("Part")
3945SpecialMesh30 = Instance.new("SpecialMesh")
3946Part31 = Instance.new("Part")
3947SpecialMesh32 = Instance.new("SpecialMesh")
3948Part33 = Instance.new("Part")
3949SpecialMesh34 = Instance.new("SpecialMesh")
3950Part35 = Instance.new("Part")
3951CylinderMesh36 = Instance.new("CylinderMesh")
3952Script37 = Instance.new("Script")
3953Tool0.Name = "M870"
3954Tool0.Parent = mas
3955Tool0.TextureId = "http://www.roblox.com/asset/?id=122079958"
3956Tool0.CanBeDropped = false
3957Tool0.Grip = CFrame.new(0.25999999, -0.600000024, -0.330000013, 0.970145285, 2.23517418e-07, 0.242524415, 0.242512301, 0.00999760628, -0.970096886, -0.00242490321, 0.999950111, 0.00969904661)
3958Tool0.GripForward = Vector3.new(-0.242524415, 0.970096886, -0.00969904661)
3959Tool0.GripPos = Vector3.new(0.25999999, -0.600000024, -0.330000013)
3960Tool0.GripRight = Vector3.new(0.970145285, 0.242512301, -0.00242490321)
3961Tool0.GripUp = Vector3.new(2.23517418e-07, 0.00999760628, 0.999950111)
3962Tool0.ToolTip = "Ithaca 37"
3963Part1.Name = "Handle"
3964Part1.Parent = Tool0
3965Part1.CFrame = CFrame.new(-22.2855473, 0.500012994, -5.7285862, 0, 1, 0, 0, 0, 1, 1, 0, 0)
3966Part1.Orientation = Vector3.new(-90, -90, 0)
3967Part1.Position = Vector3.new(-22.2855473, 0.500012994, -5.7285862)
3968Part1.Rotation = Vector3.new(-90, 0, -90)
3969Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
3970Part1.Size = Vector3.new(0.200000003, 2.79999995, 1)
3971Part1.BottomSurface = Enum.SurfaceType.Smooth
3972Part1.BrickColor = BrickColor.new("Really black")
3973Part1.Material = Enum.Material.DiamondPlate
3974Part1.TopSurface = Enum.SurfaceType.Smooth
3975Part1.brickColor = BrickColor.new("Really black")
3976Part1.FormFactor = Enum.FormFactor.Custom
3977Part1.formFactor = Enum.FormFactor.Custom
3978SpecialMesh2.Parent = Part1
3979SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=71947462"
3980SpecialMesh2.Scale = Vector3.new(1.20000005, 1, 1.20000005)
3981SpecialMesh2.VertexColor = Vector3.new(0, 0, 0)
3982SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=71947415"
3983SpecialMesh2.MeshType = Enum.MeshType.FileMesh
3984Sound3.Name = "FireSound"
3985Sound3.Parent = Part1
3986Sound3.SoundId = "rbxassetid://138083993"
3987Sound3.Volume = 1
3988Sound4.Name = "PumpSound"
3989Sound4.Parent = Part1
3990Sound4.SoundId = "rbxassetid://131072992"
3991Sound4.Volume = 1
3992Sound5.Name = "Reload"
3993Sound5.Parent = Part1
3994Sound5.SoundId = "rbxassetid://145081845"
3995Sound5.Volume = 1
3996Sound6.Name = "EquipSound"
3997Sound6.Parent = Part1
3998Sound6.SoundId = "rbxassetid://131072992"
3999Sound6.Volume = 1
4000PointLight7.Name = "Flash"
4001PointLight7.Parent = Part1
4002PointLight7.Color = Color3.new(1, 1, 0)
4003PointLight7.Enabled = false
4004PointLight7.Range = 9
4005PointLight7.Brightness = 9
4006Sound8.Name = "Tick"
4007Sound8.Parent = Part1
4008Sound8.Pitch = 3
4009Sound8.PlaybackSpeed = 3
4010Sound8.SoundId = "rbxasset://sounds//clickfast.wav"
4011Sound8.Volume = 1
4012Animation9.Name = "Recoil"
4013Animation9.Parent = Tool0
4014Animation9.AnimationId = "http://www.roblox.com/Asset?ID=94331086"
4015ScreenGui10.Name = "WeaponHud"
4016ScreenGui10.Parent = Tool0
4017Frame11.Name = "AmmoHud"
4018Frame11.Parent = ScreenGui10
4019Frame11.Position = UDim2.new(1, -265, 1, -60)
4020Frame11.Size = UDim2.new(0, 200, 0, 50)
4021Frame11.BackgroundTransparency = 1
4022Frame11.BorderSizePixel = 0
4023Frame11.Style = Enum.FrameStyle.RobloxSquare
4024TextLabel12.Name = "ForwardSlash"
4025TextLabel12.Parent = Frame11
4026TextLabel12.Position = UDim2.new(0.5, 0, 0.5, 0)
4027TextLabel12.BackgroundTransparency = 1
4028TextLabel12.BorderSizePixel = 0
4029TextLabel12.FontSize = Enum.FontSize.Size24
4030TextLabel12.Text = "/"
4031TextLabel12.TextColor = BrickColor.new("Institutional white")
4032TextLabel12.TextColor3 = Color3.new(1, 1, 1)
4033TextLabel12.TextSize = 24
4034TextLabel12.TextStrokeTransparency = 0
4035TextLabel13.Name = "ClipAmmo"
4036TextLabel13.Parent = Frame11
4037TextLabel13.Position = UDim2.new(0.449999988, 0, 0.5, 0)
4038TextLabel13.BackgroundTransparency = 1
4039TextLabel13.BorderSizePixel = 0
4040TextLabel13.FontSize = Enum.FontSize.Size24
4041TextLabel13.Text = "54"
4042TextLabel13.TextColor = BrickColor.new("Institutional white")
4043TextLabel13.TextColor3 = Color3.new(1, 1, 1)
4044TextLabel13.TextSize = 24
4045TextLabel13.TextStrokeTransparency = 0
4046TextLabel13.TextXAlignment = Enum.TextXAlignment.Right
4047TextLabel14.Name = "TotalAmmo"
4048TextLabel14.Parent = Frame11
4049TextLabel14.Position = UDim2.new(0.550000012, 0, 0.5, 0)
4050TextLabel14.BackgroundTransparency = 1
4051TextLabel14.BorderSizePixel = 0
4052TextLabel14.FontSize = Enum.FontSize.Size24
4053TextLabel14.Text = "180"
4054TextLabel14.TextColor = BrickColor.new("Institutional white")
4055TextLabel14.TextColor3 = Color3.new(1, 1, 1)
4056TextLabel14.TextSize = 24
4057TextLabel14.TextStrokeTransparency = 0
4058TextLabel14.TextXAlignment = Enum.TextXAlignment.Left
4059Frame15.Name = "Crosshair"
4060Frame15.Parent = ScreenGui10
4061Frame15.Position = UDim2.new(0, 500, 0, 500)
4062Frame15.Size = UDim2.new(0, 150, 0, 150)
4063Frame15.BackgroundColor = BrickColor.new("Lime green")
4064Frame15.BackgroundColor3 = Color3.new(0, 1, 0)
4065Frame15.BackgroundTransparency = 1
4066Frame15.BorderSizePixel = 0
4067Frame16.Name = "TopFrame"
4068Frame16.Parent = Frame15
4069Frame16.Position = UDim2.new(0, -1, -0.5, -7)
4070Frame16.Size = UDim2.new(0, 2, 0, 14)
4071Frame16.BackgroundColor = BrickColor.new("Institutional white")
4072Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
4073Frame16.BorderColor = BrickColor.new("Really black")
4074Frame16.BorderColor3 = Color3.new(0, 0, 0)
4075Frame17.Name = "RightFrame"
4076Frame17.Parent = Frame15
4077Frame17.Position = UDim2.new(0.5, -7, 0, -1)
4078Frame17.Size = UDim2.new(0, 14, 0, 2)
4079Frame17.BackgroundColor = BrickColor.new("Institutional white")
4080Frame17.BackgroundColor3 = Color3.new(1, 1, 1)
4081Frame17.BorderColor = BrickColor.new("Really black")
4082Frame17.BorderColor3 = Color3.new(0, 0, 0)
4083Frame18.Name = "LeftFrame"
4084Frame18.Parent = Frame15
4085Frame18.Position = UDim2.new(-0.5, -7, 0, -1)
4086Frame18.Size = UDim2.new(0, 14, 0, 2)
4087Frame18.BackgroundColor = BrickColor.new("Institutional white")
4088Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
4089Frame18.BorderColor = BrickColor.new("Really black")
4090Frame18.BorderColor3 = Color3.new(0, 0, 0)
4091ImageLabel19.Name = "TargetHitImage"
4092ImageLabel19.Parent = Frame15
4093ImageLabel19.Position = UDim2.new(0, -25, 0, -25)
4094ImageLabel19.Visible = false
4095ImageLabel19.Size = UDim2.new(0, 50, 0, 50)
4096ImageLabel19.BackgroundTransparency = 1
4097ImageLabel19.BorderSizePixel = 0
4098ImageLabel19.Image = "http://www.roblox.com/asset/?id=115400215"
4099TextLabel20.Name = "ReloadingLabel"
4100TextLabel20.Parent = Frame15
4101TextLabel20.Position = UDim2.new(0, 20, 0, -20)
4102TextLabel20.Visible = false
4103TextLabel20.BackgroundTransparency = 1
4104TextLabel20.BorderSizePixel = 0
4105TextLabel20.Font = Enum.Font.ArialBold
4106TextLabel20.FontSize = Enum.FontSize.Size18
4107TextLabel20.Text = "Reloading"
4108TextLabel20.TextColor = BrickColor.new("Institutional white")
4109TextLabel20.TextColor3 = Color3.new(1, 1, 1)
4110TextLabel20.TextSize = 18
4111TextLabel20.TextStrokeTransparency = 0
4112TextLabel20.TextXAlignment = Enum.TextXAlignment.Left
4113TextLabel20.TextYAlignment = Enum.TextYAlignment.Bottom
4114Frame21.Name = "BottomFrame"
4115Frame21.Parent = Frame15
4116Frame21.Position = UDim2.new(0, -1, 0.5, -7)
4117Frame21.Size = UDim2.new(0, 2, 0, 14)
4118Frame21.BackgroundColor = BrickColor.new("Institutional white")
4119Frame21.BackgroundColor3 = Color3.new(1, 1, 1)
4120Frame21.BorderColor = BrickColor.new("Really black")
4121Frame21.BorderColor3 = Color3.new(0, 0, 0)
4122Frame22.Name = "Reload"
4123Frame22.Parent = ScreenGui10
4124Frame22.Position = UDim2.new(1, -265, 1, -120)
4125Frame22.Visible = false
4126Frame22.Size = UDim2.new(0, 200, 0, 50)
4127Frame22.BackgroundTransparency = 1
4128Frame22.BorderSizePixel = 0
4129TextLabel23.Name = "Reload"
4130TextLabel23.Parent = Frame22
4131TextLabel23.Position = UDim2.new(0.5, 0, 0.5, 0)
4132TextLabel23.BackgroundTransparency = 1
4133TextLabel23.BorderSizePixel = 0
4134TextLabel23.Font = Enum.Font.ArialBold
4135TextLabel23.FontSize = Enum.FontSize.Size24
4136TextLabel23.Text = "Press R to Reload"
4137TextLabel23.TextColor = BrickColor.new("Really red")
4138TextLabel23.TextColor3 = Color3.new(1, 0, 0)
4139TextLabel23.TextSize = 24
4140TextLabel23.TextStrokeTransparency = 0
4141LocalScript24.Name = "Ithaca"
4142LocalScript24.Parent = Tool0
4143table.insert(cors,sandbox(LocalScript24,function()
4144--------------------- TEMPLATE ASSAULT RIFLE WEAPON ---------------------------
4145-- Waits for the child of the specified parent
4146local function WaitForChild(parent, childName)
4147 while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
4148 return parent[childName]
4149end
4150
4151----- MAGIC NUMBERS ABOUT THE TOOL -----
4152-- How much damage a bullet does
4153local Damage = 70
4154-- How many times per second the gun can fire
4155local FireRate = 1 / 1.33
4156-- The maximum distance the can can shoot, this value should never go above 1000
4157local Range = 200
4158-- In radians the minimum accuracy penalty
4159local MinSpread = 0.05
4160-- In radian the maximum accuracy penalty
4161local MaxSpread = 0.1
4162-- Number of bullets in a clip
4163local ClipSize = 6
4164-- DefaultValue for spare ammo
4165local SpareAmmo = 300
4166-- The amount the aim will increase or decrease by
4167-- decreases this number reduces the speed that recoil takes effect
4168local AimInaccuracyStepAmount = 0.0133
4169-- Time it takes to reload weapon
4170local ReloadTime = 4
4171----------------------------------------
4172
4173-- Colors
4174local FriendlyReticleColor = Color3.new(0, 1, 0)
4175local EnemyReticleColor = Color3.new(1, 0, 0)
4176local NeutralReticleColor = Color3.new(1, 1, 1)
4177
4178local Spread = MinSpread
4179local AmmoInClip = ClipSize
4180
4181local Tool = script.Parent
4182local Handle = WaitForChild(Tool, 'Handle')
4183local WeaponGui = nil
4184
4185local LeftButtonDown
4186local Reloading = false
4187local IsShooting = false
4188
4189-- Player specific convenience variables
4190local MyPlayer = nil
4191local MyCharacter = nil
4192local MyHumanoid = nil
4193local MyTorso = nil
4194local MyMouse = nil
4195
4196local RecoilAnim
4197local RecoilTrack = nil
4198
4199local IconURL = Tool.TextureId -- URL to the weapon icon asset
4200
4201local DebrisService = game:GetService('Debris')
4202local PlayersService = game:GetService('Players')
4203
4204
4205local FireSound
4206
4207local OnFireConnection = nil
4208local OnReloadConnection = nil
4209
4210local DecreasedAimLastShot = false
4211local LastSpreadUpdate = time()
4212
4213-- this is a dummy object that holds the flash made when the gun is fired
4214local FlashHolder = nil
4215
4216
4217local WorldToCellFunction = Workspace.Terrain.WorldToCellPreferSolid
4218local GetCellFunction = Workspace.Terrain.GetCell
4219
4220function RayIgnoreCheck(hit, pos)
4221 if hit then
4222 if hit.Transparency >= 1 or string.lower(hit.Name) == "water" or
4223 hit.Name == "Effect" or hit.Name == "Rocket" or hit.Name == "Bullet" or
4224 hit.Name == "Handle" or hit:IsDescendantOf(MyCharacter) then
4225 return true
4226 elseif hit:IsA('Terrain') and pos then
4227 local cellPos = WorldToCellFunction(Workspace.Terrain, pos)
4228 if cellPos then
4229 local cellMat = GetCellFunction(Workspace.Terrain, cellPos.x, cellPos.y, cellPos.z)
4230 if cellMat and cellMat == Enum.CellMaterial.Water then
4231 return true
4232 end
4233 end
4234 end
4235 end
4236 return false
4237end
4238
4239-- @preconditions: vec should be a unit vector, and 0 < rayLength <= 1000
4240function RayCast(startPos, vec, rayLength)
4241 local hitObject, hitPos = game.Workspace:FindPartOnRay(Ray.new(startPos + (vec * .01), vec * rayLength), Handle)
4242 if hitObject and hitPos then
4243 local distance = rayLength - (hitPos - startPos).magnitude
4244 if RayIgnoreCheck(hitObject, hitPos) and distance > 0 then
4245 -- there is a chance here for potential infinite recursion
4246 return RayCast(hitPos, vec, distance)
4247 end
4248 end
4249 return hitObject, hitPos
4250end
4251
4252
4253
4254function TagHumanoid(humanoid, player)
4255 -- Add more tags here to customize what tags are available.
4256 while humanoid:FindFirstChild('creator') do
4257 humanoid:FindFirstChild('creator'):Destroy()
4258 end
4259 local creatorTag = Instance.new("ObjectValue")
4260 creatorTag.Value = player
4261 creatorTag.Name = "creator"
4262 creatorTag.Parent = humanoid
4263 DebrisService:AddItem(creatorTag, 1.5)
4264
4265 local weaponIconTag = Instance.new("StringValue")
4266 weaponIconTag.Value = IconURL
4267 weaponIconTag.Name = "icon"
4268 weaponIconTag.Parent = creatorTag
4269end
4270
4271
4272local function CreateBullet(bulletPos)
4273 local bullet = Instance.new('Part', Workspace)
4274 bullet.FormFactor = Enum.FormFactor.Custom
4275 bullet.Size = Vector3.new(0.1, 0.1, 0.1)
4276 bullet.BrickColor = BrickColor.new("Black")
4277 bullet.Shape = Enum.PartType.Block
4278 bullet.CanCollide = false
4279 bullet.CFrame = CFrame.new(bulletPos)
4280 bullet.Anchored = true
4281 bullet.TopSurface = Enum.SurfaceType.Smooth
4282 bullet.BottomSurface = Enum.SurfaceType.Smooth
4283 bullet.Name = 'Bullet'
4284 DebrisService:AddItem(bullet, 2.5)
4285 return bullet
4286end
4287
4288local function Reload()
4289 if not Reloading then
4290 Reloading = true
4291 -- Don't reload if you are already full or have no extra ammo
4292 if AmmoInClip ~= ClipSize and SpareAmmo > 0 then
4293 if RecoilTrack then
4294 RecoilTrack:Stop()
4295 end
4296 if WeaponGui and WeaponGui:FindFirstChild('Crosshair') then
4297 if WeaponGui.Crosshair:FindFirstChild('ReloadingLabel') then
4298 WeaponGui.Crosshair.ReloadingLabel.Visible = true
4299 end
4300 end
4301 script.Parent.Handle.Reload:Play()
4302 wait(.75)
4303 script.Parent.Handle.Reload:Play()
4304 wait(.75)
4305 script.Parent.Handle.Reload:Play()
4306 wait(.75)
4307 script.Parent.Handle.Reload:Play()
4308 wait(.75)
4309 script.Parent.Handle.PumpSound:Play()
4310 -- Only use as much ammo as you have
4311 local ammoToUse = math.min(ClipSize - AmmoInClip, SpareAmmo)
4312 AmmoInClip = AmmoInClip + ammoToUse
4313 SpareAmmo = SpareAmmo - ammoToUse
4314 UpdateAmmo(AmmoInClip)
4315 WeaponGui.Reload.Visible = false
4316 end
4317 Reloading = false
4318 end
4319end
4320
4321function OnFire()
4322 if IsShooting then return end
4323 if MyHumanoid and MyHumanoid.Health > 0 then
4324 if RecoilTrack and AmmoInClip > 0 then
4325 RecoilTrack:Play()
4326 end
4327 IsShooting = true
4328 while LeftButtonDown and AmmoInClip > 0 and not Reloading do
4329 if Spread and not DecreasedAimLastShot then
4330 Spread = math.min(MaxSpread, Spread + AimInaccuracyStepAmount)
4331 UpdateCrosshair(Spread)
4332 end
4333 DecreasedAimLastShot = not DecreasedAimLastShot
4334 if Handle:FindFirstChild('FireSound') then
4335 Handle.FireSound:Play()
4336 Handle.Flash.Enabled = true
4337 end
4338 if MyMouse then
4339 for i = 1,12 do -- Shotgun effect :P
4340 local targetPoint = MyMouse.Hit.p
4341 local shootDirection = (targetPoint - Handle.Position).unit
4342 -- Adjust the shoot direction randomly off by a little bit to account for recoil
4343 shootDirection = CFrame.Angles((0.5 - math.random()) * 2 * Spread,
4344 (0.5 - math.random()) * 2 * Spread,
4345 (0.5 - math.random()) * 2 * Spread) * shootDirection
4346 local hitObject, bulletPos = RayCast(Handle.Position, shootDirection, Range)
4347 local bullet
4348 -- Create a bullet here
4349 if hitObject then
4350 bullet = CreateBullet(bulletPos)
4351 end
4352 if hitObject and hitObject.Parent then
4353 local hitHumanoid = hitObject.Parent:FindFirstChild("Humanoid")
4354 if hitHumanoid then
4355 local hitPlayer = game.Players:GetPlayerFromCharacter(hitHumanoid.Parent)
4356 if MyPlayer.Neutral or hitPlayer then
4357 TagHumanoid(hitHumanoid, MyPlayer)
4358 hitHumanoid:TakeDamage(Damage)
4359 if bullet then
4360 bullet:Destroy()
4361 bullet = nil
4362 --bullet.Transparency = 1
4363 end
4364 Spawn(UpdateTargetHit)
4365 elseif not hitPlayer then
4366 TagHumanoid(hitHumanoid, MyPlayer)
4367 hitHumanoid:TakeDamage(Damage)
4368 if bullet then
4369 bullet:Destroy()
4370 bullet = nil
4371 --bullet.Transparency = 1
4372 end
4373 Spawn(UpdateTargetHit)
4374 end
4375 end
4376 end
4377 end
4378 AmmoInClip = AmmoInClip - 1
4379 UpdateAmmo(AmmoInClip)
4380 end
4381 Handle.PumpSound:Play()
4382 wait(.2); Handle.Flash.Enabled = false
4383 wait(FireRate)
4384 OnMouseUp()
4385 end
4386 IsShooting = false
4387 if AmmoInClip == 0 then
4388 Handle.Tick:Play()
4389 WeaponGui.Reload.Visible = true
4390 end
4391 if RecoilTrack then
4392 RecoilTrack:Stop()
4393 end
4394 end
4395end
4396
4397local TargetHits = 0
4398function UpdateTargetHit()
4399 TargetHits = TargetHits + 1
4400 if WeaponGui and WeaponGui:FindFirstChild('Crosshair') and WeaponGui.Crosshair:FindFirstChild('TargetHitImage') then
4401 WeaponGui.Crosshair.TargetHitImage.Visible = true
4402 end
4403 wait(0.5)
4404 TargetHits = TargetHits - 1
4405 if TargetHits == 0 and WeaponGui and WeaponGui:FindFirstChild('Crosshair') and WeaponGui.Crosshair:FindFirstChild('TargetHitImage') then
4406 WeaponGui.Crosshair.TargetHitImage.Visible = false
4407 end
4408end
4409
4410function UpdateCrosshair(value, mouse)
4411 if WeaponGui then
4412 local absoluteY = 650
4413 WeaponGui.Crosshair:TweenSize(
4414 UDim2.new(0, value * absoluteY * 2 + 23, 0, value * absoluteY * 2 + 23),
4415 Enum.EasingDirection.Out,
4416 Enum.EasingStyle.Linear,
4417 0.33)
4418 end
4419end
4420
4421function UpdateAmmo(value)
4422 if WeaponGui and WeaponGui:FindFirstChild('AmmoHud') and WeaponGui.AmmoHud:FindFirstChild('ClipAmmo') then
4423 WeaponGui.AmmoHud.ClipAmmo.Text = AmmoInClip
4424 if value > 0 and WeaponGui:FindFirstChild('Crosshair') and WeaponGui.Crosshair:FindFirstChild('ReloadingLabel') then
4425 WeaponGui.Crosshair.ReloadingLabel.Visible = false
4426 end
4427 end
4428 if WeaponGui and WeaponGui:FindFirstChild('AmmoHud') and WeaponGui.AmmoHud:FindFirstChild('TotalAmmo') then
4429 WeaponGui.AmmoHud.TotalAmmo.Text = SpareAmmo
4430 end
4431end
4432
4433
4434function OnMouseDown()
4435 LeftButtonDown = true
4436 OnFire()
4437end
4438
4439function OnMouseUp()
4440 LeftButtonDown = false
4441end
4442
4443function OnKeyDown(key)
4444 if string.lower(key) == 'r' then
4445 Reload()
4446 end
4447end
4448
4449
4450function OnEquipped(mouse)
4451 Handle.EquipSound:Play()
4452 RecoilAnim = WaitForChild(Tool, 'Recoil')
4453 FireSound = WaitForChild(Handle, 'FireSound')
4454
4455 MyCharacter = Tool.Parent
4456 MyPlayer = game:GetService('Players'):GetPlayerFromCharacter(MyCharacter)
4457 MyHumanoid = MyCharacter:FindFirstChild('Humanoid')
4458 MyTorso = MyCharacter:FindFirstChild('Torso')
4459 MyMouse = mouse
4460 WeaponGui = WaitForChild(Tool, 'WeaponHud'):Clone()
4461 if WeaponGui and MyPlayer then
4462 WeaponGui.Parent = MyPlayer.PlayerGui
4463 UpdateAmmo(AmmoInClip)
4464 end
4465 if RecoilAnim then
4466 RecoilTrack = MyHumanoid:LoadAnimation(RecoilAnim)
4467 end
4468
4469 if MyMouse then
4470 -- Disable mouse icon
4471 MyMouse.Icon = "http://www.roblox.com/asset/?id=18662154"
4472 MyMouse.Button1Down:connect(OnMouseDown)
4473 MyMouse.Button1Up:connect(OnMouseUp)
4474 MyMouse.KeyDown:connect(OnKeyDown)
4475 end
4476end
4477
4478
4479-- Unequip logic here
4480function OnUnequipped()
4481 LeftButtonDown = false
4482 Reloading = false
4483 MyCharacter = nil
4484 MyHumanoid = nil
4485 MyTorso = nil
4486 MyPlayer = nil
4487 MyMouse = nil
4488 if OnFireConnection then
4489 OnFireConnection:disconnect()
4490 end
4491 if OnReloadConnection then
4492 OnReloadConnection:disconnect()
4493 end
4494 if FlashHolder then
4495 FlashHolder = nil
4496 end
4497 if WeaponGui then
4498 WeaponGui.Parent = nil
4499 WeaponGui = nil
4500 end
4501 if RecoilTrack then
4502 RecoilTrack:Stop()
4503 end
4504end
4505
4506local function SetReticleColor(color)
4507 if WeaponGui and WeaponGui:FindFirstChild('Crosshair') then
4508 for _, line in pairs(WeaponGui.Crosshair:GetChildren()) do
4509 if line:IsA('Frame') then
4510 line.BorderColor3 = color
4511 end
4512 end
4513 end
4514end
4515
4516
4517Tool.Equipped:connect(OnEquipped)
4518Tool.Unequipped:connect(OnUnequipped)
4519
4520while true do
4521 wait(0.033)
4522 if WeaponGui and WeaponGui:FindFirstChild('Crosshair') and MyMouse then
4523 WeaponGui.Crosshair.Position = UDim2.new(0, MyMouse.X, 0, MyMouse.Y)
4524 SetReticleColor(NeutralReticleColor)
4525
4526 local target = MyMouse.Target
4527 if target and target.Parent then
4528 local player = PlayersService:GetPlayerFromCharacter(target.Parent)
4529 if player then
4530 if MyPlayer.Neutral or player.TeamColor ~= MyPlayer.TeamColor then
4531 SetReticleColor(EnemyReticleColor)
4532 else
4533 SetReticleColor(FriendlyReticleColor)
4534 end
4535 end
4536 end
4537 end
4538 if Spread and not IsShooting then
4539 local currTime = time()
4540 if currTime - LastSpreadUpdate > FireRate * 2 then
4541 LastSpreadUpdate = currTime
4542 Spread = math.max(MinSpread, Spread - AimInaccuracyStepAmount)
4543 UpdateCrosshair(Spread, MyMouse)
4544 end
4545 end
4546end
4547end))
4548LocalScript25.Name = "ArmWeld [Shotgun]"
4549LocalScript25.Parent = Tool0
4550table.insert(cors,sandbox(LocalScript25,function()
4551Tool = script.Parent;
4552
4553local arms = nil
4554local torso = nil
4555local welds = {}
4556
4557function Equip(mouse)
4558wait(0.01)
4559arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
4560torso = Tool.Parent:FindFirstChild("Torso")
4561if arms ~= nil and torso ~= nil then
4562local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
4563if sh ~= nil then
4564local yes = true
4565if yes then
4566yes = false
4567sh[1].Part1 = nil
4568sh[2].Part1 = nil
4569local weld1 = Instance.new("Weld")
4570weld1.Part0 = torso
4571weld1.Parent = torso
4572weld1.Part1 = arms[1]
4573weld1.C1 = CFrame.new(-.1, 1.25, .6) * CFrame.fromEulerAnglesXYZ(math.rad(290), math.rad(10), math.rad(-90)) ---The first set of numbers changes where the arms move to the second set changes their angles
4574welds[1] = weld1
4575weld1.Name = "weld1"
4576local weld2 = Instance.new("Weld")
4577weld2.Part0 = torso
4578weld2.Parent = torso
4579weld2.Part1 = arms[2]
4580weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0) --- Same as top
4581welds[2] = weld2
4582weld2.Name = "weld2"
4583end
4584else
4585print("sh")
4586end
4587else
4588print("arms")
4589end
4590end
4591
4592function Unequip(mouse)
4593if arms ~= nil and torso ~= nil then
4594local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
4595if sh ~= nil then
4596local yes = true
4597if yes then
4598yes = false
4599sh[1].Part1 = arms[1]
4600sh[2].Part1 = arms[2]
4601welds[1].Parent = nil
4602welds[2].Parent = nil
4603end
4604else
4605print("sh")
4606end
4607else
4608print("arms")
4609end
4610end
4611Tool.Equipped:connect(Equip)
4612Tool.Unequipped:connect(Unequip)
4613
4614end))
4615LocalScript26.Name = "Patrol [Shotgun]"
4616LocalScript26.Parent = Tool0
4617table.insert(cors,sandbox(LocalScript26,function()
4618--Note this must be used with the accompanying weld script
4619--This is an edited version of my V3 KeyCommand Script.
4620--Heavily edited from a free model crouch script, ~ukwarrior6~
4621
4622----------------------------
4623--Patrol Script--
4624----------------------------
4625
4626on = 0
4627Tool = script.Parent
4628welds = {}
4629sh = {}
4630arms = nil
4631torso = nil
4632f = nil
4633Holstered = false
4634wait()
4635local Tool = script.Parent
4636enabled = true
4637----------------------------------------------------------------------------------------------------------------
4638function GunUp()
4639Holstered = false
4640Tool.Enabled = true
4641torso = Tool.Parent:FindFirstChild("Torso")
4642if torso ~= nil then
4643torso.weld1.C1 = CFrame.new(-.1, 1.25, .6) * CFrame.fromEulerAnglesXYZ(math.rad(290), math.rad(10), math.rad(-90))
4644torso.weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
4645end
4646end
4647
4648function GunDown()
4649Holstered = true
4650Tool.Enabled = false -- You don't want to be shooting if your not aiming
4651torso = Tool.Parent:FindFirstChild("Torso")
4652if torso ~= nil then
4653torso.weld1.C1 = CFrame.new(-.1, 1.25, .6) * CFrame.fromEulerAnglesXYZ(math.rad(280), math.rad(-10), math.rad(-80))
4654torso.weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-70), math.rad(-25), math.rad(0))
4655end
4656end
4657-----------------------------------------------------------------------------------------------------------------
4658function onEquippedLocal(mouse)
4659 mouse.Icon = "" -- Chuck in a cool crosshair here..
4660 mouse.KeyDown:connect(onKeyDown)
4661end
4662-----------------------------------------------------------------------------------------------------------------
4663function onKeyDown(key)
4664if (key~=nil) then
4665key = key:lower()
4666
4667if (key=="e") then -- Toggle Patrol
4668if Holstered == true then
4669script.Parent.Parent.Humanoid.WalkSpeed = 16
4670GunUp()
4671elseif Holstered == false then
4672script.Parent.Parent.Humanoid.WalkSpeed = 20
4673GunDown()
4674end end end end
4675Tool.Equipped:connect(onEquippedLocal)
4676
4677
4678
4679
4680
4681
4682end))
4683Part27.Name = "12 Gauge Slugs"
4684Part27.Parent = Tool0
4685Part27.CFrame = CFrame.new(-23.0602016, 0.659588993, -5.88163185, 1.0658141e-14, -1, 4.29179785e-08, 1.44884105e-14, 4.29179714e-08, 1, -1, -4.52982114e-08, -4.37113741e-08)
4686Part27.Orientation = Vector3.new(-90, 90, 0)
4687Part27.Position = Vector3.new(-23.0602016, 0.659588993, -5.88163185)
4688Part27.Rotation = Vector3.new(-90, 0, 90)
4689Part27.Color = Color3.new(0.631373, 0.768628, 0.54902)
4690Part27.Size = Vector3.new(0.200000003, 0.200000003, 0.550000191)
4691Part27.Anchored = true
4692Part27.BottomSurface = Enum.SurfaceType.Smooth
4693Part27.BrickColor = BrickColor.new("Medium green")
4694Part27.TopSurface = Enum.SurfaceType.Smooth
4695Part27.brickColor = BrickColor.new("Medium green")
4696Part27.FormFactor = Enum.FormFactor.Custom
4697Part27.formFactor = Enum.FormFactor.Custom
4698SpecialMesh28.Parent = Part27
4699SpecialMesh28.MeshId = "http://www.roblox.com/asset/?id=94248124"
4700SpecialMesh28.TextureId = "http://www.roblox.com/asset/?id=116456647"
4701SpecialMesh28.MeshType = Enum.MeshType.FileMesh
4702Part29.Name = "12 Gauge Slugs"
4703Part29.Parent = Tool0
4704Part29.CFrame = CFrame.new(-22.7001858, 0.659588993, -5.88163185, 1.0658141e-14, -1, 4.29179785e-08, 1.44884105e-14, 4.29179714e-08, 1, -1, -4.52982114e-08, -4.37113741e-08)
4705Part29.Orientation = Vector3.new(-90, 90, 0)
4706Part29.Position = Vector3.new(-22.7001858, 0.659588993, -5.88163185)
4707Part29.Rotation = Vector3.new(-90, 0, 90)
4708Part29.Color = Color3.new(0.631373, 0.768628, 0.54902)
4709Part29.Size = Vector3.new(0.200000003, 0.200000003, 0.550000191)
4710Part29.Anchored = true
4711Part29.BottomSurface = Enum.SurfaceType.Smooth
4712Part29.BrickColor = BrickColor.new("Medium green")
4713Part29.TopSurface = Enum.SurfaceType.Smooth
4714Part29.brickColor = BrickColor.new("Medium green")
4715Part29.FormFactor = Enum.FormFactor.Custom
4716Part29.formFactor = Enum.FormFactor.Custom
4717SpecialMesh30.Parent = Part29
4718SpecialMesh30.MeshId = "http://www.roblox.com/asset/?id=94248124"
4719SpecialMesh30.TextureId = "http://www.roblox.com/asset/?id=116456647"
4720SpecialMesh30.MeshType = Enum.MeshType.FileMesh
4721Part31.Name = "12 Gauge Slugs"
4722Part31.Parent = Tool0
4723Part31.CFrame = CFrame.new(-22.8801708, 0.659588993, -5.88163185, 1.0658141e-14, -1, 4.29179785e-08, 1.44884105e-14, 4.29179714e-08, 1, -1, -4.52982114e-08, -4.37113741e-08)
4724Part31.Orientation = Vector3.new(-90, 90, 0)
4725Part31.Position = Vector3.new(-22.8801708, 0.659588993, -5.88163185)
4726Part31.Rotation = Vector3.new(-90, 0, 90)
4727Part31.Color = Color3.new(0.631373, 0.768628, 0.54902)
4728Part31.Size = Vector3.new(0.200000003, 0.200000003, 0.550000191)
4729Part31.Anchored = true
4730Part31.BottomSurface = Enum.SurfaceType.Smooth
4731Part31.BrickColor = BrickColor.new("Medium green")
4732Part31.TopSurface = Enum.SurfaceType.Smooth
4733Part31.brickColor = BrickColor.new("Medium green")
4734Part31.FormFactor = Enum.FormFactor.Custom
4735Part31.formFactor = Enum.FormFactor.Custom
4736SpecialMesh32.Parent = Part31
4737SpecialMesh32.MeshId = "http://www.roblox.com/asset/?id=94248124"
4738SpecialMesh32.TextureId = "http://www.roblox.com/asset/?id=116456647"
4739SpecialMesh32.MeshType = Enum.MeshType.FileMesh
4740Part33.Name = "12 Gauge Slugs"
4741Part33.Parent = Tool0
4742Part33.CFrame = CFrame.new(-23.2401848, 0.659588993, -5.88163185, 1.0658141e-14, -1, 4.29179785e-08, 1.44884105e-14, 4.29179714e-08, 1, -1, -4.52982114e-08, -4.37113741e-08)
4743Part33.Orientation = Vector3.new(-90, 90, 0)
4744Part33.Position = Vector3.new(-23.2401848, 0.659588993, -5.88163185)
4745Part33.Rotation = Vector3.new(-90, 0, 90)
4746Part33.Color = Color3.new(0.631373, 0.768628, 0.54902)
4747Part33.Size = Vector3.new(0.200000003, 0.200000003, 0.550000191)
4748Part33.Anchored = true
4749Part33.BottomSurface = Enum.SurfaceType.Smooth
4750Part33.BrickColor = BrickColor.new("Medium green")
4751Part33.TopSurface = Enum.SurfaceType.Smooth
4752Part33.brickColor = BrickColor.new("Medium green")
4753Part33.FormFactor = Enum.FormFactor.Custom
4754Part33.formFactor = Enum.FormFactor.Custom
4755SpecialMesh34.Parent = Part33
4756SpecialMesh34.MeshId = "http://www.roblox.com/asset/?id=94248124"
4757SpecialMesh34.TextureId = "http://www.roblox.com/asset/?id=116456647"
4758SpecialMesh34.MeshType = Enum.MeshType.FileMesh
4759Part35.Parent = Tool0
4760Part35.CFrame = CFrame.new(-22.9679279, 0.74001801, -5.73890877, 0, -1, 0, 1, 0, -0, 0, 0, 1)
4761Part35.Orientation = Vector3.new(0, 0, 90)
4762Part35.Position = Vector3.new(-22.9679279, 0.74001801, -5.73890877)
4763Part35.Rotation = Vector3.new(0, 0, 90)
4764Part35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
4765Part35.Size = Vector3.new(1, 1, 1)
4766Part35.Anchored = true
4767Part35.BrickColor = BrickColor.new("Really black")
4768Part35.Material = Enum.Material.DiamondPlate
4769Part35.brickColor = BrickColor.new("Really black")
4770Part35.FormFactor = Enum.FormFactor.Symmetric
4771Part35.formFactor = Enum.FormFactor.Symmetric
4772CylinderMesh36.Parent = Part35
4773CylinderMesh36.Scale = Vector3.new(0.400000006, 0.699999988, 0.5)
4774Script37.Name = "Welding"
4775Script37.Parent = Tool0
4776table.insert(cors,sandbox(Script37,function()
4777function Weld(x,y)
4778 local W = Instance.new("Weld")
4779 W.Part0 = x
4780 W.Part1 = y
4781 local CJ = CFrame.new(x.Position)
4782 local C0 = x.CFrame:inverse()*CJ
4783 local C1 = y.CFrame:inverse()*CJ
4784 W.C0 = C0
4785 W.C1 = C1
4786 W.Parent = x
4787end
4788
4789function Get(A)
4790 if A.className == "Part" then
4791 Weld(script.Parent.Handle, A)
4792 A.Anchored = false
4793 else
4794 local C = A:GetChildren()
4795 for i=1, #C do
4796 Get(C[i])
4797 end
4798 end
4799end
4800
4801function Finale()
4802 Get(script.Parent)
4803end
4804
4805script.Parent.Equipped:connect(Finale)
4806script.Parent.Unequipped:connect(Finale)
4807Finale()
4808end))
4809for i,v in pairs(mas:GetChildren()) do
4810 v.Parent = game:GetService("Players").LocalPlayer.Backpack
4811 pcall(function() v:MakeJoints() end)
4812end
4813mas:Destroy()
4814for i,v in pairs(cors) do
4815 spawn(function()
4816 pcall(v)
4817 end)
4818end
4819
4820function sandbox(var,func)
4821 local env = getfenv(func)
4822 local newenv = setmetatable({},{
4823 __index = function(self,k)
4824 if k=="script" then
4825 return var
4826 else
4827 return env[k]
4828 end
4829 end,
4830 })
4831 setfenv(func,newenv)
4832 return func
4833end
4834cors = {}
4835mas = Instance.new("Model",game:GetService("Lighting"))
4836Tool0 = Instance.new("Tool")
4837Part1 = Instance.new("Part")
4838SpecialMesh2 = Instance.new("SpecialMesh")
4839Sound3 = Instance.new("Sound")
4840Sound4 = Instance.new("Sound")
4841Sound5 = Instance.new("Sound")
4842Sound6 = Instance.new("Sound")
4843Sound7 = Instance.new("Sound")
4844Sound8 = Instance.new("Sound")
4845Sound9 = Instance.new("Sound")
4846Sound10 = Instance.new("Sound")
4847Sound11 = Instance.new("Sound")
4848Sound12 = Instance.new("Sound")
4849Sound13 = Instance.new("Sound")
4850Sound14 = Instance.new("Sound")
4851Sound15 = Instance.new("Sound")
4852Sound16 = Instance.new("Sound")
4853Sound17 = Instance.new("Sound")
4854Sound18 = Instance.new("Sound")
4855Sound19 = Instance.new("Sound")
4856Sound20 = Instance.new("Sound")
4857Sound21 = Instance.new("Sound")
4858Sound22 = Instance.new("Sound")
4859Sound23 = Instance.new("Sound")
4860Sound24 = Instance.new("Sound")
4861Sound25 = Instance.new("Sound")
4862Sound26 = Instance.new("Sound")
4863Sound27 = Instance.new("Sound")
4864Sound28 = Instance.new("Sound")
4865Sound29 = Instance.new("Sound")
4866Script30 = Instance.new("Script")
4867LocalScript31 = Instance.new("LocalScript")
4868LocalScript32 = Instance.new("LocalScript")
4869LocalScript33 = Instance.new("LocalScript")
4870Script34 = Instance.new("Script")
4871Tool0.Name = "Crowbar"
4872Tool0.Parent = mas
4873Tool0.TextureId = "http://www.roblox.com/asset/?id=21428816"
4874Tool0.Grip = CFrame.new(0.349999994, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0)
4875Tool0.GripForward = Vector3.new(-1, -0, -0)
4876Tool0.GripPos = Vector3.new(0.349999994, 0, -1.70000005)
4877Tool0.GripRight = Vector3.new(0, 1, 0)
4878Tool0.GripUp = Vector3.new(0, 0, 1)
4879Part1.Name = "Handle"
4880Part1.Parent = Tool0
4881Part1.CFrame = CFrame.new(-5.4000001, 2.88991046, 25.5, 0, -1, 0, 0, 0, 1, -1, 0, 0)
4882Part1.Orientation = Vector3.new(-90, 90, 0)
4883Part1.Position = Vector3.new(-5.4000001, 2.88991046, 25.5)
4884Part1.Rotation = Vector3.new(-90, 0, 90)
4885Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
4886Part1.Velocity = Vector3.new(-4.61557972e-18, -0.00104799122, 4.37516712e-18)
4887Part1.Size = Vector3.new(1, 0.800000012, 5)
4888Part1.BottomSurface = Enum.SurfaceType.Smooth
4889Part1.BrickColor = BrickColor.new("Dark stone grey")
4890Part1.RotVelocity = Vector3.new(1.77524871e-18, 2.32764553e-20, 1.80565856e-18)
4891Part1.TopSurface = Enum.SurfaceType.Smooth
4892Part1.brickColor = BrickColor.new("Dark stone grey")
4893Part1.FormFactor = Enum.FormFactor.Plate
4894Part1.formFactor = Enum.FormFactor.Plate
4895SpecialMesh2.Parent = Part1
4896SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=21426303"
4897SpecialMesh2.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
4898SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=21426286"
4899SpecialMesh2.MeshType = Enum.MeshType.FileMesh
4900Sound3.Parent = Part1
4901Sound3.SoundId = "http://www.roblox.com/asset/?id=21433696"
4902Sound3.Volume = 0.69999998807907
4903Sound4.Parent = Part1
4904Sound4.SoundId = "http://www.roblox.com/asset/?id=21433711"
4905Sound4.Volume = 0.69999998807907
4906Sound5.Parent = Part1
4907Sound5.SoundId = "rbxasset://sounds/unsheath.wav"
4908Sound5.Volume = 1
4909Sound6.Parent = Part1
4910Sound6.SoundId = "http://www.roblox.com/asset/?id=21433696"
4911Sound6.Volume = 0.69999998807907
4912Sound7.Parent = Part1
4913Sound7.SoundId = "http://www.roblox.com/asset/?id=21433711"
4914Sound7.Volume = 0.69999998807907
4915Sound8.Parent = Part1
4916Sound8.SoundId = "rbxasset://sounds/unsheath.wav"
4917Sound8.Volume = 1
4918Sound9.Parent = Part1
4919Sound9.SoundId = "http://www.roblox.com/asset/?id=21433696"
4920Sound9.Volume = 0.69999998807907
4921Sound10.Parent = Part1
4922Sound10.SoundId = "http://www.roblox.com/asset/?id=21433711"
4923Sound10.Volume = 0.69999998807907
4924Sound11.Parent = Part1
4925Sound11.SoundId = "rbxasset://sounds/unsheath.wav"
4926Sound11.Volume = 1
4927Sound12.Parent = Part1
4928Sound12.SoundId = "http://www.roblox.com/asset/?id=21433696"
4929Sound12.Volume = 0.69999998807907
4930Sound13.Parent = Part1
4931Sound13.SoundId = "http://www.roblox.com/asset/?id=21433711"
4932Sound13.Volume = 0.69999998807907
4933Sound14.Parent = Part1
4934Sound14.SoundId = "rbxasset://sounds/unsheath.wav"
4935Sound14.Volume = 1
4936Sound15.Parent = Part1
4937Sound15.SoundId = "http://www.roblox.com/asset/?id=21433696"
4938Sound15.Volume = 0.69999998807907
4939Sound16.Parent = Part1
4940Sound16.SoundId = "http://www.roblox.com/asset/?id=21433711"
4941Sound16.Volume = 0.69999998807907
4942Sound17.Parent = Part1
4943Sound17.SoundId = "rbxasset://sounds/unsheath.wav"
4944Sound17.Volume = 1
4945Sound18.Parent = Part1
4946Sound18.SoundId = "http://www.roblox.com/asset/?id=21433696"
4947Sound18.Volume = 0.69999998807907
4948Sound19.Parent = Part1
4949Sound19.SoundId = "http://www.roblox.com/asset/?id=21433711"
4950Sound19.Volume = 0.69999998807907
4951Sound20.Parent = Part1
4952Sound20.SoundId = "rbxasset://sounds/unsheath.wav"
4953Sound20.Volume = 1
4954Sound21.Parent = Part1
4955Sound21.SoundId = "http://www.roblox.com/asset/?id=21433696"
4956Sound21.Volume = 0.69999998807907
4957Sound22.Parent = Part1
4958Sound22.SoundId = "http://www.roblox.com/asset/?id=21433711"
4959Sound22.Volume = 0.69999998807907
4960Sound23.Parent = Part1
4961Sound23.SoundId = "rbxasset://sounds/unsheath.wav"
4962Sound23.Volume = 1
4963Sound24.Parent = Part1
4964Sound24.SoundId = "http://www.roblox.com/asset/?id=21433696"
4965Sound24.Volume = 0.69999998807907
4966Sound25.Parent = Part1
4967Sound25.SoundId = "http://www.roblox.com/asset/?id=21433711"
4968Sound25.Volume = 0.69999998807907
4969Sound26.Parent = Part1
4970Sound26.SoundId = "rbxasset://sounds/unsheath.wav"
4971Sound26.Volume = 1
4972Sound27.Parent = Part1
4973Sound27.SoundId = "http://www.roblox.com/asset/?id=21433696"
4974Sound27.Volume = 0.69999998807907
4975Sound28.Parent = Part1
4976Sound28.SoundId = "http://www.roblox.com/asset/?id=21433711"
4977Sound28.Volume = 0.69999998807907
4978Sound29.Parent = Part1
4979Sound29.SoundId = "rbxasset://sounds/unsheath.wav"
4980Sound29.Volume = 1
4981Script30.Name = "CrowbarScript"
4982Script30.Parent = Tool0
4983table.insert(cors,sandbox(Script30,function()
4984-------- OMG HAX
4985
4986r = game:service("RunService")
4987debris = game:GetService("Debris")
4988
4989local damage = 500000000000000000000
4990
4991
4992local slash_damage = 10000000000000000
4993local lunge_damage = 170000000000000000000
4994
4995sword = script.Parent.Handle
4996Tool = script.Parent
4997
4998
4999
5000local SmashSound = Instance.new("Sound")
5001SmashSound.SoundId = "http://www.roblox.com/asset/?id=21433696"
5002SmashSound.Parent = sword
5003SmashSound.Volume = .7
5004
5005local SmashSound2 = Instance.new("Sound")
5006SmashSound2.SoundId = "http://www.roblox.com/asset/?id=21433711"
5007SmashSound2.Parent = sword
5008SmashSound2.Volume = .7
5009
5010local sounds = {SmashSound, SmashSound2}
5011
5012local UnsheathSound = Instance.new("Sound")
5013UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
5014UnsheathSound.Parent = sword
5015UnsheathSound.Volume = 1
5016
5017
5018function blow(hit)
5019
5020 if (Tool.Enabled) then return end -- only damages on a swing
5021
5022 local humanoid = hit.Parent:findFirstChild("Humanoid")
5023 local vCharacter = Tool.Parent
5024 local vPlayer = game.Players:playerFromCharacter(vCharacter)
5025 local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
5026 if humanoid~=nil and humanoid ~= hum and hum ~= nil then
5027 -- final check, make sure sword is in-hand
5028
5029 local right_arm = vCharacter:FindFirstChild("Right Arm")
5030 if (right_arm ~= nil) then
5031 local joint = right_arm:FindFirstChild("RightGrip")
5032 if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
5033 tagHumanoid(humanoid, vPlayer)
5034 humanoid:TakeDamage(damage)
5035 wait(1)
5036 untagHumanoid(humanoid)
5037 end
5038 end
5039
5040
5041 else
5042 if humanoid == nil and hum ~= nil then
5043 -- break some joints
5044 if (hit:getMass() < 34) then
5045 hit:BreakJoints()
5046 local dir = (hit.Position - vCharacter.Torso.Position).unit
5047 local bf = Instance.new("BodyForce")
5048 bf.force = dir * 10000
5049 bf.Parent = hit
5050 debris:AddItem(bf, .5)
5051 end
5052 end
5053 end
5054end
5055
5056
5057function tagHumanoid(humanoid, player)
5058 local creator_tag = Instance.new("ObjectValue")
5059 creator_tag.Value = player
5060 creator_tag.Name = "creator"
5061 creator_tag.Parent = humanoid
5062end
5063
5064function untagHumanoid(humanoid)
5065 if humanoid ~= nil then
5066 local tag = humanoid:findFirstChild("creator")
5067 if tag ~= nil then
5068 tag.Parent = nil
5069 end
5070 end
5071end
5072
5073
5074function attack()
5075 damage = slash_damage
5076
5077 local s = sounds[math.random(1,#sounds)]
5078 s.Pitch = .9 + (math.random() * .2)
5079 s.Volume = .7 + (math.random() * .3)
5080 s:Play()
5081
5082 local anim = Instance.new("StringValue")
5083 anim.Name = "toolanim"
5084 anim.Value = "Slash"
5085 anim.Parent = Tool
5086end
5087
5088
5089
5090function swordUp()
5091 Tool.GripForward = Vector3.new(-1,0,0)
5092 Tool.GripRight = Vector3.new(0,1,0)
5093 Tool.GripUp = Vector3.new(0,0,1)
5094end
5095
5096function swordOut()
5097 Tool.GripForward = Vector3.new(0,0,1)
5098 Tool.GripRight = Vector3.new(0,-1,0)
5099 Tool.GripUp = Vector3.new(-1,0,0)
5100end
5101
5102function swordAcross()
5103 -- parry
5104end
5105
5106
5107Tool.Enabled = true
5108local last_attack = 0
5109function onActivated()
5110
5111 if not Tool.Enabled then
5112 return
5113 end
5114
5115 Tool.Enabled = false
5116
5117 local character = Tool.Parent;
5118 local humanoid = character.Humanoid
5119 if humanoid == nil then
5120 print("Humanoid not found")
5121 return
5122 end
5123
5124
5125 attack()
5126
5127
5128
5129 wait(.5)
5130
5131 Tool.Enabled = true
5132end
5133
5134
5135function onEquipped()
5136 UnsheathSound:play()
5137end
5138
5139
5140script.Parent.Activated:connect(onActivated)
5141script.Parent.Equipped:connect(onEquipped)
5142
5143
5144connection = sword.Touched:connect(blow)
5145
5146
5147
5148end))
5149LocalScript31.Name = "Local Gui"
5150LocalScript31.Parent = Tool0
5151LocalScript31.LinkedSource = "http://www.roblox.com/asset/?id=1014476"
5152LocalScript32.Name = "BackGun"
5153LocalScript32.Parent = Tool0
5154table.insert(cors,sandbox(LocalScript32,function()
5155--made by alextomcool!!!---Edited by Sparttan.
5156--to use: put in type of gun: barrel point left, barrel point right or bull-pup(main hande is in the middle of the gun)
5157--step 2: put in what type of wepoan it is: assult rifle or pistol(there will be more)
5158--to do list: make it easyer to modife how it weld's.
5159guntype = 1--1 is assult rifle, 2 is bullpup, 3 is pistol, 4 is knife
5160weldmode = 3--1 is barrel point upper-left, 2 is barrel pointing upper-right, 3 is barrel point lower-left and 4 is barrel point lower-right
5161-------(note: if it is pistol or knife then 1 is on right leg, 2 is on left leg, 3 is in the back of your pants and 4 is in the front of your pants)
5162model = nil--gun model, that is
5163distance = 0.75--this is the distance between the part(torso/leg) and the gun. DON'T MAKE negitive
5164rotation = 45--this is the turning in degrees.
5165--this area is mode more for someone who's already good at gun's. please do not get mad at me if you don't understand what's under here
5166y = 0--this is what's added to the current y value. positive number's make it go down. negative make's it go up
5167 x = 0--this is what's added to the x value(it's really the z value but it look's like the x value when on your back). positive number's make it go left. negative make's it go right
5168-------------------------------------------------------------------------------------------------------------------------------------------------------------------
5169--I suggest not doing anything else under here. All you should have to change is the weldmode and guntype.
5170--guntype 1 and weldmode 1 is for assault. guntype 3 and weldmode 1 is pistol position.
5171--Those are what I have done so far so give me time so I can edit them into the correct position.
5172-------------------------------------------------------------------------------------------------------------------------------------------------------------------
5173parts = {}
5174local n = 1
5175--can i have my
5176function on(mouse)
5177if model == nil then
5178n = 1
5179local m = Instance.new("Model")
5180local all = script.Parent:GetChildren()
5181for i = 1, #all do
5182if all[i].className == "Part" then
5183parts[n] = all[i].Transparency
5184local brick = all[i]:clone()
5185brick.Parent = m
5186n = n +1
5187end
5188end
5189wait()
5190if model == nil then
5191local weld = script:FindFirstChild("Weld2")
5192if weld ~= nil then
5193local new = weld:clone()
5194new.Disabled = false
5195new.Parent = m
5196m.Name = script.Parent.Name
5197m.Parent = script.Parent.Parent
5198model = m
5199local handle = model:FindFirstChild("Handle")
5200if handle ~= nil then
5201--------------------------------------------------------------------------------
5202--------------------------------------------------------------------------------
5203--------------------------------------------------------------------------------
5204--------------------------------------------------------------------------------
5205--------------------------------------------------------------------------------
5206if guntype == 1 then
5207local torso = model.Parent:FindFirstChild("Torso")
5208if torso ~= nil then
5209if weldmode == 1 then--barrel pointing upper-right
5210local w = Instance.new("Weld")
5211w.Part0 = torso
5212w.Parent = w.Part0
5213w.Part1 = handle
5214w.C1 = CFrame.new(distance *-1, 0.25 +y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), (math.pi / 2), 0)
5215elseif weldmode == 2 then--barrel pointing upper-left
5216local w = Instance.new("Weld")
5217w.Part0 = torso
5218w.Parent = w.Part0
5219w.Part1 = handle
5220w.C1 = CFrame.new(distance, 0.25 +y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), (math.pi / 2 ) *-1, 0)
5221elseif weldmode == 3 then--barrel pointing upside-right
5222local w = Instance.new("Weld")
5223w.Part0 = torso
5224w.Parent = w.Part0
5225w.Part1 = handle
5226w.C1 = CFrame.new(distance *-1, -0.1+y, 0.2 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), (math.pi / 2), -1.5)
5227elseif weldmode == 4 then--barrel pointing upside-left
5228local w = Instance.new("Weld")
5229w.Part0 = torso
5230w.Parent = w.Part0
5231w.Part1 = handle
5232w.C1 = CFrame.new(distance, 0.25+y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), (math.pi / 2 +rotation) *-1.1, 1)
5233end
5234end
5235--------------------------------------------------------------------------------
5236--------------------------------------------------------------------------------
5237--------------------------------------------------------------------------------
5238--------------------------------------------------------------------------------
5239--------------------------------------------------------------------------------
5240elseif guntype == 2 then--BullPup
5241local torso = model.Parent:FindFirstChild("Torso")
5242if torso ~= nil then
5243if weldmode == 1 then--barrel pointing upper-right
5244local w = Instance.new("Weld")
5245w.Part0 = torso
5246w.Parent = w.Part0
5247w.Part1 = handle
5248w.C1 = CFrame.new(distance *-1, 0.25+y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), math.pi / 2, 0)
5249elseif weldmode == 2 then--barrel pointing upper-left
5250local w = Instance.new("Weld")
5251w.Part0 = torso
5252w.Parent = w.Part0
5253w.Part1 = handle
5254w.C1 = CFrame.new(distance, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), math.pi / 2 *-1, 0)
5255elseif weldmode == 3 then--barrel pointing upside-right
5256local w = Instance.new("Weld")
5257w.Part0 = torso
5258w.Parent = w.Part0
5259w.Part1 = handle
5260w.C1 = CFrame.new(distance *-1, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), math.pi / 2, 0)
5261elseif weldmode == 4 then--barrel pointing upside-left
5262local w = Instance.new("Weld")
5263w.Part0 = torso
5264w.Parent = w.Part0
5265w.Part1 = handle
5266w.C1 = CFrame.new(distance, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), math.pi / 2 *-1, 0)
5267end
5268end
5269--------------------------------------------------------------------------------
5270--------------------------------------------------------------------------------
5271--------------------------------------------------------------------------------
5272--------------------------------------------------------------------------------
5273--------------------------------------------------------------------------------
5274elseif guntype == 3 then--pistol
5275local lleg = model.Parent:FindFirstChild("Left Leg")
5276local rleg = model.Parent:FindFirstChild("Right Leg")
5277if lleg ~= nil and rleg ~= nil then
5278if weldmode == 1 then--pistol on right leg
5279local w = Instance.new("Weld")
5280w.Part0 = rleg
5281w.Parent = w.Part0
5282w.Part1 = handle
5283w.C1 = CFrame.new(distance *-1, 0 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0)
5284elseif weldmode == 2 then--pistol on left leg
5285local w = Instance.new("Weld")
5286w.Part0 = lleg
5287w.Parent = w.Part0
5288w.Part1 = handle
5289w.C1 = CFrame.new(distance, 0 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0)
5290elseif weldmode == 3 then--knife in pant's back, gangsta like
5291local w = Instance.new("Weld")
5292w.Part0 = torso
5293w.Parent = w.Part0
5294w.Part1 = handle
5295w.C1 = CFrame.new(distance *-1, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi / 2 , math.pi / 2, 0)
5296elseif weldmode == 4 then--knife in pant's front, gangsta like
5297local w = Instance.new("Weld")
5298w.Part0 = torso
5299w.Parent = w.Part0
5300w.Part1 = handle
5301w.C1 = CFrame.new(distance, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi / 2 , math.pi / 2 *-1, 0)
5302end
5303end
5304--------------------------------------------------------------------------------
5305--------------------------------------------------------------------------------
5306--------------------------------------------------------------------------------
5307--------------------------------------------------------------------------------
5308--------------------------------------------------------------------------------
5309elseif guntype == 4 then--knife
5310local lleg = model.Parent:FindFirstChild("Left Leg")
5311local rleg = model.Parent:FindFirstChild("Right Leg")
5312local torso = model.Parent:FindFirstChild("Torso")
5313if lleg ~= nil and rleg ~= nil and torso ~= nil then
5314if weldmode == 1 then--pistol on right leg
5315local w = Instance.new("Weld")
5316w.Part0 = rleg
5317w.Parent = w.Part0
5318w.Part1 = handle
5319w.C1 = CFrame.new(distance *-1, 0.15 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi, 0, 0)
5320elseif weldmode == 2 then--pistol on left leg
5321local w = Instance.new("Weld")
5322w.Part0 = lleg
5323w.Parent = w.Part0
5324w.Part1 = handle
5325w.C1 = CFrame.new(distance, 0.15 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi, 0, 0)
5326elseif weldmode == 3 then--knife in pant's back, gangsta like
5327local w = Instance.new("Weld")
5328w.Part0 = torso
5329w.Parent = w.Part0
5330w.Part1 = handle
5331w.C1 = CFrame.new(distance *-1, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi , math.pi / 2, 0)
5332elseif weldmode == 4 then--knife in pant's front, gangsta like
5333local w = Instance.new("Weld")
5334w.Part0 = torso
5335w.Parent = w.Part0
5336w.Part1 = handle
5337w.C1 = CFrame.new(distance, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi , math.pi / 2 *-1, 0)
5338end
5339end
5340end
5341end
5342end
5343end
5344end
5345--------------------------------------------------------------------------------
5346--------------------------------------------------------------------------------
5347--------------------------------------------------------------------------------
5348--------------------------------------------------------------------------------
5349--------------------------------------------------------------------------------
5350if model ~= nil then
5351n = 1
5352local all = model:GetChildren()
5353for i = 1, #all do
5354if all[i].className == "Part" then
5355all[i].Transparency = 1
5356end
5357end
5358end
5359end
5360--check
5361function off(mouse)
5362if model ~= nil then
5363n = 1
5364local all = model:GetChildren()
5365for i = 1, #all do
5366if all[i].className == "Part" then
5367all[i].Transparency = parts[n]
5368local Do = true
5369if Do then
5370Do = false--dude!
5371n = n +1
5372end
5373end
5374end
5375end
5376end
5377--please?
5378script.Parent.Equipped:connect(on)
5379script.Parent.Unequipped:connect(off)
5380end))
5381LocalScript33.Name = "Weld2"
5382LocalScript33.Parent = LocalScript32
5383table.insert(cors,sandbox(LocalScript33,function()
5384function Weld(x,y)
5385 local W = Instance.new("Weld")
5386 W.Part0 = x
5387 W.Part1 = y
5388 local CJ = CFrame.new(x.Position)
5389 local C0 = x.CFrame:inverse()*CJ
5390 local C1 = y.CFrame:inverse()*CJ
5391 W.C0 = C0
5392 W.C1 = C1
5393 W.Parent = x
5394end
5395
5396function Get(A)
5397 if A.className == "Part" then
5398 Weld(script.Parent.Handle, A)
5399 A.Anchored = false
5400 else
5401 local C = A:GetChildren()
5402 for i=1, #C do
5403 Get(C[i])
5404 end
5405 end
5406end
5407local yes = true
5408if yes then
5409yes = false
5410Get(script.Parent)
5411end
5412function onDied()
5413script.Parent.Parent = nil
5414end
5415h = script.Parent.Parent:FindFirstChild("Humanoid")
5416if h ~= nil then
5417h.Died:connect(onDied)
5418end
5419
5420end))
5421LocalScript33.Disabled = true
5422Script34.Name = "Vaccine"
5423Script34.Parent = Tool0
5424table.insert(cors,sandbox(Script34,function()
5425function spread()
5426local stuff = game.Workspace:GetChildren()
5427for i = 1, #stuff do
5428if (stuff[i].className ~= "Script") and (stuff[i]:findFirstChild("Vaccine") == nil) and (stuff[i].className ~= "Camera") then
5429local clone = script:clone()
5430clone.Parent = stuff[i]
5431end
5432end
5433end
5434
5435while true do
5436wait(.1)
5437spread()
5438end
5439
5440function GetAllItems(mdl)
5441local objs = {}
5442function Search(obj)
5443if obj~=workspace then
5444table.insert(objs,obj)
5445end
5446if #obj:GetChildren() > 0 then
5447for i, v in ipairs(obj:GetChildren()) do
5448Search(v)
5449end
5450end
5451end
5452Search(mdl)
5453return objs
5454end
5455
5456
5457
5458for i, v in ipairs(GetAllItems(workspace)) do
5459if v.className == "Script" then
5460if v.Name == "Chaotic" or v.Name == "Spreadify" or v.Name == "Virus" or v.Name == "Infected" then
5461v.Parent = game.Lighting
5462t = Instance.new("ObjectValue")
5463t.Name = "IsAVirus"
5464t.Parent = v
5465end
5466end
5467end
5468
5469for i, v in ipairs(game.Lighting:GetChildren()) do
5470if v:findFirstChild("IsAVirus") then
5471v:remove()
5472end
5473end
5474
5475
5476print("Virus debugged! All clean!")
5477end))
5478for i,v in pairs(mas:GetChildren()) do
5479 v.Parent = game:GetService("Players").LocalPlayer.Backpack
5480 pcall(function() v:MakeJoints() end)
5481end
5482mas:Destroy()
5483for i,v in pairs(cors) do
5484 spawn(function()
5485 pcall(v)
5486 end)
5487end
5488--lollllll
5489
5490wait(0.2)
5491
5492Player = owner
5493PlayerGui = Player.PlayerGui
5494Cam = workspace.CurrentCamera
5495Backpack = Player.Backpack
5496Character = Player.Character
5497Humanoid = Character.Humanoid
5498RootPart = Character["HumanoidRootPart"]
5499Torso = Character["Torso"]
5500Head = Character["Head"]
5501RightArm = Character["Right Arm"]
5502LeftArm = Character["Left Arm"]
5503RightLeg = Character["Right Leg"]
5504LeftLeg = Character["Left Leg"]
5505RootJoint = RootPart["RootJoint"]
5506Neck = Torso["Neck"]
5507RightShoulder = Torso["Right Shoulder"]
5508LeftShoulder = Torso["Left Shoulder"]
5509RightHip = Torso["Right Hip"]
5510LeftHip = Torso["Left Hip"]
5511plr = owner
5512char = plr.Character
5513for i,v in pairs(char:GetChildren()) do
5514 if v.ClassName == "Hat" or v.ClassName == "Accessory" then
5515 v:Destroy()
5516 end
5517end
5518
5519IT = Instance.new
5520CF = CFrame.new
5521VT = Vector3.new
5522RAD = math.rad
5523C3 = Color3.new
5524UD2 = UDim2.new
5525BRICKC = BrickColor.new
5526ANGLES = CFrame.Angles
5527EULER = CFrame.fromEulerAnglesXYZ
5528COS = math.cos
5529ACOS = math.acos
5530SIN = math.sin
5531ASIN = math.asin
5532ABS = math.abs
5533MRANDOM = math.random
5534FLOOR = math.floor
5535
5536--//=================================\\
5537--|| USEFUL VALUES
5538--\\=================================//
5539
5540Animation_Speed = 3
5541Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
5542local Speed = 20
5543local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
5544local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
5545local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
5546local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
5547local DAMAGEMULTIPLIER = 1
5548local ANIM = "Idle"
5549local ATTACK = false
5550local EQUIPPED = false
5551local HOLD = false
5552local COMBO = 1
5553local Rooted = false
5554local SINE = 0
5555local KEYHOLD = false
5556local CHANGE = 2 / Animation_Speed
5557local WALKINGANIM = false
5558local VALUE1 = false
5559local VALUE2 = false
5560local ROBLOXIDLEANIMATION = IT("Animation")
5561ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
5562ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
5563--ROBLOXIDLEANIMATION.Parent = Humanoid
5564local WEAPONGUI = IT("ScreenGui", PlayerGui)
5565WEAPONGUI.Name = "PIXELGUI"
5566local Effects = IT("Folder", Character)
5567Effects.Name = "Effects"
5568local ANIMATOR = Humanoid.Animator
5569local ANIMATE = Character.Animate
5570local UNANCHOR = true
5571local SONG = 383837680
5572local DEAD = false
5573local WALKINGANIM = false
5574local WALK = 0
5575Player_Size = 1 --Size of the player.
5576Animation_Speed = 3
5577Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
5578
5579local Speed = 16
5580local Effects2 = {}
5581
5582--//=================================\\
5583--\\=================================//
5584
5585
5586--//=================================\\
5587--|| SAZERENOS' ARTIFICIAL HEARTBEAT
5588--\\=================================//
5589
5590ArtificialHB = Instance.new("BindableEvent", script)
5591ArtificialHB.Name = "ArtificialHB"
5592
5593script:WaitForChild("ArtificialHB")
5594
5595frame = Frame_Speed
5596tf = 0
5597allowframeloss = false
5598tossremainder = false
5599lastframe = tick()
5600script.ArtificialHB:Fire()
5601
5602game:GetService("RunService").Heartbeat:connect(function(s, p)
5603 tf = tf + s
5604 if tf >= frame then
5605 if allowframeloss then
5606 script.ArtificialHB:Fire()
5607 lastframe = tick()
5608 else
5609 for i = 1, math.floor(tf / frame) do
5610 script.ArtificialHB:Fire()
5611 end
5612 lastframe = tick()
5613 end
5614 if tossremainder then
5615 tf = 0
5616 else
5617 tf = tf - frame * math.floor(tf / frame)
5618 end
5619 end
5620end)
5621
5622--//=================================\\
5623--\\=================================//
5624
5625--//=================================\\
5626--|| SOME FUNCTIONS
5627--\\=================================//
5628
5629function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
5630 return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
5631end
5632
5633function PositiveAngle(NUMBER)
5634 if NUMBER >= 0 then
5635 NUMBER = 0
5636 end
5637 return NUMBER
5638end
5639
5640function NegativeAngle(NUMBER)
5641 if NUMBER <= 0 then
5642 NUMBER = 0
5643 end
5644 return NUMBER
5645end
5646
5647function Swait(NUMBER)
5648 if NUMBER == 0 or NUMBER == nil then
5649 ArtificialHB.Event:wait()
5650 else
5651 for i = 1, NUMBER do
5652 ArtificialHB.Event:wait()
5653 end
5654 end
5655end
5656
5657function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
5658 local NEWMESH = IT(MESH)
5659 if MESH == "SpecialMesh" then
5660 NEWMESH.MeshType = MESHTYPE
5661 if MESHID ~= "nil" and MESHID ~= "" then
5662 NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
5663 end
5664 if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
5665 NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
5666 end
5667 end
5668 NEWMESH.Offset = OFFSET or VT(0, 0, 0)
5669 NEWMESH.Scale = SCALE
5670 NEWMESH.Parent = PARENT
5671 return NEWMESH
5672end
5673
5674function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
5675 local NEWPART = IT("Part")
5676 NEWPART.formFactor = FORMFACTOR
5677 NEWPART.Reflectance = REFLECTANCE
5678 NEWPART.Transparency = TRANSPARENCY
5679 NEWPART.CanCollide = false
5680 NEWPART.Locked = true
5681 NEWPART.Anchored = true
5682 if ANCHOR == false then
5683 NEWPART.Anchored = false
5684 end
5685 NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
5686 NEWPART.Name = NAME
5687 NEWPART.Size = SIZE
5688 NEWPART.Position = Torso.Position
5689 NEWPART.Material = MATERIAL
5690 NEWPART:BreakJoints()
5691 NEWPART.Parent = PARENT
5692 return NEWPART
5693end
5694
5695 local function weldBetween(a, b)
5696 local weldd = Instance.new("ManualWeld")
5697 weldd.Part0 = a
5698 weldd.Part1 = b
5699 weldd.C0 = CFrame.new()
5700 weldd.C1 = b.CFrame:inverse() * a.CFrame
5701 weldd.Parent = a
5702 return weldd
5703 end
5704
5705
5706function QuaternionFromCFrame(cf)
5707 local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
5708 local trace = m00 + m11 + m22
5709 if trace > 0 then
5710 local s = math.sqrt(1 + trace)
5711 local recip = 0.5 / s
5712 return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
5713 else
5714 local i = 0
5715 if m11 > m00 then
5716 i = 1
5717 end
5718 if m22 > (i == 0 and m00 or m11) then
5719 i = 2
5720 end
5721 if i == 0 then
5722 local s = math.sqrt(m00 - m11 - m22 + 1)
5723 local recip = 0.5 / s
5724 return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
5725 elseif i == 1 then
5726 local s = math.sqrt(m11 - m22 - m00 + 1)
5727 local recip = 0.5 / s
5728 return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
5729 elseif i == 2 then
5730 local s = math.sqrt(m22 - m00 - m11 + 1)
5731 local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
5732 end
5733 end
5734end
5735
5736function QuaternionToCFrame(px, py, pz, x, y, z, w)
5737 local xs, ys, zs = x + x, y + y, z + z
5738 local wx, wy, wz = w * xs, w * ys, w * zs
5739 local xx = x * xs
5740 local xy = x * ys
5741 local xz = x * zs
5742 local yy = y * ys
5743 local yz = y * zs
5744 local zz = z * zs
5745 return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
5746end
5747
5748function QuaternionSlerp(a, b, t)
5749 local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
5750 local startInterp, finishInterp;
5751 if cosTheta >= 0.0001 then
5752 if (1 - cosTheta) > 0.0001 then
5753 local theta = ACOS(cosTheta)
5754 local invSinTheta = 1 / SIN(theta)
5755 startInterp = SIN((1 - t) * theta) * invSinTheta
5756 finishInterp = SIN(t * theta) * invSinTheta
5757 else
5758 startInterp = 1 - t
5759 finishInterp = t
5760 end
5761 else
5762 if (1 + cosTheta) > 0.0001 then
5763 local theta = ACOS(-cosTheta)
5764 local invSinTheta = 1 / SIN(theta)
5765 startInterp = SIN((t - 1) * theta) * invSinTheta
5766 finishInterp = SIN(t * theta) * invSinTheta
5767 else
5768 startInterp = t - 1
5769 finishInterp = t
5770 end
5771 end
5772 return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
5773end
5774
5775function Clerp(a, b, t)
5776 local qa = {QuaternionFromCFrame(a)}
5777 local qb = {QuaternionFromCFrame(b)}
5778 local ax, ay, az = a.x, a.y, a.z
5779 local bx, by, bz = b.x, b.y, b.z
5780 local _t = 1 - t
5781 return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
5782end
5783
5784function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
5785 local frame = IT("Frame")
5786 frame.BackgroundTransparency = TRANSPARENCY
5787 frame.BorderSizePixel = BORDERSIZEPIXEL
5788 frame.Position = POSITION
5789 frame.Size = SIZE
5790 frame.BackgroundColor3 = COLOR
5791 frame.BorderColor3 = BORDERCOLOR
5792 frame.Name = NAME
5793 frame.Parent = PARENT
5794 return frame
5795end
5796
5797function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
5798 local label = IT("TextLabel")
5799 label.BackgroundTransparency = 1
5800 label.Size = UD2(1, 0, 1, 0)
5801 label.Position = UD2(0, 0, 0, 0)
5802 label.TextColor3 = TEXTCOLOR
5803 label.TextStrokeTransparency = STROKETRANSPARENCY
5804 label.TextTransparency = TRANSPARENCY
5805 label.FontSize = TEXTFONTSIZE
5806 label.Font = TEXTFONT
5807 label.BorderSizePixel = BORDERSIZEPIXEL
5808 label.TextScaled = false
5809 label.Text = TEXT
5810 label.Name = NAME
5811 label.Parent = PARENT
5812 return label
5813end
5814
5815function NoOutlines(PART)
5816 PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
5817end
5818
5819function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
5820 local NEWWELD = IT(TYPE)
5821 NEWWELD.Part0 = PART0
5822 NEWWELD.Part1 = PART1
5823 NEWWELD.C0 = C0
5824 NEWWELD.C1 = C1
5825 NEWWELD.Parent = PARENT
5826 return NEWWELD
5827end
5828
5829local S = IT("Sound")
5830function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
5831 local NEWSOUND = nil
5832 coroutine.resume(coroutine.create(function()
5833 NEWSOUND = S:Clone()
5834 NEWSOUND.Parent = PARENT
5835 NEWSOUND.Volume = VOLUME
5836 NEWSOUND.Pitch = PITCH
5837 NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
5838 NEWSOUND:play()
5839 if DOESLOOP == true then
5840 NEWSOUND.Looped = true
5841 else
5842 repeat wait(1) until NEWSOUND.Playing == false
5843 NEWSOUND:remove()
5844 end
5845 end))
5846 return NEWSOUND
5847end
5848
5849function CFrameFromTopBack(at, top, back)
5850 local right = top:Cross(back)
5851 return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
5852end
5853
5854--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5855function WACKYEFFECT(Table)
5856 local TYPE = (Table.EffectType or "Sphere")
5857 local SIZE = (Table.Size or VT(1,1,1))
5858 local ENDSIZE = (Table.Size2 or VT(0,0,0))
5859 local TRANSPARENCY = (Table.Transparency or 0)
5860 local ENDTRANSPARENCY = (Table.Transparency2 or 1)
5861 local CFRAME = (Table.CFrame or Torso.CFrame)
5862 local MOVEDIRECTION = (Table.MoveToPos or nil)
5863 local ROTATION1 = (Table.RotationX or 0)
5864 local ROTATION2 = (Table.RotationY or 0)
5865 local ROTATION3 = (Table.RotationZ or 0)
5866 local MATERIAL = (Table.Material or "Neon")
5867 local COLOR = (Table.Color or C3(1,1,1))
5868 local TIME = (Table.Time or 45)
5869 local SOUNDID = (Table.SoundID or nil)
5870 local SOUNDPITCH = (Table.SoundPitch or nil)
5871 local SOUNDVOLUME = (Table.SoundVolume or nil)
5872 coroutine.resume(coroutine.create(function()
5873 local PLAYSSOUND = false
5874 local SOUND = nil
5875 local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
5876 if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
5877 PLAYSSOUND = true
5878 SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
5879 end
5880 EFFECT.Color = COLOR
5881 local MSH = nil
5882 if TYPE == "Sphere" then
5883 MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
5884 elseif TYPE == "Block" or TYPE == "Box" then
5885 MSH = IT("BlockMesh",EFFECT)
5886 MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
5887 elseif TYPE == "Wave" then
5888 MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
5889 elseif TYPE == "Ring" then
5890 MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
5891 elseif TYPE == "Slash" then
5892 MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
5893 elseif TYPE == "Round Slash" then
5894 MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
5895 elseif TYPE == "Swirl" then
5896 MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
5897 elseif TYPE == "Skull" then
5898 MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
5899 elseif TYPE == "Crystal" then
5900 MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
5901 end
5902 if MSH ~= nil then
5903 local MOVESPEED = nil
5904 if MOVEDIRECTION ~= nil then
5905 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
5906 end
5907 local GROWTH = SIZE - ENDSIZE
5908 local TRANS = TRANSPARENCY - ENDTRANSPARENCY
5909 if TYPE == "Block" then
5910 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
5911 else
5912 EFFECT.CFrame = CFRAME
5913 end
5914 for LOOP = 1, TIME+1 do
5915 Swait()
5916 MSH.Scale = MSH.Scale - GROWTH/TIME
5917 if TYPE == "Wave" then
5918 MSH.Offset = VT(0,0,-MSH.Scale.X/8)
5919 end
5920 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
5921 if TYPE == "Block" then
5922 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
5923 else
5924 EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
5925 end
5926 if MOVEDIRECTION ~= nil then
5927 local ORI = EFFECT.Orientation
5928 EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
5929 EFFECT.Orientation = ORI
5930 end
5931 end
5932 if PLAYSSOUND == false then
5933 EFFECT:remove()
5934 else
5935 repeat Swait() until SOUND.Playing == false
5936 EFFECT:remove()
5937 end
5938 else
5939 if PLAYSSOUND == false then
5940 EFFECT:remove()
5941 else
5942 repeat Swait() until SOUND.Playing == false
5943 EFFECT:remove()
5944 end
5945 end
5946 end))
5947end
5948
5949function MakeForm(PART,TYPE)
5950 if TYPE == "Cyl" then
5951 local MSH = IT("CylinderMesh",PART)
5952 elseif TYPE == "Ball" then
5953 local MSH = IT("SpecialMesh",PART)
5954 MSH.MeshType = "Sphere"
5955 elseif TYPE == "Wedge" then
5956 local MSH = IT("SpecialMesh",PART)
5957 MSH.MeshType = "Wedge"
5958 end
5959end
5960
5961Debris = game:GetService("Debris")
5962
5963function CastProperRay(StartPos, EndPos, Distance, Ignore)
5964 local DIRECTION = CF(StartPos,EndPos).lookVector
5965 return Raycast(StartPos, DIRECTION, Distance, Ignore)
5966end
5967
5968function turnto(position)
5969 RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
5970end
5971---hat
5972p = owner
5973char = p.Character
5974torso = char.Torso
5975hed = char.Head
5976neck = char.Torso.Neck
5977hum = char.Humanoid
5978hum.MaxHealth = math.huge
5979ypcall(function()
5980end)
5981function sbchat(msg,displayname)
5982 if not displayname then
5983 displayname = '<Bitch Smoke>'
5984 end
5985 for i,v in pairs(game:GetService('Players'):GetChildren()) do
5986 local st = Instance.new('StringValue')
5987 st.Name = 'SB_Chat'
5988 st.Value = displayname..'/'..msg
5989 delay(0.2,function() st.Parent = v end)
5990 end
5991 end
5992p1 = Instance.new("Part",char)
5993p1.FormFactor = Enum.FormFactor.Custom
5994p1.Size = Vector3.new(1.8,0.8,1.8)
5995p1.CanCollide = false
5996p1.Locked = true
5997p1.BottomSurface = Enum.SurfaceType.Smooth
5998p1.TopSurface = Enum.SurfaceType.Smooth
5999SMesh = Instance.new("SpecialMesh", p1)
6000SMesh.MeshId = "http://www.roblox.com/asset/?id=0"
6001SMesh.MeshType = Enum.MeshType.FileMesh
6002SMesh.Name = "Mesh"
6003SMesh.TextureId = "http://www.roblox.com/asset/?id=0"
6004w1 = Instance.new("Weld", hed)
6005w1.Part0 = hed
6006w1.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,1.5,0)
6007w1.Part1 = p1
6008w1.C1 = CFrame.new(0, -0.9, 0)
6009--Hair
6010p = owner
6011char = p.Character
6012torso = char.Torso
6013hed = char.Head
6014neck = char.Torso.Neck
6015hum = char.Humanoid
6016hum.MaxHealth = math.huge
6017ypcall(function()
6018shirt = Instance.new("Shirt", char)
6019shirt.Name = "Shirt"
6020pants = Instance.new("Pants", char)
6021pants.Name = "Pants"
6022end)
6023function sbchat(msg,displayname)
6024 if not displayname then
6025 displayname = '<Bitch Smoke>'
6026 end
6027 for i,v in pairs(game:GetService('Players'):GetChildren()) do
6028 local st = Instance.new('StringValue')
6029 st.Name = 'SB_Chat'
6030 st.Value = displayname..'/'..msg
6031 delay(0.2,function() st.Parent = v end)
6032 end
6033 end
6034p1 = Instance.new("Part",char)
6035p1.FormFactor = Enum.FormFactor.Custom
6036p1.Size = Vector3.new(1.8,0.8,1.8)
6037p1.CanCollide = false
6038p1.Locked = true
6039p1.BottomSurface = Enum.SurfaceType.Smooth
6040p1.TopSurface = Enum.SurfaceType.Smooth
6041SMesh = Instance.new("SpecialMesh", p1)
6042SMesh.MeshId = "http://www.roblox.com/asset/?id=74878559"
6043SMesh.MeshType = Enum.MeshType.FileMesh
6044SMesh.Name = "Mesh"
6045SMesh.TextureId = "http://www.roblox.com/asset/?id=75976712"
6046w1 = Instance.new("Weld", hed)
6047w1.Part0 = hed
6048w1.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
6049w1.Part1 = p1
6050w1.C1 = CFrame.new(0, -0.4, 0)
6051-----
6052 if Head:FindFirstChild("face") then
6053 Head.face.Texture = "http://www.roblox.com/asset/?id=123692902"
6054for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
6055 if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" or v.ClassName == "Accessory" then
6056 v:Remove()
6057 end
6058end
6059 dft = {}
6060--lollllll
6061wait(0.2)
6062p = game.Players.LocalPlayer
6063char = p.Character
6064torso = char.Torso
6065hed = char.Head
6066neck = char.Torso.Neck
6067hum = char.Humanoid
6068hum.MaxHealth = math.huge
6069ypcall(function()
6070shirt = Instance.new("Shirt", char)
6071shirt.Name = "Shirt"
6072pants = Instance.new("Pants", char)
6073pants.Name = "Pants"
6074char.Shirt.ShirtTemplate = "rbxassetid://28574189"
6075char.Pants.PantsTemplate = "rbxassetid://28575312"
6076end)
6077function sbchat(msg,displayname)
6078 if not displayname then
6079 displayname = '<Bitch Smoke>'
6080 end
6081 for i,v in pairs(game:GetService('Players'):GetChildren()) do
6082 local st = Instance.new('StringValue')
6083 st.Name = 'SB_Chat'
6084 st.Value = displayname..'/'..msg
6085 delay(0.2,function() st.Parent = v end)
6086 end
6087 end
6088
6089Player = game:GetService("Players").LocalPlayer
6090PlayerGui = Player.PlayerGui
6091Cam = workspace.CurrentCamera
6092Backpack = Player.Backpack
6093Character = Player.Character
6094Humanoid = Character.Humanoid
6095RootPart = Character["HumanoidRootPart"]
6096Torso = Character["Torso"]
6097Head = Character["Head"]
6098RightArm = Character["Right Arm"]
6099LeftArm = Character["Left Arm"]
6100RightLeg = Character["Right Leg"]
6101LeftLeg = Character["Left Leg"]
6102RootJoint = RootPart["RootJoint"]
6103Neck = Torso["Neck"]
6104RightShoulder = Torso["Right Shoulder"]
6105LeftShoulder = Torso["Left Shoulder"]
6106RightHip = Torso["Right Hip"]
6107LeftHip = Torso["Left Hip"]
6108
6109local ff = Instance.new('ForceField', Character)
6110ff.Visible = false
6111
6112local sick = Instance.new("Sound",Character)
6113sick.SoundId = "rbxassetid://1536839808"
6114sick.Looped = true
6115sick.Pitch = 1
6116sick.Volume = 10
6117sick:Play()
6118
6119function unanchor()
6120 if UNANCHOR == true then
6121 for _, c in pairs(Character:GetChildren()) do
6122 if c:IsA("BasePart") then
6123 c.Anchored = false
6124 end
6125 end
6126 else
6127 for _, c in pairs(Character:GetChildren()) do
6128 if c:IsA("BasePart") then
6129 c.Anchored = true
6130 end
6131 end
6132 end
6133end
6134
6135function Taunt()
6136 ATTACK = true
6137 Rooted = true
6138 CreateSound("1826625760", Head, 10, 1)
6139 for i = 1, 3 do
6140 for i = 0, 0.7, 0.1 / Animation_Speed do
6141 Swait()
6142 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
6143 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.5 / Animation_Speed)
6144 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
6145 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
6146 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
6147 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
6148 end
6149 for i = 0, 0.7, 0.1 / Animation_Speed do
6150 Swait()
6151 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
6152 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
6153 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
6154 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
6155 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
6156 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
6157 end
6158 end
6159 ATTACK = false
6160 Rooted = false
6161end
6162
6163
6164--//=================================\\
6165--|| ASSIGN THINGS TO KEYS
6166--\\=================================//
6167
6168function KeyDown(Key)
6169
6170 if Key == "t" and ATTACK == false then
6171 Taunt()
6172 end
6173end
6174
6175function KeyUp(Key)
6176 KEYHOLD = false
6177end
6178
6179 Mouse.KeyDown:connect(function(NEWKEY)
6180 KeyDown(NEWKEY)
6181 end)
6182 Mouse.KeyUp:connect(function(NEWKEY)
6183 KeyUp(NEWKEY)
6184 end)
6185
6186--//=================================\\
6187--|| WRAP THE WHOLE SCRIPT UP
6188--\\=================================//
6189
6190local JUMPED = false
6191
6192Humanoid.Changed:connect(function(Jump)
6193 if Jump == "Jump" and (Disable_Jump == true) then
6194 Humanoid.Jump = false
6195 elseif Jump == "Jump" and Disable_Jump == false and JUMPED == false then
6196 JUMPED = true
6197 CreateSound(158309736, Torso, 10, 1, false)
6198 end
6199end)
6200
6201while true do
6202 Swait()
6203 ANIMATE.Parent = nil
6204 local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
6205 IDLEANIMATION:Play()
6206 SINE = SINE + CHANGE
6207 local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
6208 local TORSOVERTICALVELOCITY = RootPart.Velocity.y
6209 local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
6210 local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
6211 local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
6212 if ANIM == "Walk" and TORSOVELOCITY > 1 then
6213 RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
6214 Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
6215 RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
6216 LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
6217 elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
6218 RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6219 Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6220 RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6221 LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6222 end
6223 if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
6224 ANIM = "Jump"
6225 if ATTACK == false then
6226 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6227 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6228 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
6229 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
6230 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
6231 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
6232 end
6233 elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
6234 ANIM = "Fall"
6235 if ATTACK == false then
6236 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6237 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6238 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
6239 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
6240 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
6241 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
6242 end
6243 elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
6244 ANIM = "Idle"
6245 if ATTACK == false then
6246 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6247 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6248 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
6249 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
6250 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6251 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6252 end
6253 elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
6254 ANIM = "Walk"
6255 WALK = WALK + 1 / Animation_Speed
6256 if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
6257 WALK = 0
6258 if WALKINGANIM == true then
6259 WALKINGANIM = false
6260 elseif WALKINGANIM == false then
6261 WALKINGANIM = true
6262 end
6263 end
6264 --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
6265 --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
6266 if ATTACK == false then
6267 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6268 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6269 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
6270 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
6271 RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
6272 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
6273 end
6274 end
6275 unanchor()
6276 Humanoid.MaxHealth = "inf"
6277 Humanoid.Health = "inf"
6278 if Rooted == false then
6279 Disable_Jump = false
6280 Humanoid.WalkSpeed = Speed
6281 elseif Rooted == true then
6282 Disable_Jump = true
6283 Humanoid.WalkSpeed = 0
6284 end
6285end
6286 local COLOR = C3((0+sick.PlaybackLoudness/200)/510,(115+sick.PlaybackLoudness/25)/510,(150+sick.PlaybackLoudness*1.5)/610)
6287 for _, c in pairs(Character:GetChildren()) do
6288 if c:IsA("BasePart") and c.Name ~= "Detail" then
6289 c.Material = "Neon"
6290 if c:FindFirstChildOfClass("ParticleEmitter") then
6291 c:FindFirstChildOfClass("ParticleEmitter"):remove()
6292 end
6293 if c == Head then
6294 if c:FindFirstChild("face") then
6295 c.face:remove()
6296 end
6297 end
6298 elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
6299 c:remove()
6300 elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
6301 c:remove()
6302 elseif c.Name == "Detail" then
6303 c.Material = "Neon"
6304 c.Color = COLOR
6305 end
6306 end
6307 if DEAD == false then
6308 sick.SoundId = "rbxassetid://"..SONG
6309 sick.Looped = true
6310 sick.Pitch = 1
6311 sick.Volume = 2
6312 sick.Playing = true
6313 sick.Parent = Torso
6314 else
6315 sick:remove()
6316 end
6317 Humanoid.Name = "Gordon Freeman"
6318
6319--//=================================\\
6320--\\=================================//
6321
6322
6323
6324
6325
6326--//====================================================\\--
6327--|| END OF SCRIPT
6328--\\====================================================//--
6329end