Advertisement
TryHarderNoob

Eh

Dec 18th, 2016
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Enjoy little skids :)
  2. Instance.new("Shirt",c).ShirtTemplate="rbxassetid://278316781"
  3. Instance.new("Pants",c).PantsTemplate="rbxassetid://187135174"
  4. dot = false
  5. des = false
  6. local ChatService = game:GetService("Chat")
  7. local player = game.Players.LocalPlayer
  8. char = player.Character
  9. hum = char.Humanoid
  10. torso = hum.Torso
  11. lig = Instance.new("PointLight",player.Character.Torso)
  12. lig.Color=Color3.new(0,255,255)
  13. m=player:GetMouse()
  14. bb = Instance.new("BillboardGui",player.Character.Head)
  15. bb.Enabled = true
  16. bb.AlwaysOnTop = true
  17. bb.Size = UDim2.new(0,200,00,50)
  18. bb.StudsOffset = Vector3.new(0,1,0)
  19. gui=Instance.new("TextBox",bb)
  20. gui.Text = "Seth: "
  21. gui.Size = UDim2.new(0,400,0,100)
  22. gui.Position=UDim2.new(0,-95,0,-85)
  23. gui.TextColor3 = Color3.new(255,255,255)
  24. gui.BackgroundColor3=Color3.new(0,0,0) --another
  25. gui.TextWrapped = true
  26. gui.TextScaled = true
  27. gui.FontSize = "Size14"
  28. gui.TextXAlignment = "Left"
  29. gui.TextYAlignment = "Top"
  30. gui.Visible = false
  31. gui.BorderColor3 = Color3.new(255,255,255)
  32. gui.BorderSizePixel = 5
  33.  
  34. gui1=Instance.new("TextButton",bb)
  35. gui1.Position=UDim2.new(0,5,0,-43)
  36. gui1.Size = UDim2.new(0,190,0,51)
  37. gui1.Text = ""
  38.  
  39. gui1.TextColor3 = Color3.new(255,255,255)
  40. gui1.BackgroundColor3=Color3.new(0,0,0) --shotCUT
  41. gui1.BackgroundTransparency = 1
  42.  
  43. gui1.Visible = false
  44. img = Instance.new("ImageLabel",bb)
  45. img.Size = UDim2.new(0,0,0,0)
  46. img.Position = UDim2.new(0,10,0,-41)
  47. img.BackgroundTransparency = 1
  48. img.BorderColor3 = Color3.new(0,0,0)
  49. img.Visible = false
  50. asd = Instance.new("Sound",player.Character.Torso)
  51. asd.SoundId = "http://www.roblox.com/asset/?id = 434571966"
  52. asd.Pitch=0.85
  53.  
  54. asd1 = Instance.new("Sound",player.Character.Torso)
  55. asd1.SoundId = "http://www.roblox.com/asset/?id = 0"
  56.  
  57. asd2 = Instance.new("Sound",player.Character.Torso)
  58. asd2.SoundId = "http://www.roblox.com/asset/?id = 0"
  59. asd2.Looped = true
  60. asd3 = Instance.new("Sound",player.Character.Torso)
  61. asd3.SoundId = "http://www.roblox.com/asset/?id = 259096041"
  62. asd3.Looped = true
  63. asd4 = Instance.new("Sound",player.Character.Torso)
  64. asd4.SoundId = "http://www.roblox.com/asset/?id = 155119191"
  65. asd4.Looped = false
  66. asd5 = Instance.new("Sound",player.Character.Torso)
  67. asd5.SoundId = "http://www.roblox.com/asset/?id = 180139023"
  68. asd5.Looped = true
  69. dunkd = Instance.new("Sound",player.Character.Torso)
  70. dunkd.SoundId = "http://www.roblox.com/asset/?id = 261303790"
  71. dunkd.Pitch=7
  72. dunkd.Looped = false
  73. function play(play)
  74. asd:Play()
  75. asd1:Play()
  76. end
  77. eye = Instance.new("Part",player.Character)
  78. eye.BrickColor = BrickColor.new("Toothpaste")
  79. eye.Material = "Neon"
  80. eye.FormFactor = 3
  81. eye.Shape = "Ball"
  82. eye.Size = Vector3.new(0.37,0.37,0.1)
  83. weld = Instance.new("Weld",eye)
  84. weld.Part0 = eye
  85. weld.Part1 = player.Character.Head
  86. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  87. eye.Transparency = 1
  88. -- listen for their chatting
  89. player.Chatted:connect(function(message)
  90. a = string.len(message)
  91. gui.Text = "Seth: "
  92. gui.Visible = true
  93. gui1.Visible = true
  94. des = false
  95. img.Visible = false
  96. print(a)
  97. if dot == false then
  98. for i = 1,string.len(message) do wait(0.07)
  99. gui.Text =gui.Text..message:sub(i,i)
  100.  
  101. play()
  102. end
  103. end
  104.  
  105. des = true
  106. end)
  107. m.KeyDown:connect(function(k)
  108. if k == "g" then
  109. asd2:Play()
  110. eye.Transparency = 1
  111.  
  112. end
  113. end)
  114. m.KeyDown:connect(function(k)
  115. if k == "p" then
  116. eye.Transparency = 1
  117. asd3:Play()
  118. end
  119. end)
  120. m.KeyDown:connect(function(k)
  121. if k == "r" then
  122. eye.Transparency = 1
  123. asd4:Play()
  124. end
  125. end)
  126. m.KeyDown:connect(function(k)
  127. if k == "q" then
  128. eye.Transparency = 1
  129. asd5:Play()
  130. end
  131. end)
  132. m.KeyDown:connect(function(k)
  133. if k == "z" then
  134.  
  135. img.Image = "rbxassetid://"
  136. end
  137. end)
  138. m.KeyDown:connect(function(k)
  139. if k == "c" then
  140. cool = Instance.new("Sound",player.Character.Torso)
  141. cool.SoundId = "http://www.roblox.com/asset/?id = 392201535"
  142. wait()
  143. cool:Play()
  144. human.Health = human.Health - math.random(150,300) --cool short
  145. end
  146. end)
  147. m.KeyDown:connect(function(k)
  148. if k == "n" then
  149. healy = Instance.new("Sound",player.Character.Torso)
  150. healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
  151. wait()
  152. healy:Play()
  153. human.Health = human.Health + 300 --cool short
  154. gui.Visible = true
  155. wait()
  156. gui.Text = "* You ate the PopCorn. * Pop secret! * You recovered 300 HP!"
  157. wait(5)
  158. gui.Visible = false
  159. end
  160. end)
  161. m.KeyDown:connect(function(k)
  162. if k == "b" then
  163. healy = Instance.new("Sound",player.Character.Torso)
  164. healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
  165. wait()
  166. healy:Play()
  167. human.Health = human.Health + 600 --cool short
  168. gui.Visible = true
  169. wait()
  170. gui.Text = "* You ate the FaceSteak. * You like it alot... * You recovered 600 HP!"
  171. wait(5)
  172. gui.Visible = false
  173. end
  174. end)
  175. m.KeyDown:connect(function(k)
  176. if k == "m" then
  177. healy = Instance.new("Sound",player.Character.Torso)
  178. healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
  179. wait()
  180. healy:Play()
  181. human.Health = 7500 --cool short
  182. gui.Visible = true
  183. wait()
  184. gui.Text = "* You ate the Spaghetti. Slurp! * Your HP was maxed out."
  185. wait(5)
  186. gui.Visible = false
  187. end
  188. end)
  189. m.KeyDown:connect(function(k)
  190. if k == "v" then
  191. healy = Instance.new("Sound",player.Character.Torso)
  192. healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
  193. wait()
  194. healy:Play()
  195. human.Health = human.Health + 750 --cool short
  196. gui.Visible = true
  197. wait()
  198. gui.Text = "* You drank a MrPibb. Ahhh... * You recovered 750 HP!"
  199. wait(5)
  200. gui.Visible = false
  201. end
  202. end)
  203. m.KeyDown:connect(function(k)
  204. if k == "h" then
  205. img.Image = "rbxassetid://"
  206. end
  207. end)
  208. m.KeyDown:connect(function(k)
  209. if k == "j" then
  210. img.Image = "rbxassetid://"
  211. end
  212. end)
  213. m.KeyDown:connect(function(k)
  214. if k == "l" then
  215. img.Image = "rbxassetid://"
  216. print("You take your very last breath...")
  217. asdd = Instance.new("Sound",player.Character.Torso)
  218. asdd.SoundId = "http://www.roblox.com/asset/?id = 392201535"
  219. asdd.Looped = false
  220. spawn(function()
  221. wait()
  222. asdd:Play()
  223. human.Health = 1
  224. human.Parent["Right Arm"].BrickColor = BrickColor.new("Really red")
  225. end)
  226. wait(0.1)
  227. asddd = Instance.new("Sound",player.Character.Torso)
  228. asddd.SoundId = "http://www.roblox.com/asset/?id = 186311262"
  229. asddd.Looped = false
  230. spawn(function()
  231. wait()
  232. asddd:Play()
  233. end)
  234. wait(30)
  235. asdded = Instance.new("Sound",player.Character.Torso)
  236. asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  237. asdded.Looped = false
  238. spawn(function()
  239. wait()
  240. asdded:Play()
  241. end)
  242. char:BreakJoints()
  243. end
  244. end)
  245. m.KeyDown:connect(function(k)
  246. if k == "x" then
  247. if des == true then
  248. gui.Visible = false
  249. gui.Text = "Seth: "
  250. gui1.Visible = false
  251. img.Visible = false
  252. end
  253. end
  254. end)
  255. m.KeyDown:connect(function(k)
  256. if k == "f" then
  257. asd1:Stop()
  258. asd3:Stop()
  259. asd2:Stop()
  260. asd4:Stop()
  261. dunkd:Stop()
  262. eye.Transparency = 1
  263. asd5:Stop()
  264. end
  265. end)
  266. m.KeyDown:connect(function(k)
  267. if k == "u" then
  268. dunkd = Instance.new("Sound",player.Character.Torso)
  269. dunkd.SoundId = "http://www.roblox.com/asset/?id = 261303790"
  270. dunkd.Pitch=7
  271. dunkd.Looped = false
  272. dunkd:Play()
  273. gui.Text = "SHUT THE FUCK UP YOU CUNT"
  274. end
  275. end)
  276. m.KeyDown:connect(function(k)
  277. if k == "y" then
  278. img.Image = "rbxassetid://"
  279. end
  280. end)
  281. --------------------------------------------------------------------------
  282.  
  283. local Scale = game.Players.LocalPlayer.Character.Torso.Size.X/2*(game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1)*0.8
  284. local Speed = 20*Scale
  285. local Gravity = 0.1
  286.  
  287. local Player = game.Players.LocalPlayer
  288. local Character = Player.Character
  289. local Humanoid = Character.Humanoid
  290. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  291. local Torso = Character.HumanoidRootPart
  292. local Mouse = game.Players.LocalPlayer:GetMouse()
  293. local RenderStepped = game:GetService("RunService").RenderStepped
  294. local Camera = Workspace.CurrentCamera
  295. Camera:ClearAllChildren()
  296. local Model = Instance.new("Model",Character)
  297. local IgnoreList = {Character,Workspace.Terrain}
  298.  
  299. local Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  300. local Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  301. local RotationOffset = CFrame.Angles(math.rad(90),math.rad(0),0)
  302. local Gangster = false
  303.  
  304. local Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  305. local Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  306. local RotationOffsetHead = CFrame.Angles(0,0,0)
  307.  
  308. local Handle = Instance.new("Part",Model)
  309. Handle.CanCollide = false
  310. Handle.Name = "Handle"
  311. Handle.Position = Vector3.new(0,100,0)
  312. Handle:BreakJoints()
  313. Handle.FormFactor = "Custom"
  314. Handle.Size = Vector3.new(0.2,0.2,0.2)
  315. Handle.TopSurface = "SmoothNoOutlines"
  316. Handle.BottomSurface = "SmoothNoOutlines"
  317. Handle.FrontSurface = "SmoothNoOutlines"
  318. Handle.BackSurface = "SmoothNoOutlines"
  319. Handle.RightSurface = "SmoothNoOutlines"
  320. Handle.LeftSurface = "SmoothNoOutlines"
  321. Handle.BrickColor = BrickColor.new("Black")
  322. local Mesh = Instance.new("BlockMesh",Handle)
  323. Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * Scale
  324. local HandleWeld = Instance.new("Motor6D")
  325. HandleWeld.Part0 = Character["Right Arm"]
  326. HandleWeld.Part1 = Handle
  327. HandleWeld.C0 = CFrame.new(Vector3.new(0,-1,0)*Scale) * CFrame.Angles(math.rad(-105),0,0)
  328. HandleWeld.Parent = Handle
  329.  
  330. local Part = Instance.new("Part",Model)
  331. Part.CanCollide = false
  332. Part.Position = Vector3.new(0,100,0)
  333. Part:BreakJoints()
  334. Part.FormFactor = "Custom"
  335. Part.Size = Vector3.new(0.2,0.2,0.2)
  336. Part.TopSurface = "SmoothNoOutlines"
  337. Part.BottomSurface = "SmoothNoOutlines"
  338. Part.FrontSurface = "SmoothNoOutlines"
  339. Part.BackSurface = "SmoothNoOutlines"
  340. Part.RightSurface = "SmoothNoOutlines"
  341. Part.LeftSurface = "SmoothNoOutlines"
  342. Part.BrickColor = BrickColor.new("Black")
  343. local Mesh = Instance.new("CylinderMesh",Part)
  344. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  345. local PartWeld = Instance.new("Motor6D")
  346. PartWeld.Part0 = Handle
  347. PartWeld.Part1 = Part
  348. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  349. PartWeld.Parent = Part
  350.  
  351. local Part = Instance.new("Part",Model)
  352. Part.CanCollide = false
  353. Part.Position = Vector3.new(0,100,0)
  354. Part:BreakJoints()
  355. Part.FormFactor = "Custom"
  356. Part.Size = Vector3.new(0.2,0.2,0.2)
  357. Part.TopSurface = "SmoothNoOutlines"
  358. Part.BottomSurface = "SmoothNoOutlines"
  359. Part.FrontSurface = "SmoothNoOutlines"
  360. Part.BackSurface = "SmoothNoOutlines"
  361. Part.RightSurface = "SmoothNoOutlines"
  362. Part.LeftSurface = "SmoothNoOutlines"
  363. Part.BrickColor = BrickColor.new("Black")
  364. local Mesh = Instance.new("CylinderMesh",Part)
  365. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  366. local PartWeld = Instance.new("Motor6D")
  367. PartWeld.Part0 = Handle
  368. PartWeld.Part1 = Part
  369. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  370. PartWeld.Parent = Part
  371.  
  372. local Part = Instance.new("Part",Model)
  373. Part.CanCollide = false
  374. Part.Position = Vector3.new(0,100,0)
  375. Part:BreakJoints()
  376. Part.FormFactor = "Custom"
  377. Part.Size = Vector3.new(0.2,0.2,0.2)
  378. Part.TopSurface = "SmoothNoOutlines"
  379. Part.BottomSurface = "SmoothNoOutlines"
  380. Part.FrontSurface = "SmoothNoOutlines"
  381. Part.BackSurface = "SmoothNoOutlines"
  382. Part.RightSurface = "SmoothNoOutlines"
  383. Part.LeftSurface = "SmoothNoOutlines"
  384. Part.BrickColor = BrickColor.new("Black")
  385. local Mesh = Instance.new("CylinderMesh",Part)
  386. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  387. local PartWeld = Instance.new("Motor6D")
  388. PartWeld.Part0 = Handle
  389. PartWeld.Part1 = Part
  390. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  391. PartWeld.Parent = Part
  392.  
  393. local Part = Instance.new("Part",Model)
  394. Part.CanCollide = false
  395. Part.Position = Vector3.new(0,100,0)
  396. Part:BreakJoints()
  397. Part.FormFactor = "Custom"
  398. Part.Size = Vector3.new(0.2,0.2,0.2)
  399. Part.TopSurface = "SmoothNoOutlines"
  400. Part.BottomSurface = "SmoothNoOutlines"
  401. Part.FrontSurface = "SmoothNoOutlines"
  402. Part.BackSurface = "SmoothNoOutlines"
  403. Part.RightSurface = "SmoothNoOutlines"
  404. Part.LeftSurface = "SmoothNoOutlines"
  405. Part.BrickColor = BrickColor.new("Black")
  406. local Mesh = Instance.new("CylinderMesh",Part)
  407. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  408. local PartWeld = Instance.new("Motor6D")
  409. PartWeld.Part0 = Handle
  410. PartWeld.Part1 = Part
  411. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  412. PartWeld.Parent = Part
  413.  
  414. local Part = Instance.new("Part",Model)
  415. Part.CanCollide = false
  416. Part.Position = Vector3.new(0,100,0)
  417. Part:BreakJoints()
  418. Part.FormFactor = "Custom"
  419. Part.Size = Vector3.new(0.2,0.2,0.2)
  420. Part.TopSurface = "SmoothNoOutlines"
  421. Part.BottomSurface = "SmoothNoOutlines"
  422. Part.FrontSurface = "SmoothNoOutlines"
  423. Part.BackSurface = "SmoothNoOutlines"
  424. Part.RightSurface = "SmoothNoOutlines"
  425. Part.LeftSurface = "SmoothNoOutlines"
  426. Part.BrickColor = BrickColor.new("Black")
  427. local Mesh = Instance.new("BlockMesh",Part)
  428. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  429. local PartWeld = Instance.new("Motor6D")
  430. PartWeld.Part0 = Handle
  431. PartWeld.Part1 = Part
  432. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*Scale) * CFrame.Angles(0,0,0)
  433. PartWeld.Parent = Part
  434.  
  435. local Part = Instance.new("Part",Model)
  436. Part.CanCollide = false
  437. Part.Position = Vector3.new(0,100,0)
  438. Part:BreakJoints()
  439. Part.FormFactor = "Custom"
  440. Part.Size = Vector3.new(0.2,0.2,0.2)
  441. Part.TopSurface = "SmoothNoOutlines"
  442. Part.BottomSurface = "SmoothNoOutlines"
  443. Part.FrontSurface = "SmoothNoOutlines"
  444. Part.BackSurface = "SmoothNoOutlines"
  445. Part.RightSurface = "SmoothNoOutlines"
  446. Part.LeftSurface = "SmoothNoOutlines"
  447. Part.BrickColor = BrickColor.new("Black")
  448. local Mesh = Instance.new("BlockMesh",Part)
  449. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  450. local PartWeld = Instance.new("Motor6D")
  451. PartWeld.Part0 = Handle
  452. PartWeld.Part1 = Part
  453. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*Scale) * CFrame.Angles(0,0,0)
  454. PartWeld.Parent = Part
  455.  
  456. local Part = Instance.new("Part",Model)
  457. Part.CanCollide = false
  458. Part.Position = Vector3.new(0,100,0)
  459. Part:BreakJoints()
  460. Part.FormFactor = "Custom"
  461. Part.Size = Vector3.new(0.2,0.2,0.2)
  462. Part.TopSurface = "SmoothNoOutlines"
  463. Part.BottomSurface = "SmoothNoOutlines"
  464. Part.FrontSurface = "SmoothNoOutlines"
  465. Part.BackSurface = "SmoothNoOutlines"
  466. Part.RightSurface = "SmoothNoOutlines"
  467. Part.LeftSurface = "SmoothNoOutlines"
  468. Part.BrickColor = BrickColor.new("Black")
  469. local Mesh = Instance.new("BlockMesh",Part)
  470. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  471. local PartWeld = Instance.new("Motor6D")
  472. PartWeld.Part0 = Handle
  473. PartWeld.Part1 = Part
  474. PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  475. PartWeld.Parent = Part
  476.  
  477. local Part = Instance.new("Part",Model)
  478. Part.CanCollide = false
  479. Part.Position = Vector3.new(0,100,0)
  480. Part:BreakJoints()
  481. Part.FormFactor = "Custom"
  482. Part.Size = Vector3.new(0.2,0.2,0.2)
  483. Part.TopSurface = "SmoothNoOutlines"
  484. Part.BottomSurface = "SmoothNoOutlines"
  485. Part.FrontSurface = "SmoothNoOutlines"
  486. Part.BackSurface = "SmoothNoOutlines"
  487. Part.RightSurface = "SmoothNoOutlines"
  488. Part.LeftSurface = "SmoothNoOutlines"
  489. Part.BrickColor = BrickColor.new("Black")
  490. local Mesh = Instance.new("BlockMesh",Part)
  491. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  492. local PartWeld = Instance.new("Motor6D")
  493. PartWeld.Part0 = Handle
  494. PartWeld.Part1 = Part
  495. PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  496. PartWeld.Parent = Part
  497.  
  498. local Part = Instance.new("Part",Model)
  499. Part.CanCollide = false
  500. Part.Position = Vector3.new(0,100,0)
  501. Part:BreakJoints()
  502. Part.FormFactor = "Custom"
  503. Part.Size = Vector3.new(0.2,0.2,0.2)
  504. Part.TopSurface = "SmoothNoOutlines"
  505. Part.BottomSurface = "SmoothNoOutlines"
  506. Part.FrontSurface = "SmoothNoOutlines"
  507. Part.BackSurface = "SmoothNoOutlines"
  508. Part.RightSurface = "SmoothNoOutlines"
  509. Part.LeftSurface = "SmoothNoOutlines"
  510. Part.BrickColor = BrickColor.new("Black")
  511. local Mesh = Instance.new("BlockMesh",Part)
  512. Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * Scale
  513. local PartWeld = Instance.new("Motor6D")
  514. PartWeld.Part0 = Handle
  515. PartWeld.Part1 = Part
  516. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.25,-0.75)*Scale) * CFrame.Angles(math.rad(-10),0,0)
  517. PartWeld.Parent = Part
  518.  
  519. local Part = Instance.new("Part",Model)
  520. Part.CanCollide = false
  521. Part.Position = Vector3.new(0,100,0)
  522. Part:BreakJoints()
  523. Part.FormFactor = "Custom"
  524. Part.Size = Vector3.new(0.2,0.2,0.2)
  525. Part.TopSurface = "SmoothNoOutlines"
  526. Part.BottomSurface = "SmoothNoOutlines"
  527. Part.FrontSurface = "SmoothNoOutlines"
  528. Part.BackSurface = "SmoothNoOutlines"
  529. Part.RightSurface = "SmoothNoOutlines"
  530. Part.LeftSurface = "SmoothNoOutlines"
  531. Part.BrickColor = BrickColor.new("Black")
  532. local Mesh = Instance.new("BlockMesh",Part)
  533. Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * Scale
  534. local PartWeld = Instance.new("Motor6D")
  535. PartWeld.Part0 = Handle
  536. PartWeld.Part1 = Part
  537. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*Scale)
  538. PartWeld.Parent = Part
  539.  
  540. for i = 0,80,10 do
  541. local Part = Instance.new("Part",Model)
  542. Part.CanCollide = false
  543. Part.Position = Vector3.new(0,100,0)
  544. Part:BreakJoints()
  545. Part.FormFactor = "Custom"
  546. Part.Size = Vector3.new(0.2,0.2,0.2)
  547. Part.TopSurface = "SmoothNoOutlines"
  548. Part.BottomSurface = "SmoothNoOutlines"
  549. Part.FrontSurface = "SmoothNoOutlines"
  550. Part.BackSurface = "SmoothNoOutlines"
  551. Part.RightSurface = "SmoothNoOutlines"
  552. Part.LeftSurface = "SmoothNoOutlines"
  553. Part.BrickColor = BrickColor.new("Black")
  554. local Mesh = Instance.new("BlockMesh",Part)
  555. Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * Scale
  556. local PartWeld = Instance.new("Motor6D")
  557. PartWeld.Part0 = Handle
  558. PartWeld.Part1 = Part
  559. PartWeld.C0 = CFrame.new(Vector3.new(0,0.15,0.315)*Scale) * CFrame.Angles(math.rad(i-65),0,0) * CFrame.new(Vector3.new(0,0.2,0)*Scale)
  560. PartWeld.Parent = Part
  561. end
  562.  
  563. local Barrel = Instance.new("Part",Model)
  564. Barrel.CanCollide = false
  565. Barrel.Position = Vector3.new(0,100,0)
  566. Barrel:BreakJoints()
  567. Barrel.FormFactor = "Custom"
  568. Barrel.Size = Vector3.new(0.2,0.2,0.2)
  569. Barrel.TopSurface = "SmoothNoOutlines"
  570. Barrel.BottomSurface = "SmoothNoOutlines"
  571. Barrel.FrontSurface = "SmoothNoOutlines"
  572. Barrel.BackSurface = "SmoothNoOutlines"
  573. Barrel.RightSurface = "SmoothNoOutlines"
  574. Barrel.LeftSurface = "SmoothNoOutlines"
  575. Barrel.BrickColor = BrickColor.new("Black")
  576. local Mesh = Instance.new("BlockMesh",Barrel)
  577. Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
  578. local BarrelWeld = Instance.new("Motor6D")
  579. BarrelWeld.Part0 = Handle
  580. BarrelWeld.Part1 = Barrel
  581. BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
  582. BarrelWeld.Parent = Barrel
  583.  
  584. local Barrel1 = Barrel
  585.  
  586. local Barrel2 = Instance.new("Part",Model)
  587. Barrel2.CanCollide = false
  588. Barrel2.Position = Vector3.new(0,100,0)
  589. Barrel2:BreakJoints()
  590. Barrel2.FormFactor = "Custom"
  591. Barrel2.Size = Vector3.new(0.2,0.2,0.2)
  592. Barrel2.TopSurface = "SmoothNoOutlines"
  593. Barrel2.BottomSurface = "SmoothNoOutlines"
  594. Barrel2.FrontSurface = "SmoothNoOutlines"
  595. Barrel2.BackSurface = "SmoothNoOutlines"
  596. Barrel2.RightSurface = "SmoothNoOutlines"
  597. Barrel2.LeftSurface = "SmoothNoOutlines"
  598. Barrel2.BrickColor = BrickColor.new("Really black")
  599. local Mesh = Instance.new("BlockMesh",Barrel2)
  600. Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
  601. local Barrel2Weld = Instance.new("Motor6D")
  602. Barrel2Weld.Part0 = Barrel
  603. Barrel2Weld.Part1 = Barrel2
  604. Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
  605. Barrel2Weld.Parent = Barrel2
  606.  
  607. local RealBarrel = Instance.new("Part",Model)
  608. RealBarrel.CanCollide = false
  609. RealBarrel.Position = Vector3.new(0,100,0)
  610. RealBarrel:BreakJoints()
  611. RealBarrel.FormFactor = "Custom"
  612. RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
  613. RealBarrel.TopSurface = "SmoothNoOutlines"
  614. RealBarrel.BottomSurface = "SmoothNoOutlines"
  615. RealBarrel.FrontSurface = "SmoothNoOutlines"
  616. RealBarrel.BackSurface = "SmoothNoOutlines"
  617. RealBarrel.RightSurface = "SmoothNoOutlines"
  618. RealBarrel.LeftSurface = "SmoothNoOutlines"
  619. RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
  620. local Mesh = Instance.new("CylinderMesh",RealBarrel)
  621. Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
  622. local RealBarrelWeld = Instance.new("Motor6D")
  623. RealBarrelWeld.Part0 = Barrel
  624. RealBarrelWeld.Part1 = RealBarrel
  625. RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
  626. RealBarrelWeld.Parent = RealBarrel
  627.  
  628. for i = 1,75,15 do
  629. local Part = Instance.new("Part",Model)
  630. Part.CanCollide = false
  631. Part.Position = Vector3.new(0,100,0)
  632. Part:BreakJoints()
  633. Part.FormFactor = "Custom"
  634. Part.Size = Vector3.new(0.2,0.2,0.2)
  635. Part.TopSurface = "SmoothNoOutlines"
  636. Part.BottomSurface = "SmoothNoOutlines"
  637. Part.FrontSurface = "SmoothNoOutlines"
  638. Part.BackSurface = "SmoothNoOutlines"
  639. Part.RightSurface = "SmoothNoOutlines"
  640. Part.LeftSurface = "SmoothNoOutlines"
  641. Part.BrickColor = BrickColor.new("Black")
  642. local Mesh = Instance.new("BlockMesh",Part)
  643. Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
  644. local PartWeld = Instance.new("Motor6D")
  645. PartWeld.Part0 = Handle
  646. PartWeld.Part1 = Part
  647. PartWeld.C0 = CFrame.new(Vector3.new(0,0.525,-0.515)*Scale) * CFrame.Angles(math.rad(i),0,0) * CFrame.new(Vector3.new(0,0,0.2)*Scale)
  648. PartWeld.Parent = Part
  649. end
  650.  
  651. local Part = Instance.new("Part",Model)
  652. Part.CanCollide = false
  653. Part.Position = Vector3.new(0,100,0)
  654. Part:BreakJoints()
  655. Part.FormFactor = "Custom"
  656. Part.Size = Vector3.new(0.2,0.2,0.2)
  657. Part.TopSurface = "SmoothNoOutlines"
  658. Part.BottomSurface = "SmoothNoOutlines"
  659. Part.FrontSurface = "SmoothNoOutlines"
  660. Part.BackSurface = "SmoothNoOutlines"
  661. Part.RightSurface = "SmoothNoOutlines"
  662. Part.LeftSurface = "SmoothNoOutlines"
  663. Part.BrickColor = BrickColor.new("Really black")
  664. local Mesh = Instance.new("BlockMesh",Part)
  665. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  666. local PartWeld = Instance.new("Motor6D")
  667. PartWeld.Part0 = Barrel2
  668. PartWeld.Part1 = Part
  669. PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
  670. PartWeld.Parent = Part
  671.  
  672. local Part = Instance.new("Part",Model)
  673. Part.CanCollide = false
  674. Part.Position = Vector3.new(0,100,0)
  675. Part:BreakJoints()
  676. Part.FormFactor = "Custom"
  677. Part.Size = Vector3.new(0.2,0.2,0.2)
  678. Part.TopSurface = "SmoothNoOutlines"
  679. Part.BottomSurface = "SmoothNoOutlines"
  680. Part.FrontSurface = "SmoothNoOutlines"
  681. Part.BackSurface = "SmoothNoOutlines"
  682. Part.RightSurface = "SmoothNoOutlines"
  683. Part.LeftSurface = "SmoothNoOutlines"
  684. Part.BrickColor = BrickColor.new("Really black")
  685. local Mesh = Instance.new("BlockMesh",Part)
  686. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  687. local PartWeld = Instance.new("Motor6D")
  688. PartWeld.Part0 = Barrel2
  689. PartWeld.Part1 = Part
  690. PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
  691. PartWeld.Parent = Part
  692.  
  693. local Part = Instance.new("Part",Model)
  694. Part.CanCollide = false
  695. Part.Position = Vector3.new(0,100,0)
  696. Part:BreakJoints()
  697. Part.FormFactor = "Custom"
  698. Part.Size = Vector3.new(0.2,0.2,0.2)
  699. Part.TopSurface = "SmoothNoOutlines"
  700. Part.BottomSurface = "SmoothNoOutlines"
  701. Part.FrontSurface = "SmoothNoOutlines"
  702. Part.BackSurface = "SmoothNoOutlines"
  703. Part.RightSurface = "SmoothNoOutlines"
  704. Part.LeftSurface = "SmoothNoOutlines"
  705. Part.BrickColor = BrickColor.new("Really black")
  706. local Mesh = Instance.new("BlockMesh",Part)
  707. Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
  708. local PartWeld = Instance.new("Motor6D")
  709. PartWeld.Part0 = Barrel2
  710. PartWeld.Part1 = Part
  711. PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
  712. PartWeld.Parent = Part
  713.  
  714. local Part = Instance.new("Part",Model)
  715. Part.CanCollide = false
  716. Part.Position = Vector3.new(0,100,0)
  717. Part:BreakJoints()
  718. Part.FormFactor = "Custom"
  719. Part.Size = Vector3.new(0.2,0.2,0.2)
  720. Part.Transparency = 1
  721. Part.TopSurface = "SmoothNoOutlines"
  722. Part.BottomSurface = "SmoothNoOutlines"
  723. Part.FrontSurface = "SmoothNoOutlines"
  724. Part.BackSurface = "SmoothNoOutlines"
  725. Part.RightSurface = "SmoothNoOutlines"
  726. Part.LeftSurface = "SmoothNoOutlines"
  727. Part.BrickColor = BrickColor.new("Really black")
  728. local Mesh = Instance.new("BlockMesh",Part)
  729. Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
  730. local PartWeld = Instance.new("Motor6D")
  731. PartWeld.Part0 = Barrel
  732. PartWeld.Part1 = Part
  733. PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
  734. PartWeld.Parent = Part
  735.  
  736. local Light = Instance.new("PointLight",Part)
  737. Light.Color = BrickColor.new("Gold").Color
  738. Light.Enabled = true
  739. Light.Shadows = true
  740. Light.Brightness = 0
  741. Light.Range = 6
  742.  
  743. local Part = Instance.new("Part",Model)
  744. Part.Material = "Neon"
  745. Part.CanCollide = false
  746. Part.Position = Vector3.new(0,100,0)
  747. Part:BreakJoints()
  748. Part.FormFactor = "Custom"
  749. Part.Size = Vector3.new(0.2,0.2,0.2)
  750. Part.TopSurface = "SmoothNoOutlines"
  751. Part.BottomSurface = "SmoothNoOutlines"
  752. Part.FrontSurface = "SmoothNoOutlines"
  753. Part.BackSurface = "SmoothNoOutlines"
  754. Part.RightSurface = "SmoothNoOutlines"
  755. Part.LeftSurface = "SmoothNoOutlines"
  756. Part.BrickColor = BrickColor.new("Bright yellow")
  757. Part.Transparency = 0.25
  758. local RecoilMesh = Instance.new("SpecialMesh",Part)
  759. RecoilMesh.MeshType = "FileMesh"
  760. RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
  761. RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
  762. RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
  763. local PartWeld = Instance.new("Motor6D")
  764. PartWeld.Part0 = RealBarrel
  765. PartWeld.Part1 = Part
  766. PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
  767. PartWeld.Parent = Part
  768.  
  769. function ShootBullet(Target,barrel)
  770. local barrel = barrel or Barrel
  771. local Bullet = Instance.new("Part",Workspace)
  772. Barrel.CanCollide = false
  773. Bullet.FormFactor = "Custom"
  774. Bullet.Size = Vector3.new(0.2,0.2,5)*Scale
  775. Bullet.TopSurface = "Smooth"
  776. Bullet.BottomSurface = "Smooth"
  777. Bullet.Anchored = true
  778. Bullet.CanCollide = false
  779. Bullet.CFrame = CFrame.new((barrel.CFrame*CFrame.new(0,0,-barrel.Size.Z*barrel.Mesh.Scale.Z/2)).p,Target)*CFrame.new(0,0,-Bullet.Size.Z/2)
  780. Bullet.Transparency = 0.1
  781. Bullet.BrickColor = BrickColor.new("Gold")
  782. --[[local Mesh = Instance.new("SpecialMesh",Bullet)
  783. Mesh.MeshType = "FileMesh"
  784. Mesh.Scale = Vector3.new(0.5,0.5,0.2)
  785. Mesh.MeshId = "http://www.roblox.com/asset/?id=2697549"
  786. --Mesh.TextureId = "http://www.roblox.com/asset/?id=2697544"]]
  787. local Mesh = Instance.new("BlockMesh",Bullet)
  788. Mesh.Scale = Vector3.new(0.2,0.2,5)*Scale/Bullet.Size
  789. IgnoreList[#IgnoreList+1] = Bullet
  790. RenderStepped:wait()
  791. for i = Speed,1000,Speed do -- Loop to do the bullet movement and stuff.
  792. local ray,Hit,Pos,SurfaceNormal;
  793. ray = Ray.new(Bullet.Position,((Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)).p-Bullet.Position).unit*Speed)
  794. Hit,Pos,SurfaceNormal = Workspace:FindPartOnRayWithIgnoreList(ray,IgnoreList)
  795. Bullet.CFrame = Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)
  796. if Hit ~= nil then
  797. local Hum = Hit.Parent:FindFirstChild("Humanoid") or Hit.Parent.Parent:FindFirstChild("Humanoid") or (Hit.Parent.Parent.Parent ~= nil and Hit.Parent.Parent.Parent:FindFirstChild("Humanoid"))
  798. if Hum ~= nil then
  799. Hum:TakeDamage((((Gangster and math.random(99999,99999) or math.random(99999,99999))*Scale)/100)*Hum.MaxHealth)
  800. end
  801. break
  802. end
  803. RenderStepped:wait()
  804. end
  805. Bullet:Destroy()
  806. end
  807.  
  808. Mouse.Button1Down:connect(function()
  809. if not Down and not DB then
  810. Down = true
  811. while Down do
  812. if Humanoid.Health == 0 then break end
  813. if not DB then
  814. DB = true
  815. local Sound = Instance.new("Sound",Barrel)
  816. Sound.SoundId = "http://www.roblox.com/Asset/?id=282716906" -- 132373574
  817. Sound.Volume = 5*Scale
  818. Sound.Pitch = (math.random(70,110)/100)/((Scale < 0.25 and 0.25) or (Scale > 4 and 4) or Scale)
  819. Sound:Play()
  820. Spawn(function()
  821. ShootBullet(Mouse.Hit.p,Barrel1)
  822. end)
  823. RecoilMesh.VertexColor = Vector3.new(1,math.random(160,245)/255,20/255)
  824. PartWeld.C0 = PartWeld.C0 * CFrame.Angles(0,math.rad(math.random(-40,40)),0)
  825. local Shell = Instance.new("Part",Workspace)
  826. Shell.FormFactor = "Custom"
  827. Shell.BrickColor = BrickColor.new("Bright yellow")
  828. Shell.Size = Vector3.new(0.2,0.5,0.2)*Scale
  829. Shell.CFrame = Barrel.CFrame*CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(-90),0,0)
  830. Shell.Velocity = ((Barrel.CFrame*CFrame.new(5,0,math.random(-2,2))).p-Barrel.CFrame.p)*5*Scale
  831. local Mesh = Instance.new("CylinderMesh",Shell)
  832. Mesh.Scale = Vector3.new(0.2,0.5,0.2)*Scale/Shell.Size
  833. Spawn(function()
  834. wait(5)
  835. Shell:Destroy()
  836. end)
  837. for i = 1,20,7.5 do
  838. RotationOffset = RotationOffset*CFrame.Angles(math.rad(7.5),0,0)
  839. Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,-0.15,0)*Scale)
  840. Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,0.15)*Scale)
  841. Light.Brightness = Light.Brightness+38
  842. RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,0.375,0)*Scale)
  843. RenderStepped:wait()
  844. end
  845. wait(0.02)
  846. for i = 1,20,3.75 do
  847. RotationOffset = RotationOffset*CFrame.Angles(math.rad(-3.75),0,0)
  848. Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,0.075,0)*Scale)
  849. Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,-0.075)*Scale)
  850. Light.Brightness = Light.Brightness-19
  851. RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,-0.1875,0)*Scale)
  852. RenderStepped:wait()
  853. end
  854. wait(0.02)
  855. DB = false
  856. end
  857. end
  858. end
  859. end)
  860.  
  861. Mouse.Button1Up:connect(function()
  862. Down = false
  863. end)
  864.  
  865. Mouse.KeyDown:connect(function(Key)
  866. if Key:lower() == "g" and not DB then
  867. DB = true
  868. if Gangster == true then
  869. for i = 1,70,5 do
  870. RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(-5),0)
  871. RenderStepped:wait()
  872. end
  873. Gangster = false
  874. else
  875. for i = 1,70,5 do
  876. RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(5),0)
  877. RenderStepped:wait()
  878. end
  879. Gangster = true
  880. end
  881. DB = false
  882. end
  883. end)
  884.  
  885. local Weld = Instance.new("Weld")
  886. Weld.Part0 = Torso
  887. Weld.Part1 = Character["Right Arm"]
  888. Weld.Parent = Torso
  889.  
  890. local Weld2 = Instance.new("Weld")
  891. Weld2.Part0 = Torso
  892. Weld2.Part1 = Character.Head
  893. Weld2.Parent = Torso
  894.  
  895. local RA = Character["Right Arm"]
  896.  
  897. game:GetService("RunService"):BindToRenderStep("Pistol",Enum.RenderPriority.Character.Value,function()
  898. local Point = Torso.CFrame:vectorToObjectSpace(Mouse.Hit.p-Torso.CFrame.p)
  899. if Point.Z > 0 then
  900. if Point.X > 0 then
  901. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
  902. elseif Point.X < 0 then
  903. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
  904. end
  905. end
  906.  
  907. local CFr = (Torso.CFrame*Part0Joint):toObjectSpace(CFrame.new((Torso.CFrame*Part0Joint).p,Mouse.Hit.p))--RayEnd))
  908. Weld.C0 = Part0Joint * (CFr-CFr.p) * RotationOffset
  909. Weld.C1 = Part1Joint
  910. Weld.Part0 = Torso
  911. Weld.Part1 = RA
  912. local CFr = (Torso.CFrame*Part0JointHead):toObjectSpace(CFrame.new((Torso.CFrame*Part0JointHead).p,Mouse.Hit.p))--RayEnd))
  913. Weld2.C0 = Part0JointHead * (CFr-CFr.p) * RotationOffsetHead
  914. Weld2.C1 = Part1JointHead
  915. Weld2.Part0 = Torso
  916. Weld2.Part1 = Character.Head
  917. local Last = Scale
  918. Scale = game.Players.LocalPlayer.Character.Torso.Size.X/2*(game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1)*0.8
  919. Speed = 20*Scale
  920. if Scale ~= Last then
  921. Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  922. Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  923. Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  924. Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  925. end
  926. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement