duplicat

FE! Gordon Freeman Script

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