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