Advertisement
Roblox_Xploits

Untitled

Aug 17th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.82 KB | None | 0 0
  1. local i,u,v,c = Instance.new, UDim2.new, Vector3.new, Color3.new
  2. local plr = game.Players.LocalPlayer
  3. local char,gui,ms = plr.Character, plr.PlayerGui, plr:GetMouse()
  4. local cf,ca,mr = CFrame.new, CFrame.Angles, math.rad
  5. local la = char["Left Arm"]
  6. local ra = char["Right Arm"]
  7. local law = char.Torso["Left Shoulder"]
  8. local raw = char.Torso["Right Shoulder"]
  9. local origlaw = law.C0
  10. local origraw = raw.C0
  11. local trg = char.Torso.Position
  12. local plrtrg = plr
  13.  
  14. char.Head.Transparency = 1
  15. for _,face in pairs(char.Head:GetChildren()) do
  16. if(face:IsA("Decal") or face:IsA("Face")) then
  17. face:destroy()
  18. end
  19. end
  20.  
  21. function wld(prt0, prt1, cfr, cfa)
  22. local weld = i('Weld',prt0)
  23. weld.Part0 = prt0
  24. weld.Part1 = prt1
  25. weld.C0 = cfr * cfa
  26. end
  27.  
  28. function prt(part, size, cfr, cfa)
  29. part.Locked = true
  30. part.Size = size
  31. part.CFrame = cfr * cfa
  32. end
  33.  
  34. function visibility(prt,num)
  35. for _,a in pairs(prt:GetChildren()) do
  36. visibility(a,num)
  37. end
  38. if(prt:IsA("Part") and prt.Name ~= "Head" and prt.Name ~= "HumanoidRootPart") then
  39. prt.Transparency = num
  40. end
  41. end
  42.  
  43. function snd(id,vol,looped)
  44. local snd = i('Sound',char.Torso)
  45. snd.Name = id
  46. snd.SoundId = 'rbxassetid://'..id
  47. snd.Volume = vol
  48. snd.Looped = looped
  49. snd.EmitterSize = 100
  50. snd:Play()
  51. end
  52.  
  53. local s0nd = i('Sound', char.Head)
  54. s0nd.Name = "Breathing"
  55. s0nd.SoundId = 'rbxassetid://483810543'
  56. s0nd.Volume = 1
  57. s0nd.Looped = true
  58. s0nd.EmitterSize = 155
  59. s0nd:Play()
  60.  
  61. local rnk = i('Folder',char)
  62. local plag = i('BillboardGui',rnk)
  63. plag.Name = math.random()
  64. plag.Adornee = char.Head
  65. plag.Size = u(10,0,2,0)
  66. plag.StudsOffset = v(0,4.5,0)
  67. local plagtl = i('TextLabel', plag)
  68. plagtl.Text = 'The Plague Doctor'
  69. plagtl.Size = u(1,0,1,0)
  70. plagtl.TextScaled = true
  71. plagtl.Font = 'Antique'
  72. plagtl.TextColor3 = c(1,1,1)
  73. plagtl.BackgroundTransparency = 1
  74.  
  75. function chat(txt)
  76. local bg = i('BillboardGui',char)
  77. bg.Name = math.random()
  78. bg.Adornee = char.Head
  79. bg.Size = u(10,0,2,0)
  80. bg.StudsOffset = v(0,3,0)
  81. local tl = i('TextLabel', bg)
  82. tl.Text = txt
  83. tl.Size = u(1,0,1,0)
  84. tl.TextScaled = true
  85. tl.Font = 'Antique'
  86. tl.TextColor3 = c(0,0,0)
  87. tl.BackgroundTransparency = 1
  88. for _,a in pairs(char:GetChildren()) do
  89. if(a.Name ~= bg.Name) then
  90. if(a:IsA("BillboardGui")) then
  91. for _,b in pairs(a:GetChildren()) do
  92. if(b:IsA("TextLabel")) then
  93. while(b.TextTransparency < 1) do
  94. wait()
  95. b.TextTransparency = b.TextTransparency + 0.25
  96. a.StudsOffset = a.StudsOffset + v(0.1,0,0)
  97. end
  98. b:destroy()
  99. end end end end end end
  100.  
  101. for _,a in pairs(char:GetChildren()) do
  102. if(a:IsA("Shirt") or a:IsA("Hat") or a:IsA("Accessory") or a:IsA("Pants")) then
  103. a:destroy()
  104. end
  105. end
  106.  
  107. local msk = i('Part', char)
  108. msk.CanCollide = false
  109. prt(msk,char.Head.Size,char.Head.CFrame,ca(0,0,0))
  110. wld(msk,char.Head,cf(0,0,.85),ca(mr(15),0,0))
  111. local mesh = i("SpecialMesh", msk)
  112. mesh.MeshId = "http://www.roblox.com/asset/?id=62679079"
  113. mesh.Scale = Vector3.new(1, 1, 2)
  114.  
  115. local shirt = Instance.new("Shirt", char)
  116. shirt.Name = "Shirt"
  117. local pants = Instance.new("Pants", char)
  118. pants.Name = "Pants"
  119.  
  120. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=648758131"
  121. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=472675863"
  122.  
  123. local Hood = Instance.new("Part", char)
  124. Hood.Name = "Hood"
  125. Hood.CanCollide = false
  126. Hood.BrickColor = BrickColor.new("Really black")
  127. Hood.Transparency = 0
  128. Hood.Material = "Plastic"
  129. Hood.Size = Vector3.new(0.1, 0.1, 0.1)
  130. Hood.TopSurface = 0
  131. Hood.BottomSurface = 0
  132.  
  133. wld(Hood,char.Head,cf(0,-.2,0),ca(0,0,0))
  134.  
  135. local mesh2 = Instance.new("SpecialMesh",Hood)
  136. mesh2.MeshId = "http://www.roblox.com/asset/?id=83499032"
  137. mesh2.Scale = Vector3.new( 1, 1.2, 1.1)
  138.  
  139. plr.Chatted:connect(function(chatmsg)
  140. chat(chatmsg)
  141. end)
  142.  
  143. local rosie = false
  144. local infect = false
  145. local wlk = true
  146. local follow = true
  147.  
  148. function pdisease(chr)
  149. if(chr) then
  150. chr.Archivable = true
  151. local cl = chr:Clone()
  152. cl.Name = "Zombie"
  153. cl.Parent = workspace
  154. chr.Humanoid.Health = 0
  155. chr.Archivable = false
  156. local snd = i('Sound',cl.Torso)
  157. snd.SoundId = 'rbxassetid://130976109'
  158. snd.Volume = 3
  159. snd.Looped = false
  160. snd:Play()
  161. for _,prt in pairs(chr:GetChildren()) do
  162. if(prt:IsA("Part")) then
  163. prt:destroy()
  164. end
  165. end
  166. for _,a in pairs(cl:GetChildren()) do
  167. if(a:IsA("Hat") or a:IsA("Accessory") or a:IsA("BodyVelocity") or a:IsA("Tool") or a:IsA("HopperBin")) then
  168. a:destroy()
  169. end end
  170.  
  171. local hum = cl["Humanoid"]
  172. if(hum.Health > 0) then
  173. local torso = cl["Torso"]
  174. local lftarm = cl["Left Arm"]
  175. local rgtarm = cl["Right Arm"]
  176. local lftwld = torso["Left Shoulder"]
  177. local rgtwld = torso["Right Shoulder"]
  178. lftwld.C0 = origlaw * CFrame.Angles(0,0,mr(-90))
  179. rgtwld.C0 = origraw * CFrame.Angles(0,0,mr(90))
  180. lftarm.Touched:connect(function(op)
  181. hum.Jump = true
  182. for _,a in pairs(game.Players:GetChildren()) do
  183. if op.Parent.Name ~= plr.Name and op.Parent.Name == a.Name then
  184. pdisease(a.Character)
  185. end
  186. end
  187. hum.Jump = false
  188. end)
  189. rgtarm.Touched:connect(function(op)
  190. hum.Jump = true
  191. for _,a in pairs(game.Players:GetChildren()) do
  192. if op.Parent.Name ~= plr.Name and op.Parent.Name == a.Name then
  193. if(a == plrtrg) then
  194. follow = true
  195. end
  196. pdisease(a.Character)
  197. end
  198. end
  199. hum.Jump = false
  200. end)
  201. hum.WalkSpeed = 25
  202. hum.JumpPower = 75
  203. else
  204. cl:destroy()
  205. end
  206. else
  207. warn('No Character or '..chr:GetFullName()..' is not existant!')
  208. end
  209. end
  210.  
  211. ms.KeyDown:connect(function(key)
  212. if(Hood ~= nil) then
  213. if(key == 'x') then
  214. rosie = not rosie
  215. if rosie then
  216. snd('669623416',2,true)
  217. while(rosie) do
  218. chat('Ringa ringa the rosies')
  219. wait(2.7)
  220. chat('A pocket full of posies')
  221. wait(2.3)
  222. chat('A tissue, a tissue')
  223. wait(2.3)
  224. chat('We all fall down')
  225. wait(2.5)
  226. end
  227. else
  228. for _,a in pairs(char.Torso:GetChildren()) do
  229. if(a.Name == '669623416') then
  230. a:destroy()
  231. end
  232. end
  233. end
  234. end
  235. if(key == 'c') then
  236. snd('177113856',2.5,false)
  237. chat("Hello...")
  238. wait(1.3)
  239. chat("Greetings...")
  240. wait(0.8)
  241. chat("Oh my...")
  242. wait(0.8)
  243. chat("Yet another victim of the disease..")
  244. wait(1.4)
  245. chat("You are not a doctor...")
  246. wait(1.45)
  247. chat("I sense the disease in you...")
  248. wait(1.5)
  249. chat("I am the cure...")
  250. wait(0.8)
  251. chat("Do not be afraid...")
  252. wait(1.35)
  253. chat("I am the cure...")
  254. wait(1.35)
  255. chat("Stop resisting...")
  256. wait(1.35)
  257. chat("I'm here to cure you...")
  258. end
  259. if(key == 't') then
  260. infect = not infect
  261. if(infect) then
  262. char.Humanoid.WalkSpeed = 35
  263. law.C0 = origlaw * CFrame.Angles(0,0,mr(-5))
  264. wait()
  265. law.C0 = origlaw * CFrame.Angles(0,0,mr(-10))
  266. wait()
  267. law.C0 = origlaw * CFrame.Angles(0,0,mr(-38))
  268. wait()
  269. law.C0 = origlaw * CFrame.Angles(0,0,mr(-45))
  270. wait()
  271. law.C0 = origlaw * CFrame.Angles(0,0,mr(-50))
  272. wait()
  273. law.C0 = origlaw * CFrame.Angles(0,0,mr(-56))
  274. wait()
  275. law.C0 = origlaw * CFrame.Angles(0,0,mr(-63))
  276. wait()
  277. law.C0 = origlaw * CFrame.Angles(0,0,mr(-71))
  278. wait()
  279. law.C0 = origlaw * CFrame.Angles(0,0,mr(-80))
  280. wait()
  281. law.C0 = origlaw * CFrame.Angles(0,0,mr(-90))
  282. else
  283. char.Humanoid.WalkSpeed = 16
  284. law.C0 = origlaw * CFrame.Angles(0,0,mr(-90))
  285. wait()
  286. law.C0 = origlaw * CFrame.Angles(0,0,mr(-80))
  287. wait()
  288. law.C0 = origlaw * CFrame.Angles(0,0,mr(-63))
  289. wait()
  290. law.C0 = origlaw * CFrame.Angles(0,0,mr(-50))
  291. wait()
  292. law.C0 = origlaw * CFrame.Angles(0,0,mr(-41))
  293. wait()
  294. law.C0 = origlaw * CFrame.Angles(0,0,mr(-36))
  295. wait()
  296. law.C0 = origlaw * CFrame.Angles(0,0,mr(-10))
  297. wait()
  298. law.C0 = origlaw * CFrame.Angles(0,0,mr(-5))
  299. wait()
  300. law.C0 = origlaw
  301. end
  302. end
  303. if(key == 'h') then
  304. chat('Infection Cleared..')
  305. for _,a in pairs(workspace:GetChildren()) do
  306. if(a.Name == 'Zombie') then
  307. a:destroy()
  308. end
  309. end
  310. end
  311. if(key == 'j') then
  312. for _,a in pairs(game.Players:GetChildren()) do
  313. if(ms.Target.Parent.Name == a.Name or ms.Target.Parent.Parent.Name == a.Name and a.Name ~= plr.Name) then
  314. if(trg.magnitude ~= char.Torso.Position.magnitude) then
  315. chat('Go get '..a.Name..'...')
  316. end
  317. follow = false
  318. trg = a.Character.Torso.Position
  319. plrtrg = a
  320. end
  321. end
  322. end
  323. if(key == 'k') then
  324. chat('Follow me...')
  325. follow = true
  326. trg = char.Torso.Position
  327. plrtrg = plr
  328. end
  329. if(key == 'l') then
  330. chat('Go there...')
  331. follow = false
  332. plrtrg = plr
  333. trg = Vector3.new(ms.hit.x,ms.hit.y,ms.hit.z)
  334. end
  335. end
  336. if(key == 'y') then
  337. char["HumanoidRootPart"].CFrame = ms.hit
  338. end
  339. end)
  340.  
  341. la.Touched:connect(function(op)
  342. for _,a in pairs(game.Players:GetChildren()) do
  343. if(op.Parent) then
  344. if infect and op.Parent.Name ~= plr.Name and op.Parent.Name == a.Name then
  345. if(a == plrtrg) then
  346. follow = true
  347. end
  348. if(a.Character) then
  349. pdisease(a.Character)
  350. end
  351. end
  352. end
  353. end
  354. end)
  355.  
  356. char.Humanoid.Died:connect(function()
  357. wlk = false
  358. end)
  359.  
  360. while Hood ~= nil do
  361. wait(0.1)
  362. if(wlk) then
  363. for _,a in pairs(workspace:GetChildren()) do
  364. if(a.Name == 'Zombie') then
  365. a.Humanoid:MoveTo(trg)
  366. if(plrtrg ~= plr and not follow and plrtrg.Character and plrtrg.Character.Torso) then
  367. print('Follow Other')
  368. trg = plrtrg.Character.Torso.Position
  369. else if(plrtrg == plr and follow) then
  370. print('Follow')
  371. trg = char.Torso.Position
  372. end
  373. end
  374. end
  375. end
  376. end
  377. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement