Advertisement
refrop

sans gunner v3

Apr 20th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.54 KB | None | 0 0
  1. --[[
  2. ~~ GENOCIDE SANS SCRIPT ~~
  3.  
  4. VERSION BETA V3.0.3
  5. Whats New:
  6. *1st attempt in adding skull (failed lol)
  7. *Patched some more bugs
  8. *1st attempt in adding bones (failed lol)
  9. *removed ball spawning
  10. - AzuLX
  11.  
  12. Genocide Sans script from the Undertale game Script is edited by Xeradius, Isaac and Pingu.
  13. Full credit to whoever made the base
  14. Please do not leak this script.
  15. Full credit to 'KrystalTeam' and 'rocky2u' for the Telek script.
  16. TeamAzuL2K16
  17. ]]--
  18. ID = '319332735'
  19. Looped = false
  20.  
  21. Music=Instance.new("Sound" ,workspace)
  22. Music.Name = "Music"
  23. if Looped == true then
  24. Music.Looped = true
  25. end
  26. Music.SoundId = "http://roblox.com/asset/?id=319332735"
  27. Music:Play() --Demonic Laugh. (Omega Flowey) You can remove if you wish. Its very loud (To not make play, remove 'Music:Play()')
  28.  
  29. --full credit to krystal and rocky2u for below
  30. Fire = false
  31.  
  32. Sparkles = false
  33.  
  34. Box = false
  35.  
  36. local Players = game.Players
  37.  
  38. local Player = Players.LocalPlayer
  39.  
  40. local Mouse = Player:GetMouse()
  41.  
  42.  
  43. local dist = 25
  44.  
  45. local trans = 0
  46.  
  47. local dwn=false
  48.  
  49. local Bin = Instance.new("HopperBin")
  50.  
  51. Bin.Name = "Sans' Telekinesis"
  52.  
  53. Bin.Parent = Player.Backpack
  54.  
  55.  
  56. local ScreenGUI = Instance.new("ScreenGui", Player.PlayerGui)
  57.  
  58. local Color = Instance.new("Color3Value", ScreenGUI)
  59.  
  60. local ColorValue = Color.Value
  61.  
  62. local Blue = Instance.new("TextButton", ScreenGUI)
  63.  
  64. local Red = Instance.new("TextButton", ScreenGUI)
  65.  
  66. local Green = Instance.new("TextButton", ScreenGUI)
  67.  
  68. local Yellow = Instance.new("TextButton", ScreenGUI)
  69.  
  70. local Pink = Instance.new("TextButton", ScreenGUI)
  71.  
  72. local LightBlue = Instance.new("TextButton", ScreenGUI)
  73.  
  74. local White = Instance.new("TextButton", ScreenGUI)
  75.  
  76. local FireTrue = Instance.new("TextButton", ScreenGUI)
  77.  
  78. local FireFalse = Instance.new("TextButton", ScreenGUI)
  79.  
  80. local SparklesTrue = Instance.new("TextButton", ScreenGUI)
  81.  
  82. local SparklesFalse = Instance.new("TextButton", ScreenGUI)
  83.  
  84. local BoxTrue = Instance.new("TextButton", ScreenGUI)
  85.  
  86. local BoxFalse = Instance.new("TextButton", ScreenGUI)
  87.  
  88. Color.Name = "Color"
  89.  
  90. Blue.BackgroundColor3 = BrickColor.new("Bright blue").Color
  91.  
  92. Blue.Transparency = 0.5
  93.  
  94. Blue.Size = UDim2.new(0, 20 ,0, 20)
  95.  
  96. Blue.Position = UDim2.new(1, -35, 1, -35)
  97.  
  98. Blue.Name = "Blue"
  99.  
  100. Blue.Text = ""
  101.  
  102. Blue.Visible = false
  103.  
  104. Red.BackgroundColor3 = BrickColor.new("Bright red").Color
  105.  
  106. Red.Transparency = 0.5
  107.  
  108. Red.Size = UDim2.new(0, 20 ,0, 20)
  109.  
  110. Red.Position = UDim2.new(1,-65, 1, -35)
  111.  
  112. Red.Name = "Red"
  113.  
  114. Red.Text = ""
  115.  
  116. Red.Visible = false
  117.  
  118. Green.BackgroundColor3 = BrickColor.new("Bright green").Color
  119.  
  120. Green.Transparency = 0.5
  121.  
  122. Green.Size = UDim2.new(0, 20 ,0, 20)
  123.  
  124. Green.Position = UDim2.new(1,-95, 1, -35)
  125.  
  126. Green.Name = "Green"
  127.  
  128. Green.Text = ""
  129.  
  130. Green.Visible = false
  131.  
  132. Yellow.BackgroundColor3 = BrickColor.new("New Yeller").Color
  133.  
  134. Yellow.Transparency = 0.5
  135.  
  136. Yellow.Size = UDim2.new(0, 20 ,0, 20)
  137.  
  138. Yellow.Position = UDim2.new(1,-125, 1, -35)
  139.  
  140. Yellow.Name = "Yellow"
  141.  
  142. Yellow.Text = ""
  143.  
  144. Yellow.Visible = false
  145.  
  146. Pink.BackgroundColor3 = BrickColor.new("Hot pink").Color
  147.  
  148. Pink.Transparency = 0.5
  149.  
  150. Pink.Size = UDim2.new(0, 20 ,0, 20)
  151.  
  152. Pink.Position = UDim2.new(1,-155, 1, -35)
  153.  
  154. Pink.Name = "Pink"
  155.  
  156. Pink.Text = ""
  157.  
  158. Pink.Visible = false
  159.  
  160. LightBlue.BackgroundColor3 = BrickColor.new("Cyan").Color
  161.  
  162. LightBlue.Transparency = 0.5
  163.  
  164. LightBlue.Size = UDim2.new(0, 20 ,0, 20)
  165.  
  166. LightBlue.Position = UDim2.new(1,-185, 1, -35)
  167.  
  168. LightBlue.Name = "LightBlue"
  169.  
  170. LightBlue.Text = ""
  171.  
  172. LightBlue.Visible = false
  173.  
  174. White.BackgroundColor3 = BrickColor.new("White").Color
  175.  
  176. White.Transparency = 0.5
  177.  
  178. White.Size = UDim2.new(0, 20 ,0, 20)
  179.  
  180. White.Position = UDim2.new(1,-215, 1, -35)
  181.  
  182. White.Name = "White"
  183.  
  184. White.Text = ""
  185.  
  186. White.Visible = false
  187.  
  188. FireFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  189.  
  190. FireFalse.Transparency = 0.5
  191.  
  192. FireFalse.Size = UDim2.new(0, 50 ,0, 20)
  193.  
  194. FireFalse.Position = UDim2.new(1,-65, 1, -65)
  195.  
  196. FireFalse.Name = "FireFalse"
  197.  
  198. FireFalse.Text = "Fire: F"
  199.  
  200. FireFalse.Visible = false
  201.  
  202. FireFalse.FontSize = "Size12"
  203.  
  204. FireFalse.Font = "ArialBold"
  205.  
  206. FireFalse.TextColor = BrickColor.new(255,255,255)
  207.  
  208. FireFalse.TextTransparency = 0
  209.  
  210. FireTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  211.  
  212. FireTrue.Transparency = 0.5
  213.  
  214. FireTrue.Size = UDim2.new(0, 50 ,0, 20)
  215.  
  216. FireTrue.Position = UDim2.new(1,-65, 1, -65)
  217.  
  218. FireTrue.Name = "FireTrue"
  219.  
  220. FireTrue.Text = "Fire: T"
  221.  
  222. FireTrue.Visible = false
  223.  
  224. FireTrue.FontSize = "Size12"
  225.  
  226. FireTrue.Font = "ArialBold"
  227.  
  228. FireTrue.TextColor = BrickColor.new(255,255,255)
  229.  
  230. FireTrue.TextTransparency = 0
  231.  
  232. SparklesTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  233.  
  234. SparklesTrue.Transparency = 0.5
  235.  
  236. SparklesTrue.Size = UDim2.new(0, 50 ,0, 20)
  237.  
  238. SparklesTrue.Position = UDim2.new(1,-125, 1, -65)
  239.  
  240. SparklesTrue.Name = "SparklesTrue"
  241.  
  242. SparklesTrue.Text = "SP: T"
  243.  
  244. SparklesTrue.Visible = false
  245.  
  246. SparklesTrue.FontSize = "Size12"
  247.  
  248. SparklesTrue.Font = "ArialBold"
  249.  
  250. SparklesTrue.TextColor = BrickColor.new(255,255,255)
  251.  
  252. SparklesTrue.TextTransparency = 0
  253.  
  254. SparklesFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  255.  
  256. SparklesFalse.Transparency = 0.5
  257.  
  258. SparklesFalse.Size = UDim2.new(0, 50 ,0, 20)
  259.  
  260. SparklesFalse.Position = UDim2.new(1,-125, 1, -65)
  261.  
  262. SparklesFalse.Name = "SparklesFalse"
  263.  
  264. SparklesFalse.Text = "SP: F"
  265.  
  266. SparklesFalse.Visible = false
  267.  
  268. SparklesFalse.FontSize = "Size12"
  269.  
  270. SparklesFalse.Font = "ArialBold"
  271.  
  272. SparklesFalse.TextColor = BrickColor.new(255,255,255)
  273.  
  274. SparklesFalse.TextTransparency = 0
  275.  
  276. BoxTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  277.  
  278. BoxTrue.Transparency = 0.5
  279.  
  280. BoxTrue.Size = UDim2.new(0, 50 ,0, 20)
  281.  
  282. BoxTrue.Position = UDim2.new(1,-185, 1, -65)
  283.  
  284. BoxTrue.Name = "BoxTrue"
  285.  
  286. BoxTrue.Text = "Box: T"
  287.  
  288. BoxTrue.Visible = false
  289.  
  290. BoxTrue.FontSize = "Size12"
  291.  
  292. BoxTrue.Font = "ArialBold"
  293.  
  294. BoxTrue.TextColor = BrickColor.new(255,255,255)
  295.  
  296. BoxTrue.TextTransparency = 0
  297.  
  298. BoxFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  299.  
  300. BoxFalse.Transparency = 0.5
  301.  
  302. BoxFalse.Size = UDim2.new(0, 50 ,0, 20)
  303.  
  304. BoxFalse.Position = UDim2.new(1,-185, 1, -65)
  305.  
  306. BoxFalse.Name = "BoxFalse"
  307.  
  308. BoxFalse.Text = "Box: F"
  309.  
  310. BoxFalse.Visible = false
  311.  
  312. BoxFalse.FontSize = "Size12"
  313.  
  314. BoxFalse.Font = "ArialBold"
  315.  
  316. BoxFalse.TextColor = BrickColor.new(255, 255, 255)
  317.  
  318. BoxFalse.TextTransparency = 0
  319.  
  320. local Credits = Instance.new("ScreenGui",Player.PlayerGui)
  321.  
  322. local Text = Instance.new("TextLabel",Credits)
  323.  
  324. Text.BackgroundTransparency = 1
  325.  
  326. Text.Position = UDim2.new(0, 0, 1, -25)
  327.  
  328. Text.Size = UDim2.new(0, 200, 0, 25)
  329.  
  330. Text.Font = "SourceSans"
  331.  
  332. Text.FontSize = "Size24"
  333.  
  334. Text.Text = "By AzuLX, Issac and Pingu - GSans Script."
  335.  
  336. Text.TextColor3 = Color3.new(255, 255, 255)
  337.  
  338. Text.TextXAlignment = "Left"
  339.  
  340. local bawl = Instance.new("Part", game.Lighting)
  341.  
  342. bawl.Name="TelekinesisGrab"
  343.  
  344. local bp = Instance.new("BodyPosition", bawl)
  345.  
  346. local w = Instance.new("Weld", bawl)
  347.  
  348. function onButton1Down(mouse)
  349.  
  350. bawl.Size = Vector3.new(2,2,2)
  351.  
  352. bawl.Material="Neon"
  353.  
  354. bawl.Shape=0
  355.  
  356. bawl.Transparency=trans
  357.  
  358. bawl.Name="TelekinesisGrab"
  359.  
  360. bawl.CanCollide = false
  361.  
  362. bawl.Parent = game.Workspace
  363.  
  364. w.Parent = bawl
  365.  
  366. w.Name = "Weld"
  367.  
  368. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  369.  
  370. bp.Parent = bawl
  371.  
  372. bp.Name="lolx"
  373.  
  374. bawl.Parent = workspace
  375.  
  376. if mouse ~= nil then
  377.  
  378. if mouse.Target ~= nil then
  379.  
  380. w.Part0 = mouse.Target
  381.  
  382. w.Part1 = bawl
  383.  
  384. dwn = true
  385.  
  386. if mouse.Target.Parent:FindFirstChild("Humanoid") then
  387.  
  388. mouse.Target.Parent:FindFirstChild("Humanoid").PlatformStand=true
  389.  
  390. else
  391.  
  392. print('no humanoid')
  393.  
  394. end
  395.  
  396. end
  397.  
  398. end
  399.  
  400. spawn(function()
  401.  
  402. while dwn == true do
  403.  
  404. ypcall(function()
  405.  
  406. bp.Parent = bawl
  407.  
  408. bp.position = Player.Character.Torso.Position + (mouse.Hit.lookVector*dist)
  409.  
  410. wait()
  411.  
  412. end)
  413.  
  414. end
  415.  
  416. end)
  417.  
  418. end
  419.  
  420. function onButton1Up(mouse)
  421.  
  422. dwn=false
  423.  
  424. if bawl ~= nil then
  425.  
  426. bawl.Parent=game.Lighting
  427.  
  428. else
  429.  
  430. print('not found')
  431.  
  432. end
  433.  
  434. end
  435.  
  436. function onKeyDown(key, mouse)
  437.  
  438. key:lower()
  439.  
  440. if key == "r" then
  441.  
  442. if bawl ~= nil then
  443.  
  444. --bawl.Parent=nil
  445.  
  446. end
  447.  
  448. elseif key == "e" then
  449.  
  450. local p = Instance.new("Part", workspace)
  451.  
  452. p.Size = Vector3.new(3,3,3)
  453.  
  454. p.Material = "Neon"
  455.  
  456. p.Position = mouse.Hit.p + Vector3.new(0,2,0)
  457.  
  458. p.BrickColor = bawl.BrickColor
  459.  
  460. p.Shape = "Ball"
  461.  
  462. p.BottomSurface = "Smooth"
  463.  
  464. p.TopSurface = "Smooth"
  465.  
  466. elseif key == "h" then
  467.  
  468. if bawl ~= nil then
  469.  
  470. if bawl:FindFirstChild("Weld") ~= nil then
  471.  
  472. if bawl:FindFirstChild("Weld").Part0 ~= nil then
  473.  
  474. bawl:FindFirstChild("Weld").Part0.Anchored=false
  475.  
  476. end
  477.  
  478. end
  479.  
  480. end
  481.  
  482. elseif key == "g" then
  483.  
  484. if bawl ~= nil then
  485.  
  486. local x = Instance.new("Explosion",workspace)
  487.  
  488. x.Position=bawl.Position
  489.  
  490. else
  491.  
  492. print('some sort of error')
  493.  
  494. end
  495.  
  496. elseif key == "x" then
  497.  
  498. dist=dist - 5
  499.  
  500. elseif key == "c" then
  501.  
  502. dist=15
  503.  
  504. elseif key == "v" then
  505.  
  506. dist=100
  507.  
  508. elseif key == "z" then
  509.  
  510. dist=dist + 5
  511.  
  512. end
  513.  
  514. end
  515.  
  516. FireX = 0
  517.  
  518. FireY = 0
  519.  
  520. FireZ = 0
  521.  
  522. SPX = 0
  523.  
  524. SPY = 0
  525.  
  526. SPZ = 0
  527.  
  528. BoxColor = "White"
  529.  
  530. FireFalse.MouseButton1Down:connect(function ()
  531.  
  532. local Fire = Instance.new("Fire", bawl)
  533. Fire.Color = Color3.new(FireX,FireY,FireZ)
  534.  
  535. Player.PlayerGui.ScreenGui.FireFalse.Visible = false
  536.  
  537. Player.PlayerGui.ScreenGui.FireTrue.Visible = true
  538.  
  539. Fire.Color = Color3.new(FireX,FireY,FireZ)
  540.  
  541. end)
  542.  
  543. FireTrue.MouseButton1Down:connect(function ()
  544.  
  545. bawl.Fire:remove()
  546.  
  547. Player.PlayerGui.ScreenGui.FireFalse.Visible = true
  548.  
  549. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  550.  
  551. end)
  552.  
  553. SparklesFalse.MouseButton1Down:connect(function ()
  554.  
  555. local SP = Instance.new("Sparkles", bawl)
  556. SP.Color = Color3.new(SPX,SPY,SPZ)
  557.  
  558. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
  559.  
  560. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = true
  561.  
  562. end)
  563.  
  564. SparklesTrue.MouseButton1Down:connect(function ()
  565.  
  566. bawl.Sparkles:remove()
  567.  
  568. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
  569.  
  570. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  571.  
  572. end)
  573.  
  574. BoxFalse.MouseButton1Down:connect(function ()
  575.  
  576. local Box = Instance.new("SelectionBox", bawl)
  577. Box.Color = BrickColor.new(BoxColor)
  578. Box.Adornee = Box.Parent
  579.  
  580. Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
  581.  
  582. Player.PlayerGui.ScreenGui.BoxTrue.Visible = true
  583.  
  584. end)
  585.  
  586. BoxTrue.MouseButton1Down:connect(function ()
  587.  
  588. bawl.SelectionBox:remove()
  589.  
  590. Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
  591.  
  592. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  593.  
  594. end)
  595.  
  596. Blue.MouseButton1Down:connect(function ()
  597.  
  598. if bawl ~= nil then
  599.  
  600. bawl.BrickColor = BrickColor.new("Bright blue")
  601.  
  602. FireX = 0
  603. FireY = 0
  604. FireZ = 255
  605.  
  606. SPX = 0
  607. SPY = 0
  608. SPZ = 255
  609.  
  610. BoxColor = "Bright blue"
  611.  
  612. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,0,255)
  613.  
  614. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,0,255)
  615.  
  616. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright blue")
  617.  
  618. end
  619.  
  620. end)
  621.  
  622. Red.MouseButton1Down:connect(function ()
  623.  
  624. if bawl ~= nil then
  625.  
  626. bawl.BrickColor = BrickColor.new("Bright red")
  627.  
  628. FireX = 255
  629. FireY = 0
  630. FireZ = 0
  631.  
  632. SPX = 255
  633. SPY = 0
  634. SPZ = 0
  635.  
  636. BoxColor = "Bright red"
  637.  
  638. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,0)
  639.  
  640. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,0)
  641.  
  642. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright red")
  643.  
  644. end
  645.  
  646. end)
  647.  
  648. Green.MouseButton1Down:connect(function ()
  649.  
  650. if bawl ~= nil then
  651.  
  652. bawl.BrickColor = BrickColor.new("Bright green")
  653.  
  654. FireX = 0
  655. FireY = 255
  656. FireZ = 0
  657.  
  658. SPX = 0
  659. SPY = 255
  660. SPZ = 0
  661.  
  662. BoxColor = "Bright green"
  663.  
  664. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,0)
  665.  
  666. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,0)
  667.  
  668. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright green")
  669.  
  670. end
  671.  
  672. end)
  673.  
  674. Yellow.MouseButton1Down:connect(function ()
  675.  
  676. if bawl ~= nil then
  677.  
  678. bawl.BrickColor = BrickColor.new("New Yeller")
  679.  
  680. FireX = 255
  681. FireY = 255
  682. FireZ = 0
  683.  
  684. SPX = 255
  685. SPY = 255
  686. SPZ = 0
  687.  
  688. BoxColor = "New Yeller"
  689.  
  690. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,0)
  691.  
  692. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,0)
  693.  
  694. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("New Yeller")
  695.  
  696. end
  697.  
  698. end)
  699.  
  700. Pink.MouseButton1Down:connect(function ()
  701.  
  702. if bawl ~= nil then
  703.  
  704. bawl.BrickColor = BrickColor.new("Hot pink")
  705.  
  706. FireX = 255
  707. FireY = 0
  708. FireZ = 255
  709.  
  710. SPX = 255
  711. SPY = 0
  712. SPZ = 255
  713.  
  714. BoxColor = "Hot pink"
  715.  
  716. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,255)
  717.  
  718. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,255)
  719.  
  720. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Hot pink")
  721.  
  722. end
  723.  
  724. end)
  725.  
  726. LightBlue.MouseButton1Down:connect(function ()
  727.  
  728. if bawl ~= nil then
  729.  
  730. bawl.BrickColor = BrickColor.new("Cyan")
  731.  
  732. FireX = 0
  733. FireY = 255
  734. FireZ = 255
  735.  
  736. SPX = 0
  737. SPY = 255
  738. SPZ = 255
  739.  
  740. BoxColor = "Cyan"
  741.  
  742. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,255)
  743.  
  744. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,255)
  745.  
  746. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Cyan")
  747.  
  748. end
  749.  
  750. end)
  751.  
  752.  
  753. White.MouseButton1Down:connect(function ()
  754.  
  755. if bawl ~= nil then
  756.  
  757. bawl.BrickColor = BrickColor.new("White")
  758.  
  759. FireX = 255
  760. FireY = 255
  761. FireZ = 255
  762.  
  763. SPX = 255
  764. SPY = 255
  765. SPZ = 255
  766.  
  767. BoxColor = "White"
  768.  
  769. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,255)
  770.  
  771. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,255)
  772.  
  773. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("White")
  774.  
  775. end
  776.  
  777. end)
  778.  
  779. Bin.Selected:connect(function ()
  780.  
  781. Fire = false
  782.  
  783. Player.PlayerGui.ScreenGui.Blue.Visible = true
  784.  
  785. Player.PlayerGui.ScreenGui.Red.Visible = true
  786.  
  787. Player.PlayerGui.ScreenGui.Green.Visible = true
  788.  
  789. Player.PlayerGui.ScreenGui.Yellow.Visible = true
  790.  
  791. Player.PlayerGui.ScreenGui.Pink.Visible = true
  792.  
  793. Player.PlayerGui.ScreenGui.LightBlue.Visible = true
  794.  
  795. Player.PlayerGui.ScreenGui.White.Visible = true
  796.  
  797. Player.PlayerGui.ScreenGui.FireFalse.Visible = true
  798.  
  799. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  800.  
  801. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
  802.  
  803. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  804.  
  805. Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
  806.  
  807. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  808.  
  809. end)
  810.  
  811. Bin.Deselected:connect(function ()
  812.  
  813. Fire = false
  814.  
  815. Player.PlayerGui.ScreenGui.Blue.Visible = false
  816.  
  817. Player.PlayerGui.ScreenGui.Red.Visible = false
  818.  
  819. Player.PlayerGui.ScreenGui.Green.Visible = false
  820.  
  821. Player.PlayerGui.ScreenGui.Yellow.Visible = false
  822.  
  823. Player.PlayerGui.ScreenGui.Pink.Visible = false
  824.  
  825. Player.PlayerGui.ScreenGui.LightBlue.Visible = false
  826.  
  827. Player.PlayerGui.ScreenGui.White.Visible = false
  828.  
  829. Player.PlayerGui.ScreenGui.FireFalse.Visible = false
  830.  
  831. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  832.  
  833. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
  834.  
  835. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  836.  
  837. Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
  838.  
  839. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  840.  
  841. end)
  842.  
  843. Bin.Selected:connect(function(mouse)
  844.  
  845. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  846.  
  847. mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  848.  
  849. mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
  850.  
  851. end)
  852. print 'Telek script has loaded, credit to Krystal and rocky2u'
  853. dot = false
  854. des = false
  855. local ChatService = game:GetService("Chat")
  856. local player = game.Players.LocalPlayer
  857. char = player.Character
  858. hum = char.Humanoid
  859. torso = hum.Torso
  860. lig = Instance.new("PointLight",player.Character.Torso)
  861. lig.Color=Color3.new(0,255,255)
  862. m=player:GetMouse()
  863. bb = Instance.new("BillboardGui",player.Character.Head)
  864. bb.Enabled = true
  865. bb.AlwaysOnTop = true
  866. bb.Size = UDim2.new(0,200,0,50)
  867. bb.StudsOffset = Vector3.new(0,1,0)
  868. gui=Instance.new("TextBox",bb)
  869. gui.Text = "* "
  870. gui.Size = UDim2.new(0,133,0,45)
  871. gui.Position=UDim2.new(0,57,0,-40)
  872. gui.TextColor3 = Color3.new(255,255,255)
  873. gui.BackgroundColor3=Color3.new(0,0,0)
  874. gui.TextWrapped = true
  875. gui.TextScaled = true
  876. gui.TextXAlignment = "Left"
  877. gui.TextYAlignment = "Top"
  878. gui.Visible = false
  879. gui.BorderColor3 = Color3.new(0,0,0)
  880.  
  881. gui1=Instance.new("TextButton",bb)
  882. gui1.Position=UDim2.new(0,5,0,-43)
  883. gui1.Size = UDim2.new(0,190,0,51)
  884.  
  885. gui1.TextColor3 = Color3.new(255,255,255)
  886. gui1.BackgroundColor3=Color3.new(255,255,255)
  887.  
  888. gui1.Visible = false
  889. img = Instance.new("ImageLabel",bb)
  890. img.Size = UDim2.new(0,46,0,47)
  891. img.Position = UDim2.new(0,10,0,-41)
  892. img.Image = "rbxassetid://388166921"
  893. img.BorderColor3 = Color3.new(0,0,0)
  894. img.Visible = false
  895. asd = Instance.new("Sound",player.Character.Torso)
  896. asd.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  897.  
  898. asd1 = Instance.new("Sound",player.Character.Torso)
  899. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  900.  
  901. asd2 = Instance.new("Sound",player.Character.Torso)
  902. asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481"
  903. asd2.Looped = true
  904. asd3 = Instance.new("Sound",player.Character.Torso)
  905. asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309"
  906. asd3.Looped = true
  907. asd4 = Instance.new("Sound",player.Character.Torso)
  908. asd4.SoundId = "http://www.roblox.com/asset/?id = 366168126"
  909. asd4.Looped = false
  910. asd5 = Instance.new("Sound",player.Character.Torso)
  911. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  912. asd5.Looped = true
  913. dunkd = Instance.new("Sound",player.Character.Torso)
  914. dunkd.SoundId = "http://www.roblox.com/asset/?id = 382893859"
  915. dunkd.Looped = false
  916. function play(play)
  917. asd:Play()
  918. asd1:Play()
  919. end
  920. eye = Instance.new("Part",player.Character)
  921. eye.BrickColor = BrickColor.new("Toothpaste")
  922. eye.Material = "Neon"
  923. eye.FormFactor = 3
  924. eye.Shape = "Ball"
  925. eye.Size = Vector3.new(0.37,0.37,0.1)
  926. weld = Instance.new("Weld",eye)
  927. weld.Part0 = eye
  928. weld.Part1 = player.Character.Head
  929. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  930. eye.Transparency = 1
  931. -- listen for their chatting
  932. player.Chatted:connect(function(message)
  933. a = string.len(message)
  934. gui.Text = "* "
  935. gui.Visible = true
  936. gui1.Visible = true
  937. des = false
  938. img.Visible = true
  939. print(a)
  940. if dot == false then
  941. for i = 1,string.len(message) do wait(0.07)
  942. gui.Text =gui.Text..message:sub(i,i)
  943.  
  944. play()
  945. end
  946. end
  947.  
  948. des = true
  949. end)
  950. m.KeyDown:connect(function(k)
  951. if k == "g" then
  952. asd2:Play()
  953. eye.Transparency = 0
  954.  
  955. end
  956. end)
  957. m.KeyDown:connect(function(k)
  958. if k == "p" then
  959. eye.Transparency = 1
  960. asd3:Play()
  961. end
  962. end)
  963. m.KeyDown:connect(function(k)
  964. if k == "r" then
  965. eye.Transparency = 0
  966. asd4:Play()
  967. end
  968. end)
  969. m.KeyDown:connect(function(k)
  970. if k == "q" then
  971. eye.Transparency = 1
  972. asd5:Play()
  973. end
  974. end)
  975. m.KeyDown:connect(function(k)
  976. if k == "z" then
  977.  
  978. img.Image = "rbxassetid://414178632"
  979. end
  980. end)
  981. m.KeyDown:connect(function(k)
  982. if k == "c" then
  983. img.Image = "rbxassetid://333660171"
  984. end
  985. end)
  986. m.KeyDown:connect(function(k)
  987. if k == "n" then
  988. img.Image = "rbxassetid://309482690"
  989. end
  990. end)
  991. m.KeyDown:connect(function(k)
  992. if k == "b" then
  993. img.Image = "rbxassetid://356477236"
  994. end
  995. end)
  996. m.KeyDown:connect(function(k)
  997. if k == "m" then
  998. img.Image = "rbxassetid://392578302"
  999. end
  1000. end)
  1001. m.KeyDown:connect(function(k)
  1002. if k == "v" then
  1003. img.Image = "rbxassetid://359052889"
  1004. end
  1005. end)
  1006. m.KeyDown:connect(function(k)
  1007. if k == "h" then
  1008. img.Image = "rbxassetid://339763092"
  1009. end
  1010. end)
  1011. m.KeyDown:connect(function(k)
  1012. if k == "j" then
  1013. img.Image = "rbxassetid://384795061"
  1014. end
  1015. end)
  1016. m.KeyDown:connect(function(k)
  1017. if k == "l" then
  1018. img.Image = "rbxassetid://378214121"
  1019. print("You take your very last breath...")
  1020. asdd = Instance.new("Sound",player.Character.Torso)
  1021. asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
  1022. asdd.Looped = false
  1023. spawn(function()
  1024. wait()
  1025. asdd:Play()
  1026. end)
  1027. wait(2)
  1028. asddd = Instance.new("Sound",player.Character.Torso)
  1029. asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
  1030. asddd.Looped = false
  1031. spawn(function()
  1032. wait()
  1033. asddd:Play()
  1034. end)
  1035. wait(2)
  1036. asdded = Instance.new("Sound",player.Character.Torso)
  1037. asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  1038. asdded.Looped = false
  1039. spawn(function()
  1040. wait()
  1041. asdded:Play()
  1042. end)
  1043. char:BreakJoints()
  1044. end
  1045. end)
  1046. m.KeyDown:connect(function(k)
  1047. if k == "x" then
  1048. if des == true then
  1049. gui.Visible = false
  1050. gui.Text = "* "
  1051. gui1.Visible = false
  1052. img.Visible = false
  1053. end
  1054. end
  1055. end)
  1056. m.KeyDown:connect(function(k)
  1057. if k == "f" then
  1058. asd3:Stop()
  1059. asd2:Stop()
  1060. asd4:Stop()
  1061. dunkd:Stop()
  1062. eye.Transparency = 1
  1063. asd5:Stop()
  1064. end
  1065. end)
  1066. m.KeyDown:connect(function(k)
  1067. if k == "u" then
  1068. dunkd = Instance.new("Sound",player.Character.Torso)
  1069. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  1070. dunkd.Looped = false
  1071. dunkd:Play()
  1072. end
  1073. end)
  1074. m.KeyDown:connect(function(k)
  1075. if k == "y" then
  1076. img.Image = "rbxassetid://378198656"
  1077. end
  1078. end)
  1079. -- my god...
  1080. -- Suck_HiyaThere moves to arizona
  1081.  
  1082. --------------------------------------------------------
  1083.  
  1084. pls = game:GetService'Players'
  1085. rs = game:GetService'RunService'
  1086. uinps = game:GetService'UserInputService'
  1087. lp = pls.LocalPlayer
  1088. mouse = lp:GetMouse()
  1089. c = lp.Character
  1090. human = c.Humanoid
  1091. human.MaxHealth = 50000
  1092. soundVol = 0
  1093. wait()
  1094. human.Health = 50000
  1095. c.Health:Destroy()
  1096.  
  1097. --------------------------------------------------------
  1098.  
  1099. Debounces = {
  1100. AnimationCycles = 0;
  1101. FPS = 0;
  1102. scalingDamage = false;
  1103. damageLevel = 0;
  1104. attackNumber = 0;
  1105. isAttacking = false;
  1106. isMoving = false;
  1107. isSprinting = false;
  1108. isBoosting = false;
  1109. isPassive = false;
  1110. isTyping = false;
  1111. }
  1112.  
  1113. --------------------------------------------------------
  1114.  
  1115. numLerp = function(start, goal, alpha)
  1116. return(((goal - start) * alpha) + start)
  1117. end
  1118.  
  1119. CFrameZero = function()
  1120. return CFrame.new(Vector3.new())
  1121. end
  1122.  
  1123. rad = function(value)
  1124. return math.rad(value)
  1125. end
  1126.  
  1127. CFAngles = function(Vector)
  1128. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  1129. end
  1130.  
  1131. --------------------------------------------------------
  1132.  
  1133. AnimStat = {
  1134. lerpSpeed = .2;
  1135. lerpSpeed2 = .35;
  1136. lerpTween = 0;
  1137. }
  1138.  
  1139. Joints = {
  1140. c.HumanoidRootPart.RootJoint;
  1141. c.Torso.Neck;
  1142. c.Torso['Left Shoulder'];
  1143. c.Torso['Right Shoulder'];
  1144. c.Torso['Left Hip'];
  1145. c.Torso['Right Hip'];
  1146. }
  1147.  
  1148. JointTargets = {
  1149. CFrameZero();
  1150. CFrameZero();
  1151. CFrameZero();
  1152. CFrameZero();
  1153. CFrameZero();
  1154. CFrameZero();
  1155. }
  1156.  
  1157. --------------------------------------------------------
  1158.  
  1159. BodyColors = {
  1160. HeadColor = BrickColor.new("Institutional white");
  1161. LeftArmColor = BrickColor.new("Institutional white");
  1162. RightArmColor = BrickColor.new("Institutional white");
  1163. LeftLegColor = BrickColor.new("Institutional white");
  1164. RightLegColor = BrickColor.new("Institutional white");
  1165. TorsoColor = BrickColor.new("Mid gray");
  1166. }
  1167.  
  1168. Customs = {
  1169. Face = "http://www.roblox.com/asset/?id=382064533";
  1170. Shirt = "http://www.roblox.com/asset/?id=380669878";
  1171. Pants = "http://www.roblox.com/asset/?id=415270659";
  1172. }
  1173.  
  1174. --------------------------------------------------------
  1175.  
  1176. prepareCharacter = function()
  1177. local transPoints = {
  1178. NumberSequenceKeypoint.new(0,0,0),
  1179. NumberSequenceKeypoint.new(.4,.05,0),
  1180. NumberSequenceKeypoint.new(.8,.16,0),
  1181. NumberSequenceKeypoint.new(1,.25,0)
  1182. }
  1183. local sizePoints = {
  1184. NumberSequenceKeypoint.new(0,.5,0),
  1185. NumberSequenceKeypoint.new(.18,.5,0),
  1186. NumberSequenceKeypoint.new(.49,.69,0),
  1187. NumberSequenceKeypoint.new(.74,.5,0),
  1188. NumberSequenceKeypoint.new(.92,.25,0),
  1189. NumberSequenceKeypoint.new(1,.0625,0)
  1190. }
  1191. local Size = NumberSequence.new(sizePoints)
  1192. local Transparency = NumberSequence.new(transPoints)
  1193. rayModel = Instance.new("Model",c)
  1194. efxBlock = Instance.new("Part",c)
  1195. efxBlock.Material = "Neon"
  1196. efxBlock.FormFactor = "Custom"
  1197. efxBlock.Size = Vector3.new(.3,.3,.3)
  1198. light = Instance.new("PointLight",c.Head)
  1199. light.Range = 8
  1200. light.Color = Color3.new(1,1,1)
  1201. light.Shadows = false
  1202. local particles = Instance.new("ParticleEmitter",efxBlock)
  1203. particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
  1204. particles.ZOffset = 1
  1205. particles.LightEmission = .96
  1206. particles.Size = Size
  1207. particles.Name = "Fire"
  1208. particles.Transparency = Transparency
  1209. particles.LockedToPart = true
  1210. particles.Rate = 25
  1211. particles.EmissionDirection = "Right"
  1212. particles.Acceleration = Vector3.new(-.5,0,0)
  1213. particles.Texture = "rbxassetid://24378732"
  1214. particles.Lifetime = NumberRange.new(.25,.25)
  1215. particles.Speed = NumberRange.new(-.5,5)
  1216. script.Parent = efxBlock
  1217. fire = particles
  1218. local offset = Vector3.new(0.2, .23, -0.5)
  1219. local weld = Instance.new("Weld",c.Head)
  1220. weld.Part0 = c.Head
  1221. weld.Part1 = efxBlock
  1222. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1223. efxBlock.Parent = c
  1224. local music = Instance.new("Sound",c.Torso)
  1225. music.SoundId = "rbxassetid://316012176"
  1226. music.Looped = true
  1227. music.Volume = soundVol
  1228. fight = music
  1229. local music2 = Instance.new("Sound",c.Torso)
  1230. music2.SoundId = "rbxassetid://316014309"
  1231. music2.Looped = true
  1232. music2.Volume = soundVol
  1233. sans = music2
  1234. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  1235. pointGyro.P = 1e7
  1236. pointGyro.D = 1e3
  1237. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  1238. animator = c.Humanoid:FindFirstChild("Animator")
  1239. if animator then
  1240. animator:Destroy()
  1241. end
  1242. c.Torso.roblox:Destroy()
  1243. for i,v in pairs (c.Head:children()) do
  1244. if v.ClassName == "Sound" then
  1245. v:Destroy()
  1246. end
  1247. end
  1248. for i = 1,#Joints do
  1249. Joints[i].C1 = CFrame.new(Vector3.new())
  1250. end
  1251. human.WalkSpeed = 0
  1252. human.JumpPower = 0
  1253. end
  1254.  
  1255. uinps.InputBegan:connect(function(InputObject)
  1256. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  1257. Debounces.isPassive = not Debounces.isPassive
  1258. end
  1259. end)
  1260.  
  1261. setJointCFrames = function(table)
  1262. for i = 1,#table do
  1263. JointTargets[i] = table[i]
  1264. end
  1265. AnimationCycles = 0
  1266. end
  1267.  
  1268. setLerp = function(speed)
  1269. AnimStat.lerpSpeed = speed
  1270. end
  1271.  
  1272. setTween = function(tween)
  1273. AnimStat.lerpTween = tween
  1274. end
  1275.  
  1276. takeDamage = function(position,damage,distance,platformStand)
  1277. for i,v in pairs (pls:children()) do
  1278. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  1279. local torso = v.Character:FindFirstChild("Torso")
  1280. if torso and (torso.Position - position).magnitude < distance then
  1281. if v.Character.Humanoid.MaxHealth > 1000 then
  1282. v.Character.Humanoid.MaxHealth = 100;
  1283. v.Character.Humanoid.Breakjoints()
  1284. end
  1285.  
  1286.  
  1287. v.Character.Humanoid:TakeDamage(damage)
  1288. if platformStand == true then
  1289. v.Character.PlatformStand = platformStand
  1290. end
  1291. end
  1292. end
  1293. end
  1294. end
  1295. --:V
  1296. wait(2)
  1297.  
  1298. nam = game.Players.LocalPlayer.Name
  1299.  
  1300. coroutine.wrap(function()
  1301. while wait() do
  1302. for a, b in pairs(Workspace[nam]:GetChildren()) do
  1303. if b:FindFirstChild('Handle') then
  1304. b.Handle.CanCollide = false
  1305. end
  1306. end
  1307. end
  1308. end)()
  1309.  
  1310. Workspace[nam].Humanoid.Changed:connect(function()
  1311. Workspace[nam].Humanoid.WalkSpeed = 16
  1312. end)
  1313.  
  1314. game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function(asd)
  1315. delay(0, function()
  1316. if asd.Name ~= 'OutputGUI' then
  1317. asd:Destroy()
  1318. end
  1319. end)
  1320. end)
  1321.  
  1322. game:GetService('RunService').Stepped:connect(function()
  1323. Workspace[nam].Torso.CanCollide = false
  1324. Workspace[nam].Head.CanCollide = false
  1325. end)
  1326.  
  1327. Workspace[nam].Torso.Changed:connect(function()
  1328. Workspace[nam].Torso.CanCollide = false
  1329. Workspace[nam].Head.CanCollide = false
  1330. end)
  1331. --This is a localscript; you will need to have access to using scripts wherever you want this
  1332. p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end
  1333. --Made by refrop
  1334.  
  1335. local s = Instance.new("Sound")
  1336.  
  1337. s.Name = "Sound"
  1338. s.SoundId = "http://www.roblox.com/asset/?id=400272640"
  1339. s.Volume = 70
  1340. s.Looped = false
  1341. s.archivable = false
  1342.  
  1343. s.Parent = game.Workspace
  1344.  
  1345. wait(3)
  1346.  
  1347. s:play()
  1348. p = game.Players.LocalPlayer
  1349. char = p.Character
  1350. des = false
  1351. fling = true
  1352. dot = false
  1353. falling = false
  1354. jump = true
  1355. --char.Shirt:Remove()
  1356. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  1357. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  1358. wait()--shirt = Instance.new("Shirt", char)
  1359. --shirt.Name = "Shirt"
  1360. --pants = Instance.new("Pants", char)
  1361. --pants.Name = "Pants"
  1362.  
  1363. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=22287244"
  1364. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=22287352"
  1365. tp = true
  1366. shoot = true
  1367. hum = char.Humanoid
  1368. punch = true
  1369. neckp = char.Torso.Neck.C0
  1370. neck = char.Torso.Neck
  1371. hum.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  1372. wait()
  1373. hum.Health =hum.MaxHealth
  1374. des = false
  1375. root=char.HumanoidRootPart
  1376. torso = char.Torso
  1377. char.Head.face.Texture = "rbxassetid://31634002"
  1378. local ChatService = game:GetService("Chat")
  1379. local player = game.Players.LocalPlayer
  1380. lig = Instance.new("PointLight",player.Character.Torso)
  1381. lig.Color=Color3.new(255,0,0)
  1382. m=player:GetMouse()
  1383. bb = Instance.new("BillboardGui",player.Character.Head)
  1384. bb.Enabled = true
  1385. function newRay(start,face,range,wat)
  1386. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  1387. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  1388. return rey,hit,pos
  1389. end
  1390.  
  1391. --[[
  1392. This script will change your shirt and pants ^-^
  1393. Change the shirt and pants ID to the one you like
  1394. If your using this script, do it as a local script ^-^
  1395. ]]
  1396.  
  1397. local part = game.Players.LocalPlayer.Character
  1398. local basetemplate = "http://www.roblox.com/asset/?id="
  1399. local shirt = 383810694
  1400. local pants = 315964941
  1401. local h = part:findFirstChild("Shirt")
  1402. if h ~= nil then
  1403. h.ShirtTemplate = basetemplate..shirt
  1404. else
  1405. local i = Instance.new("Shirt")
  1406. i.Name = "Shirt"
  1407. i.ShirtTemplate = basetemplate..shirt
  1408. i.Parent = part
  1409. end
  1410. local p = part:findFirstChild("Pants")
  1411. if p ~= nil then
  1412. p.PantsTemplate = basetemplate..pants
  1413. else
  1414. local np = Instance.new("Pants")
  1415. np.PantsTemplate = basetemplate..pants
  1416. np.Name = "Pants"
  1417. np.Parent = part
  1418. end
  1419.  
  1420. 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 5)*0.8
  1421. local Speed = 20*Scale
  1422. local Gravity = 0.1
  1423.  
  1424. local Player = game.Players.LocalPlayer
  1425. local Character = Player.Character
  1426. local Humanoid = Character.Humanoid
  1427. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  1428. local Torso = Character.HumanoidRootPart
  1429. local Mouse = game.Players.LocalPlayer:GetMouse()
  1430. local RenderStepped = game:GetService("RunService").RenderStepped
  1431. local Camera = Workspace.CurrentCamera
  1432. Camera:ClearAllChildren()
  1433. local Model = Instance.new("Model",Character)
  1434. local IgnoreList = {Character,Workspace.Terrain}
  1435.  
  1436. local Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  1437. local Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  1438. local RotationOffset = CFrame.Angles(math.rad(90),math.rad(0),0)
  1439. local Gangster = false
  1440.  
  1441. local Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  1442. local Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  1443. local RotationOffsetHead = CFrame.Angles(0,0,0)
  1444.  
  1445. local Handle = Instance.new("Part",Model)
  1446. Handle.CanCollide = false
  1447. Handle.Name = "Handle"
  1448. Handle.Position = Vector3.new(0,100,0)
  1449. Handle:BreakJoints()
  1450. Handle.FormFactor = "Custom"
  1451. Handle.Size = Vector3.new(0.2,0.2,0.2)
  1452. Handle.TopSurface = "SmoothNoOutlines"
  1453. Handle.BottomSurface = "SmoothNoOutlines"
  1454. Handle.FrontSurface = "SmoothNoOutlines"
  1455. Handle.BackSurface = "SmoothNoOutlines"
  1456. Handle.RightSurface = "SmoothNoOutlines"
  1457. Handle.LeftSurface = "SmoothNoOutlines"
  1458. Handle.BrickColor = BrickColor.new("Black")
  1459. local Mesh = Instance.new("BlockMesh",Handle)
  1460. Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * Scale
  1461. local HandleWeld = Instance.new("Motor6D")
  1462. HandleWeld.Part0 = Character["Right Arm"]
  1463. HandleWeld.Part1 = Handle
  1464. HandleWeld.C0 = CFrame.new(Vector3.new(0,-0.4,0)*Scale) * CFrame.Angles(math.rad(-105),0,0)
  1465. HandleWeld.Parent = Handle
  1466.  
  1467. local Part = Instance.new("Part",Model)
  1468. Part.CanCollide = false
  1469. Part.Position = Vector3.new(0,100,0)
  1470. Part:BreakJoints()
  1471. Part.FormFactor = "Custom"
  1472. Part.Size = Vector3.new(0.2,0.2,0.2)
  1473. Part.TopSurface = "SmoothNoOutlines"
  1474. Part.BottomSurface = "SmoothNoOutlines"
  1475. Part.FrontSurface = "SmoothNoOutlines"
  1476. Part.BackSurface = "SmoothNoOutlines"
  1477. Part.RightSurface = "SmoothNoOutlines"
  1478. Part.LeftSurface = "SmoothNoOutlines"
  1479. Part.BrickColor = BrickColor.new("Black")
  1480. local Mesh = Instance.new("CylinderMesh",Part)
  1481. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  1482. local PartWeld = Instance.new("Motor6D")
  1483. PartWeld.Part0 = Handle
  1484. PartWeld.Part1 = Part
  1485. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  1486. PartWeld.Parent = Part
  1487.  
  1488. local Part = Instance.new("Part",Model)
  1489. Part.CanCollide = false
  1490. Part.Position = Vector3.new(0,100,0)
  1491. Part:BreakJoints()
  1492. Part.FormFactor = "Custom"
  1493. Part.Size = Vector3.new(0.2,0.2,0.2)
  1494. Part.TopSurface = "SmoothNoOutlines"
  1495. Part.BottomSurface = "SmoothNoOutlines"
  1496. Part.FrontSurface = "SmoothNoOutlines"
  1497. Part.BackSurface = "SmoothNoOutlines"
  1498. Part.RightSurface = "SmoothNoOutlines"
  1499. Part.LeftSurface = "SmoothNoOutlines"
  1500. Part.BrickColor = BrickColor.new("Black")
  1501. local Mesh = Instance.new("CylinderMesh",Part)
  1502. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  1503. local PartWeld = Instance.new("Motor6D")
  1504. PartWeld.Part0 = Handle
  1505. PartWeld.Part1 = Part
  1506. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  1507. PartWeld.Parent = Part
  1508.  
  1509. local Part = Instance.new("Part",Model)
  1510. Part.CanCollide = false
  1511. Part.Position = Vector3.new(0,100,0)
  1512. Part:BreakJoints()
  1513. Part.FormFactor = "Custom"
  1514. Part.Size = Vector3.new(0.2,0.2,0.2)
  1515. Part.TopSurface = "SmoothNoOutlines"
  1516. Part.BottomSurface = "SmoothNoOutlines"
  1517. Part.FrontSurface = "SmoothNoOutlines"
  1518. Part.BackSurface = "SmoothNoOutlines"
  1519. Part.RightSurface = "SmoothNoOutlines"
  1520. Part.LeftSurface = "SmoothNoOutlines"
  1521. Part.BrickColor = BrickColor.new("Black")
  1522. local Mesh = Instance.new("CylinderMesh",Part)
  1523. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  1524. local PartWeld = Instance.new("Motor6D")
  1525. PartWeld.Part0 = Handle
  1526. PartWeld.Part1 = Part
  1527. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  1528. PartWeld.Parent = Part
  1529.  
  1530. local Part = Instance.new("Part",Model)
  1531. Part.CanCollide = false
  1532. Part.Position = Vector3.new(0,100,0)
  1533. Part:BreakJoints()
  1534. Part.FormFactor = "Custom"
  1535. Part.Size = Vector3.new(0.2,0.2,0.2)
  1536. Part.TopSurface = "SmoothNoOutlines"
  1537. Part.BottomSurface = "SmoothNoOutlines"
  1538. Part.FrontSurface = "SmoothNoOutlines"
  1539. Part.BackSurface = "SmoothNoOutlines"
  1540. Part.RightSurface = "SmoothNoOutlines"
  1541. Part.LeftSurface = "SmoothNoOutlines"
  1542. Part.BrickColor = BrickColor.new("Black")
  1543. local Mesh = Instance.new("CylinderMesh",Part)
  1544. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  1545. local PartWeld = Instance.new("Motor6D")
  1546. PartWeld.Part0 = Handle
  1547. PartWeld.Part1 = Part
  1548. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  1549. PartWeld.Parent = Part
  1550.  
  1551. local Part = Instance.new("Part",Model)
  1552. Part.CanCollide = false
  1553. Part.Position = Vector3.new(0,100,0)
  1554. Part:BreakJoints()
  1555. Part.FormFactor = "Custom"
  1556. Part.Size = Vector3.new(0.2,0.2,0.2)
  1557. Part.TopSurface = "SmoothNoOutlines"
  1558. Part.BottomSurface = "SmoothNoOutlines"
  1559. Part.FrontSurface = "SmoothNoOutlines"
  1560. Part.BackSurface = "SmoothNoOutlines"
  1561. Part.RightSurface = "SmoothNoOutlines"
  1562. Part.LeftSurface = "SmoothNoOutlines"
  1563. Part.BrickColor = BrickColor.new("Black")
  1564. local Mesh = Instance.new("BlockMesh",Part)
  1565. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  1566. local PartWeld = Instance.new("Motor6D")
  1567. PartWeld.Part0 = Handle
  1568. PartWeld.Part1 = Part
  1569. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*Scale) * CFrame.Angles(0,0,0)
  1570. PartWeld.Parent = Part
  1571.  
  1572. local Part = Instance.new("Part",Model)
  1573. Part.CanCollide = false
  1574. Part.Position = Vector3.new(0,100,0)
  1575. Part:BreakJoints()
  1576. Part.FormFactor = "Custom"
  1577. Part.Size = Vector3.new(0.2,0.2,0.2)
  1578. Part.TopSurface = "SmoothNoOutlines"
  1579. Part.BottomSurface = "SmoothNoOutlines"
  1580. Part.FrontSurface = "SmoothNoOutlines"
  1581. Part.BackSurface = "SmoothNoOutlines"
  1582. Part.RightSurface = "SmoothNoOutlines"
  1583. Part.LeftSurface = "SmoothNoOutlines"
  1584. Part.BrickColor = BrickColor.new("Black")
  1585. local Mesh = Instance.new("BlockMesh",Part)
  1586. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  1587. local PartWeld = Instance.new("Motor6D")
  1588. PartWeld.Part0 = Handle
  1589. PartWeld.Part1 = Part
  1590. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*Scale) * CFrame.Angles(0,0,0)
  1591. PartWeld.Parent = Part
  1592.  
  1593. local Part = Instance.new("Part",Model)
  1594. Part.CanCollide = false
  1595. Part.Position = Vector3.new(0,100,0)
  1596. Part:BreakJoints()
  1597. Part.FormFactor = "Custom"
  1598. Part.Size = Vector3.new(0.2,0.2,0.2)
  1599. Part.TopSurface = "SmoothNoOutlines"
  1600. Part.BottomSurface = "SmoothNoOutlines"
  1601. Part.FrontSurface = "SmoothNoOutlines"
  1602. Part.BackSurface = "SmoothNoOutlines"
  1603. Part.RightSurface = "SmoothNoOutlines"
  1604. Part.LeftSurface = "SmoothNoOutlines"
  1605. Part.BrickColor = BrickColor.new("Black")
  1606. local Mesh = Instance.new("BlockMesh",Part)
  1607. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  1608. local PartWeld = Instance.new("Motor6D")
  1609. PartWeld.Part0 = Handle
  1610. PartWeld.Part1 = Part
  1611. PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  1612. PartWeld.Parent = Part
  1613.  
  1614. local Part = Instance.new("Part",Model)
  1615. Part.CanCollide = false
  1616. Part.Position = Vector3.new(0,100,0)
  1617. Part:BreakJoints()
  1618. Part.FormFactor = "Custom"
  1619. Part.Size = Vector3.new(0.2,0.2,0.2)
  1620. Part.TopSurface = "SmoothNoOutlines"
  1621. Part.BottomSurface = "SmoothNoOutlines"
  1622. Part.FrontSurface = "SmoothNoOutlines"
  1623. Part.BackSurface = "SmoothNoOutlines"
  1624. Part.RightSurface = "SmoothNoOutlines"
  1625. Part.LeftSurface = "SmoothNoOutlines"
  1626. Part.BrickColor = BrickColor.new("Black")
  1627. local Mesh = Instance.new("BlockMesh",Part)
  1628. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  1629. local PartWeld = Instance.new("Motor6D")
  1630. PartWeld.Part0 = Handle
  1631. PartWeld.Part1 = Part
  1632. PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  1633. PartWeld.Parent = Part
  1634.  
  1635. local Part = Instance.new("Part",Model)
  1636. Part.CanCollide = false
  1637. Part.Position = Vector3.new(0,100,0)
  1638. Part:BreakJoints()
  1639. Part.FormFactor = "Custom"
  1640. Part.Size = Vector3.new(0.2,0.2,0.2)
  1641. Part.TopSurface = "SmoothNoOutlines"
  1642. Part.BottomSurface = "SmoothNoOutlines"
  1643. Part.FrontSurface = "SmoothNoOutlines"
  1644. Part.BackSurface = "SmoothNoOutlines"
  1645. Part.RightSurface = "SmoothNoOutlines"
  1646. Part.LeftSurface = "SmoothNoOutlines"
  1647. Part.BrickColor = BrickColor.new("Black")
  1648. local Mesh = Instance.new("BlockMesh",Part)
  1649. Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * Scale
  1650. local PartWeld = Instance.new("Motor6D")
  1651. PartWeld.Part0 = Handle
  1652. PartWeld.Part1 = Part
  1653. 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)
  1654. PartWeld.Parent = Part
  1655.  
  1656. local Part = Instance.new("Part",Model)
  1657. Part.CanCollide = false
  1658. Part.Position = Vector3.new(0,100,0)
  1659. Part:BreakJoints()
  1660. Part.FormFactor = "Custom"
  1661. Part.Size = Vector3.new(0.2,0.2,0.2)
  1662. Part.TopSurface = "SmoothNoOutlines"
  1663. Part.BottomSurface = "SmoothNoOutlines"
  1664. Part.FrontSurface = "SmoothNoOutlines"
  1665. Part.BackSurface = "SmoothNoOutlines"
  1666. Part.RightSurface = "SmoothNoOutlines"
  1667. Part.LeftSurface = "SmoothNoOutlines"
  1668. Part.BrickColor = BrickColor.new("Black")
  1669. local Mesh = Instance.new("BlockMesh",Part)
  1670. Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * Scale
  1671. local PartWeld = Instance.new("Motor6D")
  1672. PartWeld.Part0 = Handle
  1673. PartWeld.Part1 = Part
  1674. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*Scale)
  1675. PartWeld.Parent = Part
  1676.  
  1677. for i = 0,80,10 do
  1678. local Part = Instance.new("Part",Model)
  1679. Part.CanCollide = false
  1680. Part.Position = Vector3.new(0,100,0)
  1681. Part:BreakJoints()
  1682. Part.FormFactor = "Custom"
  1683. Part.Size = Vector3.new(0.2,0.2,0.2)
  1684. Part.TopSurface = "SmoothNoOutlines"
  1685. Part.BottomSurface = "SmoothNoOutlines"
  1686. Part.FrontSurface = "SmoothNoOutlines"
  1687. Part.BackSurface = "SmoothNoOutlines"
  1688. Part.RightSurface = "SmoothNoOutlines"
  1689. Part.LeftSurface = "SmoothNoOutlines"
  1690. Part.BrickColor = BrickColor.new("Black")
  1691. local Mesh = Instance.new("BlockMesh",Part)
  1692. Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * Scale
  1693. local PartWeld = Instance.new("Motor6D")
  1694. PartWeld.Part0 = Handle
  1695. PartWeld.Part1 = Part
  1696. 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)
  1697. PartWeld.Parent = Part
  1698. end
  1699.  
  1700. local Barrel = Instance.new("Part",Model)
  1701. Barrel.CanCollide = false
  1702. Barrel.Position = Vector3.new(0,100,0)
  1703. Barrel:BreakJoints()
  1704. Barrel.FormFactor = "Custom"
  1705. Barrel.Size = Vector3.new(0.2,0.2,0.2)
  1706. Barrel.TopSurface = "SmoothNoOutlines"
  1707. Barrel.BottomSurface = "SmoothNoOutlines"
  1708. Barrel.FrontSurface = "SmoothNoOutlines"
  1709. Barrel.BackSurface = "SmoothNoOutlines"
  1710. Barrel.RightSurface = "SmoothNoOutlines"
  1711. Barrel.LeftSurface = "SmoothNoOutlines"
  1712. Barrel.BrickColor = BrickColor.new("Black")
  1713. local Mesh = Instance.new("BlockMesh",Barrel)
  1714. Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
  1715. local BarrelWeld = Instance.new("Motor6D")
  1716. BarrelWeld.Part0 = Handle
  1717. BarrelWeld.Part1 = Barrel
  1718. BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
  1719. BarrelWeld.Parent = Barrel
  1720.  
  1721. local Barrel1 = Barrel
  1722.  
  1723. local Barrel2 = Instance.new("Part",Model)
  1724. Barrel2.CanCollide = false
  1725. Barrel2.Position = Vector3.new(0,100,0)
  1726. Barrel2:BreakJoints()
  1727. Barrel2.FormFactor = "Custom"
  1728. Barrel2.Size = Vector3.new(0.2,0.2,0.2)
  1729. Barrel2.TopSurface = "SmoothNoOutlines"
  1730. Barrel2.BottomSurface = "SmoothNoOutlines"
  1731. Barrel2.FrontSurface = "SmoothNoOutlines"
  1732. Barrel2.BackSurface = "SmoothNoOutlines"
  1733. Barrel2.RightSurface = "SmoothNoOutlines"
  1734. Barrel2.LeftSurface = "SmoothNoOutlines"
  1735. Barrel2.BrickColor = BrickColor.new("Really black")
  1736. local Mesh = Instance.new("BlockMesh",Barrel2)
  1737. Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
  1738. local Barrel2Weld = Instance.new("Motor6D")
  1739. Barrel2Weld.Part0 = Barrel
  1740. Barrel2Weld.Part1 = Barrel2
  1741. Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
  1742. Barrel2Weld.Parent = Barrel2
  1743.  
  1744. local RealBarrel = Instance.new("Part",Model)
  1745. RealBarrel.CanCollide = false
  1746. RealBarrel.Position = Vector3.new(0,100,0)
  1747. RealBarrel:BreakJoints()
  1748. RealBarrel.FormFactor = "Custom"
  1749. RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
  1750. RealBarrel.TopSurface = "SmoothNoOutlines"
  1751. RealBarrel.BottomSurface = "SmoothNoOutlines"
  1752. RealBarrel.FrontSurface = "SmoothNoOutlines"
  1753. RealBarrel.BackSurface = "SmoothNoOutlines"
  1754. RealBarrel.RightSurface = "SmoothNoOutlines"
  1755. RealBarrel.LeftSurface = "SmoothNoOutlines"
  1756. RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
  1757. local Mesh = Instance.new("CylinderMesh",RealBarrel)
  1758. Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
  1759. local RealBarrelWeld = Instance.new("Motor6D")
  1760. RealBarrelWeld.Part0 = Barrel
  1761. RealBarrelWeld.Part1 = RealBarrel
  1762. RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
  1763. RealBarrelWeld.Parent = RealBarrel
  1764.  
  1765. for i = 1,75,15 do
  1766. local Part = Instance.new("Part",Model)
  1767. Part.CanCollide = false
  1768. Part.Position = Vector3.new(0,100,0)
  1769. Part:BreakJoints()
  1770. Part.FormFactor = "Custom"
  1771. Part.Size = Vector3.new(0.2,0.2,0.2)
  1772. Part.TopSurface = "SmoothNoOutlines"
  1773. Part.BottomSurface = "SmoothNoOutlines"
  1774. Part.FrontSurface = "SmoothNoOutlines"
  1775. Part.BackSurface = "SmoothNoOutlines"
  1776. Part.RightSurface = "SmoothNoOutlines"
  1777. Part.LeftSurface = "SmoothNoOutlines"
  1778. Part.BrickColor = BrickColor.new("Black")
  1779. local Mesh = Instance.new("BlockMesh",Part)
  1780. Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
  1781. local PartWeld = Instance.new("Motor6D")
  1782. PartWeld.Part0 = Handle
  1783. PartWeld.Part1 = Part
  1784. 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)
  1785. PartWeld.Parent = Part
  1786. end
  1787.  
  1788. local Part = Instance.new("Part",Model)
  1789. Part.CanCollide = false
  1790. Part.Position = Vector3.new(0,100,0)
  1791. Part:BreakJoints()
  1792. Part.FormFactor = "Custom"
  1793. Part.Size = Vector3.new(0.2,0.2,0.2)
  1794. Part.TopSurface = "SmoothNoOutlines"
  1795. Part.BottomSurface = "SmoothNoOutlines"
  1796. Part.FrontSurface = "SmoothNoOutlines"
  1797. Part.BackSurface = "SmoothNoOutlines"
  1798. Part.RightSurface = "SmoothNoOutlines"
  1799. Part.LeftSurface = "SmoothNoOutlines"
  1800. Part.BrickColor = BrickColor.new("Really black")
  1801. local Mesh = Instance.new("BlockMesh",Part)
  1802. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  1803. local PartWeld = Instance.new("Motor6D")
  1804. PartWeld.Part0 = Barrel2
  1805. PartWeld.Part1 = Part
  1806. PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
  1807. PartWeld.Parent = Part
  1808.  
  1809. local Part = Instance.new("Part",Model)
  1810. Part.CanCollide = false
  1811. Part.Position = Vector3.new(0,100,0)
  1812. Part:BreakJoints()
  1813. Part.FormFactor = "Custom"
  1814. Part.Size = Vector3.new(0.2,0.2,0.2)
  1815. Part.TopSurface = "SmoothNoOutlines"
  1816. Part.BottomSurface = "SmoothNoOutlines"
  1817. Part.FrontSurface = "SmoothNoOutlines"
  1818. Part.BackSurface = "SmoothNoOutlines"
  1819. Part.RightSurface = "SmoothNoOutlines"
  1820. Part.LeftSurface = "SmoothNoOutlines"
  1821. Part.BrickColor = BrickColor.new("Really black")
  1822. local Mesh = Instance.new("BlockMesh",Part)
  1823. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  1824. local PartWeld = Instance.new("Motor6D")
  1825. PartWeld.Part0 = Barrel2
  1826. PartWeld.Part1 = Part
  1827. PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
  1828. PartWeld.Parent = Part
  1829.  
  1830. local Part = Instance.new("Part",Model)
  1831. Part.CanCollide = false
  1832. Part.Position = Vector3.new(0,100,0)
  1833. Part:BreakJoints()
  1834. Part.FormFactor = "Custom"
  1835. Part.Size = Vector3.new(0.2,0.2,0.2)
  1836. Part.TopSurface = "SmoothNoOutlines"
  1837. Part.BottomSurface = "SmoothNoOutlines"
  1838. Part.FrontSurface = "SmoothNoOutlines"
  1839. Part.BackSurface = "SmoothNoOutlines"
  1840. Part.RightSurface = "SmoothNoOutlines"
  1841. Part.LeftSurface = "SmoothNoOutlines"
  1842. Part.BrickColor = BrickColor.new("Really black")
  1843. local Mesh = Instance.new("BlockMesh",Part)
  1844. Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
  1845. local PartWeld = Instance.new("Motor6D")
  1846. PartWeld.Part0 = Barrel2
  1847. PartWeld.Part1 = Part
  1848. PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
  1849. PartWeld.Parent = Part
  1850.  
  1851. local Part = Instance.new("Part",Model)
  1852. Part.CanCollide = false
  1853. Part.Position = Vector3.new(0,100,0)
  1854. Part:BreakJoints()
  1855. Part.FormFactor = "Custom"
  1856. Part.Size = Vector3.new(0.2,0.2,0.2)
  1857. Part.Transparency = 1
  1858. Part.TopSurface = "SmoothNoOutlines"
  1859. Part.BottomSurface = "SmoothNoOutlines"
  1860. Part.FrontSurface = "SmoothNoOutlines"
  1861. Part.BackSurface = "SmoothNoOutlines"
  1862. Part.RightSurface = "SmoothNoOutlines"
  1863. Part.LeftSurface = "SmoothNoOutlines"
  1864. Part.BrickColor = BrickColor.new("Really black")
  1865. local Mesh = Instance.new("BlockMesh",Part)
  1866. Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
  1867. local PartWeld = Instance.new("Motor6D")
  1868. PartWeld.Part0 = Barrel
  1869. PartWeld.Part1 = Part
  1870. PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
  1871. PartWeld.Parent = Part
  1872.  
  1873. local Light = Instance.new("PointLight",Part)
  1874. Light.Color = BrickColor.new("Gold").Color
  1875. Light.Enabled = true
  1876. Light.Shadows = true
  1877. Light.Brightness = 0
  1878. Light.Range = 6
  1879.  
  1880. local Part = Instance.new("Part",Model)
  1881. Part.Material = "Neon"
  1882. Part.CanCollide = false
  1883. Part.Position = Vector3.new(0,100,0)
  1884. Part:BreakJoints()
  1885. Part.FormFactor = "Custom"
  1886. Part.Size = Vector3.new(0.2,0.2,0.2)
  1887. Part.TopSurface = "SmoothNoOutlines"
  1888. Part.BottomSurface = "SmoothNoOutlines"
  1889. Part.FrontSurface = "SmoothNoOutlines"
  1890. Part.BackSurface = "SmoothNoOutlines"
  1891. Part.RightSurface = "SmoothNoOutlines"
  1892. Part.LeftSurface = "SmoothNoOutlines"
  1893. Part.BrickColor = BrickColor.new("Bright yellow")
  1894. Part.Transparency = 0.25
  1895. local RecoilMesh = Instance.new("SpecialMesh",Part)
  1896. RecoilMesh.MeshType = "FileMesh"
  1897. RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
  1898. RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
  1899. RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
  1900. local PartWeld = Instance.new("Motor6D")
  1901. PartWeld.Part0 = RealBarrel
  1902. PartWeld.Part1 = Part
  1903. PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
  1904. PartWeld.Parent = Part
  1905.  
  1906. function ShootBullet(Target,barrel)
  1907. local barrel = barrel or Barrel
  1908. local Bullet = Instance.new("Part",Workspace)
  1909. Barrel.CanCollide = false
  1910. Bullet.FormFactor = "Custom"
  1911. Bullet.Size = Vector3.new(0.2,0.2,5)*Scale
  1912. Bullet.TopSurface = "Smooth"
  1913. Bullet.BottomSurface = "Smooth"
  1914. Bullet.Anchored = true
  1915. Bullet.CanCollide = false
  1916. 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)
  1917. Bullet.Transparency = 0.1
  1918. Bullet.BrickColor = BrickColor.new("Gold")
  1919. --[[local Mesh = Instance.new("SpecialMesh",Bullet)
  1920. Mesh.MeshType = "FileMesh"
  1921. Mesh.Scale = Vector3.new(0.5,0.5,0.2)
  1922. Mesh.MeshId = "http://www.roblox.com/asset/?id=2697549"
  1923. --Mesh.TextureId = "http://www.roblox.com/asset/?id=2697544"]]
  1924. local Mesh = Instance.new("BlockMesh",Bullet)
  1925. Mesh.Scale = Vector3.new(0.2,0.2,5)*Scale/Bullet.Size
  1926. IgnoreList[#IgnoreList+1] = Bullet
  1927. RenderStepped:wait()
  1928. for i = Speed,1000,Speed do -- Loop to do the bullet movement and stuff.
  1929. local ray,Hit,Pos,SurfaceNormal;
  1930. ray = Ray.new(Bullet.Position,((Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)).p-Bullet.Position).unit*Speed)
  1931. Hit,Pos,SurfaceNormal = Workspace:FindPartOnRayWithIgnoreList(ray,IgnoreList)
  1932. Bullet.CFrame = Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)
  1933. if Hit ~= nil then
  1934. 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"))
  1935. if Hum ~= nil then
  1936. Hum:TakeDamage((((Gangster and math.random(99999,99999) or math.random(99999,99999))*Scale)/100)*Hum.MaxHealth)
  1937. end
  1938. break
  1939. end
  1940. RenderStepped:wait()
  1941. end
  1942. Bullet:Destroy()
  1943. end
  1944.  
  1945. Mouse.Button1Down:connect(function()
  1946. if not Down and not DB then
  1947. Down = true
  1948. while Down do
  1949. if Humanoid.Health == 0 then break end
  1950. if not DB then
  1951. DB = true
  1952. local Sound = Instance.new("Sound",Barrel)
  1953. Sound.SoundId = "http://www.roblox.com/Asset/?id=573314737" -- 132373574
  1954. Sound.Volume = 5*Scale
  1955. Sound.Pitch = (math.random(70,110)/100)/((Scale < 0.25 and 0.25) or (Scale > 4 and 4) or Scale)
  1956. Sound:Play()
  1957. Spawn(function()
  1958. ShootBullet(Mouse.Hit.p,Barrel1)
  1959. end)
  1960. RecoilMesh.VertexColor = Vector3.new(1,math.random(160,245)/255,20/255)
  1961. PartWeld.C0 = PartWeld.C0 * CFrame.Angles(0,math.rad(math.random(-40,40)),0)
  1962. local Shell = Instance.new("Part",Workspace)
  1963. Shell.FormFactor = "Custom"
  1964. Shell.BrickColor = BrickColor.new("Bright yellow")
  1965. Shell.Size = Vector3.new(0.2,0.5,0.2)*Scale
  1966. Shell.CFrame = Barrel.CFrame*CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(-90),0,0)
  1967. Shell.Velocity = ((Barrel.CFrame*CFrame.new(5,0,math.random(-2,2))).p-Barrel.CFrame.p)*5*Scale
  1968. local Mesh = Instance.new("CylinderMesh",Shell)
  1969. Mesh.Scale = Vector3.new(0.2,0.5,0.2)*Scale/Shell.Size
  1970. Spawn(function()
  1971. wait(5)
  1972. Shell:Destroy()
  1973. end)
  1974. for i = 1,20,7.5 do
  1975. RotationOffset = RotationOffset*CFrame.Angles(math.rad(7.5),0,0)
  1976. Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,-0.15,0)*Scale)
  1977. Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,0.15)*Scale)
  1978. Light.Brightness = Light.Brightness+38
  1979. RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,0.375,0)*Scale)
  1980. RenderStepped:wait()
  1981. end
  1982. wait(0.02)
  1983. for i = 1,20,3.75 do
  1984. RotationOffset = RotationOffset*CFrame.Angles(math.rad(-3.75),0,0)
  1985. Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,0.075,0)*Scale)
  1986. Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,-0.075)*Scale)
  1987. Light.Brightness = Light.Brightness-19
  1988. RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,-0.1875,0)*Scale)
  1989. RenderStepped:wait()
  1990. end
  1991. wait()
  1992. DB = false
  1993. end
  1994. end
  1995. end
  1996. end)
  1997.  
  1998. Mouse.Button1Up:connect(function()
  1999. Down = false
  2000. end)
  2001.  
  2002. Mouse.KeyDown:connect(function(Key)
  2003. if Key:lower() == "g" and not DB then
  2004. DB = true
  2005. if Gangster == true then
  2006. for i = 1,70,5 do
  2007. RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(-5),0)
  2008. RenderStepped:wait()
  2009. end
  2010. Gangster = false
  2011. else
  2012. for i = 1,70,5 do
  2013. RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(5),0)
  2014. RenderStepped:wait()
  2015. end
  2016. Gangster = true
  2017. end
  2018. DB = false
  2019. end
  2020. end)
  2021.  
  2022. local Weld = Instance.new("Weld")
  2023. Weld.Part0 = Torso
  2024. Weld.Part1 = Character["Right Arm"]
  2025. Weld.Parent = Torso
  2026.  
  2027. local Weld2 = Instance.new("Weld")
  2028. Weld2.Part0 = Torso
  2029. Weld2.Part1 = Character.Head
  2030. Weld2.Parent = Torso
  2031.  
  2032. local RA = Character["Right Arm"]
  2033.  
  2034. game:GetService("RunService"):BindToRenderStep("Pistol",Enum.RenderPriority.Character.Value,function()
  2035. local Point = Torso.CFrame:vectorToObjectSpace(Mouse.Hit.p-Torso.CFrame.p)
  2036. if Point.Z > 0 then
  2037. if Point.X > 0 then
  2038. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
  2039. elseif Point.X < 0 then
  2040. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
  2041. end
  2042. end
  2043.  
  2044. local CFr = (Torso.CFrame*Part0Joint):toObjectSpace(CFrame.new((Torso.CFrame*Part0Joint).p,Mouse.Hit.p))--RayEnd))
  2045. Weld.C0 = Part0Joint * (CFr-CFr.p) * RotationOffset
  2046. Weld.C1 = Part1Joint
  2047. Weld.Part0 = Torso
  2048. Weld.Part1 = RA
  2049. local CFr = (Torso.CFrame*Part0JointHead):toObjectSpace(CFrame.new((Torso.CFrame*Part0JointHead).p,Mouse.Hit.p))--RayEnd))
  2050. Weld2.C0 = Part0JointHead * (CFr-CFr.p) * RotationOffsetHead
  2051. Weld2.C1 = Part1JointHead
  2052. Weld2.Part0 = Torso
  2053. Weld2.Part1 = Character.Head
  2054. local Last = Scale
  2055. 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
  2056. Speed = 20*Scale
  2057. if Scale ~= Last then
  2058. Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  2059. Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  2060. Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  2061. Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  2062. end
  2063. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement