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