Advertisement
NyonicBear

fuck off m8

Feb 20th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.20 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. char = plr.Character
  3. local mouse = plr:GetMouse()
  4. mode = 'damage'
  5. local human = char.Humanoid
  6. char.Animate:Destroy()
  7. running = false
  8. human.Running:connect(function(speed)
  9. if speed <= 0 then
  10. running = false
  11. else
  12. running = true
  13. end
  14. end)
  15. local function weldBetween(a, b)
  16. local weld = Instance.new("ManualWeld")
  17. weld.Part0 = a
  18. weld.Part1 = b
  19. weld.C0 = CFrame.new()
  20. weld.C1 = b.CFrame:inverse() * a.CFrame
  21. weld.Parent = a
  22. return weld;
  23. end
  24.  
  25. function takehats(char)
  26. for i,v in pairs(char:GetChildren()) do
  27. if v.ClassName == "Hat" then
  28. v.Parent = game.Players.LocalPlayer.Character
  29. end
  30. end
  31. end
  32.  
  33.  
  34. char.Torso.Transparency = 1
  35. --------------------------ARM 1-----------------------------------------
  36. local rawc = char["Right Arm"]:clone()
  37. char["Right Arm"]:Destroy()
  38. rawc.Parent = char
  39. local RAW = weldBetween(char.Torso, char["Right Arm"])
  40. RAW.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  41. --------------------------LEG 1-----------------------------------------
  42. local rlwc = char["Right Leg"]:clone()
  43. char["Right Leg"]:Destroy()
  44. rlwc.Parent = char
  45. local RLW = weldBetween(char.Torso, char["Right Leg"])
  46. RLW.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  47. --------------------------LEG 2-----------------------------------------
  48. local llwc = char["Left Leg"]:clone()
  49. char["Left Leg"]:Destroy()
  50. llwc.Parent = char
  51. local LLW = weldBetween(char.Torso, char["Left Leg"])
  52. LLW.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  53.  
  54. ----------------------------ARM 2---------------------------------------
  55.  
  56. local lawc = char["Left Arm"]:clone()
  57. char["Left Arm"]:Destroy()
  58. lawc.Parent = char
  59. local LAW = weldBetween(char.Torso, char["Left Arm"])
  60. LAW.C1 = CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  61.  
  62. --==/Oni0n's Snap w/ Derp Walk/==--
  63.  
  64. --[[
  65. This is known as a snap script, mainly because it snaps the victim's neck and lets you grab them. I know, it's badass.
  66. I based it off wulfbug9's original snap and made mine 500x better [no offence wulfy <3].
  67.  
  68. --=//=--
  69. Keys are as follow:
  70. #1: q = "KILL"
  71. #2: e = "Release as ragdoll to die slowly"
  72. #3: r = "Release unharmed"
  73.  
  74. --=//=--
  75.  
  76. P.S.:
  77. Steal credit for this and I will kick your ass.
  78. My foot will go so far up your anal passage that it will come out of your mouth then re-enter through your anal passage a second time.
  79. My guess is, that it'll hurt like hell
  80. Yes, my leg is long enough to do that. Don't question my legs. (Not really, just don't take credit)
  81.  
  82. HOWEVER; if you want to edit the code, feel free to do so.
  83.  
  84. (YOU MUST BE AT LEAST A STUD AWAY FROM THE VICTIM TO SNAP HIM/HER. CLICK ON THE VICTIM AND YOU WILL HAVE HIM IN YOUR GRIP.
  85. TO USE ONE OF THE KEYS, PRESS WHILE THE VICTIM IS SNAPPED)
  86.  
  87. --=//=--
  88.  
  89. Copyright© Root Corporation and Others 2016, 2050.
  90. All Rights Reserved.
  91.  
  92. --=//=--
  93.  
  94. ]]--
  95.  
  96. Player, Char, Mouse = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse()
  97. Humanoid = Char:findFirstChild("Humanoid")
  98. Torso = Char:findFirstChild("Torso")
  99. Head = Char:findFirstChild("Head")
  100. ra = Char:findFirstChild("Right Arm")
  101. la = Char:findFirstChild("Left Arm")
  102. rl = Char:findFirstChild("Right Leg")
  103. ll = Char:findFirstChild("Left Leg")
  104. rs = Torso:findFirstChild("Right Shoulder")
  105. ls = Torso:findFirstChild("Left Shoulder")
  106. rh = Torso:findFirstChild("Right Hip")
  107. lh = Torso:findFirstChild("Left Hip")
  108. neck = Torso:findFirstChild("Neck")
  109. rp = Char:findFirstChild("HumanoidRootPart")
  110. rp.Archivable = true
  111. rj = rp:findFirstChild("RootJoint")
  112. rj.Archivable = true
  113. Humanoid:ClearAllChildren()
  114. rootpart = Char:findFirstChild("HumanoidRootPart")
  115. Camera = workspace.CurrentCamera
  116. CF = CFrame.new
  117. components = CF().components
  118. local Targetz
  119. local Targetz1
  120. local hat
  121. grab = false
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. --==/ V DO NOT TOUCH THIS V /==--
  137.  
  138. function Lerp(a, b, i) --< DO NOT TOUCH THIS >--
  139. return a:lerp(b, i) --< DO NOT TOUCH THIS : GENERALIZED FUNCTIONS >--
  140. end --< DO NOT TOUCH THIS >--
  141.  
  142. --==/ ^ DO NOT TOUCH THIS ^ /==--
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158. --==/BASE/DEFAULT WELDS/==--
  159.  
  160. --=/ARM REWELDS/=--
  161. --/Right Arm/--
  162. rm = Instance.new("Motor6D", Torso)
  163. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  164. rm.C1 = CFrame.new(0, 0.5, 0)
  165. rm.Part0 = Torso
  166. rm.Part1 = ra
  167.  
  168. --/Left Arm/--
  169. lm = Instance.new("Motor6D", Torso)
  170. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  171. lm.C1 = CFrame.new(0, 0.5, 0)
  172. lm.Part0 = Torso
  173. lm.Part1 = la
  174.  
  175. --=/LEG REWELDS/=--
  176. --/Right Leg/--
  177. rlegm = Instance.new("Motor6D", Torso)
  178. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  179. rlegm.C1 = CFrame.new(0, 1, 0)
  180. rlegm.Part0 = Torso
  181. rlegm.Part1 = rl
  182.  
  183. --/Left Leg/--
  184. llegm = Instance.new("Motor6D", Torso)
  185. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  186. llegm.C1 = CFrame.new(0, 1, 0)
  187. llegm.Part0 = Torso
  188. llegm.Part1 = ll
  189.  
  190. --=/Neck Motor6D/=--
  191. neck.C0 = CFrame.new(0,1,0)
  192. neck.C1 = CFrame.new(0,-0.5,0)
  193.  
  194.  
  195.  
  196.  
  197.  
  198. --==/BASE VARIABLES & DEBOUNCES/==--
  199. --=/TRIGONOMETRY/=--
  200. sine = 1
  201. angle = 0
  202. axis = 0
  203. anglespeed = 1
  204. axisspeed = anglespeed
  205.  
  206. --=/DEBOUNCES/=--
  207. anim = false
  208. walking = false
  209.  
  210.  
  211.  
  212.  
  213. --==/SNAP FUNCTION/==--
  214. function snap()
  215. if(Mouse.Target and Mouse.Target.Parent and Mouse.Target.Parent:findFirstChild("Humanoid") and Mouse.Target.Parent:findFirstChild("Humanoid").Parent and (Mouse.Target.Position - Torso.Position).magnitude < 5) or hat~=nil then
  216. anim = true
  217. for i = 1, 10 do
  218. wait()
  219. rm.C0 = Lerp(rm.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(100), 0, 0), 0.35)
  220. end
  221. anim = false
  222. if hat ~= nil then
  223. Targetz = hat.Character
  224. end
  225. TargetzHum = Targetz:findFirstChild("Humanoid")
  226. TargetzHum.PlatformStand = true
  227. torso2 = Targetz:findFirstChild("Torso")
  228. head2 = Targetz:findFirstChild("Head")
  229. ra2 = Targetz:findFirstChild("Right Arm")
  230. la2 = Targetz:findFirstChild("Left Arm")
  231. rl2 = Targetz:findFirstChild("Right Leg")
  232. ll2 = Targetz:findFirstChild("Left Leg")
  233. local rootpart2
  234. if Targetz:findFirstChild("HumanoidRootPart") then
  235. rootpart2 = Targetz:findFirstChild("HumanoidRootPart")
  236. rootpart2:Destroy()
  237. end
  238. for i,v in pairs(torso2:children()) do
  239. if v:IsA("Motor6D") and v.Name ~= "Neck" then
  240. v:destroy()
  241. end
  242. end
  243.  
  244. local rm = Instance.new("Rotate", torso2)
  245. rm.C0 = CFrame.new(1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  246. rm.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  247. rm.Part0 = torso2
  248. rm.Part1 = ra2
  249. rm.Name = "Right Shoulder"
  250.  
  251. local lm = Instance.new("Rotate", torso2)
  252. lm.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  253. lm.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  254. lm.Part0 = torso2
  255. lm.Part1 = la2
  256. lm.Name = "Left Shoulder"
  257.  
  258.  
  259. local rlegm = Instance.new("Rotate", torso2)
  260. rlegm.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(0, math.pi/2, 0)
  261. rlegm.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, math.pi/2, 0)
  262. rlegm.Part0 = torso2
  263. rlegm.Part1 = rl2
  264.  
  265. local llegm = Instance.new("Rotate", torso2)
  266. llegm.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, math.pi/2, 0)
  267. llegm.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, math.pi/2, 0)
  268. llegm.Part0 = torso2
  269. llegm.Part1 = ll2
  270.  
  271. name = Targetz.Name
  272. NAME = string.upper(name)
  273. print("HAH "..NAME..", GIT SNAPPED FU\5CKER")
  274. Grab = Instance.new("Motor6D", ra)
  275. Grab.Part0 = ra
  276. Grab.Part1 = torso2
  277. Grab.C0 = CFrame.new(0, -0.8, 0.65) * CFrame.Angles(math.rad(250), math.rad(180), 0)
  278. hat=nil
  279. end
  280. end
  281.  
  282. function letgoasragdoll()
  283. anim = true
  284. grab = false
  285. for i = 1, 10 do
  286. wait()
  287. rm.C0 = Lerp(rm.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(110), 0, 0), 0.35)
  288. end
  289. anim = false
  290. grab = false
  291. wait()
  292. Grab:Destroy()
  293. Targetz:findFirstChild("Humanoid"):ChangeState("Physics")
  294. end
  295.  
  296. function letgounharmed()
  297. anim = true
  298. grab = false
  299. for i = 1, 10 do
  300. wait()
  301. rm.C0 = Lerp(rm.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(110), 0, 0), 0.35)
  302. end
  303. anim = false
  304. grab = false
  305. wait()
  306. Targetz:findFirstChild("Humanoid"):ChangeState("Physics")
  307. Grab:Destroy()
  308. end
  309.  
  310.  
  311.  
  312.  
  313. --==/MOUSE EVENTS/==--
  314. --=/BUTTON1DOWN/=--
  315. Mouse.Button1Down:connect(function(hit)
  316. if grab == false then
  317. if Mouse.Target.Parent:findFirstChild("Humanoid") then
  318. grab=true
  319. Targetz1 = game.Players:GetPlayerFromCharacter(Mouse.Target.Parent:findFirstChild("Humanoid").Parent)
  320. Targetz = Targetz1.Character
  321. elseif Mouse.Target.Parent.ClassName == ("Hat") then
  322. grab = true
  323. hat = game.Players:GetPlayerFromCharacter(Mouse.Target.Parent.Parent:findFirstChild("Head").Parent)
  324. end
  325. if Targetz ~= nil or hat ~= nil then
  326. snap()
  327. end
  328. end
  329. end)
  330.  
  331. --=/KEYDOWN/=--
  332. Mouse.KeyDown:connect(function(key)
  333. if key == "q" then
  334. if Targetz then
  335. Targetz:BreakJoints()
  336. print("killed target HEUHEUEHUEH")
  337. end
  338. elseif key == "e" then
  339. if Targetz and Grab then
  340. letgoasragdoll()
  341. print("let go poisoned")
  342. end
  343. elseif key == "r" then
  344. if Targetz and Grab then
  345. letgounharmed()
  346. print("let go unragdolled and unharmed")
  347. end
  348. end
  349. end)
  350.  
  351.  
  352.  
  353. --==/BASIC MOVEMENT & ATTACKS/==--
  354. game:GetService("RunService").Stepped:connect(function()
  355. angle = (angle % 100) + anglespeed/10
  356. axis = (axis % 100) + axisspeed/10
  357. speed = Vector3.new(rootpart.Velocity.X, 0, rootpart.Velocity.Z).magnitude
  358.  
  359. --=/IDLE/=--
  360. if speed < 2 then
  361.  
  362. animpose = "Idle"
  363.  
  364. --=/WALKING/=--
  365. elseif speed > 2 then
  366.  
  367. animpose = "Walking"
  368. walking = true
  369.  
  370. end
  371. --==/ANIMATION FUNCTIONS/==--
  372. if animpose == "Idle" and anim == false then --> idle
  373.  
  374. anglespeed = 0.1
  375. axisspeed = 0.1
  376. rm.C0 = Lerp(rm.C0, CFrame.new(1.4, 0.6, 0) * CFrame.Angles(math.rad(10), 0, math.rad(10)), 0.35)
  377. lm.C0 = Lerp(lm.C0, CFrame.new(-1.4, 0.6, 0) * CFrame.Angles(-math.rad(10), 0, -math.rad(10)), 0.35)
  378. rlegm.C0 = Lerp(rlegm.C0, CFrame.new(0.5, -0.95, 0) * CFrame.Angles(-math.rad(10), 0, math.rad(5)), 0.35)
  379. llegm.C0 = Lerp(llegm.C0, CFrame.new(-0.5, -0.95, 0) * CFrame.Angles(math.rad(10), 0, -math.rad(5)), 0.35)
  380. neck.C0 = Lerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0), 0.35)
  381. rj.C0 = Lerp(rj.C0, CFrame.new(0, -0.25, 0) * CFrame.Angles(math.rad(-90), 0, math.rad(180)), 0.35)
  382.  
  383. elseif animpose == "Walking" and anim == false and walking == true then --> walk
  384.  
  385. anglespeed = 2.5
  386. rm.C0 = Lerp(rm.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.sin(angle) * 1.5, 0, -math.sin(angle) * 0.7), 0.35)
  387. lm.C0 = Lerp(lm.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.sin(angle) * 1.5, 0, -math.sin(angle) * 0.7), 0.35)
  388. rlegm.C0 = Lerp(rlegm.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.asin(-math.sin(angle)) * 1.25, 0, math.rad(2.5)), 0.35)
  389. llegm.C0 = Lerp(llegm.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.sin(angle) * 1.25, 0, -math.rad(2.5)), 0.35)
  390. neck.C0 = Lerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(0, math.sin(angle) * -0.2, 0), 0.35)
  391. rj.C0 = Lerp(rj.C0, CFrame.new(0, -0.25 + math.abs(math.sin(angle) * 0.6), 0) * CFrame.Angles(math.rad(-80), Head.RotVelocity.Y/-50, math.rad(180) + math.sin(angle) * 0.1, 0), 0.35)
  392. Humanoid.WalkSpeed = 16
  393. end
  394. end)
  395.  
  396. Plrs = game:GetService("Players")
  397.  
  398.  
  399.  
  400. GuitarColour = "Lime green"
  401.  
  402.  
  403.  
  404. me = Plrs.NyonicBear
  405.  
  406. char = me.Character
  407.  
  408. Modelname = "xGuitar"
  409.  
  410. Toolname = "Guitar"
  411.  
  412. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  413.  
  414. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  415.  
  416. selected = false
  417.  
  418. Hurt = false
  419.  
  420. Deb = true
  421.  
  422. Able = true
  423.  
  424. Prop = {Damage = 30}
  425.  
  426. volume = 0.75
  427.  
  428.  
  429.  
  430. ToolIcon = ""
  431.  
  432. MouseIc = ""
  433.  
  434. MouseDo = ""
  435.  
  436.  
  437.  
  438. Add = {
  439.  
  440. Sphere = function(P)
  441.  
  442. local m = Instance.new("SpecialMesh",P)
  443.  
  444. m.MeshType = "Sphere"
  445.  
  446. return m
  447.  
  448. end,
  449.  
  450. BF = function(P)
  451.  
  452. local bf = Instance.new("BodyForce",P)
  453.  
  454. bf.force = Vector3.new(0, P:GetMass()*187, 0)
  455.  
  456. return bf
  457.  
  458. end,
  459.  
  460. BP = function(P)
  461.  
  462. local bp = Instance.new("BodyPosition",P)
  463.  
  464. bp.maxForce = Vector3.new(math.huge, 0, math.huge)
  465.  
  466. bp.P = 14000
  467.  
  468. return bp
  469.  
  470. end,
  471.  
  472. BG = function(P)
  473.  
  474. local bg = Instance.new("BodyGyro",P)
  475.  
  476. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  477.  
  478. bg.P = 14000
  479.  
  480. return bg
  481.  
  482. end,
  483.  
  484. Mesh = function(P, ID, x, y, z)
  485.  
  486. local m = Instance.new("SpecialMesh")
  487.  
  488. m.MeshId = ID
  489.  
  490. m.Scale = Vector3.new(x, y, z)
  491.  
  492. m.Parent = P
  493.  
  494. return m
  495.  
  496. end,
  497.  
  498. Sound = function(P, ID, vol, pitch)
  499.  
  500. local s = Instance.new("Sound")
  501.  
  502. s.SoundId = ID
  503.  
  504. s.Volume = vol
  505.  
  506. s.Pitch = pitch
  507.  
  508. s.Parent = P
  509.  
  510. return s
  511.  
  512. end
  513.  
  514. }
  515.  
  516.  
  517.  
  518. function find(tab, arg)
  519.  
  520. local ah = nil
  521.  
  522. for i,v in pairs(tab) do
  523.  
  524. if v == arg then
  525.  
  526. ah = v
  527.  
  528. end
  529.  
  530. end
  531.  
  532. return ah
  533.  
  534. end
  535.  
  536.  
  537.  
  538. function getAllParts(from)
  539.  
  540. local t = {}
  541.  
  542. function getParts(where)
  543.  
  544. for i, v in pairs(where:children()) do
  545.  
  546. if v:IsA("BasePart") then
  547.  
  548. if v.Parent ~= char and v.Parent.Parent ~= char then
  549.  
  550. table.insert(t, v)
  551.  
  552. end
  553.  
  554. end
  555.  
  556. getParts(v)
  557.  
  558. end
  559.  
  560. end
  561.  
  562. getParts(workspace)
  563.  
  564. return t
  565.  
  566. end
  567.  
  568.  
  569.  
  570. function RayCast(pos1, pos2, maxDist, forward)
  571.  
  572. local list = getAllParts(workspace)
  573.  
  574. local pos0 = pos1
  575.  
  576. for dist = 1, maxDist, forward do
  577.  
  578. pos0 = (CFrame.new(pos1, pos2) * CFrame.new(0, 0, -dist)).p
  579.  
  580. for _, v in pairs(list) do
  581.  
  582. local pos3 = v.CFrame:pointToObjectSpace(pos0)
  583.  
  584. local s = v.Size
  585.  
  586. if pos3.x > -(s.x/2) and pos3.x < (s.x/2) and pos3.y > -(s.y/2) and pos3.y < (s.y/2) and pos3.z > -(s.z/2) and pos3.x < (s.z/2) and v.CanCollide == true then
  587.  
  588. return pos0, v
  589.  
  590. end
  591.  
  592. end
  593.  
  594. end
  595.  
  596. return pos0, nil
  597.  
  598. end
  599.  
  600.  
  601.  
  602. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  603.  
  604. local p = Instance.new("Part")
  605.  
  606. p.formFactor = "Custom"
  607.  
  608. p.Anchored = Anchor
  609.  
  610. p.CanCollide = Collide
  611.  
  612. p.Transparency = Tran
  613.  
  614. p.Reflectance = Ref
  615.  
  616. p.BrickColor = BrickColor.new(Color)
  617.  
  618. for _, Surf in pairs(Surfaces) do
  619.  
  620. p[Surf] = "Smooth"
  621.  
  622. end
  623.  
  624. p.Size = Vector3.new(X, Y, Z)
  625.  
  626. if Break then
  627.  
  628. p:BreakJoints()
  629.  
  630. else p:MakeJoints() end
  631.  
  632. p.Parent = Parent
  633.  
  634. return p
  635.  
  636. end
  637.  
  638.  
  639.  
  640. function Weld(p0, p1, x, y, z, a, b, c)
  641.  
  642. local w = Instance.new("Weld")
  643.  
  644. w.Parent = p0
  645.  
  646. w.Part0 = p0
  647.  
  648. w.Part1 = p1
  649.  
  650. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
  651.  
  652. return w
  653.  
  654. end
  655.  
  656.  
  657.  
  658. function ComputePos(pos1, pos2)
  659.  
  660. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  661.  
  662. return CFrame.new(pos1, pos3)
  663.  
  664. end
  665.  
  666.  
  667.  
  668. function getHumanoid(c)
  669.  
  670. local h = nil
  671.  
  672. for i,v in pairs(c:children()) do
  673.  
  674. if v:IsA("Humanoid") and c ~= char then
  675.  
  676. if v.Health > 0 then
  677.  
  678. h = v
  679.  
  680. end
  681.  
  682. end
  683.  
  684. end
  685.  
  686. return h
  687.  
  688. end
  689.  
  690.  
  691.  
  692. for i,v in pairs(char:children()) do
  693.  
  694. if v.Name == Modelname then
  695.  
  696. v:remove()
  697.  
  698. end
  699.  
  700. end
  701.  
  702.  
  703.  
  704. torso = char.Torso
  705.  
  706. neck = torso.Neck
  707.  
  708. hum = char.Humanoid
  709.  
  710. Rarm = char["Right Arm"]
  711.  
  712. Larm = char["Left Arm"]
  713.  
  714. Rleg = char["Right Leg"]
  715.  
  716. Lleg = char["Left Leg"]
  717.  
  718.  
  719.  
  720. hc = Instance.new("Humanoid")
  721.  
  722. hc.Health = 0
  723.  
  724. hc.MaxHealth = 0
  725.  
  726.  
  727.  
  728. slash = Add.Sound(nil, "rbxasset://sounds//swordslash.wav", 0.9, 0.8)
  729.  
  730. hitsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2801263", 0.7, 0.6)
  731.  
  732. charge = Add.Sound(nil, "http://www.roblox.com/asset/?id=2101137", 0.8, 0.65)
  733.  
  734. boom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2691586", 0.8, 0.3)
  735.  
  736. smashsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2692806", 0.8, 0.35)
  737.  
  738. boomboom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2760979", 1, 0.18)
  739.  
  740. GSound = Add.Sound(nil, "http://www.roblox.com/asset/?id=1089403", 0.75, 1)
  741.  
  742.  
  743.  
  744. function PlaySound(sound, pitch, vol)
  745.  
  746. local s = sound:clone()
  747.  
  748. if pitch ~= nil then
  749.  
  750. if tonumber(pitch) then
  751.  
  752. s.Pitch = tonumber(pitch)
  753.  
  754. end
  755.  
  756. end
  757.  
  758. if vol ~= nil then
  759.  
  760. if tonumber(vol) then
  761.  
  762. s.Volume = tonumber(vol)
  763.  
  764. end
  765.  
  766. end
  767.  
  768. s.Parent = torso
  769.  
  770. s.PlayOnRemove = true
  771.  
  772. coroutine.resume(coroutine.create(function()
  773.  
  774. wait()
  775.  
  776. s:remove()
  777.  
  778. end))
  779.  
  780. end
  781.  
  782.  
  783.  
  784. Mo = Instance.new("Model")
  785.  
  786. Mo.Name = Modelname
  787.  
  788.  
  789.  
  790. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  791.  
  792. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  793.  
  794. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  795.  
  796. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  797.  
  798.  
  799.  
  800. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  801.  
  802. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  803.  
  804. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  805.  
  806. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  807.  
  808.  
  809.  
  810. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  811.  
  812. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  813.  
  814. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  815.  
  816. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  817.  
  818.  
  819.  
  820. HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  821.  
  822. HBW = Weld(Rarm, HB, 0, 1, 0, 0, 0, 0)
  823.  
  824. HW = Weld(HB, nil, 0, -1.3, 0, math.pi/2, 0, 0)
  825.  
  826.  
  827.  
  828. TH = Weld(torso, nil, -0.8, 0.4, -0.4, 0, math.pi/2, math.rad(80))
  829.  
  830. THMain = TH.C1
  831.  
  832.  
  833.  
  834. RAWStand, LAWStand, RLWStand, LLWStand, HWStand = nil
  835.  
  836. NeckStand = necko * CFrame.Angles(math.rad(17), 0, math.rad(35))
  837.  
  838.  
  839.  
  840. handle = Part(Mo, false, false, 0, 0, GuitarColour, 0.6, 1.5, 1.5, true)
  841.  
  842. handle.Name = "Handle"
  843.  
  844.  
  845.  
  846. handletip1 = Part(Mo, false, false, 0, 0.2, "Really black", 0.5, 0.5, 0.5, true)
  847.  
  848. local w1 = Weld(handle, handletip1, 0, 1.12, 0, 0, 0, 0)
  849.  
  850. w1.C0 = CFrame.Angles(math.rad(-45), 0, 0)
  851.  
  852. Add.Mesh(handletip1, "http://www.roblox.com/asset/?id=9756362", 0.65, 0.45, 0.65)
  853.  
  854.  
  855.  
  856. handletip2 = Part(Mo, false, false, 0, 0.2, "Dark grey", 0.5, 0.5, 0.5, true)
  857.  
  858. Weld(handletip1, handletip2, 0, 0, 0, 0, math.rad(45), 0)
  859.  
  860. Add.Mesh(handletip2, "http://www.roblox.com/asset/?id=9756362", 0.65, 0.35, 0.65)
  861.  
  862.  
  863.  
  864. for i = 45, 360+45-90, 90 do
  865.  
  866. local p = Part(Mo, false, false, 0, 0, GuitarColour, 0.7, 0.9, 0.6, true)
  867.  
  868. local w = Weld(handle, p, 0, 0, 0, 0, 0, 0)
  869.  
  870. w.C0 = CFrame.Angles(0, math.pi/2, math.rad(i))
  871.  
  872. w.C1 = CFrame.new(-1, 0, 0) * CFrame.Angles(0, 0, math.pi/4)
  873.  
  874. end
  875.  
  876.  
  877.  
  878. for i = 0, 40, 40 do
  879.  
  880. local p = Part(Mo, false, false, 0, 0, "Really black", 0.2, 0.2, 0.2, true)
  881.  
  882. Add.Mesh(p, "http://www.roblox.com/asset/?id=1033714", 0.14, 0.12, 0.14)
  883.  
  884. local w = Weld(handle, p, 0, -0.35, -0.7, 0, 0, math.pi/2)
  885.  
  886. w.C0 = CFrame.Angles(math.rad(i+130), 0, 0)
  887.  
  888. local p2 = Part(Mo, false, false, 0, 0, "Black", 0.2, 0.2, 0.2, true)
  889.  
  890. Instance.new("CylinderMesh",p2).Scale = Vector3.new(1, 0.7, 1)
  891.  
  892. Weld(p, p2, 0, -0.04, 0, 0, 0, 0)
  893.  
  894. end
  895.  
  896.  
  897.  
  898. fretboard = Part(Mo, false, false, 0, 0, "Black", 0.45, 2.6, 0.6, true)
  899.  
  900. Weld(handle, fretboard, -0.1, -1.95, 0, math.pi/4, 0, 0)
  901.  
  902.  
  903.  
  904. for i = 0, 2.48, 2.48/10 do
  905.  
  906. local asd = (1*i)
  907.  
  908. local p = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.55, 0.2, true)
  909.  
  910. Instance.new("CylinderMesh",p).Scale = Vector3.new(0.3, 1, 0.3)
  911.  
  912. Weld(fretboard, p, -0.21, 0, -1.1+asd, math.pi/2, 0, 0)
  913.  
  914. end
  915.  
  916.  
  917.  
  918. Strings = {}
  919.  
  920. for i = -0.24, 0.24, 0.48/6 do
  921.  
  922. local p = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 3.7, 0.2, true)
  923.  
  924. Instance.new("CylinderMesh",p).Scale = Vector3.new(0.06, 1, 0.06)
  925.  
  926. local w = Weld(fretboard, p, -0.25, 0.75, i+0.04, 0, 0, 0)
  927.  
  928. table.insert(Strings, {p, w})
  929.  
  930. end
  931.  
  932.  
  933.  
  934. for i = -20, 20, 20 do
  935.  
  936. local asd = (20+i)/60
  937.  
  938. local p = Part(Mo, false, false, 0, 0, "White", 0.2, 0.3, 0.6, true)
  939.  
  940. Instance.new("BlockMesh",p).Scale = Vector3.new(1, 0.5, 1)
  941.  
  942. local w = Weld(fretboard, p, 0, 0, 0, 0, 0, 0)
  943.  
  944. w.C0 = CFrame.new(0.11, -1.5-asd, 0)
  945.  
  946. w.C1 = CFrame.Angles(math.rad(i), 0, 0)
  947.  
  948. for x = -0.18, 0.18, 0.18 do
  949.  
  950. local p2 = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.2, 0.2, true)
  951.  
  952. Instance.new("CylinderMesh",p2).Scale = Vector3.new(0.5, 0.3, 0.5)
  953.  
  954. Weld(p, p2, 0, -0.08, x, 0, 0, math.pi/2)
  955.  
  956. end
  957.  
  958. end
  959.  
  960.  
  961.  
  962. stringattach = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.2, 0.8, true)
  963.  
  964. Instance.new("BlockMesh",stringattach)
  965.  
  966. Weld(fretboard, stringattach, -0.13, 2.55, 0, 0, 0, 0)
  967.  
  968.  
  969.  
  970. vibra = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.32, 0.2, true)
  971.  
  972. Instance.new("SpecialMesh",vibra).Scale = Vector3.new(0.35, 1, 0.35)
  973.  
  974. VW = Weld(stringattach, vibra, 0, -0.15, 0, 0, 0, 0)
  975.  
  976. VW.C0 = CFrame.new(0, 0, -0.36) * CFrame.Angles(0, 0, math.rad(-75))
  977.  
  978.  
  979.  
  980. vibra2 = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.62, 0.2, true)
  981.  
  982. Instance.new("SpecialMesh",vibra2).Scale = Vector3.new(0.35, 1, 0.35)
  983.  
  984. vwz = Weld(vibra, vibra2, 0, -0.29, 0, 0, 0, 0)
  985.  
  986. vwz.C0 = CFrame.new(0, 0.15, 0) * CFrame.Angles(0, 0, math.rad(70))
  987.  
  988.  
  989.  
  990. vibra3 = Part(Mo, false, false, 0, 0, GuitarColour, 0.2, 0.3, 0.2, true)
  991.  
  992. Add.Sphere(vibra3).Scale = Vector3.new(0.55, 1, 0.55)
  993.  
  994. Weld(vibra2, vibra3, 0, -0.25, 0, 0, 0, 0)
  995.  
  996.  
  997.  
  998. stringat2 = Part(Mo, false, false, 0, 0, "Dark grey", 0.2, 0.2, 0.7, true)
  999.  
  1000. Instance.new("BlockMesh",stringat2).Scale = Vector3.new(1, 0.3, 1)
  1001.  
  1002. Weld(stringattach, stringat2, -0.02, 0, 0, 0, 0, 0)
  1003.  
  1004.  
  1005.  
  1006. for i = -0.2, 0.21, 0.4/5 do
  1007.  
  1008. local p = Part(Mo, false, false, 0, 0, "Mid gray", 0.2, 0.2, 0.2, true)
  1009.  
  1010. Instance.new("BlockMesh",p).Scale = Vector3.new(1, 0.8, 0.2)
  1011.  
  1012. Weld(stringat2, p, -0.01, 0, i, 0, 0, 0)
  1013.  
  1014. end
  1015.  
  1016.  
  1017.  
  1018. stringattach2 = Part(Mo, false, false, 0, 0, GuitarColour, 0.45, 1.2, 0.62, true)
  1019.  
  1020. local wdz = Weld(fretboard, stringattach2, 0, 0, 0, 0, 0, math.rad(8))
  1021.  
  1022. wdz.C0 = CFrame.new(0.1, 1.7, 0)
  1023.  
  1024.  
  1025.  
  1026. for i = 0, 180, 180 do
  1027.  
  1028. local p = Part(Mo, false, false, 0, 0, GuitarColour, 0.45, 1.2, 0.62, true)
  1029.  
  1030. Instance.new("SpecialMesh",p).MeshType = "Wedge"
  1031.  
  1032. local w = Weld(stringattach2, p, 0, 0, -0.21, math.rad(20), 0, math.pi)
  1033.  
  1034. w.C0 = CFrame.new(0, 0.4, 0) * CFrame.Angles(0, math.rad(i), 0)
  1035.  
  1036. for x = -0.4, 0.2, 0.3 do
  1037.  
  1038. local asd = -0.15 + (i/600)
  1039.  
  1040. local p2 = Part(Mo, false, false, 0, 0, "Dark grey", 0.2, 0.2, 0.2, true)
  1041.  
  1042. local w2 = Weld(p, p2, 0, 0, 0, 0, 0, math.pi/2)
  1043.  
  1044. w2.C0 = CFrame.new(asd, x, 0.15)
  1045.  
  1046. Instance.new("CylinderMesh",p2)
  1047.  
  1048. local p3 = Part(Mo, false, false, 0, 0, "Medium grey", 0.2, 0.3, 0.2, true)
  1049.  
  1050. Instance.new("CylinderMesh",p3).Scale = Vector3.new(0.8, 1, 0.8)
  1051.  
  1052. Weld(p2, p3, 0, 0, 0, 0, 0, 0)
  1053.  
  1054. end
  1055.  
  1056. end
  1057.  
  1058.  
  1059.  
  1060. for i = -0.6, 0.61, 1.2 do
  1061.  
  1062. local p = Part(Mo, false, false, 0, 0, "Really black", 0.5, 2.8, 0.2, true)
  1063.  
  1064. Weld(torso, p, 0, 0, i, 0, 0, math.rad(-40))
  1065.  
  1066. local p2 = Part(Mo, false, false, 0, 0, "Really black", 0.5, 0.2, 1.1, true)
  1067.  
  1068. Weld(torso, p2, -i*1.4, i*1.75, 0, 0, 0, 0)
  1069.  
  1070.  
  1071.  
  1072. end
  1073.  
  1074. Mo.Parent = char
  1075.  
  1076. TH.Part1 = handle
  1077.  
  1078.  
  1079.  
  1080. if script.Parent.className ~= "HopperBin" then
  1081.  
  1082. h = Instance.new("HopperBin",me.Backpack)
  1083.  
  1084. h.Name = Toolname
  1085.  
  1086. h.TextureId = ToolIcon
  1087.  
  1088. script.Parent = h
  1089.  
  1090. end
  1091.  
  1092.  
  1093.  
  1094. bin = script.Parent
  1095.  
  1096.  
  1097.  
  1098. function detach(bool)
  1099.  
  1100. LLW.C0 = CFrame.new(0, 0, 0)
  1101.  
  1102. RLW.C0 = CFrame.new(0, 0, 0)
  1103.  
  1104. LAW.C0 = CFrame.new(0,0,0)
  1105.  
  1106. RAW.C0 = CFrame.new(0, 0, 0)
  1107.  
  1108. if bool then
  1109.  
  1110. LLW.Part1 = nil
  1111.  
  1112. RLW.Part1 = nil
  1113.  
  1114. RAW.Part1 = nil
  1115.  
  1116. LAW.Part1 = nil
  1117.  
  1118. end
  1119.  
  1120. end
  1121.  
  1122.  
  1123.  
  1124. function attach()
  1125.  
  1126. RAW.Part1 = Rarm
  1127.  
  1128. LAW.Part1 = Larm
  1129.  
  1130. RLW.Part1 = Rleg
  1131.  
  1132. LLW.Part1 = Lleg
  1133.  
  1134. end
  1135.  
  1136.  
  1137.  
  1138. function normal()
  1139.  
  1140. neck.C0 = NeckStand
  1141.  
  1142. RAW.C0 = RAWStand
  1143.  
  1144. LAW.C0 = LAWStand
  1145.  
  1146. RLW.C0 = RLWStand
  1147.  
  1148. LLW.C0 = LLWStand
  1149.  
  1150. RAW.C1 = CFrame.new(0, 0.5, 0)
  1151.  
  1152. LAW.C1 = CFrame.new(0, 0.5, 0)
  1153.  
  1154. RLW.C1 = CFrame.new(0, 0.8, 0)
  1155.  
  1156. LLW.C1 = CFrame.new(0, 0.8, 0)
  1157.  
  1158. HW.C0 = HWStand
  1159.  
  1160. end
  1161.  
  1162.  
  1163.  
  1164. function selectanim()
  1165.  
  1166. RAW.Part1 = Rarm
  1167.  
  1168. for i = 0.09, 1, 0.09 do
  1169.  
  1170. TH.C0 = CFrame.Angles(0, math.rad(90*i), 0)
  1171.  
  1172. TH.C1 = THMain * CFrame.Angles(0, 0, math.rad(-30*i)) * CFrame.new(0, 0.3*i, -0.1*i)
  1173.  
  1174. RAW.C0 = CFrame.Angles(math.rad(110*i), 0, math.rad(10*i)) * CFrame.new(0, 0, -0.3*i)
  1175.  
  1176. neck.C0 = necko * CFrame.Angles(math.rad(5*i), 0, math.rad(-35*i))
  1177.  
  1178. wait()
  1179.  
  1180. end
  1181.  
  1182. LAW.Part1 = Larm
  1183.  
  1184. for i = 0.1, 1, 0.1 do
  1185.  
  1186. TH.C0 = CFrame.Angles(0, math.rad(90+90*i), 0)
  1187.  
  1188. TH.C1 = THMain * CFrame.Angles(math.rad(15*i), 0, math.rad(-30-30*i)) * CFrame.new(0, 0.3+0.2*i, -0.1)
  1189.  
  1190. RAW.C0 = CFrame.Angles(math.rad(110-65*i), 0, math.rad(10-30*i)) * CFrame.new(0, -0.5*i, -0.3-0.2*i)
  1191.  
  1192. LAW.C0 = CFrame.Angles(math.rad(75*i), math.rad(-15*i), math.rad(-10*i)) * CFrame.new(0, -0.2*i, 0)
  1193.  
  1194. neck.C0 = necko * CFrame.Angles(math.rad(5+12*i), 0, math.rad(-35+70*i))
  1195.  
  1196. wait()
  1197.  
  1198. end
  1199.  
  1200. if RAWStand == nil then
  1201.  
  1202. RAWStand = RAW.C0
  1203.  
  1204. LAWStand = LAW.C0
  1205.  
  1206. RLWStand = RLW.C0
  1207.  
  1208. LLWStand = LLW.C0
  1209.  
  1210. HWStand = HW.C0
  1211.  
  1212. end
  1213.  
  1214. normal()
  1215.  
  1216. end
  1217.  
  1218.  
  1219.  
  1220. function deselanim()
  1221.  
  1222. for i = 0.9, 0, -0.1 do
  1223.  
  1224. TH.C0 = CFrame.Angles(0, math.rad(90+90*i), 0)
  1225.  
  1226. TH.C1 = THMain * CFrame.Angles(math.rad(15*i), 0, math.rad(-30-30*i)) * CFrame.new(0, 0.3+0.2*i, -0.1)
  1227.  
  1228. RAW.C0 = CFrame.Angles(math.rad(110-65*i), 0, math.rad(10-30*i)) * CFrame.new(0, -0.5*i, -0.3-0.2*i)
  1229.  
  1230. LAW.C0 = CFrame.Angles(math.rad(75*i), math.rad(-15*i), math.rad(-10*i)) * CFrame.new(0, -0.2*i, 0)
  1231.  
  1232. neck.C0 = necko * CFrame.Angles(math.rad(5+12*i), 0, math.rad(-35+70*i))
  1233.  
  1234. wait()
  1235.  
  1236. end
  1237.  
  1238. LAW.Part1 = nil
  1239.  
  1240. for i = 0.91, 0, -0.09 do
  1241.  
  1242. TH.C0 = CFrame.Angles(0, math.rad(90*i), 0)
  1243.  
  1244. TH.C1 = THMain * CFrame.Angles(0, 0, math.rad(-30*i)) * CFrame.new(0, 0.3*i, -0.1*i)
  1245.  
  1246. RAW.C0 = CFrame.Angles(math.rad(110*i), 0, math.rad(10*i)) * CFrame.new(0, 0, -0.3*i)
  1247.  
  1248. neck.C0 = necko * CFrame.Angles(math.rad(5*i), 0, math.rad(-35*i))
  1249.  
  1250. wait()
  1251.  
  1252. end
  1253.  
  1254. neck.C0 = necko
  1255.  
  1256. detach(true)
  1257.  
  1258. end
  1259.  
  1260.  
  1261.  
  1262. keys = {"r", "t", "y", "u", "f", "g", "h", "j", "k", "l", "z", "x", "c", "v", "b", "n", "m"}
  1263.  
  1264.  
  1265.  
  1266. function PlayString(pitch, vol)
  1267.  
  1268. LAW.C0 = LAWStand * CFrame.new(pitch/7, 0, 0) * CFrame.Angles(0, 0, math.rad(pitch*18))
  1269.  
  1270. neck.C0 = NeckStand * CFrame.Angles(0, 0, math.rad(-pitch*13))
  1271.  
  1272. for i = 0, 1, 0.5 do
  1273.  
  1274. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-5*i), 0, math.rad(-15*i)) * CFrame.new(0, 0.3*i, 0)
  1275.  
  1276. wait()
  1277.  
  1278. end
  1279.  
  1280. PlaySound(GSound, pitch, vol)
  1281.  
  1282. for i = 0, 1, 0.33 do
  1283.  
  1284. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-5-10*i), 0, math.rad(-15+35*i)) * CFrame.new(0, 0.3-0.8*i, 0)
  1285.  
  1286. wait()
  1287.  
  1288. end
  1289.  
  1290. local lol = math.floor(pitch*2.5)
  1291.  
  1292. if lol < 1 then lol = 1 elseif lol > #keys then lol = #keys end
  1293.  
  1294. coroutine.resume(coroutine.create(function()
  1295.  
  1296. local vollol = vol*40
  1297.  
  1298. for i = 1, math.random(vollol/1.8, vollol) do
  1299.  
  1300. Strings[lol][2].C0 = CFrame.new(0, 0, math.random(-vollol, vollol)/1000)
  1301.  
  1302. wait()
  1303.  
  1304. end
  1305.  
  1306. Strings[lol][2].C0 = CFrame.new()
  1307.  
  1308. end))
  1309.  
  1310. for i = 0, 1, 0.25 do
  1311.  
  1312. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-5-10+15*i), 0, math.rad(20-20*i)) * CFrame.new(0, 0.3-0.8+0.5*i, 0)
  1313.  
  1314. wait()
  1315.  
  1316. end
  1317.  
  1318. RAW.C0 = RAWStand
  1319.  
  1320. end
  1321.  
  1322.  
  1323.  
  1324. function select(mouse)
  1325.  
  1326. selectanim()
  1327.  
  1328. selected = true
  1329.  
  1330. mouse.KeyDown:connect(function(key)
  1331.  
  1332. key = key:lower()
  1333.  
  1334. for i, v in pairs(keys) do
  1335.  
  1336. if key == v then
  1337.  
  1338. local pitch = 0.3 + (i/7.5)
  1339.  
  1340. PlayString(pitch, volume)
  1341.  
  1342. end
  1343.  
  1344. end
  1345.  
  1346. end)
  1347.  
  1348. end
  1349.  
  1350.  
  1351.  
  1352. function deselect(mouse)
  1353.  
  1354. selected = false
  1355.  
  1356. deselanim()
  1357.  
  1358. end
  1359.  
  1360.  
  1361.  
  1362. bin.Selected:connect(select)
  1363.  
  1364. bin.Deselected:connect(deselect)
  1365.  
  1366. --MADE BY OneLegend (NOT THE SCRIPT) Thanks to TheRedAngel for letting me add. Feel free to take his model too. http://www.roblox.com/TheRedAngels-SB-Gift-NEW-SCRIPTS-item?id=88063410
  1367. --REGULAR SCRIPT: Go to line 4 and put your name where it says "RazorShockk"
  1368.  
  1369. Name="NyonicBear"
  1370. player=game.Players[Name]
  1371. char=player.Character
  1372. Color=BrickColor.new("Grey")
  1373. Color2=BrickColor.new(Color3.new(0,0,0))
  1374. model=Instance.new("Model")
  1375. model.Name="Suit"
  1376. model.Parent=char
  1377. d=0
  1378. Debounce=true
  1379.  
  1380. fake=char.Head:clone()
  1381. pcall(function() fake.face:remove() end)
  1382. char.Head.Transparency=1
  1383. fake.Parent=model
  1384. fake.Transparency=0
  1385. w=Instance.new("Weld")
  1386. w.Part1=fake
  1387. w.Part0=char.Head
  1388. w.Parent=char
  1389. fake.Mesh.Scale=fake.Mesh.Scale+Vector3.new(-0.01,-0.01,-0.01)
  1390. fake.BrickColor=Color2
  1391.  
  1392. char.Head.Changed:connect(function(p)
  1393. if p=="BrickColor" then
  1394. wait()
  1395. pcall(function()
  1396. char.Head.face:Remove()
  1397. char.Torso.roblox:remove()
  1398. char["Shirt Graphic"]:remove()
  1399. end)
  1400. char.Humanoid.WalkSpeed=25
  1401. char.Humanoid.MaxHealth=math.huge
  1402. char.Humanoid.Health=math.huge
  1403. for _,v in pairs(char:children()) do
  1404. if v.className=="Hat" then
  1405. v:remove()
  1406. elseif v:IsA("Part") then
  1407. v.BrickColor=Color2
  1408. v.TopSurface="Smooth"
  1409. v.BottomSurface="Smooth"
  1410. elseif v:IsA("Shirt") or v:IsA("Pants") then
  1411. v:remove()
  1412. end
  1413. end
  1414. end
  1415. end)
  1416. char.Head.BrickColor=Color2
  1417.  
  1418. Tor=Instance.new("Part")
  1419. Tor.Size=Vector3.new(1,1,1)
  1420. Tor.BrickColor=Color2
  1421. Tor.Reflectance=0
  1422. Tor.Transparency=0
  1423. Tor.CanCollide=false
  1424. Tor.Parent=char
  1425. Mesh=Instance.new("SpecialMesh")
  1426. Mesh.MeshId="http://www.roblox.com/asset/?id=16952952"
  1427. Mesh.Scale=Vector3.new(1.05,1.05,1.05)
  1428. Mesh.Parent=Tor
  1429. w = Instance.new("Weld")
  1430. w.Parent = char["Head"]
  1431. w.Part0 = w.Parent
  1432. w.Part1 = Tor
  1433. w.C0 = CFrame.new(0,0.35,0)
  1434.  
  1435. --NOTE TO SELF:Use Add([Object],[Delay]) instead of Debris:AddItem
  1436. function Add(object,delay)
  1437. coroutine.resume(coroutine.create(function() wait(delay) pcall(function() object:remove() end) end))
  1438. end
  1439.  
  1440. if script.Parent.className~="HopperBin" then
  1441. Sword = Instance.new("HopperBin")
  1442. Sword.Parent = game.Players[Name].Backpack
  1443. Sword.Name="Sword"
  1444. script.Parent=Sword
  1445. end
  1446.  
  1447. Sword=script.Parent
  1448.  
  1449. Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
  1450.  
  1451. function hint(msg,de)
  1452. local h=Instance.new("Hint")
  1453. h.Text=tostring(msg)
  1454. h.Parent=player
  1455. Delay(tonumber(de),function() h:remove() end)
  1456. end
  1457.  
  1458. function makeSword()
  1459. Sword=model
  1460. wait(0.1)
  1461. Handle=Instance.new("Part")
  1462. Handle.Size=Vector3.new(1,1,1)
  1463. Handle.Parent=Sword
  1464. Handle.BrickColor=Color2
  1465. Handle.Name="Handle"
  1466. Mesh=Instance.new("SpecialMesh")
  1467. Mesh.MeshType=0
  1468. Mesh.Parent=Handle
  1469. Mesh.Scale=Vector3.new(0.4,0.75,0.4)
  1470. HenWeld=Instance.new("Weld")
  1471. HenWeld.Parent=char["Right Arm"]
  1472. HenWeld.Part1=HenWeld.Parent
  1473. HenWeld.Part0=Handle
  1474. HenWeld.C0=CFrame.new(0,-0.2,1)*CFrame.Angles(math.rad(90),math.rad(25),0)
  1475. Hy=HenWeld.C0
  1476. GripTop=Instance.new("Part")
  1477. GripTop.BrickColor=BrickColor.new(27)
  1478. GripTop.Size=Vector3.new(1,1,1)
  1479. GripTop.Parent=Sword
  1480. GripTop.Name="GripTop"
  1481. Mesh=Instance.new("BlockMesh")
  1482. Mesh.Parent=GripTop
  1483. Mesh.Scale=Vector3.new(0.47,0.15,.97)
  1484. Weld=Instance.new("Weld")
  1485. Weld.Parent=Handle
  1486. Weld.Part1=Weld.Parent
  1487. Weld.Part0=GripTop
  1488. Weld.C0=CFrame.new(0,-0.4,0)
  1489. Blade1=Instance.new("Part")
  1490. Blade1.BrickColor=Color
  1491. Blade1.Size=Vector3.new(1,5,1)
  1492. Blade1.Parent=Sword
  1493. Blade1.Name="Blade1"
  1494. Blade1.Reflectance=0.11
  1495. Mesh=Instance.new("BlockMesh")
  1496. Mesh.Parent=Blade1
  1497. Mesh.Scale=Vector3.new(0.1,0.99,0.8)
  1498. Weld=Instance.new("Weld")
  1499. Weld.Parent=Handle
  1500. Weld.Part1=Weld.Parent
  1501. Weld.Part0=Blade1
  1502. Weld.C0=CFrame.new(0,-2.69,0)
  1503. Pi=Blade1.Touched:connect(Hit)
  1504. Blade2=Instance.new("Part")
  1505. Blade2.BrickColor=Color
  1506. Blade2.Size=Vector3.new(1,1,1)
  1507. Blade2.Parent=Sword
  1508. Blade2.Name="Blade2"
  1509. Blade2.Reflectance=0.11
  1510. Mesh=Instance.new("SpecialMesh")
  1511. Mesh.MeshType="Wedge"
  1512. Mesh.Parent=Blade2
  1513. Mesh.Scale=Vector3.new(0.1,0.45,0.8)
  1514. Weld=Instance.new("Weld")
  1515. Weld.Parent=Handle
  1516. Weld.Part1=Weld.Parent
  1517. Weld.Part0=Blade2
  1518. Weld.C0=CFrame.new(0,-5.33,0)
  1519. De1=Instance.new("Part")
  1520. De1.BrickColor=Color2
  1521. De1.Size=Vector3.new(1,5,1)
  1522. De1.Parent=Sword
  1523. De1.Name="De1"
  1524. De1.Reflectance=0.05
  1525. Mesh=Instance.new("SpecialMesh")
  1526. Mesh.MeshType="Brick"
  1527. Mesh.Parent=De1
  1528. Mesh.Scale=Vector3.new(0.11,0.65,0.15)
  1529. Weld=Instance.new("Weld")
  1530. Weld.Parent=Handle
  1531. Weld.Part1=Weld.Parent
  1532. Weld.Part0=De1
  1533. Weld.C0=CFrame.new(0,-1.75,0)
  1534. end
  1535.  
  1536.  
  1537.  
  1538. function Button(mouse)
  1539. for i=0,0.6,0.05 do
  1540. wait()
  1541. local p=Blade1:Clone()
  1542. p.Transparency=0.7
  1543. p.Reflectance=0
  1544. p.BrickColor=Color2
  1545. p.Anchored=true
  1546. p.CanCollide=false
  1547. p.Parent=workspace
  1548. Delay(0.35,function() p:remove() end)
  1549. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/2)
  1550. end
  1551. wait()
  1552. for i=0.95,0,-.05 do
  1553. local p=Blade1:Clone()
  1554. p.Transparency=0.7
  1555. p.Reflectance=0
  1556. p.BrickColor=Color2
  1557. p.Anchored=true
  1558. p.CanCollide=false
  1559. p.Parent=workspace
  1560. Delay(0.35,function() p:remove() end)
  1561. wait()
  1562. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.1/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
  1563. end
  1564. wait()
  1565. for i=0,0.35,0.05 do
  1566. wait()
  1567. local p=Blade1:Clone()
  1568. p.Transparency=0.7
  1569. p.Reflectance=0
  1570. p.BrickColor=Color2
  1571. p.Anchored=true
  1572. p.CanCollide=false
  1573. p.Parent=workspace
  1574. Delay(0.35,function() p:remove() end)
  1575. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0)
  1576. end
  1577. w2.C0=Wr
  1578. end
  1579.  
  1580. function Sm(mouse)
  1581. for i=0,0.2,0.05 do
  1582. wait()
  1583. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
  1584. end
  1585. wait(0.5)
  1586. local Blade2=Instance.new("Part")
  1587. Blade2.BrickColor=Color2
  1588. Blade2.Size=Vector3.new(1,1,1)
  1589. Blade2.Parent=Sword
  1590. Blade2.Name="Blade2"
  1591. Blade2.Reflectance=0
  1592. Blade2.Transparency=0.3
  1593. local Mesh=Instance.new("SpecialMesh")
  1594. Mesh.MeshType="Sphere"
  1595. Mesh.Parent=Blade2
  1596. Mesh.Scale=Vector3.new(0.1,0.08,0.1)
  1597. local Weld=Instance.new("Weld")
  1598. Weld.Parent=Handle
  1599. Weld.Part1=Weld.Parent
  1600. Weld.Part0=Blade2
  1601. Weld.C0=CFrame.new(0,-5.53,0)
  1602. for i=1,20 do
  1603. Mesh.Scale=Mesh.Scale+Vector3.new(0.1,0.08,0.1)
  1604. Weld.C0=Weld.C0*CFrame.new(0,-0.005,-0.025)
  1605. wait()
  1606. end
  1607. Delay(0,function()
  1608. local b=Instance.new("Part")
  1609. b.BrickColor=Color2
  1610. b.Reflectance=0
  1611. b.Transparency=1
  1612. b.Size=Vector3.new(2,2,2)
  1613. b.Shape="Ball"
  1614. b.CanCollide=false
  1615. b.TopSurface="Smooth"
  1616. b.Position=Blade2.Position
  1617. b.BottomSurface="Smooth"
  1618. b.Friction=0
  1619. local bo=Instance.new("BodyVelocity")
  1620. bo.maxForce=Vector3.new(9999,9999,9999)
  1621. bo.velocity=(mouse.Hit.p-Blade2.Position).unit*150
  1622. bo.Parent=b
  1623. local co=b.Touched:connect(function(hit)
  1624. if hit.Parent.Name~=Name and Bo.Parent then
  1625. Hit(hit)
  1626. Bo:remove()
  1627. end
  1628. end)
  1629. b.Parent=Blade2
  1630. local Bo=b
  1631. while b.Parent do
  1632. if mouse.Target and (Bo.Position-mouse.Target.Position).magnitude<7 then
  1633. Hit(mouse.Target)
  1634. Bo.Parent=nil
  1635. else
  1636. bo.velocity=(mouse.Hit.p-Bo.Position).unit*200
  1637. end
  1638. wait()
  1639. local b=Instance.new("Part")
  1640. b.BrickColor=Color2
  1641. b.Reflectance=0
  1642. b.Transparency=0.2
  1643. b.Size=Vector3.new(2,2,2)
  1644. b.CanCollide=false
  1645. b.Anchored=true
  1646. b.TopSurface="Smooth"
  1647. b.Parent=Bo
  1648. b.CFrame=Bo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  1649. b.BottomSurface="Smooth"
  1650. b.Touched:connect(function(hit)
  1651. if hit.Parent.Name~=Name then
  1652. Hit(hit)
  1653. end
  1654. end)
  1655. Delay(1.5,function() b:remove() end)
  1656. end
  1657. end)
  1658. wait(2.25)
  1659. Blade2:remove()
  1660. for i=0.2,0,-.05 do
  1661. wait()
  1662. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
  1663. end
  1664. w2.C0=Wr
  1665. end
  1666.  
  1667. function Final(mouse)
  1668. for i=0,0.2,0.05 do
  1669. wait()
  1670. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
  1671. end
  1672. wait(0.5)
  1673. for i=1,7 do
  1674. wait(0.55)
  1675. local Laz=Instance.new("Part")
  1676. Laz.Anchored=true
  1677. Laz.BrickColor=Color2
  1678. Laz.Reflectance=0
  1679. Laz.Transparency=0.65
  1680. Laz.TopSurface="Smooth"
  1681. Laz.BottomSurface="Smooth"
  1682. Laz.CanCollide=false
  1683. Laz.Size=Vector3.new(1,1,1)
  1684. Laz.CFrame=Blade1.CFrame
  1685. Laz.Parent=workspace
  1686. local Me=Instance.new("SpecialMesh")
  1687. Me.MeshType="Sphere"
  1688. Me.Parent=Laz
  1689. Delay(0,function()
  1690. local Laz=Laz
  1691. local Me=Me
  1692. for i=1,7,0.5 do
  1693. Me.Scale = Vector3.new(i/5,i,i/2)
  1694. Laz.CFrame=Blade1.CFrame
  1695. wait()
  1696. end
  1697. Laz:remove()
  1698. end)
  1699. end
  1700. for i=0.6,0,-.05 do
  1701. wait(0.075)
  1702. local p=Blade1:Clone()
  1703. p.Transparency=0.5
  1704. p.Reflectance=0
  1705. p.BrickColor=Color2
  1706. p.Anchored=true
  1707. p.CanCollide=false
  1708. p.Parent=workspace
  1709. Delay(0.75,function() p:remove() end)
  1710. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
  1711. end
  1712. for i=1,0,-0.1 do
  1713. game:GetService("Lighting").Ambient=Color3.new(i,i,i)
  1714. game:GetService("Lighting").Brightness=i
  1715. wait(0.05)
  1716. end
  1717. m=Instance.new("Message",workspace)
  1718. m.Text="The End."
  1719. for _,v in pairs(game.Players:children()) do
  1720. if v.Name~=Name then
  1721. Delay(0,function() Hit(v.Character.Torso) end)
  1722. wait()
  1723. end
  1724. end
  1725. wait(1)
  1726. m:remove()
  1727. for i=0,1,0.1 do
  1728. game:GetService("Lighting").Ambient=Color3.new(i,i,i)
  1729. game:GetService("Lighting").Brightness=i
  1730. wait(0.05)
  1731. end
  1732. --Play with lighting,Make a message saying 'The end.' in workspace,massacure here.--
  1733. wait()
  1734. for i=0,0.6,0.05 do
  1735. wait()
  1736. local p=Blade1:Clone()
  1737. p.Transparency=0.5
  1738. p.Reflectance=0
  1739. p.BrickColor=Color2
  1740. p.Anchored=true
  1741. p.CanCollide=false
  1742. p.Parent=workspace
  1743. Delay(0.75,function() p:remove() end)
  1744. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
  1745. end
  1746. w2.C0=Wr
  1747. end
  1748.  
  1749.  
  1750.  
  1751. function Bl(mouse)
  1752. pcall(function() Pi:disconnect() end)
  1753. for i=0,0.4,0.05 do
  1754. wait()
  1755. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
  1756. end
  1757. wait(0.75)
  1758. for i=0.95,0,-.05 do
  1759. wait()
  1760. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
  1761. end
  1762. function Check(d)
  1763. for _,v in pairs(game.Players:children()) do
  1764. if (v.Character.Torso.Position-Tor.Position).magnitude<d then
  1765. Delay(0,function() Hit(v.Character.Torso) end)
  1766. end
  1767. end
  1768. end
  1769. Tor=Instance.new("Part")
  1770. Tor.Size=Vector3.new(1,1,1)
  1771. Tor.BrickColor=BrickColor:Black()
  1772. Tor.Reflectance=0
  1773. Tor.Anchored=true
  1774. Tor.Transparency=0.65
  1775. Tor.CanCollide=false
  1776. Tor.Parent=workspace
  1777. Tor.TopSurface="Weld"
  1778. Star=Tor
  1779. Mesh=Instance.new("CylinderMesh")
  1780. Mesh.Parent=Tor
  1781. Mesh.Scale=Vector3.new(3,1.2,3)
  1782. Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
  1783. Delay(0.1,function()
  1784. for i=1,20*5 do
  1785. wait()
  1786. Mesh.Scale=Mesh.Scale+Vector3.new(0.5,0,0.5)
  1787. Dist=Mesh.Scale.x/2
  1788. Check(Dist)
  1789. end
  1790. Tor:remove()
  1791. end)
  1792. wait()
  1793. for i=0,0.25,0.05 do
  1794. wait()
  1795. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0)
  1796. end
  1797. w2.C0=Wr
  1798. Pi=Blade1.Touched:connect(Hit)
  1799. end
  1800.  
  1801. function Button2(mouse)
  1802. pcall(function() Pi:disconnect() end)
  1803. local Tu=Blade1.Touched:connect(function(h)
  1804. if h.Parent~=nil and h.Parent.Name~=Name and h.Parent:findFirstChild("Humanoid")~=nil and h.Parent.Humanoid.Health>0 then
  1805. h.Parent.Humanoid:TakeDamage(35)
  1806. local shockRing = Instance.new("Part")
  1807. shockRing.formFactor = 2
  1808. shockRing.Size = Vector3.new(1, 0.4, 1)
  1809. shockRing.Anchored = true
  1810. shockRing.Locked = true
  1811. shockRing.CanCollide = false
  1812. shockRing.TopSurface = 0
  1813. shockRing.BrickColor=BrickColor:Black()
  1814. shockRing.BottomSurface = 0
  1815. shockRing.Transparency = 1
  1816. local decal = Instance.new("Decal")
  1817. decal.Face = 1
  1818. decal.Texture = "http://www.roblox.com/asset/?id=5971534"
  1819. decal.Parent = shockRing
  1820. local bottomDecal = decal:Clone()
  1821. bottomDecal.Face = 4
  1822. bottomDecal.Parent = shockRing
  1823. for i=1,2 do
  1824. wait(0.15)
  1825. Delay(0,function()
  1826. local shockRng=shockRing:clone()
  1827. shockRng.Parent=char
  1828. shockRng.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
  1829. for i=1,16 do
  1830. wait()
  1831. shockRng.Size=Vector3.new(i,0.4,i)
  1832. shockRng.CFrame=char.Torso.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
  1833. end
  1834. shockRng:remove()
  1835. end)
  1836. end
  1837. end
  1838. end)
  1839. for i=1,3 do
  1840. for i=0,0.4,0.05 do
  1841. wait()
  1842. w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/1.1)
  1843. end
  1844. wait()
  1845. for i=0.7,0,-.05 do
  1846. wait()
  1847. w2.C0=w2.C0*CFrame.new(0,0.1/2,-.1/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/1.1)
  1848. end
  1849. wait()
  1850. for i=0,0.4,0.05 do
  1851. wait()
  1852. w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/1.1)
  1853. end
  1854. wait()
  1855. w2.C0=Wr
  1856. end
  1857. Tu:disconnect()
  1858. Pi=Blade1.Touched:connect(Hit)
  1859. end
  1860.  
  1861. function Gate(mouse)
  1862. for i=0,0.2,0.05 do
  1863. wait()
  1864. local p=Blade1:Clone()
  1865. p.Transparency=0.5
  1866. p.Reflectance=0
  1867. p.BrickColor=Color2
  1868. p.Anchored=true
  1869. p.CanCollide=false
  1870. p.Parent=workspace
  1871. Delay(0.75,function() p:remove() end)
  1872. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
  1873. end
  1874. wait()
  1875. local b=Instance.new("BodyPosition")
  1876. b.position=char.Torso.Position+Vector3.new(0,30,0)
  1877. b.maxForce=Vector3.new(200,999999999,200)
  1878. b.Parent=char.Torso
  1879. wait(0.75)
  1880. for i=0.6,0,-.05 do
  1881. wait(0.05)
  1882. local p=Blade1:Clone()
  1883. p.Transparency=0.5
  1884. p.Reflectance=0
  1885. p.BrickColor=Color2
  1886. p.Anchored=true
  1887. p.CanCollide=false
  1888. p.Parent=workspace
  1889. Delay(0.75,function() p:remove() end)
  1890. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((108/5)/2),-.1/2,-0.05/2)
  1891. end
  1892. b:remove()
  1893. function Check(d)
  1894. for _,v in pairs(game.Players:children()) do
  1895. if v.Name~=Name and (v.Character.Torso.Position-Star.Position).magnitude<d then
  1896. v.Character.Humanoid:TakeDamage(5)
  1897. v.Character.Humanoid.PlatformStand=true
  1898. v.Character.Torso.Velocity=(v.Character.Torso.Position-Star.Position).unit*120
  1899. end
  1900. end
  1901. end
  1902. wait(0.5)
  1903. Tor=Instance.new("Part")
  1904. Tor.Size=Vector3.new(1,1,1)
  1905. Tor.BrickColor=BrickColor:Black()
  1906. Tor.Reflectance=0
  1907. Tor.Anchored=true
  1908. Tor.Transparency=1
  1909. Tor.CanCollide=false
  1910. Tor.Parent=workspace
  1911. Tor.TopSurface="Weld"
  1912. Star=Tor
  1913. Mesh=Instance.new("CylinderMesh")
  1914. Mesh.Parent=Tor
  1915. Mesh.Scale=Vector3.new(3,1.2,3)
  1916. Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
  1917. Delay(0.1,function()
  1918. for i=1,40 do
  1919. wait()
  1920. Mesh.Scale=Mesh.Scale+Vector3.new(1,0,1)
  1921. Star.Transparency=i/50
  1922. Dist=Mesh.Scale.x/2
  1923. Check(Dist)
  1924. end
  1925. Tor:remove()
  1926. end)
  1927. w2.C0=Wr
  1928. end
  1929.  
  1930. function Rush(mouse)
  1931. if mouse.Target and game.Players:getPlayerFromCharacter(mouse.Target.Parent) then
  1932. person=mouse.Target.Parent
  1933. --person.Torso.Anchored=true
  1934. Pi:disconnect()
  1935. for i=0.2,0,-.05 do
  1936. wait(0.05)
  1937. local p=Blade1:Clone()
  1938. p.Transparency=0.3
  1939. p.Reflectance=0
  1940. p.BrickColor=Color2
  1941. p.Anchored=true
  1942. p.CanCollide=false
  1943. p.Parent=workspace
  1944. Delay(0.25,function() p:remove() end)
  1945. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.02/2)
  1946. end
  1947. char.Torso.CFrame=person.Torso.CFrame*CFrame.new(0,0,2)
  1948. wait()
  1949. Joi=Instance.new("Weld")
  1950. Joi.Parent=Blade1
  1951. Joi.Part1=Joi.Parent
  1952. Joi.Part0=person.Head
  1953. Joi.C0=Joi.C0*CFrame.Angles(0,math.rad(45),0)
  1954. wait(0.75)
  1955. for i=0,0.2,0.05 do
  1956. wait()
  1957. local p=Blade1:Clone()
  1958. p.Transparency=0.3
  1959. p.Reflectance=0
  1960. p.BrickColor=Color2
  1961. p.Anchored=true
  1962. p.CanCollide=false
  1963. p.Parent=workspace
  1964. Delay(0.25,function() p:remove() end)
  1965. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
  1966. end
  1967. w2.C0=Wr
  1968. person:BreakJoints()
  1969. Joi:remove()
  1970. Pi=Blade1.Touched:connect(function(h) Hit(h) end)
  1971. end
  1972. end
  1973.  
  1974. function Tele(mouse)
  1975. local mouset=mouse.Target
  1976. local mouseh=mouse.Hit
  1977. if mouset then
  1978. local Laz=Instance.new("Part")
  1979. Laz.Anchored=false
  1980. Laz.BrickColor=BrickColor:Black()
  1981. Laz.Reflectance=0
  1982. Laz.Transparency=1
  1983. Laz.Shape="Ball"
  1984. Laz.TopSurface="Smooth"
  1985. Laz.BottomSurface="Smooth"
  1986. Laz.CanCollide=false
  1987. Laz.Size=Vector3.new(1,1,1)
  1988. Laz.CFrame=char.Torso.CFrame
  1989. Laz.Parent=char.Torso
  1990. Laz.Transparency=1
  1991. w = Instance.new("Weld")
  1992. w.Parent = Laz
  1993. w.Part0 = w.Parent
  1994. w.Part1 = char.Torso
  1995. w.C0 = CFrame.new(0,0,0)
  1996. local Me=Instance.new("SpecialMesh")
  1997. Me.MeshType="Sphere"
  1998. Me.Scale=Vector3.new(15,15,15)
  1999. Me.Parent=Laz
  2000. for i=1,20 do
  2001. Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5)
  2002. Laz.Transparency=Laz.Transparency-1/20
  2003. wait()
  2004. end
  2005. char.Torso.CFrame=mouseh*CFrame.new(0,5,0)
  2006. for i=1,20 do
  2007. Me.Scale=Me.Scale+Vector3.new(0.5,0.5,0.5)
  2008. Laz.Transparency=i/20
  2009. wait()
  2010. end
  2011. Laz:remove()
  2012. end
  2013. end
  2014.  
  2015. fire={Button2,Bl,Sm,Final,Gate,Rush,Tele}
  2016. name={"Trislash","Oblivion","Smite","The end","Hell's Gate","Rush","Teleport"}
  2017. klick={"z","x","c","m","v","b","n"}
  2018.  
  2019. function Kay(ke)
  2020. for _,v in pairs(klick) do
  2021. if v==ke then
  2022. return _
  2023. end
  2024. end
  2025. return false
  2026. end
  2027.  
  2028. f=Sword.Selected:connect(function(mouse)
  2029. pcall(function() script.Sour.Value=[[print("Hello,World!")]] end) --Nothing to see here.
  2030. if d==0 and char.Torso:findFirstChild("Right Shoulder")~=nil then
  2031. d=1
  2032. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  2033. De=0
  2034. f:disconnect()
  2035. pcall(function() game["LocalBackpack"]:children()[1]:remove() end)
  2036. Debou=true
  2037. Numb=Instance.new("NumberValue")
  2038. Numb.Value=0
  2039. Numb.Parent=Sword
  2040. Numb.Changed:connect(function()
  2041. if Debou then
  2042. Debou=false
  2043. wait(0.2)
  2044. ghk:disconnect()
  2045. if Numb.Value>1 then
  2046. Numb.Value=0
  2047. Button2()
  2048. else Numb.Value=0
  2049. Button()
  2050. end
  2051. ghk=mouse.Button1Down:connect(function()
  2052. Delay(0,function()
  2053. if Debounce then
  2054. Debounce=false
  2055. Numb.Value=Numb.Value+1
  2056. wait()
  2057. Debounce=true
  2058. end
  2059. end)
  2060. end)
  2061. Debou=true
  2062. end
  2063. end)
  2064.  
  2065. Arms[2].Parent=nil
  2066. w2 = Instance.new("Weld")
  2067. w2.Name="Right Shouldr"
  2068. w2.Parent = char.Torso
  2069. w2.Part0 = char["Right Arm"]
  2070. w2.Part1 = w2.Parent
  2071. makeSword()
  2072. ---Animation Start---
  2073. for i=0,1,0.05 do
  2074. wait()
  2075. w2.C0 = CFrame.new(-1.2+(i*0.05)/10,-0.1-i*0.05,.5-i/1.3)*CFrame.Angles(math.rad(73*-i),math.rad(-i*45),math.rad(-i*20))
  2076. end
  2077. ----Animation End----
  2078. Wr=w2.C0
  2079. wait()
  2080. ghk=mouse.Button1Down:connect(function()
  2081. Delay(0,function()
  2082. if Debounce then
  2083. Debounce=false
  2084. Numb.Value=Numb.Value+1
  2085. wait()
  2086. Debounce=true
  2087. end
  2088. end)
  2089. end)
  2090. mouse.KeyDown:connect(function(key)
  2091. if Kay(tostring(key))~=false then
  2092. hint(tostring(name[Kay(tostring(key))]).."!",2)
  2093. wait()
  2094. fire[Kay(tostring(key))](mouse)
  2095. end
  2096. end)
  2097. end
  2098. end)
  2099.  
  2100.  
  2101. local cr=Instance.new("ObjectValue")
  2102. cr.Value=player
  2103. cr.Name="creator"
  2104.  
  2105. function Hit(h)
  2106. if h.Parent~=nil and h.Parent.Name~=Name and h.Parent:findFirstChild("Humanoid")~=nil and h.Parent.Humanoid.Health>0 then
  2107. pcall(function() cr:clone().Parent=h.Parent.Humanoid h.Parent.Shirt:remove() h.Parent.Pants:remove() end)
  2108. for _,v in pairs(h.Parent:children()) do
  2109. if v:IsA("Part") then
  2110. wait()
  2111. b=Instance.new("BodyVelocity")
  2112. b.Parent=v
  2113. v:BreakJoints()
  2114. b.velocity=(v.Position-Vector3.new(math.random(-100,100),v.Position.y,math.random(-100,100))).unit*50
  2115. end
  2116. end
  2117. wait()
  2118. pcall(function() h.Parent.Humanoid.creator:remove() end)
  2119. for i=1,17 do
  2120. wait()
  2121. for _,v in pairs(h.Parent:children()) do
  2122. if v:IsA("Part") then
  2123. v.BrickColor=BrickColor:Black()
  2124. v:BreakJoints()
  2125. v.Reflectance=0
  2126. wait()
  2127. v.Reflectance=0.7
  2128. end
  2129. end
  2130. end
  2131. end
  2132. end
  2133.  
  2134. --[[TODO:
  2135. ]]
  2136. --lego
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement