Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local plr = game.Players.LocalPlayer
  2. local good = true
  3. local R15 = false
  4. while plr.Character == nil or plr.Character:FindFirstChildOfClass('Humanoid') == nil do
  5. wait()
  6. end
  7. if plr.Character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then
  8. R15 = true
  9. end
  10.  
  11. function makegui()
  12. -- Objects
  13.  
  14. local ScreenGui = Instance.new("ScreenGui")
  15. local Frame = Instance.new("Frame")
  16. local TextBox = Instance.new("TextLabel")
  17.  
  18. -- Properties
  19.  
  20. ScreenGui.Parent = plr.PlayerGui
  21.  
  22. Frame.Parent = ScreenGui
  23. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  24. Frame.BackgroundTransparency = 0.5
  25. Frame.BorderSizePixel = 0
  26. Frame.Size = UDim2.new(1, 0, 0, 0)
  27.  
  28. TextBox.Parent = Frame
  29. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  30. TextBox.BackgroundTransparency = 1
  31. TextBox.Position = UDim2.new(0.05, 0, 0.05, 0)
  32. TextBox.Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
  33. TextBox.Font = Enum.Font.Arcade
  34. TextBox.FontSize = Enum.FontSize.Size14
  35. TextBox.Text = ""
  36. TextBox.TextColor3 = Color3.new(1, 255, 1)
  37. TextBox.TextScaled = true
  38. TextBox.TextSize = 14
  39. TextBox.TextWrapped = true
  40. Frame:TweenSize(UDim2.new(1, 0, 0.2, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  41. wait(1.5)
  42. local text = "dis dosent work on r15, fucker."
  43. for i=1,string.len(text) do
  44. TextBox.Text = string.sub(text,1,i)
  45. wait()
  46. end
  47. wait(2)
  48. TextBox.Text = ""
  49. Frame:TweenSize(UDim2.new(1, 0, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  50. end
  51. function makegui2()
  52. -- Objects
  53.  
  54. local ScreenGui = Instance.new("ScreenGui")
  55. local Frame = Instance.new("Frame")
  56. local TextBox = Instance.new("TextLabel")
  57.  
  58. -- Properties
  59.  
  60. ScreenGui.Parent = plr.PlayerGui
  61.  
  62. Frame.Parent = ScreenGui
  63. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  64. Frame.BackgroundTransparency = 0.5
  65. Frame.BorderSizePixel = 0
  66. Frame.Size = UDim2.new(1, 0, 0, 0)
  67.  
  68. TextBox.Parent = Frame
  69. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  70. TextBox.BackgroundTransparency = 1
  71. TextBox.Position = UDim2.new(0.05, 0, 0.05, 0)
  72. TextBox.Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
  73. TextBox.Font = Enum.Font.Arcade
  74. TextBox.FontSize = Enum.FontSize.Size14
  75. TextBox.Text = ""
  76. TextBox.TextColor3 = Color3.new(1, 255, 1)
  77. TextBox.TextScaled = true
  78. TextBox.TextSize = 14
  79. TextBox.TextWrapped = true
  80. Frame:TweenSize(UDim2.new(1, 0, 0.2, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  81. wait(1.5)
  82. local text = "fuck u, this isiltering enablled"
  83. for i=1,string.len(text) do
  84. TextBox.Text = string.sub(text,1,i)
  85. wait()
  86. end
  87. wait(2)
  88. TextBox.Text = ""
  89. Frame:TweenSize(UDim2.new(1, 0, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  90. end
  91. function makegui3()
  92. -- Objects
  93.  
  94. local ScreenGui = Instance.new("ScreenGui")
  95. local Frame = Instance.new("Frame")
  96. local TextBox = Instance.new("TextLabel")
  97.  
  98. -- Properties
  99.  
  100. ScreenGui.Parent = plr.PlayerGui
  101.  
  102. Frame.Parent = ScreenGui
  103. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  104. Frame.BackgroundTransparency = 0.5
  105. Frame.BorderSizePixel = 0
  106. Frame.Size = UDim2.new(1, 0, 0, 0)
  107.  
  108. TextBox.Parent = Frame
  109. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  110. TextBox.BackgroundTransparency = 1
  111. TextBox.Position = UDim2.new(0.05, 0, 0.05, 0)
  112. TextBox.Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
  113. TextBox.Font = Enum.Font.Arcade
  114. TextBox.FontSize = Enum.FontSize.Size14
  115. TextBox.Text = ""
  116. TextBox.TextColor3 = Color3.new(1, 255, 1)
  117. TextBox.TextScaled = true
  118. TextBox.TextSize = 14
  119. TextBox.TextWrapped = true
  120. Frame:TweenSize(UDim2.new(1, 0, 0.2, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  121. wait(1.5)
  122. local text = "point your mouse on people then f, and hold g for eletric. By Psycho Plays. {boss_kiddos}"
  123. for i=1,string.len(text) do
  124. TextBox.Text = string.sub(text,1,i)
  125. wait()
  126. end
  127. wait(2)
  128. TextBox.Text = ""
  129. Frame:TweenSize(UDim2.new(1, 0, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  130. end
  131.  
  132.  
  133. local coru = coroutine.wrap(function()
  134. if R15 then
  135. good = false
  136. makegui()
  137. elseif workspace.FilteringEnabled then
  138. good = false
  139. makegui2()
  140. else
  141. makegui3()
  142. end
  143. end)
  144. coru()
  145.  
  146.  
  147. if good then
  148. local choking = false
  149. local zapping = false
  150. local target = nil
  151. local lastzap = nil
  152. local oldHit = nil
  153. local startpos = CFrame.new(0,0,0)
  154. local beforehealth = 100
  155. local timez = 0
  156.  
  157. Gibs = workspace
  158.  
  159. function Kill(Character,yee,oh)
  160. if Character:FindFirstChildOfClass('Humanoid') then
  161. Character:FindFirstChildOfClass('Humanoid').Health = 0
  162. local svch = Character
  163. local hum = Character:findFirstChild("Humanoid")
  164. Character.Archivable = true
  165. local chrclone = Character:clone()
  166. Character.Archivable = false
  167.  
  168. local ch = chrclone:GetChildren()
  169. local i
  170. for i = 1,#ch do
  171. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  172. ch[i]:remove()
  173. end
  174. end
  175. local function Scan(ch)
  176. local e
  177. for e = 1,#ch do
  178. Scan(ch[e]:GetChildren())
  179. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  180. ch[e]:remove()
  181. end
  182. end
  183. end
  184. Scan(chrclone:GetChildren())
  185.  
  186. local hum2 = chrclone:findFirstChild("Humanoid")
  187.  
  188.  
  189. if hum2 ~= nil then
  190. hum2.Name = "Humanoid2"
  191. hum2.PlatformStand = true
  192. hum2.Sit = true
  193. hum2.MaxHealth = 0
  194. hum2.Health = 0
  195. end
  196.  
  197. local ch = Character:GetChildren()
  198. local i
  199. for i = 1,#ch do
  200. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  201. ch[i]:remove()
  202. end
  203. end
  204.  
  205. wait(0.2)
  206.  
  207. local ch = Character:GetChildren()
  208. local i
  209. for i = 1,#ch do
  210. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  211. ch[i]:remove()
  212. end
  213. end
  214. Character = chrclone
  215. local Torso = Character.Torso
  216. local movevector = Vector3.new()
  217. if Character.Torso ~= nil then
  218. local killtors = Character:findFirstChild("Torso")
  219. if killtors ~= nil then
  220. movevector = CFrame.new(plr.Character["Right Arm"].Position,Torso.Position).lookVector
  221. end
  222. end
  223. if Torso then
  224. local Head = Character:FindFirstChild("Head")
  225. if Head and yee == false then
  226. local Neck = Instance.new("Weld")
  227. Neck.Name = "Neck"
  228. Neck.Part0 = Torso
  229. Neck.Part1 = Head
  230. Neck.C0 = CFrame.new(0, 1.5, 0)
  231. Neck.C1 = CFrame.new()
  232. Neck.Parent = Torso
  233. end
  234. local Limb = Character:FindFirstChild("Right Arm")
  235. if Limb then
  236. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  237. local Joint = Instance.new("Glue")
  238. Joint.Name = "RightShoulder"
  239. Joint.Part0 = Torso
  240. Joint.Part1 = Limb
  241. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  242. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  243. Joint.Parent = Torso
  244. local B = Instance.new("Part")
  245. B.TopSurface = 0
  246. B.BottomSurface = 0
  247. B.formFactor = "Symmetric"
  248. B.Size = Vector3.new(1, 1, 1)
  249. B.Transparency = 1
  250. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  251. B.Parent = Character
  252. local W = Instance.new("Weld")
  253. W.Part0 = Limb
  254. W.Part1 = B
  255. W.C0 = CFrame.new(0, -0.5, 0)
  256. W.Parent = Limb
  257. end
  258. local Limb = Character:FindFirstChild("Left Arm")
  259. if Limb then
  260. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  261. local Joint = Instance.new("Glue")
  262. Joint.Name = "LeftShoulder"
  263. Joint.Part0 = Torso
  264. Joint.Part1 = Limb
  265. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  266. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  267. Joint.Parent = Torso
  268.  
  269. local B = Instance.new("Part")
  270. B.TopSurface = 0
  271. B.BottomSurface = 0
  272. B.formFactor = "Symmetric"
  273. B.Size = Vector3.new(1, 1, 1)
  274. B.Transparency = 1
  275. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  276. B.Parent = Character
  277. local W = Instance.new("Weld")
  278. W.Part0 = Limb
  279. W.Part1 = B
  280. W.C0 = CFrame.new(0, -0.5, 0)
  281. W.Parent = Limb
  282. end
  283. local Limb = Character:FindFirstChild("Right Leg")
  284. if Limb then
  285.  
  286. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  287. local Joint = Instance.new("Glue")
  288. Joint.Name = "RightHip"
  289. Joint.Part0 = Torso
  290. Joint.Part1 = Limb
  291. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  292. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  293. Joint.Parent = Torso
  294.  
  295. local B = Instance.new("Part")
  296. B.TopSurface = 0
  297. B.BottomSurface = 0
  298. B.formFactor = "Symmetric"
  299. B.Size = Vector3.new(1, 1, 1)
  300. B.Transparency = 1
  301. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  302. B.Parent = Character
  303. local W = Instance.new("Weld")
  304. W.Part0 = Limb
  305. W.Part1 = B
  306. W.C0 = CFrame.new(0, -0.5, 0)
  307. W.Parent = Limb
  308.  
  309. end
  310. local Limb = Character:FindFirstChild("Left Leg")
  311. if Limb then
  312.  
  313. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  314. local Joint = Instance.new("Glue")
  315. Joint.Name = "LeftHip"
  316. Joint.Part0 = Torso
  317. Joint.Part1 = Limb
  318. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  319. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  320. Joint.Parent = Torso
  321.  
  322. local B = Instance.new("Part")
  323. B.TopSurface = 0
  324. B.BottomSurface = 0
  325. B.formFactor = "Symmetric"
  326. B.Size = Vector3.new(1, 1, 1)
  327. B.Transparency = 1
  328. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  329. B.Parent = Character
  330. local W = Instance.new("Weld")
  331. W.Part0 = Limb
  332. W.Part1 = B
  333. W.C0 = CFrame.new(0, -0.5, 0)
  334. W.Parent = Limb
  335.  
  336. end
  337. --[
  338. local Bar = Instance.new("Part")
  339. Bar.TopSurface = 0
  340. Bar.BottomSurface = 0
  341. Bar.formFactor = "Symmetric"
  342. Bar.Size = Vector3.new(1, 1, 1)
  343. Bar.Transparency = 1
  344. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  345. Bar.Parent = Character
  346. local Weld = Instance.new("Weld")
  347. Weld.Part0 = Torso
  348. Weld.Part1 = Bar
  349. Weld.C0 = CFrame.new(0, 0.5, 0)
  350. Weld.Parent = Torso
  351. --]]
  352. end
  353. Character.Parent = Gibs
  354. game.Debris:AddItem(Character, 12)
  355. Character.Torso.Velocity = plr.Character.Torso.CFrame.lookVector*10
  356. Character.Head.Velocity = plr.Character.Torso.CFrame.lookVector*10
  357. if oh then
  358. local repulse = Instance.new('BodyForce',Torso)
  359. repulse.Force = movevector*10000 + Vector3.new(0,1000,0)
  360. game.Debris:AddItem(repulse,0.05)
  361. for i,v in pairs(chrclone:GetChildren()) do
  362. if v:IsA('BasePart') then
  363. v.BrickColor = BrickColor.Black()
  364. end
  365. end
  366. local sound = Instance.new('Sound',Torso)
  367. sound.EmitterSize = 50
  368. sound.MaxDistance = 100
  369. sound.Volume = 6
  370. sound.SoundId = 'rbxassetid://1305945173'
  371. sound:Play()
  372. sound.Ended:connect(function()
  373. sound:Destroy()
  374. end)
  375. end
  376. local duh = Torso
  377. if yee == true then
  378. ee = Instance.new("Part")
  379. ee.Anchored = false
  380. ee.CanCollide = false
  381. ee.Parent = duh
  382. ee.Transparency =1
  383. ee.Size = Vector3.new(0.15, 0.15, 0.15)
  384. wee = Instance.new("Weld")
  385. wee.Parent = duh
  386. wee.Part0 = duh
  387. wee.Part1 = ee
  388. wee.C0 = CFrame.new(0, 1, 0)
  389. ge = Instance.new('ParticleEmitter')
  390. ge.Parent = ee
  391. ge.Texture = "rbxassetid://29712167"
  392. ge.Size = NumberSequence.new(0.2,0.05)
  393. ge.Acceleration = Vector3.new(0, -20, 0)
  394. ge.Rate = 100000
  395. ge.Speed = NumberRange.new(7,8)
  396. ge.Lifetime = NumberRange.new(3,4)
  397. ge.VelocitySpread = 10
  398. ge.VelocityInheritance = 0.3
  399. ea = Instance.new("Part")
  400. ea.Anchored = false
  401. ea.CanCollide = false
  402. ea.Parent = Character.Head
  403. ea.Transparency =1
  404. ea.Size = Vector3.new(0.15, 0.15, 0.15)
  405. wea = Instance.new("Weld")
  406. wea.Parent = Character.Head
  407. wea.Part0 = Character.Head
  408. wea.Part1 = ea
  409. wea.C0 = CFrame.new(0, -0.7, 0)
  410. ga = Instance.new('ParticleEmitter')
  411. ga.Parent = ea
  412. ga.Texture = "rbxassetid://29712167"
  413. ga.Size = NumberSequence.new(0.2,0.05)
  414. ga.Acceleration = Vector3.new(0, -20, 0)
  415. ga.Rate = 100000
  416. ga.Speed = NumberRange.new(7,8)
  417. ga.Lifetime = NumberRange.new(3,4)
  418. ga.VelocitySpread = 10
  419. ga.VelocityInheritance = 0.3
  420. ga.EmissionDirection = Enum.NormalId.Bottom
  421. end
  422. end
  423. end
  424.  
  425. function gettouching(startpos,endpos,dont)
  426. local ray = Ray.new(startpos,(endpos-startpos).unit*300)
  427. local ignore = {}
  428. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  429. if v.Character and v ~= plr then
  430. table.insert(ignore,v.Character)
  431. end
  432. end
  433. local part,pos = workspace:FindPartOnRayWithWhitelist(ray,ignore,false)
  434. if part then
  435. if part.Parent:FindFirstChildOfClass('Humanoid') and part.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
  436. local coru = coroutine.wrap(function()
  437. Kill(part.Parent,false,true)
  438. end)
  439. coru()
  440. end
  441. end
  442. table.insert(ignore,dont)
  443. local part2,pos2 = workspace:FindPartOnRayWithIgnoreList(ray,ignore,false,true)
  444. if part2 and part2.Parent and part2.Parent ~= plr.Character and part2.Parent:FindFirstChildOfClass('Humanoid') and part2.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
  445. local coru = coroutine.wrap(function()
  446. Kill(part2.Parent,false,true)
  447. end)
  448. coru()
  449. end
  450. end
  451.  
  452. function makelaser(parent)
  453. local part = Instance.new('Part',parent)
  454. part.Size = Vector3.new(0.2,0.2,0.2)
  455. part.Transparency = 1
  456. part.CanCollide = false
  457. local weld = Instance.new('Weld',part)
  458. weld.Part0 = part
  459. weld.Part1 = plr.Character["Right Arm"]
  460. weld.C0 = CFrame.new(0,1.25,0)
  461. for i=1,5 do
  462. local mouse = mou
  463. targ = mouse.Target
  464. if targ then
  465. hum = targ.Parent:findFirstChild("Humanoid")
  466. Hit = mouse.hit
  467. local P = Instance.new("Part")
  468. P.Name = "Guideline"
  469. P.Material = Enum.Material.Neon
  470. local Place0 = part.CFrame
  471. P.formFactor = 0
  472. P.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
  473. if plr.Character:FindFirstChild('Right Arm') then
  474. for i,v in pairs(plr.Character:FindFirstChild('Right Arm'):GetChildren()) do
  475. if v:IsA('Sound') and v.Name == "Electricity" then
  476. if Place0 and Hit and (Place0.p - Hit.p).magnitude >= 20 then
  477. v.MaxDistance = (Place0.p - Hit.p).magnitude
  478. v.EmitterSize = (Place0.p - Hit.p).magnitude
  479. elseif Place0 and Hit then
  480. v.MaxDistance = 20
  481. v.EmitterSize = 20
  482. end
  483. end
  484. end
  485. end
  486. P.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
  487. P.Parent = parent
  488. P.BrickColor = BrickColor.Yellow()
  489. P.Anchored = true
  490. P.CanCollide = false
  491. P.Transparency = 1
  492. local m = Instance.new("BlockMesh")
  493. m.Scale = Vector3.new(0.1,0.1,1)
  494. m.Parent = P
  495. local mh = mouse.Hit
  496. for c1 = 1, 1 do
  497. oldHit = part.CFrame
  498. for count = 1, 9 do
  499. local val1 = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  500. local val2 = P.Size.z / 10
  501. local val3 = P.CFrame.lookVector * -1
  502. local val4 = count * val2
  503. local val5 = val4 * val3
  504. local val6 = part.CFrame.p
  505. local Hit = CFrame.new(val5 + val1 + val6)
  506. local s = Instance.new("Part")
  507. s.Name = "Spark"
  508. s.Material = Enum.Material.Neon
  509. local Place0 = oldHit
  510. s.formFactor = 0
  511. s.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
  512. s.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
  513. s.Parent = parent
  514. s.BrickColor = BrickColor.new('Gold')
  515. s.Anchored = true
  516. s.CanCollide = false
  517. m = Instance.new("BlockMesh")
  518. m.Scale = Vector3.new(0.1,0.1,1)
  519. m.Parent = s
  520. local clone = s:clone()
  521. clone.Mesh.Scale = Vector3.new(0.3,0.3,1.1)
  522. clone.BrickColor = BrickColor.new('Electric blue')
  523. clone.Transparency = 0.8
  524. clone.Parent = s.Parent
  525. oldHit = Hit
  526. end
  527. Hit = oldHit
  528. local s = Instance.new("Part")
  529. s.Name = "Spark"
  530. s.Material = Enum.Material.Neon
  531. local Place0 = mh
  532. s.formFactor = 0
  533. s.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
  534. s.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
  535. s.Parent = parent
  536. s.BrickColor = BrickColor.new('Gold')
  537. s.Anchored = true
  538. s.CanCollide = false
  539. m = Instance.new("BlockMesh")
  540. m.Scale = Vector3.new(0.1,0.1,1)
  541. m.Parent = s
  542. local clone = s:clone()
  543. clone.Mesh.Scale = Vector3.new(0.3,0.3,1.1)
  544. clone.BrickColor = BrickColor.new('Electric blue')
  545. clone.Transparency = 0.8
  546. clone.Parent = s.Parent
  547. gettouching(part.Position,mou.Hit.p,parent)
  548. end
  549. P:remove()
  550. end
  551. end
  552. end
  553.  
  554. function chokearms(chr)
  555. if chr:FindFirstChild('Torso') then
  556. if chr:FindFirstChild('Right Arm') then
  557. if chr.Torso:FindFirstChild('Right Shoulder') then
  558. chr.Torso["Right Shoulder"]:Destroy()
  559. end
  560. local thing = Instance.new('Weld',chr.Torso)
  561. thing.Name = "Right Shoulder"
  562. thing.Part0 = chr.Torso
  563. thing.Part1 = chr["Right Arm"]
  564. thing.C0 = CFrame.new(0.811074257, 0.835914135, -0.381313324, 0.27563563, 0.961260796, 2.0569455e-06, 0.488285512, -0.140010983, -0.861379266, -0.828009903, 0.237427771, -0.50796169)
  565. end
  566. if chr:FindFirstChild('Left Arm') then
  567. if chr.Torso:FindFirstChild('Left Shoulder') then
  568. chr.Torso["Left Shoulder"]:Destroy()
  569. end
  570. local thing = Instance.new('Weld',chr.Torso)
  571. thing.Name = "Left Shoulder"
  572. thing.Part0 = chr["Left Arm"]
  573. thing.Part1 = chr.Torso
  574. thing.C0 = CFrame.new(0.962814331, -0.457080841, 0.306755066, 0.309041202, -0.579310298, 0.754249752, -0.951046288, -0.188228443, 0.245104745, -2.09111568e-05, -0.793076754, -0.609121859)
  575. end
  576. end
  577. end
  578.  
  579. function fixarms(chr)
  580. if chr:FindFirstChild('Torso') then
  581. for i,v in pairs(chr.Torso:GetChildren()) do
  582. if v.Name == "Right Shoulder" or v.Name == "Left Shoulder" then
  583. v:Destroy()
  584. end
  585. end
  586. if chr:FindFirstChild('Right Arm') then
  587. local rs = Instance.new('Motor6D',chr.Torso)
  588. rs.Name = "Right Shoulder"
  589. rs.Part0 = chr.Torso
  590. rs.Part1 = chr:FindFirstChild('Right Arm')
  591. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  592. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  593. end
  594. if chr:FindFirstChild('Left Arm') then
  595. local ls = Instance.new('Motor6D',chr.Torso)
  596. ls.Name = "Left Shoulder"
  597. ls.Part0 = chr.Torso
  598. ls.Part1 = chr:FindFirstChild('Left Arm')
  599. ls.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  600. ls.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  601. end
  602. end
  603. end
  604.  
  605. mou.KeyDown:connect(function(key)
  606. if key == "f" and mou.Target and zapping == false then
  607. if choking == false then
  608. local hum = mou.Target.Parent:FindFirstChildOfClass('Humanoid')
  609.  
  610. if hum == nil then
  611. hum = mou.Target.Parent.Parent:FindFirstChildOfClass('Humanoid')
  612. end
  613.  
  614. if hum and hum.Parent:FindFirstChild('Torso') and hum.Health > 0 then
  615. beforehealth = hum.Health
  616. choking = true
  617. target = hum.Parent.Torso
  618. local sound = Instance.new('Sound',target)
  619. sound.Volume = 5
  620. sound.EmitterSize = 50
  621. sound.MaxDistance = 100
  622. sound.SoundId = 'rbxassetid://1305945173'
  623. sound.Looped = false
  624. sound.PlaybackSpeed = 0.75
  625. sound.Name = "Choking"
  626. sound:Play()
  627. startpos = target.CFrame
  628. chokearms(target.Parent)
  629. local bod = Instance.new('BodyPosition',hum.Parent.Torso)
  630. bod.Position = target.Position+Vector3.new(0,12,0)
  631. bod.MaxForce = Vector3.new(100000,100000,100000)
  632. bod.P = 1000
  633. bod.D = 500
  634. end
  635. if target and target:FindFirstChild('Breathing') then
  636. target.Breathing:Destroy()
  637. end
  638. local coru = coroutine.wrap(function()
  639. while timez < 5 and choking do
  640. timez = timez + 0.1
  641. if target.Parent:FindFirstChildOfClass('Humanoid') then
  642. if target.Parent:FindFirstChildOfClass('Humanoid').Health - (beforehealth/49) > 0 then
  643. target.Parent:FindFirstChildOfClass('Humanoid').Health = target.Parent:FindFirstChildOfClass('Humanoid').Health - (beforehealth/49)
  644. end
  645. end
  646. wait(0.1)
  647. end
  648. if timez >= 5 then
  649. if target and target.Parent and target.Parent:FindFirstChildOfClass('Humanoid') and target.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
  650. if target and target:FindFirstChild('Choking') then
  651. target.Choking:Stop()
  652. target.Choking:Destroy()
  653. end
  654. if target then
  655. for i,v in pairs(target:GetChildren()) do
  656. if v:IsA("BodyPosition") then
  657. v:Destroy()
  658. end
  659. end
  660. end
  661. Kill(target.Parent,false,false)
  662. end
  663. end
  664. target = nil
  665. choking = false
  666. startpos = CFrame.new(0,0,0)
  667. timez = 0
  668. for i,v in pairs(plr.Character.Torso:GetChildren()) do
  669. if v.Name == "Right Shoulder" and v:IsA('Weld') then
  670. v:Destroy()
  671. end
  672. end
  673. if plr.Character.Torso:FindFirstChild('Right Shoulder') == nil then
  674. local rs = Instance.new('Motor6D',plr.Character.Torso)
  675. rs.Name = "Right Shoulder"
  676. rs.Part0 = plr.Character.Torso
  677. rs.Part1 = plr.Character:FindFirstChild('Right Arm')
  678. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  679. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  680. end
  681. end)
  682. coru()
  683. else
  684. if target and target:FindFirstChild('Choking') then
  685. fixarms(target.Parent)
  686. target.Choking:Stop()
  687. target.Choking:Destroy()
  688. local sound = Instance.new('Sound',target)
  689. sound.Volume = 5
  690. sound.EmitterSize = 50
  691. sound.MaxDistance = 100
  692. sound.SoundId = 'rbxassetid://304511128'
  693. sound.Looped = true
  694. sound.PlaybackSpeed = 1
  695. sound.Name = "Breathing"
  696. sound:Play()
  697. game:GetService('Debris'):AddItem(sound,timez)
  698. for i,v in pairs(target:GetChildren()) do
  699. if v:IsA("BodyPosition") then
  700. v:Destroy()
  701. end
  702. end
  703. end
  704. if target.Parent:FindFirstChildOfClass('Humanoid') then
  705. target.Parent:FindFirstChildOfClass('Humanoid').Health = beforehealth
  706. end
  707. target = nil
  708. choking = false
  709. startpos = CFrame.new(0,0,0)
  710. timez = 0
  711. end
  712. elseif key == "g" and choking == false then
  713. zapping = true
  714. local electricity = Instance.new("Sound",plr.Character:FindFirstChild('Right Arm'))
  715. electricity.Name = "Electricity"
  716. electricity.SoundId = "rbxassetid://1178591213"
  717. electricity.Volume = 5
  718. electricity.EmitterSize = 100
  719. electricity.MaxDistance = 100
  720. electricity.Looped = true
  721. electricity:Play()
  722. end
  723. end)
  724.  
  725. mou.KeyUp:connect(function(key)
  726. if key == "g" then
  727. zapping = false
  728. if plr.Character:FindFirstChild('Right Arm') then
  729. for i,v in pairs(plr.Character:FindFirstChild('Right Arm'):GetChildren()) do
  730. if v:IsA('Sound') and v.Name == "Electricity" then
  731. v:Destroy()
  732. end
  733. end
  734. end
  735. end
  736. end)
  737.  
  738.  
  739. while true do
  740. if choking and plr.Character and target and target.Parent and plr.Character:FindFirstChild('Head') and plr.Character:FindFirstChild('Right Arm') and plr.Character:FindFirstChild('Torso') then
  741. for i,v in pairs(plr.Character.Torso:GetChildren()) do
  742. if v.Name == "Right Shoulder" then
  743. v:Destroy()
  744. end
  745. end
  746. local Head = plr.Character.Head
  747. local RightArm = plr.Character["Right Arm"]
  748. local RightShoulder = Instance.new('Weld',plr.Character.Torso)
  749. RightShoulder.Name = "Right Shoulder"
  750. RightShoulder.Part0 = plr.Character.Torso
  751. RightShoulder.Part1 = RightArm
  752. RightShoulder.C0 = CFrame.new(1,1,-0.75)
  753. local MousePosition = target.Position+(target.Size/2)
  754. local ToMouse = (MousePosition - Head.Position).unit
  755. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  756. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  757. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  758. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  759. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  760. if tostring(LateralAngle) == "-1.#IND" then
  761. LateralAngle = 0
  762. end
  763. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  764. local change = false
  765. if LateralAngle > (math.pi / 2) then
  766. LateralAngle = (math.pi / 2)
  767. change = true
  768. end
  769. if Cross.Y < 0 then
  770. LateralAngle = -LateralAngle
  771. end
  772. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)
  773. for i,v in pairs(target.Parent:GetChildren()) do
  774. if v:IsA('Tool') then
  775. v.ManualActivationOnly = true
  776. end
  777. end
  778. elseif zapping == false and plr and plr.Character and plr.Character:FindFirstChild("Torso") and plr.Character:FindFirstChild('Right Arm') then
  779. for i,v in pairs(plr.Character.Torso:GetChildren()) do
  780. if v.Name == "Right Shoulder" and v:IsA('Weld') then
  781. v:Destroy()
  782. end
  783. end
  784. if target then
  785. for i,v in pairs(target:GetChildren()) do
  786. if v:IsA("BodyPosition") then
  787. v:Destroy()
  788. end
  789. end
  790. if plr.Character.Torso:FindFirstChild('Right Shoulder') == nil then
  791. local rs = Instance.new('Motor6D',plr.Character.Torso)
  792. rs.Name = "Right Shoulder"
  793. rs.Part0 = plr.Character.Torso
  794. rs.Part1 = plr.Character:FindFirstChild('Right Arm')
  795. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  796. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  797. end
  798. if target.Parent then
  799. for i,v in pairs(target.Parent:GetChildren()) do
  800. if v:IsA('Tool') then
  801. v.ManualActivationOnly = false
  802. end
  803. end
  804. end
  805. end
  806. target = nil
  807. choking = false
  808. startpos = CFrame.new(0,0,0)
  809. timez = 0
  810. end
  811. if zapping and plr.Character and mou.Hit and plr.Character:FindFirstChild('Head') and plr.Character:FindFirstChild('Right Arm') and plr.Character:FindFirstChild('Torso') then
  812. if lastzap then
  813. lastzap:Destroy()
  814. lastzap = nil
  815. end
  816. for i,v in pairs(plr.Character.Torso:GetChildren()) do
  817. if v.Name == "Right Shoulder" then
  818. v:Destroy()
  819. end
  820. end
  821. local Head = plr.Character.Head
  822. local RightArm = plr.Character["Right Arm"]
  823. local RightShoulder = Instance.new('Weld',plr.Character.Torso)
  824. RightShoulder.Name = "Right Shoulder"
  825. RightShoulder.Part0 = plr.Character.Torso
  826. RightShoulder.Part1 = RightArm
  827. RightShoulder.C0 = CFrame.new(1,1,-0.75)
  828. local MousePosition = mou.Hit.p
  829. local ToMouse = (MousePosition - Head.Position).unit
  830. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  831. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  832. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  833. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  834. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  835. if tostring(LateralAngle) == "-1.#IND" then
  836. LateralAngle = 0
  837. end
  838. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  839. local change = false
  840. if LateralAngle > (math.pi / 2) then
  841. LateralAngle = (math.pi / 2)
  842. change = true
  843. end
  844. if Cross.Y < 0 then
  845. LateralAngle = -LateralAngle
  846. end
  847. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)
  848. local thing = Instance.new('Model',workspace)
  849. thing.Name = "Zap"
  850. lastzap = thing
  851. makelaser(thing)
  852. elseif choking == false and zapping == false then
  853. if lastzap then
  854. lastzap:Destroy()
  855. lastzap = nil
  856. end
  857. if plr.Character:FindFirstChild('Torso') then
  858. for i,v in pairs(plr.Character.Torso:GetChildren()) do
  859. if v.Name == "Right Shoulder" and v:IsA('Weld') then
  860. v:Destroy()
  861. end
  862. end
  863. if plr.Character.Torso:FindFirstChild('Right Shoulder') == nil then
  864. local rs = Instance.new('Motor6D',plr.Character.Torso)
  865. rs.Name = "Right Shoulder"
  866. rs.Part0 = plr.Character.Torso
  867. rs.Part1 = plr.Character:FindFirstChild('Right Arm')
  868. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  869. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  870. end
  871. end
  872. end
  873. wait()
  874. end
  875. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement