Dark_EccentricYT

Untitled

Apr 2nd, 2021 (edited)
19,484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.41 KB | None | 0 0
  1. --Run this first!: https://pastebin.com/raw/rRiASqw8
  2. --https://www.roblox.com/catalog/5100070995/Mk-73-Big-Laser
  3. local unanchoredparts = {}
  4. local movers = {}
  5. local tog = true
  6. local move = false
  7. local Player = game:GetService("Players").LocalPlayer
  8. local Character = Player.Character.Dummy
  9. local tor = Character["Right Arm"]
  10. local mov = {};
  11. local mov2 = {};
  12.  
  13. local cool = "Cool"
  14. local x = 0
  15. local y = -1.086
  16. local z = 0.808
  17.  
  18. local Hats = {but1 = game.Players.LocalPlayer.Character:WaitForChild("RightMk73LP"),
  19. }
  20.  
  21. for i,v in next, Hats do
  22. v.Handle.AccessoryWeld:Remove()
  23. end
  24.  
  25. function ftp(str)
  26. local pt = {};
  27. if str ~= 'me' and str ~= 'random' then
  28. for i, v in pairs(game.Players:GetPlayers()) do
  29. if v.Name:lower():find(str:lower()) then
  30. table.insert(pt, v);
  31. end
  32. end
  33. elseif str == 'me' then
  34. table.insert(pt, plr);
  35. elseif str == 'random' then
  36. table.insert(pt, game.Players:GetPlayers()[math.random(1, #game.Players:GetPlayers())]);
  37. end
  38. return pt;
  39. end
  40.  
  41. local function align(i,v)
  42. local att0 = Instance.new("Attachment", i)
  43. att0.Position = Vector3.new(0,0,0)
  44. local att1 = Instance.new("Attachment", v)
  45. att1.Position = Vector3.new(0,0,0)
  46. local AP = Instance.new("AlignPosition", i)
  47. AP.Attachment0 = att0
  48. AP.Attachment1 = att1
  49. AP.RigidityEnabled = false
  50. AP.ReactionForceEnabled = false
  51. AP.ApplyAtCenterOfMass = true
  52. AP.MaxForce = 9999999
  53. AP.MaxVelocity = math.huge
  54. AP.Responsiveness = 652
  55. local AO = Instance.new("AlignOrientation", i)
  56. AO.Attachment0 = att0
  57. AO.Attachment1 = att1
  58. AO.ReactionTorqueEnabled = true
  59. AO.PrimaryAxisOnly = false
  60. AO.MaxTorque = 9999999
  61. AO.MaxAngularVelocity = math.huge
  62. AO.Responsiveness = 502
  63. end
  64.  
  65. Hats.but1.Handle.Size = Vector3.new(0.001, 0.001, 0.001)
  66.  
  67. align(Hats.but1.Handle, Character["Right Arm"])
  68.  
  69. Character:WaitForChild("Right Arm"):FindFirstChild("Attachment").Name = "Attachment1"
  70.  
  71.  
  72. h = Instance.new("Attachment",phandle)
  73. h.Rotation = Vector3.new(0, 0, 0)
  74. h.Position = Vector3.new(0, 0, 0)
  75.  
  76. lg = Instance.new("Attachment",tor)
  77. lg.Rotation = Vector3.new(0, 0, 0)
  78. lg.Position = Vector3.new(0, 0, -1.386)
  79.  
  80. gap = Instance.new("AlignPosition",phandle)
  81. gap.Attachment0 = h
  82. gap.Attachment1 = lg
  83. gap.RigidityEnabled = true
  84.  
  85. gao = Instance.new("AlignOrientation",phandle)
  86. gao.Attachment0 = h
  87. gao.Attachment1 = lg
  88. gao.RigidityEnabled = true
  89.  
  90. local alignpos = Instance.new("AlignPosition", Character)
  91. local alignorien = Instance.new("AlignOrientation", Character)
  92. alignpos.Attachment0 = att1
  93. alignpos.Attachment1 = att2
  94. alignpos.RigidityEnabled = false
  95. alignpos.ReactionForceEnabled = false
  96. alignpos.ApplyAtCenterOfMass = true
  97. alignpos.MaxForce = 99999999
  98. alignpos.MaxVelocity = math.huge
  99. alignpos.Responsiveness = 502
  100. alignorien.Attachment0 = att1
  101. alignorien.Attachment1 = att2
  102. alignorien.ReactionTorqueEnabled = false
  103. alignorien.PrimaryAxisOnly = false
  104. alignorien.MaxTorque = 99999999
  105. alignorien.MaxAngularVelocity = math.huge
  106. alignorien.Responsiveness = 502
  107.  
  108. Wait(0.5)
  109.  
  110. --Converted with ttyyuu12345's model to script plugin v4
  111. --By Rufus14
  112.  
  113. local ToolName = "RightMk73LP"
  114.  
  115. mouse = game.Players.LocalPlayer:GetMouse()
  116. game.Players.LocalPlayer.Character.Dummy.Humanoid.MaxHealth = math.huge
  117. game.Players.LocalPlayer.Character.Dummy.Humanoid.Health = math.huge
  118. function sandbox(var,func)
  119. local env = getfenv(func)
  120. local newenv = setmetatable({},{
  121. __index = function(self,k)
  122. if k=="script" then
  123. return var
  124. else
  125. return env[k]
  126. end
  127. end,
  128. })
  129. setfenv(func,newenv)
  130. return func
  131. end
  132. cors = {}
  133. mas = Instance.new("Model",game:GetService("Lighting"))
  134. Part0 = Instance.new("Part")
  135.  
  136. local athp = Instance.new("Attachment",Part0)
  137. local atho = Instance.new("Attachment",Part0)
  138.  
  139. if ToolName then
  140. game.Players.LocalPlayer.Character[ToolName].Handle:FindFirstChildOfClass("AlignPosition").Attachment1 = athp
  141. game.Players.LocalPlayer.Character[ToolName].Handle:FindFirstChildOfClass("AlignOrientation").Attachment1 = atho
  142. atho.Rotation = Vector3.new(180,-100,0)
  143. end
  144.  
  145. SpecialMesh1 = Instance.new("SpecialMesh")
  146. Part0.Name = "Gun"
  147. Part0.Parent = mas
  148. Part0.CanCollide = false
  149. Part0.Size = Vector3.new(0.970000505, 2.46999931, 0.380000055)
  150. Part0.CFrame = CFrame.new(-211.74501, 2.6168952, 37.920002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  151. Part0.Position = Vector3.new(-211.74501, 2.6168952, 37.920002)
  152. SpecialMesh1.Parent = Part0
  153. SpecialMesh1.MeshId = "rbxassetid://nO"
  154. SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
  155. SpecialMesh1.TextureId = "rbxassetid://nO"
  156. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  157. SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
  158. for i,v in pairs(mas:GetChildren()) do
  159. v.Parent = game:GetService("Players").LocalPlayer.Character.Dummy
  160. pcall(function() v:MakeJoints() end)
  161. end
  162. mas:Destroy()
  163. for i,v in pairs(cors) do
  164. spawn(function()
  165. pcall(v)
  166. end)
  167. end
  168. cankys = true
  169. weld = Instance.new("Weld", Part0)
  170. weld.Part0 = game.Players.LocalPlayer.Character.Dummy["Left Arm"]
  171. weld.Part1 = Part0
  172. weld.C0 = CFrame.new(0.158004761, -1.63815379, -1.00455856, -5.79879307e-22, 9.29214533e-23, 1, -0.587791622, -0.809012473, -2.65673535e-22, 0.809012473, -0.587791622, 5.23747954e-22)
  173. function killyourself(key)
  174. if cankys then
  175. cankys = false
  176. if game.Players.LocalPlayer.Character.Dummy.Head:findFirstChild("face") then
  177. game.Players.LocalPlayer.Character.Dummy.Head.face.Texture = "rbxassetid://1148787155"
  178. end
  179. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Dummy.Torso)
  180. rhandweld.Part0 = game.Players.LocalPlayer.Character.Dummy.Torso
  181. rhandweld.Part1 = game.Players.LocalPlayer.Character.Dummy["Right Arm"]
  182. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  183. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Dummy.Torso)
  184. lhandweld.Part0 = game.Players.LocalPlayer.Character.Dummy.Torso
  185. lhandweld.Part1 = game.Players.LocalPlayer.Character.Dummy["Left Arm"]
  186. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  187. for i = 0,2 , 0.02 do
  188. weld.C0 = weld.C0:lerp(CFrame.new(0.720336914, -0.258590698, -0.514060974, 0.409927189, 0.572569966, -0.710018694, 0.0567400455, 0.760912359, 0.646370947, 0.910354853, -0.305250764, 0.279430419),i)
  189. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.832244873, 0.405325174, -1.44667816, 0.719340205, -0.634600103, -0.28254649, -0.214658037, 0.183768019, -0.959245205, 0.660660148, 0.750674427, -0.00403028121),i)
  190. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.921920776, 0.294008493, -1.1861496, 0.88295126, 0.469464868, 6.12843053e-07, -0.0490720123, 0.0922940373, -0.994521856, -0.466893107, 0.878114343, 0.104528703),i)
  191. game:GetService("RunService").RenderStepped:wait()
  192. end
  193. script.Parent = nil
  194. function ragdoll()
  195. game.Players.LocalPlayer.Character.Dummy.Archivable = true
  196. clone = game.Players.LocalPlayer.Character.Dummy:Clone()
  197. clone.Parent = workspace
  198. for i,v in pairs(clone:GetChildren()) do
  199. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  200. v:destroy()
  201. end
  202. for i,p in pairs(v:GetChildren()) do
  203. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  204. p:destroy()
  205. end
  206. end
  207. end
  208. for i,t in pairs(game.Players.LocalPlayer.Character.Dummy:GetChildren()) do
  209. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  210. t:destroy()
  211. end
  212. end
  213. vel = Instance.new("BodyVelocity", clone.Torso)
  214. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  215. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  216. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=305296807"
  217. using = false
  218. hit = Instance.new("Sound", clone.Torso)
  219. hit.SoundId = "rbxassetid://260430060"
  220. hit.Volume = 0
  221. hit1 = Instance.new("Sound", clone.Torso)
  222. hit1.SoundId = "rbxassetid://138087186"
  223. hit1.Volume = 0
  224. hit2 = Instance.new("Sound", clone.Torso)
  225. hit2.SoundId = "rbxassetid://131237241"
  226. hit2.Volume = 0
  227. hit3 = Instance.new("Sound", clone.Torso)
  228. hit3.SoundId = "rbxassetid://278062209"
  229. hit3.Volume = 0
  230. hit3.TimePosition = 0.33
  231. ded = Instance.new("Sound", clone.Torso)
  232. ded.SoundId = "rbxassetid://304679846"
  233. ded.Volume = 10
  234. local leftarm = clone:findFirstChild("Left Arm")
  235. local rightrm = clone:findFirstChild("Right Arm")
  236. local leftleg = clone:findFirstChild("Left Leg")
  237. local rightleg = clone:findFirstChild("Right Leg")
  238. local head = clone:findFirstChild("Head")
  239. for i, g in pairs(game.Players.LocalPlayer.Character.Dummy:GetChildren()) do
  240. if g.ClassName == "Part" then
  241. g:destroy()
  242. end
  243. end
  244. for i, h in pairs(game.Players.LocalPlayer.Character.Dummy:GetChildren()) do
  245. if h.ClassName == "Accesory" then
  246. h:destroy()
  247. end
  248. end
  249. game.Workspace.CurrentCamera.CameraSubject = head
  250. if head then
  251. local attachment = Instance.new("Attachment", clone.Head)
  252. attachment.Position = Vector3.new(0, -0.5, 0)
  253. attachment.Name = "lol"
  254. attachment.Visible = false
  255. clone.Torso.NeckAttachment.Visible = false
  256. clone.Torso.NeckAttachment.Position = clone.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  257. local ball = Instance.new("BallSocketConstraint", clone)
  258. ball.Attachment0 = clone.Torso.NeckAttachment
  259. ball.Attachment1 = attachment
  260. ball.LimitsEnabled = true
  261. ball.TwistLimitsEnabled = true
  262. ball.UpperAngle = 90
  263. ball.Restitution = 0.5
  264. ball.TwistUpperAngle = 90
  265. ball.TwistLowerAngle = -90
  266. local collidepartofleftleg = Instance.new("Part", clone.Torso)
  267. collidepartofleftleg.Name = "Bone"
  268. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  269. collidepartofleftleg.Transparency = 1
  270. collidepartofleftleg:BreakJoints()
  271. local weeld = Instance.new("Weld", collidepartofleftleg)
  272. weeld.Part0 = collidepartofleftleg
  273. weeld.Part1 = clone["Head"]
  274. end
  275. if leftleg ~= nil then
  276. local glue = Instance.new("Glue", clone.Torso)
  277. glue.Part0 = clone.Torso
  278. glue.Part1 = leftleg
  279. glue.Name = "Left leg"
  280. local collider = Instance.new("Part", leftleg)
  281. collider.Position = Vector3.new(0,999,0)
  282. collider.Size = Vector3.new(1.5, 1, 1)
  283. collider.Shape = "Cylinder"
  284. local weld = Instance.new("Weld", collider)
  285. weld.Part0 = leftleg
  286. weld.Part1 = collider
  287. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  288. collider.TopSurface = "Smooth"
  289. collider.BottomSurface = "Smooth"
  290. collider.formFactor = "Symmetric"
  291. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  292. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  293. collider.Transparency = 1
  294. end
  295. ------------
  296. if rightleg ~= nil then
  297. local glue1 = Instance.new("Glue", clone.Torso)
  298. glue1.Part0 = clone.Torso
  299. glue1.Part1 = rightleg
  300. glue1.Name = "Right leg"
  301. local collider1 = Instance.new("Part", rightleg)
  302. collider1.Position = Vector3.new(0,999,0)
  303. collider1.Size = Vector3.new(1.5, 1, 1)
  304. collider1.Shape = "Cylinder"
  305. local weld1 = Instance.new("Weld", collider1)
  306. weld1.Part0 = rightleg
  307. weld1.Part1 = collider1
  308. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  309. collider1.TopSurface = "Smooth"
  310. collider1.BottomSurface = "Smooth"
  311. collider1.formFactor = "Symmetric"
  312. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  313. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  314. collider1.Transparency = 1
  315. end
  316. ------------
  317. if rightrm ~= nil then
  318. local glue11 = Instance.new("Glue", clone.Torso)
  319. glue11.Part0 = clone.Torso
  320. glue11.Part1 = rightrm
  321. glue11.Name = "Right shoulder"
  322. local collider11 = Instance.new("Part", rightrm)
  323. collider11.Position = Vector3.new(0,9999,0)
  324. collider11.Size = Vector3.new(1.5,1,1)
  325. collider11.Shape = "Cylinder"
  326. local weld11 = Instance.new("Weld", collider11)
  327. weld11.Part0 = rightrm
  328. weld11.Part1 = collider11
  329. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  330. collider11.TopSurface = "Smooth"
  331. collider11.BottomSurface = "Smooth"
  332. collider11.formFactor = "Symmetric"
  333. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  334. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  335. collider11.Transparency = 1
  336. end
  337. ------------
  338. if leftarm ~= nil then
  339. local glue111 = Instance.new("Glue", clone.Torso)
  340. glue111.Part0 = clone.Torso
  341. glue111.Part1 = leftarm
  342. glue111.Name = "Left shoulder"
  343. local collider111 = Instance.new("Part", leftarm)
  344. collider111.Position = Vector3.new(0,9999,0)
  345. collider111.Size = Vector3.new(1.5,1,1)
  346. collider111.Shape = "Cylinder"
  347. local weld111 = Instance.new("Weld", collider111)
  348. weld111.Part0 = leftarm
  349. weld111.Part1 = collider111
  350. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  351. collider111.TopSurface = "Smooth"
  352. collider111.BottomSurface = "Smooth"
  353. collider111.formFactor = "Symmetric"
  354. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  355. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  356. collider111.Transparency = 1
  357. ----------------
  358. sensoring = Instance.new("Part", clone.Torso)
  359. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  360. sensoring.CanCollide = false
  361. sensoring.Position = clone.Torso.Position
  362. local welder = Instance.new("Weld", sensoring)
  363. welder.Part0 = clone.Torso
  364. welder.Part1 = sensoring
  365. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  366. sensoring.Transparency = 1
  367. -----------------
  368. sensoring1 = Instance.new("Part", clone.Torso)
  369. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  370. sensoring1.CanCollide = false
  371. sensoring1.Position = clone.Torso.Position
  372. local welder1 = Instance.new("Weld", sensoring)
  373. welder1.Part0 = clone.Torso
  374. welder1.Part1 = sensoring1
  375. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  376. sensoring1.Transparency = 1
  377. end
  378. ded:Play()
  379. vel:destroy()
  380. wait(0.5)
  381. local function touch()
  382. if not using then
  383. using = true
  384. local Math = math.random(1,4)
  385. if Math == 1 then
  386. hit:Play()
  387. end
  388. if Math == 2 then
  389. hit1:Play()
  390. end
  391. if Math == 3 then
  392. hit2:Play()
  393. end
  394. if Math == 4 then
  395. hit3:Play()
  396. end
  397. wait(0.1)
  398. using = false
  399. end
  400. end
  401. sensoring.Touched:connect(touch)
  402. sensoring1.Touched:connect(touch)
  403. while true do
  404. clone.Head.CanCollide = false
  405. game:GetService("RunService").Stepped:wait()
  406. end
  407. end
  408.  
  409. game.Players.LocalPlayer.Character.Dummy.Humanoid.Died:connect(ragdoll)
  410.  
  411. --di ent
  412. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  413. end
  414. end
  415. mouse.Button1Down:connect(killyourself)
Add Comment
Please, Sign In to add comment