Advertisement
RobloxScriptzzz

Heal Script

Oct 15th, 2017
14,192
2
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.36 KB | None | 2 0
  1. --Suicide Injection by DMS use to KMS at cringey things
  2. local OKOKOKOKOKAYY = function(f,scri)
  3. local oldenv = getfenv(f)
  4. local newenv = setmetatable({}, {
  5. __index = function(_, k)
  6. if k:lower() == 'script' then
  7. return scri
  8. else
  9. return oldenv[k]
  10. end
  11. end
  12. })
  13. setfenv(f, newenv)
  14. ypcall(function() f() end)
  15. end
  16. cors = {}
  17. o1 = Instance.new("Tool")
  18. o1.Name = "SUICIDE"
  19. o2 = Instance.new("BoolValue")
  20. o2.Name = "Empty"
  21. o2.Parent = o1
  22. o3 = Instance.new("Script")
  23. o3.Name = "InjectScript"
  24. o3.Parent = o1
  25. table.insert(cors,coroutine.create(function()
  26. wait()
  27. OKOKOKOKOKAYY(function()
  28. up=Vector3.new(-0.3, -1, 0.3)
  29. pos=Vector3.new(0.9, 2, 1.5)
  30.  
  31. up2=Vector3.new(0, 1, 0)
  32. pos2=Vector3.new(0, 0, 0)
  33.  
  34. enabled = true
  35. function onActivated()
  36.  
  37. if not enabled then
  38. return
  39. end
  40.  
  41. enabled = false
  42.  
  43. if script.Parent.Empty.Value==true then return end
  44.  
  45. local tool=script.Parent
  46. tool.GripPos=pos
  47. tool.GripUp=up
  48.  
  49. local f=tool.Formula.Mesh
  50. local h=tool.Handle.Mesh
  51. local pc=tool.PushCap.Mesh
  52. local ps=tool.PushShaft.Mesh
  53.  
  54. f.Offset=Vector3.new(0,0.03,0)
  55. f.Scale=Vector3.new(0.1,0.85,0.1)
  56. h.Offset=Vector3.new(0,0.05,0)
  57. pc.Offset=Vector3.new(0,0.05,0)
  58. ps.Offset=Vector3.new(0,0.05,0)
  59.  
  60. wait(2)
  61.  
  62. f.Offset=Vector3.new(0,0.06,0)
  63. f.Scale=Vector3.new(0.1,0.65,0.1)
  64. h.Offset=Vector3.new(0,0.1,0)
  65. pc.Offset=Vector3.new(0,0.1,0)
  66. ps.Offset=Vector3.new(0,0.1,0)
  67.  
  68. wait(0.1)
  69.  
  70. f.Offset=Vector3.new(0,0.12,0)
  71. f.Scale=Vector3.new(0.1,0.45,0.1)
  72. h.Offset=Vector3.new(0,0.2,0)
  73. pc.Offset=Vector3.new(0,0.2,0)
  74. ps.Offset=Vector3.new(0,0.2,0)
  75.  
  76. wait(0.1)
  77.  
  78. f.Offset=Vector3.new(0,0.12,0)
  79. f.Scale=Vector3.new(0.1,0.35,0.1)
  80. h.Offset=Vector3.new(0,0.25,0)
  81. pc.Offset=Vector3.new(0,0.25,0)
  82. ps.Offset=Vector3.new(0,0.25,0)
  83.  
  84. wait(0.1)
  85.  
  86. f.Offset=Vector3.new(0,0.15,0)
  87. f.Scale=Vector3.new(0.1,0.25,0.1)
  88. h.Offset=Vector3.new(0,0.3,0)
  89. pc.Offset=Vector3.new(0,0.3,0)
  90. ps.Offset=Vector3.new(0,0.3,0)
  91.  
  92. wait(0.1)
  93.  
  94. f.Offset=Vector3.new(0,0.18,0)
  95. f.Scale=Vector3.new(0.1,0.1,0.1)
  96. h.Offset=Vector3.new(0,0.35,0)
  97. pc.Offset=Vector3.new(0,0.35,0)
  98. ps.Offset=Vector3.new(0,0.35,0)
  99.  
  100. local vPlayer=game.Players:GetPlayerFromCharacter(tool.Parent)
  101. local vCharacter=vPlayer.Character
  102. effect=tool.EffectScript:clone()
  103. effect.Disabled=false
  104. effect.Parent=vCharacter
  105.  
  106. wait(2)
  107.  
  108. tool.GripPos=pos2
  109. tool.GripUp=up2
  110. tool.Empty.Value=true
  111.  
  112. tool:Remove()
  113.  
  114. enabled = true
  115. end
  116.  
  117.  
  118. function onEquipped()
  119. print("Equipped")
  120. end
  121.  
  122.  
  123. script.Parent.Activated:connect(onActivated)
  124. script.Parent.Equipped:connect(onEquipped)
  125.  
  126. end,o3)
  127. end))
  128. o4 = Instance.new("Script")
  129. o4.Name = "Weld"
  130. o4.Parent = o1
  131. table.insert(cors,coroutine.create(function()
  132. wait()
  133. OKOKOKOKOKAYY(function()
  134. function Weld(x,y)
  135. local W = Instance.new("Weld")
  136. W.Part0 = x
  137. W.Part1 = y
  138. local CJ = CFrame.new(x.Position)
  139. local C0 = x.CFrame:inverse()*CJ
  140. local C1 = y.CFrame:inverse()*CJ
  141. W.C0 = C0
  142. W.C1 = C1
  143. W.Parent = x
  144. end
  145.  
  146. function Get(A)
  147. if A.className == "Part" then
  148. Weld(script.Parent.Handle, A)
  149. A.Anchored = false
  150. else
  151. local C = A:GetChildren()
  152. for i=1, #C do
  153. Get(C[i])
  154. end
  155. end
  156. end
  157.  
  158. function Finale()
  159. Get(script.Parent)
  160. end
  161.  
  162. script.Parent.Equipped:connect(Finale)
  163. script.Parent.Unequipped:connect(Finale)
  164. Finale()
  165.  
  166. end,o4)
  167. end))
  168. o5 = Instance.new("Part")
  169. o5.Name = "Formula"
  170. o5.Parent = o1
  171. o5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  172. o6 = Instance.new("CylinderMesh")
  173. o6.Parent = o5
  174. o6.Scale = Vector3.new(0.100000001, 1, 0.100000001)
  175. o7 = Instance.new("Part")
  176. o7.Name = "Handle"
  177. o7.Parent = o1
  178. o7.Material = Enum.Material.SmoothPlastic
  179. o7.BrickColor = BrickColor.new("Mid gray")
  180. o7.Reflectance = 0.30000001192093
  181. o7.Position = Vector3.new(-2.14991784, 0.20000726, -9.41995144)
  182. o7.Rotation = Vector3.new(1.58480834e-005, 3.47871628e-006, 7.81609742e-006)
  183. o7.CFrame = CFrame.new(-2.14991784, 0.20000726, -9.41995144, 0.999993026, -1.36415679e-007, 6.07150525e-008, 1.43229272e-007, 1, -2.76599309e-007, -6.03221153e-008, 2.83470712e-007, 0.999993026)
  184. o7.FormFactor = Enum.FormFactor.Plate
  185. o7.Size = Vector3.new(1, 0.400000006, 1)
  186. o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  187. o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  188. o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  189. o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  190. o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  191. o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  192. o7.Color = Color3.new(0.803922, 0.803922, 0.803922)
  193. o8 = Instance.new("CylinderMesh")
  194. o8.Parent = o7
  195. o8.Scale = Vector3.new(0.300000012, 0.100000001, 0.300000012)
  196. o9 = Instance.new("Weld")
  197. o9.Parent = o7
  198. o10 = Instance.new("Weld")
  199. o10.Parent = o7
  200. o11 = Instance.new("Weld")
  201. o11.Parent = o7
  202. o12 = Instance.new("Weld")
  203. o12.Parent = o7
  204. o13 = Instance.new("Weld")
  205. o13.Parent = o7
  206. o14 = Instance.new("Weld")
  207. o14.Parent = o7
  208. o15 = Instance.new("Weld")
  209. o15.Parent = o7
  210. o15.Part0 = o7
  211. o15.Part1 = o53
  212. o16 = Instance.new("Weld")
  213. o16.Parent = o7
  214. o16.Part0 = o7
  215. o16.Part1 = o7
  216. o17 = Instance.new("Weld")
  217. o17.Parent = o7
  218. o17.Part0 = o7
  219. o17.Part1 = o51
  220. o18 = Instance.new("Weld")
  221. o18.Parent = o7
  222. o18.Part0 = o7
  223. o18.Part1 = o49
  224. o19 = Instance.new("Weld")
  225. o19.Parent = o7
  226. o19.Part0 = o7
  227. o19.Part1 = o47
  228. o20 = Instance.new("Weld")
  229. o20.Parent = o7
  230. o20.Part0 = o7
  231. o20.Part1 = o7
  232. o21 = Instance.new("Weld")
  233. o21.Parent = o7
  234. o21.Part0 = o7
  235. o21.Part1 = o7
  236. o22 = Instance.new("Weld")
  237. o22.Parent = o7
  238. o22.Part0 = o7
  239. o22.Part1 = o7
  240. o23 = Instance.new("Weld")
  241. o23.Parent = o7
  242. o23.Part0 = o7
  243. o23.Part1 = o7
  244. o24 = Instance.new("Weld")
  245. o24.Parent = o7
  246. o24.Part0 = o7
  247. o24.Part1 = o7
  248. o25 = Instance.new("Weld")
  249. o25.Parent = o7
  250. o25.Part0 = o7
  251. o25.Part1 = o7
  252. o26 = Instance.new("Weld")
  253. o26.Parent = o7
  254. o26.Part0 = o7
  255. o26.Part1 = o7
  256. o27 = Instance.new("Weld")
  257. o27.Parent = o7
  258. o27.Part0 = o7
  259. o27.Part1 = o7
  260. o28 = Instance.new("Weld")
  261. o28.Parent = o7
  262. o28.Part0 = o7
  263. o28.Part1 = o7
  264. o29 = Instance.new("Weld")
  265. o29.Parent = o7
  266. o29.Part0 = o7
  267. o29.Part1 = o7
  268. o30 = Instance.new("Weld")
  269. o30.Parent = o7
  270. o30.Part0 = o7
  271. o30.Part1 = o7
  272. o31 = Instance.new("Weld")
  273. o31.Parent = o7
  274. o31.Part0 = o7
  275. o31.Part1 = o7
  276. o32 = Instance.new("Weld")
  277. o32.Parent = o7
  278. o32.Part0 = o7
  279. o32.Part1 = o7
  280. o33 = Instance.new("Weld")
  281. o33.Parent = o7
  282. o33.Part0 = o7
  283. o33.Part1 = o7
  284. o34 = Instance.new("Weld")
  285. o34.Parent = o7
  286. o34.Part0 = o7
  287. o34.Part1 = o7
  288. o35 = Instance.new("Weld")
  289. o35.Parent = o7
  290. o35.Part0 = o7
  291. o35.Part1 = o7
  292. o36 = Instance.new("Weld")
  293. o36.Parent = o7
  294. o36.Part0 = o7
  295. o36.Part1 = o7
  296. o37 = Instance.new("Weld")
  297. o37.Parent = o7
  298. o37.Part0 = o7
  299. o37.Part1 = o7
  300. o38 = Instance.new("Weld")
  301. o38.Parent = o7
  302. o38.Part0 = o7
  303. o38.Part1 = o7
  304. o39 = Instance.new("Weld")
  305. o39.Parent = o7
  306. o39.Part0 = o7
  307. o39.Part1 = o7
  308. o40 = Instance.new("Weld")
  309. o40.Parent = o7
  310. o40.Part0 = o7
  311. o40.Part1 = o7
  312. o41 = Instance.new("Weld")
  313. o41.Parent = o7
  314. o41.Part0 = o7
  315. o41.Part1 = o7
  316. o42 = Instance.new("Weld")
  317. o42.Parent = o7
  318. o42.Part0 = o7
  319. o42.Part1 = o7
  320. o43 = Instance.new("Weld")
  321. o43.Parent = o7
  322. o43.Part0 = o7
  323. o43.Part1 = o7
  324. o44 = Instance.new("Sound")
  325. o44.Name = "DrinkSound"
  326. o44.Parent = o7
  327. o44.SoundId = "http://www.roblox.com/asset/?id=531185355"
  328. o44.Volume = 1
  329. o44.PlayOnRemove = true
  330. o45 = Instance.new("Sound")
  331. o45.Name = "OpenSound"
  332. o45.Parent = o7
  333. o45.SoundId = "rbxasset://sounds/swoosh.wav"
  334. o45.Volume = 1
  335. o47 = Instance.new("Part")
  336. o47.Name = "Needle"
  337. o47.Parent = o1
  338. o47.Material = Enum.Material.SmoothPlastic
  339. o47.BrickColor = BrickColor.new("Light stone grey")
  340. o47.Reflectance = 1
  341. o47.Position = Vector3.new(-2.14990282, 1.42000914, -9.41995144)
  342. o47.Rotation = Vector3.new(1.58414132e-005, 3.47725677e-006, 7.81286417e-006)
  343. o47.CFrame = CFrame.new(-2.14990282, 1.42000914, -9.41995144, 0.999992907, -1.36359233e-007, 6.06895796e-008, 1.43285703e-007, 1, -2.76482865e-007, -6.0347574e-008, 2.83587127e-007, 0.999992907)
  344. o47.FormFactor = Enum.FormFactor.Plate
  345. o47.Size = Vector3.new(1, 0.400000006, 1)
  346. o47.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  347. o47.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  348. o47.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  349. o47.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  350. o47.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  351. o47.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  352. o47.Color = Color3.new(0.898039, 0.894118, 0.87451)
  353. o48 = Instance.new("SpecialMesh")
  354. o48.Parent = o47
  355. o48.Scale = Vector3.new(0.0199999996, 1, 0.0199999996)
  356. o49 = Instance.new("Part")
  357. o49.Name = "PushCap"
  358. o49.Parent = o1
  359. o49.Material = Enum.Material.SmoothPlastic
  360. o49.BrickColor = BrickColor.new("Mid gray")
  361. o49.Reflectance = 0.30000001192093
  362. o49.Position = Vector3.new(-2.14991784, 0.870007753, -9.41995144)
  363. o49.Rotation = Vector3.new(1.58414132e-005, 3.44432351e-006, 7.81286508e-006)
  364. o49.CFrame = CFrame.new(-2.14991784, 0.870007753, -9.41995144, 0.999992847, -1.36359233e-007, 6.0114786e-008, 1.43292368e-007, 0.99999994, -2.76482865e-007, -6.09259985e-008, 2.83470683e-007, 0.999992907)
  365. o49.FormFactor = Enum.FormFactor.Plate
  366. o49.Size = Vector3.new(1, 0.400000006, 1)
  367. o49.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  368. o49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  369. o49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  370. o49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  371. o49.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  372. o49.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  373. o49.Color = Color3.new(0.803922, 0.803922, 0.803922)
  374. o50 = Instance.new("CylinderMesh")
  375. o50.Parent = o49
  376. o50.Scale = Vector3.new(0.119999997, 0.0500000007, 0.119999997)
  377. o51 = Instance.new("Part")
  378. o51.Name = "PushShaft"
  379. o51.Parent = o1
  380. o51.Material = Enum.Material.SmoothPlastic
  381. o51.BrickColor = BrickColor.new("Mid gray")
  382. o51.Reflectance = 0.30000001192093
  383. o51.Position = Vector3.new(-2.14990258, 0.530008614, -9.41993618)
  384. o51.Rotation = Vector3.new(1.58480834e-005, 3.48017466e-006, 7.81119707e-006)
  385. o51.CFrame = CFrame.new(-2.14990258, 0.530008614, -9.41993618, 0.999992847, -1.36330129e-007, 6.07405042e-008, 1.43322112e-007, 1, -2.76599252e-007, -6.03039112e-008, 2.83587127e-007, 0.999992847)
  386. o51.FormFactor = Enum.FormFactor.Plate
  387. o51.Size = Vector3.new(1, 0.400000006, 1)
  388. o51.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  389. o51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  390. o51.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  391. o51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  392. o51.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  393. o51.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  394. o51.Color = Color3.new(0.803922, 0.803922, 0.803922)
  395. o52 = Instance.new("CylinderMesh")
  396. o52.Parent = o51
  397. o52.Scale = Vector3.new(0.0799999982, 1.70000005, 0.0799999982)
  398. o53 = Instance.new("Part")
  399. o53.Name = "Tube"
  400. o53.Parent = o1
  401. o53.Material = Enum.Material.SmoothPlastic
  402. o53.Reflectance = 0.20000000298023
  403. o53.Transparency = 0.40000000596046
  404. o53.Position = Vector3.new(-2.1499331, 0.940007985, -9.41993618)
  405. o53.Rotation = Vector3.new(1.58547537e-005, 3.47955051e-006, 7.81766357e-006)
  406. o53.CFrame = CFrame.new(-2.1499331, 0.940007985, -9.41993618, 0.999993086, -1.36443035e-007, 6.07296116e-008, 1.43201945e-007, 1, -2.76715753e-007, -6.03075705e-008, 2.83470712e-007, 0.999993086)
  407. o53.FormFactor = Enum.FormFactor.Plate
  408. o53.Size = Vector3.new(1, 0.400000006, 1)
  409. o53.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  410. o53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  411. o53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  412. o53.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  413. o53.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  414. o53.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  415. o54 = Instance.new("SpecialMesh")
  416. o54.Parent = o53
  417. o54.Scale = Vector3.new(0.200000003, 1.79999995, 0.200000003)
  418. o55 = Instance.new("Script")
  419. o55.Name = "HealScript"
  420. o55.Parent = o1
  421. table.insert(cors,coroutine.create(function()
  422. wait()
  423. OKOKOKOKOKAYY(function()
  424. Tool = script.Parent
  425.  
  426. local field = nil
  427.  
  428. function Heal()
  429.  
  430.  
  431.  
  432. local vCharacter = Tool.Parent
  433.  
  434. local childs = vCharacter:GetChildren()
  435.  
  436. local colors = {}
  437.  
  438. for i=1,#childs do
  439. if (childs[i].className == "Part") then
  440. colors[i] = childs[i].BrickColor
  441. childs[i].BrickColor = BrickColor.new(1)
  442. end
  443. end
  444.  
  445. wait(1) -- W8 for meeee!
  446.  
  447. local human = vCharacter:FindFirstChild("Humanoid")
  448. if (human ~= nil) then
  449. human.Health = 99999999999999999999999999999999999999999999
  450. end
  451.  
  452. for i=1,#childs do
  453. if (childs[i].className == "Part") then
  454. childs[i].BrickColor = colors[i]
  455. end
  456. end
  457.  
  458.  
  459. end
  460.  
  461.  
  462.  
  463. Tool.Enabled = true
  464. function onActivated()
  465.  
  466. if not Tool.Enabled then
  467. return
  468. end
  469.  
  470. Tool.Enabled = false
  471.  
  472. Heal()
  473.  
  474. Tool.Parent = nil
  475. end
  476.  
  477.  
  478. script.Parent.Activated:connect(onActivated)
  479.  
  480.  
  481.  
  482.  
  483. end,o55)
  484. end))
  485. o56 = Instance.new("LocalScript")
  486. o56.Name = "Local Gui"
  487. o56.Parent = o1
  488. table.insert(cors,coroutine.create(function()
  489. wait()
  490. OKOKOKOKOKAYY(function()
  491. local Tool = script.Parent;
  492.  
  493. enabled = true
  494. function onButton1Down(mouse)
  495. if not enabled then
  496. return
  497. end
  498.  
  499. enabled = false
  500. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  501.  
  502. wait(.5)
  503. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  504. enabled = true
  505.  
  506. end
  507.  
  508. function onEquippedLocal(mouse)
  509.  
  510. if mouse == nil then
  511. print("Mouse not found")
  512. return
  513. end
  514.  
  515. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  516. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  517. end
  518.  
  519.  
  520. Tool.Equipped:connect(onEquippedLocal)
  521.  
  522. end,o56)
  523. end))
  524. o1.Parent = game.Players.LocalPlayer.Backpack
  525. for i=1,#cors do
  526. coroutine.resume(cors[i])
  527. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement