Advertisement
xxtheadmincreatorxx

Smsjsms pistol

Mar 25th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.80 KB | None | 0 0
  1. -- This script has convert to FE by xxtheadmincreatorxx
  2.  
  3. -----------------------------------------------------
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("thanks to xxtheadmincreatorxx for converting this script. have a great time")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147.  
  148. function clerp(c1,c2,al)
  149. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  150. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  151. for i,v in pairs(com1) do
  152. com1[i] = v+(com2[i]-v)*al
  153. end
  154. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  155. end
  156.  
  157. plr = game:service'Players'.LocalPlayer
  158. plrgui = plr:findFirstChild'PlayerGui'
  159. plrmouse = plr:GetMouse()
  160. char = plr.Character
  161. humanoid = char:findFirstChild("Humanoid")
  162. torso = char:findFirstChild("Torso")
  163. head = char.Head
  164. ra = char:findFirstChild("Right Arm")
  165. la = char:findFirstChild("Left Arm")
  166. rl = char:findFirstChild("Right Leg")
  167. ll = char:findFirstChild("Left Leg")
  168. rs = torso:findFirstChild("Right Shoulder")
  169. ls = torso:findFirstChild("Left Shoulder")
  170. rh = torso:findFirstChild("Right Hip")
  171. lh = torso:findFirstChild("Left Hip")
  172. neck = torso:findFirstChild("Neck")
  173. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  174. rootpart = char:findFirstChild("HumanoidRootPart")
  175. camera = workspace.CurrentCamera
  176. anim = char:findFirstChild("Animate")
  177.  
  178. local rm = Instance.new("Weld")
  179. rm.C0 = CFrame.new(1.5, 0.5, 0)
  180. rm.C1 = CFrame.new(0, 0.5, 0)
  181. rm.Part0 = torso
  182. rm.Part1 = ra
  183. rm.Name = 'Right Shoulder'
  184.  
  185. local lm = Instance.new("Weld")
  186. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  187. lm.C1 = CFrame.new(0, 0.5, 0)
  188. lm.Part0 = torso
  189. lm.Part1 = la
  190. lm.Name = 'Left Shoulder'
  191.  
  192. local tool = Instance.new('HopperBin', plr.Backpack)
  193. tool.Name = 'Dual M1911'
  194.  
  195. function scan(parent)
  196. local parts,last = {}
  197. for _,v in pairs(parent:GetChildren()) do
  198. if (v:IsA("BasePart")) then
  199. v.Anchored = true
  200. if (last) then
  201. local w = Instance.new("Weld")
  202. w.Name = ("%s_Weld"):format(v.Name)
  203. w.Part0,w.Part1 = last,v
  204. w.C0 = last.CFrame:inverse()
  205. w.C1 = v.CFrame:inverse()
  206. w.Parent = last
  207. end
  208. last = v
  209. table.insert(parts,v)
  210. end
  211. scan(v)
  212. end
  213. for _,v in pairs(parts) do
  214. v.Anchored = false
  215. v.Locked = true
  216. v.CanCollide = false
  217. end
  218. end
  219.  
  220. --1-Torso
  221. holsters=Instance.new("Model")
  222. holsters.Name="Torso"
  223. holsters.Parent=char
  224. --2-HolsterWeldTo2
  225. obj2=Instance.new("Part")
  226. obj2.CFrame=CFrame.new(Vector3.new(14.8519955,1.44200003,35.6479988)) * CFrame.Angles(1.8325955867767,-1.4901161193848e-008,-3.1415927410126)
  227. obj2.FormFactor=Enum.FormFactor.Custom
  228. obj2.LeftSurface=10
  229. obj2.Transparency=1
  230. obj2.TopSurface=10
  231. obj2.RightSurface=10
  232. obj2.Material="SmoothPlastic"
  233. obj2.Size=Vector3.new(0.200000003,0.200000003,1.60000014)
  234. obj2.FrontSurface=10
  235. obj2.BottomSurface=10
  236. obj2.BackSurface=10
  237. obj2.BrickColor=BrickColor.new("Dark stone grey")
  238. obj2.Name="HolsterWeldTo2"
  239. obj2.Parent=holsters
  240. --3-Mesh
  241. obj3=Instance.new("BlockMesh")
  242. obj3.Scale=Vector3.new(0.999499977,1,1)
  243. obj3.Parent=obj2
  244. --4-Belt
  245. obj4=Instance.new("Part")
  246. obj4.CFrame=CFrame.new(Vector3.new(13.6000061,1.49000156,35.8999977)) * CFrame.Angles(-1.4901162970204e-008,0,-0)
  247. obj4.FormFactor=Enum.FormFactor.Custom
  248. obj4.LeftSurface=10
  249. obj4.TopSurface=10
  250. obj4.RightSurface=10
  251. obj4.Material="SmoothPlastic"
  252. obj4.Size=Vector3.new(2,0.200000003,1)
  253. obj4.FrontSurface=10
  254. obj4.BottomSurface=10
  255. obj4.BackSurface=10
  256. obj4.BrickColor=BrickColor.new("Dark stone grey")
  257. obj4.Name="Belt"
  258. obj4.Parent=holsters
  259. --5-Mesh
  260. obj5=Instance.new("BlockMesh")
  261. obj5.Scale=Vector3.new(1.10000002,1,1.10000002)
  262. obj5.Parent=obj4
  263. --6-Hold2
  264. obj6=Instance.new("Part")
  265. obj6.CFrame=CFrame.new(Vector3.new(14.8000011,1.0950017,35.6999893)) * CFrame.Angles(0.26179936528206,0,-0)
  266. obj6.FormFactor=Enum.FormFactor.Custom
  267. obj6.LeftSurface=10
  268. obj6.TopSurface=10
  269. obj6.RightSurface=10
  270. obj6.Material="SmoothPlastic"
  271. obj6.Size=Vector3.new(0.400000006,1.00999999,0.600000024)
  272. obj6.FrontSurface=10
  273. obj6.BottomSurface=10
  274. obj6.BackSurface=10
  275. obj6.BrickColor=BrickColor.new("Dark stone grey")
  276. obj6.Name="Hold2"
  277. obj6.Parent=holsters
  278. --7-TorsoWeld
  279. obj7=Instance.new("Part")
  280. obj7.CFrame=CFrame.new(Vector3.new(13.6000061,1.99000168,35.8999939)) * CFrame.Angles(-0,0,-0)
  281. obj7.FormFactor=Enum.FormFactor.Custom
  282. obj7.LeftSurface=10
  283. obj7.Transparency=1
  284. obj7.TopSurface=10
  285. obj7.RightSurface=10
  286. obj7.Size=Vector3.new(2,2,1)
  287. obj7.FrontSurface=10
  288. obj7.BottomSurface=10
  289. obj7.BackSurface=10
  290. obj7.BrickColor=BrickColor.new("Bright blue")
  291. obj7.Name="TorsoWeld"
  292. obj7.Parent=holsters
  293. --8-HolsterWeldTo
  294. obj8=Instance.new("Part")
  295. obj8.CFrame=CFrame.new(Vector3.new(12.342,1.44200003,35.6479988)) * CFrame.Angles(1.8325955867767,-1.4901161193848e-008,-3.1415927410126)
  296. obj8.FormFactor=Enum.FormFactor.Custom
  297. obj8.LeftSurface=10
  298. obj8.Transparency=1
  299. obj8.TopSurface=10
  300. obj8.RightSurface=10
  301. obj8.Material="SmoothPlastic"
  302. obj8.Size=Vector3.new(0.200000003,0.200000003,1.60000014)
  303. obj8.FrontSurface=10
  304. obj8.BottomSurface=10
  305. obj8.BackSurface=10
  306. obj8.BrickColor=BrickColor.new("Dark stone grey")
  307. obj8.Name="HolsterWeldTo"
  308. obj8.Parent=holsters
  309. --9-Mesh
  310. obj9=Instance.new("BlockMesh")
  311. obj9.Scale=Vector3.new(0.999499977,1,1)
  312. obj9.Parent=obj8
  313. --10-Hold
  314. obj10=Instance.new("Part")
  315. obj10.CFrame=CFrame.new(Vector3.new(12.4000053,1.09500158,35.6999893)) * CFrame.Angles(0.26179936528206,0,-0)
  316. obj10.FormFactor=Enum.FormFactor.Custom
  317. obj10.LeftSurface=10
  318. obj10.TopSurface=10
  319. obj10.RightSurface=10
  320. obj10.Material="SmoothPlastic"
  321. obj10.Size=Vector3.new(0.400000006,1.00999999,0.600000024)
  322. obj10.FrontSurface=10
  323. obj10.BottomSurface=10
  324. obj10.BackSurface=10
  325. obj10.BrickColor=BrickColor.new("Dark stone grey")
  326. obj10.Name="Hold"
  327. obj10.Parent=holsters
  328. holsters:MakeJoints()
  329. scan(holsters)
  330.  
  331. --1-M1911
  332. gun=Instance.new("Model")
  333. gun.Name="M1911"
  334. gun.Parent=char
  335. --2-Handle
  336. obj2=Instance.new("Part")
  337. obj2.CFrame=CFrame.new(Vector3.new(12.3420238,1.86332655,36.3927727)) * CFrame.Angles(1.5707963705063,-4.4703483581543e-008,3.1415927410126)
  338. obj2.FormFactor=Enum.FormFactor.Custom
  339. obj2.LeftSurface=10
  340. obj2.TopSurface=10
  341. obj2.RightSurface=10
  342. obj2.Material=Enum.Material.Wood
  343. obj2.Size=Vector3.new(0.200000003,0.99999994,0.400000036)
  344. obj2.FrontSurface=10
  345. obj2.BottomSurface=10
  346. obj2.BackSurface=10
  347. obj2.BrickColor=BrickColor.new("Brown")
  348. obj2.Name="Handle"
  349. obj2.Parent=gun
  350. --3-Decor
  351. obj3=Instance.new("Part")
  352. obj3.CFrame=CFrame.new(Vector3.new(12.3420143,2.28510284,35.9773712)) * CFrame.Angles(1.832595705986,0,-3.1415927410126)
  353. obj3.FormFactor=Enum.FormFactor.Custom
  354. obj3.LeftSurface=10
  355. obj3.TopSurface=10
  356. obj3.RightSurface=10
  357. obj3.Material="SmoothPlastic"
  358. obj3.Size=Vector3.new(0.200000003,0.200000003,0.200000003)
  359. obj3.FrontSurface=10
  360. obj3.BottomSurface=10
  361. obj3.BackSurface=10
  362. obj3.BrickColor=BrickColor.new("Dark stone grey")
  363. obj3.Name="Decor"
  364. obj3.Parent=gun
  365. --4-Mesh
  366. obj4=Instance.new("BlockMesh")
  367. obj4.Offset=Vector3.new(0,0.00999999978,0.0399999991)
  368. obj4.Scale=Vector3.new(0.699999988,0.200000003,0.800000012)
  369. obj4.Parent=obj3
  370. --5-Decor
  371. obj5=Instance.new("Part")
  372. obj5.CFrame=CFrame.new(Vector3.new(12.3420143,1.46716928,35.8617401)) * CFrame.Angles(1.8325955867767,-1.4901161193848e-008,-3.1415927410126)
  373. obj5.FormFactor=Enum.FormFactor.Custom
  374. obj5.LeftSurface=10
  375. obj5.TopSurface=10
  376. obj5.RightSurface=10
  377. obj5.Material="SmoothPlastic"
  378. obj5.Size=Vector3.new(0.200000003,0.400000006,0.200000003)
  379. obj5.FrontSurface=10
  380. obj5.BottomSurface=10
  381. obj5.BackSurface=10
  382. obj5.BrickColor=BrickColor.new("Dark stone grey")
  383. obj5.Name="Decor"
  384. obj5.Parent=gun
  385. --6-Mesh
  386. obj6=Instance.new("BlockMesh")
  387. obj6.Scale=Vector3.new(0.600000024,1,0.200000003)
  388. obj6.Parent=obj5
  389. --7-Decor
  390. obj7=Instance.new("Part")
  391. obj7.CFrame=CFrame.new(Vector3.new(12.3420124,1.55429673,36.0928192)) * CFrame.Angles(0.45686540007591,-1.1175870895386e-008,3.141592502594)
  392. obj7.FormFactor=Enum.FormFactor.Custom
  393. obj7.LeftSurface=10
  394. obj7.TopSurface=10
  395. obj7.RightSurface=10
  396. obj7.Material="SmoothPlastic"
  397. obj7.Size=Vector3.new(0.200000003,0.310000002,0.200000003)
  398. obj7.FrontSurface=10
  399. obj7.BottomSurface=10
  400. obj7.BackSurface=10
  401. obj7.BrickColor=BrickColor.new("Dark stone grey")
  402. obj7.Name="Decor"
  403. obj7.Parent=gun
  404. --8-Mesh
  405. obj8=Instance.new("BlockMesh")
  406. obj8.Scale=Vector3.new(0.600000024,1,0.200000003)
  407. obj8.Parent=obj7
  408. --9-Decor
  409. obj9=Instance.new("Part")
  410. obj9.CFrame=CFrame.new(Vector3.new(12.3420258,2.21372294,35.8965569)) * CFrame.Angles(0.76370096206665,-1.4901161193848e-008,-3.1415927410126)
  411. obj9.FormFactor=Enum.FormFactor.Custom
  412. obj9.LeftSurface=10
  413. obj9.TopSurface=10
  414. obj9.RightSurface=10
  415. obj9.Material="SmoothPlastic"
  416. obj9.Size=Vector3.new(0.200000003,0.200000003,0.200000003)
  417. obj9.FrontSurface=10
  418. obj9.BottomSurface=10
  419. obj9.BackSurface=10
  420. obj9.BrickColor=BrickColor.new("Dark stone grey")
  421. obj9.Name="Decor"
  422. obj9.Parent=gun
  423. --10-Mesh
  424. obj10=Instance.new("BlockMesh")
  425. obj10.Scale=Vector3.new(0.400000006,0.200000003,1)
  426. obj10.Parent=obj9
  427. --11-Decor
  428. obj11=Instance.new("Part")
  429. obj11.CFrame=CFrame.new(Vector3.new(12.3420229,1.8633275,36.2927704)) * CFrame.Angles(1.5707963705063,-4.4703483581543e-008,3.1415927410126)
  430. obj11.FormFactor=Enum.FormFactor.Custom
  431. obj11.LeftSurface=10
  432. obj11.TopSurface=10
  433. obj11.RightSurface=10
  434. obj11.Material="SmoothPlastic"
  435. obj11.Size=Vector3.new(0.200000003,1.20000005,0.400000036)
  436. obj11.FrontSurface=10
  437. obj11.BottomSurface=10
  438. obj11.BackSurface=10
  439. obj11.BrickColor=BrickColor.new("Dark stone grey")
  440. obj11.Name="Decor"
  441. obj11.Parent=gun
  442. --12-Mesh
  443. obj12=Instance.new("BlockMesh")
  444. obj12.Offset=Vector3.new(0,-0.0700000003,0)
  445. obj12.Scale=Vector3.new(0.995000005,0.949999988,1.20000005)
  446. obj12.Parent=obj11
  447. --13-Decor
  448. obj13=Instance.new("Part")
  449. obj13.CFrame=CFrame.new(Vector3.new(12.3420258,2.30202365,35.8373909)) * CFrame.Angles(1.756756901741,-1.0430812835693e-007,3.1415927410126)
  450. obj13.FormFactor=Enum.FormFactor.Custom
  451. obj13.LeftSurface=10
  452. obj13.TopSurface=10
  453. obj13.RightSurface=10
  454. obj13.Material="SmoothPlastic"
  455. obj13.Size=Vector3.new(0.200000003,0.200000003,0.200000003)
  456. obj13.FrontSurface=10
  457. obj13.BottomSurface=10
  458. obj13.BackSurface=10
  459. obj13.BrickColor=BrickColor.new("Dark stone grey")
  460. obj13.Name="Decor"
  461. obj13.Parent=gun
  462. --14-Mesh
  463. obj14=Instance.new("BlockMesh")
  464. obj14.Scale=Vector3.new(0.400000006,0.200000003,0.400000006)
  465. obj14.Parent=obj13
  466. --15-BulletCase
  467. obj15=Instance.new("Part")
  468. obj15.CFrame=CFrame.new(Vector3.new(12.3420229,1.44165683,35.6482697)) * CFrame.Angles(1.8325955867767,-1.4901161193848e-008,-3.1415927410126)
  469. obj15.FormFactor=Enum.FormFactor.Custom
  470. obj15.LeftSurface=10
  471. obj15.TopSurface=10
  472. obj15.RightSurface=10
  473. obj15.Material="SmoothPlastic"
  474. obj15.Size=Vector3.new(0.200000003,0.200000003,1.60000014)
  475. obj15.FrontSurface=10
  476. obj15.BottomSurface=10
  477. obj15.BackSurface=10
  478. obj15.BrickColor=BrickColor.new("Dark stone grey")
  479. obj15.Name="BulletCase"
  480. obj15.Parent=gun
  481. --16-Mesh
  482. obj16=Instance.new("BlockMesh")
  483. obj16.Scale=Vector3.new(0.999499977,1,1)
  484. obj16.Parent=obj15
  485. --17-Flashlight
  486. obj17=Instance.new("Part")
  487. obj17.CFrame=CFrame.new(Vector3.new(12.3420115,0.729269207,35.601902)) * CFrame.Angles(-2.8797931671143,-1.7763568394003e-015,-3.1415927410126)
  488. obj17.FormFactor=Enum.FormFactor.Custom
  489. obj17.LeftSurface=10
  490. obj17.TopSurface=10
  491. obj17.RightSurface=10
  492. obj17.Material="SmoothPlastic"
  493. obj17.Size=Vector3.new(0.200000003,0.200000003,0.200000003)
  494. obj17.FrontSurface=10
  495. obj17.BottomSurface=10
  496. obj17.BackSurface=10
  497. obj17.BrickColor=BrickColor.new("Pastel yellow")
  498. obj17.Name="Flashlight"
  499. obj17.Parent=gun
  500. --18-Mesh
  501. obj18=Instance.new("CylinderMesh")
  502. obj18.Offset=Vector3.new(0,0,0.0500000007)
  503. obj18.Scale=Vector3.new(0.5,1.01999998,0.5)
  504. obj18.Parent=obj17
  505. --19-Decor
  506. obj19=Instance.new("Part")
  507. obj19.CFrame=CFrame.new(Vector3.new(12.3420143,2.1178081,35.8290215)) * CFrame.Angles(1.832595705986,0,-3.1415927410126)
  508. obj19.FormFactor=Enum.FormFactor.Custom
  509. obj19.LeftSurface=10
  510. obj19.TopSurface=10
  511. obj19.RightSurface=10
  512. obj19.Material="SmoothPlastic"
  513. obj19.Size=Vector3.new(0.200000003,0.400000036,0.200000003)
  514. obj19.FrontSurface=10
  515. obj19.BottomSurface=10
  516. obj19.BackSurface=10
  517. obj19.BrickColor=BrickColor.new("Black")
  518. obj19.Name="Decor"
  519. obj19.Parent=gun
  520. --20-Mesh
  521. obj20=Instance.new("BlockMesh")
  522. obj20.Scale=Vector3.new(0.5,0.5,1.10000002)
  523. obj20.Parent=obj19
  524. --21-Decor
  525. obj21=Instance.new("Part")
  526. obj21.CFrame=CFrame.new(Vector3.new(12.2895117,2.05304575,35.6843338)) * CFrame.Angles(1.832595705986,1.5699505805969,-3.1415927410126)
  527. obj21.FormFactor=Enum.FormFactor.Custom
  528. obj21.LeftSurface=10
  529. obj21.TopSurface=10
  530. obj21.RightSurface=10
  531. obj21.Material="SmoothPlastic"
  532. obj21.Size=Vector3.new(0.399999976,0.200000003,0.200000003)
  533. obj21.FrontSurface=10
  534. obj21.BottomSurface=10
  535. obj21.BackSurface=10
  536. obj21.BrickColor=BrickColor.new("Dark stone grey")
  537. obj21.Name="Decor"
  538. obj21.Parent=gun
  539. --22-Mesh
  540. obj22=Instance.new("SpecialMesh")
  541. obj22.MeshType=Enum.MeshType.Wedge
  542. obj22.Scale=Vector3.new(1,0.25,0.50999999)
  543. obj22.Parent=obj21
  544. --23-Decor
  545. obj23=Instance.new("Part")
  546. obj23.CFrame=CFrame.new(Vector3.new(12.3420172,1.41577363,35.744442)) * CFrame.Angles(-2.8797931671143,-1.7763568394003e-015,-3.1415927410126)
  547. obj23.FormFactor=Enum.FormFactor.Custom
  548. obj23.LeftSurface=10
  549. obj23.TopSurface=10
  550. obj23.RightSurface=10
  551. obj23.Material="SmoothPlastic"
  552. obj23.Size=Vector3.new(0.200000003,1.60000002,0.200000003)
  553. obj23.FrontSurface=10
  554. obj23.BottomSurface=10
  555. obj23.BackSurface=10
  556. obj23.BrickColor=BrickColor.new("Dark stone grey")
  557. obj23.Name="Decor"
  558. obj23.Parent=gun
  559. --24-Mesh
  560. obj24=Instance.new("CylinderMesh")
  561. obj24.Parent=obj23
  562. --25-ShellCaseSpawner
  563. obj25=Instance.new("Part")
  564. obj25.CFrame=CFrame.new(Vector3.new(12.3420172,1.75731552,35.6289024)) * CFrame.Angles(-2.8797931671143,-1.7763568394003e-015,-3.1415927410126)
  565. obj25.FormFactor=Enum.FormFactor.Custom
  566. obj25.LeftSurface=10
  567. obj25.TopSurface=10
  568. obj25.RightSurface=10
  569. obj25.Material="SmoothPlastic"
  570. obj25.Size=Vector3.new(0.200000003,0.200000003,0.200000003)
  571. obj25.FrontSurface=10
  572. obj25.BottomSurface=10
  573. obj25.BackSurface=10
  574. obj25.Name="ShellCaseSpawner"
  575. obj25.Parent=gun
  576. --26-Mesh
  577. obj26=Instance.new("CylinderMesh")
  578. obj26.Offset=Vector3.new(0.0149999997,0,-0.0350000001)
  579. obj26.Scale=Vector3.new(0.75,1,0.75)
  580. obj26.Parent=obj25
  581. --27-Decor
  582. obj27=Instance.new("Part")
  583. obj27.CFrame=CFrame.new(Vector3.new(12.3420115,0.765501678,35.4666672)) * CFrame.Angles(-2.8797931671143,-1.7763568394003e-015,-3.1415927410126)
  584. obj27.FormFactor=Enum.FormFactor.Custom
  585. obj27.LeftSurface=10
  586. obj27.TopSurface=10
  587. obj27.RightSurface=10
  588. obj27.Material="SmoothPlastic"
  589. obj27.Size=Vector3.new(0.200000003,0.200000003,0.200000003)
  590. obj27.FrontSurface=10
  591. obj27.BottomSurface=10
  592. obj27.BackSurface=10
  593. obj27.BrickColor=BrickColor.new("Black")
  594. obj27.Name="Decor"
  595. obj27.Parent=gun
  596. --28-Mesh
  597. obj28=Instance.new("CylinderMesh")
  598. obj28.Offset=Vector3.new(0,0,0.0500000007)
  599. obj28.Scale=Vector3.new(0.5,1.01999998,0.5)
  600. obj28.Parent=obj27
  601. --29-Decor
  602. obj29=Instance.new("Part")
  603. obj29.CFrame=CFrame.new(Vector3.new(12.3920164,1.4734931,35.5290413)) * CFrame.Angles(-1.3089969158173,-1.5701057910919,-0)
  604. obj29.FormFactor=Enum.FormFactor.Custom
  605. obj29.LeftSurface=10
  606. obj29.TopSurface=10
  607. obj29.RightSurface=10
  608. obj29.Material="SmoothPlastic"
  609. obj29.Size=Vector3.new(1.60000002,0.200000003,0.200000003)
  610. obj29.FrontSurface=10
  611. obj29.BottomSurface=10
  612. obj29.BackSurface=10
  613. obj29.BrickColor=BrickColor.new("Dark stone grey")
  614. obj29.Name="Decor"
  615. obj29.Parent=gun
  616. --30-Mesh
  617. obj30=Instance.new("SpecialMesh")
  618. obj30.MeshType=Enum.MeshType.Wedge
  619. obj30.Scale=Vector3.new(1,0.25,0.5)
  620. obj30.Parent=obj29
  621. --31-Decor
  622. obj31=Instance.new("Part")
  623. obj31.CFrame=CFrame.new(Vector3.new(12.2895117,1.18371284,35.4513969)) * CFrame.Angles(1.832595705986,1.5699505805969,-3.1415927410126)
  624. obj31.FormFactor=Enum.FormFactor.Custom
  625. obj31.LeftSurface=10
  626. obj31.TopSurface=10
  627. obj31.RightSurface=10
  628. obj31.Material="SmoothPlastic"
  629. obj31.Size=Vector3.new(1,0.200000003,0.200000003)
  630. obj31.FrontSurface=10
  631. obj31.BottomSurface=10
  632. obj31.BackSurface=10
  633. obj31.BrickColor=BrickColor.new("Dark stone grey")
  634. obj31.Name="Decor"
  635. obj31.Parent=gun
  636. --32-Mesh
  637. obj32=Instance.new("SpecialMesh")
  638. obj32.MeshType=Enum.MeshType.Wedge
  639. obj32.Scale=Vector3.new(1,0.25,0.50999999)
  640. obj32.Parent=obj31
  641. gun:MakeJoints()
  642. scan(gun)
  643.  
  644. local gun2 = gun:clone()
  645. gun2.Parent = char
  646.  
  647. local torsoweld = Instance.new('Weld', char)
  648. torsoweld.Part0 = torso
  649. torsoweld.Part1 = holsters.TorsoWeld
  650. torsoweld.C1 = CFrame.Angles(0,math.pi,0)
  651.  
  652. local gunweld = Instance.new('Weld', char)
  653. gunweld.Part0 = gun.BulletCase
  654. gunweld.Part1 = holsters.HolsterWeldTo
  655.  
  656. local gunweld2 = Instance.new('Weld', char)
  657. gunweld2.Part0 = gun2.BulletCase
  658. gunweld2.Part1 = holsters.HolsterWeldTo2
  659.  
  660. local bodygyro = Instance.new('BodyGyro')
  661. bodygyro.maxTorque = Vector3.new(14e16,14e16,14e16)
  662. bodygyro.P = 15000
  663.  
  664. local rsc0 = rm.C0
  665. local lsc0 = lm.C0
  666. local angle = 0
  667. local anglespeed = .5
  668. local speed = .3
  669. local side = 0
  670. local Equipped = false
  671. local origneckc0 = neck.C0
  672. local origneckc1 = neck.C1
  673. local neckc0 = CFrame.new(0, 1, 0)
  674. local firing = false
  675. local pistol = 1
  676. local light = false
  677.  
  678. local gunlight = Instance.new('SpotLight', gun.Flashlight)
  679. gunlight.Range = 40
  680. gunlight.Angle = 60
  681. gunlight.Face = 'Bottom'
  682. gunlight.Shadows = true
  683. gunlight.Enabled = false
  684.  
  685. local gunlight2 = gunlight:clone()
  686. gunlight2.Parent = gun2.Flashlight
  687.  
  688. local fire = Instance.new('Sound', head)
  689. fire.SoundId = "rbxassetid://132373536"
  690. fire.Volume = 1
  691.  
  692. local reload = Instance.new('Sound', head)
  693. reload.SoundId = "rbxassetid://138109513"
  694. reload.Volume = 1
  695.  
  696. local ammo = 14
  697. local scrgui = Instance.new('ScreenGui', plrgui)
  698. scrgui.Name = 'DualGunsGui'
  699.  
  700. local ammonution = Instance.new('TextLabel', scrgui)
  701. ammonution.Size = UDim2.new(0,150,0,50)
  702. ammonution.Position = UDim2.new(1, -250, 1, -70)
  703. ammonution.BackgroundTransparency = 1
  704. ammonution.TextColor3 = Color3.new(1,1,1)
  705. ammonution.TextStrokeTransparency = .1
  706. ammonution.Text = ('| '):rep(ammo)
  707. ammonution.TextXAlignment = 'Right'
  708. ammonution.ZIndex = 2
  709. ammonution.FontSize = 'Size18'
  710.  
  711. local ammonution2 = Instance.new('TextLabel', scrgui)
  712. ammonution2.Size = UDim2.new(0,150,0,50)
  713. ammonution2.Position = UDim2.new(1, -250, 1, -70)
  714. ammonution2.BackgroundTransparency = 1
  715. ammonution2.TextColor3 = Color3.new(.5,.5,.5)
  716. ammonution2.TextStrokeTransparency = .1
  717. ammonution2.TextXAlignment = 'Right'
  718. ammonution2.Text = ('| '):rep(ammo)
  719. ammonution2.FontSize = 'Size18'
  720.  
  721. local rel = Instance.new('TextButton', scrgui)
  722. rel.Size = UDim2.new(0,500,0,250)
  723. rel.Position = UDim2.new(.5, -250, .8, -250)
  724. rel.BackgroundTransparency = 1
  725. rel.TextColor3 = Color3.new(.7,0,0)
  726. rel.Visible = false
  727. rel.Text = 'Reload (r)'
  728. rel.FontSize = 'Size24'
  729.  
  730. rel.MouseButton1Down:connect(function()
  731. if ammo >= 14 or firing then return end
  732. dontclerpneck = true
  733. firing = true
  734. local dropammo = gun.Handle:clone()
  735. dropammo:ClearAllChildren()
  736. dropammo.CanCollide = true
  737. dropammo.BrickColor = BrickColor.Black()
  738. dropammo.Parent = workspace
  739. dropammo.CFrame = gun.Handle.CFrame
  740. local dropammo2 = dropammo:clone()
  741. dropammo2.Parent = workspace
  742. dropammo2.CFrame = gun2.Handle.CFrame * CFrame.new(0, -.5, 0)
  743. game:service'Debris':AddItem(dropammo,15)
  744. game:service'Debris':AddItem(dropammo2,15)
  745. wait(.5)
  746. reload:play()
  747. for i = 1, 65 do
  748. firing = true
  749. rscf = rsc0 * CFrame.Angles(math.pi/2, 0, 0)
  750. lscf = lsc0 * CFrame.new(1.2, 0, -.4) * CFrame.Angles(math.pi/4 + math.sin(angle)*math.random()/20, math.rad(30), math.pi/3.2)
  751. lm.C0 = clerp(lm.C0,lscf,speed)
  752. rm.C0 = clerp(rm.C0,rscf,speed)
  753. game:service'RunService'.RenderStepped:wait()
  754. end
  755. reload:play()
  756. for i = 1, 65 do
  757. firing = true
  758. rscf = rsc0 * CFrame.new(-1.2, 0, -.4) * CFrame.Angles(math.pi/4 + math.sin(angle)*math.random()/20, -math.rad(30), -math.pi/3.2)
  759. lscf = lsc0 * CFrame.Angles(math.pi/2, 0, 0)
  760. lm.C0 = clerp(lm.C0,lscf,speed)
  761. rm.C0 = clerp(rm.C0,rscf,speed)
  762. game:service'RunService'.RenderStepped:wait()
  763. end
  764. dontclerpneck = false
  765. firing = false
  766. ammo = 14
  767. ammonution.Text = ('| '):rep(ammo)
  768. end)
  769. tool.Selected:connect(function(mouse)
  770. Equipped = true
  771. bodygyro.Parent = torso
  772. bodygyro.cframe = torso.CFrame
  773. rs.Parent = nil
  774. ls.Parent = nil
  775. rm.Parent = torso
  776. lm.Parent = torso
  777. neck.C0 = CFrame.new(0, 1, 0)
  778. neck.C1 = CFrame.new(0, -0.5, 0)
  779. gunweld.Part0 = gun.Handle
  780. gunweld2.Part0 = gun2.Handle
  781. gunweld.Part1 = ra
  782. gunweld2.Part1 = la
  783. gunweld.C1 = CFrame.new(0, -.8, 0)
  784. gunweld.C0 = CFrame.Angles(math.pi/2-math.rad(15), 0, math.pi)
  785. gunweld2.C1 = CFrame.new(0, -.8, 0)
  786. gunweld2.C0 = CFrame.Angles(math.pi/2-math.rad(15), 0, math.pi)
  787. mouse.KeyDown:connect(function(k)
  788. if k == "r" then
  789. if ammo >= 14 or firing then return end
  790. dontclerpneck = true
  791. firing = true
  792. local dropammo = gun.Handle:clone()
  793. dropammo:ClearAllChildren()
  794. dropammo.CanCollide = true
  795. dropammo.BrickColor = BrickColor.Black()
  796. dropammo.Parent = workspace
  797. dropammo.CFrame = gun.Handle.CFrame
  798. local dropammo2 = dropammo:clone()
  799. dropammo2.Parent = workspace
  800. dropammo2.CFrame = gun2.Handle.CFrame * CFrame.new(0, -.5, 0)
  801. game:service'Debris':AddItem(dropammo,15)
  802. game:service'Debris':AddItem(dropammo2,15)
  803. wait(.5)
  804. reload:play()
  805. for i = 1, 65 do
  806. firing = true
  807. rscf = rsc0 * CFrame.Angles(math.pi/2, 0, 0)
  808. lscf = lsc0 * CFrame.new(1.2, 0, -.4) * CFrame.Angles(math.pi/4 + math.sin(angle)*math.random()/20, math.rad(30), math.pi/3.2)
  809. lm.C0 = clerp(lm.C0,lscf,speed)
  810. rm.C0 = clerp(rm.C0,rscf,speed)
  811. game:service'RunService'.RenderStepped:wait()
  812. end
  813. reload:play()
  814. for i = 1, 65 do
  815. firing = true
  816. rscf = rsc0 * CFrame.new(-1.2, 0, -.4) * CFrame.Angles(math.pi/4 + math.sin(angle)*math.random()/20, -math.rad(30), -math.pi/3.2)
  817. lscf = lsc0 * CFrame.Angles(math.pi/2, 0, 0)
  818. lm.C0 = clerp(lm.C0,lscf,speed)
  819. rm.C0 = clerp(rm.C0,rscf,speed)
  820. game:service'RunService'.RenderStepped:wait()
  821. end
  822. dontclerpneck = false
  823. firing = false
  824. ammo = 14
  825. ammonution.Text = ('| '):rep(ammo)
  826. end
  827. if k == "f" then
  828. light = not light
  829. local sound = Instance.new('Sound', head)
  830. sound.SoundId = "rbxassetid://115959318"
  831. sound.Volume = 1
  832. sound:play()
  833. game:service'Debris':AddItem(sound,1)
  834. end
  835. end)
  836. mouse.Button1Down:connect(function()
  837. if ammo <= 0 then
  838. local sound = Instance.new('Sound', head)
  839. sound.SoundId = "rbxassetid://132464034"
  840. sound.Volume = 1
  841. sound:play()
  842. game:service'Debris':AddItem(sound,1)
  843. end
  844. if firing or ammo <= 0 then return end
  845. ammo = ammo - 1
  846. ammonution.Text = ('| '):rep(ammo)
  847. firing = true
  848. local pa = Instance.new('Part')
  849. pa.CanCollide = false
  850. pa.Anchored = true
  851. pa.Locked = true
  852. pa.FormFactor = 'Custom'
  853. pa.BrickColor = BrickColor.new('New Yeller')
  854. pa.Size = Vector3.new(.2,3,.2)
  855. Instance.new('BlockMesh', pa).Scale = Vector3.new(.2,3,.2)
  856. local thegun
  857. if pistol == 1 then
  858. thegun = gun.BulletCase
  859. elseif pistol == 2 then
  860. thegun = gun2.BulletCase
  861. end
  862. local muzzle = Instance.new('PointLight', thegun)
  863. muzzle.Range = 12
  864. muzzle.Color = Color3.new(1,.6,.1)
  865. game:service'Debris':AddItem(muzzle, .05)
  866. local shell = pa:clone()
  867. shell:ClearAllChildren()
  868. shell.Anchored = false
  869. shell.CFrame = thegun.Parent.ShellCaseSpawner.CFrame
  870. shell.Size = Vector3.new(.2,.5,.2)
  871. shell.Parent = workspace
  872. shell.BrickColor = BrickColor.new('Bright yellow')
  873. shell.CanCollide = true
  874. game:service'Debris':AddItem(shell, 5)
  875. local bulletpos = thegun.Position
  876. local bulletvelocity = (mouse.Hit.p - bulletpos).unit*15
  877. local lastbulletpos = thegun.Position
  878. fire:play()
  879. coroutine.wrap(function()
  880. while game:service'RunService'.Stepped:wait() do
  881. lastbulletpos = bulletpos
  882. bulletpos = bulletpos + bulletvelocity
  883. local RayCast = Ray.new(lastbulletpos, (bulletpos - lastbulletpos))
  884. local hit, hitpos = workspace:FindPartOnRay(RayCast, char)
  885. if (torso.Position - pa.Position).magnitude > 800 then
  886. pa:Destroy()
  887. break
  888. end
  889. pa.Anchored = true
  890. pa.CFrame = CFrame.new(bulletpos, bulletpos+bulletvelocity) * CFrame.Angles(math.pi/2, 0, 0)
  891. if hit then
  892. local damage
  893. local sound = Instance.new('Sound', pa)
  894. sound.SoundId = "rbxassetid://166423137"
  895. sound.Pitch = 1.2+math.random()/3
  896. sound.Volume = 1
  897. sound:play()
  898. pa:Destroy()
  899. game:service'Debris':AddItem(sound,4)
  900. local ray = Ray.new(rootpart.Position, Vector3.new(0, -6, 0))
  901. local hitz, enz = workspace:FindPartOnRay(ray, char)
  902. local hum = hit and hit.Parent and hit.Parent:findFirstChild'Humanoid'
  903. if hum then
  904. damage = math.random(5,10)
  905. hum:TakeDamage(damage)
  906. end
  907. local hum = hit and hit.Parent and hit.Parent.Parent and hit.Parent.Parent:findFirstChild'Humanoid'
  908. if hum then
  909. damage = math.random(5,10)
  910. hum:TakeDamage(damage)
  911. end
  912. break
  913. end
  914. pa.Anchored = true
  915. pa.Parent = char
  916. pa.CFrame = CFrame.new(bulletpos, bulletpos+bulletvelocity) * CFrame.Angles(math.pi/2, 0, 0)
  917. end
  918. end)()
  919.  
  920. if pistol == 1 then
  921. pistol = 2
  922. for i = 1, 4 do
  923. rscf = CFrame.new(Vector3.new(rsc0.x, rsc0.y, rsc0.z), torso.CFrame:pointToObjectSpace(plrmouse.Hit.p)) * CFrame.new(0, 0, .5) * CFrame.Angles(math.pi/1.5 + math.sin(angle)*math.random()/20, 0, math.cos(angle)*math.random()/20)
  924. lscf = CFrame.new(Vector3.new(lsc0.x, lsc0.y, lsc0.z), torso.CFrame:pointToObjectSpace(plrmouse.Hit.p)) * CFrame.Angles(math.pi/2 + math.sin(angle)*math.random()/20, 0, -math.cos(angle)*math.random()/20)
  925. lm.C0 = clerp(lm.C0,lscf,speed)
  926. rm.C0 = clerp(rm.C0,rscf,speed)
  927. game:service'RunService'.RenderStepped:wait()
  928. end
  929. elseif pistol == 2 then
  930. for i = 1, 4 do
  931. rscf = CFrame.new(Vector3.new(rsc0.x, rsc0.y, rsc0.z), torso.CFrame:pointToObjectSpace(plrmouse.Hit.p)) * CFrame.Angles(math.pi/2 + math.sin(angle)*math.random()/20, 0, math.cos(angle)*math.random()/20)
  932. lscf = CFrame.new(Vector3.new(lsc0.x, lsc0.y, lsc0.z), torso.CFrame:pointToObjectSpace(plrmouse.Hit.p)) * CFrame.new(0, 0, .5) * CFrame.Angles(math.pi/1.5 + math.sin(angle)*math.random()/20, 0, -math.cos(angle)*math.random()/20)
  933. lm.C0 = clerp(lm.C0,lscf,speed)
  934. rm.C0 = clerp(rm.C0,rscf,speed)
  935. game:service'RunService'.RenderStepped:wait()
  936. end
  937. pistol = 1
  938. end
  939. firing = false
  940. end)
  941. end)
  942. tool.Deselected:connect(function()
  943. Equipped = false
  944. rm.Parent = nil
  945. lm.Parent = nil
  946. rs.Parent = torso
  947. ls.Parent = torso
  948. neck.C0 = origneckc0
  949. neck.C1 = origneckc1
  950. lm.C0 = lsc0
  951. rm.C0 = rsc0
  952. gunweld.Part0 = gun.BulletCase
  953. gunweld.Part1 = holsters.HolsterWeldTo
  954. gunweld.C0 = CFrame.new()
  955. gunweld.C1 = CFrame.new()
  956. gunweld2.Part0 = gun2.BulletCase
  957. gunweld2.Part1 = holsters.HolsterWeldTo2
  958. gunweld2.C0 = CFrame.new()
  959. gunweld2.C1 = CFrame.new()
  960. bodygyro.Parent = nil
  961. end)
  962.  
  963. game:service'RunService'.RenderStepped:connect(function()
  964. if Equipped then
  965. if ammo <= 0 then
  966. rel.Visible = true
  967. else
  968. rel.Visible = false
  969. end
  970. if light then
  971. gunlight.Enabled = true
  972. gunlight2.Enabled = true
  973. else
  974. gunlight.Enabled = false
  975. gunlight2.Enabled = false
  976. end
  977. angle = angle + (0.05+math.random()/20)
  978. local rscf = rsc0
  979. local lscf = lsc0
  980. local ncf = neckc0
  981. local rmx,rmy,rmz = rm.C0:toEulerAnglesXYZ()
  982. if rmz >= 1 then
  983. bodygyro.cframe = bodygyro.cframe * CFrame.Angles(0, -rmz/5, 0)
  984. elseif rmz <= -1 then
  985. bodygyro.cframe = bodygyro.cframe * CFrame.Angles(0, -rmz/5, 0)
  986. end
  987. rscf = CFrame.new(Vector3.new(rsc0.x, rsc0.y, rsc0.z), torso.CFrame:pointToObjectSpace(plrmouse.Hit.p)) * CFrame.Angles(math.pi/2 + math.sin(angle)*math.random()/20, 0, math.cos(angle)*math.random()/20)
  988. lscf = CFrame.new(Vector3.new(lsc0.x, lsc0.y, lsc0.z), torso.CFrame:pointToObjectSpace(plrmouse.Hit.p)) * CFrame.Angles(math.pi/2 + math.sin(angle)*math.random()/20, 0, -math.cos(angle)*math.random()/20)
  989. ncf = neckc0 * CFrame.new(Vector3.new(), torso.CFrame:pointToObjectSpace(plrmouse.Hit.p))
  990. if not firing then
  991. lm.C0 = clerp(lm.C0,lscf,speed)
  992. rm.C0 = clerp(rm.C0,rscf,speed)
  993. end
  994. if not dontclerpneck then
  995. neck.C0 = clerp(neck.C0,ncf,speed)
  996. end
  997. end
  998. if light and not Equipped then
  999. gunlight.Enabled = false
  1000. gunlight2.Enabled = false
  1001. end
  1002. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement